/* DNC Grup — shared styles (static site, no build step).
   Every colour and font comes from the :root tokens below. Identity: corporate identity file "DNC GRUP.pdf" — emblem
   blue CMYK 100/20/0/0, wordmark CMYK 72/62/59/68 (converted with the file's colour profile), emblem foot fades to
   black; Josefin Sans (the identity's typeface) for headings. */

:root {
  /* identity */
  --brand: #0087bf;          /* emblem blue: buttons, markers */
  --brand-dk: #006a96;       /* blue for text and hover on light grounds (contrast) */
  --brand-lt: #4fb3e3;       /* blue on dark grounds */
  --brand-shade: #1b1919;    /* end of the emblem's gradient */
  --ink: #212423;            /* wordmark graphite: text, dark sections */
  --ink-2: #48525c;
  --ink-3: #75808a;
  --paper: #f3f4f5;
  --paper-2: #e8eaec;
  --white: #ffffff;
  --line: rgba(29, 35, 41, 0.12);
  --line-2: rgba(29, 35, 41, 0.24);
  --on-ink: #e9ecef;         /* text on --ink grounds */
  --on-ink-2: #aab3bc;
  --on-ink-line: rgba(255, 255, 255, 0.14);
  --scrim: rgba(29, 35, 41, 0.62);
  --ok: #2f6b4f;
  --err: #b3261e;
  --sample: #6b5ca5;         /* "Örnek" badge for mock data */

  /* material textures (no photos yet) */
  --tex-concrete-1: #b7b9bb;
  --tex-concrete-2: #94979a;
  --tex-steel-1: #8a96a1;
  --tex-steel-2: #5d6974;
  --tex-earth-1: #a68863;
  --tex-earth-2: #7c6247;
  --tex-asphalt-1: #3b434b;
  --tex-asphalt-2: #262c32;

  --display: "Josefin Sans", "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 3px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.07);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
[data-icon] { display: inline-flex; align-items: center; flex: none; }
[data-icon] > svg { width: 1.15em; height: 1.15em; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-dk); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
[id] { scroll-margin-top: 96px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 52ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand-dk); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 3px; background: var(--brand); flex: none; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 14px 24px; border: 1px solid var(--ink); background: var(--ink); color: var(--white);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; border-radius: var(--radius);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--brand-dk); border-color: var(--brand-dk); color: var(--white); }
.btn--accent { background: var(--brand); border-color: var(--brand); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }
.btn svg { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.topbar { background: var(--ink); color: var(--on-ink-2); font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a:hover { color: var(--white); }
.topbar__tag { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .04em; }
.topbar__tag::before { content: ""; width: 7px; height: 7px; background: var(--brand-lt); }
.topbar__links { display: flex; gap: 20px; }
.preview-ribbon { background: var(--sample); color: var(--white); font-size: .78rem; text-align: center; padding: 6px var(--gutter); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; line-height: 1; flex: none; }
.logo__svg { width: clamp(150px, 15vw, 196px); height: auto; }
.logo__s1 { stop-color: var(--brand); }
.logo__s2 { stop-color: var(--brand-shade); }
.logo__w { fill: var(--ink); }
.logo--light .logo__w { fill: var(--white); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 10px 12px; font-size: .95rem; white-space: nowrap; font-weight: 500; color: var(--ink-2); border-radius: var(--radius); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--brand); border-radius: 0; }
.nav .btn { margin-left: 10px; padding: 11px 18px; color: var(--white); }
.nav .btn:hover { color: var(--white); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); width: 46px; height: 46px; border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    max-height: calc(100vh - 76px); overflow: auto; box-shadow: 0 12px 24px rgba(0,0,0,.06);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--brand-dk); }
  .nav .btn { margin: 16px 0 0; border-bottom: 0; }
}
@media (max-width: 640px) {
  .topbar__links { display: none; }
}

/* ---------- sections ---------- */
.section { padding: clamp(60px, 8vw, 112px) 0; }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }
.section--white { background: var(--white); }
.section--sand { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink .lead, .section--ink .muted, .section--ink .section-head p { color: var(--on-ink-2); }
.section--ink .eyebrow { color: var(--brand-lt); }
.section--ink a:hover { color: var(--brand-lt); }
.section--accent { background: var(--brand); color: var(--white); }
.section--accent .btn { background: var(--white); border-color: var(--white); color: var(--ink); }
.section--accent .btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.section--accent .btn--ghost { background: transparent; border-color: rgba(255,255,255,.7); color: var(--white); }
.section--accent .btn--ghost:hover { background: var(--white); color: var(--ink); }
.section--accent :focus-visible { outline-color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 5vw, 52px); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 22ch; }
.section-head p { margin: 0; max-width: 50ch; color: var(--ink-2); }

