/* Cafona Inc. corporate site — design system.
   Colours from the logo (Cafona teal #00968F, aqua #00FFF3, abyss #002D2B). Headlines in Gloock, a high-contrast
   serif that echoes the wordmark; text in Schibsted Grotesk. Both self-hosted. One signature: the path line,
   stroked with the logo's teal → aqua gradient on abyss. */

@font-face {
  font-family: "Gloock";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/gloock-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Gloock";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/gloock-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --abyss: #002D2B;        /* logo dark background: hero, trust, footer */
  --brand: #00968F;        /* Cafona teal: graphics and large display only (3.65:1 on white) */
  --aqua: #00FFF3;         /* logo gradient end: lines, focus and actions on abyss */
  --mint: #D9FFFD;         /* logo light background: call-to-action band */
  --ink: #062B2A;          /* text */
  --ink-soft: #3E5B5A;     /* secondary text (7.4:1 on white) */
  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --mist: #D3E6E4;         /* rules, borders */
  --tint: #EEF7F6;         /* alternate section background */
  --teal: #006E68;         /* actions and links on light (6.1:1) */
  --teal-deep: #00524D;    /* hover */
  --tide: #B8D6D3;         /* secondary text on abyss (9.6:1) */
  --signal: #00FFF3;       /* focus ring on abyss */
  --danger: #A3261B;
  --ok: #1E6B3A;

  --display: "Gloock", "Iowan Old Style", Georgia, serif;
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.125rem;      /* 18px body */
  --step-1: 1.3125rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.875rem, 1.3rem + 2.2vw, 2.75rem);
  --step-4: clamp(2.375rem, 1.4rem + 4.2vw, 4.75rem);

  --wrap: 75rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --space-section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --radius: 4px;
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "ss01";
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 400; }
h1 { font-size: var(--step-4); letter-spacing: -0.02em; line-height: 1.04; }
h2 { font-size: var(--step-3); letter-spacing: -0.012em; line-height: 1.1; }
h3 { font-size: var(--step-1); font-weight: 660; }
p { margin: 0 0 1rem; max-width: 68ch; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--teal-deep); text-decoration-thickness: 2px; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.small { font-size: var(--step--1); color: var(--ink-soft); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 60ch; }

