:root {
  --bg: #efe8d8;
  --bg-warm: #e7dec9;
  --paper: #f8f3e8;
  --ink: #12100c;
  --muted: #6a6256;
  --line: rgba(18, 16, 12, 0.12);
  --gold: #d4af37;
  --gold-soft: #e8c96a;
  --gold-deep: #b8912a;
  --black: #070706;
  --black-soft: #11100d;
  --white: #f8f4ea;
  --radius: 4px;
  --shadow: 0 30px 70px rgba(7, 7, 6, 0.16);
  --max: 1200px;
  --header: 80px;
  --sans: "Outfit", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ui: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ui);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.container-wide {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}

.em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: -0.02em;
}

/* Header */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 7, 6, 0.88);
  backdrop-filter: blur(18px);
  color: var(--white);
  height: var(--header);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}

.header-inner {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 54px;
  width: auto;
}

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

.nav a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 244, 234, 0.7);
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--white);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 0;
  padding: 13px 22px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-soft);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(18, 16, 12, 0.28);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(248, 244, 234, 0.28);
}

.btn-ghost-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--white);
}

/* Hero */
.hero,
.page-hero {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(212, 175, 55, 0.12), transparent 42%),
    linear-gradient(180deg, #070706 0%, #0e0d0a 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 85%);
  pointer-events: none;
}

.hero {
  padding: 92px 0 56px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1,
.page-hero h1,
.display {
  font-family: var(--sans);
  font-weight: 460;
  letter-spacing: -0.04em;
  line-height: 1.02;
  font-size: clamp(40px, 6.4vw, 80px);
  max-width: 16ch;
}

.hero-lead {
  max-width: 560px;
  margin: 28px 0 34px;
  font-size: 17px;
  color: rgba(248, 244, 234, 0.68);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 12px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

.mosaic-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  height: 168px;
  background: #1a1916;
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.mosaic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 0.8s ease, filter 0.8s ease;
}

.mosaic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, rgba(7, 7, 6, 0.72)),
    linear-gradient(135deg, rgba(212, 175, 55, 0.14), transparent 45%);
  pointer-events: none;
}

.mosaic-card:hover img {
  transform: scale(1.06);
  filter: saturate(0.95) contrast(1.1);
}

.mosaic-card.tall,
.mosaic-card.tall img {
  height: 348px;
}

.mosaic-stack {
  display: grid;
  gap: 12px;
}

.mosaic-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  color: #fff;
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--sans);
}

/* Sections */
.section {
  padding: 104px 0;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 52px;
}

.section-head h2,
h2 {
  font-family: var(--sans);
  font-size: clamp(30px, 3.8vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-weight: 480;
  max-width: 16ch;
}

.section-head p,
.lede {
  color: var(--muted);
  font-size: 17px;
}

.band {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dark-band {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(212, 175, 55, 0.1), transparent 40%),
    var(--black);
  color: var(--white);
}

.dark-band .lede,
.dark-band .muted {
  color: rgba(248, 244, 234, 0.64);
}

.dark-band .eyebrow {
  color: var(--gold);
}

/* Feature rows */
.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.feature + .feature {
  margin-top: 110px;
}

.feature.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.feature.reverse .feature-copy {
  order: 2;
}

.feature-visual {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(18, 16, 12, 0.08);
  position: relative;
}

.feature-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 7, 6, 0.28)),
    linear-gradient(45deg, rgba(212, 175, 55, 0.08), transparent 40%);
  pointer-events: none;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
}

.feature-copy h3 {
  font-family: var(--sans);
  font-size: clamp(26px, 2.8vw, 38px);
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
  font-weight: 480;
}

.feature-copy p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 22px;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.feature-list li {
  padding-left: 18px;
  position: relative;
  color: var(--ink);
}

.feature-list li::before {
  content: "";
  width: 7px;
  height: 1px;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 12px;
}

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

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.45);
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
}

.card-body {
  padding: 22px 20px 24px;
}

.card-index {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-deep);
  font-size: 15px;
  margin-bottom: 8px;
}

.card h3 {
  font-family: var(--sans);
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  font-weight: 520;
}

.card p {
  color: var(--muted);
  font-size: 14.5px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  padding: 8px 28px 8px 0;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
  padding-right: 0;
}

