@font-face { font-family: "Playfair Display"; src: url("fonts/PlayfairDisplay.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F9F5EA;
  --surface: #EFE7D6;
  --ink: #3E2723;
  --muted: #6A5147;
  --dark: #1B120D;
  --on-dark: #F9F5EA;
  --accent: #3E2723;
  --gold: #C5983B;

  --font-display: "Playfair Display", Georgia, serif;
  --font-text: "Montserrat", system-ui, sans-serif;

  --small: 0.875rem;
  --body: 1.0625rem;
  --lead: 1.5rem;
  --head: clamp(2.5rem, 1.6rem + 3vw, 4.25rem);
  --display: clamp(3.5rem, 1.5rem + 6.6vw, 7.5rem);

  --margin: clamp(1.25rem, 4.4vw, 4rem);
  --gutter: clamp(1rem, 2.2vw, 2rem);
  --section: clamp(6rem, 13vw, 12rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--body); font-weight: 400; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, figure, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--dark); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: var(--head); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.pad { padding-inline: var(--margin); }
.section { padding-block: var(--section); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 2.25rem; background: var(--accent); color: var(--bg); font-size: 1rem; font-weight: 500; letter-spacing: 0.01em; text-decoration: none; transition: background-color 240ms var(--ease), transform 160ms var(--ease); }
.btn:hover { background: #5A3A31; }
.btn:active { transform: scale(0.985); }
.more { display: inline-block; font-size: 1rem; font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.4em; transition: text-underline-offset 240ms var(--ease); }
.more:hover { text-underline-offset: 0.6em; }

/* üst bar */
.top { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--margin); }
.top.over { position: absolute; inset: 0 0 auto 0; }
.top.dark { color: var(--on-dark); }
.top-logo img { width: 172px; }
.nav-links { display: flex; gap: 2.25rem; font-size: 1rem; font-weight: 500; }
.nav-links a, .nav-menu a { text-decoration: none; }
.nav-links a { display: inline-block; transition: transform 200ms var(--ease); }
.nav-links a:hover { transform: translateY(-2px); }
.nav-links a[aria-current] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.45em; }
.nav-menu { display: none; }

/* ilk ekran */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: clip; background: var(--surface); }
.hero-pic { position: absolute; inset: 0; }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; animation: settle 6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.04); } to { transform: scale(1); } }
.hero-text { position: relative; z-index: 2; padding-inline: var(--margin); max-width: 46rem; padding-top: 7rem; }
.hero-text h1 { font-size: var(--display); letter-spacing: -0.02em; line-height: 1; }
.hero-text p { margin-top: 1.5rem; max-width: 30rem; font-size: 1.1875rem; line-height: 1.6; }
.hero-text .btn { margin-top: 2.25rem; }

/* alt sayfa girişi */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: calc(100svh - 8.25rem); }
.split-text { align-self: center; padding: 3rem var(--margin); }
.split-text h1 { font-size: clamp(3rem, 1.6rem + 4.4vw, 6rem); letter-spacing: -0.02em; line-height: 1.02; }
.split-text > p { margin-top: 1.5rem; max-width: 30rem; font-size: 1.1875rem; line-height: 1.6; }
.split-text .btn { margin-top: 2.25rem; }
.split-pic { position: relative; min-height: 100%; }
.split-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ana sayfa kapıları */
.doors { row-gap: clamp(3rem, 6vw, 5.5rem); }
.door { display: block; text-decoration: none; }
.door img { width: 100%; object-fit: cover; transition: opacity 300ms var(--ease); }
.door:hover img { opacity: 0.9; }
.door h2, .door h3 { margin-top: 1.25rem; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); }
.door p { margin-top: 0.35rem; color: var(--muted); }
.door-a { grid-column: 1 / 8; }
.door-a img { aspect-ratio: 5 / 4; }
.door-b { grid-column: 9 / 13; align-self: end; }
.door-b img { aspect-ratio: 4 / 5; }
.door-c { grid-column: 1 / 5; }
.door-c img { aspect-ratio: 4 / 5; }
.door-d { grid-column: 6 / 13; align-self: end; }
.door-d img { aspect-ratio: 5 / 4; }

