/* ==========================================================================
   Lancaster SC Wallpaper Hanging — style.css
   Design system: Earthy editorial. Lora (display serif) + Karla (body).
   Palette: warm ivory / sandstone / espresso / terracotta / olive.
   ========================================================================== */

/* ---- Fonts (self-hosted variable woff2, declared here to avoid a second
        render-blocking stylesheet request) ---------------------------------- */
@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("../fonts/Karla.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --ivory:      #F7F1E6;
  --sand:       #EDE3D2;
  --linen:      #E4D7C1;
  --espresso:   #2E2118;
  --ink:        #3A2C20;
  --charcoal:   #6A5946;
  --terra:      #B4602F;
  --terra-deep: #9C4A24;
  --terra-hover:#853D1D;
  --olive:      #6E7248;
  --olive-deep: #565A34;
  --darkband:   #241A12;
  --on-dark:    #F1E7D7;
  --on-dark-mut:#C6B79F;
  --white:      #FFFFFF;

  --rule:       #D8C9B2;
  --rule-dark:  rgba(241,231,215,0.18);

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans:  "Karla", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  --shadow-soft: 0 18px 50px -28px rgba(46,33,24,0.45);
}

/* ---- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--espresso);
  letter-spacing: -0.01em;
}

/* ---- Layout helpers ----------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.bg-sand { background: var(--sand); }
.bg-linen { background: var(--linen); }
.bg-dark { background: var(--darkband); color: var(--on-dark); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--terra);
  display: inline-block;
}
.bg-dark .eyebrow { color: var(--terra); }
.eyebrow.centered { justify-content: center; }

h2.display {
  font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3.35rem);
  margin-top: 0.6rem;
  max-width: 18ch;
}
.lead {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  color: var(--charcoal);
  line-height: 1.6;
  max-width: 60ch;
}
.bg-dark .lead { color: var(--on-dark-mut); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.95em 1.7em;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
  text-align: center;
}
.btn--primary { background: var(--terra-deep); color: var(--white); }
.btn--primary:hover { background: var(--terra-hover); }
.btn--dark { background: var(--espresso); color: var(--ivory); }
.btn--dark:hover { background: #1d130c; }
.btn--ghost { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn--ghost:hover { background: var(--espresso); color: var(--ivory); }
.bg-dark .btn--ghost { color: var(--on-dark); border-color: rgba(241,231,215,0.5); }
.bg-dark .btn--ghost:hover { background: var(--on-dark); color: var(--espresso); }
.btn--light { background: var(--ivory); color: var(--espresso); }
.btn--light:hover { background: var(--white); }
@media (prefers-reduced-motion: no-preference) {
  .btn:active { transform: translateY(1px); }
}

/* Focus visibility (accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, .menu-toggle:focus-visible {
  outline: 3px solid var(--terra-deep);
  outline-offset: 3px;
  border-radius: 2px;
}
.bg-dark a:focus-visible, .bg-dark button:focus-visible { outline-color: var(--terra); }

.skip-link {
  position: absolute; left: 0; top: -60px;
  background: var(--espresso); color: var(--ivory);
  padding: 0.75rem 1.25rem; z-index: 200;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,241,230,0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--rule);
  box-shadow: 0 8px 30px -22px rgba(46,33,24,0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--espresso);
  letter-spacing: -0.01em;
}
.brand__tag {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav__links { display: flex; align-items: center; gap: 1.9rem; list-style: none; padding: 0; }
.nav__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding-block: 0.3rem;
  transition: color .2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--terra-deep);
  transition: width .25s ease;
}
.nav__links a:hover, .nav__links a.active { color: var(--terra-deep); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }

.header-cta { flex-shrink: 0; }

.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 3px;
  position: relative;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--espresso);
  transition: transform .3s ease, opacity .2s ease;
}
.menu-toggle span::before { position: absolute; transform: translateY(-6px); }
.menu-toggle span::after  { position: absolute; transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg); }

/* ==========================================================================
   HERO — asymmetric split (text on ivory, photo bleeding right)
   ========================================================================== */
