/* ==========================================================================
   Hutto Wallpaper Hanger — Earthy Modern
   Type: Cormorant Garamond (display) + Manrope (text/UI), self-hosted.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-var-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Brief palette */
  --ivory: #F5F1E8;
  --sand: #E6DCCB;
  --beige: #D2C1A8;
  --taupe: #A8957D;
  --olive: #777B60;
  --forest: #343E35;
  --charcoal: #292B27;

  /* Derived (AA-checked) */
  --paper: #FBF9F4;          /* form card / raised surfaces */
  --ink: #292B27;            /* body text on light */
  --ink-2: #4F4D45;          /* secondary text on light (7.5:1 on ivory) */
  --muted: #5A574D;          /* captions, notes (6.4:1 ivory, 5.3:1 sand) */
  --label: #665E52;          /* eyebrows on light (5.7:1 ivory, 4.7:1 sand) */
  --olive-ink: #5B5F46;      /* olive used for text/links/hover (5.9:1 ivory) */
  --line: #D9CDB9;           /* hairlines on light */
  --field: #857A68;          /* form control borders (≥3:1 on paper) */
  --error: #A3271F;
  --on-dark: #F5F1E8;
  --on-dark-2: #D2C1A8;      /* 6.3:1 on forest */

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-text: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 10vw, 136px);
  --header-h: 84px;
  --radius: 22px;
  --radius-lg: 28px;
  --shadow-soft: 0 24px 60px -32px rgba(41, 43, 39, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg, picture, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
:where(ul, ol)[role="list"] { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--olive-ink); outline-offset: 3px; border-radius: 4px; }
.why :focus-visible, .cta :focus-visible, .hero :focus-visible, .site-footer :focus-visible,
.mobile-menu :focus-visible, .lightbox :focus-visible, .address-card :focus-visible,
.site-header:not(.is-solid) :focus-visible { outline-color: var(--ivory); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { 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: 16px; top: -60px; z-index: 100; background: var(--forest); color: var(--ivory); padding: 10px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.35rem, 1.6rem + 3vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--charcoal);
  text-wrap: balance;
}
.h2 em, .hero__title em { font-style: italic; font-weight: 400; }
.h2 em { color: var(--olive-ink); }
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 1.25rem + .6vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -.005em;
  color: var(--charcoal);
}
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.22rem); line-height: 1.65; color: var(--ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  margin: 0 0 1.1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--label);
}
.eyebrow--light { color: var(--on-dark-2); }
/* "drop" — a single arched wallpaper panel, the site's recurring mark */
.drop {
  display: inline-block; flex: none;
  width: 9px; height: 15px;
  border-radius: 9px 9px 1.5px 1.5px;
  background: var(--olive);
  box-shadow: 4px 2px 0 -1px var(--beige);
}
.eyebrow--light .drop, .hero__label .drop { background: var(--beige); box-shadow: 4px 2px 0 -1px var(--olive); }

.text-link {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  color: var(--olive-ink); text-decoration: none;
  padding-block: 6px;
  border-bottom: 1px solid currentColor;
}
.text-link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.text-link:hover { color: var(--forest); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 13px 26px;
  border: 1px solid transparent; border-radius: 10px;
  font-family: var(--font-text); font-weight: 650; font-size: .95rem; letter-spacing: .02em; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--pill { border-radius: 999px; }
.btn--lg { min-height: 54px; padding: 15px 30px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--forest); color: var(--ivory); }
.btn--primary:hover { background: var(--olive-ink); box-shadow: 0 12px 26px -14px rgba(52, 62, 53, .7); }
.btn--light { background: var(--ivory); color: var(--forest); }
.btn--light:hover { background: var(--sand); }
.btn--ghost-light { border-color: rgba(245, 241, 232, .7); color: var(--ivory); background: rgba(41, 43, 39, .12); }
.btn--ghost-light:hover { background: rgba(245, 241, 232, .14); border-color: var(--ivory); }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: var(--ivory);
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.is-solid {
  background: rgba(245, 241, 232, .97);
  color: var(--charcoal);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(41, 43, 39, .5);
}
body.menu-open .site-header { background: var(--forest); color: var(--ivory); box-shadow: none; }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: .01em; }
.brand__sub { margin-top: 4px; font-size: .62rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; opacity: .9; }

