/* ============================================================
   C&A Joinery — design preview
   Alien Web Design, 2026. Self-contained: no external requests.
   ============================================================ */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --ink:    #211d19;   /* warm charcoal */
  --ink-2:  #2a251f;
  --ink-3:  #171411;   /* footer / map panel */

  --bg:     #f7f5f2;   /* near-white, a breath of oak */
  --bg-2:   #efeae3;   /* tinted gallery band */

  --tx:         #26221e;
  --tx-mut:     #5b544b;
  --tx-inv:     #f3efe9;
  --tx-inv-mut: #b5aca0;

  --acc:        #b1671f;  /* burnt amber — large/graphic use */
  --acc-deep:   #8a4d12;  /* amber for text & buttons on light */
  --acc-bright: #d89a55;  /* amber for text on dark */

  --line:     rgba(38, 34, 30, 0.14);
  --line-inv: rgba(243, 239, 233, 0.16);

  --ff-d: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-b: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --z-nav: 10;
  --z-panel: 20;
  --z-skip: 40;

  --focus: var(--acc-deep);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--ff-b);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--tx);
  background: var(--bg);
}

h1, h2, h3, h4 {
  font-family: var(--ff-d);
  font-optical-sizing: auto;
  font-weight: 540;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }
a { color: inherit; }

[hidden] { display: none !important; }

::selection { background: var(--acc-bright); color: var(--ink); }

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

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap-narrow { max-width: 820px; }

section[id] { scroll-margin-top: 84px; }

.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;
}

.skip-link {
  position: fixed;
  top: -100px; left: 1rem;
  z-index: var(--z-skip);
  background: var(--acc-deep);
  color: #f8f3ec;
  font: 600 0.95rem/1 var(--ff-b);
  padding: 0.9em 1.3em;
  border-radius: 6px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus-visible { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font: 600 0.95rem/1.1 var(--ff-b);
  padding: 0.95em 1.5em;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-solid { background: var(--acc-deep); color: #f8f3ec; }
.btn-solid:hover { background: #7a430e; }

.btn-ghost { border-color: rgba(243, 239, 233, 0.38); color: var(--tx-inv); }
.btn-ghost:hover { border-color: var(--acc-bright); color: var(--acc-bright); }

.btn-dark { background: var(--ink); color: var(--tx-inv); }
.btn-dark:hover { background: #0f0d0b; }

/* ============================================================
   Header
   ============================================================ */
.site-head {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--ink);
  --focus: var(--acc-bright);
  transition: box-shadow 0.3s var(--ease);
}
.site-head.scrolled { box-shadow: 0 12px 32px rgba(15, 12, 9, 0.35); }
.head-bar {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.2rem);
  min-height: 68px;
  flex-wrap: wrap;
  padding-block: 0.6rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--tx-inv);
  margin-right: auto;
}
.brand-mark { width: 96px; height: 29px; display: block; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.9rem, 2vw, 1.7rem);
}
.site-nav a {
  font: 500 0.95rem/1 var(--ff-b);
  color: rgba(243, 239, 233, 0.82);
  text-decoration: none;
  padding: 0.4em 0.1em;
  transition: color 0.2s var(--ease);
}
.site-nav a:hover { color: var(--tx-inv); }
.site-nav a[aria-current="true"] {
  color: var(--acc-bright);
}

.head-cta { padding: 0.7em 1.15em; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px; height: 2px;
  background: var(--tx-inv);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle-bars { position: relative; background: transparent; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -4px; }
.nav-toggle-bars::after  { top:  4px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 820px) {
  html.js .nav-toggle { display: grid; }
  html.js .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ink);
    border-top: 1px solid var(--line-inv);
    border-bottom: 1px solid var(--line-inv);
    padding: 0.6rem 0 1rem;
    z-index: var(--z-panel);
  }
  html.js .site-nav.open { display: block; }
  html.js .site-nav ul { display: block; }
  html.js .site-nav a {
    display: block;
    padding: 0.85rem var(--pad);
    font-size: 1.05rem;
  }
}
@media (max-width: 480px) {
  .head-cta { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  min-height: min(860px, calc(100svh - 68px));
  background: var(--ink);
  --focus: var(--acc-bright);
}
.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  padding-right: clamp(1.5rem, 4vw, 4rem);
  padding-left: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
}
.overline {
  font: 600 0.78rem/1.4 var(--ff-b);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acc-bright);
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(2.55rem, 4.6vw + 1rem, 5rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.025em;
  color: var(--tx-inv);
  max-width: 14ch;
}
.hero .lede {
  margin-top: 1.4rem;
  max-width: 46ch;
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--tx-inv-mut);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.3rem;
}
.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 50%;
}
.hero-tag {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  max-width: calc(100% - 2.2rem);
  font: 500 0.78rem/1.45 var(--ff-b);
  letter-spacing: 0.02em;
  color: var(--tx-inv);
  background: rgba(20, 17, 14, 0.74);
  padding: 0.55em 0.95em;
  border-radius: 6px;
}
.hero:has(.hero-media[hidden]) { grid-template-columns: 1fr; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-panel {
    padding: clamp(3rem, 9vw, 4.5rem) var(--pad) clamp(2.5rem, 7vw, 3.5rem);
  }
  .hero-media { min-height: min(64vw, 470px); }
}

