/* ==========================================================================
   Summer Tech LLC — corporate homepage
   Design system, layout, motion
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url("../fonts/newsreader-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 400;
  font-display: swap;
  src: url("../fonts/newsreader-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/inter-normal.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --ivory: #F7F2E9;
  --ivory-2: #F1EADC;
  --paper: #FCF9F3;
  --ink: #221B18;
  --ink-2: #544942;
  --ink-3: #6B6058;

  --wine: #4B1124;
  --wine-2: #661D33;
  --wine-deep: #2A0C16;
  --wine-black: #180A0E;

  --gold: #A8875A;
  --gold-deep: #836639;
  --gold-light: #CDB791;

  --line: rgba(75, 17, 36, 0.14);
  --line-soft: rgba(75, 17, 36, 0.08);
  --line-light: rgba(247, 242, 233, 0.16);

  --accent-idc: #2E4A5D;
  --accent-api: #8A6A33;
  --accent-forum: #7A3748;
  --accent-pulse: #4C6152;

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --nav-h: 88px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-1: 0 1px 2px rgba(42, 12, 22, 0.04), 0 18px 40px -22px rgba(42, 12, 22, 0.22);
  --shadow-2: 0 34px 70px -30px rgba(42, 12, 22, 0.35);
}

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

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }

::selection { background: rgba(75, 17, 36, 0.9); color: var(--ivory); }

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
  border-radius: 2px;
}
.ecosystem :focus-visible,
.hq :focus-visible,
.footer :focus-visible {
  outline-color: var(--gold-light);
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--wine);
  color: var(--ivory);
  font-size: 0.85rem;
  border-radius: 2px;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* Paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type primitives ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  row-gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow__rule {
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
  flex: none;
}
.eyebrow__sep { opacity: 0.5; }
.eyebrow__group { white-space: nowrap; }
.eyebrow--light { color: var(--gold-light); }

.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 4.7vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 26px;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  color: var(--wine);
}
.display--light { color: var(--ivory); }
.display--light em { color: var(--gold-light); }

/* Masked line-by-line reveal for display headings */
.display--lines .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.display--lines .line > span {
  display: block;
  transform: translateY(112%);
  transition: transform 1.15s var(--ease);
}
.display--lines .line:nth-child(2) > span { transition-delay: 0.12s; }
[data-reveal].display--lines { opacity: 1; transform: none; }
[data-reveal].display--lines.is-visible .line > span { transform: none; }

.lede {
  font-size: clamp(1.02rem, 1.15vw, 1.16rem);
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 42ch;
}

.body-lg {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.75vw, 1.62rem);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.principle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.45;
  color: var(--wine);
  padding-top: 30px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.02rem 1.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease),
              border-color 0.45s var(--ease), transform 0.45s var(--ease),
              box-shadow 0.45s var(--ease);
}
.btn--sm { padding: 0.82rem 1.25rem; font-size: 0.78rem; }
.btn--wine {
  background: var(--wine);
  color: var(--ivory);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}
.btn--wine:hover {
  background: var(--wine-2);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -18px rgba(75, 17, 36, 0.7);
}
.btn__icon {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.45s var(--ease);
}
.btn:hover .btn__icon { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.45s var(--ease);
}
.link-arrow:hover { color: var(--wine); border-color: var(--wine); }
.link-arrow:hover svg { transform: translateX(4px); }

.link-inline {
  border-bottom: 1px solid currentColor;
  color: var(--wine);
  font-size: inherit;
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: height 0.5s var(--ease), background-color 0.5s var(--ease),
              border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
}
.site-header.is-scrolled {
  height: 70px;
  background: rgba(247, 242, 233, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-soft);
}

