/* =============================================================
   SECRET LEADS — editorial structure with weight
   Cream + ink. Cormorant Garamond. Eight blocks.
   Full-bleed hero. Dark footer. One understated CTA.
   ============================================================= */

:root {
  --cream: #F5F0E6;
  --cream-deep: #EFE8D8;
  --ink: #0A0A0A;
  --ink-soft: #2A2A2A;
  --ink-muted: #5A5550;
  --hairline: rgba(10, 10, 10, 0.85);
  --hairline-faint: rgba(10, 10, 10, 0.18);
  --margin: clamp(24px, 5.5vw, 88px);
  --section-pad-y: clamp(72px, 9vw, 144px);
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; transition: opacity 200ms ease; }
a:hover { opacity: 0.65; }

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

hr.rule { border: 0; border-top: 1px solid var(--hairline); margin: 0; width: 100%; }
hr.rule-faint { border-top-color: var(--hairline-faint); }

em { font-style: italic; font-family: var(--serif); }

/* =============================================================
   SHARED — section eyebrows, display heads
   ============================================================= */
.section-eyebrow {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink);
  margin: 0 0 32px;
}

.eyebrow-light { color: var(--ink-muted); }

.section-display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
  max-width: 18ch;
}

.section-display-tight { max-width: 16ch; }

/* =============================================================
   CTA BUTTON — single style, used twice
   ============================================================= */
.cta-btn {
  display: inline-block;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 16px 28px;
  background: transparent;
  transition: background 250ms ease, color 250ms ease;
  white-space: nowrap;
}
.cta-btn:hover {
  opacity: 1;
  background: var(--ink);
  color: var(--cream);
}

/* =============================================================
   MASTHEAD — sits over the hero, transparent
   ============================================================= */
.masthead {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: 32px var(--margin) 24px;
  animation: fadeIn 600ms ease-out both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img { height: 68px; width: auto; display: block; }
.brand-word {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--cream);
}

.nav {
  display: flex;
  gap: clamp(28px, 3.5vw, 56px);
  justify-content: center;
}
.nav a {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--cream);
}

.cta-nav {
  color: var(--cream);
  border-color: rgba(245, 240, 230, 0.7);
}
.cta-nav:hover {
  background: var(--cream);
  color: var(--ink);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =============================================================
   1 — HERO (full-bleed background image, overlay text)
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 var(--margin);
  overflow: hidden;
  color: var(--cream);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  transition: opacity 1400ms ease-in-out;
  transform: scale(1.02);
  will-change: opacity;
}
.hero-video.is-active {
  opacity: 1;
}
/* No-JS / reduced motion fallback — show poster of first clip */
@media (prefers-reduced-motion: reduce) {
  .hero-video { animation-play-state: paused; }
  .hero-video:not(.is-active) { display: none; }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.55) 0%,
      rgba(10, 10, 10, 0.4) 35%,
      rgba(10, 10, 10, 0.5) 70%,
      rgba(10, 10, 10, 0.7) 100%
    );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1100px;
  padding: 80px 0 40px;
  animation: fadeUp 800ms ease-out 200ms both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--cream);
  opacity: 0.85;
  margin: 0 0 36px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 7vw, 112px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  margin: 0 0 36px;
  color: var(--cream);
}

.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.5;
  margin: 0 auto 48px;
  max-width: 56ch;
  color: var(--cream);
  opacity: 0.92;
}

.cta-hero {
  color: var(--cream);
  border-color: var(--cream);
}
.cta-hero:hover {
  background: var(--cream);
  color: var(--ink);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.7;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--cream);
}
.scroll-line {
  width: 1px;
  height: 24px;
  background: var(--cream);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* =============================================================
   2 — TAGLINE BREAK
   ============================================================= */
.tagline {
  padding: 0 var(--margin);
  background: var(--cream);
}
.tagline-line {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.15;
  text-align: center;
  margin: clamp(64px, 8vw, 120px) 0;
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* =============================================================
   3 — PROBLEM SETUP
   ============================================================= */
.problem {
  padding: var(--section-pad-y) var(--margin);
  background: var(--cream);
}
.problem-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.problem .section-display {
  margin: 0 auto 40px;
  max-width: 22ch;
}
.problem-body {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.6;
  margin: 0 auto 16px;
  max-width: 56ch;
  color: var(--ink-soft);
}
.problem-body:last-child { margin-bottom: 0; }

/* =============================================================
   4 — CREDIBILITY (image + text split)
   ============================================================= */
.credibility {
  padding: var(--section-pad-y) var(--margin);
  background: var(--cream-deep);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.cred-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.cred-image img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
}
.cred-quotes {
  width: 100%;
  max-width: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 24px;
}
.cred-quote {
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 1px solid var(--ink-muted);
}
.cred-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 10px;
  color: var(--ink-soft);
}
.cred-quote footer {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
@media (max-width: 640px) {
  .cred-quotes { grid-template-columns: 1fr; max-width: 420px; }
}
.cred-text {
  max-width: 560px;
}
.cred-text p {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
  margin: 0 0 18px;
  color: var(--ink-soft);
}
.cred-sign {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px !important;
  color: var(--ink-muted) !important;
  margin-top: 28px !important;
}

/* =============================================================
   5 — SERVICES (editorial chapters, full-width rows)
   ============================================================= */
.services {
  padding: var(--section-pad-y) var(--margin);
  background: var(--cream);
}
.services-head {
  max-width: 1200px;
  margin: 0 auto clamp(64px, 8vw, 112px);
}
.services-head .section-display { margin-bottom: 0; }

.services-rows {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--hairline);
}

.service-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--hairline);
  align-items: start;
}

.service-row-quiet {
  opacity: 0.78;
}

