/* ==========================================================================
   Marlborough Wallcovering — Modern Farmhouse
   Type: Besley (Clarendon-style variable serif) + Libre Franklin (variable sans)
   Motifs: sliding barn doors, X-brace "door" glyph, oak timber beams,
           arched-window photo frames, sage buffalo check (used sparingly)
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable, OFL) ---------- */
@font-face {
  font-family: "Besley";
  src: url("../fonts/besley-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Besley";
  src: url("../fonts/besley-var-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/libre-franklin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ivory: #F7F3EA;
  --cream: #FCFAF5;
  --linen: #EDE5D7;
  --taupe: #D6CABA;
  --taupe-line: #E2D8C9;
  --taupe-deep: #A39581;
  --sage: #A3B09A;
  --sage-tint: #E4E9DE;
  --sage-ink: #4F5D48;
  --sage-deep: #46533F;
  --sage-on-dark: #D7E0CE;
  --charcoal: #2A2926;
  --charcoal-deep: #262521;
  --ink: #3B3934;
  --muted: #625D54;
  --oak: #C29463;
  --oak-mid: #B88A5A;
  --oak-ink: #7A5530;
  --oak-focus: #9A6B3C;
  --walnut: #5C4330;
  --on-dark: #F2EDE3;
  --on-dark-muted: #C9C1B3;
  --oak-on-dark: #D5A877;
  --field-border: #8C8172;
  --placeholder: #6F685D;
  --error: #A3271F;

  --font-serif: "Besley", "Clarendon", "Rockwell", Georgia, "Times New Roman", serif;
  --font-sans: "Libre Franklin", "Franklin Gothic Book", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 76px;
  --radius: 6px;
  --shadow-soft: 0 1px 2px rgba(42, 41, 38, .06), 0 10px 30px -12px rgba(42, 41, 38, .18);
  --shadow-lift: 0 2px 4px rgba(42, 41, 38, .08), 0 22px 44px -18px rgba(42, 41, 38, .32);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-door: cubic-bezier(.7, 0, .2, 1);

  /* oak timber: warm wood with a soft vertical grain */
  --timber:
    repeating-linear-gradient(90deg, rgba(92, 67, 48, .0) 0 14px, rgba(92, 67, 48, .10) 14px 15px, rgba(92, 67, 48, 0) 15px 37px, rgba(255, 240, 220, .10) 37px 38px),
    linear-gradient(180deg, #CFA272 0%, #B88A5A 55%, #A47647 100%);
  /* sage buffalo check */
  --check:
    linear-gradient(90deg, rgba(70, 83, 63, .55) 50%, transparent 50%) 0 0 / 28px 28px,
    linear-gradient(0deg, rgba(70, 83, 63, .55) 50%, transparent 50%) 0 0 / 28px 28px,
    #DCE3D4;
}
@media (max-width: 1023px) {
  :root { --header-h: 66px; }
}

/* ---------- 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-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, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sage-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--charcoal); }
:focus-visible { outline: 3px solid var(--oak-focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 1.15rem + .55vw, 1.55rem); line-height: 1.22; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--sage); color: var(--charcoal); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--linen { background: var(--linen); }
.section--sage { background: var(--sage-tint); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--charcoal); color: var(--ivory); padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--ivory); }

/* X-brace door glyph — the site's signature mark, used for eyebrows & bullets */
.glyph {
  --g: 12px;
  display: inline-block; flex: none;
  width: var(--g); height: var(--g);
  border: 1.6px solid currentColor;
  background:
    linear-gradient(45deg, transparent calc(50% - .8px), currentColor calc(50% - .8px) calc(50% + .8px), transparent calc(50% + .8px)),
    linear-gradient(-45deg, transparent calc(50% - .8px), currentColor calc(50% - .8px) calc(50% + .8px), transparent calc(50% + .8px));
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-sans);
  font-size: .78rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sage-ink);
  margin: 0 0 1.1rem;
}
.lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.22rem); color: var(--muted); max-width: 40ch; }

