/* Škara Consulting: soft structuralism
   silver  #F2F4F8   page ground
   white   #FFFFFF   machined inner cores
   ink     #1A2550   navy from the original logo
   deep    #12183F   dark panels
   muted   #566079   secondary text
   red     #B3313A   totals and the next deadline, nothing else
   Display: Ubuntu. Text: Schibsted Grotesk. */

:root {
  --bg: #F2F4F8;
  --bg-deep: #E6EAF2;
  --white: #fff;
  --ink: #1A2550;
  --ink-2: #27367A;
  --deep: #12183F;
  --muted: #566079;
  --hair: rgba(26, 37, 80, .08);
  --red: #B3313A;
  --eu-yellow: #FFCC00;

  --display: "Ubuntu", "Segoe UI", system-ui, sans-serif;
  --sans: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(.32, .72, 0, 1);
  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(5rem, 11vw, 9.5rem);

  /* concentric radii: outer shell and inner core differ by the shell padding */
  --shell: .4rem;
  --r-outer: 2rem;
  --r-inner: calc(var(--r-outer) - var(--shell));

  --lift: 0 0 0 1px rgba(26, 37, 80, .07), 0 40px 70px -42px rgba(26, 37, 80, .32), 0 10px 24px -14px rgba(26, 37, 80, .12);

  /* systemic layers only */
  --z-overlay: 50;
  --z-nav: 60;
  --z-skip: 70;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html.menu-open body { overflow: hidden; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 3px; border-radius: 6px; }

.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: fixed; left: 1rem; top: -4rem; z-index: var(--z-skip);
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 999px;
}
.skip:focus { top: 1rem; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* tabular figures only where numbers must line up */
.ledger-day, .ledger-when, .total-figure, .register .num, .figure-value,
.t-balance .dbl, .contact-list > div:first-child dd { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Scroll reveal: heavy fade-up, transform and opacity only ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 2.75rem, 0);
  transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Machined hardware: the double bezel ---------- */

.bezel {
  padding: var(--shell);
  border-radius: var(--r-outer);
  background: rgba(26, 37, 80, .045);
  box-shadow: var(--lift);
}
.bezel-core { display: block; }
.bezel > .bezel-core {
  height: 100%;
  border-radius: var(--r-inner);
  background: var(--white);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), 0 0 0 1px rgba(26, 37, 80, .04);
  overflow: hidden;
}

/* ---------- Buttons: pills with a nested trailing icon ---------- */

.btn-icon {
  flex: none;
  display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: rgba(26, 37, 80, .08);
  transition: transform .6s var(--ease), background-color .6s var(--ease);
}
.btn-icon svg { width: 1.15rem; height: 1.15rem; }

