/* ==========================================================================
   Ted's Construction & Sons — "Square & Level"
   Concept: a family builder's precision, told in the language of the drafting
   table. One bold move: a blueprint-navy hero on a faint drafting grid, with a
   self-drawing gable ELEVATION + dimension lines as the signature. Everything
   else stays quiet: cool vellum paper, disciplined cards, a tape-measure tick
   rule as the section divider (ticks encode "measured — to the inch").
   Type: Archivo (heavy industrial display) + IBM Plex Sans (body) +
   IBM Plex Mono (measurements / spec labels — the builder's own notation).
   ========================================================================== */

:root {
  /* palette — blueprint & brass (cool vellum, NOT warm cream) */
  --navy-900: #0f1b28;   /* blueprint ink — hero & dark fields */
  --navy-800: #14273a;   /* raised dark surface */
  --navy-700: #1b3247;   /* card on dark */
  --ink:      #16202a;   /* near-black slate text */
  --ink-soft: #56616e;   /* muted slate body text */

  --paper:    #e9edf1;   /* cool drafting vellum — page */
  --paper-2:  #dfe5ea;   /* deeper band */
  --surface:  #f7f9fb;   /* card white, cool */

  --brass:      #c1852f; /* structural brass — CTAs, measurements */
  --brass-soft: #dcae66; /* light brass — on-navy accents */
  --brass-deep: #a56d21; /* pressed / hover */
  --rust:       #9d4327; /* masonry brick — sparing accent */

  --grid-line: rgba(120,170,205,.14);  /* blueprint grid on navy */
  --hair-dark: rgba(220,174,102,.26);  /* brass hairline on navy */
  --hair:      rgba(22,32,42,.14);      /* hairline on paper */

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --maxw: 1220px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);

  --shadow-sm: 0 1px 2px rgba(15,27,40,.08), 0 6px 18px rgba(15,27,40,.07);
  --shadow-md: 0 14px 34px rgba(15,27,40,.16), 0 34px 70px rgba(15,27,40,.13);
  --shadow-glow: 0 28px 80px rgba(6,14,24,.55);
  --radius: 4px;   /* squared corners — engineered, not soft */
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -.01em; }
p { margin: 0; }
button { font-family: inherit; }

/* ---------- shared ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* eyebrow — mono spec label, the builder's notation */
.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--brass-deep);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--brass);
  display: inline-block;
}

/* buttons — squared, structural */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--display);
  font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .95rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
  will-change: transform;
}
.btn:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.btn-primary { background: var(--brass); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--brass-deep); color: #fff; }
.btn-dark { background: var(--navy-900); color: var(--paper); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--navy-800); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(22,32,42,.28); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--ink); }

/* section rhythm */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.section-head h2 {
  font-size: clamp(2.1rem, 5.6vw, 3.7rem);
  text-transform: uppercase; letter-spacing: -.015em;
  margin-top: 1rem; line-height: .98;
}
.section-head p { color: var(--ink-soft); margin-top: 1.1rem; font-size: 1.06rem; max-width: 60ch; }

/* the signature divider — a tape-measure tick rule (measured, to the inch) */
.tick-rule {
  height: 26px; width: 100%;
  background:
    /* long ticks every 96px, short ticks every 16px */
    repeating-linear-gradient(90deg, var(--brass) 0 1.5px, transparent 1.5px 96px) bottom/100% 15px no-repeat,
    repeating-linear-gradient(90deg, rgba(22,32,42,.35) 0 1px, transparent 1px 16px) bottom/100% 8px no-repeat;
  border-bottom: 2px solid rgba(22,32,42,.25);
  opacity: .8;
}
.tick-rule.on-dark {
  background:
    repeating-linear-gradient(90deg, var(--brass-soft) 0 1.5px, transparent 1.5px 96px) bottom/100% 15px no-repeat,
    repeating-linear-gradient(90deg, rgba(220,174,102,.4) 0 1px, transparent 1px 16px) bottom/100% 8px no-repeat;
  border-bottom: 2px solid var(--hair-dark);
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(233,237,241,.86);
  backdrop-filter: saturate(1.1) blur(12px);
  border-bottom: 1px solid var(--hair);
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand .glyph { color: var(--brass-deep); flex: none; }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand .wm-1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.02rem; letter-spacing: .01em; color: var(--ink); }
.brand .wm-2 { font-family: var(--mono); font-size: .6rem; letter-spacing: .22em; color: var(--ink-soft); text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; gap: 1.9rem; }
.nav-links a {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .04em;
  font-size: .82rem; font-weight: 600; color: var(--ink);
  position: relative; padding: .2rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
  background: var(--brass); transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { width: 100%; }
.nav-phone { font-family: var(--mono); font-weight: 500; font-size: .84rem; display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); }
.nav-phone svg { color: var(--brass-deep); }
.nav-cta { padding: .68rem 1.15rem; font-size: .74rem; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .3rem; color: var(--ink); }