/* Timber beam divider (with two iron bolts) */
.beam {
  position: relative; height: 12px; border-radius: 2px;
  background: var(--timber);
  box-shadow: inset 0 -2px 0 rgba(92, 67, 48, .25), 0 6px 14px -8px rgba(92, 67, 48, .55);
}
.beam::before, .beam::after {
  content: ""; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: #3A332C; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.beam::before { left: 14px; }
.beam::after { right: 14px; }
.beam--short { width: 120px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--charcoal); --btn-fg: var(--ivory); --btn-bd: var(--charcoal);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .8em 1.5em;
  border: 1.5px solid var(--btn-bd); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-sans); font-size: .98rem; font-weight: 600; letter-spacing: .01em; 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:hover { --btn-bg: var(--sage-deep); --btn-bd: var(--sage-deep); color: var(--ivory); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(0); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--charcoal); --btn-bd: var(--charcoal); }
.btn--ghost:hover { --btn-bg: var(--charcoal); --btn-fg: var(--ivory); --btn-bd: var(--charcoal); }
.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--charcoal); --btn-bd: var(--ivory); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--charcoal); --btn-bd: #fff; color: var(--charcoal); }
.btn--outline-light { --btn-bg: rgba(20, 19, 17, .18); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .85); }
.btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--charcoal); --btn-bd: #fff; color: var(--charcoal); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm { min-height: 44px; padding: .6em 1.15em; font-size: .92rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; font-size: .95rem; color: var(--sage-ink); text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--charcoal); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 250, 245, .97);
  border-bottom: 1px solid var(--taupe-line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(42, 41, 38, .35); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--charcoal); margin-right: auto; min-width: 0; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.32rem; letter-spacing: -.01em; }
