/* ==========================================================================
   INUAVERSE — site.css
   One stylesheet for the whole site. Change the look by editing the tokens
   in :root — everything else reads from them.
   ========================================================================== */

@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/cinzel-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/cinzel-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Colour */
  --ice: #F4F8FA;          /* page ground */
  --paper: #FFFFFF;        /* cards, raised surfaces */
  --ink: #0B2A30;          /* headings, body text on light */
  --ink-soft: #456268;     /* secondary text on light */
  --line: #DCE7EA;         /* hairlines on light */
  --teal: #0B7783;         /* links + small accents on light (AA on white) */
  --teal-bright: #2FB8C6;  /* logo top colour; accents on dark */
  --blue: #3A5CA8;         /* logo bottom colour */
  --deep: #062126;         /* dark band + footer ground */
  --on-deep: #EEF5F6;      /* text on dark */
  --on-deep-soft: #9DB7BB; /* secondary text on dark */
  --brand: linear-gradient(180deg, var(--teal-bright) 0%, var(--blue) 100%);

  /* Type */
  --title: "Cinzel", "Trajan Pro", Georgia, serif;                       /* headings: echoes the wordmark */
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;  /* labels, nav */
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 72px);
  --header-h: 68px;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(11, 42, 48, .05), 0 12px 32px rgba(11, 42, 48, .08);
  --shadow-lift: 0 2px 4px rgba(11, 42, 48, .06), 0 22px 48px rgba(11, 42, 48, .14);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ice);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--title); font-weight: 600; line-height: 1.12; margin: 0; text-transform: uppercase; letter-spacing: .02em; }
p { margin: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.eyebrow { font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--teal); }
.h-xl { font-size: clamp(32px, 5vw, 58px); }
.h-lg { font-size: clamp(25px, 3.2vw, 36px); }
.lede { font-size: clamp(16px, 1.5vw, 18px); color: var(--ink-soft); max-width: 62ch; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.more { font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.more::after { content: " \2192"; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(244, 248, 250, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: transform .3s ease;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; gap: 34px; font-family: var(--display); }
.nav a { color: var(--ink); font-size: 18px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--teal); }
.menu-btn { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); }
body { padding-top: var(--header-h); }

@media (max-width: 760px) {
  .menu-btn { display: flex; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ice); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 20px; }
  .nav a:last-child { border-bottom: 0; }
}

/* ---------- Home hero ---------- */
body.home { padding-top: 0; }
.hero {
  position: relative; isolation: isolate; overflow: visible;
  min-height: min(100vh, 1040px); min-height: min(100dvh, 1040px);
  display: flex; flex-direction: column;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 50% 46%, rgba(244,248,250,.78) 0%, rgba(244,248,250,0) 70%),
    linear-gradient(180deg, rgba(244,248,250,.86) 0%, rgba(244,248,250,.42) 40%, rgba(244,248,250,.80) 80%, var(--ice) 100%);
}
.hero-main {
  flex: 1; display: grid; align-items: center; gap: 32px;
  grid-template-columns: minmax(180px, 250px) 1fr minmax(200px, 280px);
  padding-top: 48px; padding-bottom: 24px;
  width: 100%;
}
.rail { display: flex; flex-direction: column; gap: 52px; }
.rail .brand img { width: 200px; }
.rail nav { display: flex; flex-direction: column; gap: 20px; font-family: var(--display); }
.rail nav a { color: var(--ink); font-size: 22px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; width: fit-content; border-bottom: 2px solid transparent; }
.rail nav a:hover { color: var(--teal); border-bottom-color: var(--teal); }
.hero-mark { display: flex; justify-content: center; }
.hero-mark .mark-svg {
  width: min(100%, 500px); height: auto; max-height: 62dvh; overflow: visible;
  filter: drop-shadow(0 28px 38px rgba(58, 92, 168, .30)) drop-shadow(0 6px 10px rgba(11, 42, 48, .14));
  will-change: transform;
}
.statement { display: flex; flex-direction: column; gap: 18px; }
.statement h1 { font-size: clamp(27px, 2.9vw, 40px); letter-spacing: .05em; line-height: 1.12; }