@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu.open { display: flex; }
}
.mobile-menu {
  display: none; flex-direction: column; gap: .1rem;
  padding: .5rem var(--gutter) 1.25rem;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
}
.mobile-menu a { padding: .8rem 0; border-bottom: 1px solid var(--hair); font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-weight: 600; font-size: .9rem; }
.mobile-menu .btn { margin-top: .9rem; }

/* ==========================================================================
   Hero — blueprint navy + drafting grid + self-drawing elevation
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(15,27,40,.0), rgba(15,27,40,.35)),
    radial-gradient(120% 90% at 82% 6%, rgba(193,133,47,.20), transparent 55%),
    var(--navy-900);
  padding-block: clamp(3.25rem, 7vw, 6rem) clamp(4rem, 9vw, 7rem);
}
/* faint blueprint grid */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(130% 100% at 60% 30%, #000 40%, transparent 88%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; position: relative; z-index: 2;
}
.hero .eyebrow { color: var(--brass-soft); }
.hero .eyebrow::before { background: var(--brass-soft); }
.hero-copy h1 {
  font-size: clamp(2.8rem, 8.2vw, 5.9rem);
  text-transform: uppercase; letter-spacing: -.02em; line-height: .92;
  margin: 1.15rem 0 0; font-weight: 900;
}
.hero-copy h1 .line { display: block; overflow: hidden; }
.hero-copy h1 .line > span { display: block; }
.hero-copy h1 .accent { color: var(--brass-soft); }
.hero-copy .sub {
  margin-top: 1.5rem; font-size: 1.14rem; color: rgba(233,237,241,.82);
  max-width: 42ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; }
.hero .btn-ghost { color: var(--paper); border-color: rgba(233,237,241,.4); }
.hero .btn-ghost:hover { border-color: var(--paper); background: rgba(233,237,241,.07); }
.hero-trust {
  margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .7rem 1.7rem;
  align-items: center; font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; color: rgba(233,237,241,.72);
}
.hero-trust span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust b { color: var(--paper); font-weight: 600; }
.hero-trust .dot { width: 6px; height: 6px; background: var(--brass); display: inline-block; transform: rotate(45deg); }

/* hero visual */
.hero-visual { position: relative; }
.hero-frame {
  position: relative; overflow: hidden; border-radius: var(--radius);
  box-shadow: var(--shadow-glow);
  aspect-ratio: 4 / 5;
  border: 1px solid var(--hair-dark);
  outline: 1px solid rgba(233,237,241,.06); outline-offset: -10px;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
/* corner registration marks — drafting detail */
.hero-frame::after {
  content: ""; position: absolute; inset: 12px; pointer-events: none;
  background:
    linear-gradient(var(--brass-soft),var(--brass-soft)) left top/16px 1.5px no-repeat,
    linear-gradient(var(--brass-soft),var(--brass-soft)) left top/1.5px 16px no-repeat,
    linear-gradient(var(--brass-soft),var(--brass-soft)) right top/16px 1.5px no-repeat,
    linear-gradient(var(--brass-soft),var(--brass-soft)) right top/1.5px 16px no-repeat,
    linear-gradient(var(--brass-soft),var(--brass-soft)) left bottom/16px 1.5px no-repeat,
    linear-gradient(var(--brass-soft),var(--brass-soft)) left bottom/1.5px 16px no-repeat,
    linear-gradient(var(--brass-soft),var(--brass-soft)) right bottom/16px 1.5px no-repeat,
    linear-gradient(var(--brass-soft),var(--brass-soft)) right bottom/1.5px 16px no-repeat;
  opacity: .8;
}
.hero-badge {
  position: absolute; left: -16px; bottom: 34px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--hair); border-left: 4px solid var(--brass);
  padding: .85rem 1.1rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .8rem; max-width: 250px;
}
.hero-badge .num { font-family: var(--display); font-weight: 900; font-size: 2.5rem; color: var(--rust); line-height: .9; }
.hero-badge .lbl { font-family: var(--mono); font-size: .68rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }

/* the signature elevation — self-drawing gable + dimension line */
.elevation {
  position: absolute; z-index: 1; pointer-events: none;
  top: 50%; right: clamp(-30px, 2vw, 30px); transform: translateY(-50%);
  width: min(430px, 46vw); height: auto; color: var(--brass-soft); opacity: .5;
}
.elevation path, .elevation line, .elevation polyline { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.elevation .dim { stroke-width: 1; opacity: .8; }
.elevation .draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.hero-loaded .elevation .draw { animation: draw 2.4s cubic-bezier(.22,.61,.36,1) forwards; }
.hero-loaded .elevation .d2 { animation-delay: .35s; }
.hero-loaded .elevation .d3 { animation-delay: .7s; }
.elevation .dim-label { fill: var(--brass-soft); stroke: none; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; opacity: 0; }
.hero-loaded .elevation .dim-label { animation: fade 1s ease 1.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: .85; } }
@media (prefers-reduced-motion: reduce) {
  .elevation .draw { stroke-dashoffset: 0; }
  .elevation .dim-label { opacity: .85; }
}

/* orchestrated headline rise */
.hero-copy h1 .line > span { transform: translateY(100%); }
.hero-loaded .hero-copy h1 .line > span { animation: rise .8s cubic-bezier(.22,.61,.36,1) forwards; }
.hero-loaded .hero-copy h1 .l1 > span { animation-delay: .05s; }
.hero-loaded .hero-copy h1 .l2 > span { animation-delay: .16s; }
.hero-loaded .hero-copy h1 .l3 > span { animation-delay: .27s; }
@keyframes rise { to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-copy h1 .line > span { transform: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { max-width: 430px; margin-inline: auto; width: 100%; }
  .hero-copy .sub { max-width: none; }
  .elevation { display: none; }
}

/* ==========================================================================
   Marquee / services strip
   ========================================================================== */
.strip {
  background: var(--navy-800); color: var(--paper);
  overflow: hidden; white-space: nowrap; padding-block: .8rem;
  border-block: 1px solid var(--hair-dark);
}
.strip-track { display: inline-flex; gap: 2.6rem; animation: marquee 38s linear infinite; }
.strip-track span { font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; opacity: .9; }
.strip-track span::before { content: "▸"; color: var(--brass-soft); margin-right: 2.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ==========================================================================
   Services
   ========================================================================== */
#services { background: var(--paper); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.svc {
  background: var(--surface); padding: 1.9rem 1.7rem;
  transition: background .2s ease, transform .2s ease;
  position: relative;
}
.svc:hover { background: #fff; }
.svc .ico { width: 42px; height: 42px; color: var(--brass-deep); margin-bottom: 1.1rem; }
.svc h3 { font-size: 1.28rem; text-transform: uppercase; letter-spacing: -.005em; }
.svc p { color: var(--ink-soft); font-size: .95rem; margin-top: .55rem; }
.svc .tag { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); position: absolute; top: 1.4rem; right: 1.5rem; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Work / portfolio
   ========================================================================== */
#work { background: var(--paper-2); }
.work-grid { columns: 3; column-gap: 14px; }
.work-grid figure {
  margin: 0 0 14px; break-inside: avoid; position: relative;
  overflow: hidden; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--hair);
  background: #fff;
}
.work-grid img { width: 100%; height: auto; transition: transform .5s ease; }
.work-grid figure:hover img { transform: scale(1.04); }
.work-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.3rem .9rem .8rem; color: #fff;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  background: linear-gradient(transparent, rgba(15,27,40,.82));
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
}
.work-grid figure:hover figcaption { opacity: 1; transform: none; }
@media (max-width: 900px) { .work-grid { columns: 2; } }
@media (max-width: 540px) { .work-grid { columns: 1; } .work-grid figcaption { opacity: 1; transform: none; } }

/* ==========================================================================
   About / & Sons
   ========================================================================== */
#about { background: var(--navy-900); color: var(--paper); position: relative; overflow: hidden; }
#about::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(120% 100% at 15% 50%, #000 30%, transparent 80%);
}
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; z-index: 2; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow-glow); aspect-ratio: 4/3; object-fit: cover; width: 100%; border: 1px solid var(--hair-dark); }
.about-photo .stamp {
  position: absolute; bottom: -18px; left: -14px;
  background: var(--brass); color: var(--navy-900);
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
  font-size: .82rem; padding: .7rem 1rem; box-shadow: var(--shadow-md); line-height: 1.1;
}
.about-copy .eyebrow { color: var(--brass-soft); }
.about-copy .eyebrow::before { background: var(--brass-soft); }
.about-copy h2 { font-size: clamp(2rem, 5.2vw, 3.3rem); text-transform: uppercase; margin-top: 1rem; color: var(--paper); }
.about-copy p { color: rgba(233,237,241,.8); margin-top: 1.15rem; font-size: 1.06rem; }
.about-list { list-style: none; padding: 0; margin: 1.7rem 0 0; display: grid; gap: .75rem; }
.about-list li { display: flex; gap: .7rem; align-items: flex-start; color: rgba(233,237,241,.9); }
.about-list li svg { color: var(--brass-soft); flex: none; margin-top: 3px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 2.2rem; background: var(--hair-dark); border: 1px solid var(--hair-dark); }
.about-stats .cell { background: var(--navy-800); padding: 1.2rem 1rem; text-align: center; }
.about-stats .n { font-family: var(--display); font-weight: 900; font-size: 2rem; color: var(--brass-soft); line-height: 1; }
.about-stats .l { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(233,237,241,.65); margin-top: .5rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 480px; } }

