/* ==========================================================================
   Waugh Construction Inc. — Design System
   Sydenham, ON | Custom Home Builds · Renovations · Timber Framing
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Ink / charcoal — the structural base */
  --ink-900: #0e1013;
  --ink-800: #14171b;
  --ink-700: #1c2026;
  --ink-600: #262b33;
  --ink-500: #363d47;

  /* Timber — warm oak accent, taken from their timber-frame work */
  --timber: #c07b33;
  --timber-lt: #e0a45e;
  --timber-dk: #8f5a22;

  /* Stone / sand — limestone country north of Kingston */
  --sand-50: #faf8f5;
  --sand-100: #f4f1ec;
  --sand-200: #e7e2da;
  --sand-300: #d3cdc2;
  --stone-500: #8b8f96;
  --stone-600: #6b7076;

  --white: #ffffff;

  /* Semantic */
  --bg: var(--sand-50);
  --fg: var(--ink-800);
  --muted: var(--stone-600);
  --line: var(--sand-200);
  --line-dark: rgba(255, 255, 255, 0.1);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  /* Space & shape */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --maxw: 78rem;
  --maxw-narrow: 44rem;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(14, 16, 19, 0.06), 0 4px 12px rgba(14, 16, 19, 0.05);
  --shadow-md: 0 12px 32px rgba(14, 16, 19, 0.1);
  --shadow-lg: 0 28px 70px rgba(14, 16, 19, 0.16);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video { display: block; max-width: 100%; }

img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.1rem; }
li { margin-bottom: 0.4em; }

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

::selection { background: var(--timber); color: var(--white); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section--dark {
  background: var(--ink-800);
  color: var(--sand-100);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .muted { color: rgba(244, 241, 236, 0.62); }

.section--sand { background: var(--sand-100); }

.muted { color: var(--muted); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink-800);
  color: var(--white);
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--timber-dk);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.section--dark .eyebrow { color: var(--timber-lt); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); }
.section--dark .section-head .lede { color: rgba(244, 241, 236, 0.7); }

.lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink-800);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--timber { --btn-bg: var(--timber); --btn-fg: var(--white); }
.btn--timber:hover { --btn-bg: var(--timber-dk); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-800);
  border-color: var(--ink-800);
}
.btn--ghost:hover { --btn-bg: var(--ink-800); --btn-fg: var(--white); }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Text link with arrow */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--timber-dk);
}
.arrow-link svg { transition: transform 0.2s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }
.section--dark .arrow-link { color: var(--timber-lt); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 248, 245, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(14, 16, 19, 0.05);
}

.header-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink-800);
  margin-right: auto;
}
.brand svg { width: 46px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-700);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.nav a:hover { background: var(--sand-200); }
.nav a[aria-current="page"] { color: var(--timber-dk); font-weight: 600; }

.header-cta { display: inline-flex; align-items: center; gap: 0.75rem; }

/* The in-nav call button is for the mobile drawer only */
@media (min-width: 881px) {
  .nav > .btn { display: none; }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--ink-800);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  margin-inline: auto;
  transition: transform 0.24s var(--ease), opacity 0.18s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
[aria-expanded="true"].nav-toggle span { background: transparent; }
[aria-expanded="true"].nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"].nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 1.75rem;
    background: var(--sand-50);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform 0.32s var(--ease);
  }
  .nav.is-open { transform: translateY(0); }
  .nav a {
    padding: 0.9rem 0.25rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav a:hover { background: transparent; color: var(--timber-dk); }
  .nav .btn { margin-top: 1.1rem; }
  .header-cta .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink-900);
  color: var(--sand-100);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  /* warm light raking across the frame */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      120% 90% at 78% 8%,
      rgba(192, 123, 51, 0.28) 0%,
      transparent 58%
    ),
    linear-gradient(180deg, rgba(14, 16, 19, 0.2) 0%, var(--ink-900) 92%);
  z-index: -1;
}

.hero-frame {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}
.hero-frame path,
.hero-frame line,
.hero-frame polyline {
  fill: none;
  stroke: rgba(224, 164, 94, 0.5);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}
.hero-frame .beam { stroke: rgba(224, 164, 94, 0.75); stroke-width: 2.5; }

