/* Lunan Agency: static rebuild of the Dorik design (Nov 2026). */
:root {
  --bg: #141414;
  --bg-raised: #181818;
  --bg-deep: #000;
  --gold: #b8a88a;
  --gold-light: #e3cea7;
  --text: #e8e8e8;
  --text-soft: #c8c8c8;
  --muted: #9c9c9c;
  --line: #2a2a2a;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --card: "Merriweather", Georgia, serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1100px;
  --gutter: 24px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[id] { scroll-margin-top: 96px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--gold); color: var(--bg); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius);
  font-family: var(--sans); font-size: 16px; font-weight: 500;
  letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
  border: 0; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #1a1a1a; }
.btn-gold:hover { background: var(--gold-light); }
.btn-light { background: var(--text); color: #1a1a1a; }
.btn-light:hover { background: #fff; }
.btn-lg { padding: 19px 30px; font-size: 17px; }

.btn-pill {
  display: inline-flex; align-items: center;
  padding: 10px 20px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-pill-outline { border: 2px solid var(--text); color: #fff; }
.btn-pill-outline:hover { background: var(--text); color: #1a1a1a; }
.btn-pill-gold { background: var(--gold); color: #1a1a1a; border: 2px solid var(--gold); }
.btn-pill-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ---------- Header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 100px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: auto; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark-name { font-family: var(--display); font-weight: 600; font-size: 27px; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.wordmark-tag { font-size: 7.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #fff; margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.btn-pill) { font-size: 17px; font-weight: 500; text-decoration: none; color: #fff; }
.site-nav > a:not(.btn-pill):hover { color: var(--gold-light); }
.site-nav .btn-pill-outline { margin-left: 6px; }
.site-nav .btn-pill + .btn-pill { margin-left: -14px; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: #fff; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 26px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -8px; }
.nav-toggle .bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 110px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, .97) 0%, rgba(8, 8, 8, .86) 22%, rgba(8, 8, 8, .62) 60%, rgba(8, 8, 8, .78) 100%),
    url("/assets/skyline.webp") center 30% / cover no-repeat,
    #0b0b0b;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-moon { width: 84px; margin-bottom: 26px; }
.pill {
  display: inline-block;
  padding: 9px 44px;
  border: 2px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: 18px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(46px, 7.2vw, 100px);
  line-height: .98;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
}
.hero-sub {
  margin-top: 18px;
  max-width: 860px;
  color: var(--gold);
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.35;
  text-transform: uppercase;
  text-wrap: balance;
}
.platforms {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0;
  margin-top: 20px;
  color: var(--text-soft);
  font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
}
.platforms span + span::before { content: "\00B7"; margin: 0 14px; color: var(--gold); }

.verticals {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  width: 100%; margin-top: 56px; text-align: left;
}
.vertical img { border-left: 7px solid var(--gold); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.vertical-body { padding: 22px 22px 0 22px; }
.vertical h2 { font-family: var(--display); font-weight: 600; font-size: 46px; line-height: 1.05; color: #fff; margin-bottom: 10px; }
.vertical p { color: var(--text); font-size: 18px; line-height: 1.55; max-width: 470px; margin-bottom: 24px; }

.hero-partner { margin-top: 56px; font-size: 22px; font-weight: 500; color: #fff; max-width: 860px; text-wrap: balance; }
.hero .btn-lg { margin-top: 26px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0 40px; }
.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 56px; }
.rule { display: block; width: 1px; height: 110px; background: var(--gold); margin-bottom: 26px; }
.rule-left { margin: 0 0 26px; height: 80px; }
.eyebrow { font-size: 20px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.eyebrow-left { text-align: left; color: var(--gold); font-size: 16px; letter-spacing: .12em; }
.title-gold {
  font-family: var(--display); font-weight: 600; color: var(--gold);
  font-size: clamp(38px, 4.6vw, 62px); line-height: 1.08; text-wrap: balance;
}
.title-caps { text-transform: uppercase; letter-spacing: .03em; }
.nowrap { white-space: nowrap; }

/* The problem */
.prose { max-width: 720px; margin: 0 auto; }
.prose p { color: var(--text-soft); font-size: 20px; line-height: 1.7; }
.prose p + p { margin-top: 18px; }
.prose .prose-strong { color: #fff; font-weight: 500; }

.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; }
.promise { border-left: 3px solid var(--gold); padding: 4px 0 4px 22px; }
.promise svg, .service svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.promise h3 { font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.1; color: #fff; margin-bottom: 10px; }
.promise p { font-size: 16px; line-height: 1.6; color: var(--text-soft); }

/* Expertise */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
.service { border-left: 3px solid var(--gold); padding: 6px 0 6px 22px; }
.service h3 { font-family: var(--card); font-weight: 400; font-size: 28px; line-height: 1.35; color: #fff; margin-bottom: 16px; }
.service p { font-size: 16px; font-weight: 500; line-height: 1.65; color: var(--text); max-width: 330px; }

/* Brand band */
.brand-band { padding: 0; margin-top: 110px; background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; padding-top: 96px; padding-bottom: 96px; align-items: start; }
.brand-head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 4.2vw, 56px); line-height: 1.05; color: #fff; text-wrap: balance; }
.brand-copy { border-left: 1px solid var(--gold); padding-left: 40px; }
.brand-copy p { font-size: 19px; line-height: 1.7; color: var(--text-soft); }
.brand-copy p + p { margin-top: 16px; }
.text-link { display: inline-block; margin-top: 26px; color: var(--gold); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--gold-light); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.step-num { display: block; font-family: var(--display); font-weight: 600; font-size: 72px; line-height: .9; color: var(--gold); font-variant-numeric: oldstyle-nums; }
.step h3 { font-family: var(--display); font-weight: 600; font-size: 46px; line-height: 1.1; color: #fff; margin: 6px 0 10px; }
.step p { font-size: 16px; line-height: 1.65; color: var(--text); max-width: 320px; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.pillar h3 { font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 1.02; color: #fff; margin-bottom: 14px; }
.pillar p { font-size: 18px; line-height: 1.55; color: var(--gold); }

/* Press */
.press { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.press-img { width: 100%; aspect-ratio: 9 / 13; object-fit: cover; max-height: 760px; }
.press-copy h2 { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 5vw, 64px); line-height: 1.05; color: #fff; margin-bottom: 16px; }
.press-copy p { font-size: 19px; line-height: 1.6; color: var(--text); max-width: 470px; margin-bottom: 28px; }

/* Contact */
.contact { margin-top: 70px; padding: 96px 0 100px; background: #171717; }
.contact-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact h2 { font-family: var(--card); font-weight: 400; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.2; color: #fff; max-width: 900px; text-wrap: balance; }
.contact-sub { margin-top: 18px; max-width: 720px; font-size: 20px; font-weight: 500; line-height: 1.55; color: #fff; text-wrap: balance; }

.contact-form { width: 100%; max-width: 640px; margin-top: 48px; text-align: left; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px;
  background: #fff; color: #1a1a1a;
  border: 2px solid transparent; border-radius: 4px;
  font-family: var(--sans); font-size: 16px; line-height: 1.4;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #e07a5f; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-status { min-height: 1.6em; margin-top: 14px; font-size: 15px; color: var(--gold-light); }
.form-alt { font-size: 15px; color: var(--muted); }
.form-alt a { color: var(--gold); }

.ps { margin-top: 44px; max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--text-soft); font-style: italic; }
.ps strong { color: var(--gold); font-style: normal; margin-right: 4px; }

/* Footer */
.site-footer { background: var(--bg-deep); padding: 64px 0 56px; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; }
.footer-inner img { width: 48px; }
.footer-name { font-family: var(--display); font-weight: 600; font-size: 34px; letter-spacing: .06em; text-transform: uppercase; color: #fff; line-height: 1; margin-top: 10px; }
.footer-tag { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-top: 6px; }
.footer-links { margin-top: 26px; font-size: 15px; color: var(--muted); }
.footer-links a { color: var(--text-soft); text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.footer-links span { margin: 0 10px; }
.footer-copy { margin-top: 12px; font-size: 14px; font-weight: 600; color: #fff; }

/* Reveal on scroll: only hides content once JS has confirmed it can reveal it. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .site-nav { gap: 20px; }
  .site-nav > a:not(.btn-pill) { font-size: 16px; }
  .promises { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .pillars { grid-template-columns: repeat(2, 1fr); gap: 44px 32px; }
  .services, .steps { grid-template-columns: repeat(2, 1fr); }
  .verticals { gap: 32px; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; position: relative; z-index: 31; }
  .site-nav {
    position: fixed; inset: 0; z-index: 30;
    flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(10, 10, 10, .98);
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav > a:not(.btn-pill) { font-size: 26px; font-family: var(--display); font-weight: 600; }
  .site-nav .btn-pill { font-size: 17px; padding: 12px 28px; }
  .site-nav .btn-pill-outline, .site-nav .btn-pill + .btn-pill { margin-left: 0; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  body { font-size: 17px; }
  .header-inner { min-height: 84px; }
  .hero { padding: 104px 0 80px; }
  .hero-moon { display: none; }
  .pill { font-size: 15px; padding: 8px 28px; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 60px); line-height: 1.02; }
  .platforms { font-size: 12px; letter-spacing: .16em; gap: 8px 18px; max-width: 320px; }
  .platforms span + span::before { display: none; }
  .verticals { grid-template-columns: 1fr; gap: 44px; margin-top: 44px; }
  .vertical img { border-left: 0; border-top: 7px solid var(--gold); }
  .vertical-body { padding: 20px 4px 0; }
  .vertical h2 { font-size: 40px; }
  .vertical p { font-size: 17px; }
  .hero-partner { font-size: 19px; margin-top: 48px; }
  .hero .btn-lg { width: 100%; justify-content: center; }

  .section { padding: 84px 0 24px; }
  .section-head { margin-bottom: 40px; }
  .rule { height: 72px; margin-bottom: 20px; }
  .eyebrow { font-size: 17px; }
  .prose p { font-size: 18px; }
  .promises, .services, .steps, .pillars { grid-template-columns: 1fr; gap: 36px; }
  .promises { margin-top: 48px; }
  .service h3 { font-size: 25px; }
  .step-num { font-size: 60px; }
  .step h3 { font-size: 40px; }
  .pillar h3 { font-size: 38px; }

  .brand-band { margin-top: 84px; }
  .brand-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 72px; padding-bottom: 72px; }
  .brand-copy { padding-left: 22px; }
  .brand-copy p { font-size: 18px; }

  .press { grid-template-columns: 1fr; gap: 32px; }
  .press-img { aspect-ratio: 4 / 3; max-height: none; }
  .press-copy .rule-left { display: none; }

  .contact { margin-top: 56px; padding: 72px 0 80px; }
  .contact-sub { font-size: 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .ps { font-size: 17px; }
}
