/* Kunnora Group website (src/kunnora.js) – warm monochrome master brand. Light by default, dark follows the system.
   Tokens: 05-Kunnora-Group/01-Corporate-Identity/03-Colour-Type-Tokens/kunnora-tokens.css (role tokens copied 1:1; the
   page-specific ones below them). No JavaScript, no external requests; Inter is self-hosted. */
@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Kunnora Sans Fallback"; src: local("Segoe UI"), local("Arial"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }

/* ======================= tokens ======================= */
:root {
  color-scheme: light;
  --font-sans: "Inter", "Kunnora Sans Fallback", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --radius-control: 2px; --radius-card: 4px;
  --eyebrow-tracking: 0.15em;
  --bg: #FFFFFF; --bg-subtle: #F6F3EE; --surface: #FFFFFF; --surface-raised: #FFFFFF;
  --band: #15181D; --band-text: #EFECE6;
  --text-strong: #15181D; --text: #2C3038; --text-muted: #585D66; --text-faint: #6A6F78;
  --line: rgba(21, 24, 29, .12); --line-strong: rgba(21, 24, 29, .24);
  --brand: #15181D; --brand-hover: #2C3038; --on-brand: #FFFFFF;
  --focus: #15181D; --selection: rgba(21, 24, 29, .12);
  --shadow-2: 0 1px 2px rgba(12, 15, 20, .05), 0 8px 24px -12px rgba(12, 15, 20, .22);
  /* page */
  --eyebrow: #6F675B;           /* stone-600 */
  --deco: #EDE8E0;              /* stone-100 on paper */
  --card-line: #DFD8CC;         /* stone-200 */
  --live-line: #05254A;         /* FuturePM navy */
  --live-text: #05254A;
  --live-dot: #0099A6;          /* FuturePM teal */
  --fpm-link: #00737D;          /* teal for text on white (AA) */
  --band-muted: #B9B3A8;
  --ftr-bg: #111316; --ftr-text: #B9B3A8; --ftr-strong: #EFECE6; --ftr-line: rgba(239, 236, 230, .12);
  --hdr-bg: rgba(255, 255, 255, .92);
  --preview-bg: #FCF1DE; --preview-text: #8F5400;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #111316; --bg-subtle: #181B1F; --surface: #181B1F; --surface-raised: #20242A;
    --band: #F6F3EE; --band-text: #15181D;
    --text-strong: #EFECE6; --text: #DAD6CF; --text-muted: #B9B3A8; --text-faint: #9C968C;
    --line: rgba(239, 236, 230, .12); --line-strong: rgba(239, 236, 230, .24);
    --brand: #EFECE6; --brand-hover: #FFFFFF; --on-brand: #15181D;
    --focus: #EFECE6; --selection: rgba(239, 236, 230, .18);
    --shadow-2: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 28px -12px rgba(0, 0, 0, .6);
    --eyebrow: #B9B3A8;
    --deco: #1F2328;
    --card-line: rgba(239, 236, 230, .14);
    --live-line: rgba(60, 196, 207, .55);
    --live-text: #3CC4CF; --live-dot: #3CC4CF; --fpm-link: #3CC4CF;
    --band-muted: #585D66;
    --ftr-bg: #0C0F14;
    --hdr-bg: rgba(17, 19, 22, .9);
    --preview-bg: #2E2210; --preview-text: #F2B44B;
  }
}

