/* =========================================================
   NOOK BARBERSHOP — DESIGN TOKENS

   Palette pulled from the shop itself, not a template default:
   the deep ink of the "nook" wordmark, the rust of its scissor
   mark, and the electric blue LED strip that actually runs the
   ceiling line of the real shop.

   Signature motif: the arched, backlit mirror that appears in
   every chair bay of the real interior — used throughout as the
   recurring frame for images, cards, and section breaks.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Work+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&display=swap');

:root {
  --ink: #1B2130;
  --ink-soft: #454C5E;
  --paper: #F4F1EA;
  --paper-dim: #EAE5DA;
  --panel: #FFFFFF;
  --rust: #B4633D;
  --rust-dark: #8C4A2B;
  --signal: #3454F4;
  --signal-dim: #E8ECFE;
  --line: rgba(27, 33, 48, 0.12);
  --line-strong: rgba(27, 33, 48, 0.22);
  --muted: #6B7080;
  --ok: #2E7D4F;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;

  --radius-arch: 999px 999px 12px 12px;
  --container: 1180px;
  --shadow-card: 0 1px 2px rgba(27,33,48,0.06), 0 12px 28px -16px rgba(27,33,48,0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  padding-bottom: 64px; /* space for sticky mobile CTA */
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; line-height: 1.08; letter-spacing: -0.01em; }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust-dark);
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--rust);
}

.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-top: 10px;
}
.section-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 17px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; }
.btn-signal { background: var(--signal); color: #fff; }
.btn-signal:hover { background: #2942d6; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}
.brand-word {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-panel { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 899px) {
  .nav-toggle { display: flex; }
  .nav-panel {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .nav-panel.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .nav-links a { display: block; padding: 12px 4px; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-panel .btn { margin-top: 14px; width: 100%; }
}

/* =========================================================
   STATUS PILL
   ========================================================= */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.status-dot.is-open { background: var(--ok); box-shadow: 0 0 0 3px rgba(46,125,79,0.18); }
.status-dot.is-closed { background: var(--rust); box-shadow: 0 0 0 3px rgba(180,99,61,0.16); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,20,30,0.55) 0%, rgba(16,20,30,0.86) 78%, rgba(16,20,30,0.97) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 56px 0 64px;
  min-height: 84vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-eyebrow {
  color: #C98A67;
}
.hero-eyebrow::before { background: #C98A67; }
.hero h1 {
  font-size: clamp(42px, 8vw, 84px);
  font-style: italic;
  margin-top: 14px;
  color: #fff;
  max-width: 14ch;
}
.hero-lede {
  margin-top: 18px;
  font-size: 18px;
  color: rgba(244,241,234,0.82);
  max-width: 42ch;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(244,241,234,0.08);
  border: 1px solid rgba(244,241,234,0.22);
  border-radius: 999px;
  font-size: 14px;
}
.hero-fact strong { font-family: var(--font-mono); font-weight: 500; }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero .status-pill {
  background: rgba(244,241,234,0.1);
  border-color: rgba(244,241,234,0.3);
  color: var(--paper);
  margin-top: 18px;
}

/* =========================================================
   PRICE STRIP — price as hero element (§10)
   ========================================================= */
.price-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 0 0 84px;
  border-bottom: 1px solid rgba(244,241,234,0.12);
}
.price-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-arch);
  padding: 44px 32px 34px;
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.5);
  border: 6px solid var(--rust);
}
.price-card .eyebrow { justify-content: center; }
.price-card .price-amount {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(56px, 12vw, 88px);
  margin-top: 6px;
}
.price-card .price-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

/* =========================================================
   ARCH FRAME — signature motif
   ========================================================= */
.arch-frame {
  border-radius: var(--radius-arch);
  overflow: hidden;
  position: relative;
  background: var(--paper-dim);
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.arch-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line);
  pointer-events: none;
}

/* =========================================================
   SERVICES
   ========================================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
}
.service-card.is-featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.service-card.is-featured .service-desc { color: rgba(244,241,234,0.7); }
.service-name { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.service-desc { color: var(--muted); font-size: 14px; margin-top: 6px; min-height: 34px; }
.service-price {
  font-family: var(--font-mono);
  font-size: 22px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
}
.service-card.is-featured .service-price { border-top-color: rgba(244,241,234,0.25); }

/* =========================================================
   BARBERS
   ========================================================= */
.barber-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.barber-card { text-align: left; }
.barber-photo {
  aspect-ratio: 4/5;
  background: var(--paper-dim);
  border-radius: var(--radius-arch);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  text-align: center;
  padding: 20px;
}
.barber-photo-frame {
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
}
.barber-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.barber-name { font-family: var(--font-display); font-size: 22px; margin-top: 16px; }
.barber-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ok);
  font-weight: 600;
}
.barber-role svg { width: 14px; height: 14px; }
.barber-cert-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--rust-dark);
  text-decoration: none;
  font-weight: 600;
}
.barber-cert-link:hover { text-decoration: underline; }