.btn {
  display: inline-flex; align-items: center; gap: 1.1rem;
  min-height: 3.4rem;
  padding: .5rem .5rem .5rem 1.6rem;
  border: 0;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .6s var(--ease), background-color .6s var(--ease), box-shadow .6s var(--ease), color .6s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn:hover .btn-icon { transform: translate(2px, -1px) scale(1.06); }

.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 18px 34px -16px rgba(26, 37, 80, .7), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.btn-primary .btn-icon { background: rgba(255, 255, 255, .16); }
.btn-primary:hover { background: var(--ink-2); }

.btn-ghost {
  padding: .5rem 1.6rem .5rem .5rem;
  background: rgba(255, 255, 255, .78); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(26, 37, 80, .1);
}
.btn-ghost:hover { background: #fff; box-shadow: 0 0 0 1px rgba(26, 37, 80, .18), 0 16px 30px -18px rgba(26, 37, 80, .35); }
.btn-ghost:hover .btn-icon { transform: none; }
.btn-icon-lead { background: var(--ink); color: #fff; }

.pill-link {
  display: inline-flex; align-items: center; gap: 1rem;
  margin-top: 1.75rem;
  padding: .3rem .3rem .3rem 1.2rem;
  border-radius: 999px;
  background: rgba(26, 37, 80, .06);
  color: var(--ink);
  font-weight: 600; font-size: .95rem;
  text-decoration: none;
  transition: background-color .6s var(--ease), color .6s var(--ease), transform .6s var(--ease);
}
.pill-link .btn-icon { width: 2.2rem; height: 2.2rem; background: #fff; }
.pill-link:hover { background: var(--ink); color: #fff; }
.pill-link:hover .btn-icon { transform: translate(2px, -1px) scale(1.06); color: var(--ink); }
.pill-link:active { transform: scale(.98); }

/* ---------- Eyebrow tag ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .85rem .45rem .7rem;
  border-radius: 999px;
  background: rgba(26, 37, 80, .06);
  box-shadow: inset 0 0 0 1px rgba(26, 37, 80, .06);
  font: 500 .6875rem/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before {
  content: "";
  width: .4rem; height: .4rem; border-radius: 50%;
  background: var(--ink-2);
}
.eyebrow-dark { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: #E4E9F7; }
.eyebrow-dark::before { background: #9DB2F0; }

/* ---------- Header: floating glass islands ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: var(--z-nav);
  pointer-events: none;
}
#top-sentinel { position: absolute; inset: 0 auto auto 0; width: 1px; height: 28px; pointer-events: none; }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.1rem;
}
.header-inner > * { pointer-events: auto; }

/* Logo: large at the top of the page, small once scrolled. The layout box keeps
   the small size; the image scales from its top-left corner, so nothing shifts. */
.logo {
  --small: 3.25;
  --big: 6.5;
  position: relative;
  display: block; flex: none; line-height: 0;
  height: calc(var(--small) * 1rem);
  width: calc(var(--small) * 1rem * 134 / 69);
}
.logo::before {
  content: "";
  position: absolute; inset: -.6rem -1.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(26, 37, 80, .07), 0 18px 40px -20px rgba(26, 37, 80, .3);
  opacity: 0;
  transition: opacity .7s var(--ease);
}
.is-scrolled .logo::before { opacity: 1; }
.logo img {
  position: relative;
  height: calc(var(--big) * 1rem);
  width: auto; max-width: none;
  transform-origin: left top;
  transform: translateY(.35rem);
  transition: transform .7s var(--ease);
}
.is-scrolled .logo img { transform: scale(calc(var(--small) / var(--big))); }

.nav-pill {
  display: flex; align-items: center; gap: .15rem;
  padding: .35rem .35rem .35rem .6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(26, 37, 80, .07), 0 18px 40px -20px rgba(26, 37, 80, .3);
}
.nav-pill a:not(.nav-cta) {
  padding: .6rem 1rem;
  border-radius: 999px;
  font-weight: 500; font-size: .95rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .5s var(--ease), background-color .5s var(--ease);
}
.nav-pill a:not(.nav-cta):hover { color: var(--ink); background: rgba(26, 37, 80, .06); }
.nav-cta {
  display: inline-flex; align-items: center; gap: .7rem;
  margin-left: .35rem;
  padding: .3rem .3rem .3rem 1.2rem;
  border-radius: 999px;
  background: var(--ink); color: #fff;
  font-weight: 600; font-size: .95rem;
  text-decoration: none;
  transition: background-color .6s var(--ease), transform .6s var(--ease);
}
.nav-cta .btn-icon { width: 2.2rem; height: 2.2rem; background: rgba(255, 255, 255, .16); }
.nav-cta:hover { background: var(--ink-2); }
.nav-cta:hover .btn-icon { transform: translate(2px, -1px) scale(1.06); }
.nav-cta:active { transform: scale(.98); }

.menu-toggle {
  display: none;
  position: relative;
  width: 3.25rem; height: 3.25rem;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(26, 37, 80, .08), 0 18px 40px -20px rgba(26, 37, 80, .3);
  cursor: pointer;
  place-items: center;
  transition: transform .6s var(--ease);
}
.menu-toggle:active { transform: scale(.96); }
.menu-bars { position: relative; display: block; width: 20px; height: 12px; }
.menu-bars i {
  position: absolute; left: 0; width: 100%; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .7s var(--ease);
}
.menu-bars i:first-child { top: 1px; }
.menu-bars i:last-child { bottom: 1px; }
.menu-open .menu-bars i:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-open .menu-bars i:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* full-screen menu */
.menu-overlay {
  position: fixed; inset: 0;
  z-index: var(--z-overlay);
  display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
  padding: 7rem var(--gutter) 3rem;
  background: rgba(242, 244, 248, .86);
  backdrop-filter: blur(36px) saturate(1.4);
  -webkit-backdrop-filter: blur(36px) saturate(1.4);
  opacity: 0; visibility: hidden;
  transition: opacity .7s var(--ease), visibility 0s linear .7s;
}
.menu-open .menu-overlay { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a, .menu-foot {
  opacity: 0; transform: translate3d(0, 3rem, 0);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.menu-open .menu-links a, .menu-open .menu-foot {
  opacity: 1; transform: none;
  transition-delay: calc(.12s + var(--i, 0) * .06s);
}
.menu-links a {
  padding: .5rem 0;
  font: 500 clamp(2.2rem, 9vw, 3.4rem)/1.1 var(--display);
  letter-spacing: -.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--hair);
}
.menu-foot { display: flex; flex-direction: column; gap: .4rem; font-size: 1.05rem; color: var(--muted); }
.menu-foot a { text-decoration: none; }

/* ---------- Hero: editorial split ---------- */

.hero {
  position: relative;
  display: grid; align-items: center;
  min-height: 100dvh;
  padding: clamp(9.5rem, 15vw, 11.5rem) 0 clamp(5rem, 9vw, 8rem);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(52% 55% at 92% 8%, rgba(122, 152, 214, .24), transparent 72%),
    radial-gradient(40% 45% at 0% 100%, rgba(176, 196, 232, .22), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.3rem, 1rem + 3.4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -.028em;
  font-weight: 500;
}
.hero h1 span { white-space: nowrap; }

.lead {
  margin-top: 1.75rem;
  max-width: 34rem;
  font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem);
  line-height: 1.6;
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; margin-top: 1.75rem; font-size: .925rem; color: var(--muted); }

.hero-visual { position: relative; }
.hero-photo .bezel-core { aspect-ratio: 4 / 5; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 84%; }

/* the ledger floats across the photo's lower-left corner */
.ledger {
  position: absolute;
  left: -4.5rem; bottom: -2.5rem;
  width: min(23.5rem, calc(100% - 1rem));
}
.ledger > .bezel-core { padding: 1.25rem 1.25rem 1.1rem; background: #fff; }
.ledger-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: .5rem 1rem; flex-wrap: wrap;
  padding-bottom: .8rem;
  border-bottom: 1.5px solid var(--ink);
}
.ledger-head h2 { font-size: 1.1rem; font-weight: 500; }
.ledger-today { font-size: .78rem; color: var(--muted); }

.ledger-rows { list-style: none; }
.ledger-row {
  display: grid;
  grid-template-columns: 3.8rem 1fr auto;
  align-items: center;
  min-height: 3.35rem;
  border-bottom: 1px solid var(--hair);
}
.ledger-date {
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
  padding-right: .5rem;
  border-right: 1px solid rgba(179, 49, 58, .4);
  line-height: 1.1;
}
.ledger-day { font-family: var(--display); font-weight: 500; font-size: 1.25rem; }
.ledger-month { font-size: .68rem; color: var(--muted); }
.ledger-what { padding: .5rem .75rem; line-height: 1.25; min-width: 0; }
.ledger-what strong { display: block; font-weight: 600; font-size: .88rem; }
.ledger-what span { font-size: .74rem; color: var(--muted); }
.ledger-when { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.ledger-row.is-next .ledger-when { color: var(--red); font-weight: 600; }
.ledger-row.is-next .ledger-when::before {
  content: "";
  display: inline-block; width: .42rem; height: .42rem; border-radius: 50%;
  background: var(--red); margin-right: .35rem; vertical-align: .1em;
}
.ledger-total {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  padding-top: .95rem;
  font-weight: 600; font-size: .88rem;
}
.total-figure { font-family: var(--display); font-size: 1.7rem; line-height: 1; }

/* the accountant's double underline */
.dbl { position: relative; display: inline-block; padding: 0 .1em 7px; }
.dbl::after {
  content: "";
  position: absolute; left: -.15em; right: -.15em; bottom: 0;
  height: 4px;
  border-top: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red);
  transform-origin: left center;
}

@media (prefers-reduced-motion: no-preference) {
  .js .ledger-row {
    opacity: 0; transform: translateX(-8px);
    animation: row-in .8s var(--ease) forwards;
    animation-delay: calc(.8s + var(--i) * .12s);
  }
  .js .ledger-total .dbl::after {
    transform: scaleX(0);
    animation: draw .9s var(--ease) 1.65s forwards;
  }
}
@keyframes row-in { to { opacity: 1; transform: none; } }
@keyframes draw { to { transform: scaleX(1); } }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head h2, .about-copy h2, .contact-info h2 {
  margin-top: 1.25rem;
  font-size: clamp(1.9rem, 1.2rem + 2.5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -.022em;
}
.section-head p { margin-top: 1rem; font-size: 1.125rem; color: var(--muted); }

/* ---------- Services: asymmetrical bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}
.bento > .bezel { display: flex; }
.bento > .bezel > .bezel-core { flex: 1; }
.bento-a { grid-column: span 7; grid-row: span 2; }
.bento-b { grid-column: span 5; }
.bento-c { grid-column: span 5; }
.bento-d { grid-column: span 12; }

.card { display: flex; flex-direction: column; }
.card-photo { position: relative; overflow: hidden; background: var(--bg-deep); }
.card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.bezel:hover .card-photo img { transform: scale(1.045); }
/* the tall card's photo absorbs whatever height the right-hand column adds */
.card-photo-tall { flex: 1 1 auto; min-height: 20rem; }
.card-photo-tall img { position: absolute; inset: 0; }
.card-photo-wide { aspect-ratio: 16 / 8; }
.card-photo-wide img { object-position: 60% 58%; }

.card-body { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; align-items: flex-start; }
.card-body h3 { font-size: clamp(1.5rem, 1.2rem + .9vw, 1.9rem); letter-spacing: -.015em; }
.card-lead { margin-top: .8rem; max-width: 40rem; color: var(--muted); }

.segmented {
  display: inline-flex; flex-wrap: wrap;
  margin-top: 1.75rem; padding: 4px;
  border-radius: 999px;
  background: rgba(26, 37, 80, .06);
}
.segmented button {
  appearance: none; border: 0;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  background: transparent;
  font: 500 .92rem var(--sans);
  color: var(--muted);
  cursor: pointer;
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}
.segmented button[aria-pressed="true"] {
  background: #fff; color: var(--ink);
  box-shadow: 0 1px 2px rgba(26, 37, 80, .12), 0 6px 14px -6px rgba(26, 37, 80, .25);
}

.checklist {
  list-style: none;
  width: 100%;
  margin-top: 1.5rem;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
}
.checklist li {
  position: relative;
  padding: .75rem 0 .75rem 1.9rem;
  border-bottom: 1px solid var(--hair);
  line-height: 1.4; font-size: .98rem;
}
.checklist li::before {
  content: "";
  position: absolute; left: .15rem; top: 1.05rem;
  width: .75rem; height: .38rem;
  border-left: 1.5px solid var(--ink-2);
  border-bottom: 1.5px solid var(--ink-2);
  transform: rotate(-45deg);
}

/* Audit check */
.card-tool { padding: clamp(1.5rem, 3vw, 2.25rem); }
.audit-check fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.audit-check legend { float: left; width: 100%; padding: 0; font: 500 clamp(1.3rem, 1.1rem + .7vw, 1.6rem)/1.2 var(--display); letter-spacing: -.01em; }
.audit-hint { clear: both; padding-top: .5rem; color: var(--muted); font-size: .95rem; }
.audit-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.audit-fields .field:last-child { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: .45rem; }
.field > span:first-child { font-weight: 600; font-size: .88rem; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: .25rem; }
.field small { color: var(--muted); font-size: .78rem; }

input, select, textarea {
  width: 100%;
  font: 400 1rem/1.4 var(--sans);
  color: var(--ink);
  background: #F5F7FB;
  border: 0;
  border-radius: 14px;
  padding: .85rem 1rem;
  box-shadow: 0 0 0 1px rgba(26, 37, 80, .12);
  transition: box-shadow .5s var(--ease), background-color .5s var(--ease);
}
input:hover, select:hover, textarea:hover { box-shadow: 0 0 0 1px rgba(26, 37, 80, .26); }
input:focus, select:focus, textarea:focus {
  outline: none; background: #fff;
  box-shadow: 0 0 0 2px var(--ink-2), 0 12px 24px -14px rgba(26, 37, 80, .5);
}
textarea { resize: vertical; min-height: 8.5rem; }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 1.45rem, calc(100% - .9rem) 1.45rem;
  background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 2.4rem;
}
.input-unit { position: relative; display: block; }
.input-unit input { padding-right: 2.2rem; text-align: right; }
.input-unit span { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

.audit-result {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 1.4rem; padding-top: 1.1rem;
  border-top: 1px solid var(--hair);
}
.audit-meter { display: flex; gap: 4px; flex: none; }
.audit-meter i { width: 1.3rem; height: .45rem; border-radius: 2px; background: rgba(26, 37, 80, .14); transition: background-color .5s var(--ease); }
.audit-meter i.on { background: var(--ink); }
.audit-result.is-yes .audit-meter i.on { background: var(--red); }
.audit-result p { font-weight: 500; font-size: .95rem; line-height: 1.4; }
.audit-result.is-yes p { color: var(--red); font-weight: 600; }
.fineprint { margin-top: 1rem; font-size: .76rem; line-height: 1.5; color: var(--muted); }

/* Advice card */
.card-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.card-photo-side { min-height: 100%; }
.card-photo-side img { position: absolute; inset: 0; }
.advice { width: 100%; margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.advice > div { padding: 1rem 0; border-top: 1px solid var(--hair); }
.advice dt { font: 500 1.05rem/1.3 var(--display); }
.advice dd { margin-top: .35rem; font-size: .93rem; line-height: 1.5; color: var(--muted); }

/* ---------- T-account ---------- */

.coop { background: linear-gradient(180deg, transparent, var(--bg-deep) 18%, var(--bg-deep) 82%, transparent); }
.taccount {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
}
.t-side h3 {
  padding: 0 clamp(1rem, 3vw, 2rem) 1rem;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem);
  border-bottom: 1.5px solid var(--ink);
}
.t-side:first-child h3 { text-align: right; }
.t-side ul { list-style: none; padding: .75rem clamp(1rem, 3vw, 2rem) 1rem; height: calc(100% - 3.2rem); }
.t-side:first-child ul { border-right: 1.5px solid var(--ink); text-align: right; }
.t-side li { padding: .8rem 0; border-bottom: 1px solid var(--hair); line-height: 1.45; }
.t-side li:last-child { border-bottom: 0; }
.t-balance {
  grid-column: 1 / -1; justify-self: center;
  display: flex; align-items: baseline; gap: .9rem;
  margin-top: 1.25rem; font-weight: 600;
}
.t-balance > span:first-child { color: var(--muted); font-size: .95rem; }
.t-balance .dbl { font-family: var(--display); font-size: 1.75rem; line-height: 1; }

/* ---------- About: editorial split ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.about-visual { position: relative; align-self: center; }
.about-photo .bezel-core { aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.photo-chip {
  position: absolute; left: 1.4rem; bottom: 1.4rem;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 30px -14px rgba(18, 24, 63, .5);
  font-size: .85rem; font-weight: 600;
}
.about-lead { margin-top: 1.25rem; max-width: 38rem; font-size: 1.125rem; color: var(--muted); }
.statements { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.statement { padding-top: 1.1rem; border-top: 1.5px solid var(--ink); }
.statement figcaption { font-size: .85rem; color: var(--muted); }
.statement blockquote { margin: .6rem 0 0; font: 500 1.12rem/1.4 var(--display); }

.register-bezel { margin-top: 2.75rem; }
.register { padding: .5rem 1.5rem; }
.register > div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--hair); }
.register > div:last-child { border-bottom: 0; }
.register dt { color: var(--muted); font-size: .9rem; padding-top: .1rem; }
.register dd { font-weight: 500; line-height: 1.45; }
.register .num { letter-spacing: .03em; }

/* ---------- EU project ---------- */

.eu { padding-block: calc(var(--section) * .4); }
.eu-panel {
  position: relative;
  border-radius: 2.5rem;
  padding: clamp(2rem, 5.5vw, 5rem);
  color: #E4E9F7;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(86, 124, 214, .38), transparent 62%),
    radial-gradient(55% 80% at 0% 100%, rgba(41, 103, 138, .34), transparent 62%),
    var(--deep);
  box-shadow: 0 50px 80px -50px rgba(18, 24, 63, .7);
}
.eu-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.eu h2 { margin-top: 1.4rem; font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.025em; color: #fff; }
.eu-copy > p { margin-top: 1.25rem; max-width: 36rem; color: #C9D1E8; }
.eu-copy .eu-consortium { font-size: .95rem; color: #AAB5D6; }
.eu-logo { margin-top: 2rem; width: 15rem; background: #fff; padding: .75rem 1rem; border-radius: 1rem; }

.figure { display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.figure:first-child { border-top: 1px solid rgba(255, 255, 255, .14); }
.figure-label { font-size: .9rem; color: #AAB5D6; }
.figure-value { font: 500 clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem)/1.1 var(--display); color: #fff; }
.figure-value-sm { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
.figure-foot { font-size: .85rem; color: #AAB5D6; }
.figure-bar, .timeline {
  position: relative; display: block;
  height: 6px; margin-top: .55rem;
  background: rgba(255, 255, 255, .13); border-radius: 3px; overflow: hidden;
}
.figure-bar i, .timeline i { position: absolute; inset: 0 auto 0 0; width: var(--share, 0%); background: var(--eu-yellow); border-radius: 3px; }

/* ---------- Articles ---------- */

.articles-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.articles .section-head { margin-bottom: 0; }
.article-list { list-style: none; display: grid; gap: 1rem; }
.article-list a.bezel { display: block; text-decoration: none; }
.article-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "topic icon" "title icon" "lead icon";
  column-gap: 1.5rem; row-gap: .4rem;
  align-items: center;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  transition: background-color .6s var(--ease);
}
.article-list a:hover .article-row { background: #FAFBFD; }
.article-list a:hover .btn-icon { transform: translate(2px, -1px) scale(1.06); background: var(--ink); color: #fff; }
.article-topic { grid-area: topic; font-size: .85rem; color: var(--muted); }
.article-title { grid-area: title; font: 500 clamp(1.15rem, 1.05rem + .5vw, 1.4rem)/1.25 var(--display); }
.article-lead { grid-area: lead; font-size: .95rem; color: var(--muted); }
.article-icon { grid-area: icon; width: 2.9rem; height: 2.9rem; }

/* ---------- Contact ---------- */

.contact { padding-block: calc(var(--section) * .4) var(--section); }
.contact-panel {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 2.5rem;
  padding: clamp(1.5rem, 5vw, 4.5rem);
  color: #fff;
  background: var(--deep);
  box-shadow: 0 50px 80px -50px rgba(18, 24, 63, .7);
}
.contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; z-index: -2; }
.contact-panel::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(18, 24, 63, .94) 0%, rgba(18, 24, 63, .7) 45%, rgba(18, 24, 63, .22) 100%);
}
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.contact-info h2 { color: #fff; }
.contact-info > p { margin-top: 1rem; max-width: 26rem; color: #D2D9EE; font-size: 1.075rem; }
.contact-list { margin-top: 2.25rem; }
.contact-list > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .95rem 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.contact-list dt { color: rgba(255, 255, 255, .66); font-size: .9rem; padding-top: .15rem; }
.contact-list dd { font-weight: 500; }
.contact-list a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-decoration-thickness: 1.5px; text-underline-offset: .25em; transition: text-decoration-color .5s var(--ease); }
.contact-list a:hover { text-decoration-color: #fff; }
.contact-list > div:first-child dd { font: 500 1.5rem/1.2 var(--display); }

.form-bezel { background: rgba(255, 255, 255, .16); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 40px 70px -40px rgba(0, 0, 0, .6); color: var(--ink); }
.contact-form { display: grid; gap: 1.1rem; padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: .25rem; }
.form-status { font-size: .925rem; color: var(--muted); max-width: 22rem; }
.form-status.is-error { color: var(--red); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--red); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--deep);
  color: #C5CCE0;
  font-size: .925rem;
  padding-top: 4.5rem;
  border-radius: 2.5rem 2.5rem 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 2rem; align-items: start; }
.footer-logo { height: 3.25rem; width: auto; box-sizing: content-box; background: #fff; padding: .6rem 1.2rem; border-radius: 1.1rem; margin-bottom: 1.25rem; }
.footer-eu { width: 11rem; background: #fff; padding: .6rem .8rem; border-radius: .9rem; }

.credits { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: #98A3C4; }
.credits ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem 1.5rem; margin-top: .75rem; }
.credits a { color: #C5CCE0; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: .2em; }
.credits a:hover { color: #fff; }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2rem; padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem;
}
.footer-bottom a { color: #C5CCE0; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .ledger { left: -2rem; }
}

@media (max-width: 1100px) {
  .bento-a { grid-column: span 12; grid-row: auto; }
  .bento-b, .bento-c { grid-column: span 6; }
  .card-photo-tall { flex: none; aspect-ratio: 16 / 8; min-height: 0; }
}

@media (max-width: 960px) {
  .nav-pill { display: none; }
  .menu-toggle { display: grid; }

  .hero { min-height: 0; }
  .hero-grid, .about-grid, .eu-grid, .contact-grid, .articles-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-bottom: 0; }
  .hero-photo .bezel-core { aspect-ratio: 5 / 4; }
  .ledger { position: relative; left: auto; bottom: auto; width: auto; margin: -4rem 1rem 0; }
  .about-visual { position: relative; top: auto; }
  .about-photo img { object-position: 50% 58%; }
  .card-split { grid-template-columns: 1fr; }
  .card-photo-side { aspect-ratio: 16 / 8; min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-eu { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .logo { --small: 2.9; --big: 4.75; }
  .bento-b, .bento-c { grid-column: span 12; }
  .audit-fields { grid-template-columns: 1fr; }
  .checklist, .advice { grid-template-columns: 1fr; }
  .segmented { display: flex; width: 100%; flex-wrap: nowrap; }
  .segmented button { flex: 1; padding-inline: .5rem; font-size: .85rem; }
  .statements { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .hero-actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .hero-actions .btn-ghost { justify-content: flex-start; }
  .ledger { margin: -3rem .5rem 0; }
  .ledger-row { grid-template-columns: 3.7rem 1fr auto; }

  .taccount { grid-template-columns: 1fr; }
  .t-side:first-child h3, .t-side:first-child ul { text-align: left; }
  .t-side:first-child ul { border-right: 0; }
  .t-side h3, .t-side ul { padding-inline: .5rem; }
  .t-side ul { height: auto; }
  .t-side + .t-side { margin-top: 1.25rem; }

  .register > div, .contact-list > div { grid-template-columns: 1fr; gap: .15rem; }
  .form-row { grid-template-columns: 1fr; }
  .article-row { padding: 1.25rem; }
  .credits ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .eu-panel, .contact-panel { border-radius: 1.75rem; }
  .site-footer { border-radius: 1.75rem 1.75rem 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .logo img, .logo::before, .menu-overlay, .menu-links a, .menu-foot, .card-photo img { transition: none; }
}
