/* ═══════════════════════════════════════════════════════════════════
   Castillo's Remodeling LLC — "The Castle Standard"
   Navy #182145 (from the logo mark) · warm limestone · brass.
   Motif: the window sash. Frames, muntins, sills and brass hardware
   are the layout system, not decoration.
   ═══════════════════════════════════════════════════════════════════ */

/* === defensive base — injected by harden_css.py; do not hand-edit === */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: calc(var(--nav-h, 72px) + 1rem); }
img, svg, video, iframe, canvas, table { display: block; max-width: 100%; }
p, li, h1, h2, h3, h4, blockquote, td, dd, dt { overflow-wrap: anywhere; }
form[style*="min-height"] { align-content: center; }
/* === end defensive base === */

:root{
  /* brand — navy sampled straight off the logo */
  --navy:      #182145;
  --navy-900:  #0d1230;
  --navy-800:  #131a3c;
  --navy-700:  #222d5c;
  --navy-500:  #3d4a78;
  --navy-300:  #7c88ad;

  /* warm limestone ground — mortar, sill stone, primed trim */
  --stone:     #f4f0e9;
  --stone-2:   #e9e2d6;
  --stone-3:   #d6cbb8;

  /* brass hardware */
  --brass:     #b0803f;
  --brass-lt:  #d9b57e;
  --brass-dk:  #8a6229;

  --ink:       #171922;
  --ink-60:    #5b5e6b;
  --glass:     #9fb6cc;

  --nav-h: 76px;

  --wrap: 1180px;

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Archivo", "Helvetica Neue", sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);

  /* fine grain — keeps the navy from reading as flat digital blue */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

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

html{ -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{ display: block; }
a{ color: inherit; }

/* Offset vertically, never horizontally — a negative `left` counts as real
   horizontal overflow and makes the page scrollable sideways. */
.skip{
  position: absolute; left: 8px; top: -80px; z-index: 200;
  background: var(--brass); color: #fff; padding: .7rem 1.1rem;
  font: 600 .8rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none;
  transition: top .18s var(--ease);
}
.skip:focus{ top: 8px; }

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

.wrap{ width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.wrap--narrow{ max-width: 760px; }

/* ── type scale ─────────────────────────────────────────────────── */

.eyebrow{
  font: 600 clamp(.62rem, .55rem + .2vw, .72rem)/1.4 var(--f-body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin: 0;
  display: flex; align-items: center; gap: .55em;
  flex-wrap: wrap;
}
.eyebrow--ink{ color: var(--brass-dk); }
.eyebrow .dot{
  width: 6px; height: 6px; flex: none; border-radius: 50%;
  background: var(--brass-lt); box-shadow: 0 0 0 3px rgba(217,181,126,.22);
}

.h2{
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  font-weight: 700;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.018em;
  margin: .45rem 0 0;
  color: var(--navy);
  text-wrap: balance;
}
.h2--light{ color: var(--stone); }

.lede{
  font-size: clamp(1rem, .96rem + .22vw, 1.12rem);
  line-height: 1.62;
  color: var(--ink-60);
  max-width: 60ch;
  margin: 1.05rem 0 0;
}
.lede--light{ color: rgba(244,240,233,.72); }

.sec{ padding-block: clamp(64px, 8vw, 120px); position: relative; }
.sec--stone{ background: var(--stone); }
.sec--navy{
  background: var(--navy-900);
  color: var(--stone);
}
.sec--navy::before{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: .1; mix-blend-mode: overlay;
}
.sec--navy > *{ position: relative; }

.sec__head{ max-width: 62ch; }
.sec__head--center{ margin-inline: auto; text-align: center; }
.sec__head--center .eyebrow{ justify-content: center; }
.sec__head--center .lede{ margin-inline: auto; }

/* ── buttons ────────────────────────────────────────────────────── */

.btn{
  --bg: var(--brass); --fg: #fff; --bd: var(--brass);
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd);
  padding: .95rem 1.5rem;
  font: 600 .82rem/1 var(--f-body);
  letter-spacing: .11em; text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 1px 0 rgba(0,0,0,.16);
}
.btn:hover{ transform: translateY(-2px); box-shadow: 0 8px 22px -10px rgba(0,0,0,.55); }
.btn:active{ transform: translateY(0); }

.btn--brass{ --bg: var(--brass); --bd: var(--brass); --fg: #fff; }
.btn--brass:hover{ --bg: var(--brass-dk); --bd: var(--brass-dk); }

.btn--navy{ --bg: var(--navy); --bd: var(--navy); --fg: var(--stone); }
.btn--navy:hover{ --bg: var(--navy-700); --bd: var(--navy-700); }

.btn--ghost{
  --bg: transparent; --fg: var(--stone); --bd: rgba(244,240,233,.34);
  box-shadow: none;
}
.btn--ghost:hover{ --bg: rgba(244,240,233,.09); --bd: rgba(244,240,233,.65); }

.btn--sm{ padding: .72rem 1.05rem; font-size: .72rem; letter-spacing: .1em; }
.btn--lg{ padding: 1.1rem 1.9rem; font-size: .85rem; }

/* ── nav ────────────────────────────────────────────────────────── */

.nav{
  position: sticky; top: 0; z-index: 90;
  height: var(--nav-h);
  background: rgba(13,18,48,.93);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(176,128,63,.34);
}
.nav__in{
  height: var(--nav-h);
  max-width: var(--wrap); margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
  display: flex; align-items: center; gap: clamp(14px, 3vw, 36px);
}
.nav__brand{ flex: none; display: block; line-height: 0; }
/* The mark is a wide two-line lockup with a tagline under it — undersize it and
   the wordmark turns to mush, so it gets real height in the bar. */
.nav__brand img{ height: clamp(38px, 4.4vw, 52px); width: auto; }

.nav__links{
  display: flex; align-items: center; gap: clamp(14px, 2vw, 26px);
  margin-left: auto;
}
.nav__links a{
  font: 500 .78rem/1 var(--f-body);
  letter-spacing: .13em; text-transform: uppercase;
  color: rgba(244,240,233,.76);
  text-decoration: none;
  padding: .4rem 0;
  position: relative;
  transition: color .2s var(--ease);
}
.nav__links a::after{
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--brass-lt); transition: right .3s var(--ease);
}
.nav__links a:hover{ color: #fff; }
.nav__links a:hover::after{ right: 0; }

.nav__act{ display: flex; align-items: center; gap: 14px; flex: none; }
.tel-link{
  font: 600 .8rem/1 var(--f-body);
  color: var(--stone); text-decoration: none;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.tel-link:hover{ color: var(--brass-lt); }

.burger{
  display: none;
  margin-left: auto;
  width: 42px; height: 34px;
  background: none; border: 1px solid rgba(244,240,233,.26);
  border-radius: 2px;
  cursor: pointer;
  padding: 8px 9px;
  flex-direction: column; justify-content: space-between;
}
.burger span{ display: block; height: 1.5px; background: var(--stone); transition: transform .3s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

/* mobile menu — display:none by default so [hidden] can never be overridden */
.mnav{ display: none; }
.mnav.is-open{
  display: flex; flex-direction: column; gap: 2px;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(176,128,63,.34);
  padding: 14px clamp(18px, 4vw, 40px) 22px;
}
.mnav a{
  color: var(--stone); text-decoration: none;
  font: 500 .95rem/1 var(--f-body);
  letter-spacing: .08em; text-transform: uppercase;
  padding: .92rem 0;
  border-bottom: 1px solid rgba(244,240,233,.1);
}
.mnav .mnav__tel{ color: var(--brass-lt); border-bottom: 0; }
.mnav .btn{ margin-top: 6px; }

/* ── hero ───────────────────────────────────────────────────────── */

.hero{
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  background: var(--navy-900);
  color: var(--stone);
  overflow: hidden;
}
.hero::after{
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: var(--grain); opacity: .12; mix-blend-mode: overlay;
}
/* faint muntin grid — the window we're all looking through */
.hero__grid{
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(159,182,204,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159,182,204,.055) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(120% 90% at 22% 40%, #000 22%, transparent 78%);
}
.hero__in{
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding: 20px clamp(18px, 4vw, 40px) 24px;
  display: flex; flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 28px);
  min-height: 0;
}

.hero__copy{
  container-type: inline-size;
  display: flex; flex-direction: column;
  gap: clamp(.7rem, 2.4cqi, 1.5rem);
  flex: none;
}

.hero__h1{
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  font-weight: 900;
  font-size: clamp(2.1rem, 13cqi, 4.5rem);
  line-height: .96;
  letter-spacing: -.03em;
  margin: 0;
  color: var(--stone);
  text-wrap: balance;
}
.hero__h1 em{
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
  color: var(--brass-lt);
}

.hero__sub{
  margin: 0;
  font-size: clamp(.95rem, 3.7cqi, 1.1rem);
  line-height: 1.58;
  color: rgba(244,240,233,.76);
  max-width: 46ch;
}

.hero__cta{ display: flex; flex-wrap: wrap; gap: 10px; }
.hero__cta .btn{ flex: 1 1 auto; min-width: 168px; }

.hero__proof{
  margin: 0;
  display: flex; align-items: flex-start; gap: .6em;
  font-size: clamp(.76rem, 3cqi, .84rem);
  line-height: 1.5;
  color: rgba(244,240,233,.6);
  max-width: 48ch;
  border-left: 2px solid var(--brass);
  padding-left: .85em;
}
.hero__proof-mark{
  color: var(--brass-lt);
  font-weight: 700;
  flex: none;
}

/* the sash: hero image sits in a real window frame with a brass sill */
.sash{
  display: flex; flex-direction: column;
  flex: 1 1 0; min-height: 150px;
  margin: 0;
}
.sash__frame{
  position: relative;
  flex: 1 1 0; min-height: 0;
  overflow: hidden;
  border: 6px solid var(--stone-2);
  border-bottom-width: 0;
  box-shadow: 0 26px 60px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(13,18,48,.5);
  background: var(--navy-800);
}
.sash__frame picture{ display: block; height: 100%; }
.sash__frame img{ width: 100%; height: 100%; object-fit: cover; object-position: center; }

.sash__muntin{ position: absolute; background: var(--stone-2); pointer-events: none; }
.sash__muntin--v{ top: 0; bottom: 0; left: 50%; width: 4px; transform: translateX(-2px); }
.sash__muntin--h{ left: 0; right: 0; top: 46%; height: 4px; }

.sash__sill{
  flex: none;
  background: linear-gradient(180deg, var(--stone-2), var(--stone-3));
  color: var(--navy);
  font: 600 .66rem/1 var(--f-body);
  letter-spacing: .14em; text-transform: uppercase;
  padding: .68rem .8rem;
  border-top: 2px solid var(--brass);
  text-align: center;
  box-shadow: 0 10px 24px -16px rgba(0,0,0,.8);
}

/* ── trade strip ────────────────────────────────────────────────── */

.strip{
  background: var(--brass);
  color: #fff;
  overflow: hidden;
  border-block: 1px solid var(--brass-dk);
  padding-block: .82rem;
}
.strip__track{
  display: flex; align-items: center; gap: 1.4rem;
  width: max-content;
  animation: slide 42s linear infinite;
}
.strip__track span{
  font: 600 .74rem/1 var(--f-body);
  letter-spacing: .21em; text-transform: uppercase;
  white-space: nowrap;
}
.strip__track i{ font-style: normal; font-size: .5rem; opacity: .62; }
@keyframes slide{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ── services: a spec schedule, not a card grid ─────────────────── */

.spec{
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0;
  border-top: 1px solid var(--stone-3);
}
.spec__row{
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "num body price";
  align-items: baseline;
  column-gap: clamp(14px, 2.4vw, 30px);
  padding: clamp(20px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--stone-3);
  transition: background-color .3s var(--ease);
}
.spec__row:hover{ background: rgba(214,203,184,.28); }

.spec__num{
  grid-area: num;
  font: 600 .74rem/1 var(--f-body);
  letter-spacing: .12em;
  color: var(--brass-dk);
  padding-top: .42rem;
}
.spec__body{ grid-area: body; }
.spec__body h3{
  font-family: var(--f-display);
  font-variation-settings: "opsz" 60, "SOFT" 0, "WONK" 0;
  font-weight: 700;
  font-size: clamp(1.22rem, 1.05rem + .65vw, 1.7rem);
  line-height: 1.14;
  letter-spacing: -.012em;
  margin: 0;
  color: var(--navy);
}
.spec__body p{
  margin: .5rem 0 0;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--ink-60);
  max-width: 56ch;
}
.spec__lead{ display: none; }
.spec__price{
  grid-area: price;
  font: 600 .7rem/1.4 var(--f-body);
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--brass-dk);
  white-space: nowrap;
  padding-top: .42rem;
}

.spec__foot{
  margin-top: clamp(32px, 4vw, 46px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px;
  justify-content: space-between;
}
.spec__foot p{
  margin: 0;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 40, "SOFT" 0, "WONK" 0;
  font-size: clamp(1.05rem, .95rem + .5vw, 1.34rem);
  font-style: italic;
  color: var(--navy);
}

/* ── credentials ────────────────────────────────────────────────── */

.cred{
  margin-top: clamp(40px, 5vw, 62px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3.4vw, 46px);
  align-items: start;
}

.cert{
  background: var(--stone);
  color: var(--navy);
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--stone-3);
  border-top: 3px solid var(--brass);
  box-shadow: 0 30px 60px -34px rgba(0,0,0,.85);
  position: relative;
}
.cert::after{
  content: "";
  position: absolute; inset: 8px;
  border: 1px solid rgba(24,33,69,.14);
  pointer-events: none;
}
.cert__top{
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--stone-3);
}
.cert__seal{ width: 104px; height: auto; flex: none; }
.cert__issuer{
  margin: 0;
  font: 600 .78rem/1.4 var(--f-body);
  letter-spacing: .06em;
  color: var(--navy);
}
.cert__issuer span{
  display: block;
  font-weight: 400;
  font-size: .7rem;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--brass-dk);
  margin-top: .3rem;
}

.cert__rows{ margin: 0; padding: 4px 0 0; }
.cert__rows > div{
  display: grid;
  grid-template-columns: 8.6rem 1fr;
  gap: 10px;
  align-items: baseline;
  padding: .68rem 0;
  border-bottom: 1px dotted var(--stone-3);
}
.cert__rows dt{
  font: 500 .68rem/1.4 var(--f-body);
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-60);
}
.cert__rows dd{
  margin: 0;
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy);
}
.cert__big{
  font-family: var(--f-display) !important;
  font-variation-settings: "opsz" 60, "SOFT" 0, "WONK" 0;
  font-size: 1.5rem !important;
  font-weight: 700;
  letter-spacing: .02em;
}
.cert__ok{ color: #2b6b41 !important; font-weight: 700 !important; }
.cert__ok::before{
  content: "●"; font-size: .6em; vertical-align: .25em; margin-right: .5em; color: #2b6b41;
}
.cert__note{
  margin: 1rem 0 0;
  font-size: .74rem;
  line-height: 1.5;
  color: var(--ink-60);
  font-style: italic;
}

.facts{ list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 2.4vw, 28px); }
.facts li{ border-left: 2px solid var(--brass); padding-left: 1.1rem; }
.facts__k{
  display: block;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 40, "SOFT" 0, "WONK" 0;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--stone);
  letter-spacing: -.005em;
}
.facts li p{
  margin: .42rem 0 0;
  font-size: .93rem;
  line-height: 1.6;
  color: rgba(244,240,233,.66);
  max-width: 46ch;
}

