/* Breakpoints: hero imagery switches at 700px and 1024px; layout collapses at 900px. */

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

:root {
  /* ── Color ──────────────────────────────────────── */
  --ink:       #0C1015;
  --ocean:     #2A8CAE;
  --paper:     #F4F0EA;
  --paper-mid: #E9E4DB;
  --mist:      #8FA4AE;
  --slate:     #4E6068;
  --body:      #253038;
  --white:     #FDFCFB;

  /* ── Type Faces ─────────────────────────────────── */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  /* ── Texture ────────────────────────────────────── */
  /* grain appears on --paper sections; editorial on --paper-mid; never on --ink */
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");

  /* ── Spacing (base-8) ───────────────────────────── */
  --space-1:  0.5rem;
  --space-2:  1rem;
  --space-3:  1.5rem;
  --space-4:  2rem;
  --space-5:  2.5rem;
  --space-6:  3rem;
  --space-8:  4rem;
  --space-10: 5rem;
  --space-12: 6rem;
  --space-14: 7rem;

  /* ── Layout ─────────────────────────────────────── */
  --width-wide:   1280px;
  --width-mid:    860px;
  --width-narrow: 720px;

  /* ── Typography Scale ───────────────────────────── */
  --text-display:   clamp(3rem, 6.1vw, 5.75rem);
  --text-headline:  clamp(2rem, 3.5vw, 3.25rem);
  --text-statement: clamp(1.75rem, 3vw, 2.75rem);
  --text-subhead:   clamp(1.25rem, 2vw, 1.75rem);
  --text-item:      clamp(1.125rem, 1.5vw, 1.3125rem);
  --text-quote:     clamp(1.125rem, 1.8vw, 1.375rem);
  --text-body:      0.9375rem;
  --text-small:     0.8125rem;
  --text-eyebrow:   0.6875rem;
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
}

p {
  text-wrap: pretty;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--ocean);
  outline-offset: 4px;
}

/* ─── EYEBROW ───────────────────────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ─── HERO ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(92vh, 940px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 16, 21, 0.05) 0%,
    rgba(12, 16, 21, 0.10) 44%,
    rgba(12, 16, 21, 0.60) 74%,
    rgba(12, 16, 21, 0.95) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 58%, rgba(12, 16, 21, 0.66) 0%, rgba(12, 16, 21, 0.42) 36%, rgba(12, 16, 21, 0) 66%),
    linear-gradient(
      90deg,
      rgba(12, 16, 21, 0.34) 0%,
      rgba(12, 16, 21, 0.10) 50%,
      rgba(12, 16, 21, 0) 80%
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--width-wide);
  margin: 0 auto;
  padding: 0 var(--space-8) var(--space-14);
  display: flex;
  flex-direction: column;
}

.hero-eyebrow {
  color: rgba(253, 252, 251, 0.82);
}

.hero-identity {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: var(--space-6);
}

.hero-name {
  font-family: var(--serif);
  font-size: var(--text-subhead);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
}

.hero-logo {
  width: clamp(3.75rem, 7vw, 5.75rem);
  height: auto;
  margin-bottom: var(--space-3);
  opacity: 0.96;
}

.hero-h1 {
  font-family: var(--serif);
  font-size: var(--text-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: var(--space-3);
  max-width: 880px;
}

.hero-h1,
.experience-h2,
.callout-h2,
.systems-heading,
.proof-section-heading,
.proof-title,
.engagement-h2 {
  text-wrap: balance;
}

.experience-h2 span,
.callout-h2 span {
  display: block;
}

.hero-accent {
  display: block;
  width: clamp(4rem, 10vw, 7rem);
  height: 2px;
  background-color: var(--ocean);
  margin-bottom: var(--space-3);
}

.hero-subtitle {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(253, 252, 251, 0.97);
  max-width: 640px;
}

/* ─── CALLOUT ────────────────────────────────────── */
.callout {
  background: var(--ink);
  padding: var(--space-14) var(--space-8);
}

.callout-inner {
  max-width: var(--width-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.callout-h2 {
  font-family: var(--serif);
  font-size: var(--text-statement);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 640px;
}

.callout-cta { margin-top: var(--space-8); }

/* ─── EXPERIENCE ─────────────────────────────────── */
.experience {
  background-color: var(--paper);
  background-image: var(--paper-grain);
  background-repeat: repeat;
  background-size: 180px 180px;
  padding: var(--space-14) var(--space-8);
}

.experience-inner {
  max-width: var(--width-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
}

.experience-right {
  display: flex;
  flex-direction: column;
  padding-top: var(--space-5);
}

.experience-media {
  display: block;
  flex: 1 1 auto;
  min-height: 300px;
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.experience-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-eyebrow {
  color: var(--slate);
  margin-bottom: var(--space-3);
}

.experience-h2 {
  font-family: var(--serif);
  font-size: var(--text-headline);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--space-4);
}

.experience-body {
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--body);
}

.experience-body p + p { margin-top: 1.25rem; }

.proof-context {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--slate);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--paper-mid);
}

