/* ============================================================
   TrueBalance — base + components
   Light, airy, generous. Full-bleed imagery that dissolves into
   white rather than sitting in a box. One accent material
   (silver) and exactly one signature motion: the light-rake.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-variation-settings: "wdth" var(--wd-text);
  background: var(--paper);
  color: var(--tx);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tr-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--ink); color: #fff; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: "wdth" var(--wd-display);
  color: var(--tx-hi);
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
.t-display { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--tr-display); font-weight: 450; }
h1, .t-h1   { font-size: var(--fs-h1); line-height: var(--lh-head); letter-spacing: var(--tr-head); }
h2, .t-h2   { font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: var(--tr-head); }
h3, .t-h3   { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.011em; }

p { margin: 0 0 1.15em; max-width: var(--measure); }
.lead { font-size: var(--fs-lead); line-height: 1.58; color: var(--tx); }
.dim  { color: var(--tx-lo); }
.faint{ color: var(--tx-faint); }

/* Emphasis pattern: large plain type, dimmed second clause.
   Replaces gradient headlines entirely. */
.t-display .said  { color: var(--tx-hi); }
.t-display .aside { color: var(--ag-500); }

/* mono ONLY for real data (prices, durations, counts) */
.data { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---------- layout -------------------------------------- */

.wrap   { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--maxw-narrow); }
.section{ padding-block: clamp(4.5rem, 10vw, var(--sp-10)); }
.rule   { height: 1px; background: var(--line); border: 0; margin: 0; }
.band   { background: var(--paper-warm); }

/* ---------- nav — clear over the hero, then frosts ------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  display: flex; align-items: center; gap: var(--sp-6);
  padding: var(--sp-5) var(--gutter);
  transition: background var(--t) var(--ease),
              border-color var(--t) var(--ease),
              padding var(--t) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav[data-stuck="true"] {
  padding-block: var(--sp-3);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom-color: var(--line);
}
.nav__mark { display: block; height: clamp(38px, 4.2vw, 54px); width: auto; flex: none; }
.nav__links { display: flex; align-items: center; gap: var(--sp-5); margin-left: auto; }
.nav__link {
  font-size: var(--fs-sm); color: var(--tx); position: relative;
  padding-block: var(--sp-2); transition: color var(--t-fast) var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px;
  background: var(--ink); transition: right var(--t) var(--ease-out);
}
.nav__link:hover { color: var(--tx-hi); }
.nav__link:hover::after { right: 0; }

@media (max-width: 900px) { .nav__links { display: none; } }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 1.05rem 1.9rem; border-radius: var(--r);
  font-size: var(--fs-body); font-weight: 600; letter-spacing: -0.006em;
  border: 1px solid transparent; position: relative;
  transition: transform var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-warm); box-shadow: var(--lift-2); transform: translateY(-1px); }

.btn--ghost {
  color: var(--tx-hi);
  border-color: var(--line-strong);
  background: var(--paper);
  box-shadow: var(--edge-light);
}
.btn--ghost:hover { border-color: var(--line-bright); box-shadow: var(--lift); }

/* ---------- SIGNATURE: the light-rake -------------------- */
/* A specular sweep travels across silver surfaces the way real
   light catches brushed metal. Fires once as the element enters
   view. This is the ONE bespoke motion on the site. */

.rake { position: relative; overflow: hidden; }
.rake::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    transparent 0%,
    rgba(176,176,176,0)   34%,
    rgba(176,176,176,.30) 47%,
    rgba(255,255,255,.85) 50%,
    rgba(176,176,176,.30) 53%,
    rgba(176,176,176,0)   66%,
    transparent 100%);
  background-size: 220% 100%;
  background-position: -120% 0;
  opacity: 0; pointer-events: none;
}
.rake.is-lit::after { animation: rake-sweep 1500ms var(--ease-out) forwards; }
@keyframes rake-sweep {
  0%   { opacity: 0;  background-position: -120% 0; }
  14%  { opacity: 1; }
  100% { opacity: 0;  background-position: 220% 0; }
}
@media (prefers-reduced-motion: reduce) { .rake.is-lit::after { animation: none; } }

