/* ==========================================================================
   Kenechukwu Nwosu: public site
   Design tokens → base → layout → components → pages
   ========================================================================== */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour: deep studio teal, warm paper, one ochre accent */
  --ink: #111816;
  --ink-2: #2b3330;
  --muted: #646b67;
  --fade: #a2a59f;
  --paper: #f4f1ea;
  --paper-2: #ebe6da;
  --card: #fbfaf6;
  --line: rgba(17, 24, 22, 0.13);
  --line-strong: rgba(17, 24, 22, 0.28);
  --deep: #0d2624;
  --deep-2: #143331;
  --on-deep: #eef1ec;
  --on-deep-muted: rgba(238, 241, 236, 0.62);
  --on-deep-fade: rgba(238, 241, 236, 0.42);
  --accent: #c99a3c;
  --accent-ink: #1a1405;
  --accent-text: #8a6519;
  --focus: #c99a3c;

  /* Type */
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem);
  --fs-h1: clamp(2.3rem, 1.5rem + 3.4vw, 4.4rem);
  --fs-h2: clamp(1.9rem, 1.3rem + 2.4vw, 3.3rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --fs-lead: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  /* Space */
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1240px;
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --radius: 3px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Base ------------------------------------------------------------------- */
*, *::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(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }
.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }

/* Type helpers ----------------------------------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow--light { color: var(--on-deep-muted); }
.section-title, .page-title {
  font-family: var(--serif); font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 72;
}
.page-title { font-size: var(--fs-h1); }
.section-title--small { font-size: var(--fs-h3); margin-bottom: 2rem; }
.section-title--light { color: var(--on-deep); }
.fade { color: var(--fade); }
.section-title--light .fade, .hero .fade, .footer-cta .fade { color: var(--on-deep-fade); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 0.95rem; font-weight: 500; text-decoration: none; letter-spacing: 0.01em;
  cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn__arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn--dark:hover { --btn-bg: var(--deep-2); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); }
.btn--accent:hover { --btn-bg: #d8ab4f; }
.btn--line { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--line:hover { --btn-bd: var(--ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--on-deep); --btn-bd: rgba(238, 241, 236, 0.3); }
.btn--ghost-light:hover { --btn-bd: var(--on-deep); }

.link-arrow {
  display: inline-flex; gap: 8px; align-items: center; margin-top: 2.5rem;
  font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 4px;
}
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover { border-color: var(--ink); }
.link-arrow:hover span { transform: translateX(4px); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 241, 234, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.page-home .site-header { background: rgba(13, 38, 36, 0.94); color: var(--on-deep); }
.page-home .site-header.is-scrolled { border-bottom-color: rgba(255, 255, 255, 0.08); }
.page-home .site-header .btn--line { --btn-fg: var(--on-deep); --btn-bd: rgba(238, 241, 236, 0.3); }
.page-home .site-header .btn--line:hover { --btn-bd: var(--on-deep); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.wordmark { display: flex; flex-direction: column; text-decoration: none; line-height: 1; font-family: var(--serif); }
.wordmark__first { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--sans); font-weight: 600; opacity: 0.7; margin-bottom: 4px; }
.wordmark__last { font-size: 1.45rem; letter-spacing: -0.01em; }
.site-nav { display: none; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 30px; }
.site-nav ul a { text-decoration: none; font-size: 0.95rem; position: relative; padding: 6px 0; opacity: 0.82; transition: opacity 0.2s; }
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { opacity: 1; }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 10px 0; cursor: pointer;
  font-size: 0.9rem; font-weight: 500;
}
.menu-toggle__icon { width: 22px; height: 10px; position: relative; }
.menu-toggle__icon span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.menu-toggle__icon span:first-child { top: 0; }
.menu-toggle__icon span:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child { top: 4px; transform: rotate(-45deg); }

.mobile-menu { border-top: 1px solid var(--line); padding: 16px 0 32px; height: calc(100dvh - 76px); overflow-y: auto; }
.page-home .mobile-menu { border-color: rgba(255, 255, 255, 0.1); }
.mobile-menu li a { display: block; font-family: var(--serif); font-size: 2.1rem; line-height: 1.2; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.page-home .mobile-menu li a { border-color: rgba(255, 255, 255, 0.1); }
.mobile-menu li a[aria-current="page"] { color: var(--accent-text); }
.page-home .mobile-menu li a[aria-current="page"] { color: var(--accent); }
.mobile-menu__role { margin-top: 28px; font-size: var(--fs-small); opacity: 0.65; }

@media (min-width: 900px) {
  .site-nav { display: flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* Sections --------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.55); }
.section--flush-top { padding-top: 0; }
.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--split { display: grid; gap: 1.5rem; align-items: end; }
.section-head__aside { color: var(--muted); max-width: 30rem; }
.section-head__aside-btn { justify-self: start; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr minmax(0, 26rem); gap: 4rem; }
  .section-head__aside-btn { justify-self: end; }
}

/* Hero (home) ------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate;
  background: var(--deep); color: var(--on-deep);
  padding: clamp(2.5rem, 1rem + 5vw, 5rem) 0 0;
  overflow: hidden;
}
/* Soft light behind the portrait, echoing the studio backdrop of the photographs */
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 70vw; height: 120%;
  background: radial-gradient(closest-side, rgba(36, 92, 86, 0.55), rgba(13, 38, 36, 0) 70%);
  pointer-events: none;
}
.hero__grid { display: grid; gap: 2.5rem; align-items: end; }
.hero__title {
  font-family: var(--serif); font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.025em;
  font-variation-settings: "opsz" 72; max-width: 11ch; margin-bottom: 1.75rem;
}
.hero__intro { max-width: 34rem; color: var(--on-deep-muted); font-size: var(--fs-lead); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.25rem; }
.hero__copy { padding-bottom: clamp(0rem, 3vw, 3rem); }
/* Portrait blended into the backdrop: monochrome, faint, fading out at the edges */
.hero__portrait { position: absolute; z-index: -1; inset: 0 0 auto auto; width: 100%; height: 100%; pointer-events: none; }
.hero__portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 12%;
  filter: grayscale(1) contrast(1.08) brightness(0.95); opacity: 0.18;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 60% 30%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 70% at 60% 30%, #000 30%, transparent 78%);
}
.hero__copy { position: relative; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 0.62fr); }
  .hero__portrait { width: min(60%, 860px); }
  .hero__portrait img {
    object-position: 50% 14%; opacity: 0.34;
    -webkit-mask-image: radial-gradient(ellipse 62% 78% at 58% 34%, #000 32%, transparent 76%);
            mask-image: radial-gradient(ellipse 62% 78% at 58% 34%, #000 32%, transparent 76%);
  }
  .hero__copy { padding-block: 3rem 4.5rem; }
}

.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); margin: 0;
  border-top: 1px solid rgba(238, 241, 236, 0.14);
}
.facts__item { padding: 1.6rem 1.25rem 1.8rem 0; border-bottom: 1px solid rgba(238, 241, 236, 0.1); }
.facts__item:nth-child(odd) { padding-right: 1.25rem; border-right: 1px solid rgba(238, 241, 236, 0.1); }
.facts__item:nth-child(even) { padding-left: 1.25rem; }
.facts dt { font-family: var(--serif); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1; margin-bottom: 0.6rem; color: var(--accent); }
.facts dd { margin: 0; font-size: var(--fs-small); color: var(--on-deep-muted); max-width: 22ch; line-height: 1.45; }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts__item, .facts__item:nth-child(odd), .facts__item:nth-child(even) {
    padding: 2rem 1.75rem 2.4rem; border-bottom: 0; border-right: 1px solid rgba(238, 241, 236, 0.1);
  }
  .facts__item:first-child { padding-left: 0; }
  .facts__item:last-child { border-right: 0; }
}

/* Statement + focus ------------------------------------------------------- */
.statement__text {
  font-family: var(--serif); font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.75rem); line-height: 1.22;
  letter-spacing: -0.015em; max-width: 30ch; font-variation-settings: "opsz" 48;
}
.statement__text--small { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); max-width: none; }
.focus { margin-top: clamp(3.5rem, 3rem + 3vw, 6rem); display: grid; gap: 1rem; align-items: start; }
.focus__list { border-top: 1px solid var(--line); }
.focus__list li {
  display: grid; grid-template-columns: 3.5rem 1fr; align-items: baseline;
  padding: 1.35rem 0; border-bottom: 1px solid var(--line);
}
.focus__num { font-size: var(--fs-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.focus__text { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); line-height: 1.2; }
@media (min-width: 900px) {
  .focus { grid-template-columns: 1fr 2fr; gap: 4rem; }
}

/* Career timeline ---------------------------------------------------------- */
.career { background: var(--paper-2); }
.timeline { border-top: 1px solid var(--line-strong); }
.timeline__item { display: grid; gap: 0.5rem 3rem; padding: 2rem 0 2.2rem; border-bottom: 1px solid var(--line); }
.timeline__period { font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); }
.timeline__role { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.2; }
.timeline__org { color: var(--muted); margin-top: 0.3rem; }
.timeline__summary { margin-top: 0.9rem; max-width: 40rem; color: var(--ink-2); }
.timeline--full .prose { margin-top: 1.1rem; }
@media (min-width: 900px) {
  .timeline__item { grid-template-columns: 14rem 1fr; }
  .timeline__period { padding-top: 0.45rem; }
}

