/* ralyd. site styles — built to the brand guidelines v1.0 */

@font-face { font-family:'Quicksand'; src:url('fonts/Quicksand.ttf') format('truetype'); font-weight:300 700; font-display:swap; }
@font-face { font-family:'Inter'; src:url('fonts/Inter.ttf') format('truetype'); font-weight:100 900; font-display:swap; }

:root{
  --navy:#0D1B3E; --blue:#274BAF; --mist:#E8EEF9; --paper:#FCFDFF;
  --rose:#D03566; --blush:#FBDCE4; --graphite:#2A3145; --line:#DDE6F5;
  --r-sm:10px; --r-md:16px; --r-lg:24px;
  --u:8px;
  --head:'Quicksand',sans-serif; --body:'Inter',sans-serif;
}
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{ font-family:var(--body); color:var(--graphite); background:var(--paper);
  font-size:17px; line-height:1.65; -webkit-font-smoothing:antialiased; }

::selection{ background:var(--blush); color:var(--navy); }

h1,h2,h3{ font-family:var(--head); font-weight:600; color:var(--navy); letter-spacing:-.025em; }
h1{ font-size:clamp(34px,5vw,56px); line-height:1.05; }
h2{ font-size:clamp(26px,3.2vw,38px); line-height:1.15; }
h3{ font-size:20px; line-height:1.3; letter-spacing:-.01em; }
.stop{ color:var(--rose); }
.lead{ color:var(--rose); font-weight:500; font-size:clamp(17px,1.6vw,20px); font-family:var(--body); }

p{ max-width:62ch; }
a{ color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
a:hover{ color:var(--navy); }
img,svg{ max-width:100%; display:block; }

.wrap{ width:min(1120px, 100% - 48px); margin-inline:auto; }
section{ padding:clamp(56px,9vw,112px) 0; }

/* ---------- eyebrow (brand label style) ---------- */
.eyebrow{ font-family:var(--body); font-size:12px; font-weight:600; letter-spacing:.08em;
  text-transform:uppercase; color:var(--blue); margin-bottom:16px; }

/* ---------- buttons: rose acts, one per view ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; height:48px; padding:0 28px;
  border-radius:999px; background:var(--rose); color:#fff; font-family:var(--head); font-weight:600;
  font-size:16px; text-decoration:none; border:none; cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease; }
.btn:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(208,53,102,.28); color:#fff; }
.btn:focus-visible{ outline:3px solid var(--navy); outline-offset:3px; }
.btn.on-navy{ background:var(--blush); color:var(--navy); }
.btn.on-navy:hover{ box-shadow:0 10px 24px rgba(13,27,62,.4); }
.btn.ghost{ background:transparent; color:var(--navy); border:1.5px solid var(--line); }
.btn.ghost:hover{ border-color:var(--navy); box-shadow:none; }

/* ---------- nav ---------- */
header.site{ position:sticky; top:0; z-index:50; background:rgba(252,253,255,.85);
  backdrop-filter:blur(12px); border-bottom:1px solid transparent; transition:border-color .2s; }
header.site.scrolled{ border-bottom-color:var(--line); }
.nav{ display:flex; align-items:center; gap:32px; height:76px; }
.nav .brand{ display:flex; align-items:center; text-decoration:none; margin-right:auto; }
.nav .brand svg{ height:30px; width:auto; }
.nav a.link{ font-family:var(--body); font-size:15px; font-weight:500; color:var(--graphite);
  text-decoration:none; padding:6px 2px; border-bottom:2px solid transparent; }
.nav a.link:hover{ color:var(--navy); }
.nav a.link[aria-current="page"]{ color:var(--navy); border-bottom-color:var(--rose); }
.nav .btn{ height:42px; padding:0 22px; font-size:15px; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:8px; }
.nav-toggle span{ display:block; width:22px; height:2px; background:var(--navy); margin:5px 0; border-radius:2px; transition:.2s; }

@media (max-width:920px){
  .nav{ gap:0; }
  .nav-toggle{ display:block; margin-left:16px; }
  .nav .links{ position:fixed; inset:76px 0 auto 0; background:var(--paper); border-bottom:1px solid var(--line);
    display:none; flex-direction:column; padding:16px 24px 24px; gap:4px; }
  .nav .links.open{ display:flex; }
  .nav .links a.link{ padding:12px 4px; font-size:17px; border-bottom:none; }
  .nav .links .btn{ margin-top:12px; align-self:flex-start; }
  .nav > .btn{ display:none; }
}
@media (min-width:921px){
  .nav .links{ display:flex; align-items:center; gap:28px; }
  .nav .links .btn{ display:none; }
}

/* ---------- hero ---------- */
.hero{ position:relative; overflow:hidden; padding:clamp(72px,10vw,128px) 0 clamp(64px,8vw,104px);
  background:
    radial-gradient(56vw 56vw at 88% -10%, var(--blush) 0%, transparent 60%),
    radial-gradient(64vw 64vw at -12% 30%, var(--mist) 0%, transparent 62%),
    var(--paper); }
.hero-grid{ display:grid; grid-template-columns:1.25fr .75fr; gap:48px; align-items:center; }
@media (max-width:820px){ .hero-grid{ grid-template-columns:1fr; gap:36px; } .hero-ring{ order:2; } .ringA{ width:190px; } }
.hero h1{ font-size:clamp(40px,6.2vw,72px); }
.hero .sub{ margin-top:20px; }
.hero .actions{ display:flex; gap:16px; margin-top:36px; flex-wrap:wrap; }

/* headline word reveal — the one page-load moment */
.hero h1 .w{ display:inline-block; overflow:hidden; vertical-align:bottom; padding-bottom:.15em; margin-bottom:-.15em; }
.hero h1 .w > span{ display:inline-block; transform:translateY(135%); }
.loaded .hero h1 .w > span{ animation:rise .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay:var(--d,0s); }
@keyframes rise{ to{ transform:translateY(0); } }
.hero .sub, .hero .actions{ opacity:0; transform:translateY(14px); }
.loaded .hero .sub{ animation:fade .6s ease forwards .55s; }
.loaded .hero .actions{ animation:fade .6s ease forwards .7s; }
@keyframes fade{ to{ opacity:1; transform:none; } }

/* the ring, alive */
.hero-ring{ display:flex; justify-content:center; }
.ringwrap{ position:relative; display:flex; justify-content:center; }
.ringwrap .glow{ position:absolute; inset:-14%; border-radius:50%;
  background:radial-gradient(circle, var(--blush) 0%, transparent 62%); opacity:0; }
.loaded .ringwrap .glow{ animation:fadein 1.2s ease forwards .9s; }
.ringA{ width:min(270px,52vw); height:auto; opacity:0; }
.loaded .ringA{ animation:fadein .8s ease forwards .35s; }
.spin{ transform-origin:50px 50px; animation:orbit 14s linear infinite; }
@keyframes orbit{ to{ transform:rotate(360deg); } }
@keyframes fadein{ to{ opacity:1; transform:none; } }
50%{ transform:translateY(-10px);} }

