/*
Theme Name: Uzomba
Theme URI: https://stridenote.net
Author: StrideNote Studio
Author URI: https://stridenote.net
Description: Editorial one-page portfolio theme for Hillary Uzomba. High contrast, colour blocked, no gradients or rounded cards. Built from the v3 reference design.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uzomba
Tags: portfolio, one-column, custom-colors, custom-menu, editor-style, full-width-template
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
  /* Palette, per build spec section 2 */
  --hu-black:      #000000;
  --hu-ink:        #0E0F11;
  --hu-slate:      #3F434A;
  --hu-grey:       #6E747D;
  --hu-paper:      #EDEDEA;
  --hu-white:      #FFFFFF;
  --hu-card:       #FCFCFB;
  --hu-social:     #F5F5F3;
  --hu-red:        #F04438;
  --hu-blue:       #4C7EF3;
  --hu-deep-blue:  #2B4FB8;
  --hu-mint:       #97EFB0;
  --hu-orange:     #F5883C;
  --hu-salmon:     #F58080;
  --hu-warm-grey:  #A9A9A6;
  --hu-mid-grey:   #6E747D;

  /* Semantic surfaces, light */
  --bg-page:     var(--hu-paper);
  --bg-feature:  var(--hu-white);
  --bg-card:     var(--hu-card);
  --bg-social:   var(--hu-social);
  --bg-hero:     #C9C9C6;
  --hero-stripe: repeating-linear-gradient(115deg, #C9C9C6 0 16px, #C2C2BF 16px 32px);
  --hero-text:   var(--hu-ink);
  --hero-text-alt: var(--hu-white);
  --text:        var(--hu-ink);
  --text-body:   var(--hu-slate);
  --text-meta:   var(--hu-grey);
  --hairline:    #DEDEDB;
  --rule:        rgba(14, 15, 17, 0.12);
  --btn-bg:      var(--hu-white);
  --btn-fg:      var(--hu-ink);
  --portrait-fallback: repeating-linear-gradient(115deg, #E4E4E1 0 14px, #DEDEDB 14px 28px);

  --ease:  cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 3vw, 32px);
  --hero-stroke: clamp(1px, 0.18vw, 3px);

  --font-display: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body:    Geist, Archivo, system-ui, -apple-system, sans-serif;
  --font-accent:  Newsreader, Georgia, "Times New Roman", serif;
}

[data-theme="dark"] {
  --bg-page:     var(--hu-black);
  --bg-feature:  var(--hu-black);
  --bg-card:     #0A0A0A;
  --bg-social:   var(--hu-black);
  --bg-hero:     var(--hu-black);
  --hero-stripe: var(--hu-black);
  --hero-text:   var(--hu-white);
  --hero-text-alt: var(--hu-ink);
  --text:        #F2F1EC;
  --text-body:   #9BA0A8;
  --text-meta:   #9BA0A8;
  --hairline:    rgba(242, 241, 236, 0.18);
  --rule:        rgba(242, 241, 236, 0.18);
  --btn-bg:      var(--hu-black);
  --btn-fg:      #F2F1EC;
  --portrait-fallback: repeating-linear-gradient(115deg, #1A1A1A 0 14px, #141414 14px 28px);
}

/* ==========================================================================
   2. Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  /* Fixed header must not hide anchor targets. */
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.hu-menu-open { overflow: hidden; }

img, video { max-width: 100%; display: block; }

a { color: var(--text); text-decoration: none; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--hu-red);
  outline-offset: 3px;
}

.hu-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--hu-ink);
  color: var(--hu-white);
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hu-skip-link:focus { left: 8px; top: 8px; }

.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
}

/* ==========================================================================
   3. Fixed header
   ========================================================================== */

.hu-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  /* Reads over any background beneath it. */
  mix-blend-mode: difference;
  color: var(--hu-white);
}

.hu-header__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--hu-white);
}

.hu-header__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: 22px;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: 1px solid var(--hu-white);
  border-radius: 999px;
  color: var(--hu-white);
  cursor: pointer;
}
.hu-header__toggle svg { width: 15px; height: 15px; }
.hu-header__toggle .hu-icon-sun { display: none; }
[data-theme="dark"] .hu-header__toggle .hu-icon-sun  { display: block; }
[data-theme="dark"] .hu-header__toggle .hu-icon-moon { display: none; }