.nav { margin-left: auto; display: none; }
.nav__list { display: flex; gap: clamp(18px, 2.2vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: inline-block; padding: 8px 0;
  font-size: .9rem; font-weight: 600; letter-spacing: .03em; text-decoration: none;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: inherit; }
.site-header.is-solid .nav__link.is-active { color: var(--olive-ink); }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header__phone { display: none; font-weight: 700; font-size: .9rem; text-decoration: none; letter-spacing: .02em; white-space: nowrap; }
.header__phone:hover { text-decoration: underline; }
.btn--header { display: none; min-height: 44px; padding: 10px 20px; font-size: .88rem; background: var(--ivory); color: var(--forest); white-space: nowrap; }
.btn--header:hover { background: var(--sand); }
.site-header.is-solid .btn--header { background: var(--forest); color: var(--ivory); }
.site-header.is-solid .btn--header:hover { background: var(--olive-ink); }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 6px 8px 14px;
  background: none; border: 1px solid currentColor; border-radius: 999px; cursor: pointer;
  font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.menu-toggle__bars { position: relative; width: 28px; height: 28px; border-radius: 50%; }
.menu-toggle__bars span { position: absolute; left: 7px; right: 7px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle__bars span:first-child { top: 11px; }
.menu-toggle__bars span:last-child { top: 16px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 13.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 13.5px; transform: rotate(-45deg); }

@media (min-width: 640px) { .btn--header { display: inline-flex; } }
@media (min-width: 1100px) {
  .nav { display: block; }
  .header__actions { margin-left: 28px; }
  .menu-toggle { display: none; }
}
@media (min-width: 1320px) { .header__phone { display: inline; } }
@media (max-width: 419px) {
  .menu-toggle__label { display: none; }
  .menu-toggle { padding: 8px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.45rem; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--forest); color: var(--ivory);
  overflow-y: auto;
}
.mobile-menu__nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu__nav li + li { border-top: 1px solid rgba(245, 241, 232, .14); }
.mobile-menu__nav a {
  display: block; padding: 14px 0;
  font-family: var(--font-display); font-size: clamp(2rem, 8vw, 2.6rem); font-weight: 500; line-height: 1.1;
  text-decoration: none;
}
.mobile-menu__foot { display: grid; gap: 14px; padding-top: 28px; }
.mobile-menu__phone { font-weight: 700; text-align: center; padding: 8px; }
.mobile-menu__addr { margin: 0; text-align: center; color: var(--on-dark-2); font-size: .9rem; }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) { animation: menuIn .35s var(--ease); }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}
@media (min-width: 1100px) { .mobile-menu { display: none !important; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--ivory);
  background: #3b3128;
}
.hero__media, .hero__shade { position: absolute; inset: 0; z-index: -1; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 60% 50%; }
.hero__shade {
  background:
    linear-gradient(90deg, rgba(33, 32, 28, .86) 0%, rgba(33, 32, 28, .74) 30%, rgba(33, 32, 28, .38) 58%, rgba(33, 32, 28, .08) 82%),
    linear-gradient(0deg, rgba(33, 32, 28, .55) 0%, rgba(33, 32, 28, 0) 38%),
    linear-gradient(180deg, rgba(33, 32, 28, .45) 0%, rgba(33, 32, 28, 0) 22%);
}
.hero__inner { padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(96px, 12vh, 140px); }
.hero__content { max-width: 690px; }
.hero__label {
  display: inline-flex; align-items: center; gap: .75em;
  margin-bottom: 1.4rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--on-dark-2);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.1rem, 1.6rem + 6.2vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.02em;
  margin-bottom: 1.6rem;
}
.hero__title em { color: var(--sand); }
.hero__lede { max-width: 560px; font-size: clamp(1.04rem, .98rem + .3vw, 1.18rem); line-height: 1.7; color: #EFE9DD; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 1.8rem; }
.hero__trust {
  margin: 0; padding-top: 1.2rem; max-width: 560px;
  border-top: 1px solid rgba(245, 241, 232, .28);
  font-size: .86rem; font-weight: 600; letter-spacing: .04em; color: var(--sand);
}
.hero__trust span { margin-inline: .45em; color: var(--beige); }
.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 28px;
  display: none; justify-content: space-between; align-items: center;
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sand);
}
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll-line { position: relative; width: 56px; height: 1px; background: rgba(245, 241, 232, .4); overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--ivory); transform: translateX(-100%); }
@media (prefers-reduced-motion: no-preference) {
  .hero__scroll-line::after { animation: scrollCue 2.4s var(--ease) infinite; }
  @keyframes scrollCue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
}
@media (min-width: 900px) and (min-height: 700px) {
  .hero__foot { display: flex; }
}
@media (max-width: 899px) {
  .hero__shade {
    background:
      linear-gradient(0deg, rgba(33, 32, 28, .9) 0%, rgba(33, 32, 28, .8) 42%, rgba(33, 32, 28, .52) 70%, rgba(33, 32, 28, .5) 100%);
  }
}
@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--split { display: grid; gap: 18px 48px; align-items: end; }
.section-head__intro { margin: 0; max-width: 440px; color: var(--ink-2); font-size: 1.06rem; }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.4fr 1fr; }
  .section-head--split .section-head__intro { justify-self: end; padding-bottom: .5rem; }
}

