/* JBA — residential real estate. Dark stone, brass, editorial serif. */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("/fonts/big-shoulders.woff") format("woff");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit.woff") format("woff");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0c0b0a;
  --bg-2: #12100e;
  --bg-3: #1c1916;
  --ink: #f4efe6;
  --muted: #cfc6b8;
  --faint: #a89d8f;
  --line: rgba(244, 239, 230, 0.12);
  --line-2: rgba(244, 239, 230, 0.26);
  --accent: #c4a574;
  --accent-hi: #e6d3b0;
  --accent-deep: #3a2e22;
  --danger: #ffb4a8;
  --ok: #e5f0d4;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --max: 1240px;
  --nav-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  scroll-padding-top: calc(var(--nav-h) + 0.5rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.06rem;
  font-weight: 360;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
  overflow-x: clip;
}

::selection { background: var(--accent); color: #1a140e; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

a, button, input, textarea, select, label { -webkit-tap-highlight-color: transparent; }

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
}

em { font-style: italic; }

.btn i, .nav-cta i, .service a i, .text-link i {
  font-style: normal;
  display: inline-block;
  transition: transform 0.45s var(--ease);
}

.skip {
  position: absolute;
  left: var(--pad);
  top: 0.6rem;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 0.55rem 0.8rem;
  transform: translateY(-200%);
  text-decoration: none;
  font-weight: 600;
}

.skip:focus { transform: none; }

h1, h2, h3, p { margin-top: 0; }

/* ---------- progress + nav ---------- */

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 70;
  pointer-events: none;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #8c7048, var(--accent-hi));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem 2rem;
  height: var(--nav-h);
  padding: 0 var(--pad);
  padding-top: env(safe-area-inset-top);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: transform 0.6s var(--ease), background-color 0.5s ease, border-color 0.5s ease;
}

.nav.is-scrolled {
  background: rgba(12, 11, 10, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}

.nav.is-hidden { transform: translateY(-101%); }

.mark {
  display: inline-grid;
  place-items: center;
  min-width: 2.9rem;
  height: 2.6rem;
  padding: 0 0.4rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  line-height: 1;
  border: 1px solid var(--line-2);
  position: relative;
  transition: border-color 0.4s ease, background-color 0.4s ease;
}

.mark::after {
  content: "";
  position: absolute;
  left: -1px;
  bottom: -1px;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}

.mark:hover { border-color: var(--accent); }
.mark:hover::after { width: calc(100% + 2px); height: 2px; }

.nav-toggle {
  display: none;
  justify-self: end;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
  min-height: 2.6rem;
  padding: 0 0.95rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 0.15rem clamp(1.1rem, 2.4vw, 2.2rem);
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: flex-end;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.35s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.55s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--ink); }

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  border: 1px solid var(--accent);
  color: var(--ink);
  min-height: 2.6rem;
  padding: 0 1rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.nav-cta .num {
  color: var(--accent-hi);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  transition: color 0.4s ease;
}