.stat:first-child {
  padding-left: 0;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 5vw, 62px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.dark-band .stat {
  border-right-color: rgba(248, 244, 234, 0.12);
}

.dark-band .stat strong {
  color: var(--gold);
}

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.dark-band .stat span {
  color: rgba(248, 244, 234, 0.62);
}

/* Tags / capabilities */
.pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  border: 1px solid rgba(18, 16, 12, 0.14);
  background: transparent;
  border-radius: 0;
  padding: 10px 16px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dark-band .pill {
  background: transparent;
  border-color: rgba(212, 175, 55, 0.28);
  color: #f3ead4;
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.step {
  padding: 8px 36px 8px 0;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
  padding-right: 0;
}

.step:not(:first-child) {
  padding-left: 36px;
}

.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 40px;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 18px;
}

.step h3 {
  font-family: var(--sans);
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 520;
}

.step p {
  color: var(--muted);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.person {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.person-photo {
  height: 280px;
  background-size: cover;
  background-position: center 18%;
  position: relative;
}

.avatar {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: var(--black);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
}

.person-body {
  padding: 20px;
}

.person h3 {
  font-family: var(--sans);
  font-size: 19px;
  margin-bottom: 4px;
}

.role {
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.person p {
  color: var(--muted);
  font-size: 14px;
}

/* Page hero */
.page-hero {
  padding: 88px 0 72px;
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero p {
  max-width: 640px;
  margin-top: 22px;
  color: rgba(248, 244, 234, 0.66);
  font-size: 18px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}

.contact-card,
.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.contact-card h3,
.form h3 {
  font-family: var(--sans);
  font-size: 26px;
  margin-bottom: 18px;
  font-weight: 500;
}

.contact-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 6px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 0;
  padding: 13px 14px;
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

/* CTA panel */
.cta-panel {
  background:
    radial-gradient(ellipse at 90% 20%, rgba(212, 175, 55, 0.16), transparent 40%),
    var(--black);
  color: #fff;
  border-radius: var(--radius);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 32px;
  align-items: center;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.cta-panel h2 {
  color: #fff;
}

.cta-panel p {
  color: rgba(248, 244, 234, 0.64);
  margin-top: 12px;
}

.cta-panel .btn-row {
  display: flex;
  justify-content: flex-end;
}

/* Footer */
.site-footer {
  background: var(--black);
  color: rgba(248, 244, 234, 0.7);
  padding: 72px 0 28px;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

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

.footer-brand img {
  height: 52px;
  margin-bottom: 16px;
}

.footer-grid h4 {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(248, 244, 234, 0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s ease forwards;
}

.reveal-delay {
  animation-delay: 0.12s;
}

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

/* Quote */
.quote {
  max-width: 820px;
}

.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.28;
}

.quote cite {
  display: block;
  margin-top: 22px;
  font-style: normal;
  color: rgba(248, 244, 234, 0.55);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Work tiles */
.work-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
}

.work-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(18, 16, 12, 0.08);
}

.work-tile img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 0.8s ease, filter 0.8s ease;
}

.work-tile:hover img {
  transform: scale(1.04);
  filter: saturate(0.92) contrast(1.1);
}

.work-tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(7, 7, 6, 0.82));
  color: #fff;
}

.work-tile h3 {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 480;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  background: var(--black);
  color: var(--gold);
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: tick 32s linear infinite;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ticker-track span {
  white-space: nowrap;
}

@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}

/* Mobile */
@media (max-width: 980px) {
  .nav,
  .header-actions .btn {
    display: none;
  }

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

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #070706;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  }

  .hero-mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .mosaic-card,
  .mosaic-card.tall,
  .mosaic-card.tall img {
    height: 180px;
  }

  .section-head,
  .feature,
  .feature.reverse,
  .card-grid,
  .card-grid.four,
  .stats,
  .steps,
  .team-grid,
  .contact-grid,
  .cta-panel,
  .footer-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .stat,
  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
  }

  .step:not(:first-child) {
    padding-left: 0;
  }

  .dark-band .stat {
    border-bottom-color: rgba(248, 244, 234, 0.12);
  }

  .feature.reverse .feature-copy {
    order: 0;
  }

  .cta-panel {
    padding: 36px 24px;
  }

  .cta-panel .btn-row {
    justify-content: flex-start;
  }

  .hero,
  .section,
  .page-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container,
  .container-wide,
  .header-inner {
    width: calc(100% - 28px);
  }

  .logo img {
    height: 42px;
  }

  .hero-mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .mosaic-card,
  .mosaic-card.tall,
  .mosaic-card img,
  .mosaic-card.tall img {
    height: 160px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
  }
}