/* ==========================================================================
   Promise / why homeowners call us
   ========================================================================== */
#promise { background: var(--paper); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.promise {
  background: var(--surface); border: 1px solid var(--hair); border-top: 3px solid var(--brass);
  padding: 1.9rem 1.6rem; border-radius: var(--radius);
}
.promise .k { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); }
.promise h3 { font-size: 1.35rem; text-transform: uppercase; margin-top: .8rem; }
.promise p { color: var(--ink-soft); font-size: .96rem; margin-top: .6rem; }
.promise-note { margin-top: 1.6rem; font-family: var(--mono); font-size: .74rem; color: var(--ink-soft); }
@media (max-width: 820px) { .promise-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Estimate / booking
   ========================================================================== */
#estimate { background: var(--paper-2); position: relative; }
.est-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.est-pitch h2 { font-size: clamp(2rem, 5.2vw, 3.4rem); text-transform: uppercase; }
.est-pitch p { color: var(--ink-soft); margin-top: 1.15rem; font-size: 1.06rem; }
.ai-chip {
  margin-top: 2rem; display: flex; gap: .9rem; align-items: center;
  padding: 1.05rem 1.2rem; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(193,133,47,.14), rgba(157,67,39,.09));
  border: 1px solid rgba(193,133,47,.35); border-left: 4px solid var(--brass);
}
.ai-chip .ico { width: 42px; height: 42px; border-radius: var(--radius); background: var(--navy-900); color: var(--brass-soft); display: grid; place-items: center; flex: none; }
.ai-chip b { display: block; font-size: .96rem; font-family: var(--display); text-transform: uppercase; letter-spacing: .01em; }
.ai-chip > div span { font-size: .84rem; color: var(--ink-soft); }
.ai-chip .soon { margin-left: auto; align-self: flex-start; font-family: var(--mono); font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; background: var(--brass); color: var(--navy-900); padding: .28rem .55rem; border-radius: 2px; font-weight: 600; white-space: nowrap; }

.est-card {
  background: var(--surface); border: 1px solid var(--hair);
  border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.3rem); box-shadow: var(--shadow-md);
}
.est-card h3 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 1.3rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .4rem; color: var(--ink); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid rgba(22,32,42,.24); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(193,133,47,.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.est-card .btn-primary { width: 100%; margin-top: .5rem; }
.form-hint { font-family: var(--mono); font-size: .72rem; color: var(--ink-soft); margin-top: .8rem; text-align: center; }
.est-success { display: none; text-align: center; padding: 2rem 1rem; }
.est-success.show { display: block; }
.est-success .check { width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: var(--radius); background: var(--brass); color: var(--navy-900); display: grid; place-items: center; }
.est-success h3 { color: var(--ink); font-size: 1.6rem; text-transform: uppercase; }
.est-success p { color: var(--ink-soft); margin-top: .7rem; }
@media (max-width: 860px) { .est-grid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   Contact / service area
   ========================================================================== */
#contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-row { display: flex; gap: .85rem; align-items: flex-start; padding-bottom: 1.1rem; border-bottom: 1px solid var(--hair); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ico { width: 38px; height: 38px; border-radius: var(--radius); background: var(--navy-900); color: var(--brass-soft); display: grid; place-items: center; flex: none; }
.contact-row .k { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.contact-row .v { font-family: var(--display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .01em; margin-top: 2px; }
.contact-row .v a { color: inherit; }
.contact-row .v.small { font-size: .95rem; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hair); box-shadow: var(--shadow-sm); min-height: 340px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: grayscale(.2) contrast(1.02); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: rgba(233,237,241,.72); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand .wm-1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; color: var(--paper); font-size: 1.1rem; }
.footer-brand .wm-2 { font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-soft); margin-top: 3px; }
.footer-brand p { margin-top: 1rem; font-size: .92rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; color: var(--paper); margin-bottom: 1rem; }
.footer-col a, .footer-col p { display: block; font-size: .9rem; padding: .28rem 0; color: rgba(233,237,241,.72); }
.footer-col a:hover { color: var(--brass-soft); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; padding: 1.4rem 0 2rem; border-top: 1px solid var(--hair-dark); font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