.hero { position: relative; background: var(--ivory); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  min-height: min(88vh, 820px);
}
.hero__content {
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.25rem,5vw,4rem) clamp(2.5rem,6vw,5.5rem) 0;
  padding-left: var(--gutter);
  align-self: center;
  max-width: 640px;
  margin-left: auto;
  width: 100%;
}
.hero__content .wrap-cap { max-width: 34rem; margin-left: auto; }
.hero h1 {
  font-size: clamp(2.4rem, 1.4rem + 4.6vw, 4.5rem);
  line-height: 1.04;
  margin-top: 1.1rem;
  color: var(--espresso);
}
.hero h1 em {
  font-style: italic;
  color: var(--terra-deep);
}
.hero__support {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem);
  color: var(--charcoal);
  max-width: 44ch;
  line-height: 1.6;
}
.hero__actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
  align-items: center;
}
.hero__area {
  margin-top: 2.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  border-top: 1px solid var(--rule);
  padding-top: 1.3rem;
}
.hero__area svg { width: 17px; height: 17px; color: var(--terra-deep); flex-shrink: 0; }

.hero__media { position: relative; }
.hero__media picture, .hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__caption {
  position: absolute;
  left: 1.4rem; bottom: 1.4rem;
  background: rgba(247,241,230,0.94);
  color: var(--espresso);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.6rem 0.95rem;
  border-radius: 2px;
}

/* ==========================================================================
   INTRO / brand statement
   ========================================================================== */
.intro__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.intro__figure { position: relative; }
.intro__figure img { width: 100%; border-radius: 3px; box-shadow: var(--shadow-soft); }
.intro__figure::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--terra);
  border-radius: 3px;
  z-index: -1;
}
.intro__body p + p { margin-top: 1.15rem; }
.intro__body .lead { margin-top: 1.2rem; }
.intro__signature {
  margin-top: 1.8rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--espresso);
}
.intro__signature span { display: block; font-family: var(--sans); font-style: normal; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--charcoal); margin-top: 0.3rem; }

/* ==========================================================================
   SERVICES — editorial hairline index + offset figure
   ========================================================================== */
.services__head { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: clamp(2.5rem,5vw,4rem); max-width: 40rem; }
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.service {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.service:nth-child(odd) { border-right: 1px solid var(--rule); padding-right: 2.2rem; }
.service:nth-child(even) { padding-left: 2.2rem; }
.service__num {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--terra-deep);
  font-feature-settings: "onum" 1;
  padding-top: 0.15rem;
}
.service__title { font-size: 1.22rem; font-weight: 600; margin-bottom: 0.35rem; }
.service__text { font-size: 0.96rem; color: var(--charcoal); line-height: 1.55; }

.services__figure {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  border-radius: 3px;
  overflow: hidden;
}
.services__figure img { width: 100%; height: clamp(240px, 40vw, 460px); object-fit: cover; }
.services__figure figcaption {
  position: absolute;
  left: 1.4rem; bottom: 1.4rem;
  background: rgba(247,241,230,0.94);
  color: var(--espresso);
  padding: 0.85rem 1.15rem;
  border-radius: 2px;
  max-width: 22rem;
}
.services__figure figcaption strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.services__figure figcaption span { font-size: 0.85rem; color: var(--charcoal); }

/* ==========================================================================
   WHY — educational editorial, split with sticky figure
   ========================================================================== */
.why__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.why__figure { position: sticky; top: 100px; }
.why__figure img { width: 100%; border-radius: 3px; box-shadow: var(--shadow-soft); }
.why__intro { margin-bottom: 2rem; }
.why__list { list-style: none; padding: 0; display: grid; gap: 0; }
.why__item {
  padding: 1.35rem 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}
.why__item:last-child { border-bottom: 1px solid var(--rule); }
.why__tick { color: var(--olive-deep); flex-shrink: 0; padding-top: 0.2rem; }
.why__tick svg { width: 20px; height: 20px; display: block; }
.why__item h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; font-family: var(--serif); }
.why__item p { font-size: 0.94rem; color: var(--charcoal); line-height: 1.55; }

/* ==========================================================================
   PROCESS — stepped stair
   ========================================================================== */
