@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --blueprint: #1f2733;
  --blueprint-deep: #14181f;
  --chalk: #ece6dc;
  --chalk-dim: #b9ae9d;
  --marker: #cfa56f;
  --paper: #f7f4ee;
  --white: #ffffff;
  --ink: #171b22;
  --slate: #5a5e66;
  --rule: #e4ddd0;
  --wrap: 1160px;
  --pad: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-stretch: 118%; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 650; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 620; }
h3 { font-size: 1.15rem; font-weight: 620; line-height: 1.3; }
p { margin: 0 0 1em; max-width: 66ch; }
:focus-visible { outline: 3px solid var(--marker); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--marker); color: var(--ink); padding: 8px 14px; }

/* Header */
.top { background: var(--blueprint-deep); color: var(--white); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(236,230,220,.14); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { text-decoration: none; display: block; line-height: 1.25; padding: 10px 0; }
.brand strong { display: block; font-stretch: 122%; font-weight: 700; font-size: 1.2rem; }
.brand span { display: block; font-size: .8rem; color: var(--chalk); }
.brand b { display: block; font-size: .98rem; font-weight: 600; color: var(--white); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--chalk); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--white); border-bottom-color: rgba(207,165,111,.5); }
.nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--marker); }
.nav a.call { background: var(--marker); color: var(--ink); padding: 9px 16px; border-radius: 10px; font-weight: 650; border: 0; }
.nav a.call:hover { background: #dcb883; color: var(--ink); }
.menu-btn { display: none; background: none; border: 1px solid rgba(236,230,220,.4); color: var(--white); font: inherit; font-size: .9rem; padding: 8px 14px; border-radius: 10px; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 650; text-decoration: none; padding: 13px 22px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; text-align: center; }
.btn-marker { background: var(--marker); color: var(--ink); }
.btn-marker:hover { background: #dcb883; }
.btn-ink { background: var(--blueprint); color: var(--white); }
.btn-ink:hover { background: var(--blueprint-deep); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: rgba(236,230,220,.12); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Blueprint surfaces */
.blueprint {
  background: linear-gradient(135deg, #1f2733 0%, #171c25 60%, #14181f 100%);
  color: var(--white);
}
.blueprint p { color: var(--chalk); }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(44px, 6vw, 84px); padding-bottom: clamp(44px, 6vw, 84px); }
.hero h1 { font-size: clamp(2.1rem, 3.8vw, 3.15rem); }
.hero p.lead { font-size: 1.17rem; max-width: 46ch; }
.hero .who { margin: 28px 0 0; font-size: .95rem; color: var(--chalk-dim); }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.white { background: var(--white); }
.section-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px 64px; margin-bottom: 44px; align-items: end; }
.section-head h2, .section-head p { margin: 0; }
.section-head p { color: var(--slate); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; margin: 48px 0 0; padding: 0; list-style: none; }
.facts li { border-top: 3px solid var(--marker); padding-top: 14px; color: var(--slate); font-size: .98rem; }
.facts strong { display: block; color: var(--ink); font-stretch: 118%; font-size: 1.2rem; margin-bottom: 4px; }
.fineprint { font-size: .84rem; color: var(--slate); margin-top: 18px; }

/* Services */
.rows { margin: 0; padding: 0; list-style: none; }
.rows li { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,6fr) 230px; gap: 12px 40px; padding: 28px 0; border-top: 1px solid var(--rule); align-items: start; }
.rows li:last-child { border-bottom: 1px solid var(--rule); }
.rows h3 { margin: 0; font-size: 1.35rem; }
.rows p { margin: 0; color: var(--slate); }
.rows a { font-weight: 650; color: var(--blueprint); justify-self: end; }

/* Process */
.switch { display: inline-flex; padding: 4px; background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; margin-bottom: 30px; }
.switch button { font: inherit; font-weight: 650; border: 0; background: transparent; color: var(--slate); padding: 9px 22px; border-radius: 10px; cursor: pointer; }
.switch button[aria-selected="true"] { background: var(--blueprint); color: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps[hidden] { display: none; }
.steps li { counter-increment: step; position: relative; padding: 56px 24px 0 0; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 38px; height: 38px; display: grid; place-items: center; border: 1.5px solid var(--blueprint); border-radius: 50%; font-weight: 700; background: var(--white); z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: 38px; right: 0; border-top: 1.5px dashed #c9bfae; }
.steps p { color: var(--slate); font-size: .96rem; }

/* Listing teasers */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.door { display: block; text-decoration: none; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; padding: 30px; transition: border-color .2s; }
.door:hover { border-color: var(--blueprint); }
.door p { color: var(--slate); }
.door b { color: var(--blueprint); text-decoration: underline; text-underline-offset: 3px; }
.status { display: inline-block; font-size: .84rem; font-weight: 600; background: #f3e6cf; color: #6b4a17; padding: 4px 11px; border-radius: 999px; margin-bottom: 16px; }

/* Call to action */
.cta .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding-top: 64px; padding-bottom: 64px; }
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; }
.cta .actions { margin: 0; }

/* Inner pages */
.page-head .wrap { padding-top: clamp(44px, 6vw, 80px); padding-bottom: clamp(44px, 6vw, 80px); }
.page-head h1 { max-width: 18ch; }
.page-head p { font-size: 1.12rem; margin: 0; }
.page-head .status { margin-bottom: 20px; }

.split { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,4fr); gap: 40px 72px; align-items: start; }
.aside { background: var(--white); border: 1px solid var(--rule); border-radius: 14px; padding: 28px; }
.section.white .aside { background: var(--paper); }
.aside h3 { margin-top: 22px; margin-bottom: 6px; }
.aside h3:first-child { margin-top: 0; }
.aside ul { margin: 0; padding: 0; list-style: none; color: var(--slate); font-size: .97rem; }
.aside li { padding: 3px 0; }
.portrait { width: 100%; border-radius: 14px; margin-bottom: 22px; }

/* Search preview */
.filters { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)) auto; gap: 12px; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; padding: 18px; align-items: end; }
label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 5px; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1px solid #cfc6b6; border-radius: 10px; padding: 11px 12px; }
textarea { min-height: 130px; resize: vertical; }
:disabled { background: #f0ece4; color: #7a7468; cursor: not-allowed; border-color: var(--rule); }
.btn:disabled { background: #ddd6c8; color: #6b655a; }
.previews { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; margin-top: 28px; }
.card { background: var(--white); border: 1.5px dashed #cfc6b6; border-radius: 14px; overflow: hidden; }
.card .photo { aspect-ratio: 4/3; display: grid; place-items: center; background: #ece6da; color: var(--slate); font-size: .9rem; }
.card dl { margin: 0; padding: 16px 18px 18px; font-size: .93rem; color: var(--slate); }
.card dt { font-stretch: 115%; font-weight: 650; color: var(--ink); font-size: 1.1rem; }
.card dd { margin: 3px 0 0; }
.card dd.broker { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: .85rem; }

/* VOW flow */
.flow { grid-template-columns: repeat(4, minmax(0,1fr)); }
.locked { position: relative; background: var(--white); border: 1.5px dashed #cfc6b6; border-radius: 14px; overflow: hidden; }
.locked table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.locked th, .locked td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.locked th { font-weight: 650; }
.blank { display: block; height: 11px; width: 70%; background: #e6dfd2; border-radius: 2px; }
.scroll { overflow-x: auto; }
.locked .veil { padding: 18px; background: #f0ebe1; color: var(--slate); font-size: .94rem; }

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form .actions { margin-top: 0; }
.form-msg { margin: 0; font-size: .92rem; color: var(--slate); }
.contact-list { margin: 0; }
.contact-list dt { font-weight: 650; margin-top: 18px; }
.contact-list dt:first-child { margin-top: 0; }
.contact-list dd { margin: 2px 0 0; color: var(--slate); }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .45em; max-width: 66ch; }

/* Footer */
.foot { background: var(--blueprint-deep); color: var(--chalk); padding: 56px 0 36px; font-size: .94rem; }
.foot .cols { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,4fr) minmax(0,3fr); gap: 32px; }
.foot h3 { color: var(--white); font-size: 1rem; }
.foot p { margin: 0 0 .6em; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 3px 0; }
.legal { border-top: 1px solid rgba(236,230,220,.18); margin-top: 36px; padding-top: 22px; font-size: .8rem; color: var(--chalk-dim); }
.legal p { max-width: 100ch; }

@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--blueprint-deep); flex-direction: column; align-items: stretch; gap: 4px; padding: 12px var(--pad) 22px; border-bottom: 1px solid rgba(236,230,220,.2); }
  .js .nav.open { display: flex; }
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .top .wrap { flex-wrap: wrap; }
  html:not(.js) .nav { flex-wrap: wrap; gap: 16px; padding-bottom: 12px; }
  .nav a { padding: 10px 0; }
  .nav a.call { text-align: center; margin-top: 8px; }
  .hero .wrap, .split, .section-head { grid-template-columns: minmax(0,1fr); }
  .filters { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .previews { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .facts, .duo, .previews, .form, .foot .cols { grid-template-columns: minmax(0,1fr); }
  .rows li { grid-template-columns: minmax(0,1fr); }
  .rows a { justify-self: start; }
  .brand strong { font-size: 1.1rem; }
  .brand b { font-size: .86rem; }
  .filters { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: minmax(0,1fr); }
  .steps li { padding: 4px 0 24px 58px; }
  .steps li:not(:last-child)::after { top: 38px; bottom: 0; left: 18px; right: auto; border-top: 0; border-left: 1.5px dashed #c9bfae; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Hero photo */
.hero .wrap { align-items: end; padding-bottom: 0; }
.hero .wrap > div:first-child { padding-bottom: clamp(44px, 6vw, 84px); align-self: center; }
.hero-photo { margin: 0; align-self: end; background: radial-gradient(120% 90% at 50% 100%, #e9e1d3 0%, #d8cdb9 100%); border-radius: 18px 18px 0 0; overflow: hidden; max-width: 520px; justify-self: end; width: 100%; }
.hero-photo img { width: 100%; height: auto; display: block; }
.hero h1 { max-width: 16ch; }

/* Start picker */
.picker { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.picker button { font: inherit; font-weight: 600; font-size: .98rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--rule); border-radius: 999px; padding: 10px 22px; cursor: pointer; }
.picker button:hover { border-color: var(--marker); }
.picker button[aria-pressed="true"] { background: var(--blueprint); border-color: var(--blueprint); color: var(--white); }
.start-note { background: var(--paper); border: 1px solid var(--rule); border-left: 4px solid var(--marker); border-radius: 14px; padding: 28px 30px; min-height: 190px; }
.start-note h3 { font-size: 1.4rem; margin-bottom: .4em; }
.start-note p { color: var(--slate); max-width: 60ch; }
.portrait { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; }

/* Photo on the left on wide screens, so Shawn faces into the page */
@media (min-width: 1021px) {
  .hero .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .hero-photo { order: -1; justify-self: start; }
  .split.photo-left { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .split.photo-left .aside { order: -1; }
}

/* Hero: photo panel fills the full height of the hero so everything lines up */
.hero .wrap { align-items: stretch; min-height: 560px; padding-top: 0; padding-bottom: 0; }
.hero .wrap > div:first-child { align-self: center; padding: clamp(40px, 5vw, 72px) 0; }
.hero-photo { align-self: stretch; display: flex; max-width: none; width: 100%; border-radius: 0 0 0 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
@media (min-width: 1021px) { .hero-photo { border-radius: 0; } }
@media (max-width: 1020px) {
  .hero .wrap { min-height: 0; }
  .hero-photo { max-width: 420px; margin: 0 auto; justify-self: center; align-self: end; border-radius: 18px 18px 0 0; }
  .hero-photo img { height: auto; object-fit: contain; }
}

/* Hero animation: homes drawn in fine lines, windows lighting up */
.hero .wrap:has(.hero-art) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 0; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); align-items: center; }
.hero-art { margin: 0; width: 100%; max-width: 640px; justify-self: end; }
.hero-art svg { width: 100%; height: auto; overflow: visible; }
.hero-art .ln { fill: none; stroke: var(--chalk); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hero-art .heavy { stroke-width: 2.2; }
.hero-art .thin { stroke: var(--chalk-dim); stroke-width: 1.1; }
.hero-art .disc { fill: none; stroke: var(--marker); stroke-width: 1.2; opacity: .8; }
.hero-art .win { fill: var(--marker); }
.js .hero-art .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: hDraw 1.6s cubic-bezier(.6,.05,.3,1) forwards; animation-delay: var(--d, 0s); }
.js .hero-art .win { opacity: 0; animation: hLight .9s ease forwards; animation-delay: var(--d, 2s); }
.js .hero-art .win.tw { animation: hLight .9s ease forwards, hTwinkle var(--t, 4s) ease-in-out calc(var(--d, 2s) + 1.5s) infinite alternate; }
.js .hero-art .moon { opacity: 0; animation: hFade 2.4s ease .4s forwards, hFloat 9s ease-in-out 2.8s infinite alternate; transform-box: fill-box; transform-origin: center; }
.js .hero-art .floor { opacity: 0; animation: hFade 2s ease 1.4s forwards; }
@keyframes hDraw { to { stroke-dashoffset: 0; } }
@keyframes hLight { 0% { opacity: 0; } 60% { opacity: .95; } 100% { opacity: .8; } }
@keyframes hTwinkle { from { opacity: .8; } to { opacity: .25; } }
@keyframes hFade { to { opacity: 1; } }
@keyframes hFloat { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@media (max-width: 1020px) { .hero .wrap:has(.hero-art) { grid-template-columns: minmax(0, 1fr); } .hero-art { justify-self: center; max-width: 480px; } }
@media (prefers-reduced-motion: reduce) {
  .js .hero-art .ln { animation: none; stroke-dashoffset: 0; }
  .js .hero-art .win, .js .hero-art .win.tw { animation: none; opacity: .8; }
  .js .hero-art .moon, .js .hero-art .floor { animation: none; opacity: 1; }
}

/* About: larger cutout photo */
.portrait-cutout { background: radial-gradient(120% 90% at 50% 100%, #e9e1d3 0%, #d8cdb9 100%); border-radius: 14px; overflow: hidden; margin: -28px -28px 24px; }
.portrait-cutout img { width: 100%; height: auto; display: block; }
@media (min-width: 1021px) { .split.photo-left { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; } }
