/* NextEra Construction — site styles. Mobile-first. */

@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces-normal-300-700.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces-italic-300-700.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(../fonts/manrope-normal-300-700.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  /* Brand (from logo files): navy #0F1F2B, off-white #F7F6F1, teal #54BFAB */
  --navy: #0F1F2B;
  --navy-2: #172B3B;
  --navy-line: rgba(247, 246, 241, .14);
  --paper: #F6F3EE;
  --paper-2: #EDE8E0;
  --white: #FFFFFF;
  --off: #F7F6F1;
  --ink: #0F1F2B;
  --ink-2: #48525C;          /* 7.4:1 on paper */
  --ink-3: #6B7279;          /* 4.6:1 on paper */
  --line: rgba(15, 31, 43, .14);
  --teal: #54BFAB;            /* logo teal: accents, buttons with navy text */
  --teal-ink: #2A7A6C;        /* teal for text on light backgrounds (4.9:1) */
  --on-dark-2: rgba(247, 246, 241, .74);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1320px;
  --sec: clamp(88px, 12vw, 176px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --hdr-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 8px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ol, ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--off); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--sec) 0; }

/* ---------- Type ---------- */
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font: 600 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--teal); }
.eyebrow__num { color: var(--teal-ink); letter-spacing: .1em; }
.eyebrow--light { color: var(--on-dark-2); }
.eyebrow--light .eyebrow__num { color: var(--teal); }
.hero__eyebrow::before { display: none; }

.sec-head__title {
  font-family: var(--serif); font-weight: 340; font-variation-settings: "opsz" 144;
  font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.025em;
  text-wrap: balance;
}
.sec-head__title em, .hero__title em { font-style: italic; font-weight: 300; }
.sec-head__lede { max-width: 30em; color: var(--ink-2); font-size: 1.0625rem; margin: 22px 0 0; }
.confirm { font: 600 .68rem/1 var(--sans); letter-spacing: .08em; color: #9A5B00; background: #FFF1D6; padding: 3px 6px; border-radius: 2px; vertical-align: middle; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--teal); --fg: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 1px solid var(--bg); border-radius: 2px;
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font: 600 .8125rem/1.1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-align: center;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { --bg: #6FCDBB; }
.btn--dark { --bg: var(--navy); --fg: var(--off); }
.btn--dark:hover { --bg: #22394B; }
.btn--ghost-light { --bg: transparent; --fg: var(--off); border-color: rgba(247, 246, 241, .55); }
.btn--ghost-light:hover { --bg: rgba(247, 246, 241, .1); border-color: var(--off); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .72rem; }
.btn--block { width: 100%; }

.arrow { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; transition: width .35s var(--ease); }
.arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.arrow--left { transform: scaleX(-1); }
.round { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--navy-line); background: transparent; color: var(--off); cursor: pointer; transition: background-color .3s var(--ease); }
.round:hover { background: rgba(247, 246, 241, .08); }
.round--dark { border-color: var(--line); color: var(--ink); }
.round--dark:hover { background: var(--paper-2); }
.round--light { background: rgba(15, 31, 43, .55); border-color: rgba(247, 246, 241, .4); color: var(--off); }
.x { position: relative; width: 16px; height: 16px; }
.x::before, .x::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 16px; height: 1px; background: currentColor; transform: rotate(45deg); }
.x::after { transform: rotate(-45deg); }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h); color: var(--off); transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.hdr__inner { height: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 12px; }
.hdr__logo { display: block; position: relative; width: 118px; margin-right: auto; }
.hdr__logo img { width: 100%; height: auto; transition: opacity .4s var(--ease); }
.hdr__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.hdr__nav { display: none; }
.hdr__cta { --bg: transparent; --fg: var(--off); border-color: rgba(247, 246, 241, .5); }
.hdr__cta-long { display: none; }
.hdr__menu { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; color: inherit; }
.hdr__bars, .hdr__bars::before { display: block; width: 22px; height: 1px; background: currentColor; position: relative; transition: transform .3s var(--ease); }
.hdr__bars { box-shadow: 0 0 0 0; }
.hdr__bars::before { content: ""; position: absolute; top: 7px; }
.hdr__bars { transform: translateY(-3.5px); }
.hdr.is-solid, .hdr.is-open { background: rgba(246, 243, 238, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.hdr.is-solid .logo-light, .hdr.is-open .logo-light { opacity: 0; }
.hdr.is-solid .logo-dark, .hdr.is-open .logo-dark { opacity: 1; }
.hdr.is-solid .hdr__cta, .hdr.is-open .hdr__cta { --bg: var(--navy); --fg: var(--off); border-color: var(--navy); }
.hdr.is-open .hdr__bars { transform: translateY(0) rotate(45deg); }
.hdr.is-open .hdr__bars::before { transform: translateY(-7px) rotate(-90deg); }

.menu { position: fixed; inset: var(--hdr-h) 0 0; z-index: 49; background: var(--paper); padding: 28px var(--gutter) 40px; overflow-y: auto; display: flex; flex-direction: column; gap: 32px; animation: menuIn .4s var(--ease); }
.menu nav { display: grid; }
.menu nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 340 1.75rem/1.1 var(--serif); letter-spacing: -.01em; }
.menu nav small { font: 600 .7rem/1 var(--sans); letter-spacing: .1em; color: var(--teal-ink); min-width: 28px; }
.menu__contact { color: var(--ink-2); margin: 0; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Hero ---------- */
/* Mobile: photo on top (framed on the entry), headline overlapping its lower edge on navy */
.hero { position: relative; color: var(--off); background: var(--navy); overflow: hidden; isolation: isolate; }
.hero__media { position: relative; height: 66vh; height: 66svh; min-height: 440px; z-index: -2; overflow: hidden; }
.hero__img, .hero__img img { width: 100%; height: 100%; }
.hero__img img { object-fit: cover; object-position: 52% 50%; animation: heroIn 2.2s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.06); opacity: .6; } }
.hero__scrim { position: absolute; left: 0; right: 0; top: 0; height: calc(66vh + 2px); height: calc(66svh + 2px); min-height: 442px; z-index: -1; background:
  linear-gradient(to top, var(--navy) 0%, rgba(15, 31, 43, .75) 22%, rgba(15, 31, 43, 0) 52%),
  linear-gradient(to bottom, rgba(10, 21, 30, .55) 0%, rgba(10, 21, 30, 0) 24%); }