/* =========================================================
   WHY NOOK
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.why-item {
  background: var(--panel);
  padding: 28px 24px;
}
.why-item .label { font-family: var(--font-display); font-size: 21px; }
.why-item .detail { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* =========================================================
   EDUCATION PREVIEW (Hair & Scalp Education USP)
   ========================================================= */
.edu-section { background: var(--paper-dim); }
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.edu-card {
  background: var(--panel);
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 30px 26px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.edu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.edu-card .tag {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--signal-dim);
  color: var(--signal);
  display: flex; align-items: center; justify-content: center;
}
.edu-card .tag svg { width: 20px; height: 20px; }
.edu-card h3 { font-size: 19px; }
.edu-card p { color: var(--muted); font-size: 14.5px; }
.edu-card .go { margin-top: auto; font-family: var(--font-mono); font-size: 12px; color: var(--rust-dark); text-transform: uppercase; letter-spacing: 0.06em; }

/* =========================================================
   CERTIFICATIONS
   ========================================================= */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.cert-card {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cert-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; }
.cert-card figcaption { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.cert-card figcaption strong { font-family: var(--font-display); font-size: 17px; }
.cert-card figcaption span { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* =========================================================
   REVIEWS
   ========================================================= */
.rating-badge {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 20px;
}
.rating-stars { color: var(--rust); font-size: 16px; letter-spacing: 1px; }
.rating-number { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.rating-detail { font-size: 13px; color: var(--muted); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.review-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
}
.review-stars { color: var(--rust); font-size: 13px; letter-spacing: 1px; }
.review-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.review-source { margin-top: auto; font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.review-note { margin-top: 26px; font-size: 13.5px; color: var(--muted); }
.review-note a { color: var(--rust-dark); text-decoration: none; font-weight: 600; }
.review-note a:hover { text-decoration: underline; }

/* =========================================================
   PORTFOLIO / HASIL CUKUR
   ========================================================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 700px) {
  .portfolio-grid { grid-template-columns: repeat(4, 1fr); }
}
.portfolio-slot {
  aspect-ratio: 3/4;
  border-radius: 16px;
  border: 1.5px dashed var(--line-strong);
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}
.portfolio-slot span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.portfolio-note { margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.portfolio-note a { color: var(--rust-dark); text-decoration: none; font-weight: 600; }
.portfolio-note a:hover { text-decoration: underline; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-grid .arch-frame { aspect-ratio: 3/4; }
.gallery-grid .arch-frame:nth-child(3n+1) { aspect-ratio: 4/5; }

/* =========================================================
   OPENING HOURS
   ========================================================= */
.hours-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 860px) {
  .hours-wrap { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}
.hours-list { border-top: 1px solid var(--line); }
.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.hours-row .day { font-weight: 500; }
.hours-row .time { color: var(--muted); font-family: var(--font-mono); font-size: 13.5px; }
.hours-row.is-closed .time { color: var(--rust-dark); }
.hours-row.is-today { background: var(--signal-dim); border-radius: 10px; padding-left: 14px; padding-right: 14px; margin: 0 -4px; }
.hours-row.is-today .day::after {
  content: "Hari ini";
  margin-left: 8px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--signal);
  text-transform: uppercase;
}
.hours-status-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-arch);
  padding: 34px 28px;
}
.hours-status-card .status-pill { background: rgba(244,241,234,0.1); border-color: rgba(244,241,234,0.3); color: var(--paper); }
.hours-status-card [data-status-detail] { display: block; margin-top: 14px; font-size: 15px; color: rgba(244,241,234,0.75); }
.hours-status-card .btn { margin-top: 22px; width: 100%; }

/* =========================================================
   LOCATION
   ========================================================= */
.location-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 860px) {
  .location-wrap { grid-template-columns: 0.9fr 1.1fr; }
}
.location-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
}
.location-address { margin-top: 10px; font-size: 16px; color: var(--ink-soft); line-height: 1.6; }
.verify-note {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  background: var(--paper-dim);
  border-radius: 12px;
  padding: 12px 14px;
}
.location-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.map-embed {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 84px 0;
}
.final-cta h2 { font-size: clamp(30px, 5vw, 48px); color: #fff; font-style: italic; }
.final-cta p { margin-top: 14px; color: rgba(244,241,234,0.7); }
.final-cta .cta-row { margin-top: 30px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { padding: 44px 0 24px; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand-word { font-size: 24px; }
.footer-brand p { margin-top: 10px; color: var(--muted); font-size: 14px; max-width: 32ch; }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 500; }
.footer-col ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; font-size: 14.5px; color: var(--ink-soft); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--muted);
}

