/* Cube IT AS — website stylesheet (draft 10).
   To change the look, start with the variables just below: colours, fonts and page width.
   Everything else uses them. */

@font-face { font-family: "Open Sans"; src: url("/fonts/opensans-var.woff2") format("woff2"); font-weight: 300 800; font-stretch: 75% 100%; font-display: swap; }

:root {
  --navy: #0a2747;        /* footer, dark text on light */
  --ink: #0c233c;         /* headings, menu */
  --text: #333b45;        /* body text */
  --muted: #5d6775;       /* secondary text */
  --blue: #1d6ea3;        /* links, buttons, the blue band */
  --blue-dark: #155583;   /* button hover */
  --cube: #3a96ca;        /* logo blue */
  --cube-light: #84c5e8;  /* logo light blue: the bar beside card titles */
  --page: #f5f6fa;        /* pale sections */
  --paper: #ffffff;
  --line: #dfe3ea;        /* card borders and thin lines */
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --width: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.5; letter-spacing: .02em; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); letter-spacing: 0; }
/* The display headings: Open Sans narrowed and bold */
h1, h2, .display { font-stretch: 75%; font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
p { margin: 0; }
.wrap { max-width: var(--width); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.pale { background: var(--page); }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: var(--blue); }
.lead { font-size: 1.0625rem; color: var(--text); max-width: 46rem; }
.lead b, .lead strong { color: var(--ink); font-weight: 700; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; border-radius: 32px; background: var(--blue); color: #fff; font-weight: 600; font-size: 1rem; letter-spacing: .02em; text-decoration: none; border: 1px solid var(--blue); transition: background .25s, color .25s, border-color .25s; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn.white { background: transparent; color: #fff; border-color: #fff; }
.btn.white:hover { background: #fff; color: var(--blue); }
.btn.solid-white { background: #fff; color: var(--blue); border-color: #fff; }
.btn.solid-white:hover { background: var(--page); }
.btn.line { background: transparent; color: var(--blue); }
.btn.line:hover { background: var(--blue); color: #fff; }
/* "Read more ›" links with a chevron that moves on hover */
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; text-decoration: none; padding: 6px 0; }
.more::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); margin-left: 2px; transition: transform .3s var(--ease); }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.more:hover::after, a:hover .more::after { transform: translateX(4px) rotate(45deg); }
.more.ext::after { transform: rotate(0); border: 0; width: auto; height: auto; content: "\2197"; font-size: .95em; }
.more.ext:hover::after, a:hover .more.ext::after { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .3s; }
.scrolled .header { box-shadow: 0 2px 14px rgba(12, 35, 60, .08); }
.util { display: flex; justify-content: flex-end; gap: 28px; font-size: .8125rem; height: 34px; align-items: center; overflow: hidden; transition: height .3s var(--ease), opacity .3s; }
.scrolled .util { height: 0; opacity: 0; }
.util a { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); text-decoration: none; }
.util a:hover { text-decoration: underline; }
.util svg { width: 15px; height: 15px; }
.bar { display: flex; align-items: center; height: 66px; gap: 40px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.logo svg { width: 30px; height: 30px; }
.logo span { font-stretch: 75%; font-weight: 700; font-size: 1.25rem; letter-spacing: .02em; }
.nav { flex: 1; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav ul a { position: relative; display: block; padding: 22px 0; text-decoration: none; color: var(--ink); font-size: 1rem; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav .mobile-only { display: none; }
.round { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--page); color: var(--ink); border: 0; cursor: pointer; text-decoration: none; transition: background .25s, color .25s; }
.round:hover { background: var(--blue); color: #fff; }
.round svg { width: 18px; height: 18px; }
.burger { display: none; }

@media (max-width: 960px) {
  .util { display: none; }
  .bar { height: 64px; gap: 12px; justify-content: space-between; }
  .burger { display: grid; order: -1; }
  .burger span, .burger span::before, .burger span::after { display: block; position: relative; width: 16px; height: 2px; background: currentColor; content: ""; transition: transform .25s, background .25s; }
  .burger span::before { position: absolute; top: -5px; }
  .burger span::after { position: absolute; top: 5px; }
  .burger { background: var(--blue); color: #fff; }
  .menu-open .burger span { background: transparent; }
  .menu-open .burger span::before { transform: translateY(5px) rotate(45deg); }
  .menu-open .burger span::after { transform: translateY(-5px) rotate(-45deg); }
  .nav { position: fixed; inset: 64px 0 0 0; background: #fff; padding: 8px var(--gutter) 40px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: 16px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav .mobile-only { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
  .menu-open body { overflow: hidden; }
}

/* ---------- Home hero: photo strip, white panel, large photo ---------- */
.hero { display: grid; grid-template-columns: 6% 30% 1fr; min-height: min(580px, 66vh); background: #fff; }
.hero .strip { position: relative; overflow: hidden; background: var(--page); }
.hero .strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .panel { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 48px 40px 48px clamp(20px, 2.6vw, 40px); }
.hero h1 { font-size: clamp(2.2rem, 3.4vw, 3.25rem); }
.hero .sub { color: var(--text); max-width: 30rem; }
.hero .newest { display: block; padding: 14px 0 0 16px; border-left: 4px solid var(--cube-light); text-decoration: none; color: var(--text); font-size: .875rem; }
.hero .newest small { display: block; font-size: .75rem; font-weight: 600; color: var(--blue); }
.hero .newest strong { display: block; color: var(--ink); font-size: 1rem; margin: 2px 0; }
.hero .newest:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.slides { position: relative; overflow: hidden; background: var(--navy); }
.slides figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.slides figure.on, html:not(.js) .slides figure:first-child { opacity: 1; }
html:not(.js) .ticks { display: none; }
.slides img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.slides figure.on img { animation: drift 9s linear both; }
@keyframes drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.13) translate3d(-1.5%, -1%, 0); } }
.slides figure:nth-child(2n).on img { animation-name: drift2; }
@keyframes drift2 { from { transform: scale(1.13) translate3d(-1.5%, 0, 0); } to { transform: scale(1.04) translate3d(1%, -1%, 0); } }
.slides figcaption { position: absolute; left: 24px; bottom: 58px; color: #fff; font-size: .8125rem; text-shadow: 0 1px 6px rgba(0,0,0,.5); opacity: 0; transform: translateY(8px); transition: opacity .6s .6s, transform .6s .6s var(--ease); }
.slides figure.on figcaption { opacity: .92; transform: none; }
.ticks { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; gap: 8px; align-items: center; z-index: 2; }
.ticks button.tick { flex: 0 0 56px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.ticks button.tick::before, .ticks button.tick i { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: rgba(255,255,255,.4); }
.ticks button.tick i { background: #fff; transform: scaleX(0); transform-origin: left; }
.ticks button.tick.on i { animation: tick var(--slide, 7s) linear forwards; }
.ticks button.tick.done i { transform: scaleX(1); }
.paused .ticks button.tick.on i { animation-play-state: paused; }
@keyframes tick { to { transform: scaleX(1); } }
.ticks .pause { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(10,39,71,.35); color: #fff; cursor: pointer; display: grid; place-items: center; }
.ticks .pause svg { width: 12px; height: 12px; }
.ticks .pause .play { display: none; }
.paused .ticks .pause .play { display: block; }
.paused .ticks .pause .stop { display: none; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero .strip { display: none; }
  .slides { order: -1; aspect-ratio: 4 / 3; }
  .hero .panel { padding: 32px var(--gutter) 40px; }
  .slides figcaption { bottom: 52px; left: 16px; }
  .ticks { left: 16px; right: 16px; bottom: 16px; }
  .ticks button.tick { flex-basis: 40px; }
}

/* ---------- Inner page hero ---------- */
.page-hero { display: grid; grid-template-columns: 6% 38% 1fr; min-height: 380px; background: #fff; }
.page-hero .strip { overflow: hidden; background: var(--page); }
.page-hero .strip img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .panel { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 40px 40px 40px clamp(20px, 2.6vw, 40px); }
.page-hero .photo { position: relative; overflow: hidden; }
.page-hero .photo img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8125rem; color: var(--muted); list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .page-hero { grid-template-columns: 1fr; min-height: 0; }
  .page-hero .strip { display: none; }
  .page-hero .photo { order: -1; aspect-ratio: 16 / 9; }
  .page-hero .panel { padding: 28px var(--gutter) 36px; }
}

/* ---------- Intro ---------- */
.intro h2 { max-width: 30ch; }
.intro .lead { margin-top: 28px; }

/* ---------- Cards: white, hairline border, light-blue bar beside the title ---------- */
.cards { display: grid; gap: 24px; margin-top: 40px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; }
a.card:hover, .card.hover:hover { box-shadow: 0 10px 30px rgba(12, 35, 60, .10); transform: translateY(-3px); border-color: #cfd6e0; }
.card .body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 18px; flex: 1; }
.card .body p { font-size: .9375rem; }
.card .body .more { margin-top: auto; padding-top: 14px; }
.card h3 { position: relative; padding-left: 16px; }
.card h3::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; background: var(--cube-light); transform-origin: top; }
.card .icon { width: 44px; height: 44px; color: var(--blue); margin: 24px 24px 0; }
.card .icon + .body { padding-top: 14px; }
.card .pic { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--page); }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.card:hover .pic img, .card.hover:hover .pic img { transform: scale(1.06); }
.card.ask { background: var(--page); border-style: dashed; }
.card.ask .grid9 { margin: 24px 24px 0; width: 52px; height: 52px; }

@media (max-width: 1080px) { .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .cards.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards.three, .cards.four { grid-template-columns: 1fr; gap: 16px; } }

/* Line icons draw themselves when the card comes into view */
.js .icon path, .js .icon rect, .js .icon circle, .js .icon line, .js .icon polyline { stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.4s var(--ease) .25s; }
.js .in .icon path, .js .in .icon rect, .js .in .icon circle, .js .in .icon line, .js .in .icon polyline { stroke-dashoffset: 0; }

/* ---------- Key figures ---------- */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.figures div { padding-left: 16px; border-left: 4px solid var(--cube-light); }
.figures b { display: block; font-stretch: 75%; font-weight: 700; font-size: clamp(2.2rem, 3.6vw, 3.25rem); line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.figures span { display: block; margin-top: 6px; font-size: .9375rem; color: var(--muted); }
@media (max-width: 820px) { .figures { grid-template-columns: 1fr 1fr; gap: 28px 16px; } }

/* ---------- Section heading row ---------- */
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.head p { max-width: 34rem; margin-top: 16px; }
.head .more, .head .btn { flex: none; }

/* ---------- How it works: illustration + steps ---------- */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; margin-top: 48px; }
.how .art { position: sticky; top: 120px; background: #fff; border: 1px solid var(--line); padding: clamp(16px, 3vw, 36px); }
.how .art svg { width: 100%; height: auto; display: block; overflow: visible; }
.how .art figcaption { margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 0 12px; padding: 26px 0; border-top: 1px solid var(--line); opacity: .45; transition: opacity .5s; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li.lit, .no-motion .steps li, html:not(.js) .steps li { opacity: 1; }
.steps small { font-stretch: 75%; font-weight: 700; font-size: 1.5rem; color: var(--blue); line-height: 1.2; }
.steps h3 { position: relative; padding-left: 16px; }
.steps h3::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; background: var(--cube-light); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.steps li.lit h3::before, .no-motion .steps h3::before, html:not(.js) .steps h3::before { transform: none; }
.steps p { grid-column: 2; margin-top: 8px; font-size: .9375rem; }
/* The drawing: each part has data-step and appears with its step */
.art .part { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .art .part { opacity: .12; }
.js .art .part.lit { opacity: 1; }
.art .flow { stroke-dasharray: 6 7; animation: flow 1.2s linear infinite; animation-play-state: paused; }
.art .part.lit .flow { animation-play-state: running; }
@keyframes flow { to { stroke-dashoffset: -13; } }
@media (max-width: 960px) {
  .how { grid-template-columns: 1fr; }
  .how .art { position: relative; top: 0; }
}

/* ---------- Split: photo and text ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); }
.split .photo { position: relative; overflow: hidden; min-height: 420px; }
.split .photo img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.split .text { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.split .points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 22px; }
.split .points li { padding-left: 16px; border-left: 4px solid var(--cube-light); }
.split .points h3 { margin-bottom: 4px; }
.split .points p { font-size: .9375rem; }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split .photo { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ---------- Latest assignments ---------- */
.jobs { display: grid; gap: 12px; margin-top: 36px; }
.job { display: grid; grid-template-columns: 200px 1fr auto; gap: 8px 32px; align-items: center; padding: 20px 24px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); position: relative; transition: box-shadow .3s, border-color .3s; }
.job::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--ease); }
.job:hover { box-shadow: 0 8px 24px rgba(12,35,60,.08); border-color: #cfd6e0; }
.job:hover::before { transform: scaleY(1); }
.job .job-area { font-size: .75rem; font-weight: 600; color: var(--blue); }
.job h3 { font-size: 1.0625rem; }
.job .meta { display: block; font-size: .875rem; color: var(--muted); margin-top: 4px; }
.job .state { font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: #e4f2fa; color: var(--blue-dark); margin-left: 10px; vertical-align: 2px; }
.job .state.closed { background: var(--page); color: var(--muted); }
@media (max-width: 760px) { .job { grid-template-columns: 1fr; padding: 18px 18px 16px; } }

/* ---------- The blue band ---------- */
.band { background: var(--blue); color: #fff; padding: clamp(48px, 6vw, 80px) 0; overflow: hidden; position: relative; }
.band h2 { color: #fff; max-width: 22ch; }
.band p { margin-top: 18px; max-width: 40rem; color: rgba(255,255,255,.92); }
.band .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; align-items: center; }
.band .phone { color: #fff; font-weight: 600; font-size: 1.125rem; text-decoration: none; margin-left: 8px; }
.band .phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.band .grid9 { position: absolute; right: clamp(-40px, 4vw, 80px); top: 50%; width: clamp(160px, 22vw, 300px); height: auto; transform: translateY(-50%); opacity: .22; }
.band .grid9 rect { transform-box: fill-box; transform-origin: center; }
.js .band .grid9 rect { opacity: 0; transform: scale(.6); transition: opacity .5s, transform .6s var(--ease); }
.js .band.in .grid9 rect { opacity: 1; transform: none; }
@media (max-width: 760px) { .band .grid9 { display: none; } }

/* ---------- Competence ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a, .chips span { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 32px; background: #fff; font-size: .875rem; color: var(--ink); text-decoration: none; transition: border-color .25s, background .25s, color .25s; }
.chips a:hover { border-color: var(--blue); color: var(--blue); }
.area { background: #fff; border: 1px solid var(--line); margin-top: 24px; }
.area .area-head { display: flex; gap: 20px; align-items: center; padding: 26px 28px; border-bottom: 1px solid var(--line); }
.area .area-head .icon { width: 40px; height: 40px; color: var(--blue); flex: none; margin: 0; }
.area .area-head h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.area .cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.area .cols > div { padding: 22px 28px 28px; }
.area .cols > div + div { border-left: 1px solid var(--line); }
.area h3 { position: relative; padding-left: 16px; margin-bottom: 12px; }
.area h3::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; background: var(--cube-light); }
.area ul { list-style: none; margin: 0; padding: 0; columns: 1; font-size: .9375rem; }
.area ul.many { columns: 2; column-gap: 20px; }
.area li { padding: 4px 0; break-inside: avoid; }
@media (max-width: 860px) {
  .area .cols { grid-template-columns: 1fr; }
  .area .cols > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 64px; }
.faq + .faq { margin-top: 64px; }
.faq .side h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.faq .side p { margin-top: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); margin-bottom: 10px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 8px 24px rgba(12,35,60,.06); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 22px; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; background: var(--cube-light); transform: scaleY(0); transition: transform .3s var(--ease); }
.faq details[open] summary::before, .faq summary:hover::before { transform: scaleY(1); }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .answer { padding: 0 22px 20px; font-size: .9375rem; display: grid; gap: 10px; }
.faq .answer ul { margin: 0; padding-left: 20px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.person { background: #fff; border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.person .initials { width: 56px; height: 56px; display: grid; place-items: center; background: var(--page); color: var(--blue); font-stretch: 75%; font-weight: 700; font-size: 1.375rem; margin-bottom: 12px; border-left: 4px solid var(--cube-light); }
.person .role { font-size: .875rem; color: var(--muted); }
.person .ask { font-size: .875rem; color: var(--blue); font-weight: 600; }
.person .links { display: grid; gap: 2px; margin-top: auto; padding-top: 14px; font-size: .875rem; }
.person .links a { color: var(--ink); text-decoration: none; }
.person .links a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 1080px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }
.form-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-lines { display: grid; gap: 8px; margin-top: 28px; font-size: 1.0625rem; }
.contact-lines a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-lines a:hover { color: var(--blue); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: #fff; border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); }
.contact-form label { display: grid; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--ink); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: 12px 14px; border: 1px solid #c9d1dc; border-radius: 0; background: #fff; color: var(--text); width: 100%; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,110,163,.15); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .hp { position: absolute; left: -9999px; }
.notice { grid-column: 1 / -1; padding: 14px 16px; font-size: .9375rem; border-left: 4px solid; }
.notice.ok { background: #e8f5ee; border-color: #2e8b57; }
.notice.err { background: #fdeeee; border-color: #c0392b; }
@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-form { grid-template-columns: 1fr; } }

/* ---------- Plain text pages ---------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.6rem; margin: 36px 0 10px; }
.prose p { margin-bottom: 12px; }
.prose a { color: var(--blue); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #fff; padding: 56px 0 32px; }
.footer .logo { color: #fff; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 36px; }
.footer h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 14px; }
.footer ul, .footer address { list-style: none; margin: 0; padding: 0; font-style: normal; display: grid; gap: 10px; font-size: .9375rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer address span { color: rgba(255,255,255,.8); }
.footer details summary { list-style: none; pointer-events: none; }
.footer details summary::-webkit-details-marker { display: none; }
.socials { display: flex; justify-content: center; gap: 14px; margin: 48px 0 28px; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; display: grid; place-items: center; transition: background .25s, color .25s; }
.socials a:hover { background: #fff; color: var(--navy); }
.socials svg { width: 16px; height: 16px; }
.foot-base { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; font-size: .75rem; color: rgba(255,255,255,.8); }
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; gap: 0; }
  .footer details { border-bottom: 1px solid rgba(255,255,255,.2); }
  .footer details summary { pointer-events: auto; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
  .footer details summary h4 { margin: 0; }
  .footer details summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); transition: transform .3s; }
  .footer details[open] summary::after { transform: rotate(-135deg); }
  .footer details > ul, .footer details > address { padding-bottom: 18px; }
}

/* ---------- Movement: rise in when scrolled into view ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal h3::before { transform: scaleY(0); transition: transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + .35s); }
.js .card.reveal.in h3::before { transform: none; }
/* Headline lines rise out of a mask on load */
.js .lines .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.js .lines .ln > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--l, 0) * 110ms + .15s); }
.js.loaded .lines .ln > span { transform: none; }
.js .hero .fade { opacity: 0; transform: translateY(14px); transition: opacity .8s .55s var(--ease), transform .8s .55s var(--ease); }
.js.loaded .hero .fade { opacity: 1; transform: none; }
.js .hero .strip img, .js .page-hero .strip img { transform: translateY(-100%); transition: transform 1.2s var(--ease) .1s; }
.js.loaded .hero .strip img, .js.loaded .page-hero .strip img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .lines .ln > span, .js .hero .fade, .js .hero .strip img, .js .page-hero .strip img { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .card.reveal h3::before { transform: none; transition: none; }
  .js .icon * { stroke-dashoffset: 0 !important; transition: none !important; }
  .slides figure.on img { animation: none; }
  .slides figure { transition: none; }
  .js .art .part { opacity: 1; }
  .art .flow { animation: none; }
  .steps li { opacity: 1; }
  .steps h3::before { transform: none; }
  .js .band .grid9 rect { opacity: 1; transform: none; transition: none; }
}
