
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;800;900&family=Public+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --sky: #74c7f2;
  --sky-soft: #e8f7ff;
  --sun: #ffd166;
  --coral: #ff6b57;
  --coral-soft: #fff0eb;
  --leaf: #57b978;
  --leaf-soft: #ecf8ef;
  --backpack-red: #e84d38;
  --ink: #14312e;
  --muted: #637875;
  --line: rgba(20, 49, 46, .14);
  --paper: #fffaf2;
  --paper-soft: #fffdf8;
  --white: #ffffff;
  --sans: "Public Sans", "Noto Sans TC", "PingFang TC", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 18px 42px rgba(20, 49, 46, .12);
}
* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(116, 199, 242, .12), transparent 36%),
    linear-gradient(180deg, rgba(255, 209, 102, .16), transparent 28%),
    var(--paper);
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid rgba(255, 107, 87, .72); outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
.skip-link {
  position: absolute;
  left: 18px;
  top: 12px;
  z-index: 50;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(20, 49, 46, .1);
  background: rgba(255, 250, 242, .88);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-logo { display: block; width: 58px; opacity: .82; transition: opacity 180ms var(--ease); }
.brand-logo:hover { opacity: 1; }
.brand-logo img { width: 58px; height: auto; }
.brand-title {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.site-nav { display: flex; gap: 10px; color: var(--ink); font-size: 14px; font-weight: 800; }
.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}
.site-nav a:hover {
  border-color: rgba(255, 107, 87, .3);
  background: rgba(255, 255, 255, .66);
  transform: translateY(-1px);
}
.header-newsletter {
  margin-left: auto;
  min-width: min(360px, 30vw);
}
.newsletter-form {
  display: grid;
  gap: 10px;
}
.newsletter-form label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}
.newsletter-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.newsletter-form input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(20, 49, 46, .18);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--ink);
  font: 800 14px var(--sans);
}
.newsletter-form input::placeholder { color: rgba(20, 49, 46, .5); }
.newsletter-form button {
  min-width: 56px;
  min-height: 42px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font: 900 14px var(--sans);
  white-space: nowrap;
  cursor: pointer;
}
.newsletter-form button:disabled { opacity: .56; cursor: wait; }
.newsletter-status {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.newsletter-form-compact {
  gap: 4px;
}
.newsletter-form-compact label {
  font-size: 11px;
  color: var(--muted);
}
.newsletter-form-compact .newsletter-row { gap: 6px; }
.newsletter-form-compact input { min-height: 36px; font-size: 13px; }
.newsletter-form-compact button { min-width: 54px; min-height: 36px; padding-inline: 12px; font-size: 13px; }
.name-inline { white-space: nowrap; }
.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .72fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: stretch;
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px) clamp(18px, 4vw, 56px) clamp(40px, 6vw, 72px);
  background:
    linear-gradient(135deg, rgba(116, 199, 242, .24), rgba(255, 209, 102, .18) 54%, rgba(255, 107, 87, .12)),
    var(--paper);
}
.home-hero-media {
  min-height: clamp(360px, 62vh, 720px);
  max-height: min(72vh, 760px);
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .66);
  background: var(--sky-soft);
  box-shadow: var(--shadow);
}
.home-hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}
.home-hero-copy {
  align-self: end;
  padding: clamp(18px, 3vw, 34px);
  border-radius: 8px;
  background: rgba(255, 253, 248, .86);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 14px 34px rgba(20, 49, 46, .1);
}
.hero-frame,
.hub-cover-frame {
  margin: 0;
}
.hero-frame img,
.hub-cover,
.article-hero-image {
  border-radius: 8px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
h1, h2, h3, p { letter-spacing: 0; }
h1, h2, h3 {
  font-weight: 900;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.6rem, 5.2vw, 5.4rem);
  line-height: 1.02;
}
.home-hero-copy > p:last-of-type,
.hub-copy > p,
.article-copy > p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.cover-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.metric {
  min-width: 100px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .62);
}
.metric strong { display: block; font-size: 24px; line-height: 1; }
.metric small { color: var(--muted); font-size: 12px; font-weight: 800; }
.section { padding: clamp(44px, 7vw, 90px) clamp(18px, 4vw, 58px); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.section-head h2,
.article-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1.08;
}
.section-head p { max-width: 520px; color: var(--muted); line-height: 1.7; }
.latest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 22px;
  align-items: start;
}
.secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.feature-post,
.post-card,
.timeline-card {
  background: rgba(255, 253, 248, .94);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.feature-post:hover,
.post-card:hover,
.timeline-card:hover {
  border-color: rgba(255, 107, 87, .38);
  box-shadow: var(--shadow);
}
.feature-post a {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(280px, .72fr);
  min-height: min(56vh, 560px);
}
.feature-post img { height: 100%; object-fit: cover; }
.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(22px, 4vw, 42px);
}
.feature-copy h3 { margin: 0 0 18px; font-size: clamp(1.9rem, 3.6vw, 3.5rem); line-height: 1.05; }
.feature-copy p:not(.eyebrow) { margin: 0 0 22px; color: var(--muted); line-height: 1.82; }
.post-card a { display: block; height: 100%; }
.post-card img { aspect-ratio: 4 / 5; object-fit: cover; }
.post-card-copy { padding: 16px; }
.post-card-copy p { margin: 0 0 8px; color: var(--coral); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.post-card-copy h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.25; }
.post-card-copy span { color: var(--muted); font-size: 14px; line-height: 1.6; }
.text-link {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-bottom: 2px solid var(--coral);
  font-size: 14px;
  font-weight: 900;
}
.character-section { padding-top: 0; }
.character-stack {
  display: grid;
  gap: 16px;
}
.character-panel {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, .82);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}
.character-panel:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(255, 107, 87, .3); }
.character-panel.character-ailisha { background: linear-gradient(120deg, rgba(255, 253, 248, .92), rgba(236, 248, 239, .7)); }
.character-panel.character-j { background: linear-gradient(120deg, rgba(255, 253, 248, .92), rgba(232, 247, 255, .78)); }
.character-panel.character-dorami { background: linear-gradient(120deg, rgba(255, 253, 248, .94), rgba(255, 240, 235, .78)); }
.character-panel img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.character-panel h3 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 3.6rem); }
.character-panel p { max-width: 680px; margin: 0; color: var(--muted); line-height: 1.72; }
.panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.panel-meta span {
  border-left: 1px solid var(--line);
  padding-left: 10px;
}
.panel-meta span:first-child { border-left: 0; padding-left: 0; }
.hub-masthead {
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 72px);
  background: linear-gradient(120deg, rgba(236, 248, 239, .9), rgba(255, 253, 248, .9));
  border-bottom: 1px solid var(--line);
}
.hub-masthead.character-j { background: linear-gradient(120deg, rgba(232, 247, 255, .96), rgba(255, 253, 248, .9)); }
.hub-masthead.character-dorami { background: linear-gradient(120deg, rgba(255, 240, 235, .96), rgba(255, 253, 248, .9)); }
.hub-layout {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, 460px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}
.hub-copy {
  min-width: 0;
}
.hub-copy h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.5rem, 5.4vw, 5.5rem);
  line-height: 1.02;
}
.hub-titleline {
  margin: 18px 0 0;
  max-width: 560px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2.35rem);
  font-weight: 900;
  line-height: 1.18;
}
.hub-cover-frame {
  justify-self: end;
  width: fit-content;
  max-width: min(100%, 460px);
  margin: 0;
}
.hub-cover {
  max-width: 100%;
  max-height: min(58vh, 560px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.42);
  box-shadow: var(--shadow);
}
.hub-cover-frame figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.timeline-list {
  display: grid;
  gap: 14px;
}
.timeline-card a {
  display: grid;
  grid-template-columns: 140px 180px minmax(0, 1fr);
  align-items: stretch;
  min-height: 176px;
}
.timeline-date {
  padding: 18px;
  border-right: 1px solid var(--line);
}
.timeline-date span {
  display: block;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}
