/* =====================================================================
   Serhan İlçe Ferforje — site stilleri
   Renkler: kireç badana duvar, fırın boyalı demir, bakır pası (patina)
   ===================================================================== */

:root {
  --wall: #E7E9E6;
  --wall-2: #DADDD8;
  --paper: #F3F4F2;
  --iron: #22262A;
  --iron-2: #2F3438;
  --steel: #5E6871;
  --line: #C3C8C2;
  --patina: #2F6F62;
  --patina-dk: #235347;
  --patina-lt: #9CC6B9;
  --on-dark: #E7E9E6;
  --on-dark-2: #A9B1B6;

  --f-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-text: "Instrument Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --s-1: .875rem;
  --s0: 1.0625rem;
  --s1: 1.3125rem;
  --s2: 1.75rem;
  --s3: 2.375rem;
  --s4: 3.125rem;

  --gut: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --sec: clamp(56px, 8vw, 104px);
  --r: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--iron);
  font: 400 var(--s0)/1.6 var(--f-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--patina); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--iron); color: var(--wall); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 48px; padding: .7em 1.25em;
  font: 600 var(--s0)/1.1 var(--f-text);
  text-decoration: none; border-radius: var(--r);
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--wa { background: var(--patina); color: #fff; }
.btn--wa:hover { background: var(--patina-dk); }
.btn--line { border-color: var(--iron); color: var(--iron); background: transparent; }
.btn--line:hover { background: var(--iron); color: var(--wall); }
.btn--light { background: var(--paper); color: var(--iron); border-color: var(--line); }
.btn--light:hover { border-color: var(--iron); }

.link {
  font-weight: 600; color: var(--patina); text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: .25em;
}
.link:hover { color: var(--patina-dk); }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--wall) 92%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand {
  display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto;
  column-gap: 10px; align-items: center; text-decoration: none; margin-right: auto;
}
.brand .mark { grid-row: 1 / 3; width: 34px; height: 34px; fill: none; stroke: var(--iron); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand__name { font: 800 1.6rem/1 var(--f-display); letter-spacing: .01em; }
.brand__sub { font-size: var(--s-1); color: var(--steel); line-height: 1.2; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 24px; list-style: none; }
.nav ul a {
  text-decoration: none; font-weight: 500; padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav ul a:hover { border-color: var(--line); }
.nav ul a[aria-current="page"] { border-color: var(--patina); }
.nav__call {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; white-space: nowrap;
  padding: 10px 14px; border: 2px solid var(--iron); border-radius: var(--r);
}
.nav__call:hover { background: var(--iron); color: var(--wall); }

.menu-btn {
  display: none; align-items: center; gap: 10px;
  background: none; border: 0; padding: 10px 0; font: 600 var(--s0) var(--f-text); color: var(--iron); cursor: pointer;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; position: relative; content: "";
  transition: transform .2s;
}
.menu-btn__bars::before { position: absolute; top: -7px; }
.menu-btn__bars::after { position: absolute; top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--wall); border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 20px;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--s1); }
  .nav ul a[aria-current="page"] { color: var(--patina); border-color: var(--line); }
  .nav__call { margin-top: 16px; justify-content: center; min-height: 48px; }
}

/* ---------- Railing (ferforje friz) ---------- */
.railing { display: block; width: 100%; fill: none; stroke: var(--iron); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.railing--hero { height: clamp(92px, 11vw, 150px); margin-top: clamp(32px, 5vw, 64px); }
.railing--foot { height: clamp(70px, 8vw, 110px); }

@media (prefers-reduced-motion: no-preference) {
  .railing--hero path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: forge 1.4s cubic-bezier(.6, .1, .2, 1) forwards;
    animation-delay: calc(var(--i) * 22ms + 150ms);
  }
}
@keyframes forge { to { stroke-dashoffset: 0; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 6vw, 80px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.hero__title {
  font: 800 clamp(2.6rem, 5.6vw, 4.75rem)/.96 var(--f-display);
  letter-spacing: .003em; max-width: 15ch; margin-bottom: 24px;
  text-wrap: balance;
}
.hero__lead { font-size: var(--s1); line-height: 1.5; max-width: 34em; color: var(--iron-2); margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__photo { margin: 0; position: relative; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--r); filter: saturate(.85) contrast(1.05); }

@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo img { aspect-ratio: 4 / 3; }
}

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); }
.sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.sec__head--row { display: flex; justify-content: space-between; align-items: baseline; }
.sec__title { font: 800 clamp(2.1rem, 4vw, var(--s4))/1 var(--f-display); letter-spacing: .005em; text-wrap: balance; }
.sec__intro { margin: 0; max-width: 40em; color: var(--steel); }
@media (max-width: 720px) { .sec__head { grid-template-columns: 1fr; } }

