/* ============================================================
   1E Holdings LLC — shared stylesheet
   Palette (brand board):
     navy #0B1F33 · stone #A7A08F · off-white #F7F6F2 · charcoal #2E2E2E
   Type: Cormorant Garamond (display) over Jost (text); Playfair Display for the 1e monogram
   Built from the Claude Design artboard. No framework, no build.
   ============================================================ */

:root {
  --navy: #0B1F33;
  --stone: #A7A08F;               /* decorative marks, hairlines, on-navy labels */
  --stone-ink: #6E675A;           /* label text on light backgrounds — meets WCAG AA */
  --offwhite: #F7F6F2;
  --charcoal: #2E2E2E;

  --ink-line: rgba(11, 31, 51, 0.14);      /* dividers on off-white */
  --ink-line-soft: rgba(11, 31, 51, 0.10);
  --ink-line-card: rgba(11, 31, 51, 0.16);
  --paper-line: rgba(247, 246, 242, 0.16); /* dividers on navy */

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mark: "Playfair Display", Georgia, "Times New Roman", serif; /* the 1e monogram — unambiguous numeral 1 */

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
::selection { background: var(--stone); color: var(--offwhite); }
:focus-visible { outline: 1px solid var(--stone); outline-offset: 3px; }

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: var(--offwhite);
  padding: 0.75rem 1.25rem;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.skip-link:focus { left: 0; }

/* ---------- shared type ---------- */
.eyebrow {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--stone-ink);
}
.kicker {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone-ink);
}
.section--navy .eyebrow,
.section--navy .kicker { color: var(--stone); }

.eyebrow--block {
  display: block;
  margin-bottom: clamp(28px, 5vw, 36px);
}

.h-section {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.section--navy .h-section { color: var(--offwhite); }
.h-section--sm { font-size: clamp(26px, 3.6vw, 46px); }
.h-section--gap { margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- page hero (Approach / Team) ---------- */
.page-hero { padding-block: clamp(70px, 11vw, 150px) clamp(50px, 7vw, 100px); }
.page-hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 6vw, 76px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 18ch;
  text-wrap: pretty;
}
.page-hero__title--tight { max-width: 16ch; margin-bottom: 32px; }
.page-hero__lead {
  margin: 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
  color: rgba(247, 246, 242, 0.82);
}

.statement {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.45;
  color: var(--navy);
  text-wrap: pretty;
}
.lead {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.32;
  text-wrap: pretty;
}
.prose {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
}
.prose--muted { color: rgba(247, 246, 242, 0.82); max-width: 52ch; }

/* ---------- sections ---------- */
.section { background: var(--offwhite); }
.section--navy { background: var(--navy); color: var(--offwhite); }
.section--pad { padding-block: clamp(60px, 9vw, 120px); }
.section--pad-lg { padding-block: clamp(70px, 11vw, 150px); }
.section--topline { border-top: 1px solid var(--ink-line); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 242, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(11, 31, 51, 0.12);
}
.site-header__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 16px var(--gutter);
  min-height: 84px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}
.brand__mark {
  font-family: var(--mark);
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  color: var(--navy);
  letter-spacing: 0.01em;
  /* optical centring: Playfair's tall ascender space makes the glyph ride low,
     so pull it up to sit between the two lockup lines */
  margin-top: -0.1em;
}
.brand__lines { display: flex; flex-direction: column; gap: 4px; }
.brand__name {
  font-size: 13px;
  letter-spacing: 0.26em;
  color: var(--navy);
}
.brand__sub {
  font-size: 9px;
  letter-spacing: 0.3em;
  color: #5b5446;
}
@media (max-width: 480px) {
  .brand__mark { font-size: 38px; }
  .brand__name { font-size: 12px; letter-spacing: 0.22em; }
}

.mainnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(16px, 3vw, 40px);
}
.mainnav a {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-bottom: 1px;
}
.mainnav a::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: var(--stone);
  transform: scaleX(0);
  transition: transform 0.28s ease;
}
.mainnav a:hover::after { transform: scaleX(1); }
.mainnav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--offwhite);
  overflow: hidden;
}
.hero__hatch,
.hero__hatch2 {
  position: absolute;
  pointer-events: none;
}
.hero__hatch {
  inset: 0;
  opacity: 0.5;
  background-image: repeating-linear-gradient(115deg, rgba(167, 160, 143, 0.16) 0 1px, transparent 1px 9px);
}
.hero__hatch2 {
  right: -8%;
  top: -20%;
  width: 52%;
  height: 140%;
  opacity: 0.35;
  background-image: repeating-linear-gradient(65deg, rgba(167, 160, 143, 0.22) 0 1px, transparent 1px 14px);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(90px, 14vw, 190px) var(--gutter) clamp(70px, 10vw, 140px);
}
.hero__eyebrow {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 clamp(36px, 6vw, 64px);
}
.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 7vw, 88px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 24ch;
  text-wrap: pretty;
}
.hero__actions {
  margin-top: clamp(40px, 6vw, 72px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

/* spec strip inside the hero base */
.spec-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--paper-line);
}
.spec-strip__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.spec-strip__cell {
  padding: 34px 28px;
  border-right: 1px solid var(--paper-line);
}
.spec-strip__cell:first-child { padding-left: 0; }
.spec-strip__cell:last-child { border-right: 0; }
.spec-strip__num {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--stone);
  margin-bottom: 12px;
}
.spec-strip__label {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 16px 30px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--solid { background: var(--offwhite); color: var(--navy); }
.btn--solid:hover { background: var(--stone); color: var(--navy); }
.btn--underline {
  padding: 0 0 6px;
  gap: 12px;
  color: var(--stone);
  border-bottom: 1px solid rgba(167, 160, 143, 0.5);
}
.btn--underline:hover { color: var(--offwhite); border-bottom-color: var(--offwhite); }

/* ---------- generic grid + cards ---------- */
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.two-col--tight { gap: clamp(32px, 5vw, 72px); }
.two-col .statement { grid-column: span 2; }
@media (max-width: 700px) {
  .two-col .statement { grid-column: auto; }
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}
.grid--back { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--team { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(20px, 3vw, 40px); }

.card {
  position: relative;
  border: 1px solid var(--ink-line-card);
  padding: clamp(26px, 3vw, 40px);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.card--sm { min-height: 210px; padding: clamp(24px, 3vw, 36px); gap: 28px; }
.card__num {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--stone-ink);
}
.card__title {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--navy);
}
.card--sm .card__title { font-size: 24px; margin-bottom: 10px; }
.card__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--charcoal);
}

/* corner registration marks (blueprint frame) */
.frame { position: relative; }
.frame > i {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 0 solid var(--stone);
}
.frame > i.tl { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.frame > i.tr { top: -1px; right: -1px; border-top-width: 1px; border-right-width: 1px; }
.frame > i.bl { bottom: -1px; left: -1px; border-bottom-width: 1px; border-left-width: 1px; }
.frame > i.br { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }
.frame--lg > i { width: 10px; height: 10px; }

/* ---------- operating depth (split panel) ---------- */
.depth {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.depth__text {
  padding: clamp(50px, 8vw, 110px) clamp(28px, 4vw, 64px) clamp(50px, 8vw, 110px) 0;
}
.depth__text .eyebrow { margin-bottom: 32px; }
.depth__text .lead { margin-bottom: 28px; }
.depth__fig {
  min-height: 340px;
  border-left: 1px solid var(--paper-line);
  background-image: repeating-linear-gradient(135deg, rgba(167, 160, 143, 0.18) 0 1px, transparent 1px 11px);
}
@media (max-width: 700px) {
  .depth__text { padding-right: 0; padding-bottom: 40px; }
  .depth__fig { border-left: 0; border-top: 1px solid var(--paper-line); min-height: 220px; }
}

/* ---------- rule grid (approach principles) ---------- */
.rule-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--ink-line);
}
@media (min-width: 760px) {
  .rule-grid { grid-template-columns: 1fr 1fr; }
}
.principle {
  padding: clamp(32px, 4vw, 54px) 0;
  border-bottom: 1px solid var(--ink-line);
}
.principle__title {
  margin: 14px 0 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--navy);
}
.principle__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
  color: var(--charcoal);
}
.principle .kicker { display: block; }
@media (min-width: 760px) {
  .principle:nth-child(odd) { padding-right: clamp(28px, 3vw, 48px); }
  .principle:nth-child(even) {
    padding-left: clamp(28px, 3vw, 48px);
    border-left: 1px solid var(--ink-line);
  }
}

