/* ============================================================
   No.8 Re-Wired — Tier B (Modern / Expanded)
   Palette B: bg #EDF0F2 · ink #0B0B12 · accent #2292D3
              secondary #B66435 · hairline #E6E5EC
   Type: Space Grotesk (display) + Inter (body)
   ============================================================ */

:root {
  --bg:        #EDF0F2;
  --surface:   #FFFFFF;
  --surface-2: #F6F8FA;
  --ink:       #0B0B12;
  --ink-2:     #3A3A46;
  --ink-3:     #6B6B78;
  --accent:    #2292D3;
  --accent-d:  #1B76AC;
  --accent-t:  #E2F0F9;
  --secondary: #B66435;
  --secondary-d:#8F4D27;
  --hairline:  #E6E5EC;
  --hairline-2:#D7DBE0;
  --shadow-sm: 0 1px 2px rgba(11,11,18,.04), 0 2px 8px rgba(11,11,18,.05);
  --shadow-md: 0 4px 14px rgba(11,11,18,.07), 0 12px 36px rgba(11,11,18,.07);
  --shadow-lg: 0 10px 30px rgba(11,11,18,.10), 0 30px 70px rgba(11,11,18,.10);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --maxw: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,h2,h3,h4,.display {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

a { color: var(--accent-d); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 880px; }

/* eyebrow / kicker */
.kicker {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-d);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.kicker.sec { color: var(--secondary-d); }
.kicker.sec::before { background: var(--secondary); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(237,240,242,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 76px;
}
.brand { display: inline-flex; align-items: baseline; gap: 2px; margin-right: auto; }
.brand .wm {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.brand .wm .no { color: var(--accent-d); }
.brand .wm .dot { color: var(--secondary); }
.brand:hover .wm { color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a, .nav-item > button {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 9px 14px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color .2s, background .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-links > a:hover, .nav-item > button:hover { color: var(--ink); background: rgba(34,146,211,.08); }
.nav-links > a.active { color: var(--accent-d); }
.nav-item { position: relative; }
.nav-item .chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }

/* dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 460px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  transition: background .18s, color .18s;
}
.dropdown a:hover { background: var(--accent-t); color: var(--accent-d); }
.dropdown a .ci { font-size: 18px; line-height: 1; }
.dropdown .all-link { grid-column: 1 / -1; margin-top: 4px; border-top: 1px solid var(--hairline); padding-top: 12px; color: var(--accent-d); font-weight: 600; }

.nav-cta {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  transition: transform .18s var(--ease), background .2s;
}
.nav-cta:hover { background: var(--accent-d); color: #fff; transform: translateY(-1px); }
.nav-tel { color: var(--ink-2); font-weight: 500; font-size: 15px; font-family: 'Space Grotesk', sans-serif; padding: 9px 6px; }
.nav-tel:hover { color: var(--accent-d); }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s var(--ease), opacity .2s; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--bg);
  transform: translateY(-100%);
  transition: transform .4s var(--ease);
  display: flex; flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mm-top { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.mm-close { background: none; border: 0; font-size: 30px; line-height: 1; color: var(--ink); cursor: pointer; }
.mm-links { display: flex; flex-direction: column; gap: 2px; margin-top: 24px; }
.mm-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px; font-weight: 600; color: var(--ink);
  padding: 12px 0; border-bottom: 1px solid var(--hairline);
}
.mm-links a:hover { color: var(--accent-d); }
.mm-sub { display: flex; flex-direction: column; padding: 6px 0 12px 14px; border-bottom: 1px solid var(--hairline); }
.mm-sub a { font-size: 17px; border: 0; padding: 7px 0; color: var(--ink-2); }
.mm-foot { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.mm-cta { background: var(--ink); color: #fff !important; text-align: center; padding: 16px; border-radius: 999px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
.mm-tel { color: var(--accent-d) !important; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; text-align: center; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 999px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .18s var(--ease), background .2s, box-shadow .2s, color .2s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(34,146,211,.28); }
.btn-primary:hover { background: var(--accent-d); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(34,146,211,.34); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--accent-d); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------------- Section scaffolding ---------------- */
section { position: relative; }
.sec { padding: clamp(64px, 9vw, 130px) 0; }
.sec-tight { padding: clamp(48px, 6vw, 84px) 0; }
.sec-head { max-width: 760px; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 50px); margin: 16px 0 0; }
.sec-head p { color: var(--ink-2); font-size: clamp(17px, 2vw, 19px); margin: 18px 0 0; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); line-height: 1.6; }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------------- Hero (home) ---------------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(42px, 7vw, 86px); line-height: .98; }
.hero h1 .em { color: var(--accent-d); }
.hero .sub { font-size: clamp(18px, 2.3vw, 22px); color: var(--ink-2); margin: 26px 0 0; max-width: 30ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .st .n { font-family: 'Space Grotesk', sans-serif; font-size: 38px; font-weight: 700; color: var(--ink); line-height: 1; }
.hero-stats .st .l { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; letter-spacing: .02em; }

.hero-art { position: relative; }
.hero-art .frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--surface-2);
}
.hero-art .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .tag {
  position: absolute; left: -14px; bottom: 30px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); box-shadow: var(--shadow-md);
  padding: 14px 18px; max-width: 240px;
}
.hero-art .tag .t { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; }
.hero-art .tag .s { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.hero-art .badge {
  position: absolute; top: 22px; right: -16px;
  background: var(--secondary); color: #fff;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 13px;
  padding: 9px 15px; border-radius: 999px; box-shadow: var(--shadow-md);
}

/* trust strip */
.trust { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--surface-2); }
.trust .row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; padding: 26px 0; }
.trust .lbl { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; font-family: 'Space Grotesk', sans-serif; }
.trust .item { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.trust .item .o { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------------- Book intro ---------------- */
.book-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.book-cover-wrap { position: relative; }
.book-cover-wrap img { border-radius: 12px; box-shadow: var(--shadow-lg); width: 100%; max-width: 380px; margin: 0 auto; transform: rotate(-2deg); transition: transform .5s var(--ease); }
.book-cover-wrap:hover img { transform: rotate(0); }
.book-cover-wrap .seal {
  position: absolute; bottom: -18px; right: 8px;
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; text-align: center;
  font-family: 'Space Grotesk', sans-serif; box-shadow: var(--shadow-md);
}
.book-cover-wrap .seal b { font-size: 26px; display: block; line-height: 1; }
.book-cover-wrap .seal span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }

/* ---------------- Category grid ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  position: relative; display: block; border-radius: var(--r-md); overflow: hidden;
  background: var(--surface); border: 1px solid var(--hairline);
  aspect-ratio: 3/4; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,18,0) 32%, rgba(11,11,18,.86) 100%); }
.cat-card .meta { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; }
.cat-card .meta .ct { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; line-height: 1.1; }
.cat-card .meta .cn { font-size: 13px; opacity: .85; margin-top: 5px; display: flex; align-items: center; gap: 7px; }
.cat-card .num { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--ink); border-radius: 999px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 13px; padding: 4px 11px; }

/* ---------------- Featured inventions ---------------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feat-card .ph { aspect-ratio: 16/11; overflow: hidden; background: var(--surface-2); }
.feat-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feat-card:hover .ph img { transform: scale(1.05); }
.feat-card .bd { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.feat-card .cat-tag { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--accent-d); font-family: 'Space Grotesk', sans-serif; }
.feat-card h3 { font-size: 22px; margin: 9px 0 0; }
.feat-card .inv { font-size: 13.5px; color: var(--ink-3); margin: 7px 0 0; }
.feat-card .ex { font-size: 14.5px; color: var(--ink-2); margin: 14px 0 0; line-height: 1.55; }
.feat-card .more { margin-top: auto; padding-top: 18px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px; color: var(--accent-d); display: inline-flex; align-items: center; gap: 7px; }
.feat-card:hover .more .arr { transform: translateX(3px); }
.feat-card .arr { transition: transform .2s var(--ease); }

/* ---------------- Invention card (category page grid) ---------------- */
.inv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.inv-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.inv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.inv-card .ph { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); position: relative; }
.inv-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.inv-card:hover .ph img { transform: scale(1.05); }
.inv-card .iconic { position: absolute; top: 12px; left: 12px; background: var(--secondary); color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; }
.inv-card .bd { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.inv-card h3 { font-size: 19.5px; line-height: 1.15; }
.inv-card .inv { font-size: 13px; color: var(--secondary-d); margin: 7px 0 0; font-weight: 500; }
.inv-card .ex { font-size: 14px; color: var(--ink-2); margin: 12px 0 0; line-height: 1.55; }
.inv-card .more { margin-top: auto; padding-top: 16px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; color: var(--accent-d); display: inline-flex; align-items: center; gap: 6px; }
.inv-card.flat { box-shadow: none; }
.inv-card.flat .more { color: var(--ink-3); cursor: default; }

/* ---------------- Page hero (interior) ---------------- */
.page-hero { padding: clamp(48px, 6vw, 92px) 0 clamp(28px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(38px, 6vw, 70px); line-height: 1; max-width: 16ch; }
.page-hero .lead { margin-top: 22px; max-width: 60ch; }
.crumb { display: flex; align-items: center; gap: 8px; font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: var(--ink-3); margin-bottom: 22px; flex-wrap: wrap; }
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--accent-d); }
.crumb .sep { opacity: .5; }
.crumb .cur { color: var(--ink); font-weight: 500; }