/* Reading progress hairline */
.progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
}
.progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--wine) 0%, var(--gold) 60%, var(--gold-light) 100%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  will-change: transform;
}
.site-header.is-scrolled .progress__bar { opacity: 0.9; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(100% - (var(--gutter) * 2), var(--wrap));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand__mark {
  width: 30px;
  height: 30px;
  color: var(--wine);
  transition: transform 1.2s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(72deg); }
.brand__text {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1;
}
.brand__summer { color: var(--wine); }
.brand__tech { color: var(--gold-deep); font-style: italic; }
.brand__llc {
  color: var(--gold-deep);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-family: var(--font-sans);
  font-weight: 500;
  transform: translateY(-1px);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 450;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.35s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav__link:hover { color: var(--wine); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__chevron {
  width: 13px;
  height: 13px;
  opacity: 0.7;
  transition: transform 0.4s var(--ease);
}
.has-menu { position: relative; }
.has-menu.is-open .nav__chevron { transform: rotate(180deg); }
.has-menu.is-open > .nav__link { color: var(--wine); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.nav__menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: 420px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.has-menu.is-open .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav__menu::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}
.nav__menu-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0 12px 12px;
  border-bottom: 1px solid var(--line-soft);
}
.nav__menu-list li + li { border-top: 1px solid var(--line-soft); }
.nav__menu-list a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 12px;
  border-radius: 2px;
  transition: background-color 0.35s var(--ease);
}
.nav__menu-list a:hover { background: rgba(75, 17, 36, 0.04); }
.nav__menu-text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nav__menu-text strong {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav__menu-text em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.nav__menu-list svg {
  width: 14px;
  height: 14px;
  color: var(--ink-3);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.nav__menu-list a:hover svg { opacity: 1; transform: translate(0, 0); }
.nav__menu-foot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 12px 0;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--wine);
}
.nav__menu-foot svg { width: 15px; height: 15px; }

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot);
  flex: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot) 12%, transparent);
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.nav__toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 22px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 95;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 28px var(--gutter) 40px;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; transform: translateY(0); }
.mobile-menu__list a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu__platforms { margin: 26px 0 30px; display: flex; flex-direction: column; }
.mobile-menu__platforms .nav__menu-label { padding: 0 0 10px; border: 0; }
.mobile-menu__platforms a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  font-size: 0.92rem;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu__platforms svg { width: 15px; height: 15px; color: var(--ink-3); }
.mobile-menu__cta { width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(48px, 8vh, 96px));
  padding-bottom: 40px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line-soft);
}

.hero__glow {
  position: absolute;
  top: -14%;
  right: -6%;
  width: min(760px, 62vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(168, 135, 90, 0.15), rgba(168, 135, 90, 0.05) 45%, rgba(168, 135, 90, 0) 68%);
  animation: glow-drift 26s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes glow-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-7%, 6%, 0) scale(1.1); }
}

.hero__art {
  position: absolute;
  top: 47%;
  right: 3vw;
  width: min(42vw, 600px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}
.hero__mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--wine);
  opacity: 0.1;
  animation: mark-spin 220s linear infinite, mark-in 2s var(--ease) both;
}
.hero__rings {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(75, 17, 36, 0.13);
  border-radius: 50%;
  animation: rings-in 2.4s var(--ease) 0.2s both;
}
.hero__rings::before,
.hero__rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(75, 17, 36, 0.09);
}
.hero__rings::before { inset: 9%; border-style: dashed; }
.hero__rings::after { inset: 26%; border-color: rgba(168, 135, 90, 0.22); }

@keyframes mark-spin { to { transform: rotate(360deg); } }
@keyframes mark-in { from { opacity: 0; transform: scale(0.94) rotate(-8deg); } }
@keyframes rings-in { from { opacity: 0; transform: scale(1.06); } }

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--nav-h) - clamp(48px, 8vh, 96px) - 40px);
}

.hero__eyebrow {
  opacity: 0;
  animation: fade-up 1s var(--ease) 0.15s forwards;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.9rem, 6vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 14ch;
  margin-top: clamp(28px, 5vh, 56px);
}
.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.hero__line > span {
  display: block;
  transform: translateY(110%);
  animation: line-up 1.25s var(--ease) forwards;
}
.hero__line:nth-child(1) > span { animation-delay: 0.35s; }
.hero__line:nth-child(2) > span { animation-delay: 0.5s; }
.hero__title em {
  font-style: italic;
  color: var(--wine);
}
@keyframes line-up { to { transform: translateY(0); } }