.brand__sub { font-size: .64rem; font-weight: 650; letter-spacing: .3em; text-transform: uppercase; color: var(--sage-ink); margin-top: 5px; }
.nav-list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-list a {
  position: relative; display: inline-block; padding: 8px 0;
  color: var(--ink); text-decoration: none; font-size: .96rem; font-weight: 520;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--oak-mid); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--charcoal); }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.menu-toggle {
  display: none; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px; margin: 0;
  background: transparent; border: 1.5px solid var(--charcoal); border-radius: var(--radius);
  color: var(--charcoal); font: 600 .9rem/1 var(--font-sans); cursor: pointer;
}
.menu-toggle__bars { position: relative; width: 18px; height: 12px; }
.menu-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 1px;
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 5px; }
.menu-toggle__bars span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { order: 2; }
  .menu-toggle { order: 3; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--taupe);
    box-shadow: 0 24px 40px -24px rgba(42, 41, 38, .45);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 22px; }
  .nav-list li { border-bottom: 1px solid var(--taupe-line); }
  .nav-list a { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px; font-size: 1.08rem; }
  .nav-list a::after { display: none; }
  .nav-list a::before { content: ""; order: 2; width: 9px; height: 9px; border-right: 2px solid var(--oak-mid); border-top: 2px solid var(--oak-mid); transform: rotate(45deg); }
  .nav-list li.nav-cta-mobile { display: block; border-bottom: 0; padding-top: 18px; }
  .nav-list li.nav-cta-mobile a { justify-content: center; padding: .8em 1.5em; font-size: 1rem; }
  .nav-list li.nav-cta-mobile a::before { display: none; }
}
@media (max-width: 599px) {
  .header-cta { display: none; }
}
@media (max-width: 419px) {
  .header-inner { gap: 12px; }
  .brand { gap: 9px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 1.12rem; }
  .brand__sub { font-size: .56rem; letter-spacing: .24em; }
  .menu-toggle { padding: 0 11px; }
  .menu-toggle__label { display: none; }
}
@media (max-width: 349px) {
  .brand__sub { letter-spacing: .16em; }
  .brand__name { font-size: 1.04rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, calc(100svh - var(--header-h)), 900px);
  display: flex; align-items: flex-end;
  color: #fff;
  background: #3A332C;
}
.hero__media, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; object-position: 38% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(24, 22, 19, .86) 0%, rgba(24, 22, 19, .72) 36%, rgba(24, 22, 19, .3) 66%, rgba(24, 22, 19, .1) 100%),
    linear-gradient(0deg, rgba(24, 22, 19, .62) 0%, rgba(24, 22, 19, 0) 52%);
}
@media (max-width: 1023px) {
  .hero::before {
    background:
      linear-gradient(0deg, rgba(24, 22, 19, .9) 0%, rgba(24, 22, 19, .78) 45%, rgba(24, 22, 19, .62) 75%, rgba(24, 22, 19, .5) 100%);
  }
}
.hero__content { position: relative; width: 100%; padding-top: clamp(96px, 14vh, 160px); padding-bottom: clamp(132px, 15vh, 170px); }
.hero__eyebrow { color: var(--sage-on-dark); text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.55rem, 1.45rem + 4.6vw, 5.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.022em;
  max-width: 13ch;
  margin-bottom: .38em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.hero h1 em { font-style: italic; font-weight: 400; color: #F1DCC0; }
.hero__text { font-size: clamp(1.06rem, .98rem + .4vw, 1.25rem); line-height: 1.6; max-width: 34em; color: #F4EFE6; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sliding barn doors — CSS-only intro, shown only when JS is on and motion is OK */
.hero__doors { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__doors {
    display: flex; position: absolute; inset: 0; z-index: 4; pointer-events: none;
    animation: doors-done 0s linear 1.75s forwards;
  }
  .js .hero__door {
    position: relative; flex: 1 1 50%; height: 100%;
    background:
      linear-gradient(to top right, transparent calc(50% - 3px), rgba(79, 93, 72, .55) calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px)),
      linear-gradient(to bottom right, transparent calc(50% - 3px), rgba(79, 93, 72, .55) calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px)),
      repeating-linear-gradient(90deg, #EFE7DA 0 58px, #E3D9C9 58px 60px);
    border: 18px solid #E6DCCD;
    box-shadow: inset 0 0 0 2px rgba(79, 93, 72, .45);
    animation: door-left 1.15s var(--ease-door) .45s forwards;
  }
  .js .hero__door--right { animation-name: door-right; }
  .js .hero__door::before {
    content: ""; position: absolute; top: 50%; width: 10px; height: 88px; margin-top: -44px; border-radius: 5px;
    background: #2F2C27;
  }
  .js .hero__door--left::before { right: 22px; }
  .js .hero__door--right::before { left: 22px; }
  .js .hero__content > * { opacity: 0; animation: hero-in .9s var(--ease) forwards; }
  .js .hero__content > :nth-child(1) { animation-delay: 1.2s; }
  .js .hero__content > :nth-child(2) { animation-delay: 1.3s; }
  .js .hero__content > :nth-child(3) { animation-delay: 1.42s; }
  .js .hero__content > :nth-child(4) { animation-delay: 1.54s; }
  .js .hero__media img { animation: hero-zoom 2.6s var(--ease) .4s both; }
}
@keyframes door-left { to { transform: translateX(-102%); } }
@keyframes door-right { to { transform: translateX(102%); } }
@keyframes doors-done { to { visibility: hidden; } }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Info rail overlapping the hero bottom */
.hero-rail { position: relative; z-index: 5; margin-top: -84px; }
.hero-rail__card {
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.hero-rail__card .beam { border-radius: 0; height: 10px; }
.hero-rail__card .beam::before, .hero-rail__card .beam::after { width: 5px; height: 5px; margin-top: -2.5px; }
.hero-rail__grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; }
.rail-item { display: flex; gap: 16px; align-items: flex-start; padding: 24px clamp(18px, 2.4vw, 32px); }
.rail-item + .rail-item { border-left: 1px solid var(--taupe-line); }
.rail-item__icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sage-tint); color: var(--sage-ink);
}
.rail-item__icon svg { width: 22px; height: 22px; }
.rail-item__label { display: block; font-size: .74rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.rail-item__value { font-family: var(--font-serif); font-size: 1.14rem; font-weight: 500; color: var(--charcoal); line-height: 1.35; }
.rail-item__value a { color: inherit; text-decoration: none; }
.rail-item__value a:hover { color: var(--sage-ink); text-decoration: underline; }
@media (max-width: 899px) {
  .hero-rail__grid { grid-template-columns: 1fr; }
  .rail-item + .rail-item { border-left: 0; border-top: 1px solid var(--taupe-line); }
  .rail-item { padding: 18px 20px; }
}

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin: 0; max-width: 16ch; }
.location .section-head h2 { max-width: 19ch; }
.section-head .lede { margin: 0; justify-self: end; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center .lede { justify-self: center; max-width: 46ch; }
.section-head--center h2 { max-width: 20ch; }
.section-head .beam { margin-bottom: 26px; }
@media (max-width: 859px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .lede { justify-self: start; }
}

/* ---------- Services ---------- */
.services { padding-top: calc(var(--section-y) - 8px); }
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); }
/* Gable-roof photo frame: the card's photo is cut to a farmhouse roofline,
   with an oak ridge line drawn just above it */