/* ------------------------------------------------------------- buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.75rem 1.4rem;
  font: inherit; font-size: 1rem; font-weight: 620; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-deep); color: #fff; }
.btn--secondary { background: var(--ink); color: #fff; }
.btn--secondary:hover { background: #1c4652; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--tide); color: var(--ink); }
.btn--small { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.link { display: inline-block; margin-top: 1.25rem; font-weight: 620; color: var(--teal); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--teal) 40%, transparent); }
.link:hover { text-decoration-color: currentColor; }
.link--light { color: var(--aqua); text-decoration-color: color-mix(in srgb, var(--aqua) 50%, transparent); }
.link--light:hover { color: #fff; }

/* ------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--abyss) 96%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(184, 214, 211, 0.16); color: #fff; }
.site-header :focus-visible { outline-color: var(--signal); }
.site-header__bar { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo { height: 2.1rem; width: auto; }
.site-footer .logo { height: 2.4rem; }
.logo--on-dark { filter: brightness(0) invert(1); }
.logo-missing { display: inline-block; padding: 0.35rem 0.6rem; font-weight: 750; font-size: 1.1rem; letter-spacing: -0.01em; color: var(--ink); border: 2px dashed var(--danger); border-radius: var(--radius); }
.site-footer .logo-missing { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.site-nav__list { display: flex; gap: 0.25rem; list-style: none; }
.site-nav__list a { display: block; padding: 0.5rem 0.7rem; color: #E6F2F1; text-decoration: none; font-size: 0.98rem; font-weight: 540; border-radius: var(--radius); }
.site-nav__list a:hover { background: rgba(0, 255, 243, 0.08); color: #fff; }
.site-nav__list a[aria-current="page"] { color: #fff; font-weight: 680; box-shadow: inset 0 -2px 0 var(--aqua); border-radius: 0; }
.site-nav__end { display: flex; align-items: center; gap: 1rem; }
.lang { color: #E6F2F1; font-size: 0.95rem; font-weight: 560; }
.lang:hover { color: var(--aqua); }
.site-header .btn--primary { background: var(--aqua); color: var(--abyss); }
.site-header .btn--primary:hover { background: #fff; color: var(--abyss); }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0.5rem 0.9rem; font: inherit; font-size: 1rem; font-weight: 600; color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: var(--radius); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative; transition: transform 0.2s, background 0.2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 68rem) {
  .js .nav-toggle { display: inline-flex; }
  .site-header__bar { flex-wrap: wrap; }
  .js .site-nav { display: none; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding: 0.5rem 0 1.5rem; margin-left: 0; }
  .js .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; }
  .site-nav__list a { padding: 0.8rem 0.25rem; font-size: 1.125rem; border-bottom: 1px solid rgba(184, 214, 211, 0.16); border-radius: 0; }
  .site-nav__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--aqua); padding-left: 0.9rem; }
  .site-nav__end { justify-content: space-between; }
}

/* ------------------------------------------------------------- hero and the path */
/* Aurora: the soft radial light of the brand guide, in the logo's teal. Static, no motion. */
.hero {
  padding: clamp(3.5rem, 2rem + 6vw, 7.5rem) 0 clamp(3rem, 2rem + 3vw, 5rem); color: #fff;
  background:
    radial-gradient(ellipse 70% 80% at 72% 8%, rgba(0, 150, 143, 0.30), transparent 62%),
    radial-gradient(ellipse 45% 55% at 92% 60%, rgba(0, 255, 243, 0.07), transparent 70%),
    var(--abyss);
}
.hero__title { max-width: 15ch; font-size: clamp(2.875rem, 1.4rem + 6.2vw, 6.5rem); letter-spacing: -0.025em; line-height: 1; color: #fff; }
.hero__lede { margin-top: 1.75rem; font-size: clamp(1.1875rem, 1rem + 0.6vw, 1.4375rem); line-height: 1.5; color: var(--tide); max-width: 56ch; }
.hero :focus-visible { outline-color: var(--signal); }
.hero .btn--primary { background: var(--aqua); color: var(--abyss); }
.hero .btn--primary:hover { background: #fff; color: var(--abyss); }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.hero .btn--ghost:hover { background: #fff; color: var(--abyss); border-color: #fff; }

.path { margin: clamp(3rem, 2rem + 4vw, 5rem) 0 0; }
.path__line { width: 100%; height: auto; overflow: visible; }
.path__stroke { fill: none; stroke: url(#path-gradient); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.path__node { fill: var(--paper); stroke: var(--brand); stroke-width: 3; vector-effect: non-scaling-stroke; }
.path__node:last-of-type { stroke: var(--aqua); }
.path__steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin-top: 1rem; border-top: 1px solid var(--mist); }
.hero .path__steps { border-top-color: rgba(184, 214, 211, 0.25); }
.hero .path__node { fill: var(--abyss); }
.hero .path__num { color: var(--aqua); }
.hero .path__verb { color: var(--tide); }
.path__step { display: grid; grid-template-columns: auto 1fr; column-gap: 0.75rem; padding: 1.25rem 1rem 0 0; }
.path__num { grid-row: span 2; font-family: var(--display); font-size: 2.5rem; line-height: 1; color: var(--teal); font-variant-numeric: tabular-nums; }
.path__name { font-weight: 680; font-size: var(--step-1); line-height: 1.25; }
.path__verb { color: var(--ink-soft); font-size: 1rem; }
.path--dark .path__node { fill: var(--ink); }

/* One orchestrated moment: the line is drawn once, then the waypoints settle. */
@media (prefers-reduced-motion: no-preference) {
  .js .path__stroke { stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.65,.05,.36,1) 0.25s forwards; }
  .js .path__node { opacity: 0; animation: settle 0.35s ease-out forwards; }
  .js .path__node:nth-of-type(1) { animation-delay: 0.65s; }
  .js .path__node:nth-of-type(2) { animation-delay: 1.05s; }
  .js .path__node:nth-of-type(3) { animation-delay: 1.45s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes settle { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 44rem) {
  .path__line { display: none; }
  .path__steps { grid-template-columns: 1fr; border-top: 0; border-left: 3px solid var(--brand); margin-left: 0.25rem; }
  .hero .path__steps { border-left-color: var(--aqua); }
  .path__step { padding: 0.25rem 0 1.25rem 1.1rem; }
}

/* ------------------------------------------------------------- hero scene (home) */
/* The transformation engine (src/hero-scene.mjs, drawn by site.js): scattered inputs go through strategy and
   governance, are automated by CafonApp and its modules, then feed governed operations. The steps below the stage
   carry the meaning without JavaScript; the stage only exists with JavaScript. */
.hero { overflow-x: clip; }
.hero__grid { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 3.5rem); align-items: center; }
.hero__copy { min-width: 0; }
.hero__eyebrow { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--aqua); }
.hero__eyebrow::before { content: ""; flex: none; width: 2.25rem; height: 2px; background: linear-gradient(90deg, var(--brand), var(--aqua)); box-shadow: 0 0 10px var(--aqua); }
.hero--engine .hero__title { max-width: none; font-size: clamp(2.5rem, 1rem + 4.4vw, 5rem); text-wrap: balance; }
.hero--engine .hero__lede { max-width: 68ch; margin-top: 1.25rem; }
.engine { position: relative; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 0; }
.engine__stage { display: none; position: relative; height: clamp(26rem, 12rem + 30vw, 42rem); }
.js .engine__stage { display: block; }
.engine__sky { position: absolute; inset: -1.5rem -1rem 0 -1.5rem; width: calc(100% + 2.5rem); height: calc(100% + 1.5rem); }
.engine__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.6rem, 0.3rem + 1.5vw, 2rem); }
/* The three steps: plain cards without JavaScript (and on phones); on wider screens they sit inside the raised back
   part of their pillar, over the canvas. */
