/* Canyon Homes, v1. Plain CSS, no framework.
   Brand colour: #4E4841, the exact colour of the Canyon Homes logo file.
   Layout follows lakeflato.com (large photos, calm type, space), studio-mcgee.com (project grid)
   and olsonkundig.com (full-bleed image storytelling). */

@font-face { font-family: "Newsreader"; src: url(../fonts/newsreader-display-400.v1.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk-var.v1.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks, so the swap to the web font does not move the layout */
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia"); size-adjust: 97.7%; ascent-override: 75.2%; descent-override: 27.1%; line-gap-override: 0%; }
@font-face { font-family: "Hanken Fallback"; src: local("Arial"); size-adjust: 100.3%; ascent-override: 99.7%; descent-override: 30.2%; line-gap-override: 0%; }

:root {
  --brand: #4E4841;
  --brand-deep: #36312D;
  --ink: #1E1C1A;
  --ink-2: #58534D;
  --line: #D9D6D1;
  --mist: #EEEEEE;
  --paper: #FFFFFF;
  --on-dark: #F4F2EF;
  --on-dark-2: rgba(244, 242, 239, .74);
  --serif: "Newsreader", "Newsreader Fallback", Georgia, serif;
  --sans: "Hanken Grotesk", "Hanken Fallback", Arial, sans-serif;
  --wrap: 1360px;
  --pad: clamp(20px, 4.2vw, 64px);
  --gut: clamp(16px, 2.2vw, 32px);
  --sec: clamp(88px, 12vw, 184px);
  --r: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 780px; }
.label { font: 500 .9375rem/1.3 var(--sans); color: var(--ink-2); margin: 0 0 18px; }
.on-dark .label { color: var(--on-dark-2); }
.lead { font: 400 clamp(1.5rem, 2.6vw, 2.25rem)/1.22 var(--serif); letter-spacing: -.01em; }
.h2 { font-size: clamp(2.375rem, 5vw, 4.25rem); line-height: 1.02; }
.h3 { font-size: clamp(1.625rem, 2.4vw, 2.125rem); line-height: 1.1; }
.muted { color: var(--ink-2); }
.more { font: 500 1rem/1.2 var(--sans); display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 6px; }
.more::after { content: "\2192"; transition: transform .25s ease; }
.more:hover::after { transform: translateX(4px); }

/* Buttons: near-square corners, type carries the weight */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: var(--r); border: 1px solid var(--brand); background: var(--brand); color: #fff; font: 500 1.0625rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn--light { background: #fff; color: var(--brand); border-color: #fff; }
.btn--light:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--brand-deep); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: currentColor; }
.call { display: inline-flex; align-items: center; gap: 10px; font: 500 1.0625rem/1 var(--sans); text-decoration: none; min-height: 54px; }
.call svg { width: 18px; height: 18px; flex: none; }
.call span { border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 40; color: #fff; }
.site-header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 92px; }
.site-header .nav { display: flex; gap: clamp(20px, 2.4vw, 40px); align-items: center; font: 500 1rem/1 var(--sans); }
.site-header .nav a { text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent; }
.site-header .nav a:hover, .site-header .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.site-header .nav--r { justify-content: flex-end; }
.logo { display: block; line-height: 0; }
.logo img { height: 58px; width: auto; }
.logo .logo--dark { display: none; }
.site-header .phone { display: inline-flex; align-items: center; gap: 8px; }
.site-header .phone svg { width: 16px; height: 16px; }
.menu { display: none; }
.site-header.is-solid, .site-header.is-fixed { color: var(--ink); background: var(--paper); }
.site-header.is-solid { position: relative; border-bottom: 1px solid var(--line); }
.site-header.is-solid .logo--light, .site-header.is-fixed .logo--light { display: none; }
.site-header.is-solid .logo--dark, .site-header.is-fixed .logo--dark { display: block; }
.site-header.is-fixed { position: fixed; box-shadow: 0 1px 0 var(--line); animation: drop .35s ease both; }
.site-header.is-fixed .site-header__bar { min-height: 72px; }
.site-header.is-fixed .logo img { height: 46px; }
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }

@media (max-width: 960px) {
  .site-header__bar { grid-template-columns: auto 1fr auto; min-height: 76px; }
  .site-header .nav { display: none; }
  .logo img { height: 48px; }
  .site-header.is-fixed .logo img { height: 40px; }
  .site-header .tools { display: flex; justify-content: flex-end; align-items: center; gap: 4px; grid-column: 3; }
  .icon-call { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; }
  .icon-call svg { width: 20px; height: 20px; }
  .menu { display: block; }
  .menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 4px 0 10px; font: 500 1rem/1 var(--sans); }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu > summary i { display: block; width: 22px; height: 10px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
  .menu[open] > summary { position: fixed; top: 14px; right: var(--pad); z-index: 3; color: var(--ink); }
  .menu[open] > summary i { height: 0; border-bottom: 0; transform: rotate(45deg); position: relative; }
  .menu[open] > summary i::after { content: ""; position: absolute; left: 0; right: 0; top: -1.5px; border-top: 1.5px solid currentColor; transform: rotate(-90deg); }
  .menu__panel { position: fixed; inset: 0; z-index: 2; background: var(--paper); color: var(--ink); padding: 104px var(--pad) 40px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
  .menu__panel a.m { font: 400 2.25rem/1.15 var(--serif); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .menu__panel .menu__contact { margin-top: auto; padding-top: 32px; display: grid; gap: 14px; }
}
@media (min-width: 961px) { .site-header .tools { display: none; } }

/* ---------- Hero (home) and mastheads ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: #26221F; isolation: isolate; overflow: hidden; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 55%; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(22,19,17,.5) 0%, rgba(22,19,17,.22) 45%, rgba(22,19,17,0) 75%),
  linear-gradient(180deg, rgba(22,19,17,.62) 0%, rgba(22,19,17,.18) 22%, rgba(22,19,17,.24) 46%, rgba(22,19,17,.74) 78%, rgba(22,19,17,.88) 100%); }
.hero__body { position: relative; z-index: 1; padding-top: 140px; padding-bottom: clamp(44px, 9vh, 104px); }
.hero h1 { font-size: clamp(3.125rem, 7.2vw, 7rem); line-height: .94; letter-spacing: -.02em; max-width: 11ch; text-wrap: balance; }
.hero__sub { font: 400 clamp(1.125rem, 1.5vw, 1.375rem)/1.45 var(--sans); max-width: 36ch; margin: 24px 0 0; color: rgba(255,255,255,.9); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; }

.mast { position: relative; min-height: 72vh; min-height: 72svh; display: flex; align-items: flex-end; color: #fff; background: #26221F; isolation: isolate; overflow: hidden; }
.mast .hero__body { padding-bottom: clamp(40px, 7vh, 88px); }
.mast h1 { font-size: clamp(2.75rem, 6.6vw, 6.25rem); line-height: .96; letter-spacing: -.02em; max-width: 14ch; text-wrap: balance; }
.mast .kicker { font: 500 1rem/1.3 var(--sans); margin: 0 0 18px; color: rgba(255,255,255,.88); }
.mast--short { min-height: 56vh; min-height: 56svh; }

@media (max-width: 640px) {
  .hero__body { padding-top: 112px; }
  .hero h1 { font-size: clamp(2.875rem, 13vw, 3.75rem); }
  .hero__sub { margin-top: 18px; font-size: 1.0625rem; }
  .hero__actions { margin-top: 26px; gap: 6px 22px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .mast { min-height: 78svh; }
  .mast h1 { font-size: clamp(2.5rem, 11.5vw, 3.25rem); }
}

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); }
.sec--mist { background: var(--mist); }
.sec--tight { padding-block: calc(var(--sec) * .6); }
.statement { text-align: center; }
.statement p.big { font: 400 clamp(1.75rem, 3.5vw, 3.125rem)/1.2 var(--serif); letter-spacing: -.012em; max-width: 30ch; margin: 0 auto; text-wrap: balance; }
.statement p.small { max-width: 52ch; margin: 34px auto 0; color: var(--ink-2); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(40px, 6vw, 88px); }
.sec-head .h2 { max-width: 14ch; }

/* Frames: images settle into place as they scroll in (scale only, never hidden) */
.frame { overflow: hidden; background: #E7E5E2; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .frame img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
}
@keyframes settle { from { transform: scale(1.09); } to { transform: scale(1); } }

/* Lake Flato-style stagger: photos of different widths, offset across a 12-column grid */
.stagger { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: clamp(64px, 8vw, 120px); align-items: start; }
.fig { margin: 0; position: relative; }
.fig a { text-decoration: none; display: block; }
.fig figcaption { margin-top: 16px; font: 400 1rem/1.45 var(--sans); max-width: 46ch; }
.fig figcaption b { font-weight: 600; display: block; font-size: 1.0625rem; margin-bottom: 2px; }
.fig figcaption .meta { color: var(--ink-2); }
.tag { display: inline-block; font: 600 .8125rem/1 var(--sans); padding: 7px 10px 6px; border-radius: var(--r); background: var(--brand); color: #fff; vertical-align: middle; margin-right: 8px; }
.tag--sold { background: transparent; color: var(--ink-2); border: 1px solid var(--line); }
.fig a:hover b { text-decoration: underline; text-underline-offset: .2em; }

.st-1 { grid-column: 1 / 9; }
.st-1 .frame { aspect-ratio: 1534 / 900; }
.st-1 .inset { position: absolute; right: -26%; bottom: -24%; width: 40%; z-index: 2; box-shadow: 0 0 0 8px var(--paper); }
.st-1 .inset .frame { aspect-ratio: 4 / 5; }
.st-1 figcaption { max-width: 54%; }
.st-2 { grid-column: 6 / 12; }
.st-2 .frame { aspect-ratio: 1534 / 820; }
.st-3 { grid-column: 2 / 7; }
.st-3 .frame { aspect-ratio: 4 / 3; }
.st-cta { grid-column: 8 / 13; align-self: end; padding-bottom: 8px; }
.st-cta p { font: 400 clamp(1.375rem, 2vw, 1.75rem)/1.3 var(--serif); margin-bottom: 26px; }

@media (max-width: 860px) {
  .stagger { row-gap: 64px; }
  .st-1, .st-2, .st-3, .st-cta { grid-column: 1 / -1; margin-top: 0; }
  .st-1 { margin-right: 14%; }
  .st-1 .inset { right: -18%; bottom: auto; top: 46%; width: 40%; }
  .st-1 figcaption { max-width: 74%; }
  .st-2 { margin-left: 10%; }
  .st-3 { margin-right: 8%; }
}

/* Olson Kundig-style full-bleed story band */
.band { position: relative; color: #fff; min-height: 92vh; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; background: #2A2724; }
.band > .frame { position: absolute; inset: 0; background: none; }
.band .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,19,17,.08) 30%, rgba(22,19,17,.78) 100%); }
.band__body { position: relative; z-index: 1; padding-top: 30vh; padding-bottom: clamp(160px, 18vw, 260px); }
.band h2 { font-size: clamp(2.75rem, 6.6vw, 6.5rem); line-height: .96; letter-spacing: -.02em; max-width: 13ch; text-wrap: balance; }
.band__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gut); align-items: end; }
.band__text p { max-width: 44ch; color: rgba(255,255,255,.9); font-size: 1.125rem; margin: 0 0 18px; }
.band .more { color: #fff; }
@media (max-width: 860px) { .band__text { grid-template-columns: 1fr; } .band { min-height: 86svh; } .band__body { padding-bottom: 120px; } }

/* Amenities lift over the bottom of the band */
.lift { position: relative; z-index: 2; margin-top: clamp(-200px, -14vw, -96px); }
.amen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); }
.amen article { background: var(--paper); padding: 0 0 28px; box-shadow: 0 30px 60px -36px rgba(30,28,26,.45); }
.amen article:nth-child(2) { transform: translateY(clamp(20px, 3vw, 48px)); }
.amen .frame { aspect-ratio: 539 / 377; margin-bottom: 24px; }
.amen h3 { font-size: 1.625rem; line-height: 1.15; margin: 0 24px 10px; }
.amen p { margin: 0 24px; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 860px) {
  .amen { grid-template-columns: 1fr; gap: 20px; }
  .amen article:nth-child(2) { transform: none; }
  .amen article { display: grid; grid-template-columns: 38% 1fr; gap: 0 16px; padding: 0 12px 0 0; align-items: center; }
  .amen .frame { margin: 0; grid-row: span 2; aspect-ratio: auto; width: 100%; height: 100%; min-height: 128px; align-self: stretch; }
  .amen h3 { margin: 16px 0 6px; font-size: 1.375rem; align-self: end; }
  .amen p { margin: 0 0 16px; font-size: .9375rem; line-height: 1.5; align-self: start; }
}

