/* Launch Narrative — Dossier Noir */

:root {
  --ink: #14131A;
  --plum: #241E2A;
  --ivory: #F4F1EA;
  --oxblood: #B23A48;
  --warm-grey: #8C8790;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --max-width: 72rem;
  --header-height: 4.5rem;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ivory);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--oxblood); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); }

p { margin: 0 0 1.25rem; }

ul, ol { margin: 0 0 1.25rem; padding-left: 1.35rem; }
li { margin-bottom: 0.5rem; }

/* Surfaces — paired bg + text only */
.surface-ink { background: var(--ink); color: var(--ivory); }
.surface-ivory { background: var(--ivory); color: var(--ink); }
.surface-plum { background: var(--plum); color: var(--ivory); }
.surface-oxblood { background: var(--oxblood); color: var(--ivory); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin: 0 0 0.75rem;
}

.surface-ivory .eyebrow { color: var(--warm-grey); }
.surface-oxblood .eyebrow { color: rgba(244, 241, 234, 0.75); }

.slogan em {
  font-style: italic;
  color: var(--oxblood);
}

.surface-oxblood .slogan em { color: var(--ivory); }

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 19, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(140, 135, 144, 0.2);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-height);
  padding: 0.75rem 0;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo:hover { color: var(--ivory); }

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--warm-grey);
  transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ivory);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(140, 135, 144, 0.4);
  color: var(--ivory);
  padding: 0.5rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background var(--transition), color var(--transition), transform 0.2s;
}

.btn-primary {
  background: var(--oxblood);
  color: var(--ivory);
}

.btn-primary:hover {
  background: #9a3240;
  color: var(--ivory);
}

.btn-outline {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(244, 241, 234, 0.35);
}

.btn-outline:hover {
  border-color: var(--oxblood);
  color: var(--oxblood);
}

.surface-ivory .btn-outline {
  color: var(--ink);
  border-color: rgba(20, 19, 26, 0.35);
}

.surface-ivory .btn-outline:hover {
  border-color: var(--oxblood);
  color: var(--oxblood);
}

.header-cta { flex-shrink: 0; }

/* Hero — LAUNCH DOSSIER (asymmetric, not 50/50) */
.hero-dossier {
  position: relative;
  min-height: clamp(28rem, 85vh, 42rem);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.hero-dossier__content {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 38rem;
}

.hero-dossier__stamp {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(178, 58, 72, 0.4);
  display: inline-block;
}

.hero-dossier__title {
  font-size: clamp(2.75rem, 8vw, 5rem);
  line-height: 0.95;
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-dossier__title span {
  display: block;
  font-size: 0.45em;
  letter-spacing: 0.35em;
  color: var(--warm-grey);
  margin-bottom: 0.35em;
  font-weight: 400;
}

.hero-dossier__lead {
  font-size: 1.125rem;
  color: var(--warm-grey);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-dossier__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(140, 135, 144, 0.25);
}

.hero-dossier__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  z-index: 1;
}

.hero-dossier__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--ink) 18%, rgba(20, 19, 26, 0.55) 42%, rgba(20, 19, 26, 0.15) 68%);
}

.hero-dossier__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-dossier__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(140, 135, 144, 0.15);
}

.page-hero h1 { margin: 0 0 1rem; }
.page-hero .lead {
  font-size: 1.125rem;
  color: var(--warm-grey);
  max-width: 40rem;
  margin: 0;
}

/* Sections */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-header {
  margin-bottom: 2.5rem;
  max-width: 38rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.grid-2 > * {
  min-width: 0;
}

form {
  max-width: 100%;
}

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

.card {
  padding: 1.75rem;
  border: 1px solid rgba(140, 135, 144, 0.2);
  background: rgba(36, 30, 42, 0.35);
}

.surface-ivory .card {
  background: rgba(244, 241, 234, 0.5);
  border-color: rgba(20, 19, 26, 0.12);
}

.card h3 { margin: 0 0 0.75rem; }
.card p:last-child { margin-bottom: 0; }

.figure {
  margin: 0;
}

.figure img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.figure figcaption {
  font-size: 0.85rem;
  color: var(--warm-grey);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(140, 135, 144, 0.2);
}

.surface-ivory .figure figcaption { color: var(--warm-grey); }

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(140, 135, 144, 0.2);
  border-bottom: 1px solid rgba(140, 135, 144, 0.2);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--oxblood);
  margin-bottom: 0.25rem;
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--warm-grey);
}

/* Process steps */
.process-list {
  list-style: none;
  padding: 0;
  counter-reset: step;
}

.process-list li {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 2rem;
  counter-increment: step;
}

.process-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--oxblood);
}

