/* ==========================================================================
   PUHU — Design System
   Research · Development · Consulting
   ========================================================================== */

:root {
  /* Colors */
  --ink: #0E1624;
  --ink-2: #172235;
  --ink-3: #24324A;
  --paper: #F7F3EC;
  --paper-2: #FFFDF9;
  --sand: #ECE4D6;
  --sand-2: #E2D8C6;
  --line: rgba(14, 22, 36, .12);
  --line-light: rgba(255, 255, 255, .14);
  --text: #1A2232;
  --muted: #5C6475;
  --muted-light: rgba(255, 255, 255, .68);
  --accent: #C9472C;
  --accent-ink: #A9361E;
  --amber: #E8A93A;
  --teal: #1F6B66;
  --white: #fff;

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-xs: .78rem;
  --fs-sm: .9rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --fs-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --fs-3xl: clamp(2.6rem, 1.6rem + 4.2vw, 5.4rem);
  --fs-hero: clamp(2.9rem, 1.4rem + 6vw, 7.2rem);

  /* Layout */
  --container: 1260px;
  --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --header-h: 84px;

  --shadow-sm: 0 1px 2px rgba(14, 22, 36, .06), 0 2px 8px rgba(14, 22, 36, .05);
  --shadow: 0 10px 30px -10px rgba(14, 22, 36, .18), 0 4px 10px -6px rgba(14, 22, 36, .1);
  --shadow-lg: 0 30px 80px -20px rgba(14, 22, 36, .35);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); 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-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: .7rem 1.1rem; border-radius: 999px;
  background: var(--ink); color: var(--white); font-weight: 600;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 920px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--dark { background: var(--ink); color: var(--white); }
.section--sand { background: var(--sand); }
.section--white { background: var(--paper-2); }

.grid { display: grid; gap: clamp(1rem, .6rem + 1.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Typography ---------- */
.serif { font-family: var(--serif); font-optical-sizing: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--amber); }
.h-display { font-family: var(--serif); font-size: var(--fs-3xl); font-weight: 400; letter-spacing: -.03em; line-height: 1.02; }
.h-1 { font-family: var(--serif); font-size: var(--fs-2xl); font-weight: 400; letter-spacing: -.025em; }
.h-2 { font-family: var(--serif); font-size: var(--fs-xl); font-weight: 450; }
.h-3 { font-size: var(--fs-lg); font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
em, .italic { font-style: italic; }
.h-display em, .h-1 em { font-style: italic; color: var(--accent); font-weight: 350; }
.section--dark .h-display em, .section--dark .h-1 em { color: var(--amber); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.6; color: var(--muted); }
.section--dark .lead { color: var(--muted-light); }
.muted { color: var(--muted); }

.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4.5rem); max-width: 760px; }
.section-head--split {
  max-width: none; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 2rem 4rem;
}
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.5rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .95rem; font-weight: 650; letter-spacing: .005em; line-height: 1;
  border: 1.5px solid var(--btn-bg);
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent); transform: translateY(101%); border-radius: inherit;
  transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn:hover { border-color: var(--accent); color: var(--white); }
.btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--accent { --btn-bg: var(--accent); }
.btn--accent::before { background: var(--ink); }
.btn--accent:hover { border-color: var(--ink); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); border-color: rgba(255,255,255,.35); }
.btn--sm { min-height: 42px; padding: .6rem 1.1rem; font-size: .88rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 650; font-size: .95rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .4s var(--ease);
  padding-bottom: 2px;
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translate(3px, -3px); }

.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .38rem .8rem; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 650; letter-spacing: .02em;
  background: rgba(14,22,36,.06); color: var(--ink);
}
.chip--accent { background: rgba(201,71,44,.1); color: var(--accent-ink); }
.chip--light { background: rgba(255,255,255,.12); color: var(--white); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease), color .4s;
  color: var(--ink);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 243, 236, .78);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .4s var(--ease);
}
.site-header.is-scrolled::before, .site-header.is-solid::before { opacity: 1; }
.site-header.is-scrolled { --header-h: 70px; }
.site-header.on-hero:not(.is-scrolled) { color: var(--white); }
.site-header.on-hero:not(.is-scrolled) .brand img { filter: brightness(0) invert(1); }

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; transition: filter .4s, height .4s var(--ease); }
.is-scrolled .brand img { height: 40px; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap;
  padding: .6rem .9rem; border-radius: 999px;
  font-size: .93rem; font-weight: 600;
  transition: background-color .25s, color .25s;
}
.nav-link .icon { width: 15px; height: 15px; stroke-width: 2; transition: transform .3s var(--ease); }
.nav-link:hover, .nav-item:focus-within > .nav-link { background: rgba(14,22,36,.06); }
.on-hero:not(.is-scrolled) .nav-link:hover, .on-hero:not(.is-scrolled) .nav-item:focus-within > .nav-link { background: rgba(255,255,255,.12); }
.nav-link.is-active { color: var(--accent); }
.on-hero:not(.is-scrolled) .nav-link.is-active { color: var(--amber); }
.nav-item:hover > .nav-link .icon, .nav-item:focus-within > .nav-link .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: 340px; padding: .6rem;
  background: var(--paper-2); color: var(--ink);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s;
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a {
  display: grid; grid-template-columns: 42px 1fr; gap: .2rem .85rem; align-items: center;
  padding: .75rem; border-radius: 14px; transition: background-color .2s;
}
.dropdown a:hover { background: var(--sand); }
.dropdown .dd-icon {
  grid-row: span 2; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; background: var(--sand); color: var(--accent);
  transition: background-color .2s, color .2s;
}
.dropdown a:hover .dd-icon { background: var(--ink); color: var(--amber); }
.dropdown .dd-title { font-weight: 650; font-size: .93rem; line-height: 1.2; }
.dropdown .dd-desc { font-size: .8rem; color: var(--muted); line-height: 1.35; }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang {
  display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
}
.on-hero:not(.is-scrolled) .lang { border-color: rgba(255,255,255,.3); }
.lang a { padding: .35rem .6rem; border-radius: 999px; opacity: .65; transition: opacity .2s, background-color .2s; }
.lang a:hover { opacity: 1; }
.lang a[aria-current] { background: var(--ink); color: var(--white); opacity: 1; }
.on-hero:not(.is-scrolled) .lang a[aria-current] { background: var(--white); color: var(--ink); }

.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); position: relative;
}
.on-hero:not(.is-scrolled) .menu-toggle { border-color: rgba(255,255,255,.35); }
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.8px; background: currentColor; border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--white);
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; gap: 2rem; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 44px) 42px);
  transition: clip-path .7s var(--ease-out);
  visibility: hidden;
}
.menu-open .mobile-nav { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.menu-open .site-header { color: var(--white); }
.menu-open .site-header::before { opacity: 0; }
.menu-open .site-header .brand img { filter: brightness(0) invert(1); }
.menu-open .menu-toggle { border-color: rgba(255,255,255,.35); }
.menu-open { overflow: hidden; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line-light); }
.mobile-nav > ul > li > a, .mobile-nav summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; letter-spacing: -.02em;
  list-style: none; cursor: pointer;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary .icon { transition: transform .3s; }
