/* Seven Sky site. Colours and type from seven-sky-consulting/brand, brand/tokens.json. */

@font-face { font-family: "Poppins"; src: url("../assets/fonts/Poppins-Bold-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../assets/fonts/Roboto-latin-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --navy: #002399;
  --cream: #fffaf0;
  --mist: #c7d1e2;
  --gold: #e2b33c;
  --band-1: #002399;
  --band-2: #244dab;
  --band-3: #4b70bd;
  --band-4: #7392cd;
  --band-5: #9db4dc;
  --band-6: #c9d6ea;
  --band-7: #e2b33c;
  /* Paper colours, used by the print stylesheet (guidelines.md: office-printed pieces). */
  --white: #ffffff;
  --ink: #0d1520;
  --espresso: #3f2717;
  --bronze: #8a5b20;
  --gold-deep: #b88a00;
  --footer: #666666;
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;
  --gutter: 80px;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { scroll-behavior: smooth; background: var(--navy); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--navy); font-family: var(--font-body); color: var(--cream); }
a { color: var(--cream); }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Cream, not gold: the brief keeps gold to rules, labels and numerals. 11.87:1 on navy; the offset leaves a navy gap around the cream buttons. */
a:focus-visible, button:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }
h1, h2, h3, p, ol, ul { margin: 0; }

/* clip + a 1 px clip margin lets the band's gold step paint over the sub-pixel strip left when the page height
   rounds to a whole pixel (at most 1 CSS px past the page); browsers without overflow: clip keep hidden. */
.page { position: relative; overflow: hidden; overflow: clip; overflow-clip-margin: 1px; background: var(--navy); }
.sky { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }
.page > header, .page > main, .page > footer { position: relative; z-index: 1; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 36px var(--gutter); }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { width: 166px; height: 56px; display: block; }
/* The Logo Blue lockup for print loads with the page, so a first Ctrl+P has it. */
.brand .brand-print { display: none; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 12px 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* The transparent 1 px border gives forced colours a box to draw; the padding pays for it, so outer sizes match the design. */
.nav a.nav-cta { padding: 11px 21px; background: var(--cream); color: var(--navy); border: 1px solid transparent; }
.motion { min-height: 44px; min-width: 44px; padding: 0; display: flex; align-items: center; justify-content: center; background: transparent; border: none; color: var(--mist); cursor: pointer; }
/* Hidden until sky.js starts the clouds; the slot is kept so the nav does not shift when it appears. */
.motion[hidden] { visibility: hidden; }
.motion:hover { color: var(--cream); }
.motion .icon-play { display: none; }
.motion.is-paused .icon-play { display: block; }
.motion.is-paused .icon-pause { display: none; }

/* Shared */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.eyebrow-sm { font-size: 12px; }
.rule { background: var(--gold); }
.rule-lg { width: 72px; height: 4px; }
.rule-md { width: 56px; height: 4px; }
.rule-sm { width: 40px; height: 3px; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 29px; background: var(--cream); color: var(--navy); border: 1px solid transparent; font-family: var(--font-display); font-weight: 600; font-size: 16px; text-decoration: none; }
.btn-tel { white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; min-height: 52px; font-size: 16px; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; }
.text-link:hover { text-underline-offset: 6px; text-decoration-thickness: 2px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 12px; }

/* Hero */
.hero { position: relative; min-height: 772px; padding: 110px var(--gutter) 128px; }
.hero-text { max-width: 800px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: 76px; line-height: 1.04; letter-spacing: -0.01em; color: var(--cream); }
.hero h1 span { display: block; }
.lede { font-size: 21px; line-height: 1.5; color: var(--mist); max-width: 620px; }
.descend { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); text-decoration: none; white-space: nowrap; }