.process__head { max-width: 40rem; margin-bottom: clamp(2.5rem,5vw,4rem); }
.process__steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  padding: 1.9rem 0;
  border-top: 1px solid var(--rule-dark);
  align-items: baseline;
}
.step:last-child { border-bottom: 1px solid var(--rule-dark); }
.step__num {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  font-weight: 500;
  color: var(--terra);
  font-feature-settings: "onum" 1;
  min-width: 3ch;
}
.step__body h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); color: var(--on-dark); margin-bottom: 0.4rem; }
.step__body p { color: var(--on-dark-mut); font-size: 0.98rem; max-width: 52ch; }
/* stepped indentation on wide screens */
@media (min-width: 760px) {
  .step:nth-child(2) { padding-left: 3%; }
  .step:nth-child(3) { padding-left: 6%; }
  .step:nth-child(4) { padding-left: 9%; }
  .step:nth-child(5) { padding-left: 12%; }
}

/* ==========================================================================
   GALLERY — staggered editorial columns (NOT masonry algorithm)
   ========================================================================== */
.gallery__head { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: end; margin-bottom: clamp(2.2rem,4vw,3.5rem); }
.gallery__head .lead { max-width: 40ch; }
.gallery__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.9rem, 2vw, 1.5rem);
  align-items: start;
}
.gallery__col { display: grid; gap: clamp(0.9rem, 2vw, 1.5rem); }
.gallery__col:nth-child(2) { padding-top: clamp(1.5rem, 4vw, 3.5rem); }
.g-tile {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--sand);
  cursor: pointer;
}
.g-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.g-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(46,33,24,0.28), transparent 55%);
  opacity: 0; transition: opacity .35s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .g-tile:hover img { transform: scale(1.05); }
}
.g-tile:hover::after, .g-tile:focus-within::after { opacity: 1; }
.g-tile__zoom {
  position: absolute; top: 0.8rem; right: 0.8rem;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(247,241,230,0.92);
  display: grid; place-items: center;
  opacity: 0; transform: translateY(-4px);
  transition: opacity .3s ease, transform .3s ease;
  color: var(--espresso);
}
.g-tile:hover .g-tile__zoom, .g-tile:focus-within .g-tile__zoom { opacity: 1; transform: translateY(0); }
.g-tile__zoom svg { width: 16px; height: 16px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(36,26,18,0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 3px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6); }
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: rgba(247,241,230,0.14);
  border: 1px solid rgba(241,231,215,0.35);
  color: var(--on-dark);
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  transition: background-color .2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(247,241,230,0.28); }
.lightbox__close { top: clamp(1rem,3vw,2rem); right: clamp(1rem,3vw,2rem); }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: clamp(0.75rem,3vw,2rem); }
.lightbox__nav--next { right: clamp(0.75rem,3vw,2rem); }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__body p + p { margin-top: 1.15rem; }
.about__facts {
  margin-top: 2rem;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.about__fact {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}
.about__fact dt { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; color: var(--charcoal); padding-top: 0.2rem; }
.about__fact dd { color: var(--ink); }
.about__fact a { color: var(--terra-deep); font-weight: 600; }
.about__fact a:hover { text-decoration: underline; }
.about__figure img { width: 100%; border-radius: 3px; box-shadow: var(--shadow-soft); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 1.2rem + 3vw, 3rem); max-width: 20ch; margin-inline: auto; }
.cta-band .lead { margin: 1.2rem auto 2rem; text-align: center; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact__aside h2 { margin-bottom: 1rem; }
.contact__aside .lead { margin-bottom: 2rem; }
.contact__points { display: grid; gap: 1.4rem; }
.contact__point { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.contact__point svg { width: 22px; height: 22px; color: var(--terra-deep); flex-shrink: 0; margin-top: 0.2rem; }
.contact__point dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 0.15rem; }
.contact__point dd a, .contact__point dd { font-size: 1.02rem; color: var(--ink); }
.contact__point dd a { color: var(--espresso); font-weight: 600; }
.contact__point dd a:hover { color: var(--terra-deep); }

.form-card {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.45rem;
}
.field label .req { color: var(--terra-deep); }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 0.8rem 0.9rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #A99A83; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--terra-deep);
  box-shadow: 0 0 0 3px rgba(156,74,36,0.14);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--charcoal); margin-top: 0.4rem; }
