/* =========================================================
   Orme Design – "After dark"
   Colours and fonts are set here. Change them in one place.
   ========================================================= */
/* Fonts, stored on our own hosting (licences in fonts/OFL-*.txt) */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/space-grotesk-400.woff") format("woff"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/space-grotesk-500.woff") format("woff"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/space-grotesk-700.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff") format("woff"); }

:root {
  --ink: #170B1F;          /* page background */
  --ink-2: #1F1029;        /* cards */
  --ink-3: #2A1736;        /* image placeholders */
  --line: #3A2448;         /* borders and dividers */
  --purple: #662584;       /* Orme brand purple */
  --purple-deep: #3B1650;
  --lilac: #B57BD6;        /* headline accent */
  --text: #F3ECF7;         /* main text */
  --text-2: #D9CCE2;       /* secondary text */
  --text-3: #CBBBD6;       /* muted text */
  --lime: #D4F25C;         /* highlights, buttons */

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --max: 1280px;
  --pad: 32px;
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--lime); }
a:hover { color: #fff; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(23, 11, 31, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 22px; }

.logo { color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.logo span { color: var(--lime); }
.logo:hover { color: var(--text); }
.logo img { height: 36px; width: auto; }
@media (max-width: 600px) { .logo img { height: 30px; } }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 6px; text-decoration-thickness: 2px; }

.menu-btn {
  display: none; background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center;
}

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .site-header .header-cta { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav .btn { margin-top: 16px; text-align: center; }
}
@media (min-width: 861px) { .nav .btn { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 15px 26px; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--font-body); line-height: 1.2;
}
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #fff; color: var(--ink); }
.btn-ghost { border-color: #6B4A80; color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); color: #fff; }
.btn-light { background: var(--text); color: var(--ink); }
.btn-light:hover { background: var(--lime); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  border: 1px solid #4A2E5C; border-radius: 999px; padding: 8px 16px;
  font-size: 14px; color: var(--text-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
.lead { font-size: 19px; color: var(--text-2); max-width: 620px; }
.muted { color: var(--text-3); }
.accent { color: var(--lilac); }

.display { font-size: clamp(52px, 8.4vw, 128px); line-height: 0.92; letter-spacing: -0.045em; }
.h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 0.95; letter-spacing: -0.04em; }
.h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.035em; }
.h3 { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -0.02em; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-sm { padding: 64px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head .lead { flex: 0 1 480px; }
.rule-top { border-top: 1px solid var(--line); }
.rule-bottom { border-bottom: 1px solid var(--line); }

/* Hero */
.hero { padding: 96px 0 72px; }
.hero .wrap { display: flex; flex-direction: column; gap: 40px; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.page-hero { padding: 88px 0 64px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 28px; }

/* Image placeholders: replace with <img> once photos are ready */
.ph {
  background: var(--ink-3); border-radius: var(--radius); min-height: 240px;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px;
  color: var(--text-3); font-size: 14px; overflow: hidden;
}
.ph.purple { background: var(--purple); color: #EBDDF3; }
.ph.plum { background: #3B2150; }
.ph.has-img { padding: 0; position: relative; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.showreel { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.showreel .ph { min-height: 0; aspect-ratio: 3 / 2; }

/* Pillars (three-up grid with hairlines) */
.pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.pillar { background: var(--ink-2); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.pillar .num { font-family: var(--font-display); font-size: 15px; color: var(--lime); }
.pillar p { color: var(--text-3); font-size: 16px; }

/* Feature panel */
.panel {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  border-radius: 24px; padding: 56px;
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between;
}
.panel > div { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.panel p { color: #EBDDF3; }
@media (max-width: 600px) { .panel { padding: 32px; } }

/* Service list */
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > :first-child { flex: 1 1 280px; }
.split > :last-child { flex: 999 1 640px; min-width: 0; }
.split-intro { display: flex; flex-direction: column; gap: 18px; align-self: flex-start; }
.split > .split-intro { flex: 0 1 380px; }
.split-intro p { color: var(--text-2); }
.list-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); column-gap: 40px; }
.list-item { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; color: var(--text); text-decoration: none; }
a.list-item:hover { color: var(--lime); }
.list-item strong { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.list-item span { font-size: 15px; color: var(--text-3); }

/* Service detail blocks */
.service { display: flex; flex-wrap: wrap; gap: 40px; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.service > div:first-child { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.service > div:last-child { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; color: var(--text-2); }
.service ul { margin: 0; padding-left: 20px; color: var(--text-3); }
.service li { margin-bottom: 6px; }

/* Work cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.card { background: var(--ink-2); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 14px; color: var(--text); text-decoration: none; }
.card .ph { min-height: 0; aspect-ratio: 3 / 2; border-radius: 12px; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; padding: 0 6px 6px; }
.card-meta strong { font-family: var(--font-display); font-size: 20px; }
.card-meta span { color: var(--text-3); text-align: right; }
a.card:hover strong { color: var(--lime); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter {
  background: transparent; color: var(--text-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 18px; font: inherit; font-size: 15px; cursor: pointer;
}
.filter:hover { border-color: var(--text-3); color: #fff; }
.filter[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.card[hidden] { display: none; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.person { display: flex; flex-direction: column; gap: 8px; }
.person .ph { aspect-ratio: 4 / 5; min-height: 0; font-family: var(--font-display); font-weight: 700; font-size: 64px; color: var(--lilac); }
.person strong { font-family: var(--font-display); font-size: 22px; margin-top: 8px; }

/* Feature (Nick) */
.feature { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.feature-photo { flex: 1 1 340px; aspect-ratio: 4 / 5; min-height: 0; max-width: 480px; }
.feature-text { flex: 1.4 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.feature-text p:not(.lead):not(.kicker):not(.muted) { color: var(--text-2); }
.brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brands li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-family: var(--font-display); font-weight: 700; font-size: 14px; white-space: nowrap; }
@media (max-width: 600px) { .brands { gap: 6px; } .brands li { padding: 5px 11px; font-size: 13px; } }

/* Rows (team + quotes on home) */
.two-col { display: flex; flex-wrap: wrap; gap: 48px; }
.two-col > div { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.row-quote { margin: 0; flex-direction: column; gap: 4px; }
.row-quote blockquote { margin: 0; }
.row-quote figcaption { font-size: 15px; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.quote { margin: 0; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; justify-content: space-between; }
.quote blockquote { margin: 0; font-size: 17px; }
.quote figcaption { font-size: 14px; color: var(--text-3); }
.quote figcaption strong { color: var(--text); display: block; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { border-top: 2px solid var(--lime); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); color: var(--lime); font-size: 15px; }
.step p { color: var(--text-3); font-size: 16px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-size: 21px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--text-2); max-width: 760px; }

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 500; color: var(--text-2); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--text); background: var(--ink-2);
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; width: 100%;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--lime); outline-offset: 0; border-color: var(--lime); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.checks legend { font-size: 15px; font-weight: 500; color: var(--text-2); margin-bottom: 10px; padding: 0; }
.checks label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 15px; cursor: pointer; }
.checks input { accent-color: var(--lime); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 12px; padding: 18px 20px; font-weight: 500; }
.notice.ok { background: var(--lime); color: var(--ink); }
.notice.err { background: #5A1E2C; color: #fff; }

.contact-grid { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-grid > :first-child { flex: 2 1 560px; min-width: 0; }
.contact-grid > :last-child { flex: 1 1 300px; display: flex; flex-direction: column; gap: 28px; }
.contact-grid h2 { font-size: 22px; margin-bottom: 6px; }

/* Long-form text (privacy notice) */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 26px; letter-spacing: -0.02em; margin-top: 24px; }
.prose p { color: var(--text-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--lime); color: var(--ink); padding: 96px 0 40px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 56px; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--purple); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; font-size: 17px; }
.footer-cols a:first-child { font-weight: 600; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(23, 11, 31, 0.25); font-size: 14px; }
.footer-base nav { display: flex; gap: 20px; }

@media (max-width: 600px) {
  :root { --pad: 20px; }
  .section { padding: 80px 0; }
  .hero { padding: 56px 0 48px; }
  .page-hero { padding: 56px 0 40px; }
}