/* Hero entrance (enhanced only, never gates visibility) */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes img-in {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
html.anim .hero-panel > * { animation: rise-in 0.9s var(--ease) both; }
html.anim .hero-panel > :nth-child(1) { animation-delay: 0.05s; }
html.anim .hero-panel > :nth-child(2) { animation-delay: 0.14s; }
html.anim .hero-panel > :nth-child(3) { animation-delay: 0.24s; }
html.anim .hero-panel > :nth-child(4) { animation-delay: 0.36s; }
html.anim .hero-media img { animation: img-in 1.25s var(--ease) both; }
html.anim .hero-tag { animation: fade-in 0.8s var(--ease) 0.9s both; }

/* ============================================================
   Client roster
   ============================================================ */
.clients {
  background: var(--ink);
  border-top: 1px solid var(--line-inv);
  padding: 2.6rem 0 3.2rem;
  --focus: var(--acc-bright);
}
.clients-label {
  font: 600 0.75rem/1.4 var(--ff-b);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tx-inv-mut);
  margin-bottom: 1.2rem;
}
.marks {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.7rem 0;
  max-width: 62rem;
}
.marks li {
  font: 500 0.84rem/1.6 var(--ff-b);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(243, 239, 233, 0.68);
  white-space: nowrap;
}
.marks li:not(:last-child)::after {
  content: "\00B7";
  color: var(--acc-bright);
  margin-inline: 0.9em;
}

/* ============================================================
   Section scaffolding
   ============================================================ */
.services, .projects, .kitchens, .why, .about, .band, .faq, .contact {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.sec-head h2,
.faq h2,
.c-form h2,
.about-copy h2 {
  font-size: clamp(1.95rem, 2.6vw + 0.7rem, 3.3rem);
}
.sec-head > p {
  margin-top: 1.1rem;
  max-width: 60ch;
  font-size: 1.06rem;
  color: var(--tx-mut);
}

/* ============================================================
   Services
   ============================================================ */
.services { background: var(--bg); }
.svc-list {
  margin-top: clamp(2.2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1rem 2.5rem;
  padding: 1.7rem 0.9rem 1.8rem;
  margin-inline: -0.9rem;
  border-bottom: 1px solid var(--line);
  border-radius: 4px;
  transition: background-color 0.3s var(--ease);
}
.svc-row:hover { background: rgba(177, 103, 31, 0.05); }
.svc-row h3 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem);
  font-weight: 530;
  letter-spacing: -0.012em;
  transition: color 0.3s var(--ease);
}
.svc-row:hover h3 { color: var(--acc-deep); }
.svc-tag {
  display: inline-block;
  margin-top: 0.55rem;
  font: 650 0.7rem/1 var(--ff-b);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acc-deep);
  border: 1px solid rgba(138, 77, 18, 0.4);
  padding: 0.4em 0.75em;
  border-radius: 999px;
}
.svc-row p { color: var(--tx-mut); max-width: 56ch; align-self: center; }

@media (max-width: 720px) {
  .svc-row { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ============================================================
   Projects
   ============================================================ */
.projects { background: var(--bg-2); }

.filters { display: none; }
html.js .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
}
.filter-btn {
  font: 600 0.86rem/1 var(--ff-b);
  color: var(--tx);
  background: transparent;
  border: 1px solid rgba(38, 34, 30, 0.3);
  border-radius: 999px;
  padding: 0.62em 1.15em;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.filter-btn:hover { border-color: var(--tx); }
.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--tx-inv);
}

