/* ============================================================
   TRUE MEDIA — design tokens
   Swap brand values here once exact Instagram branding is in.
   ============================================================ */
:root {
  --ink: #081428;          /* near-black background */
  --ink-2: #0b1a33;        /* raised surface */
  --ink-3: #122440;        /* borders / cards */
  --ivory: #f7eef0;        /* primary text on dark */
  --ivory-dim: #9fb0c7;    /* secondary text */
  --gold: #2f8fc2;         /* brand accent */
  --gold-soft: #79c4e8;
  --paper: #f7eef0;        /* light section bg */
  --paper-text: #122a52;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", "Helvetica Neue", sans-serif;

  --container: 1200px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.section { padding-block: clamp(80px, 12vw, 150px); }
.section--ink { background: var(--ink-2); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
h2 em, h1 em { font-style: italic; color: var(--gold-soft); }
p { margin: 0 0 1em; }

.eyebrow {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px; font-weight: 600;
}
.eyebrow--dark { color: var(--ink); }
.eyebrow::before { content: "✦ "; }

/* grain overlay */
.grain {
  position: fixed; inset: -50%; pointer-events: none; z-index: 4; opacity: 0.5;
  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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  animation: grain 9s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-2%); }
  80% { transform: translate(3%,3%); }
}

/* ============ buttons & links ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(47,143,194,0.28); }
.btn--ghost { border-color: rgba(247,238,240,0.3); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--ivory); border: none; width: 100%; font-family: var(--font-body); }
.btn--ink:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(8,20,40,0.35); }

.link-plain { text-decoration: none; transition: color 0.3s; }
.link-plain:hover { color: var(--gold-soft); }

.link-arrow {
  color: var(--gold-soft); text-decoration: none; font-weight: 600;
  display: inline-flex; gap: 8px; align-items: center;
}
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ============ nav ============ */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 10;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(8,20,40,0.82); backdrop-filter: blur(14px); border-bottom-color: rgba(247,238,240,0.07); }
.nav__inner {
  max-width: var(--container); margin-inline: auto;
  padding: 18px clamp(20px, 5vw, 48px);
  display: flex; align-items: center; gap: 32px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 20px; }
.nav__logo-img { width: 48px; height: auto; }
.footer__logo-img { width: 86px; height: auto; }
.nav__logo-mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--gold); color: var(--ink); font-family: var(--font-display);
  font-weight: 600; font-size: 20px; font-style: italic;
}
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a {
  text-decoration: none; font-size: 15px; color: var(--ivory-dim); position: relative;
  transition: color 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: var(--ivory); }
.nav__links a:hover::after { width: 100%; }
.nav__burger { display: none; }
.nav__mobile { display: none; }

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger {
    display: block; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .nav__burger span { display: block; width: 26px; height: 2px; background: var(--ivory); margin: 6px 0; transition: transform 0.3s var(--ease), opacity 0.3s; }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__mobile {
    display: flex; flex-direction: column; gap: 6px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #081428; padding: 12px 24px 28px;
    border-bottom: 1px solid rgba(247,238,240,0.08);
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav__mobile.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav__mobile a { text-decoration: none; padding: 12px 0; font-size: 18px; font-family: var(--font-display); }
  .nav__mobile .btn { margin-top: 12px; }
}

/* ============ hero ============ */
.hero {
  min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden;
  padding-top: 90px;
}
.hero__bg {
  position: absolute; inset: -20% -10%; z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 75% 20%, rgba(47,143,194,0.16), transparent 60%),
    radial-gradient(ellipse 50% 45% at 15% 85%, rgba(47,143,194,0.08), transparent 65%),
    var(--ink);
}
.hero__title { font-size: clamp(44px, 8vw, 104px); margin-bottom: 28px; }
.hero__title span { display: block; }
.hero__sub { max-width: 560px; color: var(--ivory-dim); font-size: clamp(17px, 2vw, 20px); margin-bottom: 40px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero__meta { display: flex; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; }
.hero__meta div { display: flex; align-items: baseline; gap: 6px; }
.hero__meta strong { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); color: var(--gold-soft); font-weight: 500; }
.hero__meta span { color: var(--ivory-dim); font-size: 14px; }
.hero__scrollhint {
  position: absolute; bottom: 28px; left: 50%; width: 1px; height: 56px;
  background: rgba(247,238,240,0.15); overflow: hidden;
}
.hero__scrollhint span {
  position: absolute; inset-inline: 0; top: -50%; height: 50%;
  background: var(--gold); animation: scrollhint 2s var(--ease) infinite;
}
@keyframes scrollhint { to { top: 110%; } }