.hu-header__burger {
  display: grid;
  gap: 5px;
  padding: 6px 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.hu-header__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--hu-white);
}

/* ==========================================================================
   4. Drawer
   ========================================================================== */

.hu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(50vw, 560px);
  z-index: 60;
  padding: 0 clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background-color: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .45s var(--ease), visibility .45s;
}
.hu-drawer[data-open="true"] { transform: translateX(0); visibility: visible; }

/* No JS: the drawer is reachable but never covers the page. */
.no-js .hu-drawer { position: static; width: auto; transform: none; visibility: visible; }

.hu-drawer__link {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #F2F1EC;
  transition: color .3s var(--ease);
}
.hu-drawer__link:hover,
.hu-drawer__link:focus-visible { color: var(--hu-blue); }

.hu-drawer__close {
  position: absolute;
  top: 18px;
  right: clamp(24px, 4vw, 56px);
  background: none;
  border: 0;
  color: #F2F1EC;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.hu-drawer__social {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hu-drawer__social a {
  padding: 18px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 241, 236, 0.8);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.hu-drawer__social a:last-child { border-right: 0; }
.hu-drawer__social a:hover,
.hu-drawer__social a:focus-visible { background: var(--hu-blue); color: var(--hu-white); }

/* ==========================================================================
   5. Hero
   ========================================================================== */

.hu-hero {
  position: relative;
  z-index: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-hero);
}

/* Both layers are fixed so later sections scroll up over them. */
.hu-hero__fallback,
.hu-hero__video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  z-index: 0;
}
.hu-hero__fallback { background: var(--hero-stripe); }
.hu-hero__video { object-fit: cover; }
.hu-hero__video[hidden] { display: none; }

/*
 * A provider iframe cannot be object-fit, so it is sized to the larger of a 16:9
 * box and the viewport, then centred. Pointer events are off so the embed never
 * takes a click meant for the page.
 */
.hu-hero__embed {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: hidden;
}
.hu-hero__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hu-hero__title {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 var(--gutter);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(46px, 11.5vw, 190px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--hero-text);
  overflow: hidden;
}
.hu-hero__line { display: block; overflow: hidden; }
.hu-hero__line > span {
  display: inline-block;
  /* Painted by the cycle animation; this is the resting state. */
  -webkit-text-stroke-width: 0;
}

/* --- Variant: rise loop (the original) ------------------------------- */

.hu-hero[data-anim="rise"] .hu-hero__line > span {
  animation: hu-rise-loop 6s var(--ease) infinite;
}
.hu-hero[data-anim="rise"] .hu-hero__line:nth-child(1) > span { animation-delay: 0.1s; }
.hu-hero[data-anim="rise"] .hu-hero__line:nth-child(2) > span { animation-delay: 0.28s; }

@keyframes hu-rise-loop {
  0%   { opacity: 0; transform: translateY(0.9em); }
  10%  { opacity: 1; transform: translateY(0); }
  80%  { opacity: 1; transform: translateY(0); }
  92%  { opacity: 0; transform: translateY(-0.9em); }
  100% { opacity: 0; transform: translateY(0.9em); }
}

/* --- Variant: solid / outline cycle ---------------------------------- */

/*
 * Two animations run together. The name keeps moving on the 6s rise loop, and
 * a second 24s track holds one of four looks for each pass: solid, inverted
 * solid, outlined, inverted outline. steps(1, end) makes each switch a hard
 * cut rather than a fade, and it lands while the line is off screen.
 */
.hu-hero[data-anim="cycle"] .hu-hero__line > span {
  animation:
    hu-rise-loop 6s var(--ease) infinite,
    hu-name-cycle 24s steps(1, end) infinite;
}
.hu-hero[data-anim="cycle"] .hu-hero__line:nth-child(1) > span { animation-delay: 0.1s, 0.1s; }
.hu-hero[data-anim="cycle"] .hu-hero__line:nth-child(2) > span { animation-delay: 0.28s, 0.28s; }