/* ======================= base ======================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
::selection { background: var(--selection); }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible, main:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--radius-control); }
main:focus { outline: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: .9375rem; text-decoration: none; border-radius: var(--radius-control); }
.skip:focus { top: 12px; }
.muted { color: var(--text-muted); }
.lockup { height: 28px; width: auto; aspect-ratio: 679.895 / 100; fill: currentColor; color: var(--text-strong); }
.eyebrow { font-size: .8125rem; font-weight: 650; line-height: 1.4; letter-spacing: var(--eyebrow-tracking); text-transform: uppercase; color: var(--eyebrow); }
.preview-bar { padding: 10px 40px; background: var(--preview-bg); color: var(--preview-text); font-size: .875rem; font-weight: 500; text-align: center; }
.preview-bar a { color: inherit; font-weight: 650; }

/* ======================= buttons ======================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 1px solid var(--brand); border-radius: var(--radius-control); font: 600 .9375rem/1.2 var(--font-sans); letter-spacing: -.003em; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn .ar { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
.btn:hover .ar { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-line { background: transparent; color: var(--text-strong); }
.btn-line:hover { background: var(--text-strong); color: var(--bg); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .875rem; }

/* ======================= header ======================= */
.hdr { position: sticky; top: 0; z-index: 20; background: var(--hdr-bg); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.hdr-in { display: flex; align-items: center; gap: 32px; height: 80px; }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; color: var(--text-strong); }
.nav { margin: 0 auto; }
.nav ul { display: flex; gap: 34px; }
.nav a { font-size: .9375rem; font-weight: 500; color: var(--text-strong); text-decoration: none; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav a:hover { text-decoration: underline; }
.hdr-tools { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav + .hdr-tools { margin-left: 0; }
.lang { display: inline-flex; align-items: center; gap: 2px; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 34px; padding: 0 6px; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--text-muted); text-decoration: none; border-radius: var(--radius-control); }
.lang a:hover { color: var(--text-strong); }
.lang a[aria-current="true"] { color: var(--text-strong); box-shadow: inset 0 -2px 0 currentColor; border-radius: 0; }

/* ======================= hero ======================= */
.hero { position: relative; overflow: hidden; background: var(--bg-subtle); padding: 128px 0 120px; isolation: isolate; }
.hero-k { position: absolute; z-index: -1; right: max(-70px, calc((100vw - 1200px) / 2 - 150px)); top: 50%; height: 78%; max-height: 470px; width: auto; aspect-ratio: 1; transform: translateY(-50%); fill: var(--deco); }
.hero .eyebrow { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.hero .eyebrow .dot { color: var(--text-faint); }
.hero h1 { margin-top: 22px; max-width: 980px; font-size: clamp(2.5rem, 1.3rem + 4.4vw, 4.5rem); font-weight: 590; line-height: 1.03; letter-spacing: -.032em; color: var(--text-strong); text-wrap: balance; }
.hero-lead { margin-top: 30px; max-width: 700px; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.5; color: var(--text); text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
@media (min-width: 900px) { .hero h1 .ln { display: block; } }

/* ======================= sections ======================= */
.sec { padding: 112px 0; }
.split { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 24px 60px; align-items: start; }
.split > .eyebrow { padding-top: 10px; }
.about { padding-bottom: 56px; }
.intro { max-width: 780px; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.5rem); line-height: 1.55; letter-spacing: -.008em; color: var(--text-strong); text-wrap: pretty; }
.intro i { font-style: italic; }

/* pillars and initiatives */
.pillars { padding-top: 56px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.card { display: flex; flex-direction: column; padding: 32px 30px 28px; background: var(--surface); border: 1px solid var(--card-line); border-radius: var(--radius-card); }
.card-live { border-color: var(--live-line); box-shadow: var(--shadow-2); }
.status { display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 650; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--eyebrow); }
.status i { flex: none; width: 10px; height: 10px; border: 2px solid currentColor; border-radius: 50%; }
.status-live { color: var(--live-text); }
.status-live i { background: var(--live-dot); border-color: var(--live-dot); }
.pillar { margin-top: 12px; font-size: 1.25rem; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; color: var(--text-strong); }
.card-logo { display: flex; align-items: center; height: 64px; margin: 28px 0 24px; }
.card-logo img { height: 50px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.card-text { font-size: 1.0625rem; line-height: 1.55; color: var(--text); }
.card-desc { margin-top: 14px; font-size: .9375rem; line-height: 1.55; color: var(--text-muted); }
.card-link, .card-note { margin-top: auto; padding-top: 26px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: .9375rem; font-weight: 600; color: var(--fpm-link); text-decoration: none; text-underline-offset: 4px; }
.card-link:hover { text-decoration: underline; }
.card-link .ar { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
.card-link:hover .ar { transform: translateX(3px); }
.card-note { font-size: .8125rem; font-weight: 500; color: var(--text-faint); }

/* people */
.people { padding-top: 0; }
.people .split { padding-top: 56px; border-top: 1px solid var(--line); }
.person-name { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem); font-weight: 590; line-height: 1.2; letter-spacing: -.02em; color: var(--text-strong); }
.person-role { margin-top: 6px; font-size: 1.0625rem; color: var(--text-muted); }
.person-li { margin-top: 18px; }
.person-li a, .band-li, .ftr-li { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 600; text-decoration: none; text-underline-offset: 4px; }
.person-li a:hover, .band-li:hover, .ftr-li:hover { text-decoration: underline; }
.li { width: 16px; height: 16px; fill: currentColor; }

/* closing band */
.band { background: var(--band); color: var(--band-text); padding: 112px 0; }
.band-in { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px 64px; }
.band-title { max-width: 780px; font-size: clamp(2rem, 1.1rem + 3.2vw, 3.25rem); font-weight: 590; line-height: 1.08; letter-spacing: -.028em; color: var(--band-text); text-wrap: balance; }
.band-title .ln { display: block; }
.band-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex: none; }
.band-label { font-size: .8125rem; font-weight: 650; letter-spacing: var(--eyebrow-tracking); text-transform: uppercase; color: var(--band-muted); }
.btn-invert { background: var(--band-text); color: var(--band); border-color: var(--band-text); }
.btn-invert:hover { background: transparent; color: var(--band-text); }
.band a:focus-visible { outline-color: var(--band-text); }
.band-li { color: var(--band-text); }

/* ======================= footer ======================= */
.ftr { background: var(--ftr-bg); color: var(--ftr-text); padding: 44px 0 40px; font-size: .875rem; }
.ftr-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 32px; }
.ftr .brand, .ftr .lockup { color: var(--ftr-strong); }
.lockup-sm { height: 22px; }
.ftr-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 26px; }
.ftr-links a { color: var(--ftr-text); text-decoration: none; text-underline-offset: 4px; }
.ftr-links a:hover { color: var(--ftr-strong); text-decoration: underline; }
.ftr .lang a { color: var(--ftr-text); }
.ftr .lang a:hover, .ftr .lang a[aria-current="true"] { color: var(--ftr-strong); }
.ftr a:focus-visible { outline-color: var(--ftr-strong); }
.ftr-copy { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--ftr-line); font-size: .8125rem; color: var(--ftr-text); }