.form-submit { margin-top: 0.5rem; }
.form-submit .btn { width: 100%; }
.error-message { color: #C0392B; margin-top: 5px; font-size: 14px; }

.form-success {
  display: none;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
}
.form-success__icon {
  width: 64px; height: 64px; margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(110,114,72,0.15);
  display: grid; place-items: center;
  color: var(--olive-deep);
}
.form-success__icon svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.form-success p { color: var(--charcoal); max-width: 34ch; margin-inline: auto; }

/* ==========================================================================
   LOCATION / MAP
   ========================================================================== */
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.location__card h2 { margin-bottom: 1rem; }
.location__address {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--espresso);
  margin: 1.2rem 0 1.6rem;
}
.location__map {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-soft);
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.location__map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--darkband); color: var(--on-dark-mut); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule-dark);
}
.footer__brand .brand__name { color: var(--on-dark); }
.footer__brand .brand__tag { color: var(--on-dark-mut); }
.footer__brand p { margin-top: 1rem; font-size: 0.92rem; max-width: 34ch; line-height: 1.6; }
.footer__col h4 { color: var(--on-dark); font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin-bottom: 1.1rem; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer__col a, .footer__col address { font-size: 0.94rem; color: var(--on-dark-mut); font-style: normal; line-height: 1.6; transition: color .2s ease; }
.footer__col a:hover { color: var(--terra); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  justify-content: space-between; align-items: center;
  padding-top: 2rem;
  font-size: 0.85rem;
}
.footer__bottom p { color: var(--on-dark-mut); }

/* ==========================================================================
   REVEAL animation — progressive enhancement.
   Content is VISIBLE by default; only when JS adds .js-reveal to <html>
   (after confirming IntersectionObserver) do targets start hidden.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  }
  .js-reveal .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  .js-reveal .reveal.d1 { transition-delay: .08s; }
  .js-reveal .reveal.d2 { transition-delay: .16s; }
  .js-reveal .reveal.d3 { transition-delay: .24s; }
}
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__content { max-width: none; padding-block: clamp(2.5rem,7vw,4rem) clamp(2rem,5vw,3rem); }
  .hero__content .wrap-cap { max-width: 40rem; margin-inline: auto; }
  .hero__media { min-height: 56vh; }
  .hero__media picture, .hero__media img { position: static; height: 56vh; }
  .intro__grid, .why__grid, .about__grid, .contact__grid, .location__grid { grid-template-columns: 1fr; }
  .why__figure { position: static; order: -1; }
  .about__figure { order: -1; }
  .intro__figure::after { inset: 10px -10px -10px 10px; }
}

/* Nav collapses to the hamburger while the full desktop nav still fits.
   Kept above the 760px layout block so the desktop nav never overflows. */
@media (max-width: 920px) {
  .nav__links, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; flex-shrink: 0; }
  /* let the wordmark shrink/wrap instead of pushing the toggle off-screen */
  .brand { flex-shrink: 1; min-width: 0; }
  .brand__name { font-size: 0.95rem; overflow-wrap: anywhere; }
  .nav.open .nav__links {
    display: flex;
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 20px 40px -24px rgba(46,33,24,0.4);
    padding: 0.5rem var(--gutter) 1.25rem;
    animation: slidedown .3s ease;
    z-index: 90;
  }
  .nav.open .nav__links li { width: 100%; border-bottom: 1px solid var(--rule); }
  .nav.open .nav__links li:last-child { border-bottom: none; }
  .nav.open .nav__links a { display: block; padding: 1rem 0; font-size: 1.05rem; }
  .nav.open .nav__links a::after { display: none; }
  @keyframes slidedown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 760px) {
  .services__grid { grid-template-columns: 1fr; }
  .service:nth-child(odd) { border-right: none; padding-right: 0; }
  .service:nth-child(even) { padding-left: 0; }
  .form-row { grid-template-columns: 1fr; }
  .gallery__cols { grid-template-columns: 1fr 1fr; }
  .gallery__col:nth-child(3) { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .about__fact { grid-template-columns: 1fr; gap: 0.2rem; }
  .about__fact dt { padding-top: 0; }
}

@media (max-width: 460px) {
  .gallery__cols { grid-template-columns: 1fr; }
  .gallery__col { padding-top: 0 !important; }
  .gallery__col:nth-child(3) { display: grid; }
  .hero__actions .btn { width: 100%; }
  .cta-band__actions .btn, .hero__actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
