:root {
  --ink: #080b0a;
  --ink-2: #0e1311;
  --panel: #121816;
  --line: rgba(232, 220, 196, 0.12);
  --line-strong: rgba(201, 163, 106, 0.38);
  --copper: #c9a36a;
  --copper-2: #e8d0a4;
  --leaf: #3f5d4c;
  --cream: #f3ead8;
  --muted: #a39a8b;
  --white: #f7f3ea;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --max: 1180px;
  --nav-h: 84px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 360;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.09;
  mix-blend-mode: overlay;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  background: var(--copper);
  color: var(--ink);
  padding: 8px 12px;
}

.skip:focus {
  top: 12px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--nav-h);
  padding: 0 28px;
  background: linear-gradient(to bottom, rgba(8, 11, 10, 0.86), rgba(8, 11, 10, 0.52) 70%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav.is-solid {
  background: rgba(8, 11, 10, 0.92);
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 234, 216, 0.72);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--copper-2);
}

.nav-cta {
  border: 1px solid var(--line-strong);
  color: var(--copper-2) !important;
  padding: 10px 16px;
  border-radius: 999px;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero--compact {
  min-height: 72vh;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: drift 28s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 11, 10, 0.18) 0%, rgba(8, 11, 10, 0.28) 38%, rgba(8, 11, 10, 0.88) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(201, 163, 106, 0.22), transparent 42%);
}

.hero__copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 56px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0;
}

h1 {
  font-size: clamp(44px, 7.2vw, 92px);
  max-width: 16ch;
  color: var(--white);
}

h2 {
  font-size: clamp(36px, 5vw, 64px);
}

h3 {
  font-size: clamp(26px, 3vw, 36px);
}

.lede {
  max-width: 46ch;
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(243, 234, 216, 0.78);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--copper);
  color: #1a140c;
}

.btn-primary:hover {
  background: var(--copper-2);
}

.btn-ghost {
  border-color: rgba(243, 234, 216, 0.28);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--copper);
  color: var(--copper-2);
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 108px 0;
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 48px;
}

.section-head p {
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fact {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 24, 22, 0.7);
}

.fact span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--white);
}

.flagship {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: grid;
  align-items: center;
}

.flagship img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flagship__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 11, 10, 0.92) 8%, rgba(8, 11, 10, 0.55) 52%, rgba(8, 11, 10, 0.18) 100%);
}

.flagship__copy {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  max-width: 640px;
  justify-self: start;
}

.pill {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--copper-2);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.photo-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 420px;
}

.photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: rgba(243, 234, 216, 0.8);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--ink-2);
  transition: border-color 0.2s ease, transform 0.25s ease;
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card__meta {
  color: var(--copper);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.card h3 {
  font-size: 30px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.card .more {
  margin-top: auto;
  padding-top: 16px;
  color: var(--copper-2);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.work-grid .card:nth-child(1) {
  grid-column: span 8;
}

.work-grid .card:nth-child(1) img {
  height: 340px;
}

.work-grid .card:nth-child(2) {
  grid-column: span 4;
}

.work-grid .card:nth-child(n + 3) {
  grid-column: span 4;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.filter.is-on,
.filter:hover {
  border-color: var(--copper);
  color: var(--copper-2);
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline article {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.timeline time {
  color: var(--copper);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.prose {
  max-width: 72ch;
}

.prose p,
.prose li {
  color: rgba(243, 234, 216, 0.78);
  line-height: 1.8;
  font-size: 17px;
}

.prose p + p {
  margin-top: 18px;
}

.founders {
  display: grid;
  gap: 16px;
}

.founder {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(18, 24, 22, 0.65);
}

.mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--copper);
  font-family: var(--font-display);
  font-size: 22px;
}

.case-hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: end;
}

.case-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-hero__copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 56px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats div {
  padding: 36px 24px;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.marquee__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: slide 32s linear infinite;
  color: var(--copper);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.footer {
  padding: 64px 0 36px;
  border-top: 1px solid var(--line);
  background: #070908;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
}

.footer a,
.footer p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
}

.footer a:hover {
  color: var(--copper-2);
}

.legal {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #6f6a61;
  font-size: 12px;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.contact-card a {
  color: var(--copper-2);
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pillar {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.pillar span {
  color: var(--copper);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
}

.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 20px 20px;
    background: rgba(8, 11, 10, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .facts,
  .stats,
  .grid-3,
  .grid-2,
  .split,
  .footer-grid,
  .pillars,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-grid .card:nth-child(1),
  .work-grid .card:nth-child(2),
  .work-grid .card:nth-child(n + 3) {
    grid-column: span 1;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  h1 {
    font-size: 48px;
  }

  .section {
    padding: 72px 0;
  }
}
