/* Traveling Eye - direction B "Window seat": immersive ink hero, the window as motif, serif + geometric sans */

/* Fonts: self-hosted (SIL OFL), latin subset; no request to Google */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-600-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/jost.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/jost-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --ink: #0F2A3D;
  --sea: #2A6FB0;
  --crest: #9CC6EA;
  --sand: #E3B261;
  --paper: #F7F4EE;
  --ink-soft: #495D69;
  --paper-deep: #EFE9DF;
  --rule: rgba(15, 42, 61, .14);
  --on-ink: rgba(247, 244, 238, .78);
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --text: "Jost", "Avenir Next", "Century Gothic", system-ui, sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: clamp(1.0625rem, .25vw + 1rem, 1.15rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--paper); color: var(--ink); padding: .5em 1em; }

.eyebrow {
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--crest);
}
.eyebrow--sea { color: var(--sea); }

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--crest); color: var(--ink); }
.btn--ghost { color: var(--paper); border: 1px solid rgba(247, 244, 238, .45); }
.btn--ghost:hover { border-color: var(--paper); color: var(--paper); background: rgba(247, 244, 238, .08); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--sea); color: var(--paper); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.text-link svg { width: 18px; height: 18px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(3px); }
.text-link--light { color: var(--crest); }
.text-link--light:hover { color: var(--paper); }

/* Top bar */
.topbar { background: var(--ink); color: var(--paper); position: relative; z-index: 5; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.topbar__logo { display: block; padding: 6px 0; }
.topbar__logo img { width: 200px; }
.topbar__nav { display: flex; flex-wrap: wrap; gap: .4rem 2rem; }
.topbar__nav a {
  color: var(--paper);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .3rem 0;
  border-bottom: 1px solid transparent;
}
.topbar__nav a:hover { color: var(--crest); border-bottom-color: var(--crest); }
.menu-btn {
  display: none;
  align-items: center;
  gap: .6rem;
  background: none;
  border: 1px solid rgba(247, 244, 238, .4);
  border-radius: 999px;
  color: var(--paper);
  font: 500 .76rem/1 var(--text);
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .7rem 1rem;
  cursor: pointer;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -5px; }
.menu-btn__bars::after { top: 5px; }
.is-open .menu-btn__bars { background: transparent; }
.is-open .menu-btn__bars::before { transform: translateY(5px) rotate(45deg); }
.is-open .menu-btn__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(55% 65% at 78% 42%, rgba(42, 111, 176, .38), rgba(42, 111, 176, 0) 70%),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding-top: clamp(28px, 6vw, 72px);
  padding-bottom: clamp(96px, 12vw, 160px);
}
.hero h1 {
  font-size: clamp(3.3rem, 8vw, 7.4rem);
  line-height: .92;
  letter-spacing: -.015em;
  margin: 1.1rem 0 1.6rem;
}
.hero h1 em { display: block; font-style: italic; color: var(--crest); }
.hero__lede { font-size: clamp(1.08rem, .5vw + 1rem, 1.3rem); line-height: 1.6; color: var(--on-ink); max-width: 33em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero__art { display: flex; justify-content: center; }
.window { width: clamp(180px, 46vw, 400px); height: auto; filter: drop-shadow(0 30px 50px rgba(4, 14, 22, .45)); }
.wave { position: absolute; left: 0; width: 100%; pointer-events: none; }
.wave--hero { bottom: -1px; height: clamp(44px, 6vw, 90px); }

/* Window animation: the shade lifts, the sun rises, the sea drifts */
.w-shade { animation: shade-open 2.2s cubic-bezier(.2, .7, .15, 1) .25s both; }
.w-sun { animation: sun-rise 2.2s cubic-bezier(.2, .7, .15, 1) .25s both; }
.w-rays { animation: rays-in 1.2s ease 1.5s both; }
.w-sea { animation: drift 14s linear infinite; }
.w-crest { animation: drift 9s linear infinite; }
.w-crest--far { animation-duration: 12s; animation-direction: reverse; }
@keyframes shade-open { from { transform: translateY(36px); } to { transform: none; } }
@keyframes sun-rise { from { transform: translateY(8px); } to { transform: none; } }
@keyframes rays-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift { to { transform: translateX(-28px); } }

/* Sections */
.section { padding: var(--section) 0; }
.section--deep { background: var(--paper-deep); }
.section--tight { padding-top: 0; }
.section--first { padding-top: clamp(40px, 5vw, 72px); }
.section--ink { background: var(--ink); color: var(--paper); }
.section__head { text-align: center; max-width: 52rem; margin: 0 auto clamp(36px, 5vw, 64px); }
.section__head h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-top: .8rem; }
.section__intro { margin-top: 1rem; color: var(--ink-soft); font-size: 1.1rem; }
.section__foot { text-align: center; margin-top: clamp(32px, 4vw, 48px); }
.section__foot--note { color: var(--ink-soft); font-size: 1rem; }