/* Work grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.work-item {
  position: relative;
  overflow: hidden;
}

.work-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-item:hover img { transform: scale(1.03); }

.work-item__overlay {
  padding: 1.5rem 0 0;
}

.work-item__tag {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--oxblood);
}

/* FAQ */
.faq-list { list-style: none; padding: 0; margin: 0; }

.faq-item {
  border-bottom: 1px solid rgba(140, 135, 144, 0.25);
  padding: 1.5rem 0;
}

.faq-item:first-child { border-top: 1px solid rgba(140, 135, 144, 0.25); }

.faq-question {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.faq-answer p:last-child { margin-bottom: 0; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(244, 241, 234, 0.06);
  border: 1px solid rgba(140, 135, 144, 0.35);
  color: var(--ivory);
  border-radius: 2px;
}

.surface-ivory .form-group input:not([type="checkbox"]):not([type="radio"]),
.surface-ivory .form-group select,
.surface-ivory .form-group textarea {
  background: var(--ivory);
  color: var(--ink);
  border-color: rgba(20, 19, 26, 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--oxblood);
  outline-offset: 2px;
}

.form-group input[type="checkbox"] {
  width: auto;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--oxblood);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--warm-grey);
  margin-top: 1rem;
}

/* Contact details */
.contact-block {
  padding: 1.75rem;
  border-left: 3px solid var(--oxblood);
  background: rgba(36, 30, 42, 0.5);
}

.contact-block address {
  font-style: normal;
  line-height: 1.8;
}

.contact-block a { text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }

/* Legal prose */
.legal-content h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.15rem;
}

.legal-content p,
.legal-content li {
  color: var(--warm-grey);
}

.surface-ivory .legal-content p,
.surface-ivory .legal-content li {
  color: #4a4650;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--warm-grey);
  margin-bottom: 2rem;
}

/* Footer */
.site-footer {
  padding: clamp(3rem, 5vw, 4rem) 0 2rem;
  border-top: 1px solid rgba(140, 135, 144, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--warm-grey);
  max-width: 22rem;
}

.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--warm-grey);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li { margin-bottom: 0.5rem; }

.footer-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--ivory);
}

.footer-nav a:hover { color: var(--oxblood); }

.footer-contact address {
  font-style: normal;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--warm-grey);
}

.footer-contact a {
  text-decoration: none;
  color: var(--ivory);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(140, 135, 144, 0.15);
  font-size: 0.8rem;
  color: var(--warm-grey);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-legal a {
  text-decoration: none;
  color: var(--warm-grey);
}

.footer-legal a:hover { color: var(--oxblood); }

.disclaimer {
  font-size: 0.75rem;
  color: var(--warm-grey);
  margin-top: 1.5rem;
  line-height: 1.6;
  max-width: 52rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--plum);
  border-top: 1px solid rgba(140, 135, 144, 0.3);
  padding: 1.25rem;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__inner {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner__text {
  flex: 1 1 20rem;
  font-size: 0.875rem;
  color: var(--warm-grey);
  margin: 0;
}

.cookie-banner__text a { color: var(--ivory); }

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner__actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.btn-cookie-reject {
  background: transparent;
  color: var(--warm-grey);
  border: 1px solid rgba(140, 135, 144, 0.4);
}

.btn-cookie-customise {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(244, 241, 234, 0.3);
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(20, 19, 26, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal.is-open { display: flex; }

.cookie-modal__panel {
  background: var(--plum);
  border: 1px solid rgba(140, 135, 144, 0.3);
  padding: 2rem;
  max-width: 28rem;
  width: 100%;
}

.cookie-modal__panel h2 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.cookie-option input { margin-top: 0.25rem; }

/* 404 */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.error-code {
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--oxblood);
  line-height: 1;
  margin: 0 0 1rem;
  opacity: 0.35;
}

/* Reveal animations */
.js .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Thanks page */
.thanks-panel {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
  padding: 4rem 0;
}

.thanks-panel h1 { margin-bottom: 1rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-dossier__image { width: 100%; opacity: 0.35; }
  .hero-dossier__content { max-width: none; }

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

  .stats-strip { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 1px solid rgba(140, 135, 144, 0.2);
    padding: 1rem;
    display: none;
  }

  .main-nav.is-open { display: block; }

  .main-nav ul { flex-direction: column; gap: 0.75rem; }

  .header-inner { position: relative; flex-wrap: wrap; }

  .header-cta { display: none; }

  .form-row { grid-template-columns: 1fr; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  max-width: 100%;
}

.form-consent input[type="checkbox"] {
  margin-top: 0.2rem;
}

.form-consent label {
  flex: 1;
  min-width: 0;
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 0;
  letter-spacing: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