.engine__step { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; padding: 1rem 1.15rem; border: 1px solid rgba(0, 255, 243, 0.3); border-radius: 0.875rem; background: rgba(255, 255, 255, 0.03); transition: color .4s, opacity .4s; }
.engine__n { font-family: var(--display); font-size: 1.75rem; line-height: 1; color: var(--aqua); }
.engine__name { font-weight: 700; font-size: 1.0625rem; line-height: 1.25; color: #fff; }
.engine__verb { font-size: 0.9375rem; line-height: 1.4; color: var(--tide); }
@media (min-width: 40.01rem) {
  .js .engine__steps { position: absolute; left: 0; right: 0; top: clamp(1.5rem, 0.5rem + 2.2vw, 3rem); gap: 0; pointer-events: none; }
  .js .engine__step { align-items: center; text-align: center; padding: 0 9%; border: 0; background: none; opacity: 0.62; }
  .js .engine__step.is-on { opacity: 1; }
  .js .engine__step.is-on .engine__n { text-shadow: 0 0 18px rgba(0, 255, 243, 0.8); }
  .js .engine__n { font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.5rem); }
  .js .engine__name { font-size: clamp(0.9375rem, 0.8rem + 0.4vw, 1.1875rem); }
  .js .engine__verb { font-size: clamp(0.8125rem, 0.72rem + 0.3vw, 0.9375rem); max-width: 26ch; }
}
.engine__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.engine__foot .actions { margin: 0; }
.engine__toggle { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.25rem; padding: 0.35rem 0.85rem;
  font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--tide); background: rgba(0, 45, 43, 0.7); border: 1px solid rgba(184, 214, 211, 0.4); border-radius: 999px; cursor: pointer; }