.timeline-date small { color: var(--muted); font-weight: 800; }
.timeline-card img { height: 100%; object-fit: cover; }
.timeline-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
}
.timeline-copy h3 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 38px); line-height: 1.15; }
.timeline-copy p:not(.eyebrow) { margin: 0; color: var(--muted); line-height: 1.7; }
.article-header {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, 460px);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 72px) clamp(30px, 5vw, 56px);
  background: linear-gradient(120deg, rgba(232, 247, 255, .66), rgba(255, 253, 248, .9));
}
.article-header.character-ailisha { background: linear-gradient(120deg, rgba(236, 248, 239, .78), rgba(255, 253, 248, .9)); }
.article-header.character-dorami { background: linear-gradient(120deg, rgba(255, 240, 235, .78), rgba(255, 253, 248, .9)); }
.article-hero-image {
  max-height: min(56vh, 540px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.article { max-width: 1180px; margin: 0 auto; }
.article-header h1 { margin: 0; }
.route {
  margin: 0 clamp(18px, 5vw, 72px) 38px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.route h2 { margin: 0 0 14px; font-size: 24px; }
.route ol { margin: 0; padding-left: 22px; color: var(--muted); line-height: 1.9; }
.image-story {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(56px, 8vw, 110px);
}
figure { margin: 0; }
figure img { aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; }
figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(280px, .62fr) minmax(260px, .55fr);
  gap: 28px;
  padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 58px);
  border-top: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(20, 49, 46, .96), rgba(33, 91, 83, .94));
  color: var(--white);
}
.footer-brand h2 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(1.9rem, 3.6vw, 3.8rem);
  line-height: 1.08;
}
.footer-brand p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255,255,255,.78);
  line-height: 1.8;
}
.footer-newsletter {
  align-self: start;
  padding-top: 4px;
}
.footer-newsletter .newsletter-form label,
.footer-newsletter .newsletter-status {
  color: rgba(255,255,255,.78);
}
.footer-newsletter .newsletter-form input {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.1);
  color: var(--white);
}
.footer-newsletter .newsletter-form input::placeholder { color: rgba(255,255,255,.56); }
.footer-meta {
  display: grid;
  min-height: 100%;
  align-content: space-between;
  justify-items: end;
  gap: 18px;
  text-align: right;
}
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 12px;
}
.footer-credits { display: grid; gap: 8px; }
.footer-cta {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}
.footer-cta-external { background: rgba(255,255,255,.1); }
.footer-credits p {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
}
.footer-copyright {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  font-weight: 700;
  transform: none;
}
.empty-state {
  min-height: 58vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: clamp(40px, 8vw, 100px) 18px;
  text-align: center;
}
.button-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-weight: 900;
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
@media (max-width: 980px) {
  .latest-layout,
  .feature-post a,
  .home-hero,
  .hub-layout,
  .timeline-card a,
  .article-header,
  .site-footer {
    grid-template-columns: 1fr;
  }
  .footer-meta { justify-items: start; text-align: left; }
  .footer-actions { justify-content: start; }
  .footer-copyright { transform: none; }
  .header-newsletter { display: none; }
  .home-hero-media { min-height: clamp(320px, 58vh, 620px); }
  .feature-post a { min-height: auto; }
  .feature-post img { aspect-ratio: 4 / 5; }
  .timeline-card img { aspect-ratio: 16 / 10; }
  .timeline-date { border-right: 0; border-bottom: 1px solid var(--line); }
  .hub-masthead { padding-block: 38px 54px; }
  .hub-cover-frame {
    justify-self: start;
    max-width: min(68vw, 360px);
    order: -1;
  }
  .hub-cover,
  .article-hero-image { max-height: 46vh; }
  .hub-copy h1 { max-width: 100%; }
  .hub-titleline { font-size: clamp(22px, 5vw, 32px); }
  .character-panel { grid-template-columns: 132px minmax(0, 1fr); }
  .character-panel > .text-link { grid-column: 2; }
  .footer-links { justify-content: start; }
}
@media (max-width: 720px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .site-nav { flex-wrap: wrap; row-gap: 6px; }
  .home-hero { padding-top: 18px; }
  .home-hero-media { min-height: 320px; max-height: 58vh; }
  .home-hero-copy { padding: 18px; }
  .secondary-grid, .image-story { grid-template-columns: 1fr; }
  .section-head { display: block; }
  h1 { font-size: clamp(2.25rem, 10vw, 3.5rem); line-height: 1.08; }
  .hub-cover-frame { max-width: min(76vw, 320px); }
  .hub-cover,
  .article-hero-image { max-height: 42vh; }
  .hub-titleline { margin-top: 12px; }
  .home-hero-copy > p:last-of-type,
  .hub-copy > p:not(.eyebrow):not(.hub-titleline),
  .article-copy > p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: anywhere;
  }
  .cover-metrics {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .metric { min-width: 96px; }
  .character-panel { grid-template-columns: 1fr; }
  .character-panel > .text-link { grid-column: auto; }
  .character-panel img { aspect-ratio: 16 / 10; }
}