/* ── gallery: panes of glass at their true proportions ──────────── */

.gal{
  margin-top: clamp(40px, 5vw, 62px);
  column-count: 1;
  column-gap: clamp(12px, 1.6vw, 20px);
}
.gal__i{
  break-inside: avoid;
  margin: 0 0 clamp(12px, 1.6vw, 20px);
  background: var(--navy);
  padding: 5px 5px 0;
  box-shadow: 0 18px 40px -26px rgba(23,25,34,.7);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.gal__i:hover{ transform: translateY(-4px); box-shadow: 0 26px 52px -26px rgba(23,25,34,.85); }
.gal__i img{ width: 100%; height: auto; }
.gal__i figcaption{
  background: var(--navy);
  color: var(--stone);
  padding: .78rem .3rem .82rem;
  text-align: center;
  border-top: 2px solid var(--brass);
  margin-top: 5px;
}
.gal__i figcaption b{
  display: block;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 40, "SOFT" 0, "WONK" 0;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -.005em;
}
.gal__i figcaption span{
  display: block;
  margin-top: .22rem;
  font-size: .74rem;
  line-height: 1.45;
  color: rgba(244,240,233,.58);
}

/* ── owner statement ────────────────────────────────────────────── */

.statement{ text-align: center; }
.statement .eyebrow{ justify-content: center; }
.quote{ margin: 1.6rem 0 0; }
.quote p{
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  font-weight: 400;
  font-size: clamp(1.25rem, 1.02rem + 1.15vw, 2rem);
  line-height: 1.32;
  letter-spacing: -.014em;
  color: var(--stone);
  margin: 0;
  text-wrap: pretty;
}
.quote footer{
  margin-top: 1.7rem;
  display: flex; flex-direction: column; gap: .22rem; align-items: center;
}
.quote footer::before{
  content: ""; width: 44px; height: 2px; background: var(--brass); margin-bottom: 1.1rem;
}
.quote__name{
  font: 600 .84rem/1 var(--f-body);
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--brass-lt);
}
.quote__role{ font-size: .8rem; color: rgba(244,240,233,.55); }