/* Publication card */
.pubcard {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: var(--paper-deep);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(24px, 4vw, 56px);
  max-width: 1040px;
  margin-inline: auto;
}
.pubcard > * { min-width: 0; }
.pubcard__photo { position: relative; margin: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--sea); box-shadow: 0 24px 50px rgba(15, 42, 61, .16); }
.pubcard__photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.pubcard__photo img { object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .15, 1); }
.pubcard:hover .pubcard__photo img { transform: scale(1.03); }
.pubcard__status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 4px rgba(227, 178, 97, .3); }
.pubcard__name { font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin-top: .8rem; }
.pubcard__name a { color: var(--ink); text-decoration: none; }
.pubcard__name a:hover { color: var(--sea); }
.pubcard__domain { color: var(--sea); font-weight: 500; letter-spacing: .04em; margin-top: .4rem; }
.pubcard__desc { margin-top: 1.1rem; color: var(--ink-soft); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.8rem 0 0; }
.stats div {
  display: flex;
  flex-direction: column-reverse;
  background: var(--paper);
  border-radius: 16px;
  padding: .9rem 1rem .8rem;
}
.stats dd { margin: 0; font-family: var(--display); font-variant-numeric: lining-nums; font-size: clamp(2.3rem, 4vw, 3.2rem); line-height: 1; color: var(--ink); }
.stats dt { font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-top: .35rem; }
.pubcard__note { font-size: .85rem; font-style: italic; color: var(--ink-soft); margin: .8rem 0 1.6rem; }

/* Pillars */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 20px; }
.pillar {
  background: var(--paper);
  border-radius: 160px 160px var(--radius) var(--radius);
  padding: clamp(40px, 4vw, 56px) clamp(24px, 3vw, 36px) clamp(28px, 3vw, 40px);
  text-align: center;
}
.pillar__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  box-shadow: inset 0 -14px 0 -6px var(--sea);
}
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: clamp(1.7rem, 2.4vw, 2.05rem); margin-bottom: .8rem; }
.pillar p { color: var(--ink-soft); }

/* Who we are */
.who { text-align: center; max-width: 46rem; }
.who__symbol { width: 56px; margin: 0 auto 1.6rem; }
.who h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin: .8rem 0 1.6rem; }
.who__statement {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.22;
  color: var(--crest);
}
.who__text { color: var(--on-ink); margin: 1.4rem auto 2rem; max-width: 34em; }

/* Contact */
.contacts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
.contact {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  height: 100%;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.contact:hover { color: var(--ink); border-color: var(--sea); transform: translateY(-3px); box-shadow: 0 16px 30px rgba(15, 42, 61, .08); }
.contact__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(156, 198, 234, .45); color: var(--ink); margin-bottom: .8rem; }
.contact__icon svg { width: 22px; height: 22px; }
.contact__label { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.contact__mail { font-family: var(--display); font-size: clamp(1.3rem, 1.6vw, 1.45rem); font-weight: 600; line-height: 1.2; color: var(--sea); overflow-wrap: anywhere; }
.contact__desc { color: var(--ink-soft); font-size: 1rem; }

/* Footer */
.site-footer { position: relative; background: var(--ink); color: var(--on-ink); padding: clamp(96px, 10vw, 128px) 0 28px; font-size: .95rem; }
.wave--footer { top: -1px; height: clamp(36px, 5vw, 70px); }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--crest); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.footer__brand img { width: 220px; }
.footer__brand p { margin-top: 1rem; }
.footer__h { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--crest); margin-bottom: .9rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(247, 244, 238, .08); }
.social a:hover { background: var(--paper); color: var(--ink); }
.social svg { width: 18px; height: 18px; }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid rgba(247, 244, 238, .16);
  font-size: .85rem;
}

