/* ==========================================================================
   West Columbus Wallpaper Hanger — styles
   Palette: linen / oat / eucalyptus / brass. Type: Newsreader + Hanken Grotesk.
   Signature motif: the plumb line & bob used to hang wallpaper straight.
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --linen: #F5F1EA;
  --paper: #FCFAF6;
  --oat: #ECE5D9;
  --sage-tint: #E5E9E1;
  --line: #DCD3C4;
  --line-strong: #C9BDA9;
  --ink: #262420;
  --stone: #5E574D;
  --euca: #4F6355;
  --euca-deep: #3C4C41;
  --brass: #B08D57;
  --brass-text: #7A5C2E;
  --error: #A13A2B;
  --white: #FFFFFF;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 136px);
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(38, 36, 32, .06), 0 2px 8px rgba(38, 36, 32, .05);
  --shadow-md: 0 2px 6px rgba(38, 36, 32, .06), 0 18px 40px -12px rgba(38, 36, 32, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--euca-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 1.5rem + 4.2vw, 5rem); line-height: 1.02; font-variation-settings: "opsz" 72; font-weight: 380; }
h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem); line-height: 1.08; font-variation-settings: "opsz" 60; font-weight: 400; }
h3 { font-size: 1.375rem; line-height: 1.25; font-variation-settings: "opsz" 24; font-weight: 500; }
h1 em, h2 em { font-style: italic; font-weight: 360; color: var(--euca-deep); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; }

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

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius);
  text-decoration: none; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Eyebrow + plumb bob motif ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass-text);
}
.bob {
  position: relative; flex: none;
  width: 8px; height: 22px;
}
.bob::before { /* string */
  content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 12px;
  background: currentColor; transform: translateX(-50%);
}
.bob::after { /* weight */
  content: ""; position: absolute; left: 50%; bottom: 0; width: 8px; height: 11px;
  background: var(--brass); transform: translateX(-50%);
  border-radius: 50% 50% 50% 50% / 38% 38% 62% 62%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: .02em; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--euca); color: var(--white); box-shadow: 0 6px 18px -8px rgba(60, 76, 65, .7); }
