/* Horizon (v6, 11-15): the rebuild layer, loaded last on every page. Brief = research/brief.md:
   possibility, future, aspiration; premium and government-grade. Every page opens on a dawn sky
   (navy -> ultramarine -> violet -> a warm horizon), the body is clean white with navy ink,
   ultramarine is the action colour, amber is the light. Manrope (OFL, self-hosted) everywhere. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/manrope.woff2") format("woff2");
}
:root,
:root[data-theme] {
  --ink: #0b1640;
  --ink-deep: #070f2e;
  --ink-2: #2a3563;
  --blue: #2340e8;
  --blue-ink: #0b1640;
  --orange: #2340e8; /* the old accent fill becomes the action blue */
  --orange-hover: #1a31c4;
  --orange-soft: #ffb35c;
  --orange-text: #1f37d6;
  --bone: #ffffff;
  --bone-2: #f5f7fd;
  --paper: #ffffff;
  --mist: #f5f7fd;
  --peach: #fff1e2;
  --lilac: #eef0ff;
  --sage: #e9f6f1;
  --butter: #fff6dc;
  --sky: #e8f1ff;
  --line: rgba(11, 22, 64, 0.11);
  --line-strong: rgba(11, 22, 64, 0.34);
  --muted: #4a5478;
  --line-dark: rgba(11, 22, 64, 0.12);
  --amber: #ffb35c;
  --dawn:
    radial-gradient(70% 90% at 82% 118%, rgba(255, 179, 92, 0.95), rgba(255, 179, 92, 0) 62%),
    radial-gradient(55% 70% at 20% 125%, rgba(255, 122, 150, 0.55), rgba(255, 122, 150, 0) 60%),
    linear-gradient(176deg, #08134a 0%, #142cc0 46%, #4a3fe0 74%, #9a6ad8 100%);
  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --fs-hero: clamp(2.9rem, 6.6vw, 6.2rem);
  --fs-h1: clamp(2.5rem, 5.4vw, 4.8rem);
  --fs-h2: clamp(2rem, 3.8vw, 3.4rem);
  --r-card: 20px;
  --shadow-md: 0 20px 50px -20px rgba(11, 22, 64, 0.22);
  --shadow-lg: 0 40px 90px -30px rgba(11, 22, 64, 0.35);
  /* aurora shader colours: a dawn, not a pastel wash */
  --au-peach: #ff9f6b;
  --au-lilac: #4a3fe0;
  --au-sage: #142cc0;
  --au-butter: #ffb35c;
  --au-sky: #2347e8;
  --au-bone: #0c1a5e;
}
body { background: #fff; color: var(--ink); font-family: var(--font); }
body::before { display: none; }
h1, h2, h3, .hero__title { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
h3, h4 { letter-spacing: -0.015em; }
.lead { color: var(--muted); }
em { font-style: normal; }

/* eyebrow: a crisp label, not a pastel pill */
.eyebrow { background: rgba(35, 64, 232, 0.08); color: var(--blue); font-weight: 700; letter-spacing: 0.02em; }
.eyebrow::before { background: var(--amber); }

/* buttons: blue is the one action colour; amber glow on hover */
.btn { border-radius: 999px; font-weight: 700; }
.btn--primary { --bg: var(--blue); --fg: #fff; background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 12px 30px -12px rgba(35, 64, 232, 0.7); }
.btn--primary:hover, .btn:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* sections: white and a cool mist alternate; the "ink" sections become deep navy bands */
.section--mist { background: var(--mist); }
.section--ink,
#what, #work, .cta-band, #contact {
  --tone: #0b1640;
  background: #0b1640;
  color: #fff;
  --ink: #ffffff;
  --ink-2: #dfe5ff;
  --muted: #b9c3ec;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.4);
  --orange-text: #ffc27a;
}
.section--ink .eyebrow, #what .eyebrow, #work .eyebrow, #contact .eyebrow, .cta-band .eyebrow { background: rgba(255, 255, 255, 0.1); color: #ffd29a; }
.section--ink .btn--primary, .cta-band .btn--primary, #contact .btn--primary { background: #fff; border-color: #fff; color: #0b1640; box-shadow: 0 12px 34px -12px rgba(255, 179, 92, 0.8); }
.section--ink .btn--primary:hover, .cta-band .btn--primary:hover, #contact .btn--primary:hover { background: var(--amber); border-color: var(--amber); color: #0b1640; }
.section--ink .btn--ghost, .cta-band .btn--ghost, #contact .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.section--ink .btn--ghost:hover, .cta-band .btn--ghost:hover, #contact .btn--ghost:hover { background: #fff; color: #0b1640; }
/* cards that sat on pastels keep a light surface inside navy bands */
.section--ink :is(.card, .tile, .panel, form, .field input, .field select, .field textarea) { color-scheme: light; }

/* ---------- every page hero: the dawn ---------- */
.page-hero,
.hero:not(.hero--floor) {
  background: var(--dawn);
  color: #fff;
  --ink: #ffffff;
  --ink-2: #e6eaff;
  --muted: #d3daff;
  --line: rgba(255, 255, 255, 0.2);
  --line-dark: rgba(255, 255, 255, 0.2);
  --line-strong: rgba(255, 255, 255, 0.5);
}
.page-hero .aurora, .hero .aurora { opacity: 0.55; mix-blend-mode: screen; }
.page-hero h1, .hero:not(.hero--floor) h1, .page-hero h1 em, .hero em { color: #fff; }
.page-hero h1 em, .hero:not(.hero--floor) h1 em { background: linear-gradient(90deg, #ffd29a, #ff9f6b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .lead, .hero:not(.hero--floor) .lead, .page-hero p { color: #e1e6ff; }
.page-hero .eyebrow, .hero:not(.hero--floor) .eyebrow { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); }
.page-hero .btn--primary, .hero:not(.hero--floor) .btn--primary { background: #fff; border-color: #fff; color: #0b1640; box-shadow: 0 14px 40px -12px rgba(255, 179, 92, 0.9); }
.page-hero .btn--primary:hover, .hero:not(.hero--floor) .btn--primary:hover { background: var(--amber); border-color: var(--amber); }
.page-hero .btn--ghost, .hero:not(.hero--floor) .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.page-hero .btn--ghost:hover, .hero:not(.hero--floor) .btn--ghost:hover { background: #fff; color: #0b1640; }
.page-hero .jumpnav a, .crumbs, .crumbs a { color: #e6eaff; }
/* light cards that sit on the dawn (ddgip facts + stickers) keep navy ink */
.hero .fact, .hero .sticker, .page-hero .card {
  --ink: #0b1640; --ink-2: #2a3563; --muted: #4a5478;
  --line: rgba(11, 22, 64, 0.11); --line-strong: rgba(11, 22, 64, 0.34);
  background: #fff; color: #0b1640; border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 24px 50px -24px rgba(5, 10, 40, 0.55);
}
.hero .fact *, .hero .sticker * { color: inherit; }
.hero .sticker--badge { background: var(--amber); }
/* old "ink" sections that hold light panels stay light, on mist */
#themes, #care, #careers {
  background: #f5f7fd; color: #0b1640;
  --ink: #0b1640; --ink-2: #2a3563; --muted: #4a5478; --orange-text: #1f37d6;
  --line: rgba(11, 22, 64, 0.11); --line-dark: rgba(11, 22, 64, 0.12); --line-strong: rgba(11, 22, 64, 0.34);
}
:is(#themes, #care, #careers) :is(h2, h3, p, li, .lead, .eyebrow) { color: var(--ink); }
:is(#themes, #care, #careers) .lead, :is(#themes, #care, #careers) p { color: var(--muted); }
:is(#themes, #care, #careers) .eyebrow { background: rgba(35, 64, 232, 0.08); color: var(--blue); }
.page-hero .jumpnav a:hover { color: #fff; }

/* home hero lives in sunrise.css (loaded after floor.css on index) */

/* the proof loop: crisp institutional chips */
.loops .chip { background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; }

/* header: white glass on every page; light text while it floats over a dawn hero */
.sh-header:not(.open), .page-home .sh-header:not(.scrolled):not(.open) { background: rgba(255, 255, 255, 0.88); }
.sh-header .sh-bar { background: none; }
.sh-cta { background: var(--blue); color: #fff; }
.sh-cta:hover { background: var(--orange-hover); color: #fff; }

/* footer: deep navy with a last line of dawn */
.sh-footer { background: #070f2e; color: #fff; position: relative; }
.sh-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #2340e8, #9a6ad8, #ffb35c); }

/* links and highlights */
a:not(.btn):not(.sh-cta):hover { color: var(--orange-text); }
::selection { background: #ffd29a; color: #0b1640; }

/* the cloud mask is gone (11-15, "change the cloud to something which fits the theme"):
   the writing peek is a postcard from the dawn, like the ddgip pass's davos card; loose frames get clean corners */
.peek, .mosaic__item .frame { -webkit-mask: none; mask: none; }
.mosaic__item .frame { border-radius: 22px; }
.peek {
  width: 250px;
  aspect-ratio: 5 / 4;
  border: 8px solid #fff;
  border-bottom-width: 34px;
  border-radius: 6px;
  background-origin: padding-box;
  box-shadow: 0 34px 60px -22px rgba(11, 22, 64, 0.5), 0 0 46px rgba(255, 179, 92, 0.28);
}
.peek::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35, 64, 232, 0.16), rgba(255, 179, 92, 0.2));
}
.peek::before {
  content: "Darwin Dynamics \00b7  Writing";
  position: absolute;
  left: 2px;
  bottom: -26px;
  font: 800 0.62rem/1 var(--font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0b1640;
}