/* 2026 editorial redesign */
:root {
  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px;
  --space-5: 48px; --space-6: 64px; --radius-sm: 4px; --radius-lg: 8px;
  --ink-soft: #385551; --paper: #fbf7ec; --paper-soft: #fffdf7;
}
body { background: var(--paper); }
.site-header { min-height: 76px; padding-block: 8px; background: rgba(251,247,236,.94); }
.brand { align-items: center; gap: 12px; }
.menu-toggle { display: none; min-width: 48px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: 800 13px var(--sans); }
.site-nav a[aria-current="page"] { color: var(--coral); }
.home-hero { min-height: calc(100svh - 76px); grid-template-columns: 1fr; padding: 0; background: var(--ink); }
.home-hero-media { grid-area: 1 / 1; min-height: calc(100svh - 76px); max-height: none; border: 0; border-radius: 0; box-shadow: none; }
.home-hero-media picture { display: block; width: 112%; height: 100%; }
.home-hero-media img { width: 100%; height: 100%; object-position: center 46%; }
.home-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,36,32,.78) 0%, rgba(9,36,32,.28) 48%, rgba(9,36,32,.04) 76%), linear-gradient(0deg, rgba(9,36,32,.62), transparent 42%); }
.home-hero-copy { grid-area: 1 / 1; z-index: 1; align-self: end; width: min(780px, 90vw); margin: 0 0 clamp(40px, 7vw, 96px) clamp(20px, 6vw, 88px); padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: white; }
.home-hero-copy h1 { max-width: 14ch; font-weight: 800; font-size: clamp(3rem, 5.7vw, 5rem); }
.home-hero-copy > p:last-of-type { max-width: 570px; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.home-hero .button-link { background: var(--coral); }
.quiet-link { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid currentColor; font-weight: 800; }
.home-hero .quiet-link { color: white; }
.cover-metrics { gap: 0; margin-top: 28px; }
.metric { min-width: 0; padding: 0 18px; border: 0; border-left: 1px solid currentColor; border-radius: 0; background: transparent; }
.metric:first-child { padding-left: 0; border-left: 0; }
.home-hero .metric small { color: rgba(255,255,255,.7); }
.section { width: min(1320px, 100%); margin: 0 auto; padding-block: clamp(56px, 7vw, 96px); }
.section-head { display: grid; grid-template-columns: 140px 1fr; align-items: start; padding-top: 18px; }
.section-head h2 { max-width: 780px; font-weight: 800; }
.section-index { margin: 4px 0 0; color: var(--coral); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.latest-layout { display: block; }
.feature-post { border: 0; border-radius: 0; background: transparent; }
.feature-post a { height: clamp(400px, 38vw, 520px); min-height: 0; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); overflow: hidden; }
.feature-post picture { display: block; min-width: 0; min-height: 0; height: 100%; overflow: hidden; }
.feature-post img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center 30%; transition: transform 600ms var(--ease); }
.feature-post:hover { box-shadow: none; }
.feature-post:hover img { transform: scale(1.018); }
.feature-copy { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-copy h3 { font-weight: 800; }
.character-section { padding-top: 24px; }
.character-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.character-panel { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 0 0 28px; border: 0; border-radius: 0; background: var(--paper) !important; }
.character-panel picture { display: block; height: clamp(360px, 35vw, 500px); overflow: hidden; }
.character-panel img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center 32%; border-radius: 0; transition: transform 500ms var(--ease); }
.character-panel > div, .character-panel > .text-link { margin-inline: 24px; }
.character-panel:hover { transform: none; box-shadow: none; }
.character-panel:hover img { transform: scale(1.018); }
.character-panel h3 { font-weight: 800; }
.panel-meta { display: none; }
.secondary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
.post-card { border: 0; border-radius: 0; background: transparent; }
.post-card:hover { box-shadow: none; }
.post-card picture { display: block; height: clamp(220px, 23vw, 300px); overflow: hidden; }
.post-card img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center 32%; transition: transform 450ms var(--ease); }
.post-card:hover img { transform: scale(1.02); }
.post-card-copy { padding: 16px 0 0; }
.post-card-copy h3 { font-size: clamp(21px, 2vw, 28px); font-weight: 800; }
.brand-manifesto { padding: clamp(72px, 12vw, 160px) clamp(20px, 9vw, 140px); background: var(--ink); color: white; }
.brand-manifesto h2 { max-width: 920px; margin: 0; font-size: clamp(2.4rem, 5vw, 5.2rem); line-height: 1.08; font-weight: 700; }
.brand-manifesto > p:not(.eyebrow) { max-width: 680px; color: rgba(255,255,255,.74); line-height: 1.8; }
.tech-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .82fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(48px, 8vw, 116px) clamp(18px, 5vw, 76px);
  background:
    linear-gradient(135deg, rgba(116,199,242,.22), rgba(255,253,248,.88) 42%, rgba(255,107,87,.14)),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.tech-copy h1 {
  max-width: 13ch;
  font-size: clamp(2.45rem, 5.2vw, 5.35rem);
  font-weight: 800;
}
.tech-copy > p {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.85;
}
.tech-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; align-items: center; }
.tech-visual {
  margin: 0;
  justify-self: end;
  width: min(100%, 620px);
}
.tech-visual picture {
  display: block;
  height: clamp(340px, 40vw, 560px);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.tech-visual img { height: 100%; object-fit: cover; object-position: center 42%; }
.tech-visual figcaption { color: var(--ink-soft); font-weight: 700; }
.tech-section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 0;
}
.tech-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.tech-stats .metric {
  min-width: 170px;
  padding: 0 22px 0 0;
  border-left: 0;
  border-right: 1px solid var(--line);
}
.tech-intro h2,
.tech-split h2,
.tech-cta h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1.08;
}
.tech-intro > p:last-child,
.tech-cta p {
  max-width: 780px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  line-height: 1.9;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.workflow-step {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,253,248,.86);
}
.workflow-step span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}
.workflow-step h3 { margin: 0; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.12; }
.workflow-step p { margin: 0; color: var(--muted); line-height: 1.75; }
.tech-split {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, .72fr);
  gap: clamp(28px, 6vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tech-points { display: grid; gap: 18px; }
.tech-points p {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.85;
}
.tech-points strong { color: var(--ink); }
.proof-link {
  min-height: 44px;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 107, 87, .35);
  border-radius: 999px;
  background: rgba(255, 107, 87, .08);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}