@keyframes hu-name-cycle {
  0%, 24.99% {
    color: var(--hero-text);
    -webkit-text-stroke: 0 transparent;
  }
  25%, 49.99% {
    color: var(--hero-text-alt);
    -webkit-text-stroke: 0 transparent;
  }
  50%, 74.99% {
    color: transparent;
    -webkit-text-stroke: var(--hero-stroke) var(--hero-text);
  }
  75%, 100% {
    color: transparent;
    -webkit-text-stroke: var(--hero-stroke) var(--hero-text-alt);
  }
}

/* --- Variant: none ---------------------------------------------------- */

.hu-hero[data-anim="none"] .hu-hero__line > span { animation: none; }

/* ==========================================================================
   6. Feature (New Yorker split)
   ========================================================================== */

.hu-feature {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  align-items: stretch;
  background: var(--bg-feature);
}

.hu-feature__body {
  display: grid;
  gap: 22px;
  justify-items: center;
  align-content: center;
  text-align: center;
  /*
   * A ch measure here would resolve against this element's 16px font, not the
   * 49px headline, which crushed the headline into a six line stack. The
   * measure is set per element below instead.
   */
  max-width: 660px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 90px) clamp(24px, 3vw, 40px);
}

.hu-feature__kicker {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hu-red);
}

.hu-feature__headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: var(--text);
  /* Measured in the headline's own size, so it holds at every clamp step. */
  max-width: 13em;
}

.hu-feature__dek {
  margin: 0;
  font-family: var(--font-accent);
  font-size: 18.5px;
  line-height: 1.55;
  color: var(--text-body);
  max-width: 32em;
  text-wrap: pretty;
}

/* Newsreader italic accent inside headlines only. */
.hu-feature__headline em,
.hu-press__headline em {
  font-family: var(--font-accent);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.015em;
}

/* Per-card italic accent colour, set inline from the editor field. */
.hu-press__headline em { color: var(--accent, inherit); }
.hu-press__headline { display: block; }

.hu-btn {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.hu-btn:hover,
.hu-btn:focus-visible { background: var(--btn-fg); color: var(--btn-bg); }

.hu-feature__portrait {
  position: relative;
  min-height: 100vh;
  background: var(--portrait-fallback);
  display: grid;
  place-items: center;
}
.hu-feature__portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hu-placeholder {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hu-grey);
}

/* ==========================================================================
   7. Work grid
   ========================================================================== */

.hu-work {
  position: relative;
  z-index: 3;
  display: grid;
  /* Always three per row, however many tiles are added. */
  grid-template-columns: repeat(3, 1fr);
}

.hu-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  overflow: hidden;
  color: inherit;
}

.hu-tile__media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.hu-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hu-tile__caption {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.hu-tile__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
a.hu-tile:hover .hu-tile__veil,
a.hu-tile:focus-visible .hu-tile__veil { opacity: 0.94; }

/* ==========================================================================
   8. Press
   ========================================================================== */

.hu-press {
  position: relative;
  z-index: 3;
  background: var(--bg-page);
  padding: clamp(40px, 5vw, 72px) var(--gutter);
}

.hu-press__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.hu-press__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 46px);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.hu-press__kicker {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-meta);
}

.hu-press__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
}

.hu-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  color: var(--text);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.hu-card:hover,
.hu-card:focus-visible { transform: translateY(-6px); border-color: var(--text); }

.hu-card__panel {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 30px 26px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-size: 34px 34px;
}
.hu-card__panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hu-press__headline {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.22;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

.hu-card__veil {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hu-white);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.hu-card:hover .hu-card__veil,
.hu-card:focus-visible .hu-card__veil { opacity: 1; }

.hu-card__body {
  padding: 22px 24px 26px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.hu-pill {
  justify-self: start;
  border: 1px solid var(--hairline);
  padding: 7px 12px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-meta);
}
.hu-card__dek {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-body);
}

/* ==========================================================================
   9. Footer
   ========================================================================== */

.hu-footer {
  position: relative;
  z-index: 3;
  background: var(--bg-page);
  padding: 0 var(--gutter) clamp(28px, 4vw, 48px);
}

