/* A quiet editorial frame for the homepage. Article palettes live in style.css. */
body.home-page {
  color-scheme: dark;
  --bg: #17191d;
  --text: #e8e3d9;
  --text-sec: #b3afa5;
  --accent: #c6ab8c;
  --vermilion: #c76b5a;
  --border: rgba(232, 227, 217, .13);
  --container: 1120px;
  background: var(--bg);
  font-weight: 400;
  letter-spacing: 0;
  animation: none;
}

body.home-page ::selection { background: #c6ab8c40; color: var(--text); }
body.home-page :where(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
/* The skip link lands on this reading region; interactive controls keep their rings. */
body.home-page #writing:focus { outline: none; }
body.home-page .container { padding-inline: 48px; }
body.home-page .grain { opacity: .016; }
body.home-page .fade-up { opacity: 1; transform: none; transition: none; }
body.home-page main > section { scroll-margin-top: 96px; }

.skip-link {
  position: fixed;
  top: 16px;
  left: 24px;
  z-index: 10001;
  padding: 12px 18px;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  text-decoration: none;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

/* Navigation is a small, steady frame, with a visible current location. */
body.home-page .nav {
  padding: 18px 48px;
  min-height: 76px;
  transition: background .25s, border-color .25s;
}
body.home-page .nav.scrolled {
  background: rgba(23, 25, 29, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: none;
}
body.home-page .nav-logo { color: var(--text); font-size: 25px; font-weight: 400; letter-spacing: -.055em; animation: none; }
body.home-page .nav-logo:hover { transform: none; }
body.home-page .nav-links { gap: 30px; }
body.home-page .nav-links a,
body.home-page #main-nav:not(.scrolled) .nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-block: 4px;
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: .025em;
  color: var(--text-sec);
  transition: color .2s;
}
body.home-page .nav-links a::after { bottom: 4px; background: var(--vermilion); transition: width .2s; }
body.home-page .nav-links a:hover,
body.home-page #main-nav .nav-links a[aria-current="location"] { color: var(--text); }
body.home-page .nav-links a[aria-current="location"]::after { width: 100%; }

/* The name sits above the illustration; neither has to compete for the frame. */
body.home-page .hero {
  height: 100svh;
  min-height: 680px;
  max-height: 1100px;
  align-items: flex-start;
  background: #17191d;
}
body.home-page .hero-scene-canvas {
  width: 100% !important;
  height: 100% !important;
  opacity: .8;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 72%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 72%, transparent);
}
body.home-page .hero-content { padding: clamp(116px, 14svh, 160px) 24px 0; }
.hero-eyebrow,
.section-kicker {
  display: block;
  font: 400 10px/1.7 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-eyebrow { margin-bottom: 17px; }
.hero-signature { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 28px; margin-bottom: 20px; }
.hero-signature .hero-eyebrow { margin: 0; }
.hero-seal { width: 28px; height: 28px; flex: 0 0 28px; margin: 0; color: var(--vermilion); overflow: visible; animation: none; }
.hero-seal rect { fill: none; stroke: currentColor; stroke-width: 1.4; }
.hero-seal text { fill: currentColor; font: 500 13px var(--serif); }
body.home-page .hero-name {
  font-size: clamp(72px, 10.4vw, 144px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.02;
  animation: none;
}
body.home-page .scroll-hint { bottom: 32px; text-decoration: none; animation: none; opacity: 1; z-index: 3; }
body.home-page .scroll-hint span { color: var(--text-sec); font-size: 10px; letter-spacing: .12em; }
body.home-page .scroll-line { height: 28px; background: var(--accent); opacity: .5; animation: none; }
body.home-page .window-sill,
body.home-page .ink-divider,
body.home-page .writing-stroke,
body.home-page .koi-decoration { display: none; }

/* One page palette. The rhythm comes from space and rules. */
body.home-page .writing-section,
body.home-page .interests-section,
body.home-page .path-section,
body.home-page .contact-section { background: var(--bg); padding: 96px 0; }
body.home-page .writing-section::before,
body.home-page .writing-section::after,
body.home-page .interests-section::before,
body.home-page .interests-section::after { display: none; }
body.home-page .writing-section > .container,
body.home-page .interests-section > .container,
body.home-page .path-section > .container,
body.home-page .contact-section > .container { position: relative; }
body.home-page .writing-section > .container::before,
body.home-page .interests-section > .container::before,
body.home-page .path-section > .container::before,
body.home-page .contact-section > .container::before {
  content: '';
  position: absolute;
  top: -96px;
  left: 48px;
  right: 48px;
  border-top: 1px solid var(--border);
}
body.home-page .section-title,
body.home-page .mind-heading h2 {
  margin: 12px 0 14px;
  font: 400 clamp(44px, 4.8vw, 64px)/1.06 var(--serif);
  letter-spacing: -.025em;
  color: var(--text);
}
body.home-page .section-subtitle {
  max-width: 480px;
  margin-bottom: 48px;
  font: 400 14px/1.85 var(--sans);
  color: var(--text-sec);
}

/* A writing index: stable rows, generous type, and a small directional cue. */
body.home-page .writing-category { margin: 0; }
body.home-page .writing-category-header {
  padding: 22px 0;
  margin: 0;
  min-height: 72px;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}
body.home-page .writing-category-title { font: 400 14px/1.6 var(--sans); letter-spacing: .015em; color: var(--text); }
body.home-page .writing-category-header > span:first-child { display: flex; align-items: baseline; flex: 1; gap: 16px; }
body.home-page .category-toggle-icon { font-size: 20px; color: var(--text-sec); opacity: 1; }
body.home-page .writing-category-header:hover { border-color: #c6ab8c66; }
body.home-page .category-content,
body.home-page .writing-category.expanded .category-content {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  max-height: none;
  opacity: 1;
  overflow: visible;
  margin: 0;
  transition: none;
}
body.home-page .category-content[aria-hidden="true"] { display: none; }
body.home-page .writing-card,
body.home-page .writing-card:hover,
body.home-page .writing-card:focus-visible {
  grid-column: auto;
  transform: none;
  box-shadow: none;
  will-change: auto;
}
body.home-page .writing-card-inner,
body.home-page .writing-featured .writing-card-inner {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) minmax(0, 1.12fr) 20px;
  align-items: baseline;
  gap: 24px;
  min-height: 126px;
  padding: 30px 4px;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  transition: background .2s, border-color .2s;
}
body.home-page .writing-card:hover .writing-card-inner,
body.home-page .writing-card:focus-visible .writing-card-inner { background: rgba(232, 227, 217, .025); box-shadow: none; border-color: rgba(198, 171, 140, .28); }
body.home-page .writing-card-inner::before,
body.home-page .writing-card-inner::after,
body.home-page .writing-ink,
body.home-page .writing-num,
body.home-page .card-silhouette { display: none; }
body.home-page .writing-tag,
body.home-page .writing-card:hover .writing-tag,
body.home-page .writing-card:focus-visible .writing-tag {
  font: 400 10px/1.8 var(--sans);
  letter-spacing: .09em;
  color: var(--accent);
  border: 0;
  padding: 0;
  margin: 0;
  transition: none;
}
body.home-page .writing-card-title,
body.home-page .writing-featured .writing-card-title {
  font: 400 28px/1.15 var(--serif);
  letter-spacing: -.01em;
  color: var(--text);
  margin: 0;
  transform: none;
}
body.home-page .writing-card-desc { font: 400 13px/1.8 var(--sans); color: var(--text-sec); margin: 0; }
body.home-page .writing-arrow,
body.home-page .writing-card:hover .writing-arrow,
body.home-page .writing-card:focus-visible .writing-arrow {
  opacity: 1;
  color: var(--accent);
  transform: none;
  margin: 0;
  font-size: 17px;
  transition: color .2s;
}
body.home-page .writing-card:hover .writing-card-title { color: #f7f0e4; }

/* Work history, set like a compact curriculum vitae. */
body.home-page .timeline { margin-top: 48px; padding-left: 144px; }
body.home-page .timeline::before { left: 144px; }
body.home-page .timeline-period { left: -144px; width: 116px; padding-top: 9px; font-size: 12px; color: var(--text-sec); }
body.home-page .timeline-item { padding-bottom: 48px; }
body.home-page .timeline-dot { width: 5px; height: 5px; left: -2px; top: 16px; background: var(--vermilion); }
body.home-page .timeline-item:hover .timeline-dot { box-shadow: 0 0 0 3px rgba(198, 171, 140, .10), 0 0 12px rgba(198, 171, 140, .18); transform: scale(1.2); }
body.home-page .timeline-item:hover::after { background: var(--accent); }
body.home-page .timeline-content,
body.home-page .timeline-item:hover .timeline-content { padding: 0 0 0 32px; border-radius: 0; background: transparent; }
/* Keep the original employer drawings and hover animations in the quieter layout. */
body.home-page .timeline-icon { display: block; width: 22px; height: 22px; color: var(--vermilion); opacity: .9; }
body.home-page .timeline-item:hover .timeline-icon { opacity: 1; }
body.home-page .timeline-header { gap: 14px; align-items: baseline; margin-bottom: 9px; }
body.home-page .timeline-company { font-size: 32px; line-height: 1.2; letter-spacing: -.015em; }
body.home-page .timeline-role-inline { font-size: 10px; letter-spacing: .06em; opacity: 1; margin: 0; }
body.home-page .timeline-desc { max-width: 620px; font-size: 14px; line-height: 1.85; }
body.home-page .earlier-roles { padding: 12px 0 0 176px; margin: 0; }
body.home-page .earlier-label { font-size: 10px; opacity: 1; letter-spacing: .12em; }
body.home-page .earlier-icon { display: block; width: 18px; height: 18px; color: var(--vermilion); opacity: .9; overflow: visible; }
body.home-page .earlier-item:hover .earlier-icon { opacity: 1; }
body.home-page .earlier-grid { gap: 16px 32px; }
body.home-page .earlier-company { font-size: 25px; letter-spacing: -.015em; opacity: 1; }
body.home-page .education-block { margin: 32px 0 0 176px; padding-top: 24px; border-top: 1px solid var(--border); }
body.home-page .education-item { gap: 12px; font-size: 15px; }
body.home-page .education-item .degree { font-size: 12px; }

/* Pause scenery includes decorative CSS motion; the Uber SVG path is paused in JS. */
body.home-page[data-ambient-motion="paused"] .path-section :is(.timeline-icon, .earlier-icon),
body.home-page[data-ambient-motion="paused"] .path-section :is(.timeline-icon, .earlier-icon) *,
body.home-page[data-ambient-motion="paused"] .footer-monkey * {
  animation-play-state: paused !important;
  transition: none !important;
}
body.home-page[data-ambient-motion="paused"] .timeline-item:hover .timeline-dot {
  box-shadow: none;
  transform: none;
}
body.home-page[data-ambient-motion="paused"] .timeline-dot,
body.home-page[data-ambient-motion="paused"] .timeline-item::after { transition: none; }
body.home-page[data-ambient-motion="paused"] .earlier-comscore .chart-line {
  animation: none !important;
  stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: reduce) {
  body.home-page .timeline-uber .route-dot { display: none; }
  body.home-page .timeline-item:hover .timeline-dot { box-shadow: none; transform: none; }
  body.home-page .earlier-comscore .chart-line { stroke-dashoffset: 0; }
}

body.home-page .contact-note { font: 400 14px/1.8 var(--sans); margin: 0 0 36px; }
body.home-page .contact-row,
body.home-page .contact-row:hover { border-radius: 0; padding: 24px 0; background: transparent; box-shadow: none; border-color: var(--border); }
body.home-page .contact-label { font-size: 10px; letter-spacing: .12em; }
body.home-page .contact-value { font-size: clamp(26px, 3.5vw, 40px); letter-spacing: -.015em; }
body.home-page .contact-value a { text-underline-offset: 8px; text-decoration-thickness: 1px; }
body.home-page .contact-value a:hover { text-decoration: underline; text-decoration-color: var(--vermilion); }

body.home-page .footer { position: relative; background: var(--bg); text-align: left; max-width: 1024px; padding: 28px 0 48px; margin: 0 auto; }
body.home-page .footer > div { display: flex; align-items: center; gap: 14px; }
body.home-page .footer-hanko { width: 26px; height: 26px; margin: 0; opacity: .8; }
body.home-page .footer-hanko:hover { transform: none; }
body.home-page .footer-hanko rect { stroke: var(--vermilion); }
body.home-page .footer-hanko text { fill: var(--vermilion); }
body.home-page .footer-text { font-size: 11px; text-transform: none; letter-spacing: .025em; opacity: 1; }
.footer-top { margin-left: auto; color: var(--text-sec); text-decoration: none; font-size: 11px; padding: 12px 0; }
.footer-top span { margin-left: 12px; }
.footer-top:hover { color: var(--text); }
body.home-page .footer-monkey { right: 14px; opacity: .6; }
body.home-page .footer-monkey path { stroke: #a9a293; }
body.home-page .footer-monkey ellipse,
body.home-page .footer-monkey circle { fill: #a9a293; }
body.home-page .footer-monkey circle:nth-of-type(2) { fill: #2c2e38; }
body.home-page .footer-monkey .fm-eye { fill: #e9e3d6; }

@media (max-width: 1120px) {
  body.home-page .footer { margin-inline: 48px; }
}
@media (max-width: 800px) {
  body.home-page .container { padding-inline: 32px; }
  body.home-page .nav { padding-inline: 32px; }
  body.home-page .nav-links { gap: 22px; }
  body.home-page .writing-card-inner,
  body.home-page .writing-featured .writing-card-inner { grid-template-columns: minmax(0, 1fr) 24px; gap: 8px 20px; padding: 26px 4px; }
  body.home-page .writing-tag { grid-column: 1; }
  body.home-page .writing-card-title { grid-column: 1; }
  body.home-page .writing-card-desc { grid-column: 1; max-width: 520px; }
  body.home-page .writing-arrow { grid-column: 2; grid-row: 2; }
  body.home-page .writing-section > .container::before,
  body.home-page .interests-section > .container::before,
  body.home-page .path-section > .container::before,
  body.home-page .contact-section > .container::before { left: 32px; right: 32px; }
  body.home-page .timeline { padding: 0; }
  body.home-page .timeline::before, body.home-page .timeline-dot { display: none; }
  body.home-page .timeline-item { flex-direction: column; }
  body.home-page .timeline-period { position: static; width: auto; text-align: left; padding: 0; margin-bottom: 10px; }
  body.home-page .timeline-content,
  body.home-page .timeline-item:hover .timeline-content { padding: 0; border: 0; }
  body.home-page .timeline-header { flex-wrap: wrap; gap: 6px 16px; }
  body.home-page .earlier-roles { padding-left: 0; }
  body.home-page .education-block { margin-left: 0; }
  body.home-page .footer { margin-inline: 32px; }
}
@media (max-width: 520px) {
  body.home-page .container { padding-inline: 24px; }
  body.home-page .nav { padding: 12px 22px; min-height: 66px; }
  body.home-page .nav-logo { font-size: 22px; }
  body.home-page .nav-links { gap: 15px; }
  body.home-page .nav-links a,
  body.home-page #main-nav:not(.scrolled) .nav-links a { font-size: 11px; letter-spacing: 0; min-height: 44px; }
  body.home-page .nav-links a::before { inset-inline: -6px; }
  body.home-page .hero { min-height: 640px; }
  body.home-page .hero-content { padding-top: clamp(116px, 15svh, 144px); }
  body.home-page .hero-name { font-size: clamp(54px, 13vw, 66px); }
  .hero-eyebrow { font-size: 9px; letter-spacing: .14em; }
  body.home-page .hero-scene-canvas { opacity: .8; }
  body.home-page .writing-section,
  body.home-page .interests-section,
  body.home-page .path-section,
  body.home-page .contact-section { padding: 64px 0; }
  body.home-page .writing-section > .container::before,
  body.home-page .interests-section > .container::before,
  body.home-page .path-section > .container::before,
  body.home-page .contact-section > .container::before { top: -64px; left: 24px; right: 24px; }
  body.home-page .section-subtitle { font-size: 13px; margin-bottom: 32px; }
  body.home-page .writing-card-title,
  body.home-page .writing-featured .writing-card-title { font-size: 27px; }
  body.home-page .education-item { flex-wrap: wrap; gap: 0 8px; margin-bottom: 12px; line-height: 1.7; }
  body.home-page .earlier-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  body.home-page .contact-row { gap: 12px; }
  body.home-page .footer { margin-inline: 24px; padding-bottom: 28px; }
}
@media (max-width: 360px) {
  body.home-page .nav { padding-inline: 16px; }
  body.home-page .nav-links { gap: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.home-page *, body.home-page *::before, body.home-page *::after { animation: none !important; transition: none !important; }
}

/* Small annotations make the opening an illustration with a place on the page. */
.hero-caption {
  position: absolute;
  bottom: 38px;
  left: 48px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  font: italic 400 16px/1.5 var(--serif);
  color: var(--text-sec);
}
.hero-caption-rule { display: block; width: 28px; height: 1px; background: var(--accent); opacity: .5; }
.hero-motion-control { position: absolute; bottom: 27px; right: 42px; z-index: 3; }

/* An editorial opening followed by a compact, useful catalogue toolbar. */
body.home-page .writing-intro { margin-bottom: 28px; }
body.home-page .writing-intro .section-title { margin-bottom: 0; }
body.home-page .writing-intro .section-subtitle { margin: 0 0 3px; max-width: 360px; text-wrap: pretty; }
.writing-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.writing-tools[hidden], .writing-empty[hidden], .writing-clear[hidden], .writing-expand[hidden] { display: none; }
.writing-search-wrap { display: flex; align-items: center; gap: 12px; width: 310px; border-bottom: 1px solid var(--border); color: var(--text-sec); padding: 4px 0; transition: border-color .2s; }
.writing-search-wrap:focus-within { border-bottom-color: var(--vermilion); }
.writing-search-wrap svg { flex: 0 0 18px; }
.writing-search-wrap input { appearance: none; min-width: 0; width: 100%; border: 0; background: none; color: var(--text); padding: 10px 0; font: 400 13px/1.6 var(--sans); border-radius: 0; outline: none; }
body.home-page .writing-search-wrap input:focus-visible { outline: none; }
.writing-search-wrap input::placeholder { color: var(--text-sec); opacity: 1; }
.writing-search-wrap input::-webkit-search-cancel-button { display: none; }
.writing-search-wrap kbd { font: 400 11px/1.5 var(--sans); padding: 1px 5px; border: 1px solid var(--border); border-radius: 2px; }
.writing-tools-right { display: flex; align-items: center; gap: 26px; }
.writing-summary { color: var(--text-sec); font: 400 11px/1.7 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.writing-summary:empty { display: none; }
.writing-expand, .writing-clear, .writing-reset { border: 0; border-radius: 0; padding: 10px 0; min-height: 44px; background: none; color: var(--text); cursor: pointer; font: 400 11px/1.7 var(--sans); }
.writing-expand { white-space: nowrap; color: var(--accent); }
.writing-expand:hover, .writing-reset:hover { text-decoration: underline; text-underline-offset: 5px; }
.writing-clear { width: 30px; flex: 0 0 30px; font-size: 22px; color: var(--text-sec); }
.writing-section.is-searching .writing-search-wrap kbd { display: none; }
body.home-page .writing-category[hidden], body.home-page .writing-card[hidden] { display: none !important; }
.writing-category-count { margin-left: auto; font: 400 10px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--text-sec); opacity: .8; }
.writing-empty { padding: 56px 0; border-top: 1px solid var(--border); }
.writing-empty p { font: 400 32px/1.3 var(--serif); margin-bottom: 10px; }
.writing-empty > span { color: var(--text-sec); font-size: 13px; }
.writing-reset { display: block; margin-top: 16px; color: var(--accent); }
body.home-page #writing .writing-tag { display: none; }
body.home-page #writing .writing-card-inner { grid-template-columns: minmax(0, 1fr) 48px 42px 20px; grid-template-areas: 'title duration drawing arrow'; gap: 24px; align-items: center; min-height: 92px; padding: 22px 4px 22px 0; }
body.home-page #writing .writing-card-title { grid-area: title; font-size: 29px; line-height: 1.2; max-width: 540px; text-wrap: pretty; }
body.home-page #writing .writing-card-desc[hidden] { display: none; }
body.home-page #writing .writing-arrow { grid-area: arrow; align-self: center; color: var(--vermilion); }
/* The existing drawings work as small marginal illustrations, not backgrounds. */
body.home-page #writing .card-silhouette { display: block; grid-area: drawing; position: static; align-self: center; width: 42px; height: 46px; color: var(--accent); opacity: .5; transform: none; transition: opacity .2s; }
body.home-page #writing .writing-card:hover .card-silhouette, body.home-page #writing .writing-card:focus-visible .card-silhouette { opacity: .85; transform: none; }
.writing-duration { grid-area: duration; color: var(--text-sec); font: 400 10px/1.8 var(--sans); letter-spacing: .035em; white-space: nowrap; }
body.home-page #writing .writing-card:hover .writing-card-title, body.home-page #writing .writing-card:focus-visible .writing-card-title { text-decoration: underline; text-decoration-color: #c76b5a99; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* Two quiet collection links, with the original drawings beside their titles. */
.collection-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 36px; }
body.home-page .collection-door .writing-card-inner { display: grid; grid-template-columns: minmax(0, 1fr) 60px 16px; grid-template-areas: 'title drawing arrow' 'language drawing arrow'; align-content: center; align-items: center; gap: 8px 18px; min-height: 152px; padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 0; }
body.home-page .collection-door .writing-tag { grid-area: language; margin: 0; font-size: 11px; line-height: 1.7; letter-spacing: .025em; text-transform: none; color: var(--text-sec); }
body.home-page .collection-door .writing-card-title { grid-area: title; font-size: 40px; margin: 0; }
body.home-page .collection-door .writing-arrow { grid-area: arrow; position: static; color: var(--vermilion); }
body.home-page .collection-door .card-silhouette { display: block; grid-area: drawing; position: static; width: 60px; height: 50px; color: var(--accent); opacity: .52; transform: none; }
body.home-page .collection-door .writing-card:hover .writing-card-inner { background: none; }
body.home-page .collection-door .writing-card:hover .card-silhouette { opacity: .7; }
body.home-page .collection-door .writing-card:hover .writing-card-title { text-decoration: underline; text-decoration-color: var(--vermilion); text-decoration-thickness: 1px; text-underline-offset: 7px; }

@media (max-width: 800px) {
  .hero-caption { left: 32px; font-size: 14px; }
  .hero-motion-control { right: 26px; }
  body.home-page .writing-intro { gap: 32px; }
  .writing-tools-right { gap: 16px; }
  .writing-search-wrap { width: 250px; }
  body.home-page #writing .writing-card-inner { grid-template-columns: minmax(0, 1fr) 42px 36px 16px; gap: 18px; }
  body.home-page #writing .card-silhouette { width: 36px; height: 42px; }
  body.home-page #writing .writing-card-title { max-width: none; }
  body.home-page #writing .writing-card-desc { padding: 0; }
  .collection-doors { gap: 28px; }
  body.home-page .collection-door .writing-card-inner { grid-template-columns: minmax(0, 1fr) 44px 16px; gap: 8px 12px; }
  body.home-page .collection-door .card-silhouette { width: 44px; height: 42px; }
}
@media (max-width: 600px) {
  .hero-caption { display: none; }
  .hero-motion-control { right: 16px; bottom: 30px; }
  body.home-page .hero .scroll-hint { left: 28px; transform: none; text-align: left; bottom: 32px; }
  body.home-page .hero .scroll-line { width: 26px; height: 1px; margin: 10px 0 7px; }
  body.home-page .writing-intro { display: block; margin-bottom: 24px; }
  body.home-page .writing-intro .section-subtitle { margin-top: 18px; max-width: 330px; }
  .writing-tools { flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
  .writing-search-wrap { width: 100%; }
  .writing-search-wrap kbd { display: none; }
  .writing-tools-right { justify-content: space-between; margin-top: 9px; min-height: 44px; }
  body.home-page #writing .writing-card-title { font-size: 25px; }
  body.home-page #writing .writing-card-inner { grid-template-columns: minmax(0, 1fr) 30px 16px; grid-template-areas: 'title drawing arrow' 'duration drawing arrow'; gap: 6px 12px; min-height: 92px; padding: 20px 0; }
  body.home-page #writing .card-silhouette { width: 30px; height: 36px; }
  body.home-page .writing-category-header { gap: 12px; }
  .collection-doors { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  body.home-page .collection-door .writing-card-inner { min-height: 120px; padding-block: 22px; }
  body.home-page .collection-door:last-child .writing-card-inner { border-bottom: 1px solid var(--border); }
  body.home-page .collection-door .writing-card-title { font-size: 32px; }
}