.hero-inner {
  position: relative;
  padding-block: clamp(3.5rem, 9vh, 6.5rem) clamp(3.5rem, 9vh, 6rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { max-width: 34rem; }

.hero-shot {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  outline: 1px solid rgba(255, 255, 255, 0.12);
  outline-offset: -1px;
}
.hero-shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 2.5rem 1.25rem 1rem;
  background: linear-gradient(transparent, rgba(14, 16, 19, 0.85));
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-shot { display: none; }
}
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero h1 em {
  font-style: italic;
  color: var(--timber-lt);
}
.hero .lede { color: rgba(244, 241, 236, 0.78); max-width: 36rem; margin-bottom: 2.25rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(244, 241, 236, 0.62);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta svg { width: 15px; height: 15px; flex: none; color: var(--timber-lt); }

/* Page header (interior pages) */
.page-head {
  position: relative;
  background: var(--ink-800);
  color: var(--sand-100);
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(90% 120% at 88% 0%, rgba(192, 123, 51, 0.22), transparent 60%);
}
.page-head h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.page-head .lede { color: rgba(244, 241, 236, 0.75); max-width: 40rem; }

.crumbs {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: rgba(244, 241, 236, 0.5);
  margin-bottom: 1.5rem;
}
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--timber-lt); }
.crumbs span { margin-inline: 0.4rem; opacity: 0.5; }

/* ---------- Photo slots ----------
   Each .shot renders an illustrated timber-frame fallback. Drop a real
   photo at the img's src path and it takes over automatically. */
.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--ink-700) 0%, var(--ink-900) 100%);
  isolation: isolate;
}
.shot::before {
  /* blueprint grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(224, 164, 94, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 164, 94, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
}
.shot::after {
  /* king-post truss silhouette */
  content: "";
  position: absolute;
  inset: 12%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120' fill='none' stroke='%23e0a45e' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M10 100 L100 22 L190 100'/%3E%3Cpath d='M10 100 H190'/%3E%3Cpath d='M100 22 V100'/%3E%3Cpath d='M100 62 L48 100'/%3E%3Cpath d='M100 62 L152 100'/%3E%3Cpath d='M55 61 H145' stroke-width='1.2' opacity='.6'/%3E%3C/svg%3E");
}
.shot img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shot--ratio-4-3 { aspect-ratio: 4 / 3; }
.shot--ratio-3-2 { aspect-ratio: 3 / 2; }
.shot--ratio-1-1 { aspect-ratio: 1 / 1; }
.shot--ratio-tall { aspect-ratio: 4 / 5; }

/* ---------- Split (text + photo) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 2.6vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sand-300);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .arrow-link { margin-top: auto; padding-top: 1.25rem; }

.card-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 1.35rem;
  color: var(--timber);
}
.card-icon svg { width: 100%; height: 100%; }

.card--dark {
  background: var(--ink-700);
  border-color: var(--line-dark);
  color: var(--sand-100);
}
.card--dark h3 { color: var(--white); }
.card--dark p { color: rgba(244, 241, 236, 0.68); }
.card--dark:hover { border-color: rgba(224, 164, 94, 0.4); }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step {
  position: relative;
  padding: 1.75rem 1.75rem 1.75rem 4.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 1.75rem;
  top: 1.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--timber);
  letter-spacing: -0.02em;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.section--dark .step {
  background: var(--ink-700);
  border-color: var(--line-dark);
}
.section--dark .step h3 { color: var(--white); }
.section--dark .step p { color: rgba(244, 241, 236, 0.68); }
@media (min-width: 760px) { .steps--4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.stat { background: var(--sand-50); padding: 1.6rem 1.5rem; }
.stat dt {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 0.5rem;
}
.stat dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink-800);
}
.stat dd small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}
.section--dark .stats { background: var(--line-dark); border-color: var(--line-dark); }
.section--dark .stat { background: var(--ink-700); }
.section--dark .stat dd { color: var(--white); }
.section--dark .stat dd small { color: rgba(244, 241, 236, 0.6); }

/* ---------- Feature / project ---------- */
.project {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 900px) { .project { grid-template-columns: 1fr; } }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.tag {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: var(--white);
}
.section--dark .tag {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-dark);
  color: rgba(244, 241, 236, 0.75);
}