.engine__toggle::before { content: ""; width: 0.6rem; height: 0.7rem; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.engine__toggle[aria-pressed="true"]::before { width: 0; height: 0; border: 0.38rem solid transparent; border-left: 0.6rem solid currentColor; border-right: 0; }
.engine__toggle:hover { color: #fff; border-color: #fff; }
.engine__toggle[hidden] { display: none; }
@media (max-width: 40rem) {
  .engine__steps { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .js .engine__stage, .engine__toggle { display: none; }
}

/* ------------------------------------------------------------- sections */
.section { padding: var(--space-section) 0; }
.section--tint { background: var(--tint); }
.section--ink { background: var(--abyss); color: #E6EFEE; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .lede, .section--ink p { color: var(--tide); }
.section--ink :focus-visible { outline-color: var(--signal); }
.section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); max-width: 46rem; }
.section-head .lede { margin-top: 1.1rem; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.split .section-head { margin-bottom: 0; }
.split--wide { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
@media (max-width: 56rem) { .split, .split--wide { grid-template-columns: 1fr; } }

.page-intro { padding: clamp(3rem, 2rem + 5vw, 6rem) 0 clamp(2.5rem, 2rem + 2vw, 3.5rem); border-bottom: 1px solid var(--mist); margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.page-intro h1 { max-width: 20ch; }
.page-intro .lede { margin-top: 1.5rem; }
.page-intro + .section { padding-top: 0; }

/* priorities: three columns separated by rules, not boxed cards */
.priorities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.priority { padding: 1.75rem 2rem 0 0; }
.priority + .priority { padding-left: 2rem; border-left: 1px solid var(--mist); }
.priority h3 { font-family: var(--display); font-weight: 400; font-size: var(--step-2); max-width: 15ch; }
.priority > p { margin-top: 0.9rem; color: var(--ink-soft); }
@media (max-width: 60rem) {
  .priorities { grid-template-columns: 1fr; }
  .priority, .priority + .priority { padding: 1.75rem 0 2rem; border-left: 0; border-bottom: 1px solid var(--mist); }
}

.ticks { list-style: none; display: grid; gap: 0.55rem; margin-top: 1.25rem; }
.ticks li { position: relative; padding-left: 1.5rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.7rem; height: 2px; background: var(--teal); }
.ticks--strong li { font-weight: 620; }
.ticks--light li::before { background: var(--aqua); }
.ticks--light li { color: #E6EFEE; }
.ticks--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; align-content: start; }
@media (max-width: 40rem) { .ticks--two { grid-template-columns: 1fr; } }

/* definition list of deliverables */
.dl { margin: 0; border-top: 1px solid var(--ink); }
.dl__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--mist); }
.dl dt { font-weight: 680; font-size: var(--step-1); line-height: 1.3; }
.dl dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 40rem) { .dl__row { grid-template-columns: 1fr; gap: 0.25rem; } }

/* commitments: text grid on ink */
.commitments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; margin-bottom: 1rem; }
.commitment { border-top: 1px solid rgba(0, 255, 243, 0.35); padding-top: 1.25rem; }
.commitment h3 { font-size: var(--step-1); }
.commitment p { margin-top: 0.6rem; font-size: 1rem; }
.commitments--light .commitment { border-top-color: var(--mist); }
.commitments--light .commitment p { color: var(--ink-soft); }
@media (max-width: 60rem) { .commitments { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .commitments { grid-template-columns: 1fr; } }

/* CafonApp domains: a typographic index, not cards */
.domains { list-style: none; border-top: 3px solid var(--brand); }
.domains li { padding: 1rem 0; border-bottom: 1px solid var(--mist); }
.domain__name { font-family: var(--display); font-size: var(--step-2); letter-spacing: -0.01em; }

/* Home "CafonApp in action" (src/showcase.mjs): real screens, fictitious data, one at a time in a browser frame. */
.section--showcase { background: linear-gradient(180deg, var(--paper) 0%, var(--tint) 100%); overflow: hidden; }
.showcase-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.showcase-head .section-head { margin-bottom: 0; }
.showcase-head .actions { margin-top: 0; }
@media (max-width: 60rem) { .showcase-head { grid-template-columns: 1fr; } }
.showcase { min-width: 0; }
.showcase__tabs { display: flex; gap: 0.25rem 1.25rem; margin-bottom: 1.25rem; overflow-x: auto; scrollbar-width: none; }
.js .showcase__tabs.js-only { display: flex; }
.showcase__tab { flex: 1 0 auto; min-width: 7rem; padding: 0.5rem 0 0.25rem; font: inherit; font-size: 0.975rem; font-weight: 620; text-align: left; color: var(--ink-soft); background: none; border: 0; cursor: pointer; }
.showcase__tab:hover, .showcase__tab[aria-selected="true"] { color: var(--ink); }
.showcase__tab-bar { position: relative; display: block; height: 3px; margin-top: 0.6rem; background: var(--mist); border-radius: 2px; overflow: hidden; }
.showcase__tab-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), var(--aqua)); transform: scaleX(0); transform-origin: 0 50%; }
.showcase__tab[aria-selected="true"] .showcase__tab-bar::after { transform: scaleX(1); }
.showcase.is-playing .showcase__tab[aria-selected="true"] .showcase__tab-bar::after { animation: showcase-progress 6s linear both; }
.showcase.is-paused .showcase__tab-bar::after, .showcase.is-paused img { animation-play-state: paused !important; }
@keyframes showcase-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.showcase__frame { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--mist); border-radius: 14px; box-shadow: 0 2px 6px rgba(0, 45, 43, 0.06), 0 48px 96px -48px rgba(0, 45, 43, 0.45); }
.showcase__chrome { display: flex; align-items: center; gap: 6px; height: 2.25rem; padding: 0 0.9rem; background: #F2F7F7; border-bottom: 1px solid var(--mist); }
.showcase__chrome span:not(.showcase__url) { width: 10px; height: 10px; border-radius: 50%; background: #C5D6D4; }
.showcase__url { flex: 1; margin-right: 46px; text-align: center; font-size: 0.8125rem; color: var(--ink-soft); }
.showcase__panels { display: grid; }
.showcase__panel { position: relative; }
.showcase__figure { margin: 0; }
.showcase__shot { aspect-ratio: 16 / 10; overflow: hidden; background: #F5F8F8; }
.showcase__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transform-origin: 30% 20%; }
.showcase__caption { display: grid; gap: 0.3rem; padding: 1rem 1.25rem; border-top: 1px solid var(--mist); }
.showcase__title { font-weight: 680; font-size: 1.0625rem; }
.showcase__text { color: var(--ink-soft); font-size: 0.975rem; line-height: 1.45; }
@media (min-width: 48rem) {
  .showcase__caption { position: absolute; left: 1.25rem; bottom: 1.25rem; max-width: 25rem; padding: 1.1rem 1.3rem; border: 0; border-radius: 12px; background: rgba(0, 45, 43, 0.92); box-shadow: 0 18px 40px -18px rgba(0, 20, 19, 0.6); }
  .showcase__title { color: #fff; }
  .showcase__text { color: var(--tide); }
}
/* With JavaScript the screens share one frame and cross-fade; without it they simply follow each other. */
.js .showcase__panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.7s ease, visibility 0s linear 0.7s; }
.js .showcase__panel.is-active { opacity: 1; visibility: visible; transition: opacity 0.7s ease, visibility 0s; }
@media (prefers-reduced-motion: no-preference) {
  .js .showcase.is-playing .showcase__panel.is-active img { animation: showcase-zoom 6.6s ease-out both; }
  .js .showcase__panel .showcase__caption { transition: transform 0.6s cubic-bezier(.2,.7,.2,1) 0.15s, opacity 0.6s ease 0.15s; }
  .js .showcase__panel:not(.is-active) .showcase__caption { transform: translateY(12px); opacity: 0; }
}
@keyframes showcase-zoom { from { transform: scale(1); } to { transform: scale(1.045); } }
.showcase__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: 1rem; }
.showcase__note { margin: 0; font-size: 0.9375rem; color: var(--ink-soft); }
.showcase__toggle { margin-top: 0; color: var(--ink-soft); border-color: #9DB3B1; }
.showcase__toggle:hover { color: var(--ink); border-color: var(--ink); }
.domains--row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); border-top: 0; }
.domains--row li { padding: 0.45rem 1rem; border: 1px solid var(--mist); border-radius: 999px; background: var(--surface); }
.domains--row .domain__name { font-family: var(--font); font-size: 0.975rem; font-weight: 600; letter-spacing: 0; }