/* Horizontal scroller (classroom projects) --------------------------------- */
.projects { overflow: hidden; }
.scroller {
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}
.scroller::-webkit-scrollbar { display: none; }
.scroller__track { display: flex; gap: 20px; width: max-content; }
.scroller__item { width: min(78vw, 420px); scroll-snap-align: start; }
.scroller__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.scroller__item figcaption { margin-top: 0.9rem; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.45; max-width: 34ch; }
.scroller-controls { display: flex; gap: 8px; margin-top: 1.25rem; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent;
  cursor: pointer; font-size: 1.1rem; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.icon-btn:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }

/* Awards list (home) ----------------------------------------------------- */
.award-list { border-top: 1px solid var(--line-strong); }
.award-list__item {
  position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: center;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line);
}
.award-list__num { font-size: var(--fs-small); color: var(--muted); font-variant-numeric: tabular-nums; align-self: start; padding-top: 0.35rem; }
.award-list__text h3 { font-family: var(--serif); font-size: clamp(1.2rem, 1rem + 0.8vw, 1.65rem); line-height: 1.25; }
.award-list__text p { color: var(--muted); font-size: var(--fs-small); margin-top: 0.35rem; }
.award-list__img { display: none; }
@media (min-width: 900px) {
  .award-list__item { grid-template-columns: 5rem 1fr 7rem; gap: 2rem; padding: 1.5rem 0; }
  .award-list__img { display: block; }
  .award-list__img img {
    width: 7rem; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius);
    opacity: 0; transform: translateY(6px) scale(0.98); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  }
  .award-list__item:hover .award-list__img img { opacity: 1; transform: none; }
  .award-list__item:hover h3 { color: var(--ink); }
  .award-list:hover .award-list__item:not(:hover) h3 { color: var(--fade); transition: color 0.3s; }
}
@media (hover: none) and (min-width: 900px) {
  .award-list__img img { opacity: 1; transform: none; }
}

/* Post cards ------------------------------------------------------------- */
.post-grid { display: grid; gap: 3rem 2rem; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card__link { display: block; text-decoration: none; }
.post-card__media { overflow: hidden; border-radius: var(--radius); background: var(--paper-2); aspect-ratio: 3 / 2; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.post-card__link:hover .post-card__media img { transform: scale(1.035); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; font-family: var(--serif); font-size: 3rem; color: var(--fade); }
.post-card__body { padding-top: 1.2rem; }
.post-card__meta { font-size: var(--fs-small); color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.post-card__title { font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; margin-top: 0.55rem; text-wrap: pretty; }
.post-card__link:hover .post-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.post-card__excerpt { margin-top: 0.9rem; color: var(--ink-2); max-width: 36rem; }
.post-feature { margin-bottom: 4rem; padding-bottom: 4rem; border-bottom: 1px solid var(--line); }
.post-card--large .post-card__title { font-size: var(--fs-h3); }
@media (min-width: 900px) {
  .post-card--large .post-card__link { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3rem; align-items: center; }
  .post-card--large .post-card__body { padding-top: 0; }
  .post-card--large .post-card__title { font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.12; }
}

/* Page hero (inner pages) ------------------------------------------------ */
.page-hero { padding: clamp(3rem, 2rem + 4vw, 6.5rem) 0 clamp(2.5rem, 2rem + 3vw, 5rem); }
.page-hero__lead { margin-top: 1.75rem; max-width: 40rem; }
.page-hero__split { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .page-hero__split { grid-template-columns: 1fr 22rem; } }

/* About -------------------------------------------------------------------- */
.about-hero { display: grid; gap: 3rem; align-items: end; }
.about-hero__role { font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); margin: 1.4rem 0 1.6rem; }
.about-hero__copy .lead { max-width: 36rem; }
.about-hero__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) {
  .about-hero { grid-template-columns: 1.3fr 0.7fr; gap: 5rem; }
}
.advocacy { background: var(--deep); color: var(--on-deep); }
.advocacy__grid { display: grid; gap: 3rem; }
.advocacy__img { margin-top: 2.5rem; }
.advocacy__img img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
  .advocacy__grid { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; }
  .advocacy__head { position: sticky; top: 110px; align-self: start; }
}
.values__list { display: flex; flex-wrap: wrap; gap: 0.4rem 0; font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.6rem); line-height: 1.25; }
.values__list li:not(:last-child)::after { content: "/"; color: var(--fade); margin: 0 0.45em; }
.award-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.award-chips li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; font-size: var(--fs-small); }