.spec-list { list-style: none; padding: 0; margin: 1.75rem 0 0; }
.spec-list li {
  display: flex;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.97rem;
}
.spec-list li:last-child { border-bottom: 1px solid var(--line); }
.spec-list dfn {
  flex: none;
  width: 8.5rem;
  font-style: normal;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-500);
  padding-top: 0.15rem;
}
.section--dark .spec-list li { border-color: var(--line-dark); }

/* ---------- Checklist ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.checks li { display: flex; gap: 0.8rem; align-items: flex-start; margin: 0; }
.checks svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--timber);
}

/* ---------- Quote ---------- */
.pull {
  margin: 0;
  padding-left: clamp(1.25rem, 3vw, 2rem);
  border-left: 3px solid var(--timber);
}
.pull p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}
.pull footer { font-size: 0.88rem; color: var(--muted); font-weight: 500; }
.section--dark .pull footer { color: rgba(244, 241, 236, 0.6); }

/* ---------- Service area ---------- */
.area-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.area-list li { margin: 0; }
.area-list span {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 500;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 1.25rem;
}
.gallery .shot {
  outline: 1px solid rgba(14, 16, 19, 0.08);
  outline-offset: -1px;
}
.gallery .shot img { transition: transform 0.5s var(--ease); }
.gallery .shot:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 3rem 1.15rem 1.05rem;
  background: linear-gradient(transparent, rgba(14, 16, 19, 0.88));
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
}
.gallery figcaption small {
  display: block;
  font-weight: 400;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--timber-lt);
  margin-bottom: 0.25rem;
}
/* Explicit column counts keep rows from leaving an orphan tile */
@media (min-width: 1040px) {
  .gallery--4 { grid-template-columns: repeat(4, 1fr); }
  .gallery--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 620px) and (max-width: 1039px) {
  .gallery--4, .gallery--2 { grid-template-columns: repeat(2, 1fr); }
}

.gallery .wide { grid-column: span 2; }
@media (max-width: 619px) { .gallery .wide { grid-column: span 1; } }

/* Photo strip */
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 0.75rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--ink-900);
  color: var(--sand-100);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 130% at 50% 110%, rgba(192, 123, 51, 0.35), transparent 62%);
}
.cta-band h2 { color: var(--white); }
.cta-band .lede { color: rgba(244, 241, 236, 0.72); margin-inline: auto; max-width: 34rem; }
.cta-band .btn-row { justify-content: center; margin-top: 2.25rem; }

/* ---------- Forms ---------- */
.form-card {
  padding: clamp(1.6rem, 3.5vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.45rem;
  color: var(--ink-700);
}
.field .req { color: var(--timber-dk); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  background: var(--sand-50);
  border: 1px solid var(--sand-300);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--fg);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--white);
  border-color: var(--timber);
  outline: none;
  box-shadow: 0 0 0 3px rgba(192, 123, 51, 0.14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }

.form-status {
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  background: var(--sand-100);
  border: 1px solid var(--line);
}
.form-status[hidden] { display: none; }

/* ---------- Contact details ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.contact-list li { display: flex; gap: 1rem; margin: 0; }
.contact-list svg { flex: none; width: 22px; height: 22px; margin-top: 4px; color: var(--timber); }
.contact-list dt {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 0.2rem;
}
.contact-list dd { margin: 0; font-size: 1.05rem; font-weight: 500; }
.contact-list dd a { text-decoration: none; }
.contact-list dd a:hover { color: var(--timber-dk); text-decoration: underline; }
.contact-list dd small { display: block; font-size: 0.88rem; font-weight: 400; color: var(--muted); margin-top: 0.15rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: rgba(244, 241, 236, 0.7);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; } }

.site-footer .brand { color: var(--white); margin-bottom: 1.1rem; }
.site-footer .brand-sub { color: rgba(244, 241, 236, 0.45); }
.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.45);
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { text-decoration: none; transition: color 0.18s var(--ease); }
.footer-links a:hover { color: var(--timber-lt); }

.socials { display: flex; gap: 0.6rem; margin-top: 1.35rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: rgba(244, 241, 236, 0.75);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.socials a:hover {
  background: var(--timber);
  border-color: var(--timber);
  color: var(--white);
  transform: translateY(-2px);
}
.socials svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: rgba(244, 241, 236, 0.45);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .cta-band, .hero-frame { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .shot { display: none; }
}