.mobile-nav details[open] summary .icon { transform: rotate(45deg); }
.mobile-nav details ul { padding: 0 0 1rem 0; display: grid; gap: .2rem; }
.mobile-nav details ul a { display: block; padding: .5rem 0; color: var(--muted-light); font-size: 1.05rem; }
.mobile-nav details ul a:hover { color: var(--amber); }
.mobile-nav .mobile-foot { margin-top: auto; display: grid; gap: 1rem; color: var(--muted-light); font-size: .95rem; }
.mobile-nav .mobile-foot a { color: var(--white); }

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate;
}
@supports (min-height: 100svh) { .hero { min-height: max(100svh, 640px); } }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,22,36,.55) 0%, rgba(14,22,36,.1) 30%, rgba(14,22,36,.35) 55%, rgba(14,22,36,.94) 100%),
    linear-gradient(90deg, rgba(14,22,36,.55) 0%, rgba(14,22,36,0) 65%);
}
.hero-content { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.6rem;
  padding: .45rem .95rem .45rem .5rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
}
.hero-eyebrow .dot {
  width: 24px; height: 24px; border-radius: 50%; background: var(--amber); display: grid; place-items: center;
}
.hero-eyebrow .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.55); } }
.hero-title {
  font-family: var(--serif); font-size: var(--fs-hero); font-weight: 350;
  letter-spacing: -.035em; line-height: .98; max-width: 14ch;
}
.hero-title .rotator { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-title .rotator span {
  grid-area: 1 / 1;
  font-style: italic; color: var(--amber); font-weight: 300;
  transform: translateY(105%); opacity: 0;
  transition: transform .9s var(--ease-out), opacity .6s;
}
.hero-title .rotator span.is-active { transform: none; opacity: 1; }
.hero-title .rotator span.is-leaving { transform: translateY(-105%); opacity: 0; }
.hero-bottom {
  margin-top: clamp(2rem, 1rem + 3vw, 3.5rem);
  display: grid; grid-template-columns: minmax(0, 1.1fr) auto; align-items: end; gap: 2rem;
}
.hero-lead { max-width: 52ch; font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); color: rgba(255,255,255,.82); margin-bottom: 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-tabs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.2); margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); padding-top: 1.2rem;
}
.hero-tab { text-align: left; color: rgba(255,255,255,.55); transition: color .3s; display: grid; gap: .55rem; }
.hero-tab:hover, .hero-tab.is-active { color: var(--white); }
.hero-tab .num { font-size: .75rem; font-weight: 700; letter-spacing: .14em; }
.hero-tab .label { font-size: .95rem; font-weight: 550; line-height: 1.35; }
.hero-tab .bar { height: 2px; background: rgba(255,255,255,.2); border-radius: 2px; overflow: hidden; }
.hero-tab .bar i { display: block; height: 100%; width: 0; background: var(--amber); }
.hero-tab.is-active .bar i { animation: progress var(--slide-duration, 7s) linear forwards; }
.hero.is-paused .hero-tab.is-active .bar i { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }
.hero-scroll {
  display: grid; justify-items: center; gap: .6rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.hero-scroll .mouse { width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 14px; position: relative; }
.hero-scroll .mouse::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: var(--white); animation: scrolldot 1.8s infinite var(--ease);
}
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative; padding: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 6rem)) 0 clamp(3rem, 2rem + 3vw, 5rem);
  background: var(--paper); overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60vw; max-width: 820px; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(232,169,58,.28), rgba(232,169,58,0));
  pointer-events: none; z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 1.6rem; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 { font-family: var(--serif); font-size: var(--fs-3xl); font-weight: 350; letter-spacing: -.035em; line-height: 1; max-width: 16ch; }
.page-hero h1 em { color: var(--accent); font-weight: 300; }
.page-hero .lead { margin-top: 1.6rem; max-width: 60ch; }
.page-hero--dark { background: var(--ink); color: var(--white); }
.page-hero--dark .breadcrumb { color: var(--muted-light); }
.page-hero--dark h1 em { color: var(--amber); }
.page-hero--dark .lead { color: var(--muted-light); }
.page-hero--image { min-height: 72vh; display: flex; align-items: flex-end; color: var(--white); background: var(--ink); }
.page-hero--image::after { display: none; }
.page-hero--image .bg { position: absolute; inset: 0; z-index: 0; }
.page-hero--image .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,22,36,.5), rgba(14,22,36,.2) 40%, rgba(14,22,36,.92)); }
.page-hero--image .breadcrumb { color: rgba(255,255,255,.75); }
.page-hero--image h1 em { color: var(--amber); }
.page-hero--image .lead { color: rgba(255,255,255,.82); }
.page-hero .hero-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }

/* ==========================================================================
   Intro statement
   ========================================================================== */
.statement {
  font-family: var(--serif); font-weight: 350; font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.5rem);
  line-height: 1.16; letter-spacing: -.025em; max-width: 24ch;
}
.statement .hl { font-style: italic; color: var(--accent); }
.statement .pill-img {
  display: inline-block; vertical-align: middle; width: 1.9em; height: .95em; border-radius: 999px;
  background-size: cover; background-position: center; margin-inline: .08em; transform: translateY(-.06em);
}
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: end; }
.pillars { display: grid; gap: 1rem; }
.pillar {
  display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start;
  padding: 1.4rem; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar .p-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--amber); }
.pillar h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .3rem; letter-spacing: -.01em; }
.pillar p { font-size: .95rem; color: var(--muted); }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  --gap: 3rem;
  display: flex; overflow: hidden; user-select: none; gap: var(--gap);
  padding-block: 1.6rem; border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { flex: none; display: flex; gap: var(--gap); align-items: center; min-width: 100%; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: var(--gap); font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.6rem); font-weight: 350; white-space: nowrap; letter-spacing: -.02em; }
.marquee-item:nth-child(even) { font-style: italic; color: var(--accent); }
.marquee-item::after { content: "✦"; font-size: .45em; color: var(--amber); font-style: normal; }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }
.section--dark .marquee { border-color: var(--line-light); }

/* ==========================================================================
   Services
   ========================================================================== */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.service-card {
  position: relative; display: flex; flex-direction: column; min-height: 520px;
  padding: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); border-radius: var(--radius-lg);
  background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  clip-path: circle(0 at 85% 12%); transition: clip-path .8s var(--ease-out);
}
.service-card:hover { color: var(--white); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { clip-path: circle(150% at 85% 12%); }
.service-card .s-top { display: flex; justify-content: space-between; align-items: flex-start; }
.service-card .s-num { font-family: var(--serif); font-size: 1rem; font-style: italic; color: var(--muted); transition: color .5s; }
.service-card:hover .s-num { color: var(--amber); }
.service-card .s-icon {
  width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center;
  background: var(--sand); color: var(--accent); transition: background-color .5s, color .5s, transform .6s var(--ease);
}
.service-card .s-icon .icon { width: 32px; height: 32px; stroke-width: 1.4; }
.service-card:hover .s-icon { background: var(--amber); color: var(--ink); transform: rotate(-8deg) scale(1.05); }
.service-card h3 { font-family: var(--serif); font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.5rem); font-weight: 400; margin-top: auto; padding-top: 3rem; letter-spacing: -.025em; }
.service-card .s-desc { color: var(--muted); margin-top: .9rem; transition: color .5s; }
.service-card:hover .s-desc { color: var(--muted-light); }
.service-card .s-list { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.service-card .s-list li { font-size: .78rem; font-weight: 600; padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--line); transition: border-color .5s; }
.service-card:hover .s-list li { border-color: var(--line-light); }
.service-card .s-more { margin-top: 1.6rem; display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; font-size: .95rem; }
.service-card .s-more .arrow {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); transition: background-color .4s, border-color .4s, transform .4s var(--ease);
}
.service-card:hover .s-more .arrow { background: var(--amber); border-color: var(--amber); color: var(--ink); transform: rotate(-45deg); }
.service-card .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ==========================================================================
   Owl story
   ========================================================================== */