/* Projects grouped by client: each client is a compact photo grid */
.proj-groups {
  margin-top: 1.9rem;
  display: grid;
  gap: clamp(2.4rem, 5vw, 3.6rem);
}
.group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.9rem;
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.group-head h3 {
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.7rem);
  font-weight: 530;
  letter-spacing: -0.012em;
}
.group-type {
  font: 500 0.82rem/1.5 var(--ff-b);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acc-deep);
}
.group-type span { color: var(--tx-mut); letter-spacing: 0.06em; }

/* Mobile-first: two columns inside every group */
.group-grid {
  display: grid;
  gap: clamp(8px, 2.2vw, 14px);
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: clamp(114px, 33vw, 200px);
  grid-auto-flow: dense;
}
.group-grid .tile { grid-column: span 1; grid-row: span 1; }
.group-grid .tile .tile-link { height: 100%; }

/* Odd counts lead with a 2x2 feature so no single tile is left dangling */
.g-5 .tile:first-child,
.g-3 .tile:first-child { grid-column: span 2; grid-row: span 2; }

/* One-photo group reads as a deliberate contained card, not a half-empty row */
.g-1 { grid-template-columns: minmax(0, 300px); grid-auto-rows: auto; }
.g-1 .tile:first-child { grid-column: span 1; grid-row: auto; }
.g-1 .tile .tile-link { aspect-ratio: 4 / 5; height: auto; }

@media (min-width: 700px) {
  .group-grid { grid-auto-rows: clamp(150px, 15vw, 208px); gap: clamp(12px, 1.4vw, 16px); }
  .g-5, .g-4 { grid-template-columns: repeat(4, 1fr); }
  .g-3 { grid-template-columns: repeat(3, 1fr); }
  .g-5 .tile:first-child { grid-column: span 2; grid-row: span 2; }
  .g-4 .tile:first-child,
  .g-3 .tile:first-child { grid-column: span 1; grid-row: span 1; }
  .g-1 { grid-template-columns: minmax(0, 430px); grid-auto-rows: auto; }
}

.tile-link {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-2);
}
.tile-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.tile-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 rgba(216, 154, 85, 0);
  transition: box-shadow 0.3s var(--ease);
  pointer-events: none;
}
.tile-link:hover img,
.tile-link:focus-visible img { transform: scale(1.045); }
.tile-link:hover::after { box-shadow: inset 0 0 0 3px rgba(216, 154, 85, 0.85); }

/* Each .proj-group and the kitchens .k-wrap carry the .reveal class, so the
   shared reveal system (visible by default, enhanced under html.anim, and
   neutralised by prefers-reduced-motion) animates whole client groups in. */

/* ============================================================
   Kitchens
   ============================================================ */
.kitchens { background: var(--bg); }
.k-wrap { margin-top: clamp(2rem, 5vw, 3rem); }
.k-feature .tile-link { aspect-ratio: 16 / 7; height: auto; }
.k-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
  margin-top: clamp(10px, 1.4vw, 18px);
}
.k-tile .tile-link { aspect-ratio: 4 / 3; height: auto; }

@media (max-width: 860px) {
  .k-grid { grid-template-columns: repeat(2, 1fr); }
  .k-feature .tile-link { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .k-feature .tile-link { aspect-ratio: 4 / 3; }
}

/* ============================================================
   Why C&A (dark)
   ============================================================ */
.why {
  background: var(--ink);
  color: var(--tx-inv);
  --focus: var(--acc-bright);
}
.why .sec-head > p { color: var(--tx-inv-mut); }
.pillars {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4.5rem);
}
.pillars li {
  border-top: 1px solid var(--line-inv);
  padding-top: 1.4rem;
}
.pillars h3 {
  font-size: 1.4rem;
  font-weight: 520;
  color: var(--tx-inv);
}
.pillars p {
  margin-top: 0.7rem;
  color: var(--tx-inv-mut);
  max-width: 48ch;
}
.ethos {
  margin-top: clamp(3rem, 7vw, 5rem);
  max-width: 34ch;
}
.ethos p {
  font-family: var(--ff-d);
  font-optical-sizing: auto;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
  font-weight: 440;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--tx-inv);
  text-wrap: balance;
}
.ethos cite {
  display: block;
  margin-top: 1.1rem;
  font: 600 0.78rem/1.4 var(--ff-b);
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acc-bright);
}
@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ============================================================
   About
   ============================================================ */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-grid:has(.about-media[hidden]) { grid-template-columns: 1fr; }