.hero__aside {
  margin-top: clamp(30px, 4.4vh, 52px);
  max-width: 46ch;
  opacity: 0;
  animation: fade-up 1.1s var(--ease) 0.85s forwards;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: auto;
  padding-top: clamp(36px, 7vh, 72px);
  border-top: 1px solid var(--line-soft);
}
.hero__meta-item { display: flex; flex-direction: column; gap: 8px; }
.hero__meta-item--end { text-align: right; }
.meta-key {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.meta-val {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------- Trust bar ---------- */
.trust {
  background: var(--wine);
  color: var(--ivory);
}
.trust__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.trust__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 40px clamp(20px, 2.4vw, 36px);
  border-left: 1px solid rgba(247, 242, 233, 0.13);
}
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__k {
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.8;
}
.trust__item strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.5vw, 1.42rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.trust__item span:last-child {
  font-size: 0.76rem;
  line-height: 1.55;
  color: rgba(247, 242, 233, 0.62);
}

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(84px, 10vw, 148px) 0; }
.section__head { margin-bottom: clamp(48px, 6vw, 88px); }
.section__head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: end;
  gap: clamp(30px, 5vw, 80px);
}

/* ---------- About ---------- */
.about { background: var(--ivory); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(330px, 0.85fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about__copy p + p { margin-top: 22px; }
.about__copy > p:not(.body-lg):not(.principle) {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--ink-2);
  max-width: 58ch;
}

.letterhead {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 30px 34px 34px;
  box-shadow: var(--shadow-1);
}
.letterhead::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--line-soft);
  pointer-events: none;
}
.letterhead__plate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  padding: 8px 0 26px;
}
.letterhead__mark {
  width: 58px;
  height: 58px;
  color: var(--wine);
  transition: transform 1.6s var(--ease);
}
.letterhead:hover .letterhead__mark { transform: rotate(72deg); }
.letterhead__word {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 1.9vw, 1.66rem);
  letter-spacing: -0.015em;
  line-height: 1;
}
.letterhead__word .w-summer { color: var(--wine); }
.letterhead__word .w-tech { color: var(--gold-deep); font-style: italic; }
.letterhead__word .w-llc {
  font-family: var(--font-sans);
  font-size: 0.6em;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  transform: translateY(-2px);
}
.letterhead__rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
.letterhead__label {
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.letterhead__address {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-style: normal;
  line-height: 1.55;
  color: var(--ink);
}
.letterhead__mail {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--wine);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.4s var(--ease);
}
.letterhead__mail:hover { border-color: var(--wine); }
.letterhead__legal {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.68rem;
  line-height: 1.6;
  color: var(--ink-3);
}

/* Founders */
.founders { margin-top: clamp(70px, 9vw, 120px); }
.founders__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.founders__intro {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.65vw, 1.48rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 46ch;
}
.founders__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 46px);
  margin-top: clamp(40px, 5vw, 64px);
}
.founder__frame {
  overflow: hidden;
  border-radius: 3px;
  background: var(--ivory-2);
  aspect-ratio: 5 / 6.2;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.5s var(--ease);
}
.founder.is-visible .founder__frame { clip-path: inset(0 0 0 0); }
.founder__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
}
.founder:hover .founder__frame img { transform: scale(1.035); filter: saturate(1) contrast(1.03); }
.founder figcaption {
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  margin-top: 20px;
}
.founder__role {
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--wine);
}
.founder__note {
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 38ch;
}

/* ---------- Ecosystem (dark) ---------- */
.ecosystem {
  position: relative;
  background: var(--wine-deep);
  color: var(--ivory);
  overflow: hidden;
}
.ecosystem::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(168, 135, 90, 0.16), transparent 70%),
    radial-gradient(45% 60% at 8% 92%, rgba(102, 29, 51, 0.55), transparent 72%);
  pointer-events: none;
}
.ecosystem .wrap { position: relative; z-index: 1; }
.ecosystem__intro {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(247, 242, 233, 0.66);
  max-width: 40ch;
  padding-bottom: 6px;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}