.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.office__label { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.office address { color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 36rem) { .offices { grid-template-columns: 1fr; } }

/* practices / generic text grids */
.practices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.practices--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.practice { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.practice p { margin-top: 0.6rem; color: var(--ink-soft); font-size: 1.0625rem; }
@media (max-width: 60rem) { .practices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .practices, .practices--two { grid-template-columns: 1fr; } }

/* expertise blocks */
.expertise-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 1rem + 4vw, 5rem); padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0; border-top: 3px solid var(--ink); }
.expertise-block:first-child { border-top: 0; padding-top: 0; }
.expertise-block h2 { font-size: var(--step-3); }
.expertise-block .lede { margin-top: 1rem; }
.expertise-block .ticks { margin-top: 0.4rem; font-size: 1.0625rem; }
@media (max-width: 56rem) { .expertise-block { grid-template-columns: 1fr; gap: 1rem; } }

/* scenarios */
.scenarios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.scenario { border-top: 3px solid var(--brand); padding-top: 1.25rem; }
.scenario__sector { font-size: var(--step--1); font-weight: 650; color: var(--teal); margin-bottom: 0.4rem; }
.scenario dl { margin: 1rem 0 0; }
.scenario dt { font-size: var(--step--1); font-weight: 700; margin-top: 0.9rem; }
.scenario dd { margin: 0.2rem 0 0; color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 60rem) { .scenarios { grid-template-columns: 1fr; } }

/* sequences (real ordered steps only) */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; }
.steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-size: 2.25rem; line-height: 1; color: var(--teal); margin-bottom: 0.9rem; }
.steps p { margin-top: 0.5rem; color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 64rem) { .steps, .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .steps, .steps--four { grid-template-columns: 1fr; } }

/* approach phases */
.phases { padding-bottom: var(--space-section); }
.phase { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 2rem; padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0; border-top: 1px solid var(--mist); }
.phase:first-child { margin-top: 3rem; }
.phase__num { font-family: var(--display); font-size: clamp(4.5rem, 3rem + 4vw, 7.5rem); line-height: 0.85; color: var(--brand); letter-spacing: -0.02em; }
.phase__verb { margin-top: 0.5rem; font-weight: 600; color: var(--teal); }
.phase .lede { margin-top: 0.75rem; }
.phase__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1.5rem; }
.phase__cols h3 { font-size: 1rem; font-weight: 700; }
@media (max-width: 48rem) { .phase { grid-template-columns: 1fr; gap: 0.5rem; } .phase__cols { grid-template-columns: 1fr; } }

/* CafonApp modules */
.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); gap: 2.5rem 3rem; }
.module { border-top: 3px solid var(--brand); padding-top: 1.1rem; }
.module .ticks { font-size: 1rem; }

/* sectors */
.sector-index ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; padding-bottom: 2rem; border-bottom: 1px solid var(--mist); }
.sector-index a { font-weight: 600; }
.sector { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 1rem + 4vw, 5rem); padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0; border-bottom: 1px solid var(--mist); }
.sector .lede { margin-top: 1rem; }
.sector__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-content: start; }
.sector__cols h3 { font-size: 1rem; font-weight: 700; }
.sector-note { padding: 2rem 0 var(--space-section); margin: 0; }
@media (max-width: 56rem) { .sector { grid-template-columns: 1fr; gap: 1.25rem; } }
@media (max-width: 36rem) { .sector__cols { grid-template-columns: 1fr; } }
.links-row { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0; }
.commitments--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 60rem) { .commitments--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .commitments--four { grid-template-columns: 1fr; } }

/* brand film (About) */
.film { margin: 0; }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--abyss); border-radius: var(--radius); }
.film figcaption { margin-top: 0.75rem; font-size: var(--step--1); color: var(--ink-soft); }