.about-media img { border-radius: var(--radius); width: 100%; }
.about-media figcaption {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--tx-mut);
}
.about-copy p {
  margin-top: 1.2rem;
  color: var(--tx-mut);
  max-width: 54ch;
}
.about-copy p:first-of-type { margin-top: 1.4rem; }
.team {
  margin-top: 1.8rem;
  max-width: 24rem;
}
.team li {
  font-family: var(--ff-d);
  font-optical-sizing: auto;
  font-size: 1.18rem;
  font-weight: 500;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
}
.team li:last-child { border-bottom: 1px solid var(--line); }

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Positioning band (amber)
   ============================================================ */
.band {
  background: var(--acc);
  color: var(--ink);
  text-align: center;
  --focus: var(--ink);
}
.band ::selection { background: var(--ink); color: var(--acc-bright); }
.band-line {
  font-family: var(--ff-d);
  font-optical-sizing: auto;
  font-size: clamp(2rem, 3.6vw + 0.6rem, 3.7rem);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-inline: auto;
  text-wrap: balance;
}
.band-sub {
  margin: 1.3rem auto 0;
  max-width: 52ch;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
}
.band .btn { margin-top: 2.2rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-2); }
.faq-list { margin-top: 2rem; }
.faq-list details {
  border-bottom: 1px solid rgba(38, 34, 30, 0.18);
}
.faq-list details:first-child { border-top: 1px solid rgba(38, 34, 30, 0.18); }
.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  font: 600 1.05rem/1.45 var(--ff-b);
  padding: 1.2rem 3rem 1.2rem 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-x {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  width: 16px; height: 16px;
  transform: translateY(-50%);
}
.faq-x::before, .faq-x::after {
  content: "";
  position: absolute;
  top: 7px; left: 0;
  width: 16px; height: 2px;
  background: var(--acc-deep);
  transition: transform 0.3s var(--ease);
}
.faq-x::after { transform: rotate(90deg); }
details[open] .faq-x::after { transform: rotate(0deg); }
.faq-list details > p {
  padding: 0 3rem 1.4rem 0;
  color: var(--tx-mut);
  max-width: 64ch;
}
.faq-list details a {
  color: var(--acc-deep);
  text-decoration-color: rgba(138, 77, 18, 0.45);
}

/* ============================================================
   Contact (dark)
   ============================================================ */
.contact {
  background: var(--ink);
  color: var(--tx-inv);
  --focus: var(--acc-bright);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.c-form > p { margin-top: 1.1rem; color: var(--tx-inv-mut); max-width: 46ch; }

#quote-form { margin-top: 2.2rem; }
.field { margin-bottom: 1.25rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.field label {
  display: block;
  font: 600 0.86rem/1.3 var(--ff-b);
  margin-bottom: 0.45rem;
  color: var(--tx-inv);
}
.field input,
.field textarea {
  width: 100%;
  font: 400 1rem/1.5 var(--ff-b);
  color: var(--tx-inv);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(243, 239, 233, 0.24);
  border-radius: 6px;
  padding: 0.8em 0.95em;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 8.5em; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(181, 172, 160, 0.9); }
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--acc-bright);
  outline-offset: 1px;
  border-color: var(--acc-bright);
  background: rgba(255, 255, 255, 0.08);
}
.btn-wide { padding-inline: 2.4em; }

.form-status { margin-top: 1.1rem; }
.form-status.on {
  color: var(--tx-inv);
  background: rgba(216, 154, 85, 0.12);
  border: 1px solid rgba(216, 154, 85, 0.4);
  border-radius: 6px;
  padding: 0.9em 1.1em;
  font-size: 0.95rem;
}