/* Intro */
.intro { background: var(--ivory); }
.intro__grid { display: grid; gap: 56px; align-items: center; }
.intro__copy p:not(.eyebrow):not(.lead) { color: var(--ink-2); }
.intro__copy .h2 { margin-bottom: 1.6rem; max-width: 19ch; }
.intro__points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 2rem 0 0; padding: 1.4rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.intro__points li { display: flex; align-items: baseline; gap: 10px; font-weight: 650; font-size: .95rem; }
.intro__points span { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--olive-ink); }
.intro__figure { position: relative; margin: 0; justify-self: center; width: min(100%, 440px); }
.intro__figure::before {
  content: ""; position: absolute; z-index: 0;
  inset: 12% -12px -12px 14%;
  background: var(--sand); border-radius: 999px 999px 24px 24px;
}
.arch-frame { position: relative; z-index: 1; overflow: hidden; border-radius: 999px 999px 22px 22px; aspect-ratio: 4 / 5; background: var(--sand); }
.arch-frame picture, .arch-frame img { width: 100%; height: 100%; }
.arch-frame img { object-fit: cover; }
.intro__caption { position: relative; z-index: 1; margin-top: 16px; font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: var(--muted); }
@media (min-width: 1000px) {
  .intro__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; }
  .intro__figure { justify-self: end; margin-top: 40px; }
}