.eco-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 34px);
  background: linear-gradient(168deg, #FDFAF4 0%, #F6EFE2 100%);
  color: var(--ink);
  border: 1px solid rgba(247, 242, 233, 0.14);
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow 0.7s var(--ease);
  will-change: transform;
}
.eco-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--card-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.eco-card:hover {
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.eco-card:hover::after { transform: scaleX(1); }

.eco-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.eco-card__index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--card-accent);
}
.eco-card__cat {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: right;
}
.eco-card__logo {
  height: clamp(88px, 8vw, 112px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 14px;
}
.eco-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: saturate(0.95);
  transition: transform 0.8s var(--ease);
}
.eco-card:hover .eco-card__logo img { transform: scale(1.03); }
.eco-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--wine);
}
.eco-card__desc {
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 42ch;
}
.eco-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  transition: color 0.5s var(--ease);
}
.eco-card__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.5s var(--ease), color 0.5s var(--ease);
}
.eco-card:hover .eco-card__link { color: var(--card-accent); }
.eco-card:hover .eco-card__link svg { transform: translate(3px, -3px); color: var(--card-accent); }

/* ---------- Advantages ---------- */
.advantages { background: var(--ivory); }
.adv-list { border-top: 1px solid var(--line); }
.adv {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(30px, 3.4vw, 46px) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.6s var(--ease), padding-left 0.6s var(--ease);
}
.adv:hover {
  background: rgba(75, 17, 36, 0.028);
  padding-left: 12px;
}
.adv__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.28rem;
  color: var(--gold-deep);
  transition: color 0.5s var(--ease);
}
.adv:hover .adv__num { color: var(--wine); }
.adv__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
.adv__text {
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--ink-2);
  max-width: 48ch;
}

/* ---------- Contact ---------- */
.contact {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 100%);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.hq {
  position: relative;
  background: var(--wine-deep);
  color: var(--ivory);
  padding: clamp(30px, 3vw, 42px);
  border-radius: 3px;
  overflow: hidden;
}
.hq__map {
  width: 100%;
  height: auto;
  color: var(--gold-light);
  opacity: 0.9;
  margin: -8px 0 6px;
}
.hq__map-label {
  fill: currentColor;
  font-family: var(--font-sans);
  font-size: 8px;
  letter-spacing: 0.28em;
  text-anchor: middle;
  opacity: 0.8;
}
.hq__pin { animation: pin-pulse 4s ease-in-out infinite; transform-origin: 210px 160px; }
@keyframes pin-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.94); }
}
.hq__content { position: relative; }
.hq__address {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.9vw, 1.7rem);
  font-style: normal;
  line-height: 1.45;
  margin-top: 16px;
  letter-spacing: -0.01em;
}
.hq__details {
  margin-top: 26px;
  display: grid;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}