/* Layers */
.layers-intro { min-height: 160px; padding: 20px var(--gutter) 0; display: flex; flex-direction: column; gap: 12px; }
.layers-intro h2 { font-family: var(--font-display); font-weight: 700; font-size: 40px; color: var(--cream); }
.layers-intro p { font-size: 18px; line-height: 1.5; color: var(--mist); max-width: 900px; }
.layer { min-height: 520px; padding: 0 var(--gutter); display: flex; align-items: center; gap: 64px; }
.numeral { width: 160px; flex-shrink: 0; font-family: var(--font-display); font-weight: 700; font-size: 150px; line-height: 1; color: var(--gold); }
.cols { flex-grow: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; row-gap: 40px; }
.col { display: flex; flex-direction: column; gap: 12px; }
.label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); }
.col h3 { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1.2; color: var(--cream); }
.col h3.training { font-weight: 600; font-size: 24px; line-height: 1.3; }
.col p { font-size: 18px; line-height: 1.5; color: var(--mist); }

/* How / build / record */
.how { min-height: 800px; padding: 120px var(--gutter) 80px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 64px; row-gap: 64px; align-content: start; }
.how-col { display: flex; flex-direction: column; gap: 18px; }
.how h2 { font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--cream); }
.how ol, .how ul { margin-top: 8px; padding-left: 22px; display: flex; flex-direction: column; gap: 14px; font-size: 18px; line-height: 1.5; color: var(--cream); }
.how .note { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--mist); }

/* Contact */
.contact { padding: 110px var(--gutter) 120px; }
.contact h2 { max-width: 1040px; font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 1.12; color: var(--cream); }
.contact .rule-lg { margin-top: 28px; }
.contact-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; row-gap: 48px; max-width: 1120px; }
.contact-col { display: flex; flex-direction: column; gap: 14px; }
.person { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--cream); }
.role { font-size: 17px; color: var(--mist); }
.actions-contact { gap: 12px 24px; margin-top: 10px; }
.actions-contact .btn { padding: 0 27px; }
.pending { font-size: 15px; color: var(--mist); }
.company { gap: 10px; }
.company > div:not(.eyebrow) { font-size: 17px; line-height: 1.6; color: var(--mist); }
.company > div.primary { color: var(--cream); }

/* Footer and the seven-sky band: seven equal steps, hard edges, full width, nothing on it. */
.caption { padding: 0 var(--gutter) 32px; font-size: 13px; color: var(--mist); }
/* An SVG with crispEdges: stacked boxes blend a 1 px seam between steps at 125% and 150% display scaling. */
.band { display: block; width: 100%; height: 140px; }
.band rect:nth-child(1) { fill: var(--band-1); }
.band rect:nth-child(2) { fill: var(--band-2); }
.band rect:nth-child(3) { fill: var(--band-3); }
.band rect:nth-child(4) { fill: var(--band-4); }
.band rect:nth-child(5) { fill: var(--band-5); }
.band rect:nth-child(6) { fill: var(--band-6); }
.band rect:nth-child(7) { fill: var(--band-7); height: 1.15px; }
.band { overflow: visible; }

/* Tablet */
/* Breakpoints leave room for a classic scrollbar (up to about 20 px), which media queries count and layout does not. */
@media (max-width: 1129px) {
  :root { --gutter: 40px; }
  .site-header { padding-top: 34px; padding-bottom: 34px; }
  .nav { gap: 24px; }
  .hero { min-height: 0; padding-top: 72px; padding-bottom: 150px; }
  .hero h1 { font-size: 64px; }
  .layer { min-height: 0; padding-top: 72px; padding-bottom: 72px; flex-direction: column; align-items: flex-start; gap: 28px; }
  .numeral { width: auto; font-size: 112px; }
  .cols { width: 100%; column-gap: 32px; }
  .col h3 { font-size: 28px; }
  .col h3.training { font-size: 22px; }
  .how { min-height: 0; padding-top: 96px; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .contact { padding-top: 96px; }
  .contact h2 { font-size: 44px; }
  .band { height: 112px; }
}

@media (max-width: 860px) {
  .site-header { flex-wrap: wrap; row-gap: 32px; }
  .nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 4px 24px; }
  .nav a.nav-cta { margin-left: auto; }
}

/* Phone, screen only (print keeps the wider layout at any paper size). The sky switches to its phone
   settings at the same width, PHONE_MAX in sky.js. */
