@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:ital,wght@0,400;0,500;0,700;0,800;1,400&family=Zen+Kaku+Gothic+New:wght@500;700&display=swap');

:root {
  --paper: #E9ECE6;
  --paper-deep: #DCE1D8;
  --ink: #1C2433;
  --ink-soft: #4A5466;
  --indigo: #1F3F73;
  --moss: #56693A;
  --lacquer: #B23A2B;
  --line: #C3CAC0;
  --sans: 'Schibsted Grotesk', system-ui, sans-serif;
  --jp: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.seal {
  width: 30px; height: 30px; border-radius: 6px; background: var(--lacquer); color: #F6EDE8;
  display: grid; place-items: center; font: 700 17px/1 var(--jp); flex: none;
}
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 15px; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--indigo); }

/* Type */
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lead { font-size: 20px; line-height: 1.55; color: var(--ink); max-width: 36em; }
.muted { color: var(--ink-soft); }
.jp { font-family: var(--jp); }

section { padding: 88px 0; }
section + section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { margin: 0; max-width: 34em; color: var(--ink-soft); }

/* Hero */
.hero { padding: 72px 0 0; border: 0; }
.hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: start; }
.hero h1 { font-size: clamp(48px, 8.4vw, 112px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.92; }
.hero .lead { margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 15px; }
.hero-facts strong { color: var(--ink); font-weight: 700; }
.tategaki {
  writing-mode: vertical-rl; font: 700 clamp(30px, 3.6vw, 46px)/1.15 var(--jp); color: var(--indigo);
  letter-spacing: 0.08em; position: relative; padding-bottom: 54px; margin-top: 6px;
}
.tategaki .seal { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; font-size: 22px; writing-mode: horizontal-tb; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 8px;
  font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid var(--ink);
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.btn-line { color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }

.hero-figure { margin: 64px 0 0; }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; object-position: center 35%; border-radius: 4px; }
figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }

/* Focus areas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.area { padding: 26px 28px 8px 0; }
.area + .area { padding-left: 28px; border-left: 1px solid var(--line); }
.area h3 { margin-bottom: 12px; }
.area p { color: var(--ink-soft); font-size: 16px; }

/* Featured work */
.featured { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.featured .stack { display: grid; gap: 28px; }
.feature { display: block; color: inherit; text-decoration: none; background: #F3F5F1; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.feature:hover { border-color: var(--ink); color: inherit; }
.feature:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.feature img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.feature .body { padding: 20px 22px 22px; }
.feature .kind { font-size: 14px; color: var(--moss); font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--ink-soft); margin: 10px 0 0; font-size: 16px; }
.feature.big img { aspect-ratio: 4 / 3; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline > li { display: grid; grid-template-columns: 190px 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid var(--line); }
.timeline > li:first-child { border-top: 2px solid var(--ink); }
.timeline .when { font-weight: 700; font-variant-numeric: tabular-nums; }
.timeline .where { color: var(--ink-soft); font-size: 15px; margin: 4px 0 10px; }
.timeline p { color: var(--ink-soft); max-width: 40em; }
.timeline ul { margin: 0; padding-left: 18px; color: var(--ink-soft); }
.timeline ul li { display: list-item; padding: 0; border: 0; margin: 0 0 4px; }

/* Skills */
.skills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.skills h3 { font-size: 17px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.skills ul { list-style: none; padding: 0; margin: 0; color: var(--ink-soft); }
.skills li { padding: 5px 0; }

.langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.lang { padding: 22px 24px 0 0; }
.lang + .lang { padding-left: 24px; border-left: 1px solid var(--line); }
.lang .name { font-weight: 700; font-size: 19px; }
.lang .level { color: var(--ink-soft); }
.lang .native { font: 700 30px/1.2 var(--jp); color: var(--indigo); margin-bottom: 4px; }

/* Contact / footer */
.contact { background: var(--ink); color: var(--paper); border: 0; }
.contact h2 { color: #fff; max-width: 14em; }
.contact p { color: #B9C2CF; max-width: 34em; margin-top: 18px; }
.contact a { color: #fff; }
.contact-links { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 32px; font-weight: 700; }
.site-foot { padding: 26px 0; font-size: 14px; color: var(--ink-soft); }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Projects list */
.page-head { padding: 72px 0 48px; border: 0; }
.page-head h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 800; letter-spacing: -0.04em; }
.page-head .lead { margin-top: 22px; }
.filters { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.filters button {
  font: 700 15px var(--sans); padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.ranked { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.ranked > li { display: grid; grid-template-columns: 64px 260px 1fr; gap: 28px; padding: 30px 0; border-top: 1px solid var(--line); align-items: start; }
.ranked > li:first-child { border-top: 2px solid var(--ink); }
.ranked > li[hidden] { display: none; }
.rank { font: 800 40px/1 var(--sans); color: var(--indigo); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); background: var(--paper-deep); }
.thumb-type {
  display: grid; place-items: center; text-align: center; padding: 14px;
  background: var(--indigo); color: #E6ECF7; border: 0; font: 800 34px/1 var(--sans); letter-spacing: -0.03em;
}
.thumb-type.moss { background: var(--moss); color: #EEF2E4; }
.thumb-type.ink { background: var(--ink); color: var(--paper); }
.thumb-type small { display: block; font: 500 13px/1.3 var(--sans); letter-spacing: 0; margin-top: 8px; opacity: .85; }
.ranked h3 { font-size: 23px; }
.ranked .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--ink-soft); margin: 8px 0 12px; }
.badge { font-weight: 700; padding: 1px 9px; border-radius: 999px; font-size: 13px; }
.badge.work { background: var(--indigo); color: #fff; }
.badge.personal { background: var(--moss); color: #fff; }
.badge.study { background: var(--paper-deep); color: var(--ink); border: 1px solid var(--line); }
.ranked p { color: var(--ink-soft); max-width: 46em; margin-bottom: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.tags li { font-size: 13px; font-weight: 500; padding: 2px 9px; border: 1px solid var(--line); border-radius: 4px; background: #F3F5F1; }
.links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-weight: 700; font-size: 15px; }
.note { font-size: 14px; color: var(--ink-soft); font-style: italic; }

.more { margin-top: 64px; }
.more h2 { font-size: 26px; margin-bottom: 20px; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.more-grid a, .more-grid div { display: block; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.more-grid a:hover strong { text-decoration: underline; }
.more-grid span { display: block; font-size: 14px; color: var(--ink-soft); }

/* Case study pages */
.case-head { padding: 64px 0 40px; border: 0; }
.crumb { font-size: 15px; margin-bottom: 26px; display: inline-block; }
.case-head h1 { font-size: clamp(42px, 6.6vw, 80px); font-weight: 800; letter-spacing: -0.04em; }
.case-head .lead { margin-top: 22px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 2px solid var(--ink); }
.facts div { padding: 16px 20px 0 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dt { font-size: 14px; color: var(--ink-soft); }
.facts dd { margin: 4px 0 0; font-weight: 700; }
.case-body { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.case-body nav { position: sticky; top: 24px; align-self: start; font-size: 15px; }
.case-body nav a { display: block; padding: 6px 0; color: var(--ink-soft); text-decoration: none; }
.case-body nav a:hover { color: var(--ink); }
.prose { max-width: 44em; }
.prose h2 { font-size: 30px; margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; }
.prose ul { padding-left: 20px; color: var(--ink); }
.prose li { margin-bottom: 6px; }
.prose p { color: var(--ink); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.gallery .wide { grid-column: 1 / -1; }
.gallery .wide img { aspect-ratio: 16 / 9; }
.status { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 16px; }
.status th, .status td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.status th { font-size: 14px; color: var(--ink-soft); font-weight: 500; border-bottom: 2px solid var(--ink); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.dot.done { background: var(--moss); }
.dot.wip { background: var(--indigo); }
.dot.plan { background: transparent; border: 2px solid var(--ink-soft); }
.callout { background: #F3F5F1; border-left: 4px solid var(--indigo); padding: 18px 22px; margin: 24px 0; border-radius: 0 6px 6px 0; }
.callout p:last-child { margin: 0; }
.next-case { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-weight: 700; }

/* Load moment: hero only */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.tategaki { animation: rise .9s cubic-bezier(.2,.7,.2,1) .15s both; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure img { aspect-ratio: 4 / 3; }
  .tategaki { writing-mode: horizontal-tb; padding: 0 0 0 54px; font-size: 24px; order: -1; margin: 0; }
  .tategaki .seal { left: 0; top: 50%; bottom: auto; transform: translateY(-50%); }
  .areas, .langs { grid-template-columns: 1fr; }
  .area + .area, .lang + .lang { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .featured { grid-template-columns: 1fr; }
  .skills { grid-template-columns: 1fr 1fr; }
  .timeline > li { grid-template-columns: 1fr; gap: 6px; }
  .ranked > li { grid-template-columns: 48px 1fr; }
  .ranked .thumb-wrap { grid-column: 2; }
  .ranked .info { grid-column: 2; }
  .rank { font-size: 30px; }
  .more-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .case-body { grid-template-columns: 1fr; }
  .case-body nav { position: static; display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .gallery { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  section { padding: 64px 0; }
  .skills { grid-template-columns: 1fr; }
  .site-nav { gap: 16px; }
}

/* CV */
.cv-top { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: end; }
.cv-contact { margin: 0; border-top: 2px solid var(--ink); }
.cv-contact div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cv-contact dt { color: var(--ink-soft); }
.cv-contact dd { margin: 0; font-weight: 500; }
.cv-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.cv-section { padding: 48px 0; }
.cv-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.cv-grid > h2 { font-size: 24px; }
.cv-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.cv-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.cv-list strong { display: block; color: var(--ink); margin-bottom: 2px; }
.cv-skills { margin: 0; border-top: 2px solid var(--ink); }
.cv-skills div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cv-skills dt { font-weight: 700; }
.cv-skills dd { margin: 0; color: var(--ink-soft); }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 620px) 1fr; gap: 64px; }
.form { display: grid; gap: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 17px/1.5 var(--sans); color: var(--ink); background: #F7F8F5;
  border: 1.5px solid #9AA39A; border-radius: 6px; padding: 11px 13px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--indigo); outline-offset: 1px; border-color: var(--indigo); }
.field textarea { resize: vertical; }
.hint { font-size: 14px; color: var(--ink-soft); margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; cursor: pointer; font-family: var(--sans); }
.form .btn:disabled { opacity: .6; cursor: progress; }
.form-status { margin: 0; font-weight: 500; min-height: 1.6em; }
.form-status.ok { color: var(--moss); }
.form-status.error { color: var(--lacquer); }
.contact-aside h2 { font-size: 22px; margin-bottom: 14px; }
.contact-aside ul { list-style: none; padding: 0; margin: 0 0 20px; border-top: 2px solid var(--ink); }
.contact-aside li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
button.btn { font-family: var(--sans); cursor: pointer; }

@media (max-width: 900px) {
  .cv-top, .cv-grid, .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .cv-skills div { grid-template-columns: 1fr; gap: 2px; }
}

/* Print: the CV page becomes a clean two-page CV */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 10.5pt; line-height: 1.45; }
  .site-head, .site-foot, .contact, .cv-actions, .filters, .hero-actions { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  section, .cv-section { padding: 10pt 0; border: 0 !important; }
  .page-head h1 { font-size: 28pt; }
  .lead { font-size: 12pt; }
  .cv-grid { grid-template-columns: 120pt 1fr; gap: 16pt; }
  .cv-grid > h2 { font-size: 13pt; }
  .timeline > li { grid-template-columns: 90pt 1fr; gap: 12pt; padding: 8pt 0; break-inside: avoid; }
  .cv-list li, .cv-skills div { break-inside: avoid; padding: 5pt 0; }
  a { color: var(--ink); text-decoration: none; }
  .tategaki { animation: none; }
}
.print-only { display: none; }
@media print {
  .print-only { display: inline; }
  .screen-only { display: none; }
  body { font-size: 9.5pt; }
  .page-head { padding: 0 0 6pt; }
  .page-head h1 { font-size: 24pt; }
  .lead { font-size: 10.5pt; margin-top: 6pt !important; }
  .cv-top { grid-template-columns: 1fr 190pt; gap: 20pt; }
  .cv-contact div { padding: 3pt 0; font-size: 9pt; grid-template-columns: 50pt 1fr; }
  section, .cv-section { padding: 6pt 0; }
  .timeline h3 { font-size: 11pt; }
  .timeline .where { margin: 1pt 0 3pt; font-size: 9pt; }
  .timeline > li { padding: 5pt 0; }
  .timeline ul li { margin: 0 0 1pt; }
  .cv-list li, .cv-skills div { padding: 3pt 0; }
  .cv-skills div { grid-template-columns: 110pt 1fr; }
}

/* Language switch */
.site-nav .lang-switch { color: var(--indigo); font-weight: 700; padding-left: 14px; border-left: 1px solid var(--line); border-bottom-color: transparent; }
.site-nav .lang-switch:hover { border-bottom-color: transparent; text-decoration: underline; }

/* Japanese pages */
html[lang="ja"] body { font-family: var(--jp), var(--sans); line-height: 1.85; letter-spacing: 0.02em; }
html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] .lead { letter-spacing: 0.02em; line-height: 1.45; }
html[lang="ja"] .hero h1 { font-family: var(--sans); }
html[lang="ja"] .lead { font-size: 19px; line-height: 1.8; }
html[lang="ja"] .page-head h1 { letter-spacing: 0.02em; }
html[lang="ja"] .timeline > li { grid-template-columns: 170px 1fr; }

/* Devlog */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list > li { display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid var(--line); }
.post-list > li:first-child { border-top: 2px solid var(--ink); }
.post-list time { color: var(--ink-soft); font-size: 15px; font-variant-numeric: tabular-nums; padding-top: 3px; }
.post-list h3 { font-size: 23px; }
.post-list h3 a { color: var(--ink); text-decoration: none; }
.post-list h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-list p { color: var(--ink-soft); margin: 8px 0 12px; max-width: 44em; }
.post-head h1 { font-size: clamp(36px, 5vw, 60px); max-width: 18em; line-height: 1.05; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; color: var(--ink-soft); font-size: 15px; }
.post-meta .tags { margin: 0; }
.post { max-width: 42em; font-size: 18px; line-height: 1.7; }
.post h2 { font-size: 27px; margin: 44px 0 12px; }
.post ol { padding-left: 22px; }
.post li { margin-bottom: 8px; }
.post-nav { margin-top: 56px; padding-top: 22px; border-top: 2px solid var(--ink); font-size: 16px; }
.post-nav a { max-width: 48%; }
code, kbd { font-family: ui-monospace, 'Cascadia Code', Menlo, Consolas, monospace; font-size: 0.86em; }
:not(pre) > code { background: #DCE1D8; padding: 1px 6px; border-radius: 4px; }
kbd { border: 1px solid var(--ink-soft); border-bottom-width: 2px; border-radius: 4px; padding: 0 6px; background: #F7F8F5; }
pre { background: var(--ink); color: #DCE3EE; padding: 18px 20px; border-radius: 6px; overflow-x: auto; font-size: 15px; line-height: 1.55; margin: 20px 0 24px; }
pre code { font-size: 14px; }
@media (max-width: 900px) {
  .post-list > li, html[lang="ja"] .timeline > li { grid-template-columns: 1fr; gap: 4px; }
  .site-nav .lang-switch { border-left: 0; padding-left: 0; }
}

/* Hero name: the page's language large, the other language small underneath */
.hero-grid { grid-template-columns: 1fr; }
.hero .name { display: flex; flex-direction: column; gap: 18px; }
.hero .name-main { font-size: clamp(44px, 7.4vw, 104px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; }
.hero .name-main.jp-name { font-family: var(--jp); font-weight: 700; letter-spacing: 0.01em; line-height: 1.15; font-size: clamp(34px, 5.4vw, 72px); }
.hero .name-sub { font-family: var(--jp); font-size: clamp(18px, 1.9vw, 24px); font-weight: 500; letter-spacing: 0.12em; color: var(--indigo); line-height: 1.3; }
.hero .name-sub[lang="en"] { font-family: var(--sans); letter-spacing: 0.01em; font-weight: 700; }
.hero .name::after { content: ""; display: block; width: 44px; height: 6px; background: var(--lacquer); border-radius: 2px; order: 1; margin-top: 2px; }
.hero .name-sub { order: 2; }
.hero .name-main.jp-name { font-size: clamp(30px, 5vw, 64px); }
.hero .name-main.jp-name > span { white-space: nowrap; display: inline-block; }

/* Now line */
.now { margin: 26px 0 0; max-width: 46em; padding: 14px 18px; background: #F3F5F1; border-left: 4px solid var(--lacquer); border-radius: 0 6px 6px 0; color: var(--ink); font-size: 16px; line-height: 1.55; }
.now-label { font-weight: 800; color: var(--lacquer); margin-right: 8px; }

/* Recommendations */
.recs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.rec { margin: 0; padding: 26px 26px 22px; background: #F3F5F1; border: 1px solid var(--line); border-radius: 6px; display: flex; flex-direction: column; }
.rec blockquote { margin: 0 0 18px; font-size: 18px; line-height: 1.6; }
.rec blockquote p { margin: 0; }
.rec blockquote p::before { content: "“"; } .rec blockquote p::after { content: "”"; }
html[lang="ja"] .rec blockquote p::before { content: "「"; } html[lang="ja"] .rec blockquote p::after { content: "」"; }
.rec figcaption { margin-top: auto; font-size: 15px; }
.rec figcaption span { display: block; color: var(--ink-soft); }

/* Single screenshots inside articles, at their own shape */
.prose figure.shot { margin: 28px 0; }
.prose figure.shot img { width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--line); }
.prose figure.shot.tall { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 24px; align-items: end; }
.prose figure.shot.tall figcaption { margin: 0; }
@media (max-width: 700px) { .prose figure.shot.tall { grid-template-columns: 1fr; } .prose figure.shot.tall img { max-width: 340px; } }