.statement p { font-size: 15px; color: var(--ink-soft); max-width: 26ch; }
.social-rail { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.social-rail a { color: var(--ink); display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; }
.social-rail a:hover { color: var(--teal); background: rgba(255,255,255,.7); }
.social-rail::after { content: ""; width: 1px; height: 56px; background: var(--ink); opacity: .25; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero-latest { position: relative; z-index: 2; margin-bottom: -56px; width: 100%; }
.after-hero { padding-top: calc(56px + clamp(64px, 9vw, 112px)); }

/* header behaviour on the home page: desktop uses the rail until you scroll */
@media (min-width: 961px) {
  body.home .site-header { transform: translateY(-100%); }
  body.home.scrolled .site-header { transform: none; }
}
@media (max-width: 960px) {
  body.home { padding-top: var(--header-h); }
  .hero { min-height: calc(100dvh - var(--header-h)); }
  .hero-main { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; padding-top: 32px; }
  .rail, .social-rail { display: none; }
  .hero-mark .mark-svg { width: min(64vw, 340px); max-height: 44dvh; }
  .statement { align-items: center; }
  .statement p { max-width: 34ch; }
}

/* the mark draws itself on load: outline first, then the fill settles in */
.mark-svg .draw { stroke-width: 1.2; stroke-opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .mark-svg .draw {
    stroke-opacity: 1; stroke-dashoffset: 1; fill-opacity: 0;
    animation: mark-draw 1.9s cubic-bezier(.6, 0, .2, 1) var(--d, 0s) forwards,
               mark-fill .9s ease calc(var(--d, 0s) + 1.3s) forwards;
  }
  .mark-svg .mark-details { opacity: 0; animation: mark-fade .8s ease 2.4s forwards; }
}
@keyframes mark-draw { to { stroke-dashoffset: 0; } }
@keyframes mark-fill { to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes mark-fade { to { opacity: 1; } }

/* ---------- Motifs taken from the logo: parallel bars, dots, chevron ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before {
  content: ""; width: 16px; height: 8px; flex: none;
  border-top: 2px solid currentColor; border-bottom: 2px solid currentColor;
}
.section + .section, main > .section:first-of-type { position: relative; }
.section + .section::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 168px; height: 18px; transform: translateX(-50%);
  background: var(--ice) center / 132px 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 18'%3E%3Cg fill='%233A5CA8'%3E%3Ccircle cx='8' cy='9' r='2.2'/%3E%3Ccircle cx='24' cy='9' r='2.2'/%3E%3Ccircle cx='40' cy='9' r='2.2'/%3E%3Ccircle cx='92' cy='9' r='2.2'/%3E%3Ccircle cx='108' cy='9' r='2.2'/%3E%3Ccircle cx='124' cy='9' r='2.2'/%3E%3C/g%3E%3Cg fill='none' stroke='%232FB8C6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M54 3l12 12 12-12'/%3E%3Cpath d='M60 3l6 6 6-6'/%3E%3C/g%3E%3C/svg%3E");
}

/* The tunniit band: built only from marks that appear in the Inuaverse wordmark
   (hash strokes, dots, paired bars, chevron, triple bars). Artwork: assets/motifs/frieze.svg */
.frieze { height: 28px; background: url("../assets/motifs/frieze.svg") center / 160px 28px repeat-x; }
.frieze.on-deep { background-image: url("../assets/motifs/frieze-deep.svg"); opacity: .8; position: absolute; left: 0; right: 0; }
.frieze.on-deep.top { top: 18px; } .frieze.on-deep.bottom { bottom: 18px; }
.frieze-snip { width: 160px; height: 28px; background: url("../assets/motifs/frieze.svg") left center / 160px 28px no-repeat; }
@media (max-width: 960px) { .frieze-snip { background-position: center; } }

/* Line drawings of Inuit objects: qulleq, iggaak (snow goggles), qajaq. Artwork in assets/motifs/ */
.motif-sm { width: 108px; height: auto; margin-bottom: 6px; }
.page-head.has-motif { position: relative; padding-right: min(34vw, 400px); }
.motif-lg { position: absolute; right: 0; top: 50%; transform: translateY(-42%); width: min(28vw, 330px); height: auto; }
@media (max-width: 700px) {
  .page-head.has-motif { padding-right: 0; }
  .motif-lg { position: static; transform: none; width: 150px; margin-bottom: 4px; }
}

/* dotted ring from the blade's dot rows */
.avatar { outline: 2px dotted rgba(58, 92, 168, .55); outline-offset: 4px; margin: 6px; }
/* empty thumbnails carry the band as a texture */
.thumb::before { content: ""; position: absolute; inset: -20%; background: url("../assets/motifs/frieze.svg") 0 0 / 160px 40px; opacity: .16; transform: rotate(-8deg); }
.thumb img:not(.ghost) { position: relative; }
.rail nav a::before, .nav a::before { content: ""; }
.rail nav a { position: relative; padding-left: 0; transition: padding-left .2s ease; }
.rail nav a::before { position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); opacity: 0; transition: opacity .2s ease; }
.rail nav a:hover { padding-left: 24px; } .rail nav a:hover::before { opacity: 1; }
.site-footer { position: relative; overflow: hidden; padding-top: calc(clamp(56px, 7vw, 84px) + 30px); }
.site-footer::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 420px; height: 460px; background: url("../assets/mark.svg") center / contain no-repeat; opacity: .10; pointer-events: none; }
.site-footer .wrap { position: relative; z-index: 1; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  html.js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Motion: the whole page arrives the way the mark does ----------
   Load: wordmark is written in, nav and statement rise, the band is drawn, cards land last.
   Scroll: drawings and bands are drawn left to right as they come into view.
   All of it is off for visitors who ask for reduced motion. */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.07); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-bg img { animation: settle 3.2s cubic-bezier(.2, .7, .2, 1) both; }
  .rail .brand { animation: wipe 1.1s ease .15s both; }
  .rail nav a { animation: rise .7s ease both; }
  .rail nav a:nth-child(1) { animation-delay: .55s; } .rail nav a:nth-child(2) { animation-delay: .67s; }
  .rail nav a:nth-child(3) { animation-delay: .79s; } .rail nav a:nth-child(4) { animation-delay: .91s; }
  .statement h1 { animation: rise .9s ease 1.5s both; }
  .frieze-snip { animation: wipe .9s ease 2.1s both; }
  .statement p { animation: fade .9s ease 2.5s both; }
  .social-rail a { animation: rise .6s ease both; }
  .social-rail a:nth-child(1) { animation-delay: 1.9s; } .social-rail a:nth-child(2) { animation-delay: 2.0s; }
  .social-rail a:nth-child(3) { animation-delay: 2.1s; } .social-rail a:nth-child(4) { animation-delay: 2.2s; }
  .social-rail::after { animation: fade .8s ease 2.4s both; }
  .hero-latest { animation: rise 1s cubic-bezier(.2, .7, .2, 1) 2.7s both; }

  .page-head > * { animation: rise .8s ease both; }
  .page-head > :nth-child(2) { animation-delay: .1s; } .page-head > :nth-child(3) { animation-delay: .22s; }
  .page-head > :nth-child(4) { animation-delay: .34s; } .page-head > :nth-child(5) { animation-delay: .46s; }
  .page-head > .motif-lg { animation: wipe 1.5s ease .35s both; }
  .post > * { animation: rise .8s ease both; }

  html.js .reveal .motif-sm { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s ease .25s; }
  html.js .reveal.in .motif-sm { clip-path: inset(0 0 0 0); }
  html.js .reveal .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .5s ease .35s; }
  html.js .reveal.in .eyebrow::before { transform: none; }
  html.js .frieze.draw { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s cubic-bezier(.5, 0, .2, 1); }
  html.js .frieze.draw.bottom { clip-path: inset(0 0 0 100%); }
  html.js .frieze.draw.in { clip-path: inset(0 0 0 0); }
}

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  display: flex; flex-direction: column; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
a.card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.thumb { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #E3EEF1, #CFE0E5); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .ghost { position: absolute; inset: 0; margin: auto; width: 34%; height: auto; opacity: .35; }
.play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(11,42,48,.22); }
.play::before { content: ""; margin-left: 4px; border-left: 15px solid var(--teal); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.tag { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.card-title { font-family: var(--body); font-size: 17px; font-weight: 600; line-height: 1.35; text-transform: none; letter-spacing: 0; }
.meta { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (min-width: 561px) and (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* feature (latest devlog) + devlog rows */
.feature { display: grid; grid-template-columns: 1.5fr 1fr; }
.feature .thumb { aspect-ratio: 16 / 9; height: 100%; }
.feature .card-body { padding: clamp(22px, 3vw, 40px); justify-content: center; gap: 12px; }
.feature .card-title { font-family: var(--title); font-size: clamp(21px, 2.2vw, 28px); font-weight: 600; text-transform: uppercase; line-height: 1.18; letter-spacing: .02em; }
.feature p { color: var(--ink-soft); font-size: 15px; }
.rows { display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Studio intro ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.split .copy { display: flex; flex-direction: column; gap: 18px; color: var(--ink-soft); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Dark band (Project Q) ---------- */
.band { position: relative; isolation: isolate; background: var(--deep); color: var(--on-deep); overflow: hidden; }
.band-bg { position: absolute; inset: 0; z-index: -1; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--deep) 0%, rgba(6,33,38,.86) 42%, rgba(6,33,38,.30) 100%); }
.band .wrap { padding-top: clamp(80px, 11vw, 140px); padding-bottom: clamp(80px, 11vw, 140px); }
.band .inner { max-width: 520px; display: flex; flex-direction: column; gap: 18px; }
.band .eyebrow { color: var(--teal-bright); }
.band p { color: var(--on-deep); opacity: .88; }
.band .note { font-family: var(--display); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-deep-soft); }
@media (max-width: 700px) { .band-bg::after { background: rgba(6,33,38,.80); } }

/* ---------- Team + partners ---------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.person { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: linear-gradient(180deg, rgba(47,184,198,.16), rgba(58,92,168,.16)); border: 1px solid rgba(11,119,131,.3); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: .06em; color: var(--teal); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person .name { font-weight: 600; line-height: 1.3; }
.person .role { font-family: var(--display); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.3; }
.person .where { font-size: 13px; color: var(--ink-soft); }
.person a { font-size: 13px; word-break: break-all; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .team { grid-template-columns: 1fr; } }

.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.partner { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); box-shadow: var(--shadow); }
.partner .pname { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.partner p { font-size: 14px; color: var(--ink-soft); }
.partner img { max-height: 44px; width: auto; max-width: 180px; margin-bottom: 6px; }

/* ---------- Page head (inner pages) ---------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.filters button { font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 9px 18px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.filters button:hover { border-color: var(--teal); color: var(--teal); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty { padding: 48px 24px; text-align: center; color: var(--ink-soft); background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Post ---------- */
.post { max-width: 860px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(64px, 9vw, 112px); }
.post .back { font-family: var(--display); font-size: 15px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.post .back::before { content: "\2190  "; }
.post h1 { font-size: clamp(28px, 4vw, 44px); margin: 14px 0 10px; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--deep); border-radius: var(--radius); overflow: hidden; margin: 28px 0; box-shadow: var(--shadow-lift); }
.video iframe, .video img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video button { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; cursor: pointer; }
.video .placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--on-deep-soft); font-family: var(--display); letter-spacing: .2em; text-transform: uppercase; font-size: 15px; }
.prose { display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.8; }
.prose h3 { font-family: var(--display); font-size: 21px; letter-spacing: .08em; margin-top: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose a.btn { text-decoration: none; }
.prose strong { font-weight: 600; }
.prose code { font-size: .9em; background: #E6EEF1; padding: 2px 6px; border-radius: 4px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { color: var(--teal); }
.prose blockquote { margin: 6px 0; padding: 4px 0 4px 26px; border-left: 6px double var(--teal); font-family: var(--title); font-size: 20px; line-height: 1.5; color: var(--ink); }
.prose figure { margin: 10px 0; }
.prose figure img { width: 100%; max-height: 82vh; object-fit: cover; border-radius: var(--radius); }
.prose figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.prose .gallery { display: grid; gap: 14px; margin: 10px 0; }
.prose .gallery.n2 { grid-template-columns: 1fr 1fr; } .prose .gallery.n3 { grid-template-columns: 1fr 1fr 1fr; }
.prose .gallery figure { margin: 0; } .prose .gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 560px) { .prose .gallery.n2, .prose .gallery.n3 { grid-template-columns: 1fr; } }
.prose .video, .prose video.media { margin: 10px 0; }
.prose video.media { width: 100%; border-radius: var(--radius); background: var(--deep); }
.prose .audio audio { width: 100%; }
.prose .audio figcaption { margin: 0 0 8px; font-weight: 500; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose hr.ornament { border: 0; height: 18px; margin: 14px 0; background: center / 132px 18px no-repeat url("../assets/motifs/divider.svg"); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); cursor: pointer; }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.more-wrap { display: flex; justify-content: center; padding-top: 36px; }
main > .wrap:last-child { padding-bottom: clamp(64px, 9vw, 112px); }

.prose h2 { font-size: 23px; margin-top: 14px; }
.post-figure { margin: 28px 0; border-radius: var(--radius); overflow: hidden; }

/* ---------- Press kit ---------- */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 12px 32px; margin: 0; }
.facts dt { font-family: var(--display); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 500; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 12px; } }
.logo-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.logo-tile { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.logo-tile .stage { height: 220px; display: flex; align-items: center; justify-content: center; padding: 28px; }
.logo-tile .stage.dark { background: var(--deep); }
.logo-tile .stage img { max-height: 100%; max-width: 80%; object-fit: contain; }
.logo-tile .cap { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 14px; }
@media (max-width: 640px) { .logo-tiles { grid-template-columns: 1fr; } }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.swatch { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); font-size: 13px; }
.swatch i { display: block; height: 72px; }
.swatch span { display: block; padding: 10px 12px; }
.swatch b { display: block; font-weight: 600; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: var(--radius); background: var(--ink); color: #fff; font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.btn:hover { background: var(--teal); color: #fff; }
.contact-list { display: flex; flex-direction: column; gap: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--on-deep-soft); padding: clamp(56px, 7vw, 84px) 0 32px; font-size: 14px; }
.site-footer a { color: var(--on-deep-soft); }
.site-footer a:hover { color: #fff; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot .mark-lockup { display: flex; flex-direction: column; gap: 18px; }
.foot .mark-lockup img { width: 190px; }
.foot h2 { font-family: var(--display); font-size: 14px; letter-spacing: .22em; color: #fff; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(238,245,246,.12); font-size: 13px; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .foot { grid-template-columns: 1fr; } }

/* ---------- Gender equality document ---------- */
.equality-document {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.equality-document-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  background: #e4f2f3;
  color: var(--teal);
  display: grid;
  place-items: center;
}
.equality-document-info { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.equality-document-info strong { color: var(--ink); font-weight: 600; line-height: 1.4; }
.equality-document-info span { font-size: 14px; color: var(--ink-soft); }
.equality-document-info .more { margin-top: 8px; white-space: normal; }
@media (max-width: 440px) {
  .equality-document { gap: 12px; }
  .equality-document-icon { flex-basis: 42px; width: 42px; height: 42px; }
}