/* prose and documents */
.prose p { color: inherit; }
.section--ink .prose p { color: #C3D4D3; }
.prose--doc { padding-bottom: var(--space-section); }
.prose--doc h2 { font-size: var(--step-2); margin: 2.5rem 0 0.75rem; }
.prose--doc h2:first-child { margin-top: 0; }
.prose--doc .offices { margin-top: 1.5rem; max-width: 40rem; }
.plain-list { list-style: none; display: grid; gap: 0.25rem; }
.plain-list .link { margin-top: 0.4rem; }

/* closing call to action */
.cta-band { background: var(--mint); color: var(--ink); padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0; border-top: 3px solid var(--aqua); }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2rem 4rem; align-items: end; }
.cta-band h2 { color: var(--ink); }
.cta-band p { margin-top: 1rem; color: var(--ink-soft); }
.cta-band .btn--light { background: var(--abyss); color: #fff; }
.cta-band .btn--light:hover { background: var(--teal); color: #fff; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.cta-band__mail { color: var(--teal); font-weight: 600; }
.cta-band__mail:hover { color: var(--teal-deep); }
@media (max-width: 52rem) { .cta-band__inner { grid-template-columns: 1fr; } }

/* Home: the sectors served (each tile opens its sector) */
.sector-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: 0.75rem; min-width: 0; }
.sector-tile { position: relative; display: flex; flex-direction: column; gap: 0.35rem; height: 100%; padding: 1.1rem 2.75rem 1.1rem 1.15rem; border: 1px solid var(--mist); border-radius: var(--radius); background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.sector-tile:hover { border-color: var(--teal); box-shadow: 0 10px 28px -16px rgba(0, 82, 77, 0.45); transform: translateY(-2px); }
.sector-tile__name { font-weight: 700; font-size: 1.0625rem; line-height: 1.25; }
.sector-tile__need { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.4; }
.sector-tile__go { position: absolute; right: 1rem; top: 1.05rem; color: var(--teal); font-weight: 700; transition: transform .2s; }
.sector-tile:hover .sector-tile__go { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .sector-tile, .sector-tile__go { transition: none; } .sector-tile:hover { transform: none; } }

/* ------------------------------------------------------------- contact form */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 1rem + 5vw, 6rem); padding-bottom: var(--space-section); }
@media (max-width: 58rem) { .contact { grid-template-columns: 1fr; } }
.form fieldset { border: 0; padding: 0; margin: 0 0 2.25rem; min-width: 0; }
.form legend { font-size: var(--step-2); font-weight: 680; letter-spacing: -0.015em; margin-bottom: 1.25rem; padding: 0; }
.form__note { font-size: 1rem; color: var(--ink-soft); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
@media (max-width: 40rem) { .grid2 { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 0.4rem; }
.req { color: var(--danger); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.85rem;
  font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--surface);
  border: 1px solid #7E9599; border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field [aria-invalid="true"] { border-color: var(--danger); border-width: 2px; }
.hint { font-size: 0.9375rem; color: var(--ink-soft); margin: 0.35rem 0 0; }
.field__error { font-size: 0.9375rem; color: var(--danger); font-weight: 600; margin: 0.35rem 0 0; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; }
.field--check input { width: 1.35rem; height: 1.35rem; margin: 0.15rem 0 0; accent-color: var(--teal); }
.field--check label { font-weight: 450; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin: 1.5rem 0 0; } /* interaction-only: shown only when Cloudflare needs the visitor to act */
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__actions .small { margin: 0; }
.form__status { margin-top: 1.5rem; }
.form__status:empty { display: none; }
.form__status.is-ok { padding: 1.25rem 1.5rem; background: #E6F2EA; border-left: 4px solid var(--ok); }
.form__status.is-error { padding: 1.25rem 1.5rem; background: #FBEAE8; border-left: 4px solid var(--danger); }
.form__status p { margin: 0; }
/* Guided form (src/contact-form.mjs). Without JavaScript all steps show as one form; .is-guided shows one step. */
.js-only { display: none; }
.js .js-only { display: revert; }
.js .step__nav.js-only { display: flex; }
.js .form__actions .js-only { display: inline-flex; }
.contact__main { min-width: 0; }
.gform { position: relative; padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); background: var(--surface); border: 1px solid var(--mist); border-radius: 12px; box-shadow: 0 1px 2px rgba(6, 43, 42, 0.04), 0 24px 48px -24px rgba(0, 45, 43, 0.18); }
.gform__top { margin-bottom: 1.75rem; }
.js .gform__top.js-only { display: block; }
.gsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; list-style: none; }
.gsteps__item { display: flex; align-items: center; gap: 0.5rem; min-width: 0; color: var(--ink-soft); font-size: 0.875rem; font-weight: 600; }
.gsteps__n { flex: none; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1.5px solid #9DB3B1; font-size: 0.8125rem; font-variant-numeric: tabular-nums; background: var(--surface); transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.gsteps__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gsteps__item.is-current { color: var(--ink); }
.gsteps__item.is-current .gsteps__n { border-color: var(--teal); color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 150, 143, 0.14); }
.gsteps__item.is-done .gsteps__n { background: var(--teal); border-color: var(--teal); color: #fff; }
.gform__bar { height: 4px; margin-top: 1rem; background: var(--tint); border-radius: 2px; overflow: hidden; }
.gform__fill { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--brand), var(--aqua)); transform-origin: 0 50%; transform: scaleX(0.25); transition: transform 0.45s cubic-bezier(.65,.05,.36,1); }
@media (max-width: 36rem) { .gsteps__label { display: none; } .gsteps__item.is-current .gsteps__label { display: inline; } .gsteps { grid-template-columns: auto auto auto 1fr; } }

.step { margin-bottom: 2rem; }
.step:last-of-type { margin-bottom: 0; }
.is-guided .step { display: none; margin: 0; }
.is-guided .step.is-active { display: block; }
.step__count { margin: 0 0 0.35rem; font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.step__title { font-family: var(--display); font-weight: 400; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.1; }
.step__title:focus { outline: none; }
.step__intro { margin: 0.75rem 0 1.75rem; color: var(--ink-soft); }
.step__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--mist); }
.step__nav [data-next]:only-child { margin-left: auto; }
.is-guided .form__note { display: none; }
.is-sent .step, .is-sent .gform__top { display: none !important; }
.is-sent .form__status { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) {
  .is-guided .step.is-active { animation: step-in 0.4s cubic-bezier(.2,.7,.2,1) both; }
  .is-guided.is-back .step.is-active { animation-name: step-back; }
}
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes step-back { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }

.choice-group { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.form .choice-group__legend { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 0.6rem; padding: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: 0.75rem; }
.card-choice, .chip { position: relative; display: block; cursor: pointer; }
.card-choice input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.card-choice__body { display: grid; gap: 0.25rem; height: 100%; padding: 1rem 1.1rem 1rem 3rem; border: 1.5px solid var(--mist); border-radius: 10px; background: var(--surface); transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.card-choice__body::before { content: ""; position: absolute; left: 1.1rem; top: 1.15rem; width: 1.15rem; height: 1.15rem; border: 1.5px solid #7E9599; border-radius: 50%; background: var(--surface); transition: border-color 0.15s, box-shadow 0.15s; }
.card-choice__title { font-weight: 650; line-height: 1.3; }
.card-choice__hint { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.4; }
.card-choice:hover .card-choice__body { border-color: var(--brand); background: #F6FBFB; }
.card-choice input:checked + .card-choice__body { border-color: var(--teal); background: var(--tint); box-shadow: 0 0 0 1px var(--teal); }
.card-choice input:checked + .card-choice__body::before { border-color: var(--teal); box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 10px var(--teal); }
.card-choice input:focus-visible + .card-choice__body, .chip input:focus-visible + .chip__body { outline: 3px solid var(--teal); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip__body { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 1rem; border: 1.5px solid var(--mist); border-radius: 999px; font-size: 0.975rem; font-weight: 560; background: var(--surface); transition: border-color 0.15s, background-color 0.15s, color 0.15s; }
.chip:hover .chip__body { border-color: var(--brand); }
.chip input:checked + .chip__body { background: var(--teal); border-color: var(--teal); color: #fff; }
.choice-group[data-invalid] .card-choice__body, .choice-group[data-invalid] .chip__body { border-color: var(--danger); }

.review { margin: 0 0 1.75rem; border-top: 1px solid var(--mist); }
.js .review.js-only { display: block; }
.review__row { display: grid; grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr) auto; gap: 0.25rem 1rem; align-items: start; padding: 0.85rem 0; border-bottom: 1px solid var(--mist); }
.review__row dt { font-size: 0.9375rem; font-weight: 600; color: var(--ink-soft); }
.review__row dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.review__row .review__act { white-space: normal; }
.review__edit { padding: 0.15rem 0.25rem; font: inherit; font-size: 0.9375rem; font-weight: 620; color: var(--teal); background: none; border: 0; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
@media (max-width: 36rem) { .review__row { grid-template-columns: minmax(0, 1fr) auto; } .review__row dd:not(.review__act) { grid-column: 1 / -1; grid-row: 2; } }

.next { list-style: none; counter-reset: next; margin: 0 0 0.5rem; }
.next li { counter-increment: next; position: relative; padding: 0 0 1rem 2.6rem; color: var(--ink-soft); font-size: 1rem; }
.next li::before { content: counter(next); position: absolute; left: 0; top: -0.1rem; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--abyss); color: var(--aqua); font-family: var(--display); font-size: 1rem; }

.contact__aside { border-top: 3px solid var(--ink); padding-top: 1.5rem; align-self: start; }
.contact__aside h2 { font-size: var(--step-1); margin: 2rem 0 0.75rem; }
.contact__aside h2:first-child { margin-top: 0; }
.contact__aside .office { margin-top: 1.25rem; }
.contact__email { font-size: var(--step-1); font-weight: 650; }

/* About: initiatives of Cafona Inc. (four at the same level, text grid with rules, no cards) */
.initiatives { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.initiative { min-width: 0; border-top: 1px solid var(--mist); scroll-margin-top: calc(var(--header-h) + 1rem); }
.initiative__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.4rem; }
.initiative__name { font-family: var(--display); font-size: var(--step-2); line-height: 1.1; }
.initiative__field { font-size: var(--step--1); font-weight: 650; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.initiative__text { font-size: 1rem; color: var(--ink-soft); flex: 1; }
.initiative__status { align-self: flex-start; font-size: var(--step--1); color: var(--ink); border: 1px solid var(--mist); border-radius: var(--radius); padding: 0.1rem 0.5rem; }
.initiative__link { display: inline-block; font-weight: 620; color: var(--teal); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--teal) 40%, transparent); text-underline-offset: 0.18em; }
@media (max-width: 60rem) { .initiatives { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .initiatives { grid-template-columns: 1fr; } }

/* share menu: a quiet button on the heading line; plain links, opens without JavaScript (<details>) */
.section-head--share { max-width: none; }
.section-head--share .lede { max-width: 46rem; }
.section-head__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; }
.share { position: relative; flex: none; }
.share__toggle { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; padding: 0.45rem 0.9rem; border: 1px solid var(--mist); border-radius: 999px; font: 600 var(--step--1)/1 var(--font); color: var(--teal); background: var(--paper); cursor: pointer; list-style: none; }
.share__toggle::-webkit-details-marker { display: none; }
.share__toggle:hover { border-color: var(--teal); color: var(--teal-deep); }
.share[open] .share__toggle { border-color: var(--teal); }
.share__menu { position: absolute; right: 0; top: calc(100% + 0.4rem); z-index: 20; min-width: 12rem; margin: 0; padding: 0.4rem; list-style: none; background: var(--paper); border: 1px solid var(--mist); border-radius: 0.5rem; box-shadow: 0 10px 30px rgba(6, 43, 42, 0.12); }
.share__item { display: block; width: 100%; padding: 0.6rem 0.75rem; border: 0; border-radius: 0.35rem; background: none; font: 500 1rem/1.3 var(--font); color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; }
.share__item:hover, .share__item:focus-visible { background: var(--tint); color: var(--teal-deep); }
.share__copy-row { display: none; }
.js .share__copy-row { display: block; }
@media (max-width: 40rem) { .share__menu { right: auto; left: 0; } }

/* initiatives: tagline and link in the About grid */
.initiative { display: flex; flex-direction: column; gap: 0.6rem; padding-top: 1.5rem; }
.initiative__tagline { font-family: var(--display); font-size: var(--step-1); line-height: 1.25; color: var(--ink); }
.initiative__more { margin-top: auto; font-weight: 620; color: var(--teal); }
.app-icon--xl { width: 4rem; height: 4rem; box-shadow: 0 0 0 1px var(--mist); }

/* /initiatives/: one section per initiative */
.venture-toc { list-style: none; padding: 0; margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; }
.venture-toc a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.venture-toc a:hover { color: var(--teal-deep); }
.venture-toc .app-icon { box-shadow: 0 0 0 1px var(--mist); }
.venture { scroll-margin-top: var(--header-h); }
.venture__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2.5rem clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.venture__lead h2 { margin-top: 1.25rem; }
.venture__tagline { margin-top: 0.75rem; font-family: var(--display); font-size: var(--step-2); line-height: 1.2; color: var(--ink); }
.venture__problem { margin-top: 1.25rem; color: var(--ink-soft); max-width: 46ch; }
.venture__host { font-size: var(--step--1); color: var(--ink-soft); }
.venture__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.5rem; }
.venture__facts h3 { font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.venture__facts h3 + * { margin-top: 0.9rem; }
.venture__facts h3:not(:first-child) { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--mist); }
.venture__facts p { color: var(--ink); }
@media (max-width: 60rem) { .venture__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- footer */
.site-footer { background: var(--abyss); color: var(--tide); padding: clamp(3.5rem, 3rem + 3vw, 5.5rem) 0 2rem; font-size: 1rem; }
.site-footer a { color: #E6EFEE; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--signal); }
.site-footer h2 { font-family: var(--font); font-size: 0.95rem; font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(184, 214, 211, 0.25); }
.site-footer__tagline { margin-top: 1.25rem; color: #C3D4D3; max-width: 30ch; }
.site-footer__email { color: var(--aqua) !important; font-weight: 600; }
/* initiatives of Cafona Inc.: one quiet row, every app icon the same size and shape, name beside it */
.site-footer__initiatives { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(184, 214, 211, 0.25); }
.site-footer__initiatives h2 { margin: 0; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer__initiatives h2 a { color: var(--tide); }
.site-footer__initiatives ul { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem; }
.site-footer__initiatives li a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; font-weight: 600; color: #E6EFEE; }
.app-icon { display: block; flex: none; width: 2rem; height: 2rem; border-radius: 22%; object-fit: cover; background: #fff; }
.app-icon--lg { width: 3.5rem; height: 3.5rem; box-shadow: 0 0 0 1px var(--mist); }
.site-footer .office { margin-bottom: 1.25rem; }
.site-footer .office__label { color: #fff; font-size: 0.95rem; }
.site-footer .office address { color: #C3D4D3; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.5rem; font-size: 0.9rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
@media (max-width: 60rem) { .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) {
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__initiatives { flex-direction: column; align-items: flex-start; }
  .site-footer__initiatives ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
}

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .skip { display: none; }
  body { background: #fff; font-size: 11pt; }
  .section--ink { background: #fff; color: #000; }
}

/* Careers: apply with CafonApp Hire (src/pages-more.mjs, applyBlock). */
.apply { list-style: none; margin: 0 0 1.5rem; }
.apply__step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--mist); }
.apply__step:first-child { border-top: 3px solid var(--brand); }
.apply__step h3 { margin: 0 0 0.3rem; }
.apply__step p { margin: 0; color: var(--ink-soft); }
.apply__n { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--abyss); color: var(--aqua); font-family: var(--display); font-size: 1.15rem; }
.notice { margin: 0 0 1.25rem; padding: 1.1rem 1.3rem; background: var(--tint); border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; }
.notice p { margin: 0 0 0.4rem; }
.notice p:last-child { margin-bottom: 0; }
.nowrap { white-space: nowrap; }
.apply + .actions { margin-top: 0; margin-bottom: 1rem; }