/* ============ marquee ============ */
.marquee { overflow: hidden; border-block: 1px solid rgba(247,238,240,0.08); padding-block: 18px; background: var(--ink-2); }
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--ivory-dim); white-space: nowrap; }
.marquee__track i { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .grain, .hero__scrollhint span { animation: none; }
}

/* ============ about ============ */
.about__right p { color: var(--ivory-dim); font-size: 18px; }
.about__right .link-arrow { margin-top: 8px; }

/* ============ services ============ */
.section__head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 720px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; gap: 24px; flex-wrap: wrap; }
.services__list { display: flex; flex-direction: column; }
.service {
  display: grid; grid-template-columns: 80px 1fr auto; gap: clamp(16px, 4vw, 56px);
  align-items: start; padding: 36px 8px;
  border-top: 1px solid rgba(247,238,240,0.1);
  transition: background 0.4s, padding-left 0.4s var(--ease);
}
.service:last-child { border-bottom: 1px solid rgba(247,238,240,0.1); }
.service:hover { background: rgba(47,143,194,0.05); padding-left: 20px; }
.service__num { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 18px; padding-top: 6px; }
.service p { color: var(--ivory-dim); max-width: 560px; margin: 0; }
.service__tags { list-style: none; display: flex; gap: 8px; margin: 6px 0 0; padding: 0; flex-wrap: wrap; }
.service__tags li {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid rgba(247,238,240,0.18); border-radius: 999px; padding: 5px 12px; color: var(--ivory-dim);
}
@media (max-width: 760px) {
  .service { grid-template-columns: 1fr; gap: 10px; }
  .service__tags { margin-top: 14px; }
}

/* ============ work ============ */
.work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 32px); }
@media (max-width: 760px) { .work__grid { grid-template-columns: 1fr; } }
.work__card { text-decoration: none; display: block; }
.work__media {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; position: relative;
  display: grid; place-items: center;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.work__card:hover .work__media { transform: translateY(-6px) scale(1.01); box-shadow: 0 30px 60px rgba(0,0,0,0.45); }
/* placeholder brand gradients — replace with real reel covers */
.work__media--a { background: linear-gradient(135deg, #0a1f3f, #1b3d7c 60%, #2f8fc2); }
.work__media--b { background: linear-gradient(135deg, #122440, #1e4a6e 55%, #4aa6d4); }
.work__media--c { background: linear-gradient(135deg, #0b1a33, #245a8a 70%, #79c4e8); }
.work__media--d { background: linear-gradient(135deg, #0d2348, #16498c 50%, #57b1de); }
.work__play {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(8,20,40,0.55); backdrop-filter: blur(6px);
  color: var(--gold-soft); font-size: 18px; padding-left: 4px;
  transition: transform 0.4s var(--ease), background 0.4s;
}
.work__card:hover .work__play { transform: scale(1.12); background: rgba(8,20,40,0.75); }
.work__info { padding: 18px 6px 0; }
.work__info h3 { margin-bottom: 4px; }
.work__info p { color: var(--ivory-dim); margin: 0; font-size: 15px; }

/* ============ process ============ */
.process__steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 36px);
  counter-reset: step;
}
@media (max-width: 980px) { .process__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process__steps { grid-template-columns: 1fr; } }
.process__steps li {
  background: var(--ink-3); border: 1px solid rgba(247,238,240,0.07);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform 0.45s var(--ease), border-color 0.45s;
}
.process__steps li:hover { transform: translateY(-6px); border-color: rgba(47,143,194,0.45); }
.process__steps span { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 17px; }
.process__steps h3 { margin: 14px 0 10px; }
.process__steps p { color: var(--ivory-dim); font-size: 15px; margin: 0; }

/* ============ results ============ */
.results__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 860px) { .results__grid { grid-template-columns: repeat(2, 1fr); } }
.stat { border-top: 2px solid var(--gold); padding-top: 22px; }
.stat strong, .stat em { font-family: var(--font-display); font-size: clamp(44px, 6vw, 72px); font-weight: 400; line-height: 1; }
.stat em { color: var(--gold-soft); font-style: italic; }
.stat p { color: var(--ivory-dim); margin: 12px 0 0; font-size: 15px; }

/* ============ testimonials ============ */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 32px); }
@media (max-width: 860px) { .testimonials__grid { grid-template-columns: 1fr; } }
.quote {
  margin: 0; background: var(--ink-3); border: 1px solid rgba(247,238,240,0.07);
  border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 22px;
  transition: transform 0.45s var(--ease), border-color 0.45s;
}
.quote:hover { transform: translateY(-6px); border-color: rgba(47,143,194,0.4); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 1.45; }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.quote figcaption span { color: var(--ivory-dim); }
.quote figcaption strong { color: var(--gold-soft); font-weight: 600; }

/* ============ FAQ ============ */
.faq__lede { color: var(--ivory-dim); max-width: 380px; }
.faq__list details { border-bottom: 1px solid rgba(247,238,240,0.1); }
.faq__list details:first-of-type { border-top: 1px solid rgba(247,238,240,0.1); }
.faq__list summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 24px 4px; font-family: var(--font-display); font-size: 20px;
  transition: color 0.3s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--gold-soft); }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--gold); inset: 0; margin: auto;
  transition: transform 0.35s var(--ease);
}
.faq__icon::before { height: 1.5px; }
.faq__icon::after { width: 1.5px; }
details[open] .faq__icon::after { transform: rotate(90deg); }
.faq__list p { color: var(--ivory-dim); padding: 0 4px 26px; margin: 0; max-width: 520px; }