.owl-section { overflow: hidden; }
.owl-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: center; }
.owl-art {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--ink-3), var(--ink) 70%);
  display: grid; place-items: center; max-width: 520px; width: 100%; margin-inline: auto;
}
.owl-art::before, .owl-art::after {
  content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.14);
  animation: spin 60s linear infinite;
}
.owl-art::after { inset: -14%; border-style: solid; border-color: rgba(255,255,255,.06); animation-duration: 90s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.owl-art svg { width: 62%; overflow: visible; }
.owl-art .owl-stroke { stroke: var(--white); }
.owl-art .owl-eye { fill: var(--amber); transform-box: fill-box; transform-origin: center; animation: blink 6s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.owl-art .owl-pupil { fill: var(--ink); transition: transform .3s var(--ease); }
.owl-badge {
  position: absolute; display: flex; align-items: center; gap: .55rem;
  padding: .6rem .95rem; border-radius: 999px; background: var(--paper-2); color: var(--ink);
  font-size: .82rem; font-weight: 650; box-shadow: var(--shadow); white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.owl-badge .icon { width: 18px; height: 18px; color: var(--accent); }
.owl-badge--1 { top: 10%; left: -4%; }
.owl-badge--2 { top: 48%; right: -8%; animation-delay: -2s; }
.owl-badge--3 { bottom: 8%; left: 6%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.traits { display: grid; gap: 0; margin-top: 2.2rem; border-top: 1px solid var(--line-light); }
.trait { display: grid; grid-template-columns: 48px 1fr; gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line-light); }
.trait .t-icon { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; color: var(--amber); }
.trait h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .2rem; }
.trait p { color: var(--muted-light); font-size: .95rem; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 28px; left: 28px; right: 28px; height: 1px; background: var(--line); }
.step { position: relative; padding-right: 1.5rem; }
.step .s-dot {
  position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line); color: var(--accent);
  transition: background-color .4s, color .4s, border-color .4s;
}
.step:hover .s-dot { background: var(--ink); color: var(--amber); border-color: var(--ink); }
.step .s-count { display: block; margin-top: 1.4rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.step h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 450; margin: .4rem 0 .5rem; }
.step p { font-size: .93rem; color: var(--muted); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-light); }
.stat { padding: 2rem 1.5rem 0 0; border-right: 1px solid var(--line-light); }
.stat + .stat { padding-left: 1.5rem; }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--serif); font-size: clamp(3rem, 2rem + 4vw, 6rem); font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.stat .num sup { font-size: .4em; color: var(--amber); vertical-align: top; margin-left: .1em; top: .4em; position: relative; }
.stat .label { margin-top: .8rem; color: var(--muted-light); font-size: .95rem; max-width: 22ch; }

/* ==========================================================================
   Projects
   ========================================================================== */
.projects-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 1.2rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.5rem;
  scrollbar-width: thin; scrollbar-color: var(--ink) transparent;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.projects-rail::-webkit-scrollbar { height: 4px; }
.projects-rail::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 4px; }
.projects-rail > * { scroll-snap-align: start; }
.rail-controls { display: flex; gap: .6rem; }
.rail-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  transition: background-color .3s, color .3s, border-color .3s;
}
.rail-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.rail-btn:disabled { opacity: .35; pointer-events: none; }

.project-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card .p-thumb {
  position: relative; aspect-ratio: 4 / 3; background: #fff; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.project-card .p-thumb img {
  position: absolute; top: 50%; left: 0; width: 200%; max-width: none; height: auto;
  transform: translateY(-50%) scale(1); transform-origin: 25% 50%;
  transition: transform .7s var(--ease);
}
.project-card:hover .p-thumb img { transform: translateY(-50%) scale(1.06); }
.chip--eu { background: rgba(0,51,153,.08); color: #1f3a8a; }
.chip--eu svg { width: 18px; height: 12px; border-radius: 2px; }
.project-card .p-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.project-card .p-meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.project-card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 450; letter-spacing: -.02em; }
.project-card .p-sub { font-weight: 600; font-size: .92rem; line-height: 1.4; }
.project-card .p-desc { font-size: .92rem; color: var(--muted); }
.project-card .p-foot { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.project-card .p-code { font-size: .72rem; color: var(--muted); font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: -.01em; word-break: break-all; }
.project-card .p-go {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sand);
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.project-card:hover .p-go { background: var(--accent); color: var(--white); transform: rotate(-45deg); }
.project-card a.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .65rem 1.15rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .9rem;
  transition: background-color .25s, color .25s, border-color .25s;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.filter-btn .count { opacity: .55; margin-left: .3rem; font-weight: 500; }
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.project-card.is-hidden { display: none; }

.funds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.fund {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  padding: 1.6rem; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line);
  min-height: 260px; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.fund:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.fund .f-logo { height: 150px; overflow: hidden; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.fund .f-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); transition: transform .6s var(--ease); }
.fund:hover .f-logo img { transform: scale(1.6); }
.fund h3 { font-size: 1.15rem; font-weight: 700; }
.fund p { font-size: .9rem; color: var(--muted); margin-top: .3rem; }

/* ==========================================================================
   Community CTA
   ========================================================================== */
.community {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--accent); color: var(--white);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); isolation: isolate;
}
.community::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(circle at 0% 100%, var(--amber), transparent 50%);
}
.community-body { padding: clamp(2rem, 1.5rem + 3vw, 4.5rem); display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; }
.community .eyebrow { color: var(--white); }
.community h2 em { color: var(--ink); }
.community p { color: rgba(255,255,255,.88); max-width: 46ch; }
.community-perks { display: flex; flex-wrap: wrap; gap: .5rem; }
.community-collage { position: relative; min-height: 460px; }
.community-collage img {
  position: absolute; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg);
  border: 5px solid var(--paper-2); transition: transform .6s var(--ease);
}
.community-collage img:nth-child(1) { width: 52%; aspect-ratio: 4/3; top: 10%; left: 4%; transform: rotate(-5deg); }
.community-collage img:nth-child(2) { width: 46%; aspect-ratio: 3/4; top: 6%; right: 6%; transform: rotate(4deg); }
.community-collage img:nth-child(3) { width: 56%; aspect-ratio: 4/3; bottom: 6%; left: 22%; transform: rotate(-1deg); }
.community:hover .community-collage img:nth-child(1) { transform: rotate(-8deg) translate(-6px, -6px); }
.community:hover .community-collage img:nth-child(2) { transform: rotate(7deg) translate(6px, -4px); }
.community:hover .community-collage img:nth-child(3) { transform: rotate(1deg) translateY(6px); }