/* ── visit ──────────────────────────────────────────────────────── */

.visit{ display: grid; grid-template-columns: 1fr; gap: clamp(32px, 4vw, 54px); align-items: start; }

.visit__list{ margin: clamp(24px, 3vw, 34px) 0 0; }
.visit__list > div{
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 12px;
  padding: .82rem 0;
  border-bottom: 1px solid var(--stone-3);
  align-items: baseline;
}
.visit__list dt{
  font: 500 .68rem/1.5 var(--f-body);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass-dk);
}
.visit__list dd{ margin: 0; font-size: .97rem; line-height: 1.55; color: var(--navy); }
.visit__list dd a{ color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--stone-3); transition: border-color .2s var(--ease); }
.visit__list dd a:hover{ border-color: var(--brass); }

.visit__social{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }
.visit__social a{
  font: 600 .7rem/1 var(--f-body);
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--stone-3);
  padding: .68rem 1rem;
  border-radius: 2px;
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}
.visit__social a:hover{ border-color: var(--brass); color: var(--brass-dk); background: rgba(176,128,63,.07); }

/* a drawn map card — no third-party iframe, no tracking, no layout shift */
.mapcard{
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-900);
  border: 1px solid var(--stone-3);
  text-decoration: none;
  box-shadow: 0 26px 56px -32px rgba(23,25,34,.8);
}
.mapcard__grid{
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(159,182,204,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159,182,204,.13) 1px, transparent 1px),
    linear-gradient(rgba(176,128,63,.34) 2px, transparent 2px),
    linear-gradient(90deg, rgba(176,128,63,.28) 2px, transparent 2px);
  background-size: 34px 34px, 34px 34px, 170px 170px, 204px 204px;
  background-position: 0 0, 0 0, 0 62%, 34% 0;
}
.mapcard__pin{
  position: absolute; left: 50%; top: 45%;
  width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: var(--brass-lt);
  box-shadow: 0 0 0 6px rgba(217,181,126,.24), 0 0 0 14px rgba(217,181,126,.11);
}
.mapcard__label{
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(13,18,48,0), rgba(13,18,48,.94) 42%);
  color: var(--stone);
  padding: 2.4rem 1.15rem 1.1rem;
  font-size: .86rem; line-height: 1.5;
}
.mapcard__label b{
  display: block;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 40, "SOFT" 0, "WONK" 0;
  font-size: 1.06rem; font-weight: 700;
}
.mapcard__label i{
  display: block; margin-top: .45rem;
  font-style: normal;
  font-size: .7rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brass-lt);
}