/* category nav pills */
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-pills a {
  font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 14px;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--hairline-2); color: var(--ink-2); background: var(--surface);
  transition: all .2s;
}
.cat-pills a:hover { border-color: var(--accent); color: var(--accent-d); }
.cat-pills a.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------------- Invention detail ---------------- */
.detail-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.detail-hero .figure { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface-2); }
.detail-hero .figure img { width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.detail-hero h1 { font-size: clamp(38px, 5.5vw, 64px); margin: 14px 0 0; }
.detail-hero .by { font-family: 'Space Grotesk', sans-serif; font-size: 17px; color: var(--secondary-d); font-weight: 600; margin: 18px 0 0; }
.detail-hero .by span { color: var(--ink-3); font-weight: 400; }

.prose { max-width: 70ch; }
.prose p { font-size: 18px; line-height: 1.75; color: var(--ink-2); margin: 0 0 22px; }
.prose p:first-child { font-size: 20px; color: var(--ink); }
.prose p:first-child::first-letter { }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gfig { margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-sm); }
.gfig .gph { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.gfig img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gfig:hover img { transform: scale(1.05); }
.gfig figcaption { padding: 12px 16px; font-size: 13.5px; color: var(--ink-3); line-height: 1.4; }

.more-info { display: flex; flex-wrap: wrap; gap: 12px; }
.more-info a {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 15px;
  padding: 12px 18px; border-radius: 12px;
  border: 1px solid var(--hairline-2); background: var(--surface); color: var(--ink-2);
  transition: all .2s;
}
.more-info a:hover { border-color: var(--accent); color: var(--accent-d); transform: translateY(-2px); }

.fact-rail { display: grid; gap: 14px; }
.fact { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 18px 20px; }
.fact .fl { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; font-family: 'Space Grotesk', sans-serif; }
.fact .fv { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px; margin-top: 5px; color: var(--ink); }

/* prev / next nav */
.pn-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pn { border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 20px 22px; background: var(--surface); transition: all .25s var(--ease); }
.pn:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pn .dir { font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.pn .nm { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; margin-top: 6px; color: var(--ink); }
.pn.next { text-align: right; }

/* ---------------- About ---------------- */
.about-hero-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 21/9; }
.about-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.authors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.author-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.author-card .top { display: flex; gap: 18px; padding: 24px 24px 0; align-items: center; }
.author-card .top img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); box-shadow: var(--shadow-sm); }
.author-card .top h3 { font-size: 24px; }
.author-card .top .role { font-family: 'Space Grotesk', sans-serif; color: var(--secondary-d); font-weight: 600; font-size: 14px; margin-top: 4px; }
.author-card .bio { padding: 18px 24px 24px; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }

.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.press-item { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.press-item .q { font-size: 15px; color: var(--ink); line-height: 1.5; }
.press-item .src { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; letter-spacing: .02em; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.contact-card .hd { display: flex; gap: 18px; align-items: center; padding: 26px 26px 0; }
.contact-card .hd img { width: 84px; height: 84px; border-radius: 18px; object-fit: cover; box-shadow: var(--shadow-sm); }
.contact-card .hd h3 { font-size: 24px; }
.contact-card .hd .role { font-family: 'Space Grotesk', sans-serif; color: var(--secondary-d); font-weight: 600; font-size: 14px; margin-top: 4px; }
.contact-card .bio { padding: 18px 26px 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.contact-card .rows { padding: 20px 26px 26px; margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.contact-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--hairline); font-size: 15.5px; }
.contact-row .ic { width: 20px; color: var(--accent-d); flex-shrink: 0; }
.contact-row a { color: var(--ink); font-weight: 500; }
.contact-row a:hover { color: var(--accent-d); }

/* ---------------- CTA band ---------------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(34,146,211,.4), transparent 70%); }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); max-width: 18ch; position: relative; }
.cta-band p { color: rgba(255,255,255,.75); margin: 16px 0 0; max-width: 52ch; position: relative; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; position: relative; }
.cta-band .btn-primary { box-shadow: 0 8px 24px rgba(34,146,211,.4); }
.cta-band .btn-on-dark { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.cta-band .btn-on-dark:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: clamp(48px, 6vw, 80px) 0 36px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .wm { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 24px; letter-spacing: -0.03em; color: #fff; }
.footer-brand .wm .no { color: var(--accent); }
.footer-brand .wm .dot { color: var(--secondary); }
.footer-brand p { color: rgba(255,255,255,.6); font-size: 15px; margin: 16px 0 0; max-width: 36ch; line-height: 1.6; }
.footer-col h4 { font-family: 'Space Grotesk', sans-serif; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 600; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: rgba(255,255,255,.72); font-size: 15px; padding: 6px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .nav-links, .nav-cta, .nav-tel { display: none; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 460px; margin: 0 auto; width: 100%; }
  .book-grid { grid-template-columns: 1fr; }
  .book-cover-wrap img { max-width: 280px; }
  .detail-hero { grid-template-columns: 1fr; }
  .authors-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .feat-grid, .inv-grid, .gallery-grid, .press-grid { grid-template-columns: repeat(2, 1fr); }
  .pn-nav { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .feat-grid, .inv-grid, .press-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr; gap: 14px; }
  .cat-card { aspect-ratio: 16/10; }
  .hero-stats { gap: 24px; }
  .hero-art .tag { left: 8px; }
  .hero-art .badge { right: 8px; }
}