/* Layout steps */
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 80px); }
  .hero__art { justify-content: flex-end; }
  .window { width: clamp(260px, 28vw, 380px); }
  .pubcard { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: stretch; }
  .pubcard__photo { aspect-ratio: auto; min-height: 360px; }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .contacts { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.5fr; }
}
@media (max-width: 859px) {
  .js .menu-btn { display: inline-flex; }
  .js .topbar__nav {
    display: none;
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(100% - 6px);
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-radius: 18px;
    padding: 8px 20px;
    box-shadow: 0 24px 50px rgba(4, 14, 22, .35);
  }
  .js .is-open .topbar__nav { display: flex; }
  .js .topbar__nav a { color: var(--ink); padding: .95rem 0; border-bottom: 1px solid var(--rule); }
  .js .topbar__nav a:last-child { border-bottom: 0; }
  .topbar__logo img { width: 176px; }
  .hero__art { order: -1; }
  .window { width: 150px; }
  .hero__grid { gap: 28px; }
  .hero__text { text-align: left; }
}
@media (max-width: 479px) {
  .btn { padding: .9rem 1.1rem; letter-spacing: .1em; font-size: .74rem; }
  .stats { gap: 8px; }
  .stats div { padding: .75rem .7rem .7rem; border-radius: 12px; }
  .stats dt { font-size: .62rem; letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .w-shade, .w-sun, .w-rays, .w-sea, .w-crest { animation: none; }
  .pubcard__photo img { transition: none; }
  .btn, .contact, .text-link svg { transition: none; }
}

/* ---------- Shared: current page, image slots ---------- */
.topbar__nav a[aria-current="page"] { color: var(--crest); border-bottom-color: var(--crest); }
.photo { margin: 0; border-radius: 28px; overflow: hidden; background: var(--ink); }
.photo > div, .photo > img { width: 100%; height: 100%; }
.photo > img { object-fit: cover; }
.photo--wide { aspect-ratio: 3 / 2; }
.pubcard__top { display: flex; align-items: center; gap: 14px; }
.pubcard__emblem { width: 64px; height: 64px; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(50% 80% at 85% 30%, rgba(42, 111, 176, .34), rgba(42, 111, 176, 0) 70%),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.page-hero__in { padding-top: clamp(36px, 6vw, 88px); padding-bottom: clamp(104px, 12vw, 168px); }
.page-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: .95; letter-spacing: -.012em; margin: 1rem 0 1.4rem; max-width: 14ch; }
.page-hero h1 em { font-style: italic; color: var(--crest); }
.page-hero__lede { font-size: clamp(1.08rem, .5vw + 1rem, 1.3rem); line-height: 1.6; color: var(--on-ink); max-width: 36em; }
.page-hero__meta { margin-top: 1.4rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--crest); }
.page-hero__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.page-hero__media { margin: 0; aspect-ratio: 3 / 2; border-radius: 24px; overflow: hidden; background: #16384F; box-shadow: 0 30px 60px rgba(4, 14, 22, .45); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Prose and split sections ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 32px); }
.split h2, .prose h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.prose h2 { margin-bottom: 1rem; }
.split .eyebrow { margin-bottom: .7rem; }
.prose { max-width: 42rem; }
.prose p { color: var(--ink-soft); }
.prose p + p { margin-top: 1.1rem; }
.prose--doc { max-width: 46rem; margin-inline: auto; }
.prose .lead { font-size: clamp(1.15rem, .6vw + 1rem, 1.35rem); line-height: 1.6; color: var(--ink); }

/* Do / don't */
.dodont { display: grid; grid-template-columns: 1fr; gap: 20px; }
.dodont__col { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 3.4vw, 44px); }
.dodont__col h3 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-bottom: 1.2rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; align-items: start; color: var(--ink-soft); }
.ticks svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; margin-top: .1rem; }
.ticks--yes svg { background: rgba(156, 198, 234, .5); color: var(--ink); }
.ticks--no svg { background: var(--ink); color: var(--paper); }

/* Quote split */
.quote-split { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.quote-split__quote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.15;
  color: var(--ink);
  padding-left: clamp(18px, 2vw, 28px);
  border-left: 3px solid var(--sand);
}

/* Compact publication row */
.pubrow {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  gap: 16px;
  align-items: center;
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper-deep);
  border-radius: var(--radius);
}
.section--deep .pubrow { background: var(--paper); }
.pubrow__emblem { width: 64px; height: 64px; }
.pubrow h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.pubrow h3 a { color: var(--ink); text-decoration: none; }
.pubrow h3 a:hover { color: var(--sea); }
.pubrow p { color: var(--ink-soft); margin-top: .3rem; }