.service-meta { display: flex; flex-direction: column; }
.service-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  margin: 0 0 20px;
}
.service-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
  max-width: 14ch;
}
.service-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.4;
  color: var(--ink-muted);
  margin: 0;
  max-width: 22ch;
}

.service-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 4px;
}
.service-lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.5;
  letter-spacing: -0.003em;
  color: var(--ink);
  margin: 0;
  max-width: 48ch;
}
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 48ch;
}
.service-list li {
  font-family: var(--serif);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.5;
  color: var(--ink-soft);
  padding-left: 28px;
  position: relative;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 16px;
  height: 1px;
  background: var(--ink);
  opacity: 0.6;
}

/* =============================================================
   6 — HOW WE WORK (three principles)
   ============================================================= */
.principles {
  padding: var(--section-pad-y) var(--margin);
  background: var(--cream-deep);
}
.principles-head {
  max-width: 1200px;
  margin: 0 auto clamp(56px, 7vw, 96px);
}
.principles-head .section-display { margin-bottom: 0; }

.principles-rows {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
}
.principle {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
  padding-top: 28px;
}
.principle-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin: 0 0 24px;
}
.principle-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 14ch;
}
.principle-body {
  font-family: var(--serif);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 38ch;
}

/* =============================================================
   7 — CLOSER (editorial, left-aligned, two-column meet)
   ============================================================= */
.closer {
  padding: var(--section-pad-y) var(--margin);
  background: var(--cream);
}
.closer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.closer .section-eyebrow { margin-bottom: 24px; }
.closer-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 6.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 32px;
  max-width: 16ch;
  color: var(--ink);
}
.closer-sub {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 56px;
  max-width: 48ch;
}
.closer-meet {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 4vw, 80px);
  align-items: end;
  padding-top: clamp(32px, 4vw, 48px);
}
.closer-lines {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.closer-line {
  font-family: var(--serif);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.4;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 24px;
  color: var(--ink);
}
.closer-label {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-muted);
  min-width: 64px;
  display: inline-block;
}
.closer-line a {
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
}
.closer-line a:hover { opacity: 1; border-bottom-color: var(--ink); }
.cta-closer { padding: 18px 32px; font-size: 13px; }

/* =============================================================
   8 — FOOTER (dark panel)
   ============================================================= */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(64px, 8vw, 96px) var(--margin) clamp(32px, 4vw, 48px);
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 5vw, 96px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid rgba(245, 240, 230, 0.18);
}
.footer-mark {
  display: block;
  height: 64px;
  width: auto;
  margin-bottom: 20px;
  opacity: 0.95;
}
.footer-logo {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  opacity: 0.7;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: end;
}
.footer-line {
  font-family: var(--serif);
  font-size: 15px;
  margin: 0;
  letter-spacing: 0.02em;
}
.footer-line a { border-bottom: 1px solid rgba(245, 240, 230, 0.3); padding-bottom: 1px; }
.footer-line a:hover { opacity: 1; border-bottom-color: var(--cream); }

.footer-foot {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  opacity: 0.5;
  padding-top: clamp(32px, 4vw, 48px);
  margin-top: -1px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-foot p { margin: 0; }
.footer-licence { letter-spacing: 0.18em; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 960px) {
  .credibility { grid-template-columns: 1fr; gap: 48px; }
  .service-row { grid-template-columns: 1fr; gap: 32px; }
  .principles-rows { grid-template-columns: 1fr; gap: 0; }
  .principle { padding-top: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--hairline); }
  .principle:last-child { border-bottom: 0; }
  .closer-meet { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .closer-meet .cta-closer { justify-self: start; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-meta { align-self: start; }

  .masthead {
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding-top: 24px;
    padding-bottom: 16px;
  }
  .nav { display: none; }
  .cta-nav { padding: 12px 18px; font-size: 11px; letter-spacing: 0.2em; }
}

@media (max-width: 640px) {
  :root { --margin: 22px; --section-pad-y: 64px; }
  .brand-word { display: none; }
  .brand img { height: 44px; }
  .hero h1 { font-size: 44px; }
  .hero-sub { font-size: 18px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 0.24em; margin-bottom: 28px; }
  .tagline-line { font-size: 26px; margin: 56px 0; }
  .problem .section-display { font-size: 32px; }
  .closer-headline { font-size: 40px; }
  .cta-btn { padding: 14px 22px; font-size: 11px; letter-spacing: 0.2em; }
  .service-name { font-size: 30px; }
  .service-lead { font-size: 18px; }
  .principle-name { font-size: 22px; }
  .closer-line { flex-direction: column; gap: 4px; align-items: flex-start; }
  .closer-label { min-width: 0; }
  .footer-logo { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .masthead, .hero-content { animation: none; }
  .scroll-line { animation: none; }
}

/* =============================================================
   FILM GRAIN OVERLAY — site-wide editorial texture
   ============================================================= */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}
@media (prefers-reduced-motion: reduce) {
  body::after { display: none; }
}

/* =============================================================
   SCROLL-DRIVEN HEADLINE TIGHTENING
   subtle: as user scrolls, h1 letter-spacing tightens, weight nudges
   ============================================================= */
.hero h1 {
  letter-spacing: var(--h1-tracking, -0.012em);
  font-variation-settings: "wght" var(--h1-wght, 300);
  transition: letter-spacing 220ms ease-out, font-variation-settings 220ms ease-out;
}

/* =============================================================
   FOOTER — slot status line
   ============================================================= */
.footer-status {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--cream);
  opacity: 0.7;
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(245, 240, 230, 0.12);
}
.footer-status .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9a961;
  margin-right: 10px;
  vertical-align: 2px;
  box-shadow: 0 0 8px rgba(201, 169, 97, 0.5);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-status .dot { animation: none; }
}