.nav-cta:hover { background: var(--accent); color: #1a140e; }
.nav-cta:hover .num { color: #1a140e; }

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.3rem;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 620;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s ease, border-color 0.45s ease, transform 0.2s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.6s var(--ease);
}

.btn:hover::before { transform: scaleX(1); transform-origin: 0 50%; }
.btn:active { transform: scale(0.98); }
.btn:hover i { transform: translateX(4px); }

.btn-lg { min-height: 3.5rem; padding: 0.9rem 1.7rem; font-size: 0.82rem; }

.btn-primary { background: var(--accent); color: #1a140e; }
.btn-primary::before { background: var(--accent-hi); }

.btn-ghost {
  background: rgba(12, 11, 10, 0.25);
  color: var(--ink);
  border-color: var(--line-2);
}

.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: #14110e; border-color: var(--ink); }

.btn-sm { min-height: 2.3rem; padding: 0.4rem 0.8rem; font-size: 0.7rem; }

.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ---------- type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.4rem;
  color: var(--accent-hi);
  font-size: 0.72rem;
  font-weight: 560;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow .idx {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.eyebrow .idx::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 2.2rem;
  height: 1px;
  margin-left: 0.75rem;
  background: var(--line-2);
}

.eyebrow .sep { color: var(--faint); }

.dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

h2 {
  margin: 0 0 1.4rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 6.4vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2 em, .hero-title em, .pull em, .foot-cta em { color: var(--accent-hi); }

.note, .lede-sm {
  max-width: 34rem;
  color: var(--muted);
  margin: 0;
  font-size: 1.1rem;
}

.section { padding: clamp(5.5rem, 12vw, 10.5rem) var(--pad); }

.section-alt { background: var(--bg-2); }

.wrap, .split, .about-grid, .why-grid { max-width: var(--max); margin: 0 auto; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  margin-top: calc(var(--nav-h) * -1);
  padding: calc(var(--nav-h) + clamp(1.5rem, 5vh, 4rem)) var(--pad) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-ambient {
  position: absolute;
  inset: -12%;
  z-index: -2;
  background: url("/media/julian/ferrari.webp") 70% 40% / cover no-repeat;
  filter: blur(70px) saturate(1.25) brightness(0.5);
  opacity: 0.75;
  transform: scale(1.1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 0.9) 0%, rgba(12, 11, 10, 0.62) 46%, rgba(12, 11, 10, 0.25) 100%),
    linear-gradient(180deg, rgba(12, 11, 10, 0.5) 0%, transparent 30%, rgba(12, 11, 10, 0.94) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  padding: clamp(1rem, 4vh, 3rem) 0;
}

.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.1rem, 7.2vw, 6.9rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.hero-title .w > span { display: inline-block; }

.lede {
  max-width: 31rem;
  margin: 1.8rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.5;
}

.hero-contact {
  margin: 1.4rem 0 0;
  color: var(--faint);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-contact a {
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.1rem;
  transition: color 0.3s ease;
}

.hero-contact a:hover { color: var(--accent-hi); }

.hero-photo {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  margin: 0;
  justify-self: end;
  width: min(100%, 34rem);
}

.hero-photo-clip {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: calc(100svh - var(--nav-h) - 15.5rem);
  width: 100%;
  overflow: hidden;
  background: #161411;
}

.hero-photo-clip::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(244, 239, 230, 0.14);
  background: linear-gradient(180deg, transparent 60%, rgba(12, 11, 10, 0.35) 100%);
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 86% 50%;
  will-change: transform;
}

.hero-photo::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: -0.9rem;
  top: 12%;
  width: 1px;
  height: 34%;
  background: var(--accent);
}

.hero-photo figcaption,
.selling-photo figcaption,
.offclock figcaption,
.stage-caption,
.jstep-shot figcaption {
  margin-top: 0.75rem;
  color: var(--faint);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-photo figcaption { text-align: right; }
.hero-photo figcaption span { color: var(--accent); margin: 0 0.3rem; }

.hero-path {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: clamp(1.5rem, 4vh, 3rem);
  border-top: 1px solid var(--line);
  text-decoration: none;
  counter-reset: path;
}

.hero-path span {
  position: relative;
  padding: 1.15rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  counter-increment: path;
  transition: color 0.4s ease;
}

.hero-path span::before {
  content: "0" counter(path);
  display: block;
  margin-bottom: 0.3rem;
  color: var(--accent);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hero-path span::after {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.7s var(--ease);
}

.hero-path:hover span { color: var(--ink); }
.hero-path:hover span::after { transform: scaleX(1); }
.hero-path span:nth-child(2)::after { transition-delay: 0.06s; }
.hero-path span:nth-child(3)::after { transition-delay: 0.12s; }
.hero-path span:nth-child(4)::after { transition-delay: 0.18s; }
.hero-path span:nth-child(5)::after { transition-delay: 0.24s; }
.hero-path span:nth-child(6)::after { transition-delay: 0.3s; }

/* ---------- selling ---------- */

.selling { padding-bottom: clamp(4rem, 8vw, 7rem); }

.selling-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.selling-copy h2 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }

.selling-photo { margin: 0; }

.selling-photo .clip,
.about-portrait .clip,
.about-inset .clip,
.offclock .clip {
  position: relative;
  overflow: hidden;
  background: #161411;
}

.selling-photo .clip { aspect-ratio: 4 / 5; }

.selling-photo img,
.about-portrait img,
.offclock img {
  width: 100%;
  height: 114%;
  object-fit: cover;
  will-change: transform;
}

.selling-photo img { object-position: 46% 50%; }

.listing-note {
  margin-top: clamp(3.5rem, 8vw, 6.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.4rem 3rem;
}

.listing-note .eyebrow { margin: 0; color: var(--faint); }
.listing-note p:last-child { margin: 0; color: var(--muted); max-width: 44rem; }

.property-grid, .sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.property {
  display: flex;
  flex-direction: column;
  background: var(--bg-3);
  border: 1px solid var(--line);
  min-width: 0;
}

.property-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #221e1a;
  display: grid;
  place-items: center;
  color: var(--faint);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  overflow: hidden;
}

.property-photo img { width: 100%; height: 100%; object-fit: cover; }

.property-body { padding: 1.1rem 1.1rem 1.25rem; }

.property-price {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.1rem;
  line-height: 1;
}

.property-location { margin: 0.45rem 0 0; color: var(--muted); }

.property-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  margin: 0.9rem 0 0;
  padding: 0.75rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.property-stats span {
  display: block;
  color: var(--faint);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- journey (process) ---------- */

.journey-head { max-width: var(--max); margin: 0 auto clamp(3rem, 7vw, 6rem); }

.journey-grid { max-width: var(--max); margin: 0 auto; }

.journey-stage { display: none; }

.journey-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.jstep {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 0 1rem;
  padding: 0 0 clamp(2.8rem, 8vw, 4rem);
}

.jstep::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 2.6rem;
  bottom: 0.4rem;
  width: 1px;
  background: var(--line-2);
}

.jstep:last-child { padding-bottom: 0; }
.jstep:last-child::before { display: none; }

.jstep .n {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.jstep h3 {
  margin: -0.35rem 0 0.7rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.01em;
}

.jstep p { margin: 0; color: var(--muted); max-width: 30rem; }

.jstep-shot { margin: 1.5rem 0 0; }

.jstep-shot img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.jstep-cta { margin-top: 2rem !important; }

/* ---------- services ---------- */

.services {
  list-style: none;
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.service {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 0.4rem 1rem;
  padding: clamp(1.6rem, 3.4vw, 2.6rem) 0;
  border-top: 1px solid var(--line);
}

.service::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.9s var(--ease);
}

.service:hover::before { transform: scaleX(1); }

.service-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 2.2;
  color: var(--accent);
}

.service h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  transition: transform 0.7s var(--ease), color 0.4s ease;
}

.service:hover h3 { transform: translateX(0.6rem); color: var(--accent-hi); }

.service-body { grid-column: 2; }

.service p { margin: 0; color: var(--muted); max-width: 34rem; }

.service a, .text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  padding-bottom: 0.2rem;
  color: var(--accent-hi);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}

.service a:hover, .text-link:hover { background-size: 100% 1px; }
.service a:hover i, .text-link:hover i { transform: translateX(4px); }

/* ---------- about ---------- */

.about-grid { display: grid; gap: clamp(3rem, 7vw, 6rem); }

.about-visual { position: relative; padding-bottom: 14%; }

.about-portrait { margin: 0; width: 82%; }
.about-portrait .clip { aspect-ratio: 4 / 5; }
.about-portrait img { object-position: 42% 0%; }

.about-inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  margin: 0;
  box-shadow: 0 0 0 0.6rem var(--bg-2);
}

.about-inset .clip { aspect-ratio: 4 / 5; }
.about-inset img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 12%; }