@media screen and (max-width: 700px) {
  :root { --gutter: 20px; }
  .site-header { padding-top: 28px; padding-bottom: 12px; }
  .brand { margin-left: 8px; } /* the guidelines' clear space: the height of the 7 on every side */
  .brand img { width: 142px; height: 48px; }
  .nav { gap: 6px 20px; }
  /* The link rows sit close to the cream buttons: text-link rings hug the text so they never touch a button. */
  .text-link:focus-visible, .nav a:not(.nav-cta):focus-visible { outline-offset: 0; }
  .nav a { font-size: 14px; }
  .nav a.nav-cta { margin-left: 0; padding: 11px 15px; }
  .hero { padding-top: 48px; padding-bottom: 132px; }
  .hero-text { gap: 20px; }
  .hero h1 { font-size: 44px; }
  .lede { font-size: 18px; }
  .actions { gap: 4px 24px; }
  .layers-intro { min-height: 0; padding-top: 24px; }
  .layers-intro h2 { font-size: 30px; line-height: 1.2; }
  .layers-intro p { font-size: 17px; }
  .layer { padding-top: 64px; padding-bottom: 64px; gap: 20px; }
  .numeral { font-size: 88px; }
  .cols { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .col h3 { font-size: 28px; }
  .col p { font-size: 17px; }
  .how { padding-top: 80px; grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .how h2 { font-size: 28px; }
  .how ol, .how ul { font-size: 17px; }
  .contact { padding-top: 80px; padding-bottom: 80px; }
  .contact h2 { font-size: 32px; line-height: 1.18; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .band { height: 84px; }
}

/* Forced colours (Windows High Contrast): sky.js leaves the canvas off, this covers a switch after load. */
@media (forced-colors: active) {
  .sky, .motion { display: none; }
}

/* Print: the office-printed rules from guidelines.md. White ground, the Logo Blue lockup, Ink body, Navy headings,
   Espresso secondary lines, Bronze labels, gold-deep rules, Footer grey footer line; the band as the
   28 px paper strip above the footer line. No sky, no screen navigation, no focus ring. */
@media print {
  :root { --gutter: 0; }
  html, body, .page { background: var(--white); color: var(--ink); }
  .sky, .motion, .descend, .nav, .hero .actions { display: none !important; }
  a { color: var(--ink); }
  a:focus-visible, button:focus-visible { outline: none; }
  .site-header { padding: 0 0 24px; }
  .brand { margin-left: 0; } /* paper margins give the logo its clear space */
  .brand picture, .brand .brand-screen { display: none; }
  .brand .brand-print { display: block; }
  /* .actions-contact .btn is listed to outrank its more specific screen padding. */
  .btn, .actions-contact .btn { background: none; color: var(--navy); border: 0; padding: 0; min-height: 0; }
  .hero, .layer, .how, .contact, .layers-intro { min-height: 0; padding: 16px 0; }
  .hero, .layer, .how-col, .contact, .layers-intro, .site-footer { break-inside: avoid; }
  .how h2, .contact h2, .rule { break-after: avoid; }
  .hero h1, .layers-intro h2, .col h3, .how h2, .contact h2, .person, .numeral { color: var(--navy); }
  .hero h1 { font-size: 40px; }
  .layers-intro h2, .how h2, .contact h2 { font-size: 28px; }
  .numeral { font-size: 56px; width: 72px; }
  .layer { gap: 24px; }
  .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col h3 { font-size: 22px; }
  .col h3.training { font-size: 18px; }
  .lede, .layers-intro p, .col p, .role, .pending, .how .note, .company > div:not(.eyebrow) { color: var(--espresso); }
  .how ol, .how ul, .company > div.primary { color: var(--ink); }
  .eyebrow, .label { color: var(--bronze); }
  .rule { background: var(--gold-deep); print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .site-footer { display: flex; flex-direction: column; }
  /* Tighter contact spacing keeps the footer on the contact block's page (A4 left it alone on page 5). */
  .contact { padding-bottom: 0; }
  .contact .rule-lg { margin-top: 16px; }
  .contact-grid { margin-top: 24px; row-gap: 24px; }
  .band { order: -1; margin-top: 8px; height: 28px; } /* paper: the strip sits above the footer line */
  .band rect:nth-child(7) { height: 1px; }
  .caption { padding: 8px 0 0; color: var(--footer); }
}
