@font-face { font-family: "Zodiak"; src: url(../fonts/zodiak-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url(../fonts/zodiak-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url(../fonts/zodiak-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(../fonts/satoshi-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(../fonts/satoshi-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(../fonts/satoshi-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --page: #F7FAFD; --surface: #FFFFFF; --surface2: #EEF4FA;
  --ink: #0C2340; --muted: #48607C; --line: #D5E1EE;
  --work: #1D4E89; --choose: #0F7D45; --listen: #BF4422; --learn: #0E7586;
  --display: "Zodiak", Georgia, serif; --body: "Satoshi", "Inter", system-ui, sans-serif;
  --wrap: 1200px; --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; border-radius: 6px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--learn); outline-offset: 3px; border-radius: 4px; }

/* Door colours, used everywhere */
.d-work { --c: var(--work); } .d-choose { --c: var(--choose); } .d-listen { --c: var(--listen); } .d-learn { --c: var(--learn); }

/* The BlueHorizon line: four colours, one on every family site */
.hz-line { display: flex; height: 5px; position: sticky; top: 0; z-index: 30; }
.hz-line i { flex: 1; background: var(--c); }

/* Header */
.top { position: sticky; top: 5px; z-index: 20; background: rgba(247, 250, 253, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.3rem var(--display); }
.brand .logo { flex: none; }
.top nav { display: flex; gap: 4px; margin-left: auto; }
.top nav a { text-decoration: none; font-size: .95rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; color: var(--muted); position: relative; }
.top nav a:hover { color: var(--ink); background: var(--surface2); }
.top nav a[class^="n-"]::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.n-work::before { background: var(--work); } .n-choose::before { background: var(--choose); } .n-listen::before { background: var(--listen); } .n-learn::before { background: var(--learn); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--c, var(--ink)); color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; padding: 12px 20px; border-radius: 10px; border: 0; cursor: pointer; font-family: var(--body); transition: filter .2s, transform .2s; }
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn::after { content: "\2192"; transition: transform .2s; }
.btn:hover::after { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); padding: 9px 16px; }
.btn-ghost::after { content: none; }
.btn-ghost:hover { background: var(--ink); color: #fff; filter: none; }

/* Hero */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: var(--ink); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; z-index: -1; }
.hero-txt { padding-top: clamp(56px, 10vh, 120px); width: 100%; }
.kicker { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--work); margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); max-width: 13ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 46ch; margin-top: 22px; color: #1f3656; }
.hero-doors { width: 100%; padding-bottom: clamp(24px, 5vh, 48px); }
.horizon { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.horizon li { border-top: 5px solid var(--c); }
.horizon a { display: block; text-decoration: none; padding: 16px 18px 18px; background: rgba(8, 23, 43, .55); backdrop-filter: blur(6px); color: #fff; height: 100%; transition: background .2s; }
.horizon a:hover { background: var(--c); }
.horizon b { display: block; font: 700 1.35rem var(--display); }
.horizon span { font-size: .9rem; opacity: .88; }

/* Sections */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.sec-head h2, .theme-head h2, .about h2, .news h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.sec-head p { color: var(--muted); margin: 0; max-width: 52ch; }

/* Doors */
.doors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.door { background: var(--surface); border-radius: var(--r); overflow: hidden; border-top: 6px solid var(--c); display: flex; flex-direction: column; scroll-margin-top: 90px; box-shadow: 0 1px 2px rgba(12, 35, 64, .06), 0 12px 32px -18px rgba(12, 35, 64, .22); }
.door img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.door-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.door-tag { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c); margin-bottom: 10px; }
.door-tag span { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--c); color: #fff; margin-right: 8px; letter-spacing: 0; }
.door h3 { font-size: 1.7rem; margin-bottom: 10px; }
.door h3 em { font-style: italic; font-weight: 400; color: var(--c); }
.door-body > p:not(.door-tag) { color: var(--muted); }
.door-links { list-style: none; margin: 4px 0 26px; padding: 0; }
.door-links li { display: flex; flex-direction: column; padding: 11px 0; border-bottom: 1px solid var(--line); }
.door-links li:first-child { border-top: 1px solid var(--line); }
.door-links a { font-weight: 700; text-decoration: none; color: var(--ink); width: fit-content; }
.door-links a::after { content: " \2197"; color: var(--c); }
.door-links a:hover { color: var(--c); text-decoration: underline; text-underline-offset: 3px; }
.door-links span:last-child { font-size: .92rem; color: var(--muted); }
.soon { font-weight: 700; }
.soon::after { content: "In preparation"; margin-left: 10px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); padding: 2px 8px; border-radius: 99px; vertical-align: 2px; }
.door .btn { margin-top: auto; align-self: flex-start; }

/* Theme */
.sec-theme { background: var(--ink); color: #fff; }
.theme { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.theme-head p { color: #c3d3e4; margin-top: 16px; }
.theme-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.theme-row li { background: rgba(255, 255, 255, .06); border-left: 5px solid var(--c); padding: 18px 20px; border-radius: 0 10px 10px 0; color: #dfe8f2; }
.theme-row b { display: block; font: 700 1.2rem var(--display); color: #fff; margin-bottom: 4px; }
.theme-row .d-work { --c: #5d93d6; } .theme-row .d-choose { --c: #3fbf7f; } .theme-row .d-listen { --c: #ff7b54; } .theme-row .d-learn { --c: #3fbfa5; }

/* About */
.about { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; box-shadow: 0 0 0 8px var(--surface), 0 0 0 9px var(--line); }
.about h2 { margin-bottom: 20px; }
.about p { max-width: 60ch; }
.about-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 8px; }
.about-links a { font-weight: 700; text-underline-offset: 4px; }

/* Newsletter */
.sec-news { background: var(--surface2); }
.news { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.news h2 { margin-bottom: 14px; }
.news > div p { color: var(--muted); max-width: 46ch; margin: 0; }
.news-row { display: flex; gap: 10px; }
.news-row input { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #b7c9dc; background: #fff; color: var(--ink); }
.news-row input:focus { border-color: var(--work); outline: none; box-shadow: 0 0 0 3px rgba(29, 78, 137, .18); }
.consent { display: flex; gap: 10px; margin-top: 14px; font-size: .88rem; color: var(--muted); align-items: flex-start; }
.consent input { margin-top: 4px; accent-color: var(--work); }
.hp { position: absolute; left: -9999px; }
.news-msg { margin: 12px 0 0; font-size: .92rem; padding: 10px 14px; border-radius: 8px; background: #fff; border-left: 4px solid var(--work); }

/* Footer: the family bar */
.foot { background: var(--page); padding: 40px 0 32px; }
.family { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.family a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.family a:hover { color: var(--c, var(--ink)); }
.family i { width: 22px; height: 5px; border-radius: 3px; background: var(--c); }
.fam-home { font: 700 1.15rem var(--display) !important; color: var(--ink) !important; margin-right: 8px; }
.foot-small { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; font-size: .85rem; color: var(--muted); }
.foot-small p { margin: 0; }
.foot-small a { margin-left: 18px; }

/* Entrances */
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .rise.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .top-in { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 6px; row-gap: 4px; }
  .top-cta { margin-left: auto; }
  .top nav { order: 3; width: 100%; margin: 0 -12px; overflow-x: auto; scrollbar-width: none; }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { white-space: nowrap; padding: 8px 12px; }
  .doors, .sec-head, .theme, .news { grid-template-columns: 1fr; }
  .sec-head { margin-bottom: 32px; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .hero { min-height: 0; }
  .hero-img { object-position: 30% 60%; }
  .hero-txt { padding-bottom: 140px; }
  .horizon { grid-template-columns: repeat(2, 1fr); }
  .horizon a { padding: 12px 14px 14px; }
  .horizon b { font-size: 1.15rem; }
  .horizon span { font-size: .82rem; }
  .door-body { padding: 22px 20px 24px; }
  .theme-row { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about img { max-width: 220px; }
  .news-row { flex-direction: column; }
  .news-row .btn { justify-content: center; }
  .foot-small a { margin: 0 18px 0 0; }
}

.to-top { font: inherit; background: none; border: 0; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0; margin-left: 18px; }
@media (max-width: 620px) { .to-top { margin: 0; } }