.about-copy h2 { font-size: clamp(3.6rem, 9vw, 7.5rem); margin-bottom: 0.6rem; }

.about-copy p { color: var(--muted); max-width: 36rem; }

.pull {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.08;
  color: var(--ink) !important;
  margin: 0 0 1.8rem;
}

.spec { margin: 2.2rem 0 0; max-width: 36rem; }

.spec > div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.spec > div:last-child { border-bottom: 1px solid var(--line); }

.spec dt { color: var(--faint); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; line-height: 2; }
.spec dd { margin: 0; }
.spec a, .foot-links a { text-decoration: none; transition: color 0.3s ease; }
.spec a:hover { color: var(--accent-hi); }

.offclock { max-width: var(--max); margin: clamp(4.5rem, 10vw, 8.5rem) auto 0; }

.offclock-label { color: var(--faint); }

.offclock-grid { display: grid; gap: 1.5rem; }

.offclock figure { margin: 0; }
.offclock-wide .clip { aspect-ratio: 16 / 10; }
.offclock-wide img { object-position: 60% 82%; }
.offclock-tall .clip { aspect-ratio: 16 / 10; }
.offclock-tall img { object-position: 50% 45%; }

/* ---------- why ---------- */

.why-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }

.reasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0 clamp(2rem, 5vw, 4.5rem);
}