.c-info h3 {
  font-size: 1.35rem;
  font-weight: 520;
}
.c-info address {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--tx-inv-mut);
}
.c-lines { margin-top: 1.4rem; }
.c-lines > div {
  display: flex;
  gap: 1.1rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line-inv);
}
.c-lines dt {
  flex: 0 0 4.2rem;
  font: 600 0.74rem/1.9 var(--ff-b);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-inv-mut);
}
.c-lines dd a,
.c-lines dd {
  color: var(--tx-inv);
  text-decoration-color: rgba(243, 239, 233, 0.4);
}
.c-lines dd a:hover { color: var(--acc-bright); }

.map { margin-top: 2.2rem; }
.map svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-inv);
}
.map figcaption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--tx-inv-mut);
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-foot {
  background: var(--ink-3);
  color: var(--tx-inv-mut);
  padding: 3.5rem 0 2rem;
  --focus: var(--acc-bright);
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: start;
}
.foot-brand .brand-mark {
  width: 120px; height: 36px;
  color: rgba(243, 239, 233, 0.92);
}
.foot-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  max-width: 30ch;
}
.foot-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
}
.foot-nav a {
  font-size: 0.92rem;
  color: rgba(243, 239, 233, 0.8);
  text-decoration: none;
}
.foot-nav a:hover { color: var(--acc-bright); }
.foot-contact { font-size: 0.92rem; line-height: 1.7; }
.foot-contact a {
  color: rgba(243, 239, 233, 0.8);
  text-decoration-color: rgba(243, 239, 233, 0.35);
}
.foot-contact a:hover { color: var(--acc-bright); }
.foot-legal {
  margin-top: 2.8rem;
  border-top: 1px solid var(--line-inv);
  padding-top: 1.4rem;
}
.foot-legal p { font-size: 0.8rem; color: #908a83; }

@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(15, 12, 9, 0.92);
  color: var(--tx-inv);
  --focus: var(--acc-bright);
}
.lightbox[open] {
  display: grid;
  place-items: center;
}
.lightbox figure {
  max-width: min(1240px, 94vw);
  text-align: center;
  padding: 3.5rem 0;
}
.lightbox img {
  max-width: min(1240px, 94vw);
  max-height: 78vh;
  width: auto;
  height: auto;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.lightbox figcaption {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: var(--tx-inv);
}
.lightbox figcaption .lb-type {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx-inv-mut);
}
.lb-close, .lb-prev, .lb-next {
  position: fixed;
  z-index: 2;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: rgba(243, 239, 233, 0.08);
  border: 1px solid rgba(243, 239, 233, 0.28);
  border-radius: 999px;
  color: var(--tx-inv);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: rgba(243, 239, 233, 0.18);
}
.lb-close svg, .lb-prev svg, .lb-next svg { width: 22px; height: 22px; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 0.9rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.9rem; top: 50%; transform: translateY(-50%); }
html.anim .lightbox[open] figure { animation: fade-in 0.35s var(--ease) both; }

@media (max-width: 640px) {
  .lb-prev { left: 0.5rem; top: auto; bottom: 1rem; transform: none; }
  .lb-next { right: 0.5rem; top: auto; bottom: 1rem; transform: none; }
  .lightbox img { max-height: 68vh; }
}

/* ============================================================
   Reveal-on-scroll (enhanced only — page is complete without JS)
   ============================================================ */
html.anim .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
html.anim .reveal.is-in { opacity: 1; transform: none; }

html.anim .reveal-list > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.anim .reveal-list.is-in > * { opacity: 1; transform: none; }
html.anim .reveal-list.is-in > :nth-child(1) { transition-delay: 0.00s; }
html.anim .reveal-list.is-in > :nth-child(2) { transition-delay: 0.07s; }
html.anim .reveal-list.is-in > :nth-child(3) { transition-delay: 0.14s; }
html.anim .reveal-list.is-in > :nth-child(4) { transition-delay: 0.21s; }
html.anim .reveal-list.is-in > :nth-child(5) { transition-delay: 0.28s; }
html.anim .reveal-list.is-in > :nth-child(6) { transition-delay: 0.35s; }

/* ---------- Reduced motion: everything visible, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.anim .reveal,
  html.anim .reveal-list > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html.anim .hero-panel > *,
  html.anim .hero-media img,
  html.anim .hero-tag,
  html.anim .lightbox[open] figure {
    animation: none !important;
  }
  .tile-link img { transition: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