.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; gap: 10px; align-items: center; padding: 14px 24px; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; cursor: pointer;
}

/* Awards page ------------------------------------------------------------ */
.award-detail { border-top: 1px solid var(--line-strong); }
.award-detail__item { display: grid; gap: 1.5rem; padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.award-detail__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.award-detail__num { font-size: var(--fs-small); color: var(--muted); margin-bottom: 0.8rem; }
.award-detail__text h2 { font-family: var(--serif); font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2.2rem); line-height: 1.15; letter-spacing: -0.01em; }
.award-detail__by { color: var(--accent-text); font-weight: 500; margin: 0.8rem 0 1rem; font-size: 0.98rem; }
.award-detail__text > p:last-child { color: var(--ink-2); max-width: 40rem; }
@media (min-width: 900px) {
  .award-detail__item { grid-template-columns: 22rem 1fr; gap: 4rem; padding: 3.2rem 0; align-items: start; }
}
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.mosaic__item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); transition: opacity 0.3s; }
.mosaic__item:hover img { opacity: 0.85; }

/* Filters + gallery ------------------------------------------------------ */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 3rem; }
.filter-tabs a {
  text-decoration: none; font-size: 0.92rem; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-2); transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.filter-tabs a:hover { border-color: var(--line-strong); }