.hero__content { position: relative; margin-top: -132px; padding-bottom: 56px; }
.hero__title { font-family: var(--serif); font-weight: 330; font-variation-settings: "opsz" 144; font-size: clamp(2.9rem, 1.6rem + 6.2vw, 7.25rem); line-height: .98; letter-spacing: -.03em; max-width: 11.5em; margin: 0 0 24px; text-wrap: balance; }
.hero__lede { max-width: 33em; font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); line-height: 1.6; color: rgba(247, 246, 241, .86); margin-bottom: 34px; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; }
.hero__caption { position: absolute; right: var(--gutter); top: calc(var(--hdr-h) + 18px); margin: 0; font: 500 .6875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(247, 246, 241, .7); display: none; }

/* ---------- 01 Work ---------- */
.sec-head { margin-bottom: clamp(48px, 7vw, 96px); }
.work__grid { display: grid; gap: clamp(56px, 8vw, 112px) 0; }
.proj__open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.proj__media { display: block; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; }
.proj__media picture, .diff__fig picture { width: 100%; height: 100%; }
.proj__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.proj__open:hover .proj__media img { transform: scale(1.035); }
.proj__meta { display: grid; grid-template-columns: 1fr; gap: 6px 18px; align-items: baseline; padding-top: 20px; border-top: 0; }
.proj__name { display: block; font: 380 1.5rem/1.15 var(--serif); letter-spacing: -.01em; }
.proj__desc { display: block; color: var(--ink-2); font-size: .9375rem; margin-top: 6px; }
.proj__loc { color: var(--ink-3); white-space: nowrap; }
.proj__cta { grid-column: 1; display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.proj__open:hover .arrow { width: 30px; }

/* Interior previews under each project card */
.proj__thumbs { grid-column: 1 / -1; display: flex; gap: 8px; margin-top: 18px; }
.proj__thumbs picture { flex: 1 1 0; max-width: 140px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.proj__thumbs img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s var(--ease); }
.proj__open:hover .proj__thumbs img { opacity: .85; }

/* Wide model-home image (desktop only) */

/* Photo band before contact */
.band { position: relative; display: flex; align-items: flex-end; min-height: 78vh; min-height: 78svh; color: var(--off); background: var(--navy); overflow: hidden; isolation: isolate; }
.band__media { position: absolute; inset: 0 0 -2px; z-index: -1; }
.band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--navy) 0%, rgba(15, 31, 43, .78) 30%, rgba(15, 31, 43, .25) 70%, rgba(15, 31, 43, .1) 100%); }
.band__img, .band__img img { width: 100%; height: 100%; }
.band__img img { object-fit: cover; object-position: 52% 60%; }
.band__content { padding-top: 140px; padding-bottom: 56px; }
.band__lede { color: var(--on-dark-2); font-size: 1.0625rem; margin: 18px 0 30px; }