/* page header */
.page-hero { padding: clamp(52px, 8vw, 96px) 0 clamp(40px, 5vw, 60px); border-bottom: 1px solid var(--line); background: var(--white); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 60ch; }
.crumbs { font-size: .82rem; color: var(--ink-3); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--brand-dk); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.subnav a { font-size: .86rem; font-weight: 600; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--ink-2); }
.subnav a:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; min-height: min(76vh, 720px); padding-top: 56px; padding-bottom: 56px; }
.hero h1 { max-width: 15ch; color: var(--white); }
.hero .lead { color: var(--on-ink-2); }
.hero .eyebrow { color: var(--brand-lt); }
.hero .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.hero .btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero__art { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.hero__art .tex { position: absolute; inset: 0; }
.hero__badge {
  position: absolute; left: 20px; bottom: 20px; right: 20px; background: rgba(255,255,255,.94); color: var(--ink);
  padding: 18px 20px; border-radius: var(--radius); display: flex; gap: 16px; align-items: center;
}
.hero__badge strong { font-family: var(--display); font-weight: 700; font-size: 1.15rem; display: block; line-height: 1.2; }
.hero__badge span { font-size: .84rem; color: var(--ink-2); }
.hero__badge svg { width: 40px; height: 40px; flex: none; color: var(--brand); }
.hero__stats { display: flex; gap: clamp(20px, 4vw, 48px); margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--on-ink-line); flex-wrap: wrap; }
.stat strong { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; display: block; line-height: 1; color: var(--white); }
.stat span { font-size: .84rem; color: var(--on-ink-2); }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero__art { aspect-ratio: 16 / 11; }
}

/* ---------- material textures (no photos yet) ---------- */
.tex { background-color: var(--tex-concrete-1); }
.tex--concrete {
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.28) 0 1px, transparent 2px),
    radial-gradient(circle at 60% 70%, rgba(0,0,0,.08) 0 1px, transparent 2px),
    linear-gradient(135deg, var(--tex-concrete-1), var(--tex-concrete-2));
  background-size: 7px 7px, 11px 11px, auto;
}
.tex--steel {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 2px, transparent 2px 22px),
    linear-gradient(100deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.22) 50%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, var(--tex-steel-1), var(--tex-steel-2));
}
.tex--earth {
  background:
    radial-gradient(circle at 15% 25%, rgba(0,0,0,.10) 0 2px, transparent 3px),
    radial-gradient(circle at 65% 60%, rgba(255,255,255,.12) 0 1px, transparent 2px),
    linear-gradient(170deg, var(--tex-earth-1), var(--tex-earth-2));
  background-size: 13px 13px, 9px 9px, auto;
}
.tex--asphalt {
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,.06) 0 1px, transparent 2px),
    linear-gradient(118deg, transparent 0 56%, var(--brand-lt) 56% 58%, transparent 58% 62%, var(--brand-lt) 62% 64%, transparent 64%),
    linear-gradient(160deg, var(--tex-asphalt-1), var(--tex-asphalt-2));
  background-size: 6px 6px, auto, auto;
}
.tex--blueprint {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 24px),
    linear-gradient(160deg, var(--tex-asphalt-1), var(--ink));
}

/* ---------- service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .25s, box-shadow .25s;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.svc-card__icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--paper); color: var(--brand-dk); border-radius: var(--radius); margin-bottom: 6px; }
.svc-card__icon svg { width: 28px; height: 28px; }
.svc-card h3 { margin: 0; font-size: 1.2rem; }
.svc-card p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.svc-card .link-arrow { margin-top: auto; align-self: start; font-size: .88rem; }
.section--ink .svc-card { background: transparent; border-color: var(--on-ink-line); }
.section--ink .svc-card p { color: var(--on-ink-2); }
.section--ink .svc-card__icon { background: rgba(255,255,255,.06); color: var(--brand-lt); }

/* service detail blocks (hizmetler.html) */
.svc-detail { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 5vw, 64px); padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.svc-detail:first-child { border-top: 0; padding-top: 0; }
.svc-detail__head { display: flex; flex-direction: column; gap: 14px; align-self: start; position: sticky; top: 100px; }
.svc-detail__head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.svc-detail__body p { color: var(--ink-2); max-width: 66ch; }
.svc-detail__media { position: relative; aspect-ratio: 21 / 8; border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }
.svc-detail__media .tex { position: absolute; inset: 0; }
@media (max-width: 860px) { .svc-detail { grid-template-columns: 1fr; } .svc-detail__head { position: static; } }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px; border: 1px solid var(--line-2); background: transparent; border-radius: var(--radius);
  font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--ink-2);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip span { opacity: .7; font-weight: 500; margin-left: 4px; }
.select { padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); max-width: 100%; }
.empty { padding: 48px 0; text-align: center; color: var(--ink-3); }