.svc-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--taupe-line);
  border-radius: var(--radius);
  padding: 14px 14px 26px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--taupe); }
.svc-card__media {
  --pitch: 17%;
  position: relative;
  aspect-ratio: 4 / 3.7;
  filter: drop-shadow(0 -3px 0 var(--oak-mid));
}
.svc-card__media picture {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%; overflow: hidden;
  background: var(--linen);
  -webkit-clip-path: polygon(50% 0, 100% var(--pitch), 100% 100%, 0 100%, 0 var(--pitch));
  clip-path: polygon(50% 0, 100% var(--pitch), 100% 100%, 0 100%, 0 var(--pitch));
}
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.045); }
.svc-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 14px 0; }
.svc-card__tag { display: inline-flex; align-items: center; gap: .6em; font-size: .72rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--oak-ink); margin-bottom: .7rem; }
.svc-card__tag .glyph { --g: 10px; }
.svc-card h3 { margin-bottom: .55rem; }
.svc-card p { color: var(--muted); font-size: 1rem; line-height: 1.65; margin-bottom: 1.2rem; }
.svc-card .link-arrow { margin-top: auto; }
@media (max-width: 1023px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .services__grid { grid-template-columns: 1fr; }
  .svc-card__media { aspect-ratio: 4 / 3.2; --pitch: 14%; }
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__figure { position: relative; margin: 0; padding-top: 22px; }
.about__figure .beam {
  position: absolute; z-index: 2; top: 0; left: -28px; right: 28%;
  height: 22px;
}
.about__figure .beam::before { left: 22px; width: 8px; height: 8px; margin-top: -4px; }
.about__figure .beam::after { right: 22px; width: 8px; height: 8px; margin-top: -4px; }
.about__photo {
  position: relative; overflow: hidden; border-radius: 3px;
  aspect-ratio: 4 / 4.7;
  box-shadow: var(--shadow-lift);
}
.about__photo picture { position: absolute; inset: 0; display: block; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__note {
  position: absolute; z-index: 2; right: -18px; bottom: 28px;
  max-width: 250px;
  background: var(--charcoal); color: var(--on-dark);
  padding: 18px 22px; border-radius: var(--radius);
  font-family: var(--font-serif); font-style: italic; font-size: 1.08rem; line-height: 1.4;
  box-shadow: var(--shadow-lift);
}
.about__note .glyph { --g: 12px; color: var(--oak-on-dark); margin-bottom: 10px; display: block; }
.about__copy h2 { max-width: 15ch; }
.about__copy p { color: var(--ink); }
.about__points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--taupe); }
.about__points li { display: flex; gap: 12px; align-items: baseline; font-weight: 560; color: var(--charcoal); line-height: 1.45; }
.about__points .glyph { --g: 11px; color: var(--sage-ink); transform: translateY(1px); }
@media (max-width: 939px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__figure { max-width: 620px; margin-right: 18px; }
  .about__figure .beam { left: -10px; }
}
@media (max-width: 539px) {
  .about__points { grid-template-columns: 1fr; }
  .about__note { right: -12px; bottom: 16px; max-width: 210px; font-size: 1rem; padding: 14px 16px; }
  .about__photo { aspect-ratio: 4 / 4.4; }
}