/* ---------- 02 Difference ---------- */
.diff { background: var(--white); }
.diff__head { margin-bottom: 56px; }
.diff__list { display: grid; gap: 56px; counter-reset: d; }
.diff__fig { overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 22px; background: var(--paper-2); }
.diff__fig img { width: 100%; height: 100%; object-fit: cover; }
.diff__num { display: block; font: 600 .72rem/1 var(--sans); letter-spacing: .14em; color: var(--teal-ink); margin-bottom: 12px; }
.diff__title { font: 380 1.625rem/1.15 var(--serif); letter-spacing: -.01em; margin-bottom: 10px; }
.diff__item p { color: var(--ink-2); margin: 0; max-width: 26em; }

/* ---------- 03 Featured ---------- */
.feat { background: var(--navy); color: var(--off); overflow: hidden; }
.feat__top { display: grid; gap: 48px; }
.feat__lede { color: var(--on-dark-2); font-size: 1.0625rem; max-width: 32em; margin: 22px 0 0; }
.feat__callouts { margin: 0 0 40px; border-top: 1px solid var(--navy-line); }
.callout { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--navy-line); }
.callout dt { font: 380 1.5rem/1.2 var(--serif); letter-spacing: -.01em; }
.callout dd { margin: 0; color: var(--on-dark-2); font-size: .9375rem; }
.feat__actions { margin-bottom: 8px; }