.sec--cats { padding-top: clamp(40px, 6vw, 72px); }

/* ---------- Category grid ---------- */
.cats { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 36px 24px; }
@media (max-width: 560px) { .cats { grid-template-columns: 1fr 1fr; gap: 24px 14px; } .cat__name { font-size: 1.2rem !important; } .cat__short { display: none; } }
.cat a { display: block; text-decoration: none; }
.cat__img { display: block; overflow: hidden; border-radius: var(--r); background: var(--wall-2); aspect-ratio: 4 / 3; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat a:hover .cat__img img { transform: scale(1.04); }
.cat__name { display: block; margin-top: 12px; font: 700 var(--s1)/1.15 var(--f-display); font-size: 1.5rem; }
.cat a:hover .cat__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.cat__meta { display: block; font-size: var(--s-1); color: var(--steel); margin-top: 2px; }

/* ---------- Steps (gerçek sıra) ---------- */
.sec--steps { background: var(--paper); border-block: 1px solid var(--line); }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps li { counter-increment: step; padding: 0 28px 0 0; position: relative; }
.steps li::before {
  content: counter(step);
  display: block; font: 800 4.5rem/1 var(--f-display); color: var(--patina);
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 3px solid var(--iron);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: calc(4.5rem + 8px); width: 10px; height: 10px;
  border-radius: 50%; background: var(--iron); transform: translate(50%, 0);
}
.steps h3 { font: 700 1.6rem/1.1 var(--f-display); margin-bottom: 10px; }
.steps p { color: var(--iron-2); margin: 0; max-width: 28em; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps li { padding: 0; display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; }
  .steps li::before { grid-row: 1 / 3; border: 0; padding: 0; margin: 0; font-size: 3.4rem; }
  .steps li::after { display: none; }
}

/* ---------- Heritage (koyu bant) ---------- */
.sec--heritage { background: var(--iron); color: var(--on-dark); }
.heritage { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.heritage__photo { margin: 0; }
.heritage__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.05); border-radius: var(--r); }
.heritage__text > p { font-size: var(--s1); line-height: 1.55; color: var(--on-dark); max-width: 32em; margin: 20px 0 36px; }
.gens { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 36px; position: relative; }
.gens::before { content: ""; position: absolute; left: 6px; right: 0; top: 6px; height: 2px; background: var(--steel); }
.gens li { position: relative; padding-top: 30px; padding-right: 16px; }
.gens li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--iron); border: 2px solid var(--on-dark-2); }
.gens li:last-child::before { background: var(--patina-lt); border-color: var(--patina-lt); }
.gens__name { display: block; font: 700 1.55rem/1.1 var(--f-display); }
.gens__role { display: block; font-size: var(--s-1); color: var(--on-dark-2); margin-top: 4px; }
.sec--heritage .link { color: var(--patina-lt); }
.sec--heritage .link:hover { color: #fff; }
@media (max-width: 820px) {
  .heritage { grid-template-columns: 1fr; }
  .heritage__photo { max-width: 340px; }
}
@media (max-width: 520px) {
  .gens { grid-template-columns: 1fr; gap: 22px; padding-left: 30px; }
  .gens::before { left: 6px; top: 6px; bottom: 6px; right: auto; width: 2px; height: auto; }
  .gens li { padding-top: 0; }
  .gens li::before { left: -30px; top: 6px; }
}

/* ---------- Work strip ---------- */
.sec--work .sec__head { margin-bottom: 24px; }
.strip {
  list-style: none; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gut) 16px; scroll-padding-inline: var(--gut);
  scrollbar-color: var(--steel) transparent;
}
@media (min-width: 1320px) { .strip { padding-inline: calc((100vw - var(--max)) / 2 + var(--gut)); } }
.strip li { flex: none; scroll-snap-align: start; }
.strip a { display: block; }
.strip img { height: clamp(200px, 26vw, 300px); width: auto; max-width: none; border-radius: var(--r); object-fit: cover; background: var(--wall-2); }

/* ---------- References ---------- */
.sec--refs { padding-top: 0; }
.refs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 48px; border-top: 3px solid var(--iron); padding-top: 32px; }
.refs__list { list-style: none; columns: 2; column-gap: 40px; }
.refs__list li { break-inside: avoid; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); position: relative; }
.refs__list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; background: var(--iron); border-radius: 50%; }
@media (max-width: 720px) { .refs { grid-template-columns: 1fr; } .refs__list { columns: 1; } }