.filter-tabs a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.masonry { columns: 1; column-gap: 20px; }
@media (min-width: 640px) { .masonry { columns: 2; } }
@media (min-width: 1100px) { .masonry { columns: 3; } }
.masonry__item { break-inside: avoid; margin-bottom: 28px; }
.masonry__item a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.masonry__item img { width: 100%; transition: transform 0.6s var(--ease); }
.masonry__item a:hover img { transform: scale(1.025); }
.masonry__caption { font-size: var(--fs-small); color: var(--ink-2); margin-top: 0.7rem; line-height: 1.45; }
.empty { color: var(--muted); padding: 3rem 0; }

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(8, 14, 13, 0.96); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(8, 14, 13, 0.96); }
.lightbox__figure { max-width: min(92vw, 1400px); padding: 64px 16px; }
.lightbox__figure img { max-height: calc(100dvh - 180px); width: auto; margin: auto; border-radius: 2px; }
.lightbox__figure figcaption { text-align: center; margin-top: 1rem; font-size: var(--fs-small); color: rgba(255, 255, 255, 0.75); }
.lightbox__btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.3); color: #fff; font-size: 1.3rem; cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.12); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Blog ------------------------------------------------------------------- */
.search { position: relative; }
.search input {
  width: 100%; height: 52px; padding: 0 56px 0 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--card); font: inherit; color: var(--ink);
}
.search input:focus { outline: none; border-color: var(--ink); }
.search__btn { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.result-note { margin-bottom: 2rem; color: var(--muted); }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.pager a { text-decoration: none; font-weight: 500; }
.pager__count { color: var(--muted); font-size: var(--fs-small); }

/* Article ---------------------------------------------------------------- */
.preview-bar { background: var(--accent); color: var(--accent-ink); font-size: var(--fs-small); font-weight: 500; padding: 10px 0; }
.article__head { padding-top: clamp(2.5rem, 2rem + 3vw, 5rem); max-width: calc(900px + var(--gutter) * 2); }
.article__meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: var(--fs-small); color: var(--muted); }
.article__meta a { color: var(--accent-text); text-decoration: none; font-weight: 500; }
.article__title {
  font-family: var(--serif); font-size: clamp(2rem, 1.3rem + 2.8vw, 3.6rem); line-height: 1.06; letter-spacing: -0.02em;
  margin-top: 1.25rem; text-wrap: balance; font-variation-settings: "opsz" 72;
}
.article__dek { font-size: var(--fs-lead); color: var(--ink-2); margin-top: 1.4rem; max-width: 40rem; }
.article__byline { margin-top: 1.6rem; font-size: var(--fs-small); color: var(--muted); }
.article__image { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.article__image img { width: 100%; max-height: 680px; object-fit: cover; border-radius: var(--radius); }
.article__image figcaption { font-size: var(--fs-small); color: var(--muted); margin-top: 0.75rem; }
.article__layout { display: grid; gap: 2.5rem; padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.article__share ul { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-small); }
.article__share a, .copy-link { color: var(--ink-2); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; border-bottom: 1px solid var(--line-strong); }
.article__share a:hover, .copy-link:hover { color: var(--ink); border-color: var(--ink); }
@media (min-width: 1000px) {
  .article__layout { grid-template-columns: 11rem minmax(0, 700px); gap: 4rem; justify-content: center; }
  .article__share { position: sticky; top: 110px; align-self: start; order: 0; }
  .article__share ul { flex-direction: column; gap: 10px; align-items: flex-start; }
}
.article__foot { max-width: calc(700px + var(--gutter) * 2); padding-top: 3rem; }
@media (min-width: 1000px) { .article__foot { max-width: calc(700px + 15rem + var(--gutter) * 2); padding-left: calc(15rem + var(--gutter)); } }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { display: inline-block; text-decoration: none; font-size: var(--fs-small); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.tag-list a:hover { border-color: var(--ink); }
.related { border-top: 1px solid var(--line); margin-top: var(--section); }

/* Long-form text --------------------------------------------------------- */
.prose { font-size: 1.125rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.25em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--serif); color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; }
.prose h2 { font-size: 1.85rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.45rem; margin-top: 2em; }
.prose h4 { font-size: 1.2rem; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.6em; }
.prose a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--accent-text); }
.prose blockquote { margin: 2em 0; padding-left: 1.4em; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: 1.4rem; line-height: 1.45; color: var(--ink); }
.prose img { border-radius: var(--radius); margin-block: 2em; }
.prose figure img { margin-bottom: 0.6em; }
.prose figcaption { font-size: var(--fs-small); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose--compact { font-size: 1.02rem; line-height: 1.7; max-width: 44rem; }
.prose--light { color: var(--on-deep-muted); }
.prose--light strong, .prose--light h2, .prose--light h3 { color: var(--on-deep); }
.prose--light > p:first-child { color: var(--on-deep); font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; }

/* Contact ---------------------------------------------------------------- */
.contact { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; } }
.contact__details { margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.contact__details div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact__details dt { font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; }
.contact__details dd { margin: 0.35rem 0 0; font-size: 1.1rem; }
.contact__form { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.field-row { display: grid; gap: 0 1.25rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1.4rem; }
.field label { display: block; font-size: 0.92rem; font-weight: 500; margin-bottom: 0.45rem; }
.optional { color: var(--muted); font-weight: 400; font-size: 0.85rem; margin-left: 4px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 12px 14px; min-height: 48px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201, 154, 60, 0.28); }
.field [aria-invalid="true"] { border-color: #a5342b; }
.field__error { color: #a5342b; font-size: var(--fs-small); margin-top: 0.4rem; }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 0.5rem; }
.form-note { font-size: var(--fs-small); color: var(--muted); }
.notice { border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.5rem; }
.notice:focus { outline: none; }
.notice--error { background: #f7e5e1; color: #7c241d; }
.notice--success { background: transparent; padding: 1rem 0; }
.notice--success h2 { font-family: var(--serif); font-size: var(--fs-h3); margin-bottom: 0.6rem; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--deep); color: var(--on-deep); margin-top: 0; overflow: hidden; }
.footer-cta { padding-block: var(--section) calc(var(--section) * 0.75); border-bottom: 1px solid rgba(238, 241, 236, 0.1); }
.footer-cta__title { font-family: var(--serif); font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 2.25rem; font-variation-settings: "opsz" 72; }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; padding-block: 3.5rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-label { font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.14em; color: var(--on-deep-fade); font-weight: 600; margin-bottom: 1rem; }
.page-post .footer-label, .article__share .footer-label { color: var(--muted); }
.footer-links li + li { margin-top: 0.5rem; }
.footer-links a { text-decoration: none; color: var(--on-deep-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--on-deep); }
.footer-address { color: var(--on-deep-muted); font-size: 0.95rem; }
.footer-name {
  font-family: var(--serif); white-space: nowrap; line-height: 0.82; letter-spacing: -0.04em;
  font-size: clamp(2.6rem, 9.6vw, 9.4rem); color: rgba(238, 241, 236, 0.08);
  padding-inline: var(--gutter); margin-bottom: -0.08em; user-select: none;
}
.footer-name span { display: block; max-width: calc(var(--wrap)); margin-inline: auto; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.5rem 2rem; font-size: var(--fs-small); color: var(--on-deep-fade); border-top: 1px solid rgba(238, 241, 236, 0.1); }

/* Motion ----------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .article__share, .related { display: none; }
  body { background: #fff; }
}