/* ==========================================================================
   Social / news
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.news-card {
  position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem;
  border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.news-card .n-head { display: flex; align-items: center; justify-content: space-between; }
.news-card .n-src { display: flex; align-items: center; gap: .7rem; font-weight: 700; font-size: .92rem; }
.news-card .n-src .badge { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--white); }
.news-card .n-src .badge .icon { width: 20px; height: 20px; }
.badge--ig { background: linear-gradient(135deg, #F58529, #DD2A7B 50%, #8134AF); }
.badge--in { background: #0A66C2; }
.news-card time { font-size: .8rem; color: var(--muted); }
.news-card h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 450; }
.news-card p { color: var(--muted); font-size: .95rem; }
.news-card .link-arrow { margin-top: auto; }
.news-card a.stretched::after { content: ""; position: absolute; inset: 0; }

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.member { text-align: left; display: flex; flex-direction: column; gap: 1rem; }
.member .m-photo {
  position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--sand);
  box-shadow: 0 0 0 1px var(--line), 0 0 0 10px var(--paper), 0 0 0 11px var(--line);
  margin: 11px;
}
.member .m-photo img {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.22);
  filter: grayscale(1) contrast(1.05); transition: transform .7s var(--ease), filter .7s var(--ease);
}
.member:hover .m-photo img { transform: scale(1.3); filter: grayscale(0); }
.member .m-photo::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14,22,36,.5));
  opacity: 0; transition: opacity .5s;
}
.member:hover .m-photo::after { opacity: 1; }
.member .m-plus {
  position: absolute; right: 9%; bottom: 9%; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper-2); display: grid; place-items: center; color: var(--ink);
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.member:hover .m-plus { background: var(--accent); color: var(--white); transform: rotate(90deg); }
.member h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 450; }
.member .m-role { font-size: .88rem; color: var(--muted); margin-top: .2rem; }
.member button { text-align: left; display: contents; }
.member button:focus-visible .m-photo { outline: 2px solid var(--accent); outline-offset: 3px; }

.modal {
  width: min(880px, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 0; border: 0;
  border-radius: var(--radius-lg); background: var(--paper-2); color: var(--text); box-shadow: var(--shadow-lg); overflow: auto;
}
.modal::backdrop { background: rgba(14,22,36,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .45s var(--ease-out); }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal-inner { display: grid; grid-template-columns: 300px 1fr; }
.modal-photo { background: var(--sand); display: grid; place-items: center; padding: 2rem; }
.modal-photo .ph { width: 100%; max-width: 240px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.modal-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.22); }
.modal-body { padding: clamp(1.5rem, 1rem + 2vw, 2.8rem); position: relative; }
.modal-body h2 { font-family: var(--serif); font-size: 2rem; font-weight: 400; padding-right: 3rem; }
.modal-body .m-role { color: var(--accent); font-weight: 600; font-size: .92rem; margin: .4rem 0 1.4rem; }
.modal-body p { color: var(--muted); font-size: .98rem; }
.modal-close {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .25s, color .25s;
}
.modal-close:hover { background: var(--ink); color: var(--white); }

/* ==========================================================================
   Feature / content blocks
   ========================================================================== */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.split--top { align-items: start; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-caption { font-size: .78rem; color: var(--muted); margin-top: .7rem; }
.media-caption a { text-decoration: underline; }
.sticky { position: sticky; top: calc(var(--header-h) + 2rem); }

.prose { font-size: 1.08rem; color: var(--text); }
.prose p { margin-bottom: 1.2em; }
.prose p.big { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.3; letter-spacing: -.015em; font-weight: 400; color: var(--ink); }
.prose strong { font-weight: 700; color: var(--ink); }

.mvv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.mvv-card {
  padding: 2rem; border-radius: var(--radius); border: 1px solid var(--line-light);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0));
  display: flex; flex-direction: column; gap: 1rem; min-height: 300px;
  transition: border-color .4s, transform .4s var(--ease);
}
.mvv-card:hover { border-color: var(--amber); transform: translateY(-4px); }
.mvv-card .icon { width: 34px; height: 34px; color: var(--amber); stroke-width: 1.3; }
.mvv-card h3 { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); margin-top: auto; }
.mvv-card p { font-family: var(--serif); font-size: 1.55rem; line-height: 1.25; letter-spacing: -.015em; color: var(--white); }

.disciplines { display: flex; flex-wrap: wrap; gap: .6rem; }
.disciplines li {
  padding: .7rem 1.2rem; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line);
  font-weight: 600; font-size: .95rem; transition: background-color .3s, color .3s, transform .3s var(--ease);
}
.disciplines li:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }

.feature-list { display: grid; gap: 1rem; }
.feature {
  display: grid; grid-template-columns: 64px 1fr; gap: 1.3rem; padding: 1.6rem;
  border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .f-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--sand); color: var(--accent); }
.feature .f-icon .icon { width: 28px; height: 28px; }
.feature h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 450; margin-bottom: .45rem; }
.feature p { color: var(--muted); font-size: .97rem; }

.check-list { display: grid; gap: .9rem; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: .9rem; align-items: start; }
.check-list li .icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--accent); color: var(--white); stroke-width: 2.4; }
.section--dark .check-list li .icon { background: var(--amber); color: var(--ink); }

.numbered { display: grid; gap: 0; counter-reset: n; border-top: 1px solid var(--line); }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 70px 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.2rem; }
.numbered li strong { display: block; font-size: 1.1rem; margin-bottom: .2rem; }
.numbered li span { color: var(--muted); }
.section--dark .numbered, .section--dark .numbered li { border-color: var(--line-light); }
.section--dark .numbered li::before { color: var(--amber); }
.section--dark .numbered li span { color: var(--muted-light); }

.program-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.program-col { padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--line); }
.program-col--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.program-col .pc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.program-col h3 { font-family: var(--serif); font-size: 2.1rem; font-weight: 400; }
.program-col .pc-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--accent); }
.program-col--dark .pc-icon { background: rgba(255,255,255,.08); color: var(--amber); }
.program-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 0;
  border-top: 1px solid var(--line); font-weight: 600; font-size: 1.05rem;
  transition: padding .3s var(--ease), color .3s;
}
.program-col--dark .program-list li { border-color: var(--line-light); }
.program-list li .icon { width: 18px; height: 18px; opacity: .35; transition: opacity .3s, transform .3s var(--ease); }
.program-list li:hover { padding-left: .5rem; color: var(--accent); }
.program-col--dark .program-list li:hover { color: var(--amber); }
.program-list li:hover .icon { opacity: 1; transform: translateX(-4px); }

.services-detail { display: grid; gap: 1.2rem; }
.sd-group { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 2rem; padding: 2.4rem 0; border-top: 1px solid var(--line); }
.sd-group h3 { font-family: var(--serif); font-size: var(--fs-xl); font-weight: 400; }
.sd-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.6rem); border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: .45rem; }
.field label, .field legend { font-size: .85rem; font-weight: 650; }
.field .req { color: var(--accent); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.textarea { min-height: 130px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(14,22,36,.28); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); background: var(--paper-2); box-shadow: 0 0 0 4px rgba(232,169,58,.25); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230E1624' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.options { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .2rem; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option span {
  display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--line); font-size: .9rem; font-weight: 600; transition: all .2s;
}
.option input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-success {
  display: none; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-radius: 14px;
  background: rgba(31,107,102,.1); color: var(--teal); font-weight: 600;
}
.form-success.is-visible { display: flex; }

/* ==========================================================================
   Contact
   ========================================================================== */
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.office {
  position: relative; display: flex; flex-direction: column; gap: 1.2rem; padding: clamp(1.6rem, 1rem + 2vw, 2.4rem);
  border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line-light); color: var(--white); overflow: hidden;
}
.office .o-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.office .o-flag { font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--amber); }
.office h3 { font-family: var(--serif); font-size: 2rem; font-weight: 400; margin-top: .3rem; }
.office .o-time { font-size: .82rem; color: var(--muted-light); text-align: right; }
.office .o-time strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; color: var(--white); }
.office ul { display: grid; gap: .8rem; }
.office li { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; color: var(--muted-light); font-size: .97rem; }
.office li .icon { width: 20px; height: 20px; color: var(--amber); margin-top: 2px; }
.office li a { color: var(--white); }
.office li a:hover { color: var(--amber); }
.office .o-map { margin-top: auto; border-radius: 16px; overflow: hidden; aspect-ratio: 16/8; background: var(--ink-3); }
.office .o-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