.vid { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; aspect-ratio: 4 / 5; }
.vid__img, .vid__img img { width: 100%; height: 100%; }
.vid__img img { object-fit: cover; opacity: .82; transition: transform 1.2s var(--ease), opacity .5s var(--ease); }
.vid:hover .vid__img img { transform: scale(1.03); opacity: .7; }
.vid__play { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 14px; color: var(--off); font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.vid__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(247, 246, 241, .7); background: rgba(15, 31, 43, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .35s var(--ease), border-color .35s; }
.vid__icon::before { content: ""; margin-left: 4px; border-left: 13px solid var(--off); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.vid:hover .vid__icon { background: var(--teal); border-color: var(--teal); }
.vid:hover .vid__icon::before { border-left-color: var(--navy); }
.vid__len { position: absolute; right: 20px; top: 20px; font: 500 .72rem/1 var(--sans); letter-spacing: .1em; color: var(--off); background: rgba(15, 31, 43, .5); padding: 7px 9px; }

.feat__strip-wrap { margin-top: clamp(72px, 9vw, 128px); }
.feat__strip-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.feat__strip-label { margin: 0; font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); }
.feat__strip-nav { display: none; gap: 10px; }
.feat__strip { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
.feat__strip::-webkit-scrollbar { display: none; }
.feat__strip li { scroll-snap-align: start; }
.feat__strip picture { overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy-2); }
.feat__strip img { width: 100%; height: 100%; object-fit: cover; }
.feat__strip figcaption { margin-top: 12px; font-size: .875rem; color: var(--on-dark-2); }

/* ---------- 04 Process: connected timeline (vertical on phones, horizontal on desktop) ---------- */
.steps { position: relative; padding-left: 56px; }
.step { position: relative; display: grid; gap: 12px; margin-bottom: 44px; }
.step:last-child { margin-bottom: 0; }
.step__marker { position: absolute; left: -56px; top: 0; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(15, 31, 43, .35); background: var(--paper); font: 600 .72rem/1 var(--sans); letter-spacing: .06em; color: var(--ink); }
.step--lead .step__marker { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.step:not(:last-child)::after { content: ""; position: absolute; left: -36.5px; top: 40px; bottom: -44px; width: 1px; background: rgba(15, 31, 43, .22); }
.step__label { font: 380 1.75rem/1.1 var(--serif); letter-spacing: -.01em; padding-top: 4px; }
.step__body { color: var(--ink-2); }
.step__body p { margin: 0; }
.step--lead { background: var(--white); margin-right: calc(-1 * var(--gutter)); padding: 28px 22px 32px; }
.step__kicker { display: block; font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 14px; }
.step__title { font: 340 clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem)/1.08 var(--serif); letter-spacing: -.02em; color: var(--ink); margin-bottom: 22px; }
.checks { display: grid; gap: 0; margin-bottom: 22px; border-top: 1px solid var(--line); }
.checks li { position: relative; padding: 15px 0 15px 30px; border-bottom: 1px solid var(--line); color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 12px; height: 7px; border-left: 1.5px solid var(--teal-ink); border-bottom: 1.5px solid var(--teal-ink); transform: rotate(-45deg); }
.checks li strong { display: block; font-weight: 600; color: var(--ink); line-height: 1.4; }
.checks li span { display: block; margin-top: 3px; font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.step__note { font-weight: 600; color: var(--ink); margin: 0 0 26px !important; }
.fineprint { margin: 40px 0 0; font-size: .8125rem; color: var(--ink-3); }

/* ---------- 05 About ---------- */
.about { background: var(--paper-2); }
.about__layout { display: grid; gap: 48px; }
.about__lead { font: 340 1.375rem/1.45 var(--serif); color: var(--ink); margin: 0 0 24px !important; }
.about__text p { color: var(--ink-2); max-width: 34em; margin: 0 0 1.15em; line-height: 1.75; }
.about__text p:last-child { margin-bottom: 0; }
.about__text strong { font-weight: 600; color: var(--ink); }
.about__text .about__lead { line-height: 1.45; }

/* ---------- 06 FAQ ---------- */
.faq__layout { display: grid; gap: 40px; }
.qa { border-bottom: 1px solid var(--line); }
.faq__list { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 380 1.3125rem/1.3 var(--serif); letter-spacing: -.005em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 13px; height: 13px; background: linear-gradient(currentColor, currentColor) center / 13px 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 13px no-repeat; transition: transform .35s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--teal-ink); }
.qa__a { padding: 0 40px 28px 0; color: var(--ink-2); max-width: 40em; line-height: 1.75; }
.qa__a p { margin: 0; }
/* Smooth open/close where supported (Chrome 131+); elsewhere answers simply appear */
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}
@media (prefers-reduced-motion: reduce) { .qa::details-content { transition: none; } }

/* ---------- 07 Contact ---------- */
.contact { background: var(--navy); color: var(--off); }
.band + .contact { padding-top: clamp(32px, 4vw, 56px); margin-top: -1px; position: relative; } /* -1px hides a subpixel seam */
.contact__layout { display: grid; gap: 56px; }
.contact__lede { color: var(--on-dark-2); font-size: 1.0625rem; max-width: 26em; margin: 22px 0 40px; }
.direct { border-top: 1px solid var(--navy-line); }
.direct a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--navy-line); text-decoration: none; transition: color .3s; }
.direct a:hover, .direct a:focus-visible { color: var(--teal); }
.direct a:hover .direct__v, .direct a:focus-visible .direct__v { color: var(--teal); }
.direct a:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.direct__k { font: 380 1.25rem/1.2 var(--serif); }
.direct__v { font-size: .875rem; color: var(--on-dark-2); }