/* A hairline carrying the same light, to separate movements. */
.rule--lit { position: relative; overflow: hidden; }
.rule--lit::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--ag-700), transparent);
  transform: translateX(-100%);
}
.rule--lit.is-lit::after { animation: rule-sweep 1600ms var(--ease-out) forwards; }
@keyframes rule-sweep { to { transform: translateX(100%); } }

/* ---------- hero — split stage --------------------------- */
/* The photograph is never dimmed. Type sits on its own warm
   paper plane beside it, divided by a single machined silver
   edge that catches light once on load. */

.hero--split {
  --split: 58%;
  position: relative;
  min-height: min(100svh, 940px);
  display: grid;
  grid-template-columns: var(--split) 1fr;
  overflow: hidden;
}
.hero__media { position: relative; overflow: hidden; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 42% 44%;
  animation: kenburns 32s var(--ease) forwards;
}
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__media img { animation: none; } }

.hero__panel {
  position: relative;
  background: var(--paper);
  display: flex; align-items: center;
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3.4vw, 3.5rem);
}
/* the machined edge — one specular pass on load */
.hero__edge {
  position: absolute; left: -1px; top: 0; bottom: 0; width: 1px;
  background: var(--line-strong); overflow: hidden;
}
.hero__edge::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent, var(--ag-200), transparent);
  transform: translateY(-100%);
  animation: edge-sweep 1800ms var(--ease-out) 400ms forwards;
}
@keyframes edge-sweep { to { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .hero__edge::after { animation: none; } }

.hero__panel-inner { max-width: 46ch; }
.hero__eyebrow {
  font-size: var(--fs-xs); color: var(--tx-lo); margin: 0 0 var(--sp-4);
  display: flex; align-items: center; gap: .6rem;
}
.hero__eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--ag-600); flex: none; }

.hero__title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" var(--wd-display);
  font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.12;
  letter-spacing: var(--tr-head); font-weight: 550;
  color: var(--tx-hi); margin: 0;
}
.hero__title em { font-style: normal; font-weight: 300; color: var(--tx-lo); }
.hero__sub {
  margin: var(--sp-4) 0 var(--sp-6);
  font-size: var(--fs-body); color: var(--tx-lo); line-height: 1.62;
}