.hu-footer__social {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.hu-footer__social a {
  background: var(--bg-social);
  aspect-ratio: 5 / 3;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  border-right: 1px solid var(--rule);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.hu-footer__social a:last-child { border-right: 0; }
.hu-footer__social a:hover,
.hu-footer__social a:focus-visible {
  background: var(--hover-bg, var(--hu-ink));
  color: var(--hover-fg, var(--hu-white));
}

.hu-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(20px, 2.5vw, 32px);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-meta);
}
.hu-footer__legal a { color: var(--text-meta); transition: color .3s var(--ease); }
.hu-footer__legal a:hover,
.hu-footer__legal a:focus-visible { color: var(--text); }
.hu-footer__legal > div { display: flex; flex-wrap: wrap; gap: 22px; }

/* ==========================================================================
   10. Inner pages (single, page, archive, 404)
   ========================================================================== */

.hu-inner {
  position: relative;
  z-index: 3;
  background: var(--bg-page);
  padding: clamp(96px, 12vw, 160px) var(--gutter) clamp(48px, 6vw, 90px);
}
.hu-inner__wrap { max-width: 74ch; margin: 0 auto; }

.hu-inner__meta {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-meta);
  margin-bottom: 18px;
}
.hu-inner__title {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--text);
}
.hu-inner__title em {
  font-family: var(--font-accent);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.015em;
}

.hu-prose {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--text-body);
}
.hu-prose h2, .hu-prose h3, .hu-prose h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.14;
  color: var(--text);
  margin: 2em 0 0.6em;
}
.hu-prose h2 { font-size: clamp(22px, 2.4vw, 32px); }
.hu-prose h3 { font-size: clamp(19px, 1.9vw, 24px); }
.hu-prose a { color: var(--hu-red); text-decoration: underline; text-underline-offset: 3px; }
.hu-prose blockquote {
  margin: 1.8em 0;
  padding-left: 22px;
  border-left: 2px solid var(--hu-red);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 21px;
  color: var(--text);
}
.hu-prose img { height: auto; margin: 1.6em 0; }
.hu-prose code, .hu-prose pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
}
.hu-prose pre {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  padding: 18px;
  overflow-x: auto;
}
.hu-prose figcaption {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-meta);
}

.hu-list { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.hu-list a {
  display: grid;
  gap: 8px;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding-left .3s var(--ease);
}
.hu-list a:hover { padding-left: 12px; }
.hu-list h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.14;
  color: var(--text);
}

.hu-pagination {
  display: flex;
  gap: 14px;
  margin-top: 42px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hu-pagination .page-numbers {
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  color: var(--text-meta);
}
.hu-pagination .page-numbers.current { background: var(--text); color: var(--bg-page); border-color: var(--text); }

/* WordPress core classes */
.alignleft  { float: left;  margin: 0.4em 1.6em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.6em; }
.aligncenter { display: block; margin: 1.6em auto; }
.wp-caption-text { font-family: var(--font-body); font-size: 12px; color: var(--text-meta); }
.sticky, .gallery-caption, .bypostauthor { /* required by the theme check */ }

/* Keeps the admin bar clear of the fixed header. */
body.admin-bar .hu-header { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .hu-header { top: 46px; } }

/* ==========================================================================
   11. Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .hu-feature { min-height: 0; }
  .hu-feature__portrait { min-height: 62vh; }
  /* Sticky columns stack badly on narrow screens. */
  .hu-feature { position: relative; }
}

@media (max-width: 760px) {
  /* Three squares stop being legible below roughly this width. */
  .hu-work { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .hu-drawer { width: min(86vw, 560px); }
  .hu-press__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hu-footer__legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .hu-work { grid-template-columns: 1fr; }
  .hu-tile { padding: 20px; }
  .hu-drawer__social a { padding: 14px 10px; font-size: 10px; }
}

/* ==========================================================================
   12. Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  /* The looping hero name ends invisible, so pin it on when animation is off. */
  .hu-hero__line > span {
    opacity: 1 !important;
    transform: none !important;
    color: var(--hero-text) !important;
    -webkit-text-stroke-width: 0 !important;
  }
}