/* etkinlik */
.kinds > h2 { grid-column: 1 / 8; }
.kinds-lead { grid-column: 8 / 13; align-self: end; }
.kind { grid-column: span 4; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.kind img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kind h3 { margin-top: 1.25rem; font-size: var(--lead); }
.kind p { margin-top: 0.4rem; color: var(--muted); font-size: 1rem; }

.detail { background: var(--surface); padding-block: var(--section); }
.detail-pic { grid-column: 1 / 8; align-self: center; }
.detail-pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.detail-text { grid-column: 9 / 13; align-self: center; }
.scope { margin-top: 2.25rem; display: grid; gap: 1.5rem; }
.scope dt { font-family: var(--font-display); font-size: var(--lead); line-height: 1.25; }
.scope dd { margin-top: 0.25rem; color: var(--muted); font-size: 1rem; }

.steps > h2 { grid-column: 1 / -1; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.steps-pic { grid-column: 1 / 6; }
.steps-pic img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.flow { grid-column: 7 / 13; align-self: center; display: grid; gap: 2.5rem; }
.flow h3 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); margin-bottom: 0.5rem; }
.flow p { color: var(--muted); max-width: 42ch; }

/* seriler */
.roman { position: relative; min-height: 100svh; display: grid; align-items: center; background: var(--dark); color: var(--on-dark); overflow: clip; }
.roman-pic { position: absolute; inset: 0; }
.roman-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.roman-text { position: relative; padding-inline: var(--margin); max-width: 40rem; padding-top: 7rem; }
.roman-text h1 { font-size: clamp(3rem, 1.6rem + 4.4vw, 6rem); letter-spacing: -0.02em; line-height: 1.02; }
.roman-text p { margin-top: 1.25rem; font-size: 1.1875rem; line-height: 1.6; }

.line-head { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.line-head h2 { grid-column: 1 / 7; }
.line-head p { grid-column: 8 / 13; }
.alt-line { background: var(--surface); }
.bottles { grid-column: 1 / -1; display: grid; gap: clamp(2.5rem, 4vw, 3.5rem) var(--gutter); }
.bottles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bottles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bottles img { width: 100%; aspect-ratio: 760 / 1134; object-fit: cover; }
.bottles h3 { margin-top: 1rem; font-size: var(--lead); line-height: 1.2; }
.bottles span { display: block; margin-top: 0.15rem; font-size: var(--small); color: var(--muted); }
.bottles p { margin-top: 0.4rem; font-size: 1rem; }
.rest-title { grid-column: 1 / -1; margin-top: clamp(3.5rem, 6vw, 5.5rem); font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); }
.rest { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem var(--gutter); margin-top: 1.75rem; }
.rest dt { font-family: var(--font-display); font-size: 1.3125rem; line-height: 1.3; }
.rest dt span { font-family: var(--font-text); font-size: var(--small); color: var(--muted); margin-left: 0.4rem; }
.rest dd { color: var(--muted); font-size: 1rem; }

.use .pic img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.use-text { grid-column: 1 / 7; align-self: center; }
.use .pic { grid-column: 8 / 13; }
.use .pic:first-child { grid-column: 1 / 6; grid-row: 1; }
.use .pic:first-child + .use-text { grid-column: 7 / 13; grid-row: 1; }
.use-text > p:not(.ratio) { margin-top: 1.25rem; max-width: 52ch; }
.ratio { margin-top: 1.5rem; font-family: var(--font-display); font-size: var(--lead); line-height: 1.3; color: var(--ink); }
.flow.vertical { margin-top: 2.25rem; gap: 1.5rem; }
.flow.vertical h3 { font-size: var(--lead); margin-bottom: 0.2rem; }
.pair { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.5rem; }

