/* Hive-Rise site styles. One file, no framework.
   Palette from the live brand: deep green, forest, bone, gold. */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("/assets/fonts/oswald-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Great Vibes"; src: url("/assets/fonts/great-vibes-hello.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bone: #f6f2ea;
  --paper: #fffdf8;
  --sand: #ece5d6;
  --line: #ddd4c2;
  --ink: #1f2b22;
  --muted: #55615a;
  --green: #17431e;
  --forest: #2f6036;
  --sage: #779053;
  --gold: #d4913a;
  --gold-ink: #8a5a14;
  --gold-bright: #f5d76e;
  --radius: 2px;
  --shadow: 0 1px 2px rgba(23, 67, 30, .06), 0 8px 24px rgba(23, 67, 30, .07);
  --wrap: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --label: "Oswald", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
h1, h2, h3 { font-family: var(--serif); color: var(--green); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.25; font-variation-settings: "opsz" 24; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: var(--bone); padding: 8px 14px; border-radius: 2px; z-index: 50; }
.skip:focus { left: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section.paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.green { background: var(--green); color: #e9efe4; }
.section.green h2, .section.green h3 { color: var(--bone); }
.section.green a:not(.btn) { color: #f1c27f; }
.eyebrow { font: 500 .8rem/1.2 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 14px; }
.section.green .eyebrow { color: var(--gold); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.section.green .lede { color: #cfdac9; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

/* Buttons: squared corners, raised with a bevel, darker on hover */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1 var(--sans); padding: 15px 22px; border-radius: 2px; text-decoration: none; border: 0; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; min-height: 48px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--forest); color: var(--bone); box-shadow: 0 2px 4px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -3px 0 var(--green); }
.btn-primary:hover { background: var(--green); color: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -3px 0 #0b2210; }
.btn-ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green), inset 0 -3px 0 rgba(23, 67, 30, .3); }
.btn-ghost:hover { background: var(--green); color: var(--bone); box-shadow: inset 0 0 0 1.5px var(--green), inset 0 -3px 0 #0b2210; }
.btn-gold { background: var(--gold-bright); color: #3d2e1a; box-shadow: 0 2px 4px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -3px 0 #a8862c; }
.btn-gold:hover { background: #e8c44e; color: #2a1f10; box-shadow: 0 2px 4px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -3px 0 #8a6d1e; }
.section.green .btn-ghost, .hero-anne .btn-ghost { color: var(--bone); box-shadow: inset 0 0 0 1.5px rgba(246, 242, 234, .65), inset 0 -3px 0 rgba(0, 0, 0, .3); }
.section.green .btn-ghost:hover, .hero-anne .btn-ghost:hover { background: var(--bone); color: var(--green); box-shadow: inset 0 0 0 1.5px var(--bone), inset 0 -3px 0 #c9bfa8; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center .actions { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(246, 242, 234, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand-name { font: 500 1.35rem/1 var(--label); letter-spacing: .06em; text-transform: uppercase; }
.brand-sub { display: block; font: 500 .62rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 10px 12px; border-radius: 2px; }
.nav a:hover { background: var(--sand); color: var(--green); }
.nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.header-cta { display: flex; align-items: center; gap: 8px; }
.header-cta .btn { padding: 11px 16px; min-height: 44px; font-size: .95rem; white-space: nowrap; }
.contact-pill { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; text-decoration: none; padding: 10px 12px; border-radius: 2px; font-size: .95rem; }
.contact-pill:hover { background: var(--sand); }
.contact-pill svg { width: 18px; height: 18px; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--line); border-radius: 2px; width: 46px; height: 46px; color: var(--green); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }
.mobile-bar { display: none; }

@media (max-width: 1020px) {
  .nav, .header-cta .btn-ghost-sm { display: none; }
  .menu-btn { display: grid; }
  .site-header.open .nav { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 20px 18px; box-shadow: var(--shadow); }
  .site-header.open .nav a { padding: 14px 8px; border-bottom: 1px solid var(--sand); }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
  .brand-sub { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .mobile-bar .btn { padding: 12px 8px; font-size: .95rem; }
  body { padding-bottom: 76px; }
}

/* Hero: Anne on deep green, a real build on the right with a map scan filling in over it */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--bone); }
.hero-anne { background: var(--green); color: var(--bone); padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px) clamp(48px, 5vw, 80px) max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); display: flex; flex-direction: column; justify-content: center; }
.hero-meet { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 44px; padding-top: 4px; }
.hero-pic { position: relative; display: block; margin: 0 28px 12px 0; flex: none; }
.hero-pic > img:first-child { width: clamp(120px, 11vw, 150px); aspect-ratio: 19 / 23; object-fit: cover; object-position: top; border-radius: 2px; box-shadow: 12px 12px 0 var(--gold); }
.hero-badge { position: absolute; right: -40px; bottom: -14px; width: clamp(76px, 6vw, 92px); height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.hero-meet div { max-width: 260px; }
.hello { font: 400 2.2rem/1 "Great Vibes", cursive; color: var(--gold-bright); margin: 0 0 6px; white-space: nowrap; }
.hero-meet p:last-child { font-size: .95rem; line-height: 1.5; color: #d4c8a8; margin: 0; }
.hero h1 { color: var(--bone); margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--gold-bright); display: block; }
.hero-anne .lede { color: #e8dfcf; }
.hero-show { background: var(--forest); color: #e9efe4; padding: clamp(36px, 4.5vw, 60px) max(20px, calc((100vw - var(--wrap)) / 2 + 20px)) clamp(40px, 5vw, 64px) clamp(24px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.hero-show .eyebrow { margin-bottom: 0; color: var(--gold-bright); }
.hero-show h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 0 0 10px; color: var(--bone); }

/* The map scan. Dot colors and the pattern come from the figure's data attributes (see index.html); these are the fallbacks. */
.map-scan { --map-red: #d64541; --map-gold: #e8a84c; --map-green: #34a853; margin: 14px 0 0; position: relative; }
.map-scan .frame { position: relative; background: #1d1d1b; border-radius: 2px; padding: 10px 10px 12px; box-shadow: 0 26px 60px rgba(0, 0, 0, .35); }
.map-scan .screen { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0f1a24; }
.map-scan .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.map-scan .wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 22, 16, 0) 36%, rgba(10, 22, 16, .35) 62%); }
.map-scan .scan { position: absolute; right: 2%; top: 7%; width: 60%; aspect-ratio: 1; height: auto; overflow: visible; }
.map-scan .base { height: 12px; margin: 0 -14px; background: linear-gradient(180deg, #d8cfbd, #a99f8c); border-radius: 0 0 2px 2px; }
.map-scan .built-by { position: absolute; top: -12px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; background: var(--paper); color: var(--green); border: 1px solid var(--line); border-radius: 2px; padding: 5px 10px 5px 6px; font: 500 .72rem/1 var(--label); letter-spacing: .12em; text-transform: uppercase; box-shadow: var(--shadow); }
.map-scan .built-by img { width: 22px; height: 22px; }
.map-scan .legend { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: #e9efe4; }
.map-scan .legend li { display: inline-flex; align-items: center; gap: 8px; }
.map-scan .legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.map-scan .legend .lr { background: var(--map-red); } .map-scan .legend .ly { background: var(--map-gold); } .map-scan .legend .lg { background: var(--map-green); }
.map-scan figcaption { margin: 10px 0 0; font-size: .88rem; line-height: 1.55; color: #cfdac9; }
.map-scan figcaption a { color: var(--gold-bright); }
.replay { margin-top: 12px; align-self: flex-start; min-height: 40px; padding: 0 16px; border: 0; border-radius: 2px; font: 600 .9rem var(--sans); cursor: pointer; background: var(--bone); color: var(--green); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -3px 0 #c9bfa8; }
.replay:hover { background: #e8e1d2; }
.replay:active { transform: translateY(1px); }

/* The hero's map card under the dots */
.scan .map-card { fill: #f6f2ea; fill-opacity: .92; stroke: #d6cdb8; stroke-width: .5; }
.scan .street { stroke: #e3dbca; stroke-width: .35; }
.scan .road { stroke: #c9bfa8; stroke-width: 1.2; fill: none; stroke-linejoin: round; }
.scan .contour { fill: none; stroke: #bfae87; stroke-width: .5; }
.scan .park { fill: #d3dec0; }
.scan .wash-line { fill: none; stroke: #c9d9e2; stroke-width: 2; stroke-linecap: round; }
.map-scan .map-label { position: absolute; right: 4%; top: 3.5%; z-index: 2; background: var(--green); color: var(--bone); border-radius: 2px; padding: 4px 8px; font: 500 .62rem/1 var(--label); letter-spacing: .12em; text-transform: uppercase; }
.map-scan.play .scan .mapbg { animation: fade-in .5s ease both; }
@media (max-width: 720px) { .map-scan .map-label { right: auto; left: 50%; transform: translateX(-50%); top: 12.5%; white-space: nowrap; } }

/* Dots: each circle carries --c (its finished color) and --k (its place in the fill order, set by site.js). */
.scan circle { r: 4.2px; fill: var(--c); fill-opacity: .85; stroke: #fff; stroke-width: .7; stroke-opacity: .9; transform-box: fill-box; transform-origin: center; }
.scan .d-r { --c: var(--map-red); } .scan .d-y { --c: var(--map-gold); } .scan .d-g { --c: var(--map-green); }
.scan .pin { fill: #ea4335; stroke: #fff; stroke-width: 1; }
.scan .pin-dot { fill: #b31412; }
.map-scan.play .scan circle { animation: dot-pop .4s ease calc(var(--k) * 14ms) both, dot-turn 1.6s ease-in-out calc(.9s + var(--k) * 90ms) both; }
.map-scan.play .scan .pin, .map-scan.play .scan .pin-dot { animation: fade-in .4s ease .25s both; }
.map-scan.play .wash { animation: fade-in .5s ease both; }
@keyframes dot-pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes dot-turn { 0% { fill: var(--map-red); } 55% { fill: var(--map-gold); } 100% { fill: var(--c); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .map-scan .scan circle, .map-scan .scan .pin, .map-scan .scan .pin-dot, .map-scan .wash, .map-scan .scan .mapbg { animation: none !important; }
  .replay { display: none; }
  .btn:active, .replay:active { transform: none; }
}

/* Static scan samples on the local SEO page: a plain map square, dots drawn by site.js, no motion */
.scan-sample { margin: 0; }
.scan-sample .map { --map-red: #d64541; --map-gold: #e8a84c; --map-green: #34a853; position: relative; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; background: linear-gradient(90deg, transparent 0 47.5%, #d6cdb8 47.5% 52.5%, transparent 52.5%), linear-gradient(0deg, transparent 0 47.5%, #d6cdb8 47.5% 52.5%, transparent 52.5%), repeating-linear-gradient(90deg, transparent 0 13.6%, #e4ddcc 13.6% 14.3%), repeating-linear-gradient(0deg, transparent 0 13.6%, #e4ddcc 13.6% 14.3%), #efe9da; }
.scan-sample .scan { position: absolute; inset: 5%; width: 90%; height: 90%; overflow: visible; }
.scan-sample .label { position: absolute; top: 10px; left: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: 5px 9px; font: 500 .72rem/1 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.scan-sample figcaption { margin-top: 10px; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.scan-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.scan-explain { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.scan-explain .scan-sample { max-width: 380px; }
.legend { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; color: var(--ink); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.legend .lr { background: #d64541; } .legend .ly { background: #e8a84c; } .legend .lg { background: #34a853; }
@media (max-width: 760px) { .scan-pair { grid-template-columns: 1fr; } .scan-explain { grid-template-columns: 1fr; } .scan-explain .scan-sample { max-width: 320px; } }

/* Industries list on the services page */
.industries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 20px; }
.industries li { border-top: 2px solid var(--forest); padding: 12px 2px 6px; }
.industries strong { display: block; color: var(--green); font-family: var(--serif); font-size: 1.1rem; font-variation-settings: "opsz" 24; }
.industries span { color: var(--muted); font-size: .92rem; }
.industries a { color: var(--forest); text-decoration: none; }
.industries a:hover { text-decoration: underline; }
@media (max-width: 900px) { .industries { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .industries { grid-template-columns: repeat(2, 1fr); } }

.card-label { display: block; margin: 0 0 10px; }
.scan-note { margin-top: 14px; }

/* Craft points under the hero */
.craft { background: var(--paper); border-bottom: 1px solid var(--line); padding: 28px 0; }
.craft ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 24px; }
.craft li { padding: 8px 18px; border-left: 3px solid var(--gold); }
.craft strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--green); font-variation-settings: "opsz" 24; }
.craft span { font-size: .92rem; line-height: 1.5; color: var(--muted); }

@media (max-width: 1020px) {
  .hero-anne { padding-left: 24px; }
  .hero-show { padding-right: 24px; }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-anne { padding: 40px 20px 48px; }
  .hero-meet { justify-content: center; text-align: center; margin-top: 32px; }
  .hero-pic { margin: 0 0 16px 0; padding-right: 36px; }
  .hero-pic > img:first-child { width: 130px; }
  .hero-badge { width: 84px; right: -6px; bottom: -12px; }
  .hero-meet div { flex: 1 1 100%; max-width: none; }
  .hero-show { padding: 36px 20px 44px; }
  .craft ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  /* Phone: his site in a phone frame, the scan over the whole screen */
  .map-scan .frame { width: min(300px, 78vw); margin: 18px auto 0; padding: 12px 10px; border-radius: 22px; }
  .map-scan .screen { aspect-ratio: 1 / 2; border-radius: 14px; }
  .map-scan .wash { background: linear-gradient(180deg, rgba(10, 22, 16, .25), rgba(10, 22, 16, .5)); }
  .map-scan .scan { right: auto; left: 8%; top: 17%; width: 84%; }
  .scan circle { r: 3.6px; }
  .map-scan .base { display: none; }
  .map-scan .built-by { left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .map-scan .legend { justify-content: center; }
  .map-scan figcaption { text-align: center; }
  .replay { align-self: center; }
  .hero-show .eyebrow, .hero-show h2 { text-align: center; }
}
@media (max-width: 560px) {
  .hero .actions .btn { width: 100%; }
  .craft ul { grid-template-columns: 1fr; gap: 8px; }
}

/* About page opener */
.about-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px); }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-grid h1 { margin-bottom: .35em; }
.about-grid .portrait { justify-self: end; max-width: 380px; width: 100%; margin: 0 14px 14px 0; }
.about-grid .portrait img { width: 100%; aspect-ratio: 400 / 531; object-fit: cover; object-position: top; border-radius: 2px; box-shadow: 14px 14px 0 var(--gold); }
.stars { color: var(--gold); letter-spacing: 2px; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about-grid .portrait { justify-self: center; max-width: 280px; } }

/* Client names */
.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; background: var(--paper); }
.clients p { font: 500 .78rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 16px; }
.clients ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; }
.clients ul { gap: 14px 34px; align-items: center; }
.clients li a { display: block; padding: 4px; border-radius: 2px; transition: transform .15s; }
.clients li a:hover { transform: translateY(-2px); }
.clients li img { height: 48px; width: auto; max-width: 170px; object-fit: contain; }
@media (max-width: 640px) { .clients ul { gap: 12px 22px; } .clients li img { height: 36px; max-width: 130px; } }

/* Grids and cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-2 > .card { align-self: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* Built well / wired in */
.wired { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.wired > div { padding: clamp(24px, 4vw, 40px); }
.wired > div + div { border-left: 1px solid var(--line); background: #f9f6ef; }
.wired .tag { font: 500 .78rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.wired h3 { font-size: 1.6rem; margin: 10px 0 14px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 8px 0 8px 30px; border-top: 1px solid var(--sand); }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 14px; height: 8px; border-left: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: rotate(-45deg); }
@media (max-width: 760px) { .wired { grid-template-columns: 1fr; } .wired > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Where people look */
.searches { background: var(--paper); border-top: 1px solid var(--line); }
.search-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.search-grid li { background: var(--bone); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: inset 4px 0 0 var(--forest); }
.search-grid strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--green); margin-bottom: 6px; font-variation-settings: "opsz" 24; }
.search-grid span { color: var(--muted); font-size: .97rem; line-height: 1.5; }
@media (max-width: 900px) { .search-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .search-grid { grid-template-columns: 1fr; } }

/* Two ways in: getting found, then the builds */
.paths { display: grid; gap: 28px; }
.path { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bone); padding: clamp(22px, 3vw, 34px); }
.path > .kicker { font: 500 .8rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 8px; }
.path > h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: .3em; }
.path > p:not(.kicker) { color: var(--muted); max-width: 70ch; margin-bottom: 22px; }
.path .ladder { gap: 18px; }

/* Product ladder */
.ladder .card { display: flex; flex-direction: column; position: relative; }
.ladder .card .kicker { font: 500 .78rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
.ladder .card p { color: var(--muted); }
.ladder .card .more { margin-top: auto; padding-top: 10px; font-weight: 600; }
.ladder .card.feature { border-color: var(--forest); box-shadow: inset 0 3px 0 var(--forest); }
.aside-line { margin-top: 26px; padding: 18px 22px; border-radius: var(--radius); background: var(--sand); color: var(--ink); }
.aside-line strong { color: var(--green); }

/* Work cards */
.work-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.work-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.work-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.work-card .body { padding: 20px 22px 24px; }
.work-card .type { font: 500 .74rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.work-card h3 { margin: 8px 0 8px; font-size: 1.25rem; }
.work-card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: step; border-top: 2px solid var(--green); padding-top: 18px; }
.steps li::before { content: "0" counter(step); font: 500 .85rem/1 var(--label); letter-spacing: .14em; color: var(--gold-ink); display: block; margin-bottom: 12px; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Promise */
.promise { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.promise blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.25; color: var(--bone); }
.promise p { color: #cfdac9; }
@media (max-width: 820px) { .promise { grid-template-columns: 1fr; } }

/* Reviews */
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; margin: 0; }
.review blockquote { margin: 0 0 18px; font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; color: var(--ink); font-variation-settings: "opsz" 24; }
.review figcaption { margin-top: auto; font-size: .95rem; }
.review figcaption strong { display: block; color: var(--green); }
.review figcaption span { color: var(--muted); }
.rating { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 30px; }

/* Closing band */
.closing { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.closing img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: top; border: 4px solid var(--paper); box-shadow: var(--shadow); }
.section.closing-band { background: var(--sand); }
@media (max-width: 640px) { .closing { grid-template-columns: 1fr; } }

/* Page header for inner pages */
.page-head { padding: clamp(44px, 6vw, 80px) 0 clamp(28px, 4vw, 44px); }
.page-head .lede { margin-bottom: 0; }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose li { margin-bottom: .4em; }
.cities { columns: 2; list-style: none; padding: 0; }
.cities li { padding: 4px 0; }

/* Pricing */
.price-grid .card { display: flex; flex-direction: column; }
.price-grid .card.feature { border: 2px solid var(--forest); position: relative; }
.badge-pop { position: absolute; top: -13px; left: 24px; background: var(--forest); color: #fff; font: 500 .72rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border-radius: 2px; }
.price { font-family: var(--serif); font-size: 2.2rem; color: var(--green); line-height: 1; margin: 14px 0 4px; }
.price small { display: block; margin-top: 6px; font: 400 .9rem var(--sans); color: var(--muted); }
.tagline { color: var(--gold-ink); font-weight: 600; margin-bottom: 10px; }
.price-grid .ticks { margin: 16px 0 22px; font-size: .97rem; }
.price-grid .btn { margin-top: auto; }
.step-label { font: 500 .8rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 2px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 600; color: var(--green); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 1.5rem/1 var(--sans); color: var(--gold-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }

/* Portfolio */
.case { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.case:nth-of-type(even) .case-img { order: 2; }
.case-img img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.case h2 { margin-bottom: .2em; }
.case .sub { font-family: var(--serif); font-style: italic; color: var(--forest); font-size: 1.15rem; margin-bottom: 18px; }
.case h3 { font-family: var(--label); font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 18px 0 6px; }
.case .insight { border-left: 3px solid var(--gold); padding-left: 14px; color: var(--muted); font-style: italic; }
.pill { display: inline-block; font: 500 .72rem/1 var(--label); letter-spacing: .12em; text-transform: uppercase; background: var(--sand); color: var(--green); padding: 7px 10px; border-radius: 2px; margin-right: 6px; }
@media (max-width: 820px) { .case { grid-template-columns: 1fr; } .case:nth-of-type(even) .case-img { order: 0; } }

/* Forms */
.form-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } }
form.card { padding: clamp(22px, 3vw, 34px); }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 600; color: var(--green); margin-bottom: 6px; font-size: .97rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 2px; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { border-color: var(--forest); outline: none; box-shadow: 0 0 0 3px rgba(47, 96, 54, .15); }
.field textarea { min-height: 130px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); border: 1.5px solid var(--line); border-radius: 2px; padding: 9px 16px; cursor: pointer; margin: 0; background: #fff; }
.choices input { width: auto; accent-color: var(--forest); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.err { color: #9b2f1b; }
.sent-note { display: none; background: #e6efe2; border: 1px solid #b9cfb0; color: var(--green); border-radius: 2px; padding: 18px 20px; margin-bottom: 20px; }
.sent-note:target, .sent-note.show { display: block; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.side-list li:first-child { border-top: 0; padding-top: 0; }
.side-list strong { display: block; color: var(--green); }

/* Footer */
.site-footer { background: #10301a; color: #c9d5c4; padding: 64px 0 32px; font-size: .97rem; }
.site-footer a { color: #f0e6d2; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand img { width: 84px; height: 84px; flex: none; }
.foot-brand strong { font: 500 1.3rem/1.1 var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--bone); display: block; margin-bottom: 8px; }
.site-footer h2 { font: 500 .78rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(240, 230, 210, .3); }
.socials a:hover { background: rgba(240, 230, 210, .1); text-decoration: none; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(240, 230, 210, .15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; font-size: .88rem; color: #9fb09a; }
.foot-base .chamber { display: flex; align-items: center; gap: 12px; }
.foot-base .chamber img { width: 40px; height: auto; border-radius: 2px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Pull quote */
.pull-quote { margin: 0; }
.pull-quote p { font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.3; color: var(--bone); margin: 0; }

/* Consent checkbox */
.field .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); line-height: 1.5; }
.field .consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--forest); }

/* Digital card */
body.card-page { display: grid; place-items: center; min-height: 100vh; padding: 24px 16px; background: var(--green); }
.vcard { background: var(--paper); border-radius: 2px; padding: 34px 26px; max-width: 380px; width: 100%; text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.vcard-badge { width: 120px; height: 120px; margin: 0 auto 14px; }
.vcard h1 { font-size: 2rem; margin-bottom: 6px; }
.vcard-role { color: var(--green); font-weight: 600; margin-bottom: 2px; }
.vcard-place { color: var(--muted); }
.vcard-actions { display: grid; gap: 10px; margin-top: 22px; }

/* Contrast fixes: gold eyebrow on green, underlined links inside footer text */
.section.green .eyebrow { color: #f1c27f; }
.foot-base a { text-decoration: underline; text-underline-offset: .18em; }
h2.h3 { font-size: 1.3rem; line-height: 1.25; font-variation-settings: "opsz" 24; }