/* Doyle: brand-colour band with the portrait breaking out of the top edge */
.doyle { background: var(--brand); color: var(--on-dark); margin-top: clamp(140px, 16vw, 240px); padding-bottom: var(--sec); }
.doyle__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: start; }
.doyle__photo { grid-column: 1 / 6; margin-top: clamp(-160px, -11vw, -96px); position: relative; }
.doyle__photo .frame { aspect-ratio: 2 / 3; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.doyle__photo .sub { position: absolute; width: 40%; right: -12%; bottom: -9%; box-shadow: 0 0 0 8px var(--brand); }
.doyle__photo .sub .frame { aspect-ratio: 1 / 1; box-shadow: none; }
.doyle__text { grid-column: 7 / 13; padding-top: clamp(56px, 7vw, 120px); }
.doyle__text h2 { font-size: clamp(2.25rem, 4.2vw, 3.75rem); line-height: 1.04; margin-bottom: 28px; text-wrap: balance; }
.doyle__text p { color: var(--on-dark-2); max-width: 50ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 44px 0; border-top: 1px solid rgba(255,255,255,.22); }
.facts div { padding: 22px 16px 0 0; }
.facts b { display: block; font: 400 clamp(2.25rem, 3.6vw, 3.25rem)/1 var(--serif); letter-spacing: -.02em; color: #fff; margin-bottom: 10px; }
.facts span { font-size: .9375rem; line-height: 1.4; color: var(--on-dark-2); display: block; }
.awards { list-style: none; padding: 0; margin: 0 0 40px; border-top: 1px solid rgba(255,255,255,.22); }
.awards li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.22); color: var(--on-dark); }
.doyle .more { color: #fff; }
@media (max-width: 860px) {
  .doyle__photo { grid-column: 1 / 11; }
  .doyle__photo .sub { right: -16%; width: 44%; }
  .doyle__text { grid-column: 1 / -1; padding-top: 88px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:last-child { grid-column: 1 / -1; }
}

/* Studio McGee-style project grid: three columns, middle one dropped and taller */
.pgrid { display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: var(--gut); align-items: start; }
.pgrid .col { display: grid; gap: var(--gut); }
.pgrid .col:nth-child(2) { margin-top: clamp(48px, 7vw, 120px); }
.pgrid .frame.p-land { aspect-ratio: 3 / 2; }
.pgrid .frame.p-port { aspect-ratio: 4 / 5; }
.pgrid .frame.p-tall { aspect-ratio: 2 / 3; }
@media (max-width: 760px) {
  .pgrid { grid-template-columns: 1fr 1fr; }
  .pgrid .col:nth-child(2) { margin-top: 48px; }
  .pgrid .col:nth-child(3) { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}

/* ---------- Start your home (form) ---------- */
.start__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.start__aside h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; margin-bottom: 24px; }
.start__aside p { color: var(--ink-2); max-width: 38ch; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.contact-list li span:first-child { color: var(--ink-2); }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list a:hover { border-bottom-color: currentColor; }
.start__photo { margin-top: 40px; }
.start__photo .frame { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .start__grid { grid-template-columns: 1fr; } .start__photo { display: none; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px var(--gut); }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > legend, .fs > legend { font: 500 .9375rem/1.3 var(--sans); color: var(--ink); padding: 0; }
.field .opt { color: var(--ink-2); font-weight: 400; }
.input, .select, .textarea { width: 100%; font: 400 1.0625rem/1.4 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #A9A49E; border-radius: 0; padding: 12px 0 11px; transition: border-color .2s ease, box-shadow .2s ease; }
.textarea { min-height: 96px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234E4841' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-bottom-color: var(--brand); box-shadow: 0 1px 0 0 var(--brand); }
.input::placeholder, .textarea::placeholder { color: #8C877F; }
.fs { border: 0; margin: 0; padding: 0; min-width: 0; grid-column: 1 / -1; }
.fs > legend { margin-bottom: 12px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; font-size: 1rem; line-height: 1.3; background: var(--paper); transition: background .15s ease; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .box { flex: none; width: 14px; height: 14px; display: none; place-items: center; }
.choice .box svg { width: 14px; height: 14px; }
.choice:hover { background: #F7F6F4; }
.choice:has(input:checked) { background: var(--brand) !important; color: #fff; }
.choice input:checked + .box { display: grid; }
.choice input:checked ~ .t { font-weight: 600; }
.choice:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: -4px; }
.sec--mist .choice { background: var(--mist); }
.sec--mist .choice:hover { background: #E6E5E3; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .choices--3 { grid-template-columns: 1fr; } }

.upload { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px dashed #A9A49E; border-radius: var(--r); cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.upload:hover, .upload.is-over { border-color: var(--brand); background: rgba(78,72,65,.04); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload svg { width: 26px; height: 26px; flex: none; color: var(--brand); }
.upload .u-t { display: block; font-weight: 500; }
.upload .u-s { display: block; color: var(--ink-2); font-size: .9375rem; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 4px; }
.form__note { font-size: .9375rem; color: var(--ink-2); margin: 0; }
.form__status { grid-column: 1 / -1; margin: 0; padding: 16px 18px; border-left: 3px solid var(--brand); background: var(--paper); font-weight: 500; }
.form__status[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: var(--on-dark); padding: clamp(72px, 9vw, 120px) 0 36px; font-size: 1rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px var(--gut); }
.foot__grid h2 { font: 500 .9375rem/1.3 var(--sans); color: var(--on-dark-2); margin: 0 0 16px; letter-spacing: 0; }
.foot__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot__brand img { height: 64px; width: auto; margin-bottom: 22px; }
.foot__brand p { color: var(--on-dark-2); max-width: 34ch; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); font-size: .875rem; color: var(--on-dark-2); }
.foot__legal ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ---------- Inner pages ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.prose p { color: var(--ink-2); max-width: 62ch; }
.prose p:first-child { color: var(--ink); }
@media (max-width: 860px) { .split, .split--rev { grid-template-columns: 1fr; } }

.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.rows li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; }
.rows li span:last-child:not(:first-child) { color: var(--ink-2); text-align: right; }
.cols-2 { columns: 2; column-gap: var(--gut); }
.cols-2 li { break-inside: avoid; }

/* Lakecliff: featured available home + sold homes */
.feature { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.feature .frame { aspect-ratio: 1534 / 900; }
.feature h3 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.04; margin: 14px 0 18px; }
.feature .price { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1 var(--serif); margin: 0 0 20px; }
.feature .acts { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 26px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }
.homes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px var(--gut); margin-top: clamp(72px, 9vw, 140px); }
.home .frame { aspect-ratio: 1534 / 900; margin-bottom: 18px; }
.home h3 { font-size: 1.625rem; line-height: 1.1; margin: 10px 0 8px; }
.home p { margin: 0 0 4px; color: var(--ink-2); font-size: 1rem; }
.home .links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: .9375rem; font-weight: 500; }
.homes .home:nth-child(3n+2) { margin-top: clamp(0px, 5vw, 72px); }
@media (max-width: 860px) { .homes { grid-template-columns: 1fr 1fr; } .homes .home:nth-child(3n+2) { margin-top: 0; } .homes .home:nth-child(2n) { margin-top: 48px; } }
@media (max-width: 560px) { .homes { grid-template-columns: 1fr; } .homes .home:nth-child(2n) { margin-top: 0; } }

/* Listing template */
.specs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs div { padding: 22px 18px 22px 0; }
.specs div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.specs dt { font-size: .875rem; color: var(--ink-2); margin-bottom: 6px; }
.specs dd { margin: 0; font: 400 1.5rem/1.15 var(--serif); }
@media (max-width: 1100px) { .specs { grid-template-columns: repeat(4, minmax(0, 1fr)); } .specs div:nth-child(5) { border-left: 0; padding-left: 0; } .specs div:nth-child(n+5) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .specs { grid-template-columns: 1fr 1fr; } .specs div { padding-left: 0 !important; border-left: 0 !important; } .specs div:nth-child(n+3) { border-top: 1px solid var(--line); } .specs div:nth-child(2n) { padding-left: 16px !important; border-left: 1px solid var(--line) !important; } }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery a { display: block; position: relative; }
.gallery .frame { aspect-ratio: 3 / 2; }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery a:first-child .frame { aspect-ratio: auto; height: 100%; }
.gallery a:hover img { opacity: .92; }
.gallery-more { margin-top: 12px; }
.gallery-more > summary { list-style: none; cursor: pointer; display: inline-flex; margin-top: 18px; }
.gallery-more > summary::-webkit-details-marker { display: none; }
.gallery-more[open] > summary { display: none; }
.gallery-more .gallery a:first-child { grid-column: auto; grid-row: auto; }
.gallery-more .gallery a:first-child .frame { aspect-ratio: 3 / 2; height: auto; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } }

.plan { display: block; background: var(--paper); padding: clamp(16px, 2vw, 28px); border: 1px solid var(--line); max-width: 560px; justify-self: center; width: 100%; }
.plan img { width: 100%; height: auto; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(18,16,14,.92); }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; height: auto; margin: 0 auto; }
.lightbox .lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #fff; padding: 14px 4px 0; font-size: .9375rem; }
.lightbox button { font: 500 1rem/1 var(--sans); color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.5); border-radius: var(--r); min-height: 44px; padding: 0 16px; cursor: pointer; }

/* Development info tax table */
.tax { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tax caption { text-align: left; font: 400 clamp(1.75rem, 2.6vw, 2.25rem)/1.1 var(--serif); margin-bottom: 20px; }
.tax th, .tax td { text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); }
.tax thead th { font-weight: 500; color: var(--ink-2); font-size: .9375rem; border-top: 1px solid var(--line); }
.tax td:last-child, .tax th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.tax tfoot td { font-weight: 600; border-bottom: 0; }

/* Blog */
.post-card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; text-decoration: none; }
.post-card .frame { aspect-ratio: 4 / 3; }
.post-card h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.04; margin: 10px 0 18px; }
.post-card:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
@media (max-width: 860px) { .post-card { grid-template-columns: 1fr; } }
.article { font-size: 1.125rem; }
.article h2 { font-size: clamp(1.75rem, 2.8vw, 2.375rem); line-height: 1.1; margin: 56px 0 18px; }
.article h3 { font-size: 1.5rem; line-height: 1.2; margin: 36px 0 6px; }
.article .price { font: 500 1rem/1.4 var(--sans); color: var(--brand); margin-bottom: 8px; }
.article p { color: #2F2C29; }
.article figure { margin: 48px 0; }
.article figure .frame { aspect-ratio: 4 / 3; }
.wide { margin: 40px 0; }
@media (min-width: 1000px) { .wide { margin-inline: -120px; } }
.byline { color: var(--ink-2); font-size: 1rem; margin-top: 18px; }

/* Legal text pages */
.legal { padding-block: clamp(56px, 8vw, 112px) var(--sec); }
.legal h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; margin-bottom: 40px; }
.legal h2 { font-size: 1.75rem; margin: 44px 0 14px; line-height: 1.15; }
.legal h3 { font-size: 1.375rem; margin: 32px 0 10px; }
.legal p, .legal li { color: #34302C; }
.legal ul, .legal ol { padding-left: 1.2em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print { .site-header, .site-footer, .form { display: none; } .hero, .mast, .band { min-height: 0; color: var(--ink); } }

/* Facts on a light band (About page) */
.facts--light { border-top-color: var(--line); }
.facts--light b { color: var(--ink); }
.facts--light span { color: var(--ink-2); }
.label-t { font: 500 .9375rem/1.3 var(--sans); color: var(--ink); }

/* Phone gallery: no lone photo at the end of a row */
@media (max-width: 640px) {
  .gallery > a:last-child:nth-child(even) { grid-column: span 2; }
  .gallery-more .gallery > a:last-child:nth-child(even) { grid-column: auto; }
  .gallery-more .gallery > a:last-child:nth-child(odd) { grid-column: span 2; }
  .specs div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* Overlapping photo pairs (Lake Flato-style depth) */
.pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
.pair > :first-child { grid-row: 1; grid-column: 1 / 9; }
.pair > :last-child { grid-row: 1; grid-column: 7 / 13; margin-top: 30%; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--paper); align-self: start; }
.homes .cta-tile { align-self: center; padding: 8px 0; }
.homes .cta-tile p { font: 400 clamp(1.375rem, 2vw, 1.75rem)/1.3 var(--serif); margin-bottom: 24px; }

/* Keep header nav labels on one line (added with On the Drawing Boards) */
.site-header .nav a { white-space: nowrap; }