/* home hero centres itself in the viewport */
.hero.full{ min-height:calc(100vh - 76px); min-height:calc(100svh - 76px);
  display:flex; align-items:center;
  padding-top:clamp(32px,4vw,56px); padding-bottom:clamp(48px,6vw,80px); }
.hero.full .wrap{ width:min(1120px, 100% - 48px); margin-inline:auto; }

/* ---------- shortage bars ---------- */
.shortage{ background:var(--navy); color:var(--mist); }
.shortage h2{ color:var(--paper); }
.shortage p{ color:#B9C6E2; }
.bars{ margin-top:48px; display:grid; gap:28px; }
.bar-row .bar-label{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:10px; }
.bar-row .bar-label .nm{ font-family:var(--head); font-weight:600; color:var(--paper); font-size:18px; }
.bar-row .bar-label .val{ font-family:var(--head); font-weight:600; font-size:clamp(24px,3vw,34px); color:var(--paper); }
.bar-row .val em{ font-style:normal; color:var(--blush); font-size:.6em; font-weight:500; }
.bar{ height:20px; border-radius:999px; background:rgba(232,238,249,.14); overflow:hidden; }
.bar > i{ display:block; height:100%; border-radius:999px; width:0; }
.bar.roles > i{ background:var(--blush); }
.bar.people > i{ background:var(--rose); }
.bars.play .bar.roles > i{ animation:grow 1.2s cubic-bezier(.3,0,.2,1) forwards; --to:100%; }
.bars.play .bar.people > i{ animation:grow 1.2s cubic-bezier(.3,0,.2,1) .25s forwards; --to:32.4%; }
@keyframes grow{ to{ width:var(--to); } }
.bars .note{ color:#8FA0C6; font-size:14px; }

/* ---------- reveal on scroll (single, gentle) ---------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; }
  .hero h1 .w > span, .hero .sub, .hero .actions{ transform:none; opacity:1; }
  .ringA, .ringwrap .glow{ opacity:1; }
  .reveal{ opacity:1; transform:none; }
  .bars .bar.roles > i{ width:100%; } .bars .bar.people > i{ width:32.4%; }
}

/* ---------- discipline list ---------- */
.disciplines{ display:grid; grid-template-columns:1fr 1fr; gap:0 56px; margin-top:40px; }
@media (max-width:820px){ .disciplines{ grid-template-columns:1fr; } }
.disc{ display:grid; grid-template-columns:34px 1fr; gap:18px; padding:22px 0; border-bottom:1px solid var(--line); }
.disc svg{ width:34px; height:34px; }
.disc h3{ margin-bottom:4px; }
.disc p{ font-size:15px; color:#5B6580; }
.disc .roles{ margin-top:10px; display:flex; flex-wrap:wrap; gap:8px; }
.tag{ font-size:12.5px; font-weight:600; color:var(--blue); background:var(--mist);
  border-radius:999px; padding:5px 12px; }

/* ---------- partner cards ---------- */
.partners{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:44px; }
@media (max-width:900px){ .partners{ grid-template-columns:1fr; } }
.svc{ border:1.5px solid var(--line); border-radius:var(--r-lg); padding:32px 28px;
  display:flex; flex-direction:column; transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.svc:hover{ transform:translateY(-4px); border-color:#C9D6EE; box-shadow:0 16px 36px rgba(13,27,62,.08); }
.svc.mid{ background:var(--mist); border-color:#C9D6EE; }
.svc .commit{ color:var(--rose); font-weight:600; font-size:13px; letter-spacing:.06em; text-transform:uppercase; margin:6px 0 16px; }
.svc ul{ list-style:none; display:grid; gap:10px; margin-bottom:8px; }
.svc li{ position:relative; padding-left:22px; font-size:15px; line-height:1.5; }
.svc li::before{ content:''; position:absolute; left:0; top:7px; width:8px; height:8px; border-radius:50%; background:var(--navy); }
.svc .human{ margin-top:auto; padding-top:18px; font-size:14px; color:#5B6580; border-top:1px solid var(--line); }
.svc.mid .human{ border-top-color:#C9D6EE; }

/* ---------- sector rows ---------- */
.sectors{ margin-top:40px; }
.sector{ display:grid; grid-template-columns:280px 1fr; gap:32px; padding:28px 0; border-bottom:1px solid var(--line); }
@media (max-width:760px){ .sector{ grid-template-columns:1fr; gap:8px; } }
.sector p{ font-size:15.5px; color:#5B6580; }

/* ---------- generic split ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
@media (max-width:820px){ .split{ grid-template-columns:1fr; } }

/* ---------- band (page CTA) ---------- */
.band{ background:var(--navy); border-radius:var(--r-lg); padding:clamp(36px,5vw,60px);
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.band h2{ color:var(--paper); }
.band p{ color:#B9C6E2; margin-top:8px; }

/* ---------- cards on mist ---------- */
.mistcard{ background:var(--mist); border-radius:var(--r-md); padding:28px; }
.mistcard h3{ margin-bottom:8px; }
.mistcard p{ font-size:15px; }

/* ---------- jobs ---------- */
.job{ border:1.5px solid var(--line); border-radius:var(--r-md); padding:26px 28px; margin-top:20px;
  display:grid; grid-template-columns:1fr auto; gap:20px; align-items:center; transition:border-color .18s ease; }
.job:hover{ border-color:#C9D6EE; }
@media (max-width:640px){ .job{ grid-template-columns:1fr; } }
.job .meta{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }

/* ---------- forms (Netlify) ---------- */
form.contact{ display:grid; gap:18px; max-width:560px; }
label{ font-family:var(--head); font-weight:600; color:var(--navy); font-size:15px; display:block; margin-bottom:6px; }
input,textarea,select{ width:100%; font-family:var(--body); font-size:16px; color:var(--graphite);
  background:#fff; border:1.5px solid var(--line); border-radius:var(--r-sm); padding:12px 14px; }
input:focus,textarea:focus,select:focus{ outline:none; border-color:var(--blue); box-shadow:0 0 0 3px var(--mist); }
input[type=file]{ padding:10px; background:var(--mist); border-style:dashed; }
.hint{ font-size:13px; color:#8E97AE; margin-top:6px; }

/* ---------- footer ---------- */
footer.site{ background:var(--navy); color:#B9C6E2; padding:64px 0 40px; margin-top:clamp(56px,9vw,112px); }
footer .cols{ display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:40px; }
@media (max-width:760px){ footer .cols{ grid-template-columns:1fr; } }
footer h3{ color:var(--paper); font-size:15px; margin-bottom:14px; }
footer a{ color:#B9C6E2; text-decoration:none; display:block; padding:4px 0; font-size:15px; }
footer a:hover{ color:var(--paper); }
footer .brand svg{ height:34px; width:auto; }
footer .base{ margin-top:48px; padding-top:24px; border-top:1px solid #24345C;
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:13.5px; color:#8FA0C6; }

.skip{ position:absolute; left:-9999px; top:0; background:var(--rose); color:#fff; padding:12px 20px; border-radius:0 0 12px 0; z-index:99; }
.skip:focus{ left:0; }

@media (max-width:820px){ br.desk{ display:none; } }