.cta-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: var(--white);
  padding: clamp(2.5rem, 2rem + 4vw, 6rem); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; align-items: end; gap: 2rem; isolation: isolate;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 100% 0%, rgba(232,169,58,.35), transparent 45%),
    radial-gradient(circle at 0% 120%, rgba(201,71,44,.4), transparent 50%);
}
.cta-band h2 em { color: var(--amber); }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--white); padding-top: clamp(4rem, 3rem + 4vw, 7rem); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-light); }
.footer-brand img { height: 52px; width: auto; filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 1.4rem; color: var(--muted-light); max-width: 34ch; font-size: .95rem; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.6rem; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-light);
  transition: background-color .3s, color .3s, border-color .3s;
}
.footer-social a:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.footer-social .icon { width: 19px; height: 19px; }
.footer-col h4 { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.2rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a, .footer-col li { color: var(--muted-light); font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-col address { font-style: normal; color: var(--muted-light); font-size: .93rem; line-height: 1.7; }
.footer-col address a { color: var(--white); }
.footer-col address a:hover { color: var(--amber); }
.footer-col .nl-logo { height: 30px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; opacity: .9; }
.footer-word {
  font-family: var(--serif); font-weight: 300; font-size: clamp(5rem, 2rem + 18vw, 20rem); line-height: .8;
  letter-spacing: -.06em; text-align: center; padding-top: 2rem; margin-bottom: -.12em;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none;
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.6rem 0; font-size: .85rem; color: var(--muted-light); border-top: 1px solid var(--line-light); }
.footer-bottom a:hover { color: var(--white); }
.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 50; width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--white); display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .35s, transform .35s var(--ease), background-color .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--amber); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: calc(151 - 151 * var(--progress, 0)); }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--white); padding: 6rem var(--gutter); }
.notfound .big { font-family: var(--serif); font-size: clamp(7rem, 4rem + 15vw, 16rem); font-weight: 300; line-height: .9; letter-spacing: -.06em; }
.notfound .big em { color: var(--amber); }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 45ms + var(--d, 0s)); }
.js [data-split].is-in .w > span { transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .services { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-card h3 { padding-top: 2rem; }
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before { top: 28px; bottom: 28px; left: 28px; right: auto; width: 1px; height: auto; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 1.4rem; padding: 0 0 2rem; }
  .step .s-dot { grid-row: span 3; }
  .step .s-count { margin-top: .4rem; }
  .projects-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .grid-2, .grid-3, .grid-4, .intro-grid, .owl-grid, .split, .section-head--split, .mvv, .funds, .program-cols, .offices, .sd-group { grid-template-columns: 1fr; }
  .community { grid-template-columns: 1fr; }
  .community-collage { min-height: 340px; order: -1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 1.6rem 1rem 1.6rem 0; border-bottom: 1px solid var(--line-light); }
  .stat:nth-child(2n) { border-right: 0; padding-left: 1rem; }
  .stat:nth-child(2n+1) { padding-left: 0; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
  .hero-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
  .hero-tab .label { font-size: .8rem; }
  .cta-band { grid-template-columns: 1fr; }
  .modal-inner { grid-template-columns: 1fr; }
  .modal-photo { padding: 1.5rem; }
  .modal-photo .ph { max-width: 150px; }
  .sticky { position: static; }
  .owl-badge--1 { left: 0; } .owl-badge--2 { right: 0; }
  .brand img { height: 38px; }
}
@media (max-width: 600px) {
  .projects-grid, .news-grid, .team-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-tab .label { display: none; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .projects-rail { grid-auto-columns: 86%; }
  .lang { display: none; }
  .owl-badge { font-size: .72rem; padding: .45rem .7rem; }
  .numbered li { grid-template-columns: 48px 1fr; }
  .feature { grid-template-columns: 1fr; }
  .team-grid { gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-split] .w > span { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ==========================================================================
   v2 components: subnav, service tabs, trainings, advisors
   ========================================================================== */
.footer-social a:has(span) { width: auto; padding: 0 .9rem; display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; }
.contact-social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.link-underline a { text-decoration: underline; text-underline-offset: 3px; }
.prose--light p { color: var(--muted-light); }

.mock-badge {
  display: inline-flex; align-items: center; gap: .35rem; width: max-content;
  padding: .22rem .6rem; border-radius: 999px; border: 1px dashed var(--amber);
  background: rgba(232,169,58,.12); color: #8a5a07; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.section--dark .mock-badge, .page-hero--dark .mock-badge { color: var(--amber); }

/* Sticky in-page navigation */
.subnav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-block: 1px solid var(--line); transition: top .4s var(--ease);
}
.subnav-inner { display: flex; align-items: center; gap: .3rem; overflow-x: auto; padding-block: .6rem; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none; padding: .5rem .95rem; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--muted);
  transition: background-color .25s, color .25s;
}
.subnav a:hover { color: var(--ink); background: rgba(14,22,36,.05); }
.subnav a.is-active { background: var(--ink); color: var(--white); }
.subnav .subnav-cta { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); }
.subnav .subnav-cta .icon { width: 16px; height: 16px; }

/* Service tabs */
.tab-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.tab {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; text-align: left;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper-2);
  transition: background-color .35s var(--ease), color .35s, border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.tab:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tab .tab-icon { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--accent); transition: background-color .35s, color .35s; }
.tab .tab-text { display: grid; font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.tab .tab-text small { font-size: .72rem; letter-spacing: .14em; color: var(--muted); font-weight: 700; margin-bottom: .2rem; transition: color .35s; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: var(--shadow); }
.tab[aria-selected="true"] .tab-icon { background: var(--accent); color: var(--white); }
.tab[aria-selected="true"] .tab-text small { color: var(--amber); }
.tab-panel { scroll-margin-top: calc(var(--header-h) + 90px); }
.js .tab-panel[hidden] { display: none; }
.js .tab-panel:not([hidden]) { animation: panel-in .6s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } }
.no-js .tab-panel + .tab-panel { margin-top: 4rem; }

.panel-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.panel-intro { display: grid; gap: 1.2rem; justify-items: start; position: sticky; top: calc(var(--header-h) + 90px); }
.panel-intro p:not(.lead) { color: var(--muted); }
.offer-cards { display: grid; gap: 1rem; }
.offer-card { padding: clamp(1.4rem, 1rem + 1.2vw, 2rem); border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); display: grid; gap: .5rem; }
.offer-card .o-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--amber); margin-bottom: .4rem; }
.offer-card h4 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.offer-card .o-sub { color: var(--accent); font-weight: 600; font-size: .95rem; margin-bottom: .8rem; }
.offer-card .check-list li { font-size: .97rem; }
.offer-card .check-list li .icon { width: 24px; height: 24px; padding: 4px; }
.mini-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.mini { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; }
.mini .mini-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--accent); }
.mini h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: .3rem; }
.mini p { font-size: .93rem; color: var(--muted); margin-bottom: .5rem; }
.program-col h4 { font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.program-list li a, .program-list li span { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }
.program-list li .icon { width: 18px; height: 18px; }
.pc-note { margin-top: 1.6rem; color: var(--muted-light); font-size: .95rem; }
.consult-groups { display: grid; gap: 1rem; }
.cg-title { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-top: .6rem; }
.consult-groups .cg-title:first-child { margin-top: 0; }

/* Process on dark */
.process--dark .process::before { background: var(--line-light); }
.process--dark .step .s-dot { background: var(--ink-2); border-color: var(--line-light); color: var(--amber); }
.process--dark .step:hover .s-dot { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.process--dark .step p, .process--dark .step .s-count { color: var(--muted-light); }

/* Team teaser */
.team-teaser { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
.team-teaser .faces { display: flex; }
.team-teaser .faces img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; transform: scale(1); border: 4px solid var(--sand); margin-left: -18px; background: var(--sand); }
.team-teaser .faces img:first-child { margin-left: 0; }

/* Training cards */
.trainings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.training-card {
  --cat: var(--accent);
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.training-card.cat-growth { --cat: var(--teal); }
.training-card.cat-entre { --cat: #B7791F; }
.training-card.cat-research { --cat: var(--ink-3); }
.training-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.training-card.is-hidden, .project-card.is-hidden { display: none; }
.tc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.3rem 1.4rem; background: color-mix(in srgb, var(--cat) 9%, var(--paper-2)); border-bottom: 1px solid var(--line); }
.tc-date { display: grid; justify-items: center; min-width: 64px; padding: .5rem .6rem; border-radius: 12px; background: var(--paper-2); box-shadow: var(--shadow-sm); line-height: 1.1; }
.tc-date strong { font-size: 1.6rem; font-weight: 800; color: var(--cat); letter-spacing: -.02em; }
.tc-date span { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tc-cat { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 700; color: var(--cat); background: var(--paper-2); }
.tc-cat .icon { width: 15px; height: 15px; }
.tc-body { padding: 1.3rem 1.4rem .4rem; display: grid; gap: .7rem; flex: 1; align-content: start; }
.tc-body h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.tc-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tc-body > p { color: var(--muted); font-size: .93rem; }
.tc-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .3rem; }
.tc-meta li { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600; color: var(--text); }
.tc-meta .icon { width: 16px; height: 16px; color: var(--cat); }
.tc-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.4rem 1.3rem; margin-top: .8rem; border-top: 1px dashed var(--line); }
.tc-trainer { display: inline-flex; align-items: center; gap: .55rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.tc-trainer img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; transform: scale(1.2); }
.tc-trainer { overflow: hidden; }
.training-card .p-go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.training-card:hover .p-go { background: var(--cat); color: var(--white); transform: translateX(3px); }

.filter-panel { display: grid; gap: 1rem; margin-bottom: 2.5rem; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); }
.filter-panel > div { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.filter-panel .filters { margin-bottom: 0; }
.filter-label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); min-width: 90px; }
.filter-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }

/* Training detail */
.training-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.training-main { display: grid; gap: 3rem; }
.t-block { display: grid; gap: 1.2rem; }
.t-block .h-2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.trainer-card { grid-template-columns: 96px 1fr; align-items: center; gap: 1.4rem; padding: 1.4rem; border-radius: var(--radius); background: var(--sand); }
.trainer-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; transform: scale(1.18); }
.trainer-card > img { transform: none; clip-path: circle(42%); }
.trainer-card small { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.trainer-card h3 { font-size: 1.3rem; font-weight: 700; margin: .2rem 0; }
.trainer-card p { color: var(--muted); font-size: .92rem; margin-bottom: .6rem; }
.info-card { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: .8rem; padding: 1.6rem; border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow); }
.info-card ul { display: grid; margin-bottom: .6rem; }
.info-card li { display: grid; grid-template-columns: 40px 1fr; gap: .8rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.info-card li:last-child { border-bottom: 0; }
.info-card li .icon { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--sand); color: var(--accent); }
.info-card small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-card strong { font-size: .98rem; }
.info-card .btn { width: 100%; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--accent); flex: none; }

/* Advisors */
.advisors-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.advisors { display: grid; gap: 0; border-top: 1px solid var(--line); }
.advisor { display: grid; grid-template-columns: 96px 1fr; gap: 1.6rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.adv-avatar {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3)); color: var(--amber);
  font-size: 1.6rem; font-weight: 700; letter-spacing: .02em; box-shadow: 0 0 0 6px var(--paper-2), 0 0 0 7px var(--line);
  transition: transform .5s var(--ease);
}
.advisor:hover .adv-avatar { transform: rotate(-6deg) scale(1.04); }
.adv-body { display: grid; gap: .45rem; align-content: start; }
.adv-body h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.015em; }
.adv-role { color: var(--accent); font-weight: 650; }
.adv-org { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .9rem; }
.adv-org .icon { width: 16px; height: 16px; }
.adv-desc { color: var(--text); margin-top: .3rem; }
.adv-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.adv-tags li { font-size: .78rem; font-weight: 600; padding: .32rem .7rem; border-radius: 999px; background: var(--sand); }

@media (max-width: 1100px) {
  .trainings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-grid, .training-layout, .advisors-wrap { grid-template-columns: 1fr; }
  .panel-intro, .info-card { position: static; }
  .team-teaser { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 860px) {
  .tab-list { grid-template-columns: 1fr; }
  .tab { padding: .9rem 1rem; }
  .mini-features { grid-template-columns: 1fr; }
  .program-cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .trainings-grid { grid-template-columns: 1fr; }
  .advisor { grid-template-columns: 64px 1fr; gap: 1rem; }
  .adv-avatar { width: 64px; height: 64px; font-size: 1.1rem; }
  .trainer-card { grid-template-columns: 72px 1fr; }
  .trainer-card > img { width: 72px; height: 72px; }
  .filter-label { min-width: 0; width: 100%; }
  .tab-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
  .tab { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .8rem; }
  .tab .tab-icon { width: 40px; height: 40px; }
  .tab .tab-text { font-size: .9rem; }
}
.mobile-nav .lang { display: inline-flex !important; width: max-content; border-color: var(--line-light); }
.mobile-nav .lang a[aria-current] { background: var(--white); color: var(--ink); }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 80px); }
.tab-panel .program-col { padding: 1.5rem; }
.tab-panel .program-col h4 { font-size: 1.45rem; }
.tab-panel .program-list li { font-size: .95rem; padding: .85rem 0; }
.tab-panel .pc-icon { width: 46px; height: 46px; }
@media (max-width: 600px) {
  .filter-panel { padding: 1rem; }
  .filter-panel > div { gap: .5rem; }
  .filter-panel .filters, .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1rem; padding-inline: 1rem; width: calc(100% + 2rem); }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex: none; }
}
@media (max-width: 600px) {
  .filter-panel > div { display: block; min-width: 0; }
  .filter-panel .filter-label { display: block; margin-bottom: .5rem; }
  .filters { min-width: 0; max-width: none; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1rem; }
  .member h3 { font-size: 1.05rem; }
  .member .m-role { font-size: .8rem; }
  .member .m-plus { width: 34px; height: 34px; right: 4%; bottom: 4%; }
}