.tech-cta {
  width: min(980px, calc(100% - 36px));
  text-align: center;
}
.tech-cta h2,
.tech-cta p { margin-inline: auto; }
.tech-cta .button-link { margin-top: 12px; }
.hub-copy .button-link { margin-top: 24px; }
.hub-copy h1 { font-weight: 800; }
.hub-cover-frame picture { display: block; max-height: 500px; overflow: hidden; }
.hub-cover { width: auto; max-height: 500px; }
.timeline-card { border-width: 0 0 1px; border-radius: 0; background: transparent; }
.timeline-card:hover { box-shadow: none; }
.timeline-card a { min-height: 152px; }
.timeline-card picture { display: block; height: 152px; overflow: hidden; }
.timeline-card img { width: 100%; height: 100%; aspect-ratio: auto; object-position: center 30%; }
.timeline-copy h3 { font-weight: 800; }
.breadcrumbs { max-width: 1180px; margin: 0 auto; padding: 20px clamp(18px,5vw,72px); display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.article-header h1 { font-weight: 800; }
.article-header { min-height: 0; }
.article-header > picture { display: block; max-height: 480px; overflow: hidden; }
.article-hero-image { width: auto; max-height: 480px; object-position: var(--hero-focus, center); }
.route { margin-top: 48px; }
.route-timeline { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; padding: 0 !important; list-style: none; }
.route-timeline li { display: grid; gap: 8px; padding: 16px; border-left: 1px solid var(--line); }
.route-timeline span { color: var(--coral); font-size: 12px; font-weight: 800; }
.image-story figure:nth-child(2) { margin-top: 56px; }
.image-story figure:nth-child(3) { margin-top: 112px; }
.image-story picture { display: block; height: clamp(420px, 42vw, 560px); overflow: hidden; }
.image-story figure img { width: 100%; height: 100%; aspect-ratio: auto; object-position: center 28%; }
.image-story figcaption.image-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.image-story figcaption.image-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}
.gear-note { max-width: 760px; margin: 0 auto 64px; padding: 24px; border: 1px solid var(--line); }
.gear-note p { margin: 0; }
.gear-note a { text-decoration: underline; text-underline-offset: 3px; }
.article-nav { max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px,5vw,72px) clamp(64px,9vw,112px); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.article-nav a { min-height: 112px; display: grid; align-content: center; gap: 8px; padding: 20px; border: 1px solid var(--line); margin-left: -1px; }
.article-nav small { color: var(--coral); font-weight: 800; }
.site-footer { position: relative; background: var(--ink); }
.hero-intro { display: grid; gap: 4px; margin-top: 20px; }
.hero-intro p { margin: 0; color: rgba(255,255,255,.84); font-size: clamp(15px,1.35vw,19px); line-height: 1.65; }