/* ---------- Gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
@media (max-width: 1179px) { .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery__item { margin: 0; }
.gallery__btn {
  display: block; width: 100%; padding: 10px 10px 0; margin: 0;
  background: var(--cream); border: 1px solid var(--taupe-line); border-radius: 3px;
  box-shadow: 0 1px 2px rgba(42, 41, 38, .05);
  cursor: zoom-in; text-align: left; font: inherit; color: inherit;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.gallery__btn:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.gallery__frame { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--linen); }
.gallery__frame picture { position: absolute; inset: 0; display: block; }
.gallery__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery__btn:hover .gallery__frame img { transform: scale(1.05); }
.gallery__zoom {
  position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(252, 250, 245, .92); color: var(--charcoal);
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease);
}
.gallery__zoom svg { width: 18px; height: 18px; }
.gallery__btn:hover .gallery__zoom, .gallery__btn:focus-visible .gallery__zoom { opacity: 1; transform: none; }
.gallery__cap { display: flex; flex-direction: column; gap: 1px; padding: 11px 4px 13px; font-size: .86rem; line-height: 1.4; color: var(--muted); }
.gallery__cap strong { font-family: var(--font-serif); font-weight: 500; font-style: italic; font-size: 1.02rem; color: var(--charcoal); }
@media (max-width: 899px) {
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .gallery__item:last-child:nth-child(odd) .gallery__frame { aspect-ratio: 16 / 9; }
}
@media (max-width: 419px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item:last-child:nth-child(odd) { grid-column: auto; }
  .gallery__item:last-child:nth-child(odd) .gallery__frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 599px) {
  .gallery__btn { padding: 7px 7px 0; }
  .gallery__cap { padding: 9px 2px 11px; font-size: .82rem; }
  .gallery__cap strong { font-size: .95rem; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  padding: 64px 72px;
  background: rgba(24, 22, 19, .94);
}
.lightbox.is-open { display: flex; }
.lightbox__figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; border-radius: 2px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #2A2926; }
.lightbox__cap { color: var(--on-dark); font-size: .95rem; text-align: center; }
.lightbox__cap strong { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1.1rem; margin-right: .5em; }
.lightbox__count { color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(252, 250, 245, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .5);
  cursor: pointer; transition: background .25s, color .25s;
}
.lightbox__btn:hover { background: var(--ivory); color: var(--charcoal); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 14px; top: 50%; margin-top: -25px; }
.lightbox__next { right: 14px; top: 50%; margin-top: -25px; }
@media (max-width: 699px) {
  .lightbox { padding: 70px 12px 88px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; margin-top: 0; }
  .lightbox__prev { left: calc(50% - 62px); }
  .lightbox__next { right: calc(50% - 62px); }
  .lightbox__img { max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px); }
}
body.lightbox-open { overflow: hidden; }

/* ---------- Why choose us ---------- */
.why { padding-top: 0; }
.why__check { height: 18px; background: var(--check); margin-bottom: var(--section-y); opacity: .9; }
.why__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.why__intro h2 { max-width: 14ch; }
.why__photo { margin: 30px 0 0; position: relative; overflow: hidden; aspect-ratio: 16 / 11; border-radius: 3px; border: 10px solid var(--cream); box-shadow: var(--shadow-soft); }
.why__photo img { width: 100%; height: 100%; object-fit: cover; }
.why__list { counter-reset: why; }
.why-item { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 4px 22px; padding: 28px 0; border-top: 1px solid rgba(79, 93, 72, .28); }
.why-item:last-child { border-bottom: 1px solid rgba(79, 93, 72, .28); }
.why-item__icon {
  grid-row: span 2;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); color: var(--sage-ink);
  box-shadow: inset 0 0 0 1px rgba(79, 93, 72, .22);
}
.why-item__icon svg { width: 26px; height: 26px; }
.why-item h3 { margin: 6px 0 4px; font-size: clamp(1.22rem, 1.1rem + .45vw, 1.42rem); }
.why-item p { margin: 0; color: var(--muted); }
.cta-panel {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center;
  background: var(--charcoal); color: var(--on-dark);
  border-radius: var(--radius); padding: clamp(28px, 4vw, 46px) clamp(24px, 4vw, 52px);
  position: relative; overflow: hidden;
}
.cta-panel::after {
  content: ""; position: absolute; right: -46px; bottom: -46px; width: 150px; height: 150px;
  border: 2px solid rgba(213, 168, 119, .25);
  background:
    linear-gradient(45deg, transparent calc(50% - 1px), rgba(213, 168, 119, .25) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(-45deg, transparent calc(50% - 1px), rgba(213, 168, 119, .25) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
  pointer-events: none;
}
.why__intro .cta-panel { grid-template-columns: 1fr; margin-top: 34px; gap: 22px; }
.why__intro .cta-panel .btn { justify-self: start; }
.cta-panel h3 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-bottom: .3em; }
.cta-panel p { margin: 0; color: var(--on-dark-muted); }
.cta-panel p a { color: var(--oak-on-dark); font-weight: 600; text-decoration: none; }
.cta-panel p a:hover { color: #fff; text-decoration: underline; }
.cta-panel .btn { position: relative; z-index: 1; }
@media (max-width: 939px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__intro { position: static; }
  .why__photo { max-width: 640px; }
}
@media (max-width: 699px) {
  .cta-panel { grid-template-columns: 1fr; }
  .why-item { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; }
  .why-item__icon { width: 48px; height: 48px; }
  .why-item__icon svg { width: 22px; height: 22px; }
}

/* ---------- Location ---------- */
.location__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.map-frame {
  position: relative; padding: 10px; background: var(--cream);
  border: 1px solid var(--taupe-line); border-radius: 3px; box-shadow: var(--shadow-soft);
}
.map-frame__inner {
  position: relative; height: 470px; overflow: hidden; border-radius: 2px;
  background:
    linear-gradient(rgba(79, 93, 72, .10) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(79, 93, 72, .10) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--sage-tint);
}
.map-frame__inner p { position: absolute; inset: auto 0 50%; text-align: center; color: var(--muted); font-size: .95rem; margin: 0; }
.map-frame iframe { position: relative; width: 100%; height: 100%; border: 0; }
.place-card {
  display: flex; flex-direction: column;
  background: var(--charcoal); color: var(--on-dark);
  border-radius: var(--radius); overflow: hidden;
}
.place-card .beam { border-radius: 0; height: 10px; }
.place-card__body { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; flex: 1; }
.place-card .eyebrow { color: var(--sage-on-dark); }
.place-card h3 { color: #fff; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-bottom: .6em; }
.place-card address { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.5; color: var(--on-dark); margin-bottom: 22px; }
.place-card__list { display: grid; gap: 12px; margin-bottom: 26px; }
.place-card__list li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.place-card__list svg { width: 18px; height: 18px; color: var(--oak-on-dark); flex: none; }
.place-card__list a { color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere; }
.place-card__list a:hover { color: #fff; text-decoration: underline; }
.place-card__note { color: var(--on-dark-muted); font-size: .96rem; }
.place-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 899px) {
  .location__grid { grid-template-columns: 1fr; }
  .map-frame__inner { height: 380px; }
}
@media (max-width: 479px) {
  .map-frame { padding: 6px; }
  .map-frame__inner { height: 320px; }
  .place-card .btn { align-self: stretch; }
}

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.contact__intro h2 { max-width: 13ch; }
.contact-list { display: grid; gap: 4px; margin-top: 30px; }
.contact-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--taupe); }
.contact-list li:last-child { border-bottom: 1px solid var(--taupe); }
.contact-list__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--sage-ink); }
.contact-list__icon svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .72rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list address { font-family: var(--font-serif); font-size: 1.12rem; color: var(--charcoal); text-decoration: none; line-height: 1.4; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--sage-ink); text-decoration: underline; }