.hq__details dt {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.hq__details dd {
  font-size: 0.88rem;
  color: rgba(247, 242, 233, 0.78);
}
.hq__details a {
  border-bottom: 1px solid rgba(247, 242, 233, 0.3);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.hq__details a:hover { color: #fff; border-color: var(--gold-light); }
.hq__legal {
  margin-top: 30px;
  font-size: 0.66rem;
  line-height: 1.6;
  color: rgba(247, 242, 233, 0.45);
}

.form-wrap { padding-top: 4px; }
.form-wrap__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.3vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.form-wrap__note {
  margin-top: 12px;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 52ch;
}

.form { margin-top: 34px; }
.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}
.field { position: relative; margin-bottom: 26px; }
.field label {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.field__optional {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.68rem;
  color: var(--ink-3);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(75, 17, 36, 0.22);
  border-radius: 0;
  padding: 10px 0 12px;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 128px; line-height: 1.65; }
.field select { padding-right: 26px; cursor: pointer; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-3); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--wine);
  box-shadow: 0 1px 0 0 var(--wine);
}
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible { outline: none; }
.field.has-error input,
.field.has-error textarea { border-bottom-color: #9C2A2A; box-shadow: 0 1px 0 0 #9C2A2A; }
.field__error {
  margin-top: 6px;
  font-size: 0.74rem;
  color: #8B2323;
}
.select-wrap { position: relative; }
.select-wrap svg {
  position: absolute;
  right: 2px;
  top: 50%;
  width: 15px;
  height: 15px;
  transform: translateY(-58%);
  color: var(--ink-3);
  pointer-events: none;
}

.form__foot {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form__fineprint {
  font-size: 0.71rem;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 40ch;
}
.form__fineprint a { color: var(--wine); border-bottom: 1px solid var(--line); }
.form__status {
  min-height: 1.4em;
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--wine);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--wine-black);
  color: rgba(247, 242, 233, 0.68);
  padding: clamp(64px, 8vw, 104px) 0 32px;
  border-top: 1px solid rgba(247, 242, 233, 0.06);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 0.75fr));
  gap: clamp(30px, 4vw, 64px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.brand--footer .brand__mark { color: var(--gold-light); width: 34px; height: 34px; }
.brand--footer .brand__text { font-size: 1.5rem; }
.brand--footer .brand__summer { color: var(--ivory); }
.brand--footer .brand__tech { color: var(--gold-light); }
.brand--footer .brand__llc { color: var(--gold-light); }
.footer__tagline {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.55;
  color: rgba(247, 242, 233, 0.72);
}
.footer__address {
  margin-top: 22px;
  font-size: 0.78rem;
  line-height: 1.7;
  font-style: normal;
  color: rgba(247, 242, 233, 0.5);
}
.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__label {
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.85;
  margin-bottom: 8px;
}
.footer__col a,
.footer__legal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  color: rgba(247, 242, 233, 0.68);
  width: fit-content;
  text-align: left;
  transition: color 0.35s var(--ease), transform 0.35s var(--ease);
}
.footer__col a:hover,
.footer__legal-link:hover { color: var(--ivory); transform: translateX(3px); }
.footer__col svg { width: 13px; height: 13px; opacity: 0.55; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px 32px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(247, 242, 233, 0.12);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: rgba(247, 242, 233, 0.56);
}
.footer__place { color: var(--gold-light); opacity: 0.7; }

/* ---------- Modals ---------- */
.modal {
  width: min(600px, calc(100vw - 40px));
  max-height: min(80vh, 760px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-2);
}
.modal[open] { animation: modal-in 0.45s var(--ease); }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.99); }
}
.modal::backdrop {
  background: rgba(24, 10, 14, 0.58);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.modal__inner { position: relative; padding: clamp(30px, 4vw, 48px); overflow-y: auto; max-height: inherit; }
.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-2);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.modal__close:hover { background: rgba(75, 17, 36, 0.06); color: var(--wine); }
.modal__close svg { width: 16px; height: 16px; }
.modal__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 18px 0 18px;
}
.modal__body p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--ink-2);
}
.modal__body p + p { margin-top: 12px; }
.modal__body a { color: var(--wine); border-bottom: 1px solid var(--line); }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Cards keep their 3D cant while revealing */
.eco-card[data-reveal] {
  transform: perspective(1100px) translateY(24px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.55s var(--ease), box-shadow 0.7s var(--ease), opacity 0.95s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.eco-card[data-reveal].is-visible {
  transform: perspective(1100px) translateY(0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.eco-card[data-reveal].is-visible:hover {
  transform: perspective(1100px) translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition-duration: 0.18s, 0.7s, 0.95s;
  transition-timing-function: ease-out, var(--ease), var(--ease);
  transition-delay: 0s;
}

.eco-card:nth-child(1) { --d: 0; }
.eco-card:nth-child(2) { --d: 1; }
.eco-card:nth-child(3) { --d: 2; }
.eco-card:nth-child(4) { --d: 3; }

.trust__item:nth-child(1) { --d: 0; }
.trust__item:nth-child(2) { --d: 1; }
.trust__item:nth-child(3) { --d: 2; }
.trust__item:nth-child(4) { --d: 3; }

.adv:nth-child(1) { --d: 0; }
.adv:nth-child(2) { --d: 1; }
.adv:nth-child(3) { --d: 2; }
.adv:nth-child(4) { --d: 3; }

/* Eyebrow rule draws itself in */
[data-reveal] .eyebrow__rule {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s var(--ease) 0.15s;
}
[data-reveal].is-visible .eyebrow__rule { transform: scaleX(1); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero__art { right: 3vw; width: min(40vw, 470px); }
  .about__grid { grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.85fr); gap: 48px; }
  .contact__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 44px; }
  .footer__top { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.8fr)); gap: 32px; }
}