/* ======================= legal and error pages ======================= */
.legal { max-width: 800px; padding-top: 72px; padding-bottom: 112px; min-height: 52vh; }
.legal-back { margin-bottom: 28px; font-size: .9375rem; }
.legal-back a { color: var(--text-muted); text-decoration: none; }
.legal-back a:hover { color: var(--text-strong); text-decoration: underline; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 590; line-height: 1.1; letter-spacing: -.025em; color: var(--text-strong); }
.legal .lead { margin: 18px 0 32px; font-size: 1.25rem; color: var(--text); }
.legal-text { margin-top: 32px; overflow-wrap: anywhere; }
.legal-text p { margin: 0 0 1.1em; line-height: 1.7; }
.legal-text a { color: var(--text-strong); text-underline-offset: 3px; }

/* ======================= holding page (website switched off) ======================= */
.k-holding { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; background: var(--bg-subtle); }
.hold { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 64px 24px; text-align: center; }
.lockup-hold { height: auto; width: min(400px, 78vw); }
.hold-mail { font-size: 1.0625rem; }
.hold-mail a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.hold-mail a:hover { color: var(--text-strong); border-bottom-color: currentColor; }
.hold-ftr { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 24px; font-size: .8125rem; color: var(--text-faint); }
.hold-ftr nav { display: flex; gap: 20px; }
.hold-ftr a { color: var(--text-muted); text-underline-offset: 3px; }

/* ======================= responsive ======================= */
@media (max-width: 1080px) {
  .nav ul { gap: 24px; }
  .hdr-in { gap: 24px; }
}
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; max-width: 620px; }
  .hero-k { right: -120px; opacity: .8; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 24px; }
  .preview-bar { padding: 10px 24px; }
  /* phones: the three section links as a second row (no JavaScript needed); the header scrolls away to save room */
  .hdr { position: static; }
  .hdr-in { flex-wrap: wrap; height: auto; padding-top: 14px; row-gap: 0; }
  .hdr-li { display: none; }
  .nav { order: 3; flex-basis: 100%; margin: 0; }
  .nav ul { gap: 22px; padding: 6px 0 10px; }
  .nav a { display: inline-block; padding: 6px 0; font-size: .875rem; }
  .lockup { height: 24px; }
  .hero { padding: 80px 0 72px; }
  .hero-k { top: 40px; right: -90px; height: 300px; transform: none; }
  .sec { padding: 80px 0; }
  .about { padding-bottom: 40px; }
  .pillars { padding-top: 40px; padding-bottom: 56px; }
  .split { grid-template-columns: 1fr; }
  .split > .eyebrow { padding-top: 0; }
  .people .split { padding-top: 40px; }
  .band { padding: 80px 0; }
  .band-in { flex-direction: column; align-items: flex-start; }
  .ftr-in { grid-template-columns: 1fr; justify-items: start; }
  .ftr-copy { justify-self: stretch; }
  .ftr-links { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .lockup { height: 21px; }
  .hdr-tools { gap: 8px; }
  .lang a { min-width: 32px; }
  .hero { padding: 64px 0 60px; }
  .hero-k { height: 220px; right: -80px; top: 20px; opacity: .55; }
  .hero .eyebrow { font-size: .75rem; gap: 2px 8px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { white-space: normal; text-align: center; }
  .card { padding: 26px 22px 24px; }
  .card-logo { height: auto; margin: 22px 0 18px; }
  .card-logo img { height: auto; width: 100%; max-width: 280px; }
  .band-contact { align-self: stretch; }
  .band-contact .btn { align-self: stretch; }
}