.formcard { background: var(--paper); color: var(--ink); padding: 32px 22px; margin: 0 calc(-1 * var(--gutter) + 8px); }
.form__title { font: 360 1.875rem/1.1 var(--serif); letter-spacing: -.015em; margin-bottom: 28px; }
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 8px; padding: 0; font: 600 .75rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink-3); }
.field input[type=text], .field textarea { width: 100%; padding: 14px 14px; border: 1px solid rgba(15, 31, 43, .28); border-radius: 2px; background: var(--white); color: var(--ink); font: 400 1rem/1.4 var(--sans); transition: border-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(84, 191, 171, .35); }
.field__hint { margin: 6px 0 0; font-size: .8125rem; color: var(--ink-3); }
.field__err { margin: 6px 0 0; font-size: .8125rem; color: #A3271B; font-weight: 600; }
.is-invalid input[type=text] { border-color: #A3271B !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; margin: 6px 0 4px; font-size: .8125rem; line-height: 1.55; color: var(--ink-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); }
.form__submit { margin-top: 22px; }
.form__status { margin: 14px 0 0; font-size: .875rem; color: #A3271B; }
.form__status:empty { display: none; }
.form__done { padding: 24px 0; outline: none; }
.form__done-mark { display: block; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--teal-ink); position: relative; margin-bottom: 24px; }
.form__done-mark::after { content: ""; position: absolute; left: 17px; top: 18px; width: 16px; height: 8px; border-left: 1.5px solid var(--teal-ink); border-bottom: 1.5px solid var(--teal-ink); transform: rotate(-45deg); }
.form__legal { margin: 14px 0 18px; font-size: .75rem; line-height: 1.55; color: var(--ink-3); }
.form__legal a { color: inherit; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.form__done-sub { margin-top: 12px; color: var(--ink-2); max-width: 30em; }
.form__done-msg { font: 340 1.75rem/1.25 var(--serif); letter-spacing: -.01em; }

/* ---------- Footer ---------- */
.ftr { background: #0B1821; color: var(--on-dark-2); padding: clamp(80px, 10vw, 140px) 0 32px; font-size: .9375rem; }
.ftr__hero { display: grid; gap: 32px; justify-items: start; padding-bottom: clamp(56px, 7vw, 96px); margin-bottom: 48px; border-bottom: 1px solid var(--navy-line); }
.ftr .ftr__big { margin: 0; max-width: 11em; font-family: var(--serif); font-weight: 330; font-variation-settings: "opsz" 144; font-size: clamp(2.6rem, 1.3rem + 5.4vw, 6.25rem); line-height: .98; letter-spacing: -.03em; color: var(--off); text-wrap: balance; }
.ftr__big em { font-style: italic; font-weight: 300; color: var(--teal); }
.ftr__top { display: grid; gap: 20px; padding-bottom: 48px; border-bottom: 1px solid var(--navy-line); }
.ftr__logo img { width: 170px; }
.ftr__tag { font-size: .9375rem; color: var(--on-dark-2); margin: 0; }
.ftr__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: 40px 0; }
.ftr h3 { font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.ftr p { margin: 0; line-height: 1.8; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--off); text-decoration: underline; text-underline-offset: 3px; }
.ftr__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--navy-line); font-size: .8125rem; }

/* ---------- Gallery dialog ---------- */
dialog { padding: 0; border: 0; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(8, 16, 23, .7); }
.gal { width: 100%; height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
.gal[open] { display: flex; flex-direction: column; animation: galIn .45s var(--ease); }
@keyframes galIn { from { opacity: 0; transform: translateY(24px); } }
.gal__bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--gutter); background: rgba(246, 243, 238, .96); border-bottom: 1px solid var(--line); }
.gal__title { margin: 0; font: 380 1.375rem/1.2 var(--serif); }
.gal__desc { margin: 2px 0 0; font-size: .875rem; color: var(--ink-2); }
.gal__body { flex: 1; overflow-y: auto; padding: 8px var(--gutter) 40px; -webkit-overflow-scrolling: touch; }
.g-room { padding-top: 36px; }
.g-room__title { display: flex; align-items: center; gap: 14px; font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 16px; }
.g-room__title::before { content: ""; width: 28px; height: 1px; background: var(--teal); }
.g-grid { display: grid; gap: 12px; }
.g-fig picture { background: var(--paper-2); }
.gal__foot { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.gal__foot p { margin: 0; font: 380 1.25rem/1.3 var(--serif); }

/* ---------- Video dialog ---------- */
.vmodal { background: #000; width: 100%; height: 100%; margin: 0; }
.vmodal[open] { display: grid; place-items: center; animation: galIn .35s var(--ease); }
.vmodal__video { width: 100%; height: 100%; max-height: 100vh; object-fit: contain; background: #000; }
.vmodal__close { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; z-index: 2; }

/* ---------- Photo viewer (tap to enlarge) ---------- */
.lb-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.lb-open img { transition: opacity .3s var(--ease); }
.lb-open:hover img { opacity: .92; }
.lb { width: 100%; height: 100%; margin: 0; background: #091219; color: var(--off); overflow: hidden; }
.lb::backdrop { background: rgba(5, 10, 15, .94); }
.lb[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; animation: lbIn .3s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb__stage { display: grid; place-items: center; min-height: 0; padding: calc(64px + env(safe-area-inset-top)) 12px 8px; touch-action: pan-y; user-select: none; }
.lb__stage picture { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; }
.lb__stage img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 160px); max-height: calc(100svh - 160px); object-fit: contain; }
.lb__bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
.lb__cap { flex: 1; margin: 0; text-align: center; font-size: .875rem; line-height: 1.45; color: var(--on-dark-2); }
.lb__count { position: absolute; left: 20px; top: calc(24px + env(safe-area-inset-top)); margin: 0; font: 600 .72rem/1 var(--sans); letter-spacing: .16em; color: var(--on-dark-2); }
.lb__close { position: absolute; right: 12px; top: calc(10px + env(safe-area-inset-top)); }
.lb.is-single .lb__step { visibility: hidden; }

/* ---------- "View home" cursor label (desktop, fine pointers only) ---------- */
.cursor-label { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; will-change: transform; }
.cursor-label__dot { display: grid; place-items: center; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: rgba(247, 246, 241, .95); color: var(--navy); font: 600 .66rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-align: center; opacity: 0; transform: scale(.4); transition: opacity .3s var(--ease), transform .4s var(--ease); box-shadow: 0 10px 30px rgba(8, 16, 23, .18); }
.cursor-label.is-on .cursor-label__dot { opacity: 1; transform: scale(1); }
.has-cursor-label .proj__media { cursor: none; }

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- ≥ 600px ---------- */
@media (min-width: 600px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hdr__logo { width: 136px; }
  .formcard { margin: 0; padding: 44px 40px; }
  .ftr__cols { grid-template-columns: repeat(4, 1fr); }
  .feat__strip { grid-auto-columns: 42%; }
  .g-grid { grid-template-columns: 1fr 1fr; }
  .g-fig:only-child { grid-column: 1 / -1; }
  .gal__foot { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- ≥ 900px ---------- */
@media (min-width: 900px) {
  :root { --hdr-h: 80px; }
  .hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; }
  .hero__media { position: absolute; inset: 0; height: auto; min-height: 0; }
  .hero__content { margin-top: 0; padding-top: 160px; }
  .hero__caption { display: block; }
  .hero__img img { object-position: 30% 62%; }
  .hero__scrim { height: auto; min-height: 0; bottom: 0; background:
    linear-gradient(to right, rgba(10, 21, 30, .78) 0%, rgba(10, 21, 30, .5) 34%, rgba(10, 21, 30, 0) 62%),
    linear-gradient(to top, rgba(10, 21, 30, .55) 0%, rgba(10, 21, 30, 0) 40%),
    linear-gradient(to bottom, rgba(10, 21, 30, .5) 0%, rgba(10, 21, 30, 0) 20%); }
  .hero__title { font-size: clamp(3.4rem, 1rem + 4.4vw, 5.6rem); max-width: 6.8em; }
  .hero__lede { max-width: 27em; }
  .hero__content { padding-bottom: clamp(72px, 11vh, 128px); }

  .sec-head { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: end; }
  .sec-head .eyebrow { grid-column: 1 / -1; }
  .sec-head .sec-head__lede { margin: 0; justify-self: end; max-width: 26em; }

  .work__grid { grid-template-columns: repeat(12, 1fr); column-gap: clamp(24px, 3vw, 48px); row-gap: clamp(72px, 9vw, 140px); }
  .proj--1 { grid-column: 1 / -1; }
  .proj--1 .proj__media { aspect-ratio: 16 / 8; }
  .proj--2 { grid-column: 1 / span 7; }
  .proj--2 .proj__media { aspect-ratio: 4 / 3; }
  .proj--3 { grid-column: 9 / span 4; margin-top: clamp(80px, 14vw, 220px); }
  .proj--3 .proj__media { aspect-ratio: 4 / 5; }
  .proj__meta { grid-template-columns: 1fr auto; }
  .proj__cta { grid-column: 2; grid-row: 1; margin: 0; align-self: start; padding-top: 8px; }

  .proj--1 .proj__thumbs picture { max-width: 168px; }
  .band { min-height: 84vh; }
  .band__media::after { background: linear-gradient(to right, rgba(15, 31, 43, .85) 0%, rgba(15, 31, 43, .55) 38%, rgba(15, 31, 43, .1) 68%), linear-gradient(to top, var(--navy) 0%, rgba(15, 31, 43, 0) 30%); }
  .band__content { padding-bottom: clamp(64px, 7vw, 104px); }
  .band__content > * { max-width: 560px; }
  .diff__layout { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
  .diff__head { position: sticky; top: calc(var(--hdr-h) + 48px); margin: 0; }
  .diff__head .sec-head__lede { margin-top: 22px; }
  .diff__list { grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 3.5vw, 56px); row-gap: 88px; }
  .diff__item:nth-child(even) { margin-top: 120px; }
  .diff__fig { aspect-ratio: 4 / 5; }

  .feat__top { grid-template-columns: 6fr 5fr; grid-template-areas: "intro video" "details video"; column-gap: clamp(48px, 7vw, 112px); row-gap: 0; align-items: start; }
  .feat__intro { grid-area: intro; align-self: end; }
  .feat__details { grid-area: details; padding-top: 40px; }
  .feat__video { grid-area: video; align-self: center; }
  .feat__strip-nav { display: flex; }
  .feat__strip { grid-auto-columns: calc((100% - 3 * 18px) / 3.4); gap: 18px; margin: 0; padding: 0; scroll-padding: 0; }

  .steps { --g: clamp(24px, 3vw, 48px); display: grid; grid-template-columns: 6fr 3fr 3fr; column-gap: var(--g); align-items: start; padding: 76px 0 0; }
  .step { margin: 0; }
  .step__marker { left: 0; top: -76px; width: 44px; height: 44px; }
  .step:not(:last-child)::after { left: 44px; right: calc(-1 * var(--g)); top: -54px; bottom: auto; width: auto; height: 1px; }
  .step--lead { margin: 0; padding: 40px 44px 44px; border-top: 3px solid var(--teal); }
  .step__label { padding-top: 0; }

  .about__layout { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
  .faq__layout { grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
  .faq__head { position: sticky; top: calc(var(--hdr-h) + 48px); }

  .contact__layout { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
  .contact__intro { position: sticky; top: calc(var(--hdr-h) + 48px); }
  .formcard { padding: 52px 56px; }

  .ftr__hero { grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
  .ftr__top { grid-template-columns: auto 1fr; align-items: end; gap: 48px; }
  .ftr__tag { justify-self: end; }

  .gal { width: min(1240px, 94vw); height: 92vh; margin: auto; }
  .gal__body { padding-bottom: 56px; }
  .g-fig.is-tall { grid-row: span 2; }
  .lb__stage { padding: 72px 40px 8px; }
  .lb__bar { padding: 14px 32px 22px; }
  .vmodal { width: auto; height: 92vh; aspect-ratio: 9 / 16; margin: auto; background: transparent; }
  .vmodal__close { right: -64px; top: 0; }
}

/* ---------- ≥ 1180px ---------- */
@media (min-width: 1180px) {
  .hdr__nav { display: flex; gap: 30px; margin-right: 18px; }
  .hdr__nav a { position: relative; text-decoration: none; font: 500 .8125rem/1 var(--sans); letter-spacing: .04em; padding: 6px 0; opacity: .9; }
  .hdr__nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--teal); transition: right .35s var(--ease); }
  .hdr__nav a:hover::after, .hdr__nav a.is-current::after { right: 0; }
  .hdr__menu { display: none; }
  .hdr__cta-long { display: inline; }
  .hdr__cta-short { display: none; }
  .hdr__logo { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* ---------- From Render to Reality ---------- */
.rtr__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rtr__label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font: 600 .5625rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.rtr__label::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--teal-ink); }
.rtr__frame--after img { object-position: 50% 88%; }
.js .rtr__fig--after.reveal { transition-delay: .18s; }
.rtr__frame { aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2); outline: 1px solid var(--line); outline-offset: -1px; }
.rtr__frame picture, .rtr__frame img { display: block; width: 100%; height: 100%; }
.rtr__frame img { object-fit: cover; }
.rtr__note { margin-top: 24px; font-size: .875rem; color: var(--ink-3); max-width: 40em; }
/* ---------- Featured Home: details ---------- */
.specs { margin-top: clamp(56px, 7vw, 96px); padding-top: 32px; border-top: 1px solid var(--navy-line); }
.specs__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; margin: 20px 0 32px; }
.specs__stats li { display: flex; flex-direction: column; gap: 6px; }
.specs__stats strong { font: 340 2rem/1 var(--serif); color: var(--off); letter-spacing: -.01em; }
.specs__stats span { font-size: .8125rem; color: var(--on-dark-2); }
.specs__more { border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); }
.specs__more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font: 600 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--off); }
.specs__more summary::-webkit-details-marker { display: none; }
.specs__more summary::after { content: ""; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 12px no-repeat; transition: transform .3s var(--ease); }
.specs__more[open] summary::after { transform: rotate(45deg); }
.specs__more summary:hover, .specs__more summary:focus-visible { color: var(--teal); }
.specs__grid { display: grid; gap: 28px; padding: 8px 0 32px; }
.specs__grid h3 { margin: 0 0 10px; font: 600 .6875rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.specs__grid li { padding: 6px 0; color: var(--on-dark-2); font-size: .9375rem; line-height: 1.5; }
@supports (interpolate-size: allow-keywords) {
  .specs__more { interpolate-size: allow-keywords; }
  .specs__more::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .specs__more[open]::details-content { height: auto; }
}

@media (min-width: 600px) {
  .specs__stats { grid-template-columns: repeat(5, auto); justify-content: space-between; }
  .specs__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .rtr__pair { gap: clamp(24px, 3vw, 48px); max-width: 1000px; margin-inline: auto; }
  .rtr__label { gap: 12px; margin-bottom: 14px; font-size: .6875rem; }
  .rtr__label::before { width: 28px; }
  .rtr__note { max-width: 1000px; margin-inline: auto; }
  .proj--4 { grid-column: 1 / span 7; }
  .proj--4 .proj__media { aspect-ratio: 3 / 2; }
  .proj--5 { grid-column: 9 / span 4; margin-top: clamp(80px, 14vw, 220px); }
  .proj--5 .proj__media { aspect-ratio: 4 / 5; }
  .specs__grid { grid-template-columns: repeat(5, 1fr); gap: 32px; }
}
@media (prefers-reduced-motion: reduce) { .specs__more::details-content { transition: none; } }