/* ---------- steps (approach process) ---------- */
.step { border-top: 1px solid rgba(167, 160, 143, 0.6); padding-top: 22px; }
.step__title { font-size: 16px; margin: 14px 0 10px; }
.step__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(247, 246, 242, 0.78);
}

/* ---------- spec lists (approach criteria) ---------- */
.speclist {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.speclist li {
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--charcoal);
  border-bottom: 1px solid var(--ink-line-soft);
  padding-bottom: 16px;
}
.speclist li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- contact band (home) ---------- */
.contact-band { text-align: center; }
.contact-band .eyebrow { margin-bottom: 28px; }
.contact-band__link {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 4.4vw, 58px);
  color: var(--navy);
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(11, 31, 51, 0.2);
  padding-bottom: 8px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.contact-band__link:hover { color: var(--stone-ink); border-bottom-color: var(--stone); }

/* ---------- contact page ---------- */
.contact-h {
  margin: 0 0 clamp(48px, 7vw, 90px);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--navy);
  max-width: 16ch;
  text-wrap: pretty;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border-top: 1px solid var(--ink-line);
}
.contact-cell {
  padding: clamp(28px, 3.5vw, 48px) clamp(24px, 3vw, 44px);
  border-bottom: 1px solid var(--ink-line);
}
.contact-cell:first-child { padding-left: 0; }
@media (min-width: 760px) {
  .contact-cell + .contact-cell { border-left: 1px solid var(--ink-line); }
}
.contact-cell__k {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone-ink);
  margin-bottom: 18px;
}
.contact-cell__v {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--navy);
}
.contact-cell__v--email {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
}
.contact-cell__v a { transition: color 0.2s ease; }
.contact-cell__v a:hover { color: var(--stone-ink); }
.contact-note {
  margin: clamp(40px, 5vw, 64px) 0 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
  color: var(--charcoal);
}

/* ---------- invitation / plate ---------- */
.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.band__text {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.35;
  max-width: 20ch;
}
.plate-wrap { display: flex; justify-content: center; }
.plate {
  position: relative;
  border: 1px solid rgba(247, 246, 242, 0.24);
  padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 90px);
  text-align: center;
  max-width: 720px;
}
.plate__mark {
  font-family: var(--mark);
  font-weight: 600;
  font-size: 52px;
  line-height: 1;
  margin-bottom: 24px;
}
.plate__name { font-size: 11px; letter-spacing: 0.3em; margin-bottom: 10px; }
.plate__sub { font-size: 9px; letter-spacing: 0.36em; color: var(--stone); }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(247, 246, 242, 0.72); }
.site-footer__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(40px, 5vw, 64px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  align-items: start;
}
.site-footer__mark {
  font-family: var(--mark);
  font-weight: 600;
  font-size: 34px;
  color: var(--offwhite);
  line-height: 1;
  margin-bottom: 16px;
}
.site-footer__name {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--offwhite);
  margin-bottom: 6px;
}
.site-footer__sub { font-size: 8px; letter-spacing: 0.34em; color: var(--stone); }
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.site-footer__col a { color: rgba(247, 246, 242, 0.72); transition: color 0.2s ease; }
.site-footer__col a:hover { color: var(--stone); }
.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: normal;
  text-transform: none;
}
.site-footer__contact a { color: rgba(247, 246, 242, 0.72); transition: color 0.2s ease; }
.site-footer__contact a:hover { color: var(--stone); }
.site-footer__legal { border-top: 1px solid rgba(247, 246, 242, 0.14); }
.site-footer__legal-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 20px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 246, 242, 0.62);
}

/* ---------- small screens ---------- */
@media (max-width: 700px) {
  .card, .card--sm { min-height: auto; gap: 22px; }
  .spec-strip__cell {
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid var(--paper-line);
  }
  .spec-strip__cell:last-child { border-bottom: 0; }
  .contact-cell { padding-inline: 0; }
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
