:root {
  --bg: #161523;
  --bg-alt: #1b1a2a;
  --surface: #1d1c2d;
  --slot: #1f1e2f;
  --accent: #fdd985;
  --accent-hover: #ffe7ad;
  --text: #f1ede4;
  --text-soft: #e8e3da;
  --muted-1: #d6d1dd;
  --muted-2: #cfcad8;
  --muted-3: #c4bfcf;
  --muted-4: #b9b4c5;
  --muted-5: #a9a4b6;
  --muted-6: #8d899c;
  --line: rgba(253, 217, 133, .22);
  --line-soft: rgba(253, 217, 133, .18);
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(88px, 12vw, 160px);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff1cc; }
::selection { background: var(--accent); color: var(--bg); }
input, textarea, select, button { font-family: inherit; }
input::placeholder, textarea::placeholder { color: var(--muted-6); }
img { display: block; max-width: 100%; }

.wrap { max-width: 1360px; margin: 0 auto; }
.section { padding: var(--section-y) var(--gutter); scroll-margin-top: var(--header-h); }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.01em;
}
.lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted-3);
  font-weight: 300;
}
.body {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-4);
  font-weight: 300;
  text-wrap: pretty;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0 26px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background .25s, border-color .25s, color .25s;
}
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { background: var(--accent-hover); color: var(--bg); }
.btn--ghost { border: 1px solid rgba(241, 237, 228, .4); color: var(--text); font-weight: 500; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { height: 56px; padding: 0 30px; }
.btn--sm { height: 44px; padding: 0 22px; font-size: 14px; gap: 10px; }
.btn .arrow-lg { font-size: 18px; }

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--accent);
  border-bottom: 1px solid rgba(253, 217, 133, .5);
  padding-bottom: 6px;
}

/* Image slots */
.slot { position: relative; width: 100%; overflow: hidden; background: var(--slot); }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px solid rgba(253, 217, 133, .08);
}
.slot--empty span {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-6);
  text-align: center;
  max-width: 32ch;
  line-height: 1.6;
}

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(22, 21, 35, 0);
  border-bottom: 1px solid rgba(253, 217, 133, 0);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background .4s ease, border-color .4s ease;
}
.header.is-solid { background: rgba(22, 21, 35, .92); border-bottom-color: rgba(253, 217, 133, .16); }
.header__bar {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 26px; width: auto; }
.logo--footer img { height: 22px; }
@media (min-width: 1080px) { .header .logo img { height: 30px; } }
.nav { display: none; align-items: center; gap: 32px; font-size: 14px; letter-spacing: .02em; }
.nav a { color: var(--muted-2); transition: color .2s; }
.nav a:hover { color: var(--accent); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.menu-btn {
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(253, 217, 133, .35);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.menu-btn span { width: 18px; height: 1px; background: var(--text); display: block; }
.mobile-nav {
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
  padding: 12px var(--gutter) 28px;
  display: flex;
  flex-direction: column;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid rgba(241, 237, 228, .08);
}
@media (min-width: 1080px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px var(--gutter) clamp(48px, 8vh, 96px);
}
.hero__media { position: absolute; inset: 0; }
.hero__media .slot { height: 100%; }
.hero__media img { object-position: 35% 50%; }
.hero__overlay { position: absolute; inset: 0; background: rgba(22, 21, 35, .25); pointer-events: none; }
.hero__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 70%;
  background: linear-gradient(to top, #161523 0%, rgba(22, 21, 35, .6) 45%, rgba(22, 21, 35, 0) 100%);
  pointer-events: none;
}
.hero__content { position: relative; max-width: 1360px; width: 100%; margin: 0 auto; }
.hero__kicker {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent);
}
.hero__kicker::before { content: ''; width: 40px; height: 1px; background: var(--accent); display: block; }
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, min(8.4vw, 12.5vh), 124px);
  line-height: 1.08;
  letter-spacing: -.015em;
  max-width: 12ch;
  text-wrap: balance;
}
.hero__row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 36px; margin-top: 40px;
}
.hero__sub {
  margin: 0; max-width: 560px;
  font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65;
  color: var(--muted-1); font-weight: 300; text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Credibility */
.cred { padding: clamp(64px, 9vw, 120px) var(--gutter); border-bottom: 1px solid rgba(253, 217, 133, .14); }
.cred__title {
  margin: 0 0 40px;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted-5); text-align: center;
}
.cred__list {
  list-style: none; margin: 0 auto; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 18px 0; max-width: 1100px;
}
.cred__list li { display: flex; align-items: center; }
.cred__list li span {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-style: italic;
  color: var(--text-soft);
  white-space: nowrap;
  padding: 0 clamp(14px, 2vw, 28px);
}
.cred__list li:not(:last-child)::after {
  content: ''; width: 5px; height: 5px; transform: rotate(45deg);
  border: 1px solid var(--accent); display: block;
}

/* Section heading row */
.head-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 32px; margin-bottom: clamp(48px, 6vw, 80px);
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  padding: clamp(28px, 3vw, 40px);
  min-height: 300px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .35s;
}
.service:hover { background: var(--surface); }
.service__n { font-family: var(--serif); font-size: 20px; color: var(--accent); font-style: italic; }
.service h3 { margin: 0 0 14px; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; }