/* ---------- project cards ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.proj-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.proj-card__media { position: relative; aspect-ratio: 16 / 9; }
.proj-card__media .tex { position: absolute; inset: 0; }
.proj-card__badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.proj-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.proj-card__client { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.proj-card__body h3 { margin: 0; font-size: 1.25rem; }
.proj-card__body ul { margin: 4px 0 0; padding-left: 1.1em; font-size: .9rem; color: var(--ink-2); }
.proj-card__meta { font-size: .8rem; color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tag { font-size: .74rem; padding: 4px 9px; background: var(--paper); border-radius: 2px; color: var(--ink-2); }
a.tag:hover { background: var(--paper-2); color: var(--ink); }
.badge { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 8px; border-radius: 2px; background: var(--ink); color: var(--white); white-space: nowrap; }
.badge--live { background: var(--brand); }
.badge--done { background: var(--white); color: var(--ink); }
.badge--sample { background: var(--sample); color: var(--white); }

/* ---------- references ---------- */
.ref-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ref-list li {
  list-style: none; min-height: 88px; display: grid; place-items: center; padding: 16px; text-align: center;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 600; font-size: 1.02rem; line-height: 1.3; color: var(--ink-2);
}
.ref-list { padding: 0; margin: 0; }
.section--white .ref-list li { background: var(--white); }

/* ---------- fleet ---------- */
.fleet { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.fleet__group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.fleet__group h3 { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; }
.fleet__group h3 svg { width: 28px; height: 28px; color: var(--brand-dk); }
.fleet__group table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.fleet__group td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.fleet__group td:last-child { text-align: right; color: var(--ink-3); white-space: nowrap; padding-left: 12px; }
.section--ink .fleet__group { background: transparent; border-color: var(--on-ink-line); }
.section--ink .fleet__group td { border-color: var(--on-ink-line); }
.section--ink .fleet__group td:last-child { color: var(--on-ink-2); }
.section--ink .fleet__group h3 svg { color: var(--brand-lt); }

/* ---------- feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split__media { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; }
.split__media .tex { position: absolute; inset: 0; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: -1; } }

.list-check { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.list-check li { display: flex; gap: 12px; align-items: start; }
.list-check li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }

/* ---------- feature cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1080px) { .cards-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-3, .cards-5 { grid-template-columns: 1fr; } }
.fcard { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.section--ink .fcard { background: transparent; border-color: var(--on-ink-line); }
.fcard__icon { display: block; width: 40px; height: 40px; color: var(--brand-dk); margin-bottom: 16px; }
.fcard__icon svg { width: 100%; height: 100%; }
.section--ink .fcard__icon { color: var(--brand-lt); }
.fcard h3 { font-size: 1.2rem; }
.fcard p { font-size: .93rem; color: var(--ink-2); margin: 0; }
.section--ink .fcard p { color: var(--on-ink-2); }

/* ---------- timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 120px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 40px; padding: 0 0 40px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 115px; top: 12px; width: 11px; height: 11px; background: var(--brand); }
.tl-year { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: 1.8rem; line-height: 1; color: var(--brand-dk); }
.tl-body p { color: var(--ink-2); margin: 0; max-width: 62ch; }
@media (max-width: 640px) {
  .timeline::before { left: 5px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 32px; }
  .tl-item::before { left: 0; top: 6px; }
}

/* ---------- forms ---------- */
.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 920px) { .form-wrap { grid-template-columns: 1fr; } }
.form-wrap > * { min-width: 0; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); }
.form fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.form legend { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; font-size: 1.25rem; margin-bottom: 16px; padding: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.req { color: var(--err); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--paper); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field textarea { min-height: 130px; resize: vertical; }
.field__hint { font-size: .78rem; color: var(--ink-3); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field__err { font-size: .8rem; color: var(--err); min-height: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 8px 16px; }
.check { display: flex; gap: 10px; align-items: start; font-size: .92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.consent { font-size: .85rem; color: var(--ink-2); }
.consent a { text-decoration: underline; }
.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; }
.form-success { display: none; padding: clamp(22px, 4vw, 40px); background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--ok); border-radius: var(--radius); }
.form-success.is-visible { display: block; }
.form-success h3 { color: var(--ok); }
.form-success dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: .9rem; margin: 18px 0; overflow-wrap: anywhere; }
.form-success dt { color: var(--ink-3); }
.form-success dd { margin: 0; }
.notice { font-size: .82rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: start; }
.info-list li > div { min-width: 0; overflow-wrap: anywhere; }
.info-list svg { width: 22px; height: 22px; color: var(--brand-dk); flex: none; margin-top: 3px; }
.info-list strong { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 2px; }
.hours { width: 100%; border-collapse: collapse; font-size: .93rem; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.aside-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 28px; }
.aside-box h3 { font-size: 1.1rem; }

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { margin: 0; max-width: 22ch; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-ink-2); padding: 72px 0 28px; font-size: .92rem; border-top: 4px solid var(--brand); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--on-ink-line); }
.footer__grid > div { min-width: 0; overflow-wrap: anywhere; }
.footer h4 { color: var(--white); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--white); }
.footer .logo__svg { width: 200px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .8rem; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 38px; height: 38px; border: 1px solid var(--on-ink-line); border-radius: 50%; display: grid; place-items: center; }
.footer__social svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- prose (legal, policies) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.draft-note { display: inline-block; font-size: .8rem; color: var(--white); background: var(--sample); padding: 4px 10px; border-radius: 2px; margin-bottom: 18px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