/* ─── SYSTEMS ────────────────────────────────────── */
.systems {
  background-color: var(--paper-mid);
  background-image: var(--paper-grain);
  background-repeat: repeat;
  background-size: 180px 180px;
  padding: var(--space-14) var(--space-8);
}

.systems-inner {
  max-width: var(--width-wide);
  margin: 0 auto;
}

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

.systems-lead {
  min-width: 0;
}

.systems-heading {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: 0;
  border-left: 3px solid var(--ocean);
  padding-left: 1rem;
  margin-bottom: var(--space-4);
}

.systems-intro {
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--slate);
  margin-bottom: var(--space-6);
}

.systems-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.systems-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.systems-list {
  min-width: 0;
  border-top: 1px solid rgba(12, 16, 21, 0.1);
}

.system-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(12, 16, 21, 0.1);
}

.system-num {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ocean);
  padding-top: 0.2rem;
}

.system-name {
  font-family: var(--serif);
  font-size: var(--text-item);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 0.65rem;
}

.system-kicker {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.system-body {
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--slate);
  max-width: 42em;
}

/* ─── PROOF ──────────────────────────────────────── */
.proof {
  background-color: var(--paper);
  background-image: var(--paper-grain);
  background-repeat: repeat;
  background-size: 180px 180px;
  padding: var(--space-10) var(--space-8) var(--space-12);
}

.proof-inner {
  max-width: var(--width-wide);
  margin: 0 auto;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(var(--space-6), 6vw, var(--space-12));
  align-items: start;
}

.proof-lead {
  max-width: 24rem;
}

.proof-eyebrow {
  color: var(--slate);
  margin-bottom: var(--space-3);
}

.proof-section-heading {
  font-family: var(--serif);
  font-size: var(--text-headline);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0;
}

.proof-list {
  border-top: 1px solid rgba(12, 16, 21, 0.1);
}

.proof-example {
  padding: var(--space-5) 0;
  border-bottom: 1px solid rgba(12, 16, 21, 0.1);
}

.proof-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}

.proof-label {
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocean);
}

.proof-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.proof-copy {
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--body);
  max-width: 42em;
}

/* ─── TESTIMONIAL ───────────────────────────────────── */
.testimonial {
  background-color: var(--paper-mid);
  background-image: var(--paper-grain);
  background-repeat: repeat;
  background-size: 180px 180px;
  padding: var(--space-14) var(--space-8);
}

.testimonial-inner {
  max-width: var(--width-narrow);
  margin: 0 auto;
  border-left: 2px solid rgba(42, 140, 174, 0.62);
  padding-left: 1.75rem;
}

.testimonial-byline {
  font-family: var(--sans);
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: var(--space-3);
}

.testimonial-quote {
  font-family: var(--serif);
  font-size: var(--text-quote);
  font-style: italic;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.testimonial-quote::before {
  content: '\201C';
  display: block;
  font-family: var(--serif);
  font-size: 5rem;
  font-style: normal;
  line-height: 0.75;
  color: rgba(42, 140, 174, 0.22);
  margin-left: -0.1em;
  margin-bottom: 0.5rem;
}

.testimonial-quote p + p { margin-top: 1.25rem; }

/* ─── ENGAGEMENT ─────────────────────────────────── */
.engagement {
  background-color: var(--paper);
  background-image: var(--paper-grain);
  background-repeat: repeat;
  background-size: 180px 180px;
  padding: var(--space-14) var(--space-8);
}

.engagement-inner {
  max-width: var(--width-narrow);
  margin: 0 auto;
}

.engagement-eyebrow {
  color: var(--slate);
  margin-bottom: var(--space-3);
}

.engagement-h2 {
  font-family: var(--serif);
  font-size: var(--text-statement);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--space-3);
}

.engagement-body {
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: var(--space-5);
}

.cta-light {
  display: inline-block;
  padding: 0.875rem 2rem;
  border: 1px solid var(--ocean);
  background-color: var(--ocean);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s;
}
.cta-light:hover {
  background-color: #247f9e;
}

/* ─── INTERLUDE (full-bleed photo band) ───────────── */
.interlude {
  width: 100%;
  height: clamp(280px, 42vh, 520px);
  overflow: hidden;
  background: var(--ink);
}
.interlude picture { display: block; width: 100%; height: 100%; }
.interlude img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── THRESHOLD (post-CTA photo band) ─────────────── */
.threshold {
  width: 100%;
  height: clamp(120px, 18vh, 220px);
  overflow: hidden;
  background: var(--ink);
}
.threshold picture { display: block; width: 100%; height: 100%; }
.threshold img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