/* ---------- Prose ---------- */
.sec--prose { background: var(--paper); border-top: 1px solid var(--line); }
.prose-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 48px; }
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--iron-2); }
.prose h2, .prose h3, .prose h4 { font: 700 1.6rem/1.15 var(--f-display); margin: 1.6em 0 .5em; color: var(--iron); }
.prose h2:first-child, .prose h3:first-child, .prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose a { color: var(--patina); }
.prose img { border-radius: var(--r); margin: 1em 0; }
.more summary {
  cursor: pointer; font-weight: 600; color: var(--patina); list-style: none;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 0;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 1.3em; line-height: 1; }
.more[open] summary { margin-bottom: 1em; }
.more[open] summary::after { content: "−"; }
@media (max-width: 720px) { .prose-wrap { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { background: transparent; border-top: 1px solid var(--line); padding-block: clamp(48px, 7vw, 88px) clamp(24px, 4vw, 40px); }
.cta__in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 48px; align-items: center; }
.cta__title { font: 800 clamp(2.1rem, 4vw, var(--s4))/1 var(--f-display); margin-bottom: 14px; }
.cta p { margin: 0; max-width: 36em; color: var(--iron-2); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 820px) { .cta__in { grid-template-columns: 1fr; } .cta__actions { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.foot { background: transparent; }
.foot__brand .foot__name { color: var(--on-dark); }
.foot__body { background: var(--iron); color: var(--on-dark); padding-block: 48px 24px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot__name { font: 800 2rem/1 var(--f-display); margin-bottom: 12px; }
.foot__brand p { color: var(--on-dark-2); max-width: 30em; }
.foot__actions { margin-top: 20px; }
.foot__h { font: 700 1.25rem/1 var(--f-display); margin-bottom: 14px; color: var(--on-dark); }
.foot__list { list-style: none; }
.foot__list li { padding: 4px 0; }
.foot a { color: var(--on-dark); text-decoration-color: var(--steel); text-underline-offset: .2em; }
.foot a:hover { color: #fff; text-decoration-color: currentColor; }
.foot__list a { text-decoration: none; color: var(--on-dark-2); }
.foot__list a:hover { color: #fff; text-decoration: underline; }
.foot__addr { font-style: normal; color: var(--on-dark-2); line-height: 1.8; }
.foot__map { font-weight: 600; }
.foot .btn--wa { color: #fff; }
.foot__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--iron-2); color: var(--on-dark-2); font-size: var(--s-1); }
.foot__legal p { margin: 0; }
@media (max-width: 820px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile dock ---------- */
.dock { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: 64px; }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding-bottom: env(safe-area-inset-bottom); background: var(--iron);
    box-shadow: 0 -1px 0 var(--iron-2);
  }
  .dock a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px;
    font-weight: 600; text-decoration: none; color: var(--on-dark);
  }
  .dock__wa { background: var(--patina); color: #fff !important; }
}

/* ---------- Inner page header ---------- */
.phead { padding-block: clamp(28px, 5vw, 56px) clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.crumbs { font-size: var(--s-1); color: var(--steel); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.crumbs a { color: var(--steel); }
.crumbs a:hover { color: var(--iron); }
.phead__title { font: 800 clamp(2.5rem, 5.4vw, 4.25rem)/.98 var(--f-display); max-width: 18ch; text-wrap: balance; }
.phead__lead { margin: 18px 0 0; font-size: var(--s1); color: var(--iron-2); max-width: 38em; line-height: 1.5; }
.phead__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; }
.phead__row .hero__cta { justify-content: flex-end; }
@media (max-width: 820px) { .phead__row { grid-template-columns: 1fr; } .phead__row .hero__cta { justify-content: flex-start; } }

/* ---------- Category page ---------- */
.cat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; padding-block: clamp(32px, 5vw, 56px) var(--sec); }
.side { position: sticky; top: 96px; align-self: start; }
.side__h { font: 700 1.3rem/1 var(--f-display); margin-bottom: 10px; }
.side ul { list-style: none; border-top: 2px solid var(--iron); }
.side li a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.side li a:hover { color: var(--patina); }
.side li a[aria-current="page"] { font-weight: 600; color: var(--patina); }
.side li small { color: var(--steel); font-size: var(--s-1); }
@media (max-width: 960px) { .cat-layout { grid-template-columns: 1fr; } .side { position: static; } .side ul { columns: 2; column-gap: 24px; } .side li { break-inside: avoid; } }
@media (max-width: 520px) { .side ul { columns: 1; } }

.models { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
@media (max-width: 560px) { .models { grid-template-columns: 1fr 1fr; gap: 12px; } .model__foot { flex-direction: column; align-items: flex-start; gap: 2px; } }
.model { position: relative; }
.model a.model__open { display: block; overflow: hidden; border-radius: var(--r); background: var(--paper); aspect-ratio: 1; border: 1px solid var(--line); }
.model img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.model a.model__open:hover img { transform: scale(1.03); }
.model__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 8px; font-size: var(--s-1); }
.model__code { color: var(--steel); }
.model__ask { color: var(--patina); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.model__ask:hover { text-decoration: underline; }
.cat-text { margin-top: clamp(40px, 6vw, 64px); padding-top: 32px; border-top: 3px solid var(--iron); }
.cat-text h2 { font: 800 var(--s3)/1 var(--f-display); margin-bottom: 18px; }

/* ---------- Products index ---------- */
.sec--plain { padding-top: clamp(32px, 5vw, 56px); }
.cat__short { display: block; color: var(--iron-2); font-size: .95rem; margin-top: 4px; }

/* ---------- Gallery ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; list-style: none; }
.tabs a {
  display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  text-decoration: none; font-weight: 500; background: var(--paper);
}
.tabs a:hover { border-color: var(--iron); }
.album { padding-block: clamp(32px, 5vw, 56px) 0; }
.album:last-child { padding-bottom: var(--sec); }
.album h2 { font: 800 var(--s3)/1 var(--f-display); margin-bottom: 6px; }
.album__meta { color: var(--steel); margin-bottom: 22px; }
.masonry { columns: 4 240px; column-gap: 14px; }
.masonry a { display: block; margin-bottom: 14px; break-inside: avoid; border-radius: var(--r); overflow: hidden; background: var(--wall-2); }
.masonry img { width: 100%; transition: opacity .2s; }
.masonry a:hover img { opacity: .88; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; padding-block: clamp(32px, 5vw, 56px) var(--sec); }
.about__aside img { border-radius: var(--r); filter: grayscale(1); width: 100%; }
.about__aside figcaption { font-size: var(--s-1); color: var(--steel); margin-top: 8px; }
.facts { list-style: none; margin-top: 28px; border-top: 2px solid var(--iron); }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.facts b { font-weight: 600; }
.facts span { color: var(--iron-2); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__aside { max-width: 420px; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; padding-block: clamp(32px, 5vw, 56px) var(--sec); }
.c-list { list-style: none; border-top: 2px solid var(--iron); margin-bottom: 28px; }
.c-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.c-list .k { display: block; font-size: var(--s-1); color: var(--steel); }
.c-list .v { font-size: var(--s1); font-weight: 500; text-decoration: none; }
.c-list a.v:hover { color: var(--patina); }
.map { aspect-ratio: 4 / 3; width: 100%; border: 1px solid var(--line); border-radius: var(--r); background: var(--wall-2); }
.form { align-self: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 36px); }
.form h2 { font: 800 var(--s3)/1 var(--f-display); margin-bottom: 8px; }
.form > p { color: var(--steel); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--steel); font-size: var(--s-1); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--iron); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--patina); box-shadow: 0 0 0 3px color-mix(in srgb, var(--patina) 25%, transparent); }
.field--err input, .field--err textarea { border-color: #A23B2A; }
.field .err { color: #A23B2A; font-size: var(--s-1); margin-top: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: var(--r); margin-bottom: 20px; border: 1px solid; }
.notice--ok { background: #E4F0EB; border-color: var(--patina); color: var(--patina-dk); }
.notice--err { background: #F6E7E3; border-color: #A23B2A; color: #7D2A1C; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.nf { padding-block: var(--sec); }
.nf .hero__cta { margin-top: 28px; }

/* ---------- Lightbox ---------- */
.lb {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(22, 25, 28, .97); color: var(--on-dark);
}
.lb[open] { display: grid; grid-template-rows: 1fr auto; }
.lb::backdrop { background: rgba(22, 25, 28, .9); }
.lb__fig { margin: 0; display: grid; place-items: center; padding: 16px; min-height: 0; }
.lb__img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; }
.lb__cap { margin-top: 10px; color: var(--on-dark-2); font-size: var(--s-1); text-align: center; }
.lb__bar { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); flex-wrap: wrap; }
.lb__bar button {
  min-width: 48px; min-height: 48px; background: transparent; color: var(--on-dark);
  border: 1.5px solid var(--steel); border-radius: var(--r); font: 600 var(--s0) var(--f-text); cursor: pointer; padding: 0 14px;
}
.lb__prev, .lb__next { font-size: 1.6rem !important; line-height: 1; }
.lb__bar button:hover { border-color: var(--on-dark); }
.lb__count { min-width: 64px; text-align: center; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Açık zemin üzerinde kuşak çizelgesi */
.gens--light::before { background: var(--line); }
.gens--light li::before { background: var(--wall); border-color: var(--iron); }
.gens--light li:last-child::before { background: var(--patina); border-color: var(--patina); }
.gens--light .gens__role { color: var(--steel); }