@media (max-width: 980px) {
  .feature-post a { height: auto; grid-template-columns: 1fr; }
  .feature-post picture { height: clamp(340px, 62vw, 520px); }
  .feature-post img { aspect-ratio: auto; }
  .character-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .secondary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .timeline-card picture { width: 100%; height: clamp(240px, 50vw, 400px); }
  .tech-hero,
  .tech-split { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tech-visual { justify-self: start; }
  .tech-copy h1 { max-width: 100%; }
}
@media (max-width: 720px) {
  .site-header { min-height: 68px; flex-direction: row; align-items: center; padding: 6px 18px; }
  .brand { gap: 8px; }
  .brand-logo, .brand-logo img { width: 48px; }
  .brand-title { padding-left: 8px; font-size: 11px; letter-spacing: .025em; }
  .menu-toggle { position: absolute; top: 12px; right: 18px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; position: absolute; top: 68px; inset-inline: 0; padding: 12px 18px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: grid; }
  .site-nav a { min-height: 44px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .home-hero { min-height: calc(86svh - 68px); overflow: hidden; }
  .home-hero-media { min-height: calc(86svh - 68px); max-height: none; }
  .home-hero-media picture { width: 124%; }
  .home-hero-media::after { background: linear-gradient(0deg, rgba(9,36,32,.88) 0%, rgba(9,36,32,.12) 72%); }
  .home-hero-copy { width: auto; margin: 0 20px 28px; }
  .home-hero-copy h1 { max-width: 100%; font-size: clamp(2.15rem,9.2vw,2.8rem); overflow-wrap: anywhere; }
  .hero-intro { gap: 2px; margin-top: 14px; }
  .hero-intro p { font-size: 13px; line-height: 1.55; }
  .hero-actions { gap: 14px; margin-top: 16px; }
  .cover-metrics { display: flex; margin-top: 18px; }
  .metric { padding-inline: 10px; }
  .metric strong { font-size: 20px; }
  .section-head { grid-template-columns: 1fr; gap: 10px; }
  .feature-post picture { height: min(66svh, 440px); }
  .feature-post img { aspect-ratio: auto; object-position: center 28%; }
  .feature-copy { padding: 24px 0; }
  .character-grid, .secondary-grid { grid-template-columns: 1fr; gap: 36px; background: transparent; }
  .workflow-grid { grid-template-columns: 1fr; }
  .tech-hero { padding-top: 34px; }
  .tech-visual picture { height: min(76vw, 380px); }
  .tech-stats { display: grid; gap: 14px; }
  .tech-stats .metric { border-right: 0; padding-right: 0; }
  .workflow-step { min-height: 0; }
  .tech-actions { gap: 12px; }
  .character-panel { border-bottom: 1px solid var(--line); }
  .character-panel > div, .character-panel > .text-link { margin-inline: 0; }
  .character-panel picture { height: min(112vw, 520px); }
  .character-panel img { aspect-ratio: auto; }
  .hub-cover-frame { max-width: 100%; }
  .route-timeline { grid-template-columns: 1fr; }
  .route-timeline li { grid-template-columns: 36px 1fr; border-left: 0; border-top: 1px solid var(--line); }
  .image-story figure:nth-child(n) { margin-top: 0; }
  .image-story picture { height: min(112vw, 560px); }
  .image-story figure img { aspect-ratio: auto; }
  .article-nav { grid-template-columns: 1fr; }
}