/* ─── FOOTER STONE (plinth band) ──────────────────── */
.footer-stone {
  width: 100%;
  height: clamp(90px, 12vh, 150px);
  overflow: hidden;
}
.footer-stone picture { display: block; width: 100%; height: 100%; }
.footer-stone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--ink);
  padding: 3.5rem var(--space-8) var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: var(--width-wide);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.footer-logo {
  width: 4rem;
  height: auto;
  margin-bottom: 1.25rem;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.footer-descriptor {
  font-size: var(--text-small);
  font-weight: 300;
  color: var(--mist);
  letter-spacing: 0.01em;
}

.footer-email {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ocean);
  text-decoration: none;
  margin-top: var(--space-1);
}
.footer-email:hover { color: #5ab3cc; }

.footer-jurisdiction {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(143, 164, 174, 0.75);
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
}

/* ─── LANGUAGE TOGGLE ───────────────────────────── */
.lang-toggle {
  position: fixed;
  top: 1.5rem;
  right: 1.75rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(253, 252, 251, 0.84);
}

.lang-toggle a {
  color: inherit;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.15s;
}

.lang-toggle a:hover { opacity: 1; }

.lang-toggle a[aria-current="page"] {
  opacity: 0.38;
  pointer-events: none;
}

.lang-toggle span { opacity: 0.3; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .hero { min-height: 88vh; }
  .hero-media img { object-position: 50% 38%; }
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(12, 16, 21, 0.05) 0%,
      rgba(12, 16, 21, 0.14) 36%,
      rgba(12, 16, 21, 0.66) 66%,
      rgba(12, 16, 21, 0.96) 100%
    );
  }
  .hero::after {
    background:
      radial-gradient(ellipse at 22% 52%, rgba(12, 16, 21, 0.68) 0%, rgba(12, 16, 21, 0.46) 40%, rgba(12, 16, 21, 0) 72%),
      linear-gradient(
        90deg,
        rgba(12, 16, 21, 0.24) 0%,
        rgba(12, 16, 21, 0.08) 70%,
        rgba(12, 16, 21, 0) 100%
      );
  }
  .hero-inner { padding: 0 var(--space-4) 5.5rem; }
  .hero-logo { margin-bottom: 1.25rem; }
  .hero-identity { margin-bottom: var(--space-6); }
  .hero-eyebrow {
    font-size: 0.5625rem;
    letter-spacing: 0.16em;
  }
  .hero-h1 {
    font-size: clamp(1.65rem, 7vw, 3.25rem);
    max-width: 640px;
  }

  .callout { padding: var(--space-10) var(--space-4); }

  .experience { padding: var(--space-10) var(--space-4); }
  .experience-inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .experience-media {
    flex: none;
    aspect-ratio: 4 / 3;
    min-height: 0;
    margin-top: var(--space-2);
    margin-bottom: var(--space-3);
  }
  .proof-context {
    margin-top: var(--space-3);
    padding-top: var(--space-3);
  }

  .systems { padding: var(--space-10) var(--space-4); }
  .systems-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .systems-heading { font-size: clamp(2.25rem, 8vw, 3.25rem); padding-left: 0.75rem; margin-bottom: var(--space-3); }
  .systems-intro { margin-bottom: var(--space-5); }
  .systems-media { aspect-ratio: 16 / 10; }
  .system-item {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: var(--space-2);
    padding: 1.25rem 0;
  }

  .proof { padding: var(--space-8) var(--space-4) var(--space-10); }
  .proof-layout {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .proof-lead { max-width: none; }
  .proof-eyebrow { margin-bottom: var(--space-3); }
  .proof-example { padding: var(--space-4) 0; }
  .proof-title {
    font-size: clamp(1.25rem, 5vw, 1.55rem);
    color: var(--ink);
  }

  .testimonial { padding: var(--space-10) var(--space-4); }
  .testimonial-inner { padding-left: 1.25rem; }
  .testimonial-byline { letter-spacing: 0.07em; }
  .testimonial-quote::before { font-size: 3.5rem; }

  .engagement { padding: var(--space-12) var(--space-4); }

  .interlude { height: clamp(200px, 36vh, 320px); }
  .threshold { height: clamp(96px, 18vh, 160px); }
  .footer-stone { height: clamp(70px, 13vh, 104px); }

  footer { padding: var(--space-6) var(--space-4); }

  .lang-toggle {
    top: 1rem;
    right: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-light { transition: none; }
  .lang-toggle a { transition: none; }
}