.form-card {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.form-card .beam { border-radius: 0; height: 10px; }
.form-card__inner { padding: clamp(24px, 3.4vw, 44px); }
.form-card__title { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); margin-bottom: .25em; }
.form-card__sub { color: var(--muted); font-size: .97rem; margin-bottom: 1.6rem; }
#wallpaperContactForm { display: block; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--charcoal); margin-bottom: 7px; }
.field label .req { color: var(--oak-ink); margin-left: 2px; }
.field label .opt { font-weight: 450; color: var(--muted); font-size: .84rem; margin-left: 4px; }
.field input, .field textarea {
  width: 100%; min-height: 50px;
  padding: 12px 14px;
  font: 400 1rem/1.4 var(--font-sans); color: var(--charcoal);
  background: #fff;
  border: 1.5px solid var(--field-border); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage-ink); box-shadow: 0 0 0 3px rgba(79, 93, 72, .28); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
/* The client's validation script injects .error-message with an inline light red;
   these overrides keep its text and borders at WCAG AA contrast without touching the script */
.field .error-message { color: var(--error) !important; font-weight: 550; font-size: .9rem !important; line-height: 1.35; }
.field:has(.error-message) input, .field:has(.error-message) textarea { border-color: var(--error) !important; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 24px; }
.form-foot__note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-foot .btn { min-width: 240px; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading::after {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#form-success {
  display: none;
  text-align: center; padding: 28px 10px 18px;
}
#form-success:focus { outline: none; }
.success__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-tint); color: var(--sage-ink); }
.success__icon svg { width: 30px; height: 30px; }
#form-success h3 { margin-bottom: .3em; }
#form-success p { color: var(--muted); margin: 0; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 939px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 559px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; min-width: 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal-deep); color: var(--on-dark-muted); padding-top: clamp(56px, 7vw, 88px); }
.site-footer .beam { margin-bottom: clamp(40px, 5vw, 56px); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; }
.footer__brand .brand { color: var(--on-dark); margin: 0 0 18px; }
.footer__brand .brand__sub { color: var(--sage-on-dark); }
.footer__brand p { max-width: 32ch; font-size: .97rem; }
.footer__title { font-family: var(--font-sans); font-size: .76rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-on-dark); margin: 4px 0 16px; }
.footer__links { display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__contact { display: grid; gap: 10px; font-size: .97rem; }
.footer__contact li { overflow-wrap: anywhere; }
.footer__contact address { color: var(--on-dark-muted); }
.footer__dir { display: inline-flex; align-items: center; gap: 8px; color: var(--oak-on-dark) !important; font-weight: 600; }
.footer__dir svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(40px, 5vw, 64px); padding: 22px 0 28px; border-top: 1px solid rgba(242, 237, 227, .14); font-size: .9rem; }
.footer__bottom p { margin: 0; }
@media (max-width: 999px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 559px) {
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Scroll reveal (progressive enhancement) ----------
   Content is visible by default. main.js adds .reveal-ready to <html> only when
   IntersectionObserver exists; only then do targets start hidden and animate in. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
  .reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .hero__doors, .menu-toggle, .lightbox, .map-frame, .form-card, .skip-link { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero { min-height: 0; color: #000; background: none; }
  .hero::before, .hero__media { display: none; }
  .hero h1, .hero__text { color: #000; text-shadow: none; }
  .hero__content > * { opacity: 1 !important; animation: none !important; }
  body { background: #fff; }
  .section { padding-block: 24px; }
}