.reasons li {
  padding: 1.6rem 0 1.9rem;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.reasons h3 {
  margin: 0.3rem 0 0.6rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  line-height: 1.1;
}

.reasons p { margin: 0; color: var(--muted); max-width: 30rem; }

.reasons .n {
  font-family: var(--display);
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ---------- reach ---------- */

.reach { text-align: left; overflow: hidden; }

.reach h2 { margin-bottom: 0.4rem; }

.reach-number {
  display: inline-block;
  margin: 0.2rem 0 0.4rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 12.5vw, 11rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  background: linear-gradient(var(--accent), var(--accent)) 0 0 / 0 100% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-size 1s var(--ease);
  white-space: nowrap;
}

.reach-number:hover, .reach-number:focus-visible { background-size: 100% 100%; }

.reach .lede-sm { margin-top: 2rem; font-size: 0.98rem; color: var(--faint); }

/* ---------- contact / form ---------- */

.section-book .section-head h2 { margin-bottom: 1.2rem; }

.expect, .honest, .send-note { color: var(--faint); font-size: 0.95rem; }

.expect { margin: 0.8rem 0 0; }

.book-layout {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.book-phone { margin: 0 0 1.6rem; }

@media (max-width: 979px) {
  .book-layout .form { order: -1; }
}

.progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress button {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-top: 1px solid var(--line-2);
  padding: 0.8rem 0.2rem;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.progress button b {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--faint);
}

.progress button[aria-current="step"] { color: var(--ink); border-top-color: var(--accent); }
.progress button[aria-current="step"] b { color: var(--accent); }
.progress button:disabled { cursor: default; opacity: 0.5; }

.route {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.9rem;
}

.route-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.route-to { display: block; color: var(--ink); margin: 0.25rem 0; }

.form {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(1.25rem, 4vw, 2.75rem);
}

.step h3 {
  margin: 0 0 1.4rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1;
}

html.js .step { display: none; }
html.js .step.is-current { display: block; animation: step-in 0.6s var(--ease) both; }

.choices { display: grid; gap: 0.6rem; }

.choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.choice:hover { border-color: var(--line-2); }
.choice:has(input:checked) { border-color: var(--accent); background: rgba(196, 165, 116, 0.08); }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent-hi); outline-offset: 2px; }

.choice input { width: auto; margin-top: 0.35rem; accent-color: var(--accent); }
.choice strong { display: block; font-weight: 520; font-size: 1.08rem; }
.choice-copy span { color: var(--muted); font-size: 0.94rem; }

.fields { display: grid; gap: 1.1rem; }
.fields label { display: block; margin-bottom: 0.4rem; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hint { color: var(--faint); font-size: 0.72rem; }

input, textarea, select {
  width: 100%;
  background: #0b0a09;
  color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 0;
  padding: 0.9rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus { border-color: var(--accent); }

textarea { min-height: 7.5rem; resize: vertical; }

.field-error { margin: 0.35rem 0 0; color: var(--danger); font-size: 0.88rem; }
.field-error[hidden] { display: none; }

.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.review { margin: 0; }
.review > div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.6rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.review dt { color: var(--faint); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; line-height: 2; }
.review dd { margin: 0; overflow-wrap: anywhere; }

.status { margin: 1.2rem 0 0; padding: 0.9rem 1rem; }
.status.ok { background: rgba(223, 245, 200, 0.1); color: var(--ok); border-left: 2px solid var(--ok); }
.status.bad, .summary { color: var(--danger); }

.banner {
  border: 1px solid var(--accent);
  border-left-width: 4px;
  padding: 0.95rem 1.1rem;
  background: rgba(196, 165, 116, 0.1);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- footer ---------- */

.site-footer {
  padding: clamp(3rem, 7vw, 5.5rem) var(--pad) 2.5rem;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.site-footer .inner { max-width: var(--max); margin: 0 auto; }

.foot-top { display: grid; gap: 2rem; }

.foot-cta {
  margin: 0;
  max-width: 34rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.08;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--accent-hi); }

.foot-meta { color: var(--faint); font-size: 0.85rem; max-width: 52rem; margin: 0; }

.foot-name {
  margin: clamp(2rem, 5vw, 3.5rem) 0 1.4rem;
  font-family: var(--display);
  font-weight: 750;
  font-size: clamp(6rem, 27vw, 23rem);
  line-height: 0.78;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 239, 230, 0.3);
  user-select: none;
}

/* ---------- mobile contact dock ---------- */

.dock { display: none; }

/* ---------- legal pages ---------- */

.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3.5rem var(--pad) 5rem;
}

.legal h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
}

.legal p { color: var(--muted); }
.legal a { color: var(--ink); }
.legal .btn-primary { color: #1a140e; }

/* ---------- motion ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}

html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Image reveals clip the child, never the observed wrapper. */
html.js [data-reveal="img"] { opacity: 1; transform: none; }

html.js [data-reveal="img"] > .clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.5s var(--ease-io);
  transition-delay: var(--d, 0s);
}

html.js [data-reveal="img"].is-in > .clip { clip-path: inset(0 0 0 0); }

html.js [data-reveal="img"] > figcaption {
  opacity: 0;
  transition: opacity 0.9s ease 0.9s;
}

html.js [data-reveal="img"].is-in > figcaption { opacity: 1; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes word-up {
  from { transform: translateY(110%) rotate(4deg); }
  to { transform: none; }
}

@keyframes photo-in {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes photo-zoom {
  from { scale: 1.18; }
  to { scale: 1; }
}

@keyframes line-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes step-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 1.1s var(--ease) both; animation-delay: 0.15s; }
  .rise-3 { animation-delay: 0.75s; }
  .rise-4 { animation-delay: 0.9s; }
  .rise-5 { animation-delay: 1.05s; }
  html.js .hero-title[data-split] { visibility: hidden; }
  html.js .hero-title.is-split { visibility: visible; }
  .hero-title .w > span {
    animation: word-up 1.15s var(--ease) both;
    animation-delay: calc(0.25s + var(--i, 0) * 0.07s);
    transform-origin: 0 100%;
  }
  .hero-photo-clip { animation: photo-in 1.6s var(--ease-io) 0.2s both; }
  .hero-photo picture { display: block; height: 100%; animation: photo-zoom 2.4s var(--ease) 0.2s both; }
  .hero-photo figcaption { animation: rise 1s var(--ease) 1.4s both; }
  .hero-path { animation: rise 1.1s var(--ease) 1.2s both; }
}

.hero-photo picture { display: block; height: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js [data-reveal="img"] > .clip { clip-path: none; }
  html.js [data-reveal="img"] > figcaption { opacity: 1; }
  [data-parallax] { transform: none !important; }
}

/* ---------- desktop ---------- */

@media (min-width: 980px) {
  .selling-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
  .selling-photo .clip { aspect-ratio: 5 / 6; }
  .listing-note { grid-template-columns: 12rem minmax(0, 1fr); align-items: baseline; }

  .journey-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }

  .journey-stage {
    display: block;
    position: sticky;
    top: calc(50vh - min(36vh, 20rem));
  }

  .stage-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    max-height: 72vh;
    width: 100%;
    overflow: hidden;
    background: #161411;
  }

  .stage-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.1s ease, transform 2.2s var(--ease);
  }

  .stage-img.is-on { opacity: 1; transform: none; }

  .stage-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(12, 11, 10, 0.72) 100%);
    box-shadow: inset 0 0 0 1px rgba(244, 239, 230, 0.12);
  }

  .stage-meta {
    position: absolute;
    z-index: 1;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.2rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }

  .stage-num {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(4rem, 7vw, 6.5rem);
    line-height: 0.85;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
  }

  .stage-label {
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-hi);
  }

  .journey-steps { padding: 6vh 0 12vh; }

  .jstep {
    min-height: 46vh;
    align-content: center;
    padding-bottom: 0;
    opacity: 0.28;
    transition: opacity 0.7s ease;
  }

  .jstep.is-active { opacity: 1; }
  html:not(.js) .jstep { opacity: 1; }

  .jstep::before { display: none; }
  .jstep-shot { display: none; }
  .jstep h3 { font-size: clamp(3.4rem, 5.6vw, 5.2rem); }
  .jstep p { font-size: 1.15rem; }

  .service { grid-template-columns: 5rem minmax(0, 0.8fr) minmax(0, 1fr); align-items: start; gap: 0 2rem; }
  .service-body { grid-column: 3; padding-top: 0.5rem; }
  .service-num { line-height: 3.2; }

  .about-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; }

  .offclock-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: end; }
  .offclock-wide .clip { aspect-ratio: 16 / 10; }
  .offclock-tall .clip { aspect-ratio: 4 / 5; }
  .offclock-tall img { object-position: 42% 45%; }

  .why-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
  .why-head { position: sticky; top: calc(var(--nav-h) + 2rem); }
  .reasons { grid-template-columns: 1fr 1fr; }

  .book-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 4.5rem);
  }
  .book-side { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
  .book-phone { flex-direction: column; }
  .progress { grid-template-columns: 1fr; gap: 0; }
  .progress button {
    display: grid;
    grid-template-columns: 2.4rem 1fr;
    align-items: center;
    border-top: 0;
    border-left: 1px solid var(--line-2);
    padding: 0.8rem 0 0.8rem 1rem;
  }
  .progress button[aria-current="step"] { border-left-color: var(--accent); background: linear-gradient(90deg, rgba(196, 165, 116, 0.12), transparent); }
  .fields-2 { grid-template-columns: 1fr 1fr; }
  .fields-2 .wide { grid-column: 1 / -1; }

  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .foot-links { justify-content: flex-end; }
}