/* =========================================================
   STICKY MOBILE CTA (§25)
   ========================================================= */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(244,241,234,0.14);
}
.mobile-cta .price {
  font-family: var(--font-mono);
  font-size: 14px;
}
.mobile-cta .price strong { color: #fff; font-size: 15px; }
.mobile-cta .actions { display: flex; gap: 8px; }
.mobile-cta .btn { padding: 10px 16px; font-size: 13.5px; }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* =========================================================
   ARTICLE / EDUCATION PAGES
   ========================================================= */
.page-hero {
  padding: 52px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(34px, 6vw, 56px); font-style: italic; }
.page-hero p { margin-top: 14px; color: var(--ink-soft); font-size: 17px; max-width: 56ch; }
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px;
}
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.category-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.category-card:hover { transform: translateY(-3px); }
.category-card .eyebrow { margin-bottom: 10px; }
.category-card h3 { font-size: 21px; margin-top: 4px; }
.category-card p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.card-link-line {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--rust-dark);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 0 80px;
}
.article-body h2 { font-size: 26px; margin-top: 44px; margin-bottom: 14px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 19px; margin-top: 30px; margin-bottom: 10px; font-family: var(--font-body); font-weight: 600; }
.article-body p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; margin-bottom: 16px; }
.article-body ul, .article-body ol { color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; padding-left: 22px; margin-bottom: 16px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); }
.callout {
  background: var(--signal-dim);
  border-left: 3px solid var(--signal);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--ink-soft);
  margin: 24px 0;
}
.callout strong { color: var(--ink); }
.callout.caution {
  background: #FBEEE8;
  border-left-color: var(--rust);
}
.article-meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px;
}

.dict-list { display: flex; flex-direction: column; gap: 0; }
.dict-term {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 760px) {
  .dict-term { grid-template-columns: 52px 190px 1fr; gap: 22px; align-items: start; }
}
.dict-icon {
  width: 44px; height: 44px;
  color: var(--rust-dark);
  flex: none;
}
.dict-icon svg { width: 100%; height: 100%; }
.dict-term h3 { font-size: 20px; }
.dict-term .meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; margin-top: 6px; letter-spacing: 0.05em;}
.dict-term p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; }

.style-spectrum {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}
@media (min-width: 560px) {
  .style-spectrum { grid-template-columns: repeat(4, 1fr); }
}
.style-spectrum-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--paper-dim);
  border-radius: 16px;
  padding: 18px 10px;
  color: var(--rust-dark);
}
.style-spectrum-item svg { width: 44px; height: 44px; }
.style-spectrum-item span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; color: var(--muted); font-size: 14px; margin-top: 40px;
}
.back-link:hover { color: var(--ink); }