/* CTA band */
.cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(42, 111, 176, .45), rgba(42, 111, 176, 0) 70%),
    var(--ink);
  color: var(--paper);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(32px, 5vw, 64px);
}
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta p { color: var(--on-ink); margin-top: .8rem; max-width: 34em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Editorial standards ---------- */
.standards { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 72px); }
.toc { font-size: .95rem; }
.toc__title { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .8rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.toc li { border-bottom: 1px solid var(--rule); }
.toc a { display: flex; gap: .8rem; padding: .65rem 0; color: var(--ink); text-decoration: none; }
.toc a span { color: var(--sea); font-family: var(--display); font-style: italic; font-weight: 600; min-width: 1.4em; }
.toc a:hover { color: var(--sea); }
.std { padding-bottom: clamp(32px, 4vw, 48px); margin-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--rule); scroll-margin-top: 24px; }
.std:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.std__no { display: block; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1.3rem; color: var(--sea); margin-bottom: .4rem; }
.std h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.std p { color: var(--ink-soft); }
.std p + p { margin-top: 1rem; }
.callout { margin-top: 1.2rem; padding: 1rem 1.2rem; border-left: 3px solid var(--sand); background: var(--paper-deep); border-radius: 0 12px 12px 0; color: var(--ink) !important; }

/* ---------- Partners ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.section--deep .card { border-color: transparent; }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--paper); box-shadow: inset 0 -12px 0 -6px var(--sea); margin-bottom: 1.2rem; }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: clamp(1.6rem, 2.2vw, 1.9rem); margin-bottom: .6rem; }
.card p { color: var(--ink-soft); }
.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  margin-top: clamp(28px, 3vw, 40px);
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-ink);
}
.notice svg { width: 26px; height: 26px; color: var(--sand); margin-top: .15rem; }
.notice strong { color: var(--paper); font-weight: 500; }
.notice a { color: var(--crest); }

/* ---------- Contact extras ---------- */
.tips { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.tip { padding: 24px 0 0; border-top: 1px solid var(--ink); }
.tip h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.tip p { color: var(--ink-soft); }
.social--light a { background: var(--paper-deep); color: var(--ink); }
.social--light a:hover { background: var(--ink); color: var(--paper); }
.follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; margin-top: clamp(40px, 5vw, 64px); }
.follow p { font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Links page (link in bio) ---------- */
.linkpage {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(42, 111, 176, .45), rgba(42, 111, 176, 0) 70%),
    var(--ink);
  color: var(--paper);
  padding: 48px var(--gutter) 32px;
}
.linkpage__in { max-width: 440px; margin: 0 auto; text-align: center; }
.linkpage h1 { margin: 0; }
.linkpage__logo { width: 280px; margin: 0 auto; }
.linkpage__tag { color: var(--crest); font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1.35rem; margin-top: .9rem; }
.linkpage__about { color: var(--on-ink); margin: .8rem auto 0; font-size: 1rem; max-width: 30em; }
.linklist { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 12px; }
.linklist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 1.05rem 1.3rem;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  text-align: left;
  transition: transform .2s ease, background-color .2s ease;
}
.linklist a:hover { transform: translateY(-2px); color: var(--ink); background: #FFFDF8; }
.linklist strong { display: block; font-family: var(--display); font-size: 1.4rem; font-weight: 600; line-height: 1.15; }
.linklist small { display: block; color: var(--ink-soft); font-size: .88rem; margin-top: .15rem; }
.linklist svg { width: 20px; height: 20px; flex: none; color: var(--sea); }
.linklist .linklist__main { background: var(--crest); }
.linklist .linklist__main small { color: var(--ink); }
.linklist .linklist__main svg { color: var(--ink); }
.linkpage .social { justify-content: center; margin-top: 2rem; }
.linkpage .social a { color: var(--paper); }
.linkpage .social a:hover { color: var(--ink); }
.linkpage__foot { margin-top: 2.4rem; font-size: .8rem; color: var(--on-ink); }
.linkpage__foot a { color: var(--paper); }

/* ---------- Inner layout steps ---------- */
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .tips { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
@media (min-width: 860px) {
  .split { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(32px, 6vw, 96px); }
  .split--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .page-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); }
  .dodont { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .quote-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pubrow { grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; padding: 32px 40px; }
  .cta { grid-template-columns: minmax(0, 1.4fr) auto; }
  .standards { grid-template-columns: 230px minmax(0, 1fr); }
  .toc { position: sticky; top: 24px; align-self: start; }
}
@media (max-width: 859px) {
  .js .topbar__nav a[aria-current="page"] { color: var(--sea); }
}
@media (prefers-reduced-motion: reduce) {
  .linklist a { transition: none; }
}