@media (max-width: 1024px) {
  :root { --nav-h: 78px; }
  .hero { min-height: auto; padding-bottom: 72px; }
  .hero__inner { min-height: 0; }
  .hero__title { font-size: clamp(2.9rem, 8vw, 5rem); max-width: 16ch; }
  .hero__aside { max-width: 520px; }
  .hero__meta { margin-top: 64px; }
  .hero__art { top: 38%; right: -26vw; width: 72vw; }
  .hero__mark { opacity: 0.075; }
  .about__grid { grid-template-columns: 1fr; }
  .letterhead { max-width: 460px; }
  .hq { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 30px; align-items: center; }
  .hq__map { margin: 0; }
  .hq__legal { margin-top: 22px; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
}

@media (max-width: 940px) {
  .nav__primary { display: none; }
  .nav__toggle { display: block; }
}

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .form-wrap { max-width: 640px; }
}

@media (max-width: 860px) {
  .section__head--split { grid-template-columns: 1fr; gap: 22px; }
  .ecosystem__intro { max-width: 52ch; }
  .eco-grid { grid-template-columns: 1fr; }
  .adv { grid-template-columns: 52px minmax(0, 1fr); gap: 16px 24px; }
  .adv__text { grid-column: 2; }
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item { padding: 30px 24px; }
  .trust__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust__item:nth-child(-n + 2) { border-bottom: 1px solid rgba(247, 242, 233, 0.13); }
  .founders__head { grid-template-columns: 1fr; gap: 18px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .hq { grid-template-columns: 1fr; }
  .hq__map { max-width: 360px; }
}

@media (max-width: 560px) {
  .nav__actions .btn--sm { display: none; }
}

@media (max-width: 640px) {
  :root { --nav-h: 70px; --gutter: 22px; }
  .brand__text { font-size: 1.12rem; }
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero__title { font-size: clamp(2.45rem, 10.8vw, 3.6rem); letter-spacing: -0.03em; max-width: 20ch; }
  .hero__art { top: 64%; right: -32vw; width: 92vw; }
  .hero__mark { opacity: 0.05; }
  .hero__eyebrow { font-size: 0.6rem; letter-spacing: 0.2em; gap: 10px; }
  .hero__meta { grid-template-columns: 1fr; gap: 20px; }
  .hero__meta-item--end { text-align: left; }
  .hero__actions { gap: 20px; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions .btn { width: auto; }
  .section { padding: 72px 0; }
  .display { font-size: clamp(2.2rem, 9vw, 2.9rem); }
  .founders__grid { grid-template-columns: 1fr; }
  .founder__frame { aspect-ratio: 5 / 5.6; }
  .adv { grid-template-columns: 1fr; gap: 8px; }
  .adv__text { grid-column: auto; }
  .adv { padding: 28px 0; }
  .contact__grid { gap: 34px; }
  .hq { padding: 26px; }
  .hq__address { font-size: 1.3rem; }
  .form__foot { gap: 16px; }
  .form__foot .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer__place { margin-top: 4px; }
  .modal__inner { padding: 28px 22px 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__line > span { transform: none; }
  .hero__mark { opacity: 0.085; }
  .hq__pin { animation: none; }
  .display--lines .line > span { transform: none !important; }
  .founder__frame, .founder.is-visible .founder__frame { clip-path: none !important; }
  .eco-card[data-reveal],
  .eco-card[data-reveal].is-visible,
  .eco-card[data-reveal].is-visible:hover { transform: none !important; }
  .hero__glow { animation: none; }
  .progress__bar { transition: none; }
  [data-reveal] .eyebrow__rule { transform: scaleX(1); }
}