/* one field */
.catch__lab { display: block; font-size: var(--fs-sm); color: var(--tx-hi); margin-bottom: var(--sp-3); }
.catch__bar {
  display: flex; gap: .4rem; padding: .4rem;
  background: #fff; border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); box-shadow: var(--edge-light);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.catch__bar:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,18,15,.07); }
.catch__in {
  flex: 1 1 auto; min-width: 0; font: inherit; font-size: var(--fs-body);
  color: var(--tx-hi); background: transparent; border: 0; padding: .72rem .85rem;
}
.catch__in::placeholder { color: var(--tx-faint); }
.catch__in:focus { outline: none; }
.catch__go {
  flex: none; font: inherit; font-size: var(--fs-sm); font-weight: 600;
  background: var(--ink); color: #fff; border-radius: var(--r-sm);
  padding: .8rem 1.25rem;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.catch__go:hover { background: var(--ink-warm); transform: translateY(-1px); }
.catch__go[disabled] { opacity: .6; transform: none; }
.catch__msg { margin: var(--sp-3) 0 0; font-size: var(--fs-sm); min-height: 1.2em; }
.catch__msg.ok  { color: #2C6E49; }
.catch__msg.err { color: #B0453A; }

.hero__phone { margin: var(--sp-5) 0 0; font-size: var(--fs-sm); color: var(--tx-lo); }
.hero__phone a { border-bottom: 1px solid var(--line-strong); }
.hero__phone a:hover { color: var(--tx-hi); border-bottom-color: var(--ink); }

/* ---- mobile: a real re-composition, not a squeeze ---- */
@media (max-width: 860px) {
  .hero--split { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { height: 52svh; }
  .hero__media img { object-position: 46% 40%; }
  .hero__panel {
    margin-top: -2.5rem; border-radius: var(--r-xl) var(--r-xl) 0 0;
    padding: clamp(1.75rem, 6vw, 2.5rem) var(--gutter) clamp(2.5rem, 8vw, 3.5rem);
    box-shadow: var(--lift-3);
  }
  .hero__edge { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
  .hero__edge::after {
    background: linear-gradient(to right, transparent, var(--ag-200), transparent);
    transform: translateX(-100%); animation: edge-sweep-h 1800ms var(--ease-out) 400ms forwards;
  }
  @keyframes edge-sweep-h { to { transform: translateX(100%); } }
  .hero__panel-inner { max-width: none; }
  .catch__bar { flex-direction: column; background: transparent; border: 0; box-shadow: none; padding: 0; gap: .6rem; }
  .catch__in { background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: .95rem 1rem; }
  .catch__go { width: 100%; padding: .95rem; }
}

/* ---------- scroll reveal ------------------------------- */

[data-reveal] {
  opacity: 0; transform: translateY(14px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ---------- footer wordmark ----------------------------- */
/* Giant cropped mark — loud brand presence without chrome. */

.footer { border-top: 1px solid var(--line); padding-top: var(--sp-8); }
.footer__mark { width: 100%; margin-top: var(--sp-8); margin-bottom: -0.2em; overflow: hidden; }
.footer__mark img { width: 100%; opacity: .10; }

/* ---------- SIGNATURE: the silver thread ----------------- */
/* A single 1px silver rule in the left gutter that grows as you
   read, linking the nav wordmark to the footer wordmark. One
   continuous gesture down the whole page instead of a shine
   fired on every panel. Hidden on mobile and reduced-motion. */

.thread {
  position: fixed; left: calc(var(--gutter) / 2); top: 0;
  width: 1px; height: 100vh; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom,
    var(--ag-300) 0%, var(--ag-600) 45%, var(--ag-400) 78%, transparent 100%);
  transform: scaleY(0); transform-origin: top center;
}
@media (max-width: 1100px) { .thread { display: none; } }
@media (prefers-reduced-motion: reduce) { .thread { display: none; } }

/* Reveal variants — a uniform fade-up on everything is itself
   a tell. Large display type rises further and slower than
   supporting copy. */
[data-reveal="slow"] { transform: translateY(26px); transition-duration: 1000ms; }
[data-reveal="edge"]  { transform: translateY(0) scale(1.015); transform-origin: center; }
[data-reveal="edge"].is-in { transform: none; }
/* the mark shrinks once the nav frosts, so it is loud over the
   hero and quiet while reading */
.nav[data-stuck="true"] .nav__mark { height: clamp(26px, 2.4vw, 32px); }
.nav__mark { transition: height var(--t) var(--ease); }

/* ---------- image warmth: zoom + sheen ------------------- */
/* Hers uses transform:scale(1.3) on hover with a light sweep.
   Ours were static, which is a large part of why the page felt
   inert. Scale is dialled to 1.06 — 1.3 is a 2016 WordPress
   tell, but the *presence* of motion is what reads alive. */

.imgx { position: relative; overflow: hidden; border-radius: var(--r-lg); }
.imgx img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.1s var(--ease-out);
}
.imgx::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%,
              rgba(255,255,255,.28) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 1.1s var(--ease-out);
}
a:hover .imgx img, .imgx:hover img { transform: scale(1.06); }
a:hover .imgx::after, .imgx:hover::after { transform: translateX(120%); }
@media (prefers-reduced-motion: reduce) {
  .imgx img, .imgx::after { transition: none; }
}