/* Services */
.services { background: var(--sand); }
.services__grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.service-card {
  display: flex; flex-direction: column;
  background: var(--ivory); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 rgba(41, 43, 39, .05);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.service-card__media { position: relative; aspect-ratio: 7 / 8; overflow: hidden; background: var(--beige); }
.service-card__media picture, .service-card__media img { width: 100%; height: 100%; }
.service-card__media img { object-fit: cover; transition: transform 1s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__no {
  position: absolute; top: 16px; left: 16px;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(245, 241, 232, .94); color: var(--forest);
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.2rem;
}
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.service-card__body .h3 { margin-bottom: .65rem; }
.service-card__body p { color: var(--ink-2); font-size: .98rem; }
.service-card__body .text-link { margin-top: auto; align-self: flex-start; }
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-card:nth-child(3n + 2) { transform: translateY(40px); }
  .service-card:nth-child(3n + 2):hover { transform: translateY(35px); }
  .services__grid { padding-bottom: 40px; }
}

/* Why */
.why {
  position: relative; overflow: hidden;
  background-color: var(--forest);
  color: var(--on-dark);
}
.why::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='180' viewBox='0 0 120 180'%3E%3Cg fill='none' stroke='%23F5F1E8' stroke-width='1.2'%3E%3Cpath d='M60 10v160'/%3E%3Cpath d='M60 60c-18-4-28-18-27-36 16 4 26 17 27 36zm0 0c18-4 28-18 27-36-16 4-26 17-27 36z'/%3E%3Cpath d='M60 140c-18-4-28-18-27-36 16 4 26 17 27 36zm0 0c18-4 28-18 27-36-16 4-26 17-27 36z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 180px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.why__grid { position: relative; display: grid; gap: 56px; }
.why .h2 { color: var(--ivory); margin-bottom: 1.4rem; }
.why .h2 em { color: var(--beige); }
.why__intro { color: var(--on-dark-2); max-width: 440px; margin-bottom: 2rem; }
.benefits { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.benefit { padding: 30px 0; border-top: 1px solid rgba(245, 241, 232, .18); }
.benefit__icon { width: 44px; height: 44px; color: var(--beige); margin-bottom: 18px; }
.benefit .h3 { color: var(--ivory); margin-bottom: .55rem; }
.benefit p { margin: 0; color: var(--on-dark-2); }
@media (min-width: 700px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
}
@media (min-width: 1000px) {
  .why__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
  .why__head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* Gallery */
.work { background: var(--ivory); }
.gallery { columns: 1; column-gap: clamp(18px, 2vw, 28px); }
.gallery__item { break-inside: avoid; margin: 0 0 clamp(18px, 2vw, 28px); }
.gallery__link { display: block; position: relative; overflow: hidden; border-radius: 18px; background: var(--sand); cursor: zoom-in; }
.gallery__link img { width: 100%; transition: transform 1s var(--ease), filter .6s var(--ease); }
.gallery__link:hover img { transform: scale(1.045); }
.gallery__link::after {
  content: ""; position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(245, 241, 232, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 4H4v6M14 20h6v-6M4 4l6 6M20 20l-6-6' fill='none' stroke='%23343E35' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gallery__link:hover::after, .gallery__link:focus-visible::after { opacity: 1; transform: none; }
.gallery__item figcaption { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.gallery__item figcaption::before { content: ""; width: 18px; height: 1px; background: var(--taupe); }
@media (min-width: 600px) { .gallery { columns: 2; } }
@media (min-width: 1000px) { .gallery { columns: 3; } }

/* Process */
.process { background: var(--sand); }
.timeline { position: relative; display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 0 0 40px 52px; }
.step::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: -12px; width: 1px; background: var(--taupe); }
.step:last-child::before { display: none; }
.step__dot { position: absolute; left: 4px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 5px var(--sand), 0 0 0 6px var(--taupe); }
.step__no { display: block; margin-bottom: .2rem; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 3rem; line-height: 1; color: var(--olive-ink); }
.step .h3 { margin-bottom: .5rem; }
.step p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
  .timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 94px; height: 1px; background: var(--taupe); }
  .step { padding: 0; }
  .step::before { display: none; }
  .step__no { font-size: clamp(3.4rem, 2rem + 2.4vw, 4.6rem); margin-bottom: 18px; }
  .step__dot { position: relative; left: 0; top: 0; display: block; margin-bottom: 28px; }
}
@media (min-width: 900px) and (max-width: 1199px) { .timeline::before { top: 82px; } }

/* About */
.about { background: var(--ivory); }
.about__grid { display: grid; gap: 56px; align-items: center; }
.about__figure { margin: 0; justify-self: center; width: min(100%, 460px); }
.arch-frame--tall { aspect-ratio: 4 / 5; }
.about__swatches { display: flex; margin-top: 22px; padding-left: 8px; }
.about__swatches span {
  width: 52px; height: 74px; margin-left: -8px;
  border-radius: 26px 26px 6px 6px;
  background: var(--c); border: 3px solid var(--ivory);
  box-shadow: inset 0 0 0 1px rgba(41, 43, 39, .14), 0 8px 18px -12px rgba(41, 43, 39, .5);
}
.about__copy .h2 { margin-bottom: 1.6rem; max-width: 17ch; }
.about__copy p:not(.eyebrow):not(.lead) { color: var(--ink-2); }
.about__facts { display: grid; gap: 0; margin: 2.2rem 0 0; }
.about__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.about__facts div:last-child { border-bottom: 1px solid var(--line); }
.about__facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.about__facts dd { margin: 0; font-weight: 600; text-align: right; }
.about__facts a { text-decoration: none; color: var(--olive-ink); }
.about__facts a:hover { text-decoration: underline; }
@media (min-width: 1000px) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; }
  .about__figure { justify-self: start; }
}

/* CTA */
.cta { position: relative; isolation: isolate; overflow: hidden; color: var(--ivory); background: var(--forest); text-align: center; }
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media picture, .cta__media img { width: 100%; height: 100%; }
.cta__media img { object-fit: cover; object-position: 50% 60%; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(41, 43, 39, .78), rgba(52, 62, 53, .84)); }
.cta__inner { padding-block: clamp(96px, 13vw, 168px); max-width: 860px; }
.cta__title { color: var(--ivory); margin-bottom: 1.2rem; }
.cta__title em { color: var(--beige); }
.cta__text { max-width: 560px; margin: 0 auto 2.2rem; color: #EDE6D9; font-size: 1.12rem; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
@media (max-width: 480px) { .cta__actions .btn { width: 100%; } }

/* Contact */
.contact { background: var(--ivory); }
.contact__grid { display: grid; gap: 56px; align-items: start; }
.contact__info .h2 { margin-bottom: 1.4rem; max-width: 16ch; }
.contact__subhead { margin: 2.4rem 0 1rem; font-family: var(--font-text); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
.contact-list { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 15px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--olive-ink); }
.contact-list div { display: flex; flex-direction: column; min-width: 0; }
.contact-list__label { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.contact-list a, .contact-list span:not(.contact-list__label) { font-weight: 600; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--olive-ink); text-decoration: underline; }

.form-card {
  position: relative;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-soft);
}
.form-card::before {
  content: ""; position: absolute; top: -1px; left: clamp(24px, 4vw, 48px); width: 64px; height: 4px;
  border-radius: 0 0 4px 4px; background: var(--olive);
}
.form { display: block; }
.form__head { margin-bottom: 26px; }
.form__title { font-family: var(--font-display); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.1rem); font-weight: 600; line-height: 1.1; margin-bottom: .4rem; }
.form__note { margin: 0; font-size: .88rem; color: var(--muted); }
.req { color: var(--error); font-weight: 700; }
.opt { font-weight: 500; color: var(--muted); font-size: .85em; }
.form__grid { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: .9rem; font-weight: 650; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  background: #fff; border: 1px solid var(--field); border-radius: 12px;
  font-size: 1rem; line-height: 1.4; color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6E6A60; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--olive-ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(119, 123, 96, .38); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--forest); outline-offset: 1px; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 1.6px solid var(--ink-2); border-bottom: 1.6px solid var(--ink-2); transform: rotate(45deg); pointer-events: none;
}
.select-wrap select { padding-right: 44px; cursor: pointer; }
.field__hint { font-size: .8rem; color: var(--muted); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.form__privacy { margin: 0; flex: 1 1 220px; font-size: .82rem; color: var(--muted); }
.form__status { margin: 16px 0 0; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--error); }
@media (max-width: 480px) { .form__foot .btn { width: 100%; } }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Supplied validation script: lift its inline #ff6b6b to an AA-compliant red */
.error-message { color: var(--error) !important; font-weight: 600; font-size: .86rem !important; margin-top: 2px !important; }
.field input[style*="255, 107, 107"], .field textarea[style*="255, 107, 107"],
.field input[style*="ff6b6b"], .field textarea[style*="ff6b6b"] { border-color: var(--error) !important; box-shadow: 0 0 0 1px var(--error); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }

#form-success { display: none; text-align: center; padding: clamp(28px, 5vw, 56px) 8px; }
#form-success svg { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--olive-ink); }
.form-success__title { font-family: var(--font-display); font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); font-weight: 600; line-height: 1.1; margin-bottom: .8rem; }
#form-success p { color: var(--ink-2); max-width: 420px; margin-inline: auto; }
#form-success a { color: var(--olive-ink); font-weight: 700; }
.nojs-note { display: none; margin: 18px 0 0; padding: 14px 18px; border-radius: 12px; background: #EEF0E6; color: var(--forest); font-weight: 600; }
.nojs-note--error { background: #F7E7E3; color: var(--error); }
.nojs-note:target { display: block; }

@media (min-width: 1000px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
  .contact__info { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Location */
.location { background: var(--sand); }
.location__grid { display: grid; gap: 24px; }
.map-frame {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  min-height: 340px; aspect-ratio: 16 / 10; background: var(--beige);
  box-shadow: inset 0 0 0 1px rgba(41, 43, 39, .08);
}
.map-frame__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(41, 43, 39, .07) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(41, 43, 39, .07) 39px 40px),
    var(--beige);
  color: var(--forest); font-weight: 700; letter-spacing: .04em;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) sepia(.06); }
.address-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: clamp(26px, 3vw, 40px); border-radius: var(--radius-lg);
  background: var(--forest); color: var(--ivory);
}
.address-card__label { margin: 0; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.address-card__street { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 1.4rem + .6vw, 1.95rem); line-height: 1.15; font-weight: 500; }
.address-card__list { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.address-card__list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.address-card__list a:hover { text-decoration: underline; }
.address-card .btn--primary { background: var(--ivory); color: var(--forest); }
.address-card .btn--primary:hover { background: var(--sand); }
@media (min-width: 900px) {
  .location__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .map-frame { aspect-ratio: auto; min-height: 460px; }
}
@media (max-width: 520px) { .map-frame { aspect-ratio: 4 / 5; min-height: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--ivory); padding-top: clamp(64px, 8vw, 104px); }
.footer__grid { display: grid; gap: 40px; padding-bottom: 56px; }
.brand--footer { color: var(--ivory); margin-bottom: 20px; }
.footer__desc { max-width: 380px; color: var(--on-dark-2); font-size: .95rem; }
.footer__title { margin-bottom: 18px; font-family: var(--font-text); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.footer__col ul { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.footer__col a { color: var(--on-dark-2); text-decoration: none; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--ivory); text-decoration: underline; }
.footer__contact li { color: var(--on-dark-2); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  position: relative; padding-block: 24px 32px;
  font-size: .86rem; color: var(--on-dark-2);
}
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(245, 241, 232, .14); }
.footer__bottom p { margin: 0; }
.back-top { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-2); text-decoration: none; font-weight: 600; }
.back-top svg { width: 16px; height: 16px; }
.back-top:hover { color: var(--ivory); }
@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: 48px; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 64px clamp(8px, 2vw, 28px) 24px;
  background: rgba(24, 26, 22, .95); color: var(--ivory);
}
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.lightbox__figure picture { display: block; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.lightbox__caption { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 14px; font-size: .92rem; color: var(--sand); text-align: center; }
.lightbox__count { color: var(--beige); font-variant-numeric: tabular-nums; }
.lightbox__close, .lightbox__nav {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(245, 241, 232, .1); border: 1px solid rgba(245, 241, 232, .35); color: var(--ivory); cursor: pointer;
  transition: background-color .25s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(245, 241, 232, .22); }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__close { position: absolute; top: 12px; right: 12px; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; padding-bottom: 84px; }
  .lightbox__nav { position: absolute; bottom: 20px; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
}

/* ---------- Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  html.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
  html.js-reveal .service-card.reveal.is-visible:hover { transform: translateY(-5px); }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1000px) {
  html.js-reveal .service-card.reveal:nth-child(3n + 2) { transform: translateY(66px); }
  html.js-reveal .service-card.reveal.is-visible:nth-child(3n + 2) { transform: translateY(40px); }
  html.js-reveal .service-card.reveal.is-visible:nth-child(3n + 2):hover { transform: translateY(35px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-menu, .hero__foot, .lightbox, .map-frame iframe, .menu-toggle { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero { min-height: 0; color: #000; background: none; }
  .hero__media, .hero__shade, .cta__media, .cta::after { display: none; }
  .cta, .why, .site-footer { background: none; color: #000; }
  .why .h2, .why .h3, .benefit p, .cta__title, .cta__text { color: #000; }
}