.btn-primary:hover { background: var(--euca-deep); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #8F8371; }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper); color: var(--ink); transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: .88rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 250, 246, .94);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(252, 250, 246, .84); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(38, 36, 32, .35); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--serif); font-size: 1.32rem; font-variation-settings: "opsz" 30; font-weight: 500; letter-spacing: -0.01em; }
.brand-sub { margin-top: 3px; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 6px; list-style: none; }
.primary-nav ul a {
  position: relative; display: block; padding: 10px 14px;
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500;
}
.primary-nav ul a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.primary-nav ul a:hover::after, .primary-nav ul a.is-active::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.header-phone:hover { color: var(--euca-deep); }

.nav-toggle {
  display: none; position: relative; z-index: 120;
  width: 46px; height: 46px; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--paper); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle-bar { display: block; width: 20px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 1140px) {
  .header-phone { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  /* backdrop-filter would become the containing block of the fixed drawer */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(252, 250, 246, .98); }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .header-actions { margin-left: auto; }
  .primary-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 110;
    margin: 0; padding: 28px var(--gutter) 40px;
    background: var(--paper); border-top: 1px solid var(--line);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { padding: 16px 2px; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; border-bottom: 1px solid var(--line); }
  .primary-nav ul a::after { display: none; }
  .nav-mobile-extra { display: grid; gap: 12px; margin-top: 28px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 400px) {
  .brand-name { font-size: 1.12rem; }
  .brand-sub { font-size: .6rem; letter-spacing: .16em; }
  .brand-mark { width: 38px; height: 38px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; margin-bottom: 88px; }
.hero-media { position: relative; height: clamp(560px, 86vh, 900px); overflow: hidden; background: var(--oat); }
.hero-media picture, .hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 18% 50%; }
.hero-media::after { /* soft floor shading so the panel edge reads */
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(to top, rgba(38, 36, 32, .22), rgba(38, 36, 32, 0));
  pointer-events: none;
}
.hero-content { position: absolute; left: 0; right: 0; bottom: -88px; display: flex; justify-content: flex-end; }
.hero-panel {
  position: relative;
  max-width: 590px;
  padding: clamp(30px, 3.4vw, 48px) clamp(28px, 3.6vw, 52px) clamp(30px, 3vw, 44px);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.hero-panel::before { /* plumb string hanging from the top edge of the photo */
  content: ""; position: absolute; left: clamp(28px, 4vw, 56px); top: -72px; width: 1px; height: 72px;
  background: rgba(252, 250, 246, .9);
}
.hero-panel .eyebrow { margin-bottom: 20px; }
.hero-panel h1 { margin-bottom: 20px; font-size: clamp(2.5rem, 1.5rem + 3.2vw, 3.9rem); }
.hero-lead { max-width: 52ch; font-size: 1.08rem; color: var(--stone); margin-bottom: 28px; }

/* Wallpaper "drops" — the cover photo is revealed strip by strip, like paper being hung */
.hero-drops { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-drops {
    position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr);
    pointer-events: none; z-index: 1;
  }
  .js .hero-drops span {
    display: block; background: var(--oat);
    border-right: 1px solid rgba(201, 189, 169, .6);
    transform-origin: 50% 100%;
    animation: hangDrop 1s var(--ease) forwards;
  }
  .js .hero-drops span:nth-child(1) { animation-delay: .05s; }
  .js .hero-drops span:nth-child(2) { animation-delay: .17s; }
  .js .hero-drops span:nth-child(3) { animation-delay: .29s; }
  .js .hero-drops span:nth-child(4) { animation-delay: .41s; }
  .js .hero-drops span:nth-child(5) { animation-delay: .53s; }
  .js .hero-panel { animation: panelIn .9s var(--ease) .45s both; }
}
@keyframes hangDrop { from { transform: scaleY(1); } to { transform: scaleY(0); visibility: hidden; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  .hero { margin-bottom: 0; }
  .hero-media { height: clamp(380px, 62vh, 560px); }
  .hero-media img { object-position: 40% 50%; }
  .hero-content { position: relative; bottom: auto; margin-top: -72px; display: block; }
  .hero-panel { padding: 30px 22px 28px; }
  .hero-panel::before { top: -40px; height: 40px; left: 22px; }
  .hero-lead { font-size: 1.02rem; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Value strip ---------- */
.value-strip { padding: 32px 0 0; }
.value-list {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.value-item {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 20px; font-weight: 600; font-size: .98rem; line-height: 1.3;
}
.value-item + .value-item { border-left: 1px solid var(--line); }
.value-icon { width: 36px; height: 36px; flex: none; color: var(--euca); }
@media (min-width: 768px) {
  .value-strip { padding-top: 40px; }
  .value-list { margin-left: auto; }
}
@media (max-width: 960px) {
  .value-list { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(3) { border-left: 0; }
  .value-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 767px) {
  .value-strip { padding-top: 40px; }
}
@media (max-width: 480px) {
  .value-item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 14px; font-size: .92rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin-bottom: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; }
.section-head--split h2 { margin-bottom: 0; }
.section-head--split .section-intro { margin-bottom: 4px; }
.section-intro { color: var(--stone); font-size: 1.08rem; max-width: 62ch; }
@media (max-width: 860px) {
  .section-head--split { grid-template-columns: 1fr; }
}

/* ---------- Services: sample-book swatches ---------- */
.services { background: var(--linen); }
.swatch-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.swatch {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.swatch:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.swatch-chip {
  position: relative; height: 150px; border-bottom: 1px solid var(--line);
  background-color: var(--oat);
}
.swatch-chip::after { /* folded sample corner */
  content: ""; position: absolute; right: 0; bottom: 0; width: 26px; height: 26px;
  background: linear-gradient(135deg, rgba(38, 36, 32, .10) 0 50%, var(--paper) 50% 100%);
}
.chip-label {
  position: absolute; left: 16px; top: 14px;
  padding: 4px 9px; border-radius: 2px;
  background: var(--paper); color: var(--ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.swatch-body { padding: 26px 26px 30px; }
.swatch-body h3 { margin-bottom: 10px; }
.swatch-body p { margin: 0; color: var(--stone); font-size: 1rem; }

.chip-stripe {
  background-color: #EEE8DD;
  background-image: repeating-linear-gradient(90deg, rgba(79, 99, 85, .55) 0 2px, transparent 2px 22px, rgba(176, 141, 87, .45) 22px 23px, transparent 23px 34px);
}
.chip-lattice {
  background-color: #E8ECE4;
  background-image:
    linear-gradient(45deg, transparent 47%, rgba(79, 99, 85, .45) 47% 53%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(79, 99, 85, .45) 47% 53%, transparent 53%);
  background-size: 34px 34px;
}
.chip-floret {
  background-color: #F1EADF;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(176, 141, 87, .75) 0 2.5px, transparent 3px),
    radial-gradient(circle at 50% 50%, rgba(79, 99, 85, .35) 0 7px, transparent 7.5px);
  background-size: 30px 30px, 30px 30px;
  background-position: 0 0, 15px 15px;
}
.chip-chevron {
  background-color: #EAE3D6;
  background-image:
    linear-gradient(135deg, rgba(79, 99, 85, .35) 25%, transparent 25%),
    linear-gradient(225deg, rgba(79, 99, 85, .35) 25%, transparent 25%);
  background-size: 28px 28px;
  background-position: 0 0, 0 0;
}
.chip-scallop {
  background-color: #E5E9E1;
  background-image: radial-gradient(circle at 50% 0, transparent 0 11px, rgba(176, 141, 87, .55) 11px 12.5px, transparent 13px);
  background-size: 26px 14px;
}
.chip-grasscloth {
  background-color: #E9E1D2;
  background-image:
    repeating-linear-gradient(0deg, rgba(94, 87, 77, .14) 0 1px, transparent 1px 3px, rgba(94, 87, 77, .08) 3px 4px, transparent 4px 7px),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(94, 87, 77, .18) 58px 59px);
}

.services-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  margin-top: clamp(40px, 5vw, 56px); padding: 28px 32px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--oat);
}
.services-cta p { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); font-variation-settings: "opsz" 36; }
@media (max-width: 1020px) { .swatch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .swatch-grid { grid-template-columns: 1fr; }
  .swatch-chip { height: 110px; }
  .services-cta { padding: 24px 20px; }
  .services-cta .btn { width: 100%; }
}

/* ---------- Why ---------- */
.why { background: var(--paper); border-block: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why-figure { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; }
.why-figure picture { border-radius: var(--radius-lg); overflow: hidden; }
.why-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.why-figure figcaption {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
  font-size: .9rem; color: var(--stone);
}
.why-figure figcaption .bob { color: var(--brass-text); }
.why-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 36px; }
.why-list li { padding: 22px 0 22px 22px; border-top: 1px solid var(--line); position: relative; }
.why-list li::before {
  content: ""; position: absolute; left: 2px; top: 31px; width: 7px; height: 9px; background: var(--brass);
  border-radius: 50% 50% 50% 50% / 38% 38% 62% 62%;
}
.why-list h3 { font-size: 1.2rem; margin-bottom: 6px; }
.why-list p { margin: 0; color: var(--stone); font-size: .98rem; }
@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-figure { position: static; max-width: 640px; }
  .why-figure img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) { .why-list { grid-template-columns: 1fr; } }

/* ---------- Gallery: justified rows ---------- */
.gallery { background: var(--linen); }
.justified { --row-h: 280px; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.tile { flex: calc(var(--ar) * 100) 1 calc(var(--ar) * var(--row-h)); min-width: 0; }
.tile-link {
  position: relative; display: block; height: 100%;
  border-radius: var(--radius); overflow: hidden; background: var(--oat);
}
.tile-link picture { width: 100%; height: 100%; }
.tile-link img {
  width: 100%; height: 100%; aspect-ratio: var(--ar); object-fit: cover;
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.tile-link:hover img, .tile-link:focus-visible img { transform: scale(1.04); }
.tile-caption {
  position: absolute; left: 12px; bottom: 12px;
  padding: 6px 10px; border-radius: 2px;
  background: rgba(252, 250, 246, .94); color: var(--ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.tile-link:hover .tile-caption, .tile-link:focus-visible .tile-caption { opacity: 1; transform: none; }
.tile-link:focus-visible { outline-offset: 2px; }
@media (hover: none) { .tile-caption { opacity: 1; transform: none; } }
@media (max-width: 1024px) { .justified { --row-h: 220px; } }
@media (max-width: 767px) { .justified { --row-h: 170px; gap: 8px; } }
@media (max-width: 480px) { .justified { --row-h: 140px; } .tile-caption { font-size: .64rem; left: 8px; bottom: 8px; padding: 4px 7px; } }

/* ---------- Process ---------- */
.process { background: var(--sage-tint); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: none; }
.step { position: relative; padding: 46px 28px 8px 0; }
.step::before { /* the horizontal line the drops hang from */
  content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 1px; background: var(--line-strong);
}
.step::after { /* bob */
  content: ""; position: absolute; left: 0; top: 3px; width: 11px; height: 15px; background: var(--euca);
  border-radius: 50% 50% 50% 50% / 38% 38% 62% 62%;
}
.step-num {
  display: block; margin-bottom: 14px;
  font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; font-weight: 300;
  font-variation-settings: "opsz" 60; color: var(--brass-text);
}
.step h3 { margin-bottom: 10px; }
.step p { margin: 0; color: var(--stone); font-size: 1rem; }
.process-cta { margin-top: clamp(40px, 5vw, 56px); text-align: center; }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { padding: 0 0 32px 40px; }
  .step::before { left: 5px; right: auto; top: 18px; bottom: 0; width: 1px; height: auto; }
  .step::after { top: 2px; }
  .step:last-child::before { display: none; }
  .process-cta .btn { width: 100%; }
}

/* ---------- About ---------- */
.about { background: var(--linen); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-copy h2 { margin-bottom: 22px; }
.about-lead { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); line-height: 1.45; font-variation-settings: "opsz" 30; color: var(--ink); }
.about-copy > p:not(.eyebrow):not(.about-lead) { color: var(--stone); }
.about-sign { display: flex; flex-direction: column; gap: 2px; margin: 30px 0 32px; padding-left: 18px; border-left: 2px solid var(--brass); }
.about-sign-name { font-family: var(--serif); font-style: italic; font-size: 1.5rem; font-variation-settings: "opsz" 36; }
.about-sign-role { font-size: .85rem; color: var(--stone); letter-spacing: .02em; }
.about-figure { position: relative; margin: 0; }
.about-figure::before { /* offset frame */
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
}
.about-figure picture { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { max-width: 560px; margin-right: 22px; }
}
@media (max-width: 480px) { .about-copy .btn { width: 100%; } }

/* ---------- Contact ---------- */
.contact { background: var(--oat); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-intro h2 { margin-bottom: 18px; }
.contact-card {
  margin-top: 36px; padding: 28px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.contact-card-title { margin: 0 0 18px; font-family: var(--serif); font-size: 1.35rem; font-variation-settings: "opsz" 30; }
.contact-list { margin: 0 0 22px; }
.contact-list div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-list dt { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); padding-top: 4px; }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.contact-list a { color: var(--ink); text-decoration-color: var(--line-strong); }
.contact-list a:hover { color: var(--euca-deep); }

.form-card {
  padding: clamp(28px, 4vw, 48px); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.form-title { margin: 0 0 4px; font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); font-variation-settings: "opsz" 40; line-height: 1.15; }
.form-note { margin: 0 0 26px; font-size: .9rem; color: var(--stone); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 18px; min-width: 0; }
.field label { display: block; margin-bottom: 7px; font-size: .9rem; font-weight: 600; }
.req { color: var(--brass-text); }
.field input, .field textarea {
  display: block; width: 100%;
  padding: 13px 14px; min-height: 50px;
  background: var(--white); color: var(--ink);
  border: 1px solid #8F8371; border-radius: var(--radius);
  font-family: var(--sans); font-size: 1rem; line-height: 1.4;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #766D60; opacity: 1; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--euca); box-shadow: 0 0 0 3px rgba(79, 99, 85, .2); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.error-message { margin-top: 6px; font-size: .86rem; font-weight: 600; color: var(--error); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-2px); } to { opacity: 1; transform: none; } }
.error-message { animation: fadeIn .25s ease; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status {
  margin: 4px 0 18px; padding: 12px 14px; border-radius: var(--radius);
  background: #F6E7E2; border: 1px solid #E2BDB3; color: #7C2C20; font-size: .94rem; font-weight: 500;
}
.btn-submit { min-height: 56px; font-size: 1rem; }
.btn-submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-fine { margin: 16px 0 0; font-size: .88rem; color: var(--stone); text-align: center; overflow-wrap: anywhere; }
.quote-form { position: relative; }

.form-success { text-align: center; padding: 28px 8px; color: var(--ink); }
.form-success svg { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--euca); }
.form-success-title { font-family: var(--serif); font-size: 1.7rem; font-variation-settings: "opsz" 36; line-height: 1.2; margin-bottom: 10px; }
.form-success p:last-child { color: var(--stone); margin: 0; }

@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 18px; }
  .contact-card { padding: 22px 18px; }
  .contact-list div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Map ---------- */
.map-section { background: var(--linen); }
.map-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(16px, 2.4vw, 28px); align-items: stretch; }
.map-frame {
  position: relative; min-height: 420px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--oat);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-card {
  display: flex; flex-direction: column; padding: 30px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.map-card-label { margin: 0 0 10px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-text); }
.map-card-address { font-family: var(--serif); font-size: 1.55rem; line-height: 1.3; font-variation-settings: "opsz" 36; margin-bottom: 20px; }
.map-card-links { list-style: none; margin: 0 0 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.map-card-links li { padding: 4px 0; overflow-wrap: anywhere; }
.map-card-links a { color: var(--ink); }
.map-card .btn { margin-top: auto; }
@media (max-width: 860px) {
  .map-grid { grid-template-columns: 1fr; }
  .map-frame { min-height: 0; aspect-ratio: 4 / 3; }
  @supports not (aspect-ratio: 1) { .map-frame { height: 340px; } }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--oat); border-top: 1px solid var(--line); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.3fr auto; gap: 32px 48px; align-items: start; padding-bottom: 40px; }
.footer-brand .brand-name { font-size: 1.2rem; }
.footer-contact p { margin: 0 0 4px; color: var(--stone); overflow-wrap: anywhere; }
.footer-contact a { color: var(--ink); }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.footer-nav a:hover { text-decoration: underline; }
.footer-base { padding-block: 22px; border-top: 1px solid var(--line-strong); }
.footer-base p { margin: 0; font-size: .88rem; color: var(--stone); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-nav { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile quick-contact bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(252, 250, 246, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -16px rgba(38, 36, 32, .35);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
    border-radius: var(--radius); font-weight: 600; text-decoration: none;
  }
  .mobile-bar .icon { width: 18px; height: 18px; }
  .mobile-bar-call { background: var(--euca); color: var(--white); }
  .mobile-bar-call:hover { color: var(--white); background: var(--euca-deep); }
  .mobile-bar-quote { border: 1px solid var(--line-strong); color: var(--ink); background: var(--paper); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  body.nav-open .mobile-bar { display: none; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 64px 72px;
  background: rgba(30, 28, 25, .97);
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; border-radius: 2px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.lb-figure figcaption { margin-top: 14px; color: #EDE7DD; font-size: .95rem; text-align: center; }
.lb-btn {
  position: absolute; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(237, 231, 221, .35); background: rgba(30, 28, 25, .5); color: #F5F1EA; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.lb-btn:hover { background: rgba(245, 241, 234, .14); border-color: #F5F1EA; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; left: 0; right: 0; top: 24px; margin: 0; text-align: center; color: #CFC6B8; font-size: .85rem; letter-spacing: .12em; }
.lightbox :focus-visible { outline-color: #F5F1EA; }
@media (max-width: 767px) {
  .lightbox { padding: 64px 12px 88px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lb-figure img { max-height: calc(100vh - 200px); }
}
body.lb-open { overflow: hidden; }

/* ---------- Reveal (progressive enhancement) ---------- */
[data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .enhance [data-reveal] {
    opacity: 0; transform: translateY(22px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
  }
  .enhance [data-reveal].is-visible { opacity: 1; transform: none; }
  .enhance .swatch-grid [data-reveal]:nth-child(3n+2), .enhance .steps [data-reveal]:nth-child(2) { transition-delay: .08s; }
  .enhance .swatch-grid [data-reveal]:nth-child(3n), .enhance .steps [data-reveal]:nth-child(3) { transition-delay: .16s; }
  .enhance .steps [data-reveal]:nth-child(4) { transition-delay: .24s; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-bar, .lightbox, .nav-toggle, .hero-drops, .map-frame { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  body { background: #fff; padding: 0; }
  .hero-content { position: static; }
}