/* Why */
.why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.why__intro { position: static; }
@media (min-width: 1024px) { .why__intro { position: sticky; top: 120px; } }
.why__intro .h2 { margin-bottom: 28px; }
.why__intro .lead { margin-bottom: 36px; max-width: 46ch; }
.why__list { display: flex; flex-direction: column; }
.why__item {
  display: grid; grid-template-columns: 56px 1fr; gap: 24px;
  padding: 36px 0; border-top: 1px solid var(--line);
}
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__item h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.15; }
.why__item p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted-4); font-weight: 300; }

/* Projects */
.projects__intro { margin: 0; max-width: 40ch; font-size: 16px; line-height: 1.65; color: var(--muted-4); font-weight: 300; }
.projects { display: flex; flex-wrap: wrap; gap: clamp(20px, 2.4vw, 32px); }
.project { min-width: min(100%, 300px); display: flex; flex-direction: column; gap: 18px; }
.project__cap {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line-soft);
}
.project h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); }
.project__meta { font-size: 13px; letter-spacing: .06em; color: var(--muted-5); white-space: nowrap; }
.cta-line {
  margin-top: clamp(56px, 7vw, 96px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 20px 32px; text-align: center;
}
.cta-line span { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-style: italic; color: var(--text-soft); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.step { padding: 0 clamp(0px, 1.6vw, 24px) 40px 0; }
.step__rule { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.step__rule::before {
  content: ''; width: 11px; height: 11px; border: 1px solid var(--accent);
  transform: rotate(45deg); display: block; flex: none;
}
.step__rule::after { content: ''; height: 1px; flex: 1; background: rgba(253, 217, 133, .3); display: block; }
.step__n { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--accent); margin-bottom: 20px; }
.step h3 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; }
.step .body { max-width: 30ch; }
.steps__foot {
  margin-top: 24px; padding-top: 40px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
}
.steps__foot p { margin: 0; font-size: 17px; color: var(--muted-1); font-weight: 300; }

/* B2B */
.b2b {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.b2b .h2 { font-size: clamp(38px, 5vw, 68px); margin-bottom: 26px; }
.b2b .lead { margin-bottom: 40px; max-width: 50ch; }
.b2b__list { display: flex; flex-direction: column; margin-bottom: 44px; }
.b2b__item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(253, 217, 133, .2); }
.b2b__n { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--accent); }
.b2b__title { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.b2b__desc { font-size: 15px; line-height: 1.55; color: var(--muted-4); font-weight: 300; }

/* About */
.about__statement {
  margin: 0 0 clamp(56px, 7vw, 96px);
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 4vw, 56px); line-height: 1.15; letter-spacing: -.005em;
  max-width: 24ch; text-wrap: pretty;
}
.about__statement em { color: var(--accent); }
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
.about__facts { display: flex; flex-direction: column; gap: 28px; }
.stat { display: flex; align-items: baseline; gap: 18px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.stat__n { font-family: var(--serif); font-size: clamp(72px, 8vw, 112px); line-height: .9; color: var(--accent); }
.stat__label { font-size: 15px; line-height: 1.5; color: var(--muted-3); max-width: 18ch; }
.about__facts p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted-4); font-weight: 300; max-width: 52ch; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(48px, 7vw, 120px);
}
.contact h2 {
  margin: 0 0 28px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -.015em;
}
.contact .lead { margin-bottom: 48px; max-width: 42ch; }
.contact__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.contact__row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--text);
}
a.contact__row:hover, .contact__row a:hover { color: var(--accent); }
.contact__row a { color: var(--text); }
.contact__label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-5); }
.contact__value { font-size: 17px; }
.contact__addr { font-size: 17px; text-align: right; line-height: 1.45; max-width: 24ch; }

.form-card { background: var(--surface); border: 1px solid rgba(253, 217, 133, .2); padding: clamp(24px, 4vw, 56px); }
.form { display: flex; flex-direction: column; gap: 28px; }
.form[hidden] { display: none; }
.field-label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-5); }
.types { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; border: 0; }
.types legend { padding: 0; margin-bottom: 14px; }
.type {
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(241, 237, 228, .28);
  background: transparent; color: var(--text-soft);
  font-size: 14px; cursor: pointer; transition: all .2s;
}
.type[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field input, .field textarea {
  background: transparent; border: none; border-bottom: 1px solid rgba(241, 237, 228, .3);
  color: var(--text); font-size: 17px; outline: none; padding: 0; border-radius: 0;
  transition: border-color .2s;
}
.field input { height: 48px; }
.field textarea { padding: 10px 0; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.form__submit {
  height: 60px; background: var(--accent); color: var(--bg); border: none; border-radius: 2px;
  font-size: 16px; font-weight: 600; letter-spacing: .02em; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 14px; transition: background .25s;
}
.form__submit:hover { background: var(--accent-hover); }
.form__note { margin: 0; font-size: 13px; color: var(--muted-6); line-height: 1.5; }
.thanks { min-height: 420px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.thanks[hidden] { display: none; }
.thanks__mark { width: 14px; height: 14px; border: 1px solid var(--accent); transform: rotate(45deg); display: block; }
.thanks h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.05; }
.thanks p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted-3); font-weight: 300; max-width: 40ch; }
.thanks button {
  align-self: flex-start; margin-top: 12px; background: none; border: none;
  border-bottom: 1px solid rgba(253, 217, 133, .5); color: var(--accent);
  font-size: 15px; padding: 0 0 6px; cursor: pointer;
}

/* Footer */
.footer { border-top: 1px solid var(--line-soft); padding: 40px var(--gutter); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer small { font-size: 13px; color: var(--muted-6); }
.footer__top { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }

/* Scroll reveal: JS adds .reveal only to elements below the first screen */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