@media (max-width: 1100px) {
  .nav-cta .num { display: none; }
}

/* ---------- tablet / mobile ---------- */

@media (max-width: 979px) {
  .property-grid, .sample-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --nav-h: 4rem; }

  .nav { grid-template-columns: auto 1fr auto; gap: 0.6rem; }
  .nav-toggle { display: inline-block; grid-column: 3; position: relative; z-index: 2; }
  .mark { position: relative; z-index: 2; }
  .nav-cta { display: none; }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: calc(var(--nav-h) + 1rem) var(--pad) 6rem;
    background: rgba(10, 9, 8, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    height: 100dvh;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease, visibility 0s linear 0.45s;
  }

  .nav.is-open { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }

  .nav.is-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.45s ease;
  }

  .nav-links li { overflow: hidden; border-bottom: 1px solid var(--line); }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    font-family: var(--serif);
    font-size: clamp(2.4rem, 11vw, 3.4rem);
    letter-spacing: -0.01em;
    text-transform: none;
    line-height: 1.05;
    color: var(--ink);
    transform: translateY(110%);
    transition: transform 0.8s var(--ease);
  }

  .nav-links a::after { display: none; }
  .nav.is-open .nav-links a { transform: none; }
  .nav.is-open .nav-links li:nth-child(2) a { transition-delay: 0.05s; }
  .nav.is-open .nav-links li:nth-child(3) a { transition-delay: 0.1s; }
  .nav.is-open .nav-links li:nth-child(4) a { transition-delay: 0.15s; }
  .nav.is-open .nav-links li:nth-child(5) a { transition-delay: 0.2s; }
  .nav.is-open .nav-links li:nth-child(6) a { transition-delay: 0.25s; }

  .hero {
    display: block;
    min-height: 0;
    padding: 0 0 0;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(12, 11, 10, 0.55) 0%, rgba(12, 11, 10, 0.2) 30%, rgba(12, 11, 10, 0.96) 78%, var(--bg) 100%);
  }

  .hero-photo {
    width: 100%;
    max-width: none;
  }

  .hero-photo::before, .hero-photo figcaption { display: none; }

  .hero-photo-clip {
    aspect-ratio: auto;
    height: min(64svh, 34rem);
    max-height: none;
  }

  .hero-photo-clip::after {
    box-shadow: none;
    background: linear-gradient(180deg, rgba(12, 11, 10, 0.5) 0%, transparent 28%, transparent 72%, var(--bg) 100%);
  }

  .hero-photo img { object-position: 74% 50%; }

  .hero-inner {
    margin-top: -2.4rem;
    padding: 0 var(--pad);
  }

  .hero-title { font-size: clamp(2.9rem, 12.6vw, 4.6rem); }
  .lede { margin-top: 1.3rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero .hero-actions { margin-top: 1.7rem; }

  .hero-path {
    margin: 2.6rem var(--pad) 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 0;
  }

  .hero-path span { padding: 0.9rem 0 1rem; font-size: 0.68rem; letter-spacing: 0.14em; }
  .hero-path span:nth-child(n + 4) { border-top: 1px solid var(--line); }

  .about-visual { padding-bottom: 18%; }
  .about-portrait { width: 86%; }
  .about-inset { width: 46%; box-shadow: 0 0 0 0.4rem var(--bg-2); }

  .spec > div, .review > div { grid-template-columns: 1fr; gap: 0; }
  .spec dt, .review dt { line-height: 1.6; }

  .reach-number { font-size: clamp(2.5rem, 12.2vw, 5rem); }

  .property-grid, .sample-grid { grid-template-columns: 1fr; }

  .site-footer { padding-bottom: 6.5rem; }

  .dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 0.5rem;
    padding: 0.6rem var(--pad) calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(12, 11, 10, 0.88);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
    border-top: 1px solid var(--line);
    transform: translateY(105%);
    transition: transform 0.6s var(--ease);
  }

  .dock.is-on { transform: none; }
  .dock .btn { min-height: 3rem; padding-inline: 0.6rem; letter-spacing: 0.1em; }
}