$1
.seal { background: var(--surface); }
.seal-side { grid-column: 1 / 7; position: sticky; top: 2.5rem; align-self: start; }
.seal-side > p { margin-top: 1.25rem; max-width: 42ch; }
.seal-work { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gutter); align-items: start; margin-top: 2.5rem; }
.seal-art { display: block; width: 100%; }
.seal-disc { fill: var(--dark); }
.seal-ring { fill: none; stroke: var(--gold); stroke-width: 1.25; }
.seal-art text { fill: #E4C98C; font-family: var(--font-display); }
.seal-names { font-size: 26px; letter-spacing: 0.2em; }
.seal-mono { font-size: 108px; letter-spacing: -0.01em; }
.seal-date { font-size: 17px; letter-spacing: 0.2em; }
.seal-by { font-size: 18px; letter-spacing: 0.26em; }
.seal-art.is-new { animation: press 360ms var(--ease); transform-origin: 50% 50%; }
@keyframes press { 40% { transform: scale(0.975); } }
.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.field { display: grid; gap: 0.3rem; min-width: 0; }
.wide { grid-column: 1 / -1; }
.field label { font-size: var(--small); }
.field input, .field select { width: 100%; min-height: 48px; padding: 0 0.75rem; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid transparent; border-radius: 0; color-scheme: light; transition: border-color 200ms var(--ease); }
.field input:focus, .field select:focus { border-color: var(--gold); }
.field input::placeholder { color: var(--muted); }
.picked { font-size: 1rem; }
.alt { justify-self: start; font-size: 1rem; text-underline-offset: 0.3em; }

.sheet { grid-column: 8 / 13; background: var(--bg); padding: clamp(1.75rem, 4vw, 3.5rem); }
.sheet-title { font-family: var(--font-display); font-size: 2.5rem; line-height: 1.1; text-align: center; overflow-wrap: anywhere; }
.sheet-note { margin-top: 0.4rem; text-align: center; font-size: var(--small); color: var(--muted); }
.sheet legend { display: block; float: left; width: 100%; padding: 2.5rem 0 0.75rem; font-family: var(--font-display); font-size: var(--lead); text-align: center; }
.sheet legend + * { clear: both; }
.item { position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; padding: 0.5rem 0.75rem; margin-inline: -0.75rem; line-height: 1.45; cursor: pointer; transition: background-color 200ms var(--ease); }
.item:hover { background: var(--surface); }
.item input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.item .n { font-weight: 500; font-size: 1rem; }
.item .s, .item .d { font-size: var(--small); color: var(--muted); }
.item .d { grid-column: 1 / -1; }
.item:has(input:checked) { background: var(--ink); }
.item:has(input:checked) .n, .item:has(input:checked) .s, .item:has(input:checked) .d { color: var(--bg); }
.item:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }

/* işletmeler ve biz */
.story h2 { grid-column: 1 / 7; }
.story-body { grid-column: 8 / 13; display: grid; gap: 1.25rem; align-self: end; }
.fields { background: var(--surface); }
.fields-side { grid-column: 1 / 6; }
.fields .pic { margin-top: 2.5rem; }
.uses { grid-column: 7 / 13; display: grid; gap: 2rem; align-self: center; }
.uses dt { font-family: var(--font-display); font-size: var(--lead); line-height: 1.25; }
.uses dd { margin-top: 0.25rem; color: var(--muted); font-size: 1rem; max-width: 56ch; }
.band img { width: 100%; height: min(78svh, 46vw); min-height: 320px; object-fit: cover; object-position: 70% 50%; }
.fields .pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-hero .hero-pic img { object-position: 70% 60%; }
.about-hero h1 { font-size: clamp(3rem, 1.6rem + 3.2vw, 4.75rem); }
.places { background: var(--dark); color: var(--on-dark); padding-block: clamp(3rem, 6vw, 5rem); }
.places ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 3rem; font-family: var(--font-display); font-size: clamp(1.75rem, 1rem + 2.6vw, 3.5rem); line-height: 1.1; }
.what > h2 { grid-column: 1 / -1; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.what .door { grid-column: span 4; }
.what .door img { aspect-ratio: 4 / 5; }

/* iletişim ve kapanış */
.ask > h2 { grid-column: 1 / -1; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.ask .door { grid-column: span 4; }
.ask .door img { aspect-ratio: 4 / 5; }

.ways { margin-block: 2rem 2.25rem; display: grid; gap: 0.5rem; }
.ways a { text-decoration: none; }
.ways a:hover { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: var(--gold); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: var(--gutter); padding-block: 2.5rem; background: var(--dark); color: var(--on-dark); font-size: var(--small); }
.foot img { width: 130px; }
.foot-links { display: flex; gap: 1.75rem; flex-wrap: wrap; justify-content: center; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 0.3em; }

/* ilk ekran metni */
.hero-text > *, .split-text > *, .roman-text > * { animation: lift 900ms var(--ease) both; }
.hero-text > :nth-child(2), .split-text > :nth-child(2), .roman-text > :nth-child(2) { animation-delay: 90ms; }
.hero-text > :nth-child(n+3), .split-text > :nth-child(n+3) { animation-delay: 180ms; }
@keyframes lift { from { opacity: 0; transform: translateY(16px); } }

/* girişler: betik yoksa içerik görünür kalır */
.js [data-rise] { opacity: 0; transform: translateY(20px); transition: opacity 1000ms var(--ease), transform 1000ms var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rise].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-pic img, .hero-text > *, .split-text > *, .roman-text > * { animation: none; }
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
  .seal-art.is-new { animation: none; }
}

@media (max-width: 900px) {
  .top-logo img { width: 132px; }
  .top.over:not(.dark) { position: relative; inset: auto; }
  .nav-links { display: none; }
  .nav-menu { display: block; position: relative; font-weight: 500; }
  .nav-menu summary { list-style: none; cursor: pointer; padding: 0.5rem 0; }
  .nav-menu summary::-webkit-details-marker { display: none; }
  .nav-menu ul { position: absolute; right: 0; top: 100%; min-width: 12rem; padding: 0.5rem 1.25rem; background: var(--bg); color: var(--ink); }
  .nav-menu a { display: block; padding: 0.55rem 0; }

  .hero { display: block; min-height: 0; background: var(--bg); }
  .hero-pic { position: relative; height: 52svh; }
  .hero-pic img { object-position: 50% 60%; }
  .hero-text { padding-top: 2rem; padding-bottom: 3rem; }

  .split { grid-template-columns: 1fr; min-height: 0; }
  .split-text { padding: 1.5rem var(--margin) 3rem; }
  .split-pic { order: -1; min-height: 0; }
  .split-pic img { position: static; height: 56svh; }

  .door-a, .door-b, .door-c, .door-d, .what .door, .kinds > h2, .kinds-lead, .kind, .detail-pic, .detail-text, .steps-pic, .flow, .line-head h2, .line-head p, .use-text, .use .pic, .use .pic:first-child, .use .pic:first-child + .use-text, .seal-side, .sheet, .story h2, .story-body, .fields-side, .uses, .ask .door { grid-column: 1 / -1; grid-row: auto; }
  .door-a img, .door-b img, .door-c img, .door-d img { aspect-ratio: 5 / 4; }
  .kinds-lead, .line-head p, .story-body, .uses { margin-top: 1.25rem; }
  .detail-text, .flow, .use-text { margin-top: 2.5rem; }
  .use .pic { margin-top: 2.5rem; }
  .use .pic:first-child { margin-top: 0; }
  .what, .ask { row-gap: 2.75rem; }
  .what > h2, .ask > h2 { margin-bottom: 0; }
  .ways a, .foot-links a, .alt, .more { display: inline-flex; align-items: center; min-height: 44px; }
  .ways { gap: 0; }
  .foot-links { gap: 0 1.5rem; }
  .nav-menu summary { min-height: 44px; display: flex; align-items: center; }
  .bottles.four, .bottles.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rest { grid-template-columns: 1fr; }

  .roman { display: flex; flex-direction: column; min-height: 0; }
  .roman-pic { position: relative; inset: auto; width: 100%; height: 66svh; }
  .roman-pic img { object-position: 50% 50%; }
  .roman-text { padding-block: 2.5rem 3.5rem; max-width: none; }

  .seal-side { position: static; margin-bottom: 4.5rem; }
  .js [data-rise] { opacity: 1; }
  .foot { flex-direction: column; align-items: flex-start; }
  .foot-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .seal-work { grid-template-columns: 1fr; }
  .seal-art { width: min(100%, 18rem); margin-inline: auto; }
}