/* ============ contact ============ */
.section--gold { background: var(--gold); color: var(--ink); }
.section--gold h2 { color: var(--ink); }
.section--gold h2 em { color: #0d2b5e; }
.contact__lede { font-size: 18px; max-width: 460px; color: rgba(8,20,40,0.8); }
.contact__points { list-style: none; padding: 0; margin: 28px 0 0; }
.contact__points li { padding: 10px 0; border-bottom: 1px solid rgba(8,20,40,0.16); font-weight: 500; }
.contact__points li::before { content: "✦  "; }

.form {
  background: var(--ink); border-radius: calc(var(--radius) + 6px);
  padding: clamp(26px, 4vw, 44px); color: var(--ivory);
  box-shadow: 0 40px 80px rgba(8,20,40,0.35);
}
.form label { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ivory-dim); margin-bottom: 18px; }
.form input, .form textarea {
  display: block; width: 100%; margin-top: 8px;
  background: var(--ink-3); border: 1px solid rgba(247,238,240,0.12); border-radius: 12px;
  color: var(--ivory); font: 16px var(--font-body); padding: 13px 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(47,143,194,0.2);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form__note { font-size: 13px; color: var(--ivory-dim); margin: 16px 0 0; text-align: center; }
.form__note a { color: var(--gold-soft); }
.form__success { text-align: center; color: var(--gold-soft); font-weight: 600; margin-top: 16px; }

/* ============ footer ============ */
.footer { background: #060f20; border-top: 1px solid rgba(247,238,240,0.07); padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(28px, 5vw, 64px); padding-bottom: 48px; }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; } }
.footer__brand p { color: var(--ivory-dim); max-width: 340px; margin-top: 16px; font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-family: var(--font-display); font-weight: 400; font-size: 18px; margin: 0 0 8px; color: var(--gold-soft); }
.footer__col a { text-decoration: none; color: var(--ivory-dim); font-size: 15px; transition: color 0.3s; }
.footer__col a:hover { color: var(--ivory); }
.footer__legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(247,238,240,0.07); padding-block: 22px;
  color: var(--ivory-dim); font-size: 13px;
}

/* ============ subpage hero ============ */
.page-hero {
  padding: 180px 0 90px; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 60% at 80% 0%, rgba(47,143,194,0.18), transparent 60%),
    var(--ink);
}
.page-hero h1 { font-size: clamp(40px, 6.5vw, 80px); max-width: 900px; }
.page-hero p { color: var(--ivory-dim); font-size: clamp(17px, 2vw, 20px); max-width: 600px; }

/* ============ CTA band ============ */
.cta-band { background: var(--gold); color: var(--ink); padding-block: clamp(70px, 9vw, 110px); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--ink); margin: 0; max-width: 620px; }
.cta-band h2 em { color: #0d2b5e; }
.cta-band .btn { flex: none; }

/* ============ service detail ============ */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); padding-block: clamp(56px, 8vw, 90px); border-top: 1px solid rgba(247,238,240,0.1); }
@media (max-width: 860px) { .svc-detail { grid-template-columns: 1fr; } }
.svc-detail__head .service__num { display: block; margin-bottom: 14px; }
.svc-detail h2 { font-size: clamp(30px, 3.6vw, 46px); }
.svc-detail__body p { color: var(--ivory-dim); }
.svc-detail__list { list-style: none; padding: 0; margin: 24px 0 0; }
.svc-detail__list li { padding: 12px 0; border-bottom: 1px solid rgba(247,238,240,0.1); display: flex; gap: 12px; }
.svc-detail__list li::before { content: "✦"; color: var(--gold-soft); flex: none; }

/* ============ nav active state ============ */
.nav__links a[aria-current="page"] { color: var(--ivory); }
.nav__links a[aria-current="page"]::after { width: 100%; }

/* ============ team / values cards reuse process card styles ============ */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 860px) { .value-grid { grid-template-columns: 1fr; } }

/* ============ reveal animations ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; } .d5 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