/* ── final CTA ──────────────────────────────────────────────────── */

.cta{
  position: relative;
  background: var(--navy);
  color: var(--stone);
  padding-block: clamp(72px, 9vw, 128px);
  text-align: center;
  overflow: hidden;
}
.cta__grid{
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(159,182,204,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159,182,204,.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(80% 120% at 50% 0%, #000 10%, transparent 72%);
}
.cta .wrap{ position: relative; }
.cta .eyebrow{ justify-content: center; }
.cta__h{
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  font-weight: 900;
  font-size: clamp(2rem, 1.25rem + 3.2vw, 3.7rem);
  line-height: 1;
  letter-spacing: -.03em;
  margin: .6rem 0 0;
  text-wrap: balance;
}
.cta__sub{
  margin: 1.1rem auto 0;
  max-width: 46ch;
  color: rgba(244,240,233,.72);
  font-size: 1.03rem;
  line-height: 1.6;
}
.cta__row{ display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 2rem; }
.cta__fine{
  margin: 1.6rem 0 0;
  font: 500 .68rem/1.6 var(--f-body);
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(244,240,233,.44);
}

/* ── footer ─────────────────────────────────────────────────────── */

.foot{
  background: var(--navy-900);
  color: rgba(244,240,233,.66);
  padding-block: clamp(44px, 5vw, 66px);
  border-top: 1px solid rgba(176,128,63,.3);
}
.foot__in{
  display: grid; grid-template-columns: 1fr; gap: 30px;
  align-items: start;
}
.foot__brand img{ height: 58px; width: auto; }
.foot__brand p{
  margin: .9rem 0 0;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(244,240,233,.5);
}
.foot__nav{ display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot__nav a{
  font: 500 .74rem/1 var(--f-body);
  letter-spacing: .13em; text-transform: uppercase;
  color: rgba(244,240,233,.7); text-decoration: none;
  transition: color .2s var(--ease);
}
.foot__nav a:hover{ color: var(--brass-lt); }
.foot__meta{ display: flex; flex-direction: column; gap: .35rem; font-size: .87rem; }
.foot__meta a{ color: var(--stone); text-decoration: none; }
.foot__meta a:hover{ color: var(--brass-lt); }
.foot__meta p{ margin: .6rem 0 0; font-size: .74rem; color: rgba(244,240,233,.42); }

/* ── scroll reveal (below the fold only) ────────────────────────── */

.rise{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.rise.is-in{ opacity: 1; transform: none; }

/* ═══ breakpoints ═══════════════════════════════════════════════ */

@media (min-width: 700px){
  .gal{ column-count: 2; }
  .cred{ grid-template-columns: 1fr; }
  .foot__in{ grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
}

@media (min-width: 900px){
  .hero__in{
    flex-direction: row;
    align-items: center;
    gap: clamp(30px, 5vw, 76px);
    padding-block: 40px;
  }
  .hero__copy{ flex: 1 1 54%; min-width: 0; }
  .sash{
    flex: 0 0 38%;
    align-self: center;
    min-height: 0;
  }
  .sash__frame{
    flex: none;
    height: min(58svh, 520px);
  }
  .visit{ grid-template-columns: 1fr .92fr; }
  .cred{ grid-template-columns: 1.04fr .96fr; gap: clamp(34px, 4vw, 56px); }
}

@media (min-width: 1060px){
  .gal{ column-count: 3; }
}

/* mobile nav swap */
@media (max-width: 899px){
  :root{ --nav-h: 64px; }
  .nav__links, .nav__act{ display: none; }
  .burger{ display: flex; }
  .spec__row{
    grid-template-columns: auto 1fr;
    grid-template-areas: "num body" ". price";
    row-gap: .6rem;
  }
  .spec__price{ padding-top: 0; }
  .cert__rows > div{ grid-template-columns: 7.4rem 1fr; }
  .visit__list > div{ grid-template-columns: 1fr; gap: 3px; }
}

@media (max-width: 480px){
  .cert__rows > div{ grid-template-columns: 1fr; gap: 3px; }
  .cert__top{ flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════════ */

.sr-only{
  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;
}

.chero{
  position: relative;
  background: var(--navy-900);
  color: var(--stone);
  padding-block: clamp(52px, 7vw, 92px);
  overflow: hidden;
}
.chero::after{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: .12; mix-blend-mode: overlay;
}
.chero__grid{
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(159,182,204,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159,182,204,.06) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(100% 100% at 12% 0%, #000 18%, transparent 74%);
}
.chero__in{ position: relative; z-index: 2; }
.chero__h1{
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  font-weight: 900;
  font-size: clamp(2.05rem, 1.35rem + 3vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.03em;
  margin: .6rem 0 0;
  color: var(--stone);
  text-wrap: balance;
}
.chero__sub{
  margin: 1.05rem 0 0;
  max-width: 52ch;
  font-size: clamp(1rem, .96rem + .22vw, 1.1rem);
  line-height: 1.6;
  color: rgba(244,240,233,.74);
}

.contact{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(38px, 5vw, 64px);
  align-items: start;
}

.contact__form .lede{ margin-bottom: clamp(26px, 3vw, 36px); }

#estimate-form{
  display: grid;
  gap: 1.15rem;
}

/* NB: do not set `align-content` on this form. script.js freezes its height
   with an inline `min-height` on submit, which harden_css's injected
   `form[style*="min-height"] { align-content: center }` keys off, and
   shrink_sent_form then reclaims the space. A rule here would override it. */

.form-fields{ display: grid; gap: 1.15rem; }
/* `display: grid` above beats the [hidden] attribute's display:none, so the
   fields would stay on screen after a successful submit. Put it back. */
.form-fields[hidden]{ display: none; }

.field{ display: grid; gap: .45rem; }
.field label{
  font: 600 .7rem/1.4 var(--f-body);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass-dk);
}
.field__opt{
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--ink-60);
  opacity: .8;
}
.field input,
.field textarea{
  font: 400 1rem/1.5 var(--f-body);
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--stone-3);
  border-radius: 2px;
  padding: .88rem 1rem;
  width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea{ resize: vertical; min-height: 132px; }

/* Qualifier dropdown. Native selects can't be styled consistently, so the
   chevron is drawn on the wrapper and the control's own arrow is removed. */
.field__select{ position: relative; }
.field__select::after{
  content: "";
  position: absolute; right: 1rem; top: 50%;
  width: 9px; height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--brass-dk);
  border-bottom: 2px solid var(--brass-dk);
  transform: rotate(45deg);
  pointer-events: none;
}
.field__select select{
  appearance: none; -webkit-appearance: none;
  font: 400 1rem/1.5 var(--f-body);
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--stone-3);
  border-radius: 2px;
  padding: .88rem 2.6rem .88rem 1rem;
  width: 100%;
  cursor: pointer;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field__select select:focus{
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(176,128,63,.18);
}
.field__select select:user-invalid{ border-color: #b3452f; }
/* Placeholder state — grey until a real choice is made. */
.field__select select:has(option[value=""]:checked){ color: #a49b8c; }
.field__select select option{ color: var(--navy); }
.field input::placeholder,
.field textarea::placeholder{ color: #a49b8c; }
.field input:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(176,128,63,.18);
}
.field input:user-invalid,
.field textarea:user-invalid{ border-color: #b3452f; }
.field__hint{
  margin: .1rem 0 0;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--ink-60);
}

#estimate-form .btn{ justify-self: start; }
.btn--sent{
  --bg: #2b6b41; --bd: #2b6b41; --fg: #fff;
  opacity: 1;
  cursor: default;
  transform: none !important;
  box-shadow: none;
}

.turnstile-box{ margin: 0; }
.cf-turnstile{ margin: .2rem 0; min-height: 65px; }

.form-status{
  margin: 0;
  padding: 1.05rem 1.15rem;
  border-left: 3px solid var(--brass);
  background: var(--stone-2);
  font-size: .95rem;
  line-height: 1.6;
  color: var(--navy);
  border-radius: 2px;
}
.form-status strong{ display: block; margin-bottom: .2rem; font-weight: 600; }
.form-status a{ color: var(--brass-dk); font-weight: 600; }
.form-status.is-ok{ border-left-color: #2b6b41; }
.form-status.is-err{ border-left-color: #b3452f; background: #f7e9e5; }

.side-card{
  background: var(--navy-900);
  color: var(--stone);
  padding: clamp(24px, 3vw, 34px);
  border-top: 3px solid var(--brass);
  box-shadow: 0 28px 60px -34px rgba(23,25,34,.85);
}
.side-card__h{
  font-family: var(--f-display);
  font-variation-settings: "opsz" 60, "SOFT" 0, "WONK" 0;
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0;
  color: var(--stone);
}
.side-card__p{
  margin: .6rem 0 0;
  font-size: .92rem; line-height: 1.6;
  color: rgba(244,240,233,.7);
}
.side-card__tel{
  display: block;
  margin: 1.2rem 0 0;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  font-weight: 700;
  font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.1rem);
  letter-spacing: -.02em;
  color: var(--brass-lt);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.side-card__tel:hover{ color: #fff; }
.side-card__row{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.1rem; }
.side-card__row .btn{ --bg: var(--stone); --bd: var(--stone); --fg: var(--navy); }
.side-card__row .btn:hover{ --bg: var(--brass-lt); --bd: var(--brass-lt); --fg: var(--navy-900); }
.side-card__mail{
  display: block;
  margin-top: 1.2rem;
  font-size: .86rem;
  color: rgba(244,240,233,.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(244,240,233,.2);
  padding-bottom: .5rem;
  overflow-wrap: anywhere;
}
.side-card__mail:hover{ color: var(--brass-lt); }

.side-list{ margin: clamp(24px, 3vw, 32px) 0 0; }
.side-list > div{
  padding: .8rem 0;
  border-bottom: 1px solid var(--stone-3);
}
.side-list dt{
  font: 500 .66rem/1.5 var(--f-body);
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--brass-dk);
}
.side-list dd{ margin: .25rem 0 0; font-size: .93rem; line-height: 1.55; color: var(--navy); }

.contact .visit__social{ margin-top: 1.5rem; }

@media (min-width: 900px){
  .contact{ grid-template-columns: 1.12fr .88fr; gap: clamp(44px, 5vw, 76px); }
}

/* ── motion safety ──────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .rise{ opacity: 1; transform: none; }
  .strip__track{ animation: none; }
}

/* === site credit (injected by credit_footer.py); do not hand-edit === */
.site-credit {
  margin: 2.25rem 0 0;
  padding-inline: 1.25rem;
  font-size: .73rem;
  line-height: 1.5;
  letter-spacing: .06em;
  text-align: center;
  opacity: .65;
}
.site-credit a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(128, 128, 128, .5);
  border-bottom: 1px solid color-mix(in srgb, currentColor 45%, transparent);
  transition: border-bottom-color .25s ease;
}
.site-credit a:hover,
.site-credit a:focus-visible { border-bottom-color: currentColor; }
@media (prefers-reduced-motion: reduce) {
  .site-credit a { transition: none; }
}
/* === end site credit === */