/* v3: forms posted to the API, custom pages, advisor photos */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-error { display: none; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-radius: 14px; background: rgba(186, 26, 26, .08); color: #93000a; font-weight: 600; }
.form-error.is-visible { display: flex; }
button[disabled] { opacity: .6; pointer-events: none; }
img.adv-avatar { object-fit: cover; padding: 0; }
.custom-prose h2 { font-size: var(--fs-xl); font-weight: 700; margin: 2.2rem 0 1rem; letter-spacing: -.02em; }
.custom-prose h3 { font-size: 1.3rem; font-weight: 700; margin: 1.8rem 0 .8rem; }
.custom-prose ul { list-style: disc; padding-left: 1.4rem; margin: 0 0 1.2em; }
.custom-prose li { margin-bottom: .4rem; }
.custom-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.custom-prose img { border-radius: var(--radius-lg); margin: 1.5rem 0; }

/* ==========================================================================
   v5: sections added from the panel ("Bölüm ekle")
   ========================================================================== */
.block-actions:not(:empty) { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.block-card .link-arrow { margin-top: .8rem; color: var(--accent); }
.section--dark .feature { background: rgba(255,255,255,.04); border-color: var(--line-light); }
.section--dark .feature p { color: var(--muted-light); }
.section--dark .feature .f-icon { background: rgba(255,255,255,.08); color: var(--amber); }

.faq { display: grid; gap: .7rem; }
.faq-item { border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper-2); overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem; cursor: pointer; list-style: none; font-weight: 650; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--accent); transition: transform .35s var(--ease), background-color .3s, color .3s; }
.faq-icon .icon { width: 18px; height: 18px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--accent); color: var(--white); }
.faq-a { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: 1rem; }
.section--dark .faq-item { background: rgba(255,255,255,.04); border-color: var(--line-light); }
.section--dark .faq-a { color: var(--muted-light); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.gallery figcaption { margin-top: .5rem; font-size: .88rem; color: var(--muted); }

.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.quote-block { margin: 0; text-align: center; display: grid; gap: 1.6rem; justify-items: center; }
.quote-block blockquote { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
.quote-block blockquote::before { content: "“"; display: block; font-size: 3em; line-height: .6; color: var(--accent); }
.quote-block figcaption { display: flex; align-items: center; gap: .9rem; text-align: left; }
.quote-block figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote-block figcaption b { display: block; }
.quote-block figcaption small { color: var(--muted); }
.section--dark .quote-block blockquote::before { color: var(--amber); }
.section--dark .quote-block figcaption small { color: var(--muted-light); }
.block--stats:not(.section--dark) .stats { border-color: var(--line); }
.block--stats:not(.section--dark) .stat { border-color: var(--line); }
.block--stats:not(.section--dark) .stat .label { color: var(--muted); }
.block .prose ul { list-style: disc; padding-left: 1.3rem; margin: 0 0 1em; }
.block .prose li { margin-bottom: .35rem; }

/* ==========================================================================
   v6: accessibility layer (Impeccable audit) — colours only, motion untouched
   ========================================================================== */
/* Small accent text uses the deeper accent so it passes AA on light surfaces */
.eyebrow, .nav-link.is-active, .adv-role, .offer-card .o-sub, .cg-title, .subnav .subnav-cta,
.trainer-card small, .block-card .link-arrow, .custom-prose a, .numbered li::before { color: var(--accent-ink); }
.btn::before { background: var(--accent-ink); }
.btn--accent::before { background: var(--ink); }
/* Dark cards inside light sections get the dark-surface text colours */
.cta-band .lead, .cta-band p { color: var(--muted-light); }
.cta-band .eyebrow { color: var(--amber); }
/* Focus rings stay visible on dark and coloured surfaces */
.hero :focus-visible, .section--dark :focus-visible, .cta-band :focus-visible, .community :focus-visible,
.page-hero--dark :focus-visible, .page-hero--image :focus-visible, .mobile-nav :focus-visible, .site-footer :focus-visible,
.site-header.on-hero:not(.is-scrolled) :focus-visible { outline-color: var(--white); }
/* Hero copy stays readable over every slide photo */
.hero-slide img { filter: brightness(.85); }
.hero-title, .hero-lead { text-shadow: 0 2px 28px rgba(15, 23, 42, .45); }
.hero-lead { color: rgba(255, 255, 255, .92); }
.hero-tab { color: rgba(255, 255, 255, .72); }
/* Slider controls: labelled buttons + pause (motion itself unchanged) */
.hero-tabs { grid-template-columns: repeat(var(--tabs, 3), minmax(0, 1fr)) auto; align-items: end; }
.hero-pause {
  align-self: center; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: var(--white); border: 1px solid rgba(255, 255, 255, .35); background: rgba(15, 23, 42, .25);
  transition: background-color .25s, border-color .25s;
}
.hero-pause:hover { background: rgba(255, 255, 255, .15); border-color: var(--white); }
.hero-pause .icon { width: 16px; height: 16px; }
.hero-pause .i-play, .hero-pause.is-paused .i-pause { display: none; }
.hero-pause.is-paused .i-play { display: block; }
.nav-item.dd-closed .dropdown { opacity: 0; visibility: hidden; }
@media (max-width: 600px) {
  .hero-tab .label { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Type: footer headings are real h2s; nothing below 12px */
.footer-col .footer-title { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.2rem; line-height: 1.4; }
.mock-badge { font-size: .75rem; }
.tc-date span, .project-card .p-code, .hero-scroll, .tc-cat { font-size: .78rem; }
@media (max-width: 600px) { .owl-badge { font-size: .78rem; } }
.mobile-nav .lang a { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; }
/* Touch targets ≥44px (re-audit) */
.hero-pause { width: 44px; height: 44px; }
@media (max-width: 860px) { .hero-tab { min-height: 44px; align-content: end; } }
@media (max-width: 860px) { .footer-col ul a { display: inline-block; padding: .55rem 0; } .footer-col ul { gap: 0; } }

.statement em { font-style: italic; color: var(--accent); }

/* v7: subnav follows the shrunken header; tidier service panels */
.subnav { transition: top .4s var(--ease); }
body:has(.site-header.is-scrolled) .subnav { top: 70px; }
.tab-panel:focus-visible { outline-offset: 14px; }
.tab-panel:target:focus { outline: none; }
.panel-grid:has(.program-cols) { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
.program-col { display: flex; flex-direction: column; }
.program-list li a, .program-list li span { text-wrap: balance; }
.program-col--dark .pc-note { margin-top: auto; padding-top: 1.4rem; border-top: 1px solid var(--line-light); }
.program-col--dark .program-list { margin-bottom: 1.6rem; }
@media (max-width: 1100px) { .panel-grid:has(.program-cols) { grid-template-columns: 1fr; } }

/* v8: social links, volunteers, partners */
.social-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.social-links a {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--ink-3); transition: background-color .25s, color .25s, border-color .25s;
}
.social-links a:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.social-links .icon { width: 16px; height: 16px; }
.member .social-links { margin-top: -.3rem; }
.modal-body .social-links { margin-top: 1.4rem; }
@media (max-width: 860px) { .social-links a { width: 44px; height: 44px; } }

.volunteers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.volunteer {
  display: grid; grid-template-columns: 72px 1fr; gap: 1.2rem; align-items: start; padding: 1.6rem;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-2);
}
.volunteer .adv-avatar { width: 72px; height: 72px; font-size: 1.2rem; }
.volunteer .adv-body h3 { font-size: 1.2rem; }
.volunteer .adv-desc { font-size: .95rem; color: var(--muted); }

.partners-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.partner-card {
  display: flex; flex-direction: column; gap: 1.2rem; padding: 1.6rem;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-2);
  transition: border-color .3s, box-shadow .3s;
}
.partner-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.pc-logo {
  height: 96px; display: grid; place-items: center; border-radius: var(--radius); background: var(--sand);
  font-size: 1.8rem; font-weight: 800; letter-spacing: .04em; color: var(--ink-3);
}
.pc-logo img { max-height: 64px; max-width: 70%; object-fit: contain; }
.pc-body { display: grid; gap: .6rem; justify-items: start; }
.pc-body h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.pc-body p { color: var(--muted); }
.pc-links { margin-top: auto; }

@media (max-width: 1100px) { .volunteers, .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .volunteers, .partners-grid { grid-template-columns: 1fr; } }

/* Bio window: keep the close button above the (later, positioned) body text so it stays clickable */
.modal-close { z-index: 2; }
.consent a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a { text-decoration: underline; text-underline-offset: 2px; }

/* Training state: seats, full, closed, finished */
.t-state { display: inline-flex; align-items: center; width: max-content; font-size: .75rem; font-weight: 700; letter-spacing: .02em; padding: .3rem .65rem; border-radius: 999px; background: var(--sand); color: var(--ink-3); }
.t-state--few { background: rgba(244, 121, 32, .12); color: #9A3412; }
.t-state--full, .t-state--closed { background: rgba(185, 28, 28, .1); color: #991B1B; }
.t-state--past { background: var(--sand-2); color: var(--muted); }
.training-card.is-past { opacity: .72; }
.t-closed { display: flex; gap: .5rem; align-items: flex-start; font-weight: 600; color: var(--ink-3); }
.t-closed .icon { width: 18px; height: 18px; flex: none; margin-top: .15rem; }
.t-closed-card { display: grid; gap: 1rem; justify-items: start; }

/* News / blog */
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.post-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-2); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.post-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.post-cover { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-cover img { transform: scale(1.04); }
.post-body { display: grid; gap: .55rem; padding: 1.4rem; justify-items: start; }
.post-body time { font-size: .8rem; font-weight: 600; color: var(--muted); }
.post-body h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.post-body p { color: var(--muted); font-size: .95rem; }
.post-figure { margin: 0 0 2.4rem; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--sand); }
.post-figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1100px) { .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .posts-grid { grid-template-columns: 1fr; } }

/* Newsletter (footer) */
.newsletter { display: grid; gap: .7rem; margin-top: 1.8rem; max-width: 26rem; }
.nl-title { font-weight: 700; color: var(--white); }
.nl-row { display: flex; gap: .5rem; }
.nl-row .input { flex: 1; min-width: 0; background: rgba(255, 255, 255, .06); border-color: var(--line-light); color: var(--white); }
.nl-row .input::placeholder { color: var(--muted-light); }
.newsletter .consent { color: var(--muted-light); font-size: .8rem; }
.newsletter .consent a { color: var(--white); }
.newsletter .form-success, .newsletter .form-error { font-size: .85rem; }

/* Panel preview of unpublished changes */
.preview-bar { position: fixed; z-index: 300; left: 50%; bottom: 1rem; transform: translateX(-50%); display: flex; gap: 1rem; align-items: center; max-width: calc(100% - 2rem);
  padding: .7rem 1rem; border-radius: 999px; background: #F47920; color: #1F1300; font-size: .85rem; font-weight: 700; box-shadow: var(--shadow-lg); }
.preview-bar a { text-decoration: underline; white-space: nowrap; }

/* v8: nav labels stay on one line; switch to the menu button before the six items run out of room */
@media (max-width: 1240px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
}

/* Instagram posts on the home page (copied by the panel) */
.news-card .n-img { margin: -1.6rem -1.6rem 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--line); }
.news-card .n-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card p:empty { display: none; }

/* ==========================================================================
   v9 — umbrella site structure (Nov 2026 brief): units, organisations, catalogue
   Unit colours appear only on unit labels, stripes and filters; organisation colours only next to their names.
   ========================================================================== */
:root { --unit-social: #3E6B4F; --unit-social-tint: #E3ECE6; --unit-tech: #1F4E6B; --unit-tech-tint: #E1EAF0; --entity-tr: #494A4A; --entity-nl: #F5821F; }

.tags { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.tag { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem; border-radius: 999px; background: var(--sand); color: var(--ink); font-size: .78rem; font-weight: 600; }
.tag::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; }
.tag--social { background: var(--unit-social-tint); }
.tag--social::before { background: var(--unit-social); }
.tag--tech { background: var(--unit-tech-tint); }
.tag--tech::before { background: var(--unit-tech); }
.tag--org::before { border-radius: 2px; background: var(--entity-tr); }
.tag--org-nl::before { background: var(--entity-nl); }
.unit-stripe { position: absolute; inset: 0 0 auto; height: 4px; display: flex; z-index: 2; }
.unit-stripe i { flex: 1; }
.unit-stripe .u-social { background: var(--unit-social); }
.unit-stripe .u-tech { background: var(--unit-tech); }
.org-mark { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 700; }
.org-mark img { height: 22px; width: auto; max-width: 72px; object-fit: contain; }
.org-mark--light { color: var(--white); padding: .55rem .9rem; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .8rem; word-break: break-all; }
.row-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* Unit cards (home · Who we are) */
.pillar { position: relative; color: inherit; overflow: hidden; }
.pillar--social .p-icon { color: var(--white); background: var(--unit-social); }
.pillar--tech .p-icon { color: var(--white); background: var(--unit-tech); }
.pillar .link-arrow { display: inline-flex; margin-top: .7rem; font-size: .9rem; }

/* Project cards: status, role, organisation */
.project-card .p-meta { justify-content: space-between; align-items: center; color: var(--muted); font-size: .82rem; font-weight: 600; }
.p-status { padding: .2rem .65rem; border-radius: 999px; background: var(--ink); color: var(--white); font-size: .75rem; }
.p-status--starting { background: var(--accent); }
.p-status--completed { background: var(--sand); color: var(--muted); }
.p-role { font-size: .88rem; }
.p-role span { color: var(--muted); margin-right: .3rem; }
.project-card .p-foot { flex-wrap: wrap; }
.project-card .p-foot .org-mark:first-child { margin-right: auto; }

/* Catalogue: tabs + unit / organisation filters */
.filter-panel { display: grid; gap: .9rem; margin-bottom: 2rem; }
.filter-panel .filters { margin: 0; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.filter-row .filter-label { min-width: 6.5rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.filters--tabs { gap: .25rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.filters--tabs .filter-btn { font-size: 1rem; padding: .75rem 1.3rem; }
.group-intro { max-width: 68ch; margin: 0 0 1.8rem; }
.offer-grid, .community-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.expertise-grid, .org-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.offer-item, .expertise, .struct-card {
  position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 1.7rem 1.5rem 1.5rem;
  border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.offer-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.offer-item h3, .expertise h3, .struct-card h4 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.offer-item p, .expertise p, .struct-card p { color: var(--muted); font-size: .94rem; }
.offer-item .tags { margin-top: auto; padding-top: .4rem; }
.offer-item.is-hidden { display: none; }
.o-group { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.community-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.community-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.community-card .cc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.community-card .cc-img img { width: 100%; height: 100%; object-fit: cover; }
.community-card .cc-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.community-card h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.community-card p { color: var(--muted); font-size: .95rem; }
.community-card .tags { margin-top: auto; }
.community-card a.stretched::after { content: ""; position: absolute; inset: 0; }

/* About: our structure, the two organisations */
.structure { display: grid; gap: 1.8rem; }
.struct-root { display: flex; justify-content: center; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.struct-root img { height: 56px; width: auto; }
.struct-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.struct-col { display: grid; gap: .9rem; align-content: start; }
.struct-col > .h-3 { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.struct-card--org .org-mark img { height: 30px; max-width: 120px; }
.org-card { display: grid; gap: 1.2rem; padding: 1.8rem; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); }
.org-card .org-logo { height: 56px; width: auto; max-width: 240px; object-fit: contain; object-position: left center; }
.org-card dl { display: grid; gap: .8rem; margin: 0; }
.org-card dt { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.org-card dd { margin: .2rem 0 0; }

/* Footer: one column per organisation */
.footer-top { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 2fr); }
.footer-orgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.footer-org { display: grid; align-content: start; gap: .5rem; }
.footer-org .legal-name { color: var(--white); font-weight: 600; font-size: .92rem; }
.footer-org address { font-style: normal; color: var(--muted-light); font-size: .93rem; line-height: 1.7; }
.footer-org address a { color: var(--white); }
.footer-org .footer-social { margin-top: .6rem; }

@media (max-width: 1100px) {
  .offer-grid, .community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-orgs { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .struct-cols, .expertise-grid, .org-cards { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .offer-grid, .community-grid, .footer-orgs, .footer-top { grid-template-columns: 1fr; }
  .filter-row .filter-label { width: 100%; }
  .filters--tabs { flex-wrap: nowrap; overflow-x: auto; }
  .filters--tabs .filter-btn { white-space: nowrap; }
}

/* Text logo ("Sadece PUHU yazısı" in Panel › Menü & logo) and empty lists */
.logo-text { font-family: var(--sans); font-weight: 700; font-size: 1.75rem; letter-spacing: .14em; line-height: 1; color: currentColor; }
.logo-text--lg { font-size: 2.6rem; }
.empty-note { padding: 1.4rem 1.6rem; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.community-card .link-arrow { margin-top: .4rem; }
/* Communities without a photo keep the same card shape (equal weight) */
.community-card .cc-img--empty { display: grid; place-items: center; color: var(--muted); background: var(--sand); }
.community-card .cc-img--empty .icon { width: 44px; height: 44px; stroke-width: 1.4; opacity: .55; }
.org-card .org-name { font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; }
.struct-card .legal-name, .org-card .legal-name { color: var(--muted); font-size: .88rem; }
.member .m-photo--initials { display: grid; place-items: center; }
.member .m-photo--initials span { font-size: 2.4rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
/* Footer: registration line, organisation website; About: organisation one-liner */
.footer-org .registry { font-size: .82rem; opacity: .8; }
.footer-social .footer-web { width: auto; padding: 0 .9rem; gap: .45rem; display: inline-flex; align-items: center; border-radius: 999px; font-size: .85rem; }
.org-card .org-about { color: var(--muted); }
/* Home: four service cards (Research, Academy, Consultancy, Products) */
@media (min-width: 1101px) { .services:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Unit colours chosen in the panel (inline --u / --ut); the fixed classes above are the defaults */
.tag--unit[style] { background: var(--ut, var(--sand)); }
.tag--unit[style]::before { background: var(--u, var(--ink)); }
.unit-stripe i[style] { background: var(--u, var(--ink)); }
.pillar[style*="--u"] .p-icon { background: var(--u); color: #fff; }
/* Unit / organisation cards are links too */
.expertise a.stretched::after, .struct-card a.stretched::after { content: ""; position: absolute; inset: 0; }
.expertise .link-arrow, .struct-card .link-arrow { margin-top: auto; font-size: .9rem; }
.expertise, .struct-card { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.expertise:hover, .struct-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* Community pages */
.ev-head { margin: 0 0 1rem; }
.ev-head ~ .projects-grid + .ev-head { margin-top: 2.5rem; }
.resource-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.resource-list li { padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); }
