/* ==========================================================================
   青い猫 Aoi Neko Travel
   Paper and indigo ink, one warm moon-gold accent. Mincho headlines, a quiet
   gothic for reading, mono for the small print of travel (codes, places, times).
   Light = morning paper. Dark = night sky. See docs/brand.md.
   ========================================================================== */

:root {
  /* color */
  --paper: #f6f4ef;       /* warm white page */
  --paper-2: #ece7da;     /* panels */
  --moon: #efe6c2;        /* the brand's pale yellow, for one feature panel */
  --ink: #15243b;         /* aoi: deep indigo */
  --ink-2: #46536a;
  --ink-3: #8a93a3;
  --aoi: #1b2f4e;         /* the cat */
  --gold: #b48a35;        /* the moon: accents, the second half of headlines */
  --line: rgba(21, 36, 59, .12);
  --line-2: rgba(21, 36, 59, .26);
  --night: #0f1828;

  /* type */
  --display: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* layout */
  --gutter: max(20px, min(5vw, 80px));
  --max: 1360px;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1828; --paper-2: #172235; --moon: #1d2a3f;
    --ink: #e8ecf2; --ink-2: #b3bdcb; --ink-3: #7f8a9b; --aoi: #e8ecf2; --gold: #e0bb67;
    --line: rgba(232, 236, 242, .1); --line-2: rgba(232, 236, 242, .22); --night: #0a111d;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 15.5px; line-height: 1.9; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; word-break: auto-phrase; }   /* Japanese breaks at phrase boundaries */
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--moon); }

/* shared type roles */
.eyebrow, .kicker, .service-meta, .post-meta, .field span, .form-note, figcaption, .footer-legal {
  font-family: var(--mono); font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
}
.h2 { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3.1vw, 44px); line-height: 1.32; letter-spacing: .02em; margin-bottom: 20px; }
.h2 em, .hero-title em { font-style: normal; color: var(--gold); }
.kicker { font-size: 11px; color: var(--ink-3); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.kicker .num { color: var(--gold); }
.kicker .num::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; opacity: .5; vertical-align: middle; margin-left: 12px; }

/* buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: .95em 1.9em; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--body); font-size: 13.5px; font-weight: 500; letter-spacing: .12em;
  text-decoration: none; cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-solid { background: var(--aoi); border-color: var(--aoi); color: var(--paper); }
.btn-solid:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-small { padding: .7em 1.3em; font-size: 12.5px; }
.btn-block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; letter-spacing: .1em; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid var(--line-2); transition: border-color .4s, gap .4s var(--ease); }
.link svg { width: 22px; height: 11px; }
.link:hover { border-color: var(--gold); gap: 16px; }

/* ───────── Header ───────── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--edge); transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s; }
.site-header.scrolled { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; color: var(--aoi); }
.brand-word { display: flex; flex-direction: column; font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: .3em; line-height: 1; }
.brand-word small { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; margin-top: 7px; color: var(--ink-3); }
.nav { display: flex; gap: 26px; }
.nav a { font-size: 13px; letter-spacing: .08em; white-space: nowrap; text-decoration: none; color: var(--ink-2); transition: color .3s; }
.nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; font-family: var(--mono); font-size: 11px; }
.lang button { background: none; border: 0; padding: 4px 6px; cursor: pointer; color: var(--ink-3); border-bottom: 1px solid transparent; letter-spacing: .08em; }
.lang button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
/* journal pages carry both languages; show the chosen one */
html[lang="ja"] .l-en, html[lang="en"] .l-ja { display: none; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 1px; background: currentColor; margin: 6px 0; transition: transform .4s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ───────── Hero: an illustrated dawn, full bleed; the text sits in the sky ───────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-start; padding: clamp(130px, 18vh, 200px) var(--edge) 0; overflow: hidden; }
.hero-art { position: absolute; inset: auto 0 0; height: 68%; z-index: 0; -webkit-mask-image: linear-gradient(transparent, #000 30%); mask-image: linear-gradient(transparent, #000 30%); }
.hero-art svg { width: 100%; height: 100%; display: block; }
.hero-art .moon { transform-box: fill-box; transform-origin: center; animation: moonrise 2.4s var(--ease) both; }
.hero-art .mist { animation: drift 18s ease-in-out infinite alternate; }
.hero-art .lamp-glow, .hero-art .tent circle { animation: flicker 5s ease-in-out infinite; }
@keyframes moonrise { from { transform: translateY(40px); opacity: 0; } }
@keyframes drift { to { transform: translateX(-60px); } }
@keyframes flicker { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .hero-art * { animation: none !important; } }
.hero-text { position: relative; z-index: 1; max-width: 620px; }
.eyebrow { font-size: 11px; color: var(--ink-3); margin-bottom: 24px; }
.hero-title { font-family: var(--display); font-weight: 500; font-size: clamp(42px, 5.4vw, 80px); line-height: 1.2; letter-spacing: .04em; margin-bottom: 26px; }
.hero-title em { display: block; }
html[lang="en"] .hero-title { font-size: clamp(40px, 4.4vw, 66px); letter-spacing: .01em; line-height: 1.12; }
html[lang="en"] .hero-text { max-width: 700px; }
.hero-lead { color: var(--ink-2); max-width: 32em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 30px; }
.hero-caption { position: absolute; z-index: 1; right: var(--edge); bottom: 22px; margin: 0; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: rgba(246, 244, 239, .85); }
/* night version of the illustration */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-art svg {
    --sky1: #0b1322; --sky2: #16233a; --star: #e8ecf2; --moon: #c9bd9c; --mist: #1a2840;
    --l1: #24344e; --l2: #1d2c44; --l3: #17243a; --l4: #111c2f; --l5: #0a1220; --tent: #2a3a55; --lamp: #f0c46a; --rock: #060b14; --cat: #060b14;
  }
}

/* marquee: the old site's line, kept as a quiet moving rule */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 13px 0; }
.marquee-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(13px, 1.1vw, 16px); letter-spacing: .14em; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: var(--ink-3); font-style: italic; }
.marquee svg { width: 15px; height: 15px; color: var(--aoi); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ───────── Sections ───────── */
.section { position: relative; padding: clamp(64px, 8vw, 120px) var(--edge); }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.split { display: grid; grid-template-columns: 6fr 5fr; gap: 32px; align-items: end; }
.section-head .h2 { margin-bottom: 0; }
.section-lead { color: var(--ink-2); margin: 0; max-width: 28em; }

/* about */
.about-grid { display: grid; grid-template-columns: 6fr 4fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.about-text p:not(.kicker) { color: var(--ink-2); max-width: 32em; }
.about-photo { margin: 0; position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-photo figcaption { margin-top: 10px; font-size: 10px; color: var(--ink-3); }
.pillars { list-style: none; margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillars li { padding: 26px 28px 0 0; }
.pillars li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.pillars .num { font-family: var(--display); font-style: italic; color: var(--gold); font-size: 18px; }
.pillars h3 { font-family: var(--display); font-size: 21px; margin: 6px 0 8px; }
.pillars p { color: var(--ink-2); font-size: 14px; margin: 0; }

/* services: the pale-yellow panel of the old site, refined */
.services { background: var(--moon); }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.service { display: flex; flex-direction: column; padding: 30px 28px 30px; background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.service:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -32px rgba(15, 24, 40, .45); }
.service-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; color: var(--ink-3); padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.service h3 { font-family: var(--display); font-size: 26px; line-height: 1.35; }
.service-sub { font-family: var(--display); color: var(--gold); margin: 6px 0 16px; }
.service p:not(.service-meta):not(.service-sub) { color: var(--ink-2); font-size: 14px; flex: 1; }
.service .btn, .service .link { align-self: flex-start; margin-top: 12px; }
.service-feature { background: #1b2f4e; color: #f6f4ef; border-color: #1b2f4e; }   /* the same deep blue in both themes */
.service-feature .service-meta { color: rgba(246, 244, 239, .6); border-color: rgba(246, 244, 239, .18); }
.service-feature p:not(.service-meta):not(.service-sub) { color: rgba(246, 244, 239, .78); }
.service-feature .service-sub { color: #e0bb67; }
.service-feature .btn-solid { background: #f6f4ef; border-color: #f6f4ef; color: #1b2f4e; }
.service-feature .btn-solid:hover { background: #e0bb67; border-color: #e0bb67; }
.service-closed h3, .service-closed .service-sub { opacity: .75; }
.tag { border: 1px solid var(--line-2); padding: 0 8px; border-radius: 99px; }

/* flow */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.steps li { position: relative; padding: 0 24px 0 0; }
.steps li::before { content: ""; position: absolute; left: 44px; right: 14px; top: 13px; height: 1px; background: var(--line-2); }
.steps li:last-child::before { display: none; }
.steps b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--mono); font-weight: 400; font-size: 10.5px; margin-bottom: 18px; }
.steps h3 { font-family: var(--display); font-size: 20px; margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: 14px; margin: 0; }

/* gallery */
.gallery { background: var(--paper-2); }
/* a composed grid: one large picture and four smaller ones */
.masonry { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, clamp(200px, 22vw, 320px)); gap: clamp(10px, 1.2vw, 18px); }
.tile { margin: 0; position: relative; overflow: hidden; cursor: zoom-in; }
.tile:nth-child(1) { grid-column: 1 / 4; grid-row: 1 / 3; }
.tile:nth-child(2) { grid-column: 5 / 7; grid-row: 1; }
.tile:nth-child(3) { grid-column: 4; grid-row: 1 / 3; }
.tile:nth-child(4) { grid-column: 5; grid-row: 2; }
.tile:nth-child(5) { grid-column: 6; grid-row: 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tile:hover img { transform: scale(1.04); }
/* marks a photo that isn't of the exact place named in its caption */
.img-tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 8px 3px; font-family: var(--mono); font-size: 9px; letter-spacing: .18em; color: #f6f4ef; background: rgba(10, 17, 29, .48); backdrop-filter: blur(4px); pointer-events: none; }
.tile figcaption { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: end; gap: 10px; padding: 34px 14px 12px; font-size: 10px; color: rgba(246, 244, 239, .78); background: linear-gradient(transparent, rgba(10, 17, 29, .62)); }
.tile figcaption b { font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: .06em; text-transform: none; color: #f6f4ef; }
.tile:nth-child(n+3) figcaption span { display: none; }
.tile:nth-child(n+3) figcaption b { font-size: 14px; letter-spacing: .03em; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 6vh 5vw; background: rgba(10, 17, 29, .92); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; cursor: zoom-out; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 82vh; width: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox p { margin: 16px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: rgba(246, 244, 239, .75); text-align: center; }

/* journal */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.post-card { text-decoration: none; display: block; }
.post-img { position: relative; margin-bottom: 18px; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: opacity .4s; }
.post-card:hover img { opacity: .86; }
.post-meta { font-size: 10px; color: var(--gold); margin-bottom: 8px; }
.post-card h3 { font-family: var(--display); font-size: 20px; line-height: 1.5; margin-bottom: 8px; transition: color .3s; }
.post-card:hover h3 { color: var(--gold); }
.post-card p:not(.post-meta) { color: var(--ink-2); font-size: 14px; }

/* contact */
.contact { background: var(--night); color: #e8ecf2; --ink: #e8ecf2; --ink-2: #b3bdcb; --ink-3: #7f8a9b; --line: rgba(232, 236, 242, .12); --line-2: rgba(232, 236, 242, .26); --gold: #e0bb67; }
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 6vw, 100px); }
.contact-intro p:not(.kicker) { color: var(--ink-2); max-width: 28em; }
.company { margin: 30px 0 0; border-top: 1px solid var(--line); }
.company div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.company dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--ink-3); padding-top: 3px; }
.company dd { margin: 0; }
.company a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field span { font-size: 10.5px; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-2); padding: 8px 0; border-radius: 0; outline: none; transition: border-color .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: #15243b; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field .invalid, .field input.invalid { border-color: #e2846e; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact .btn-solid { background: #e8ecf2; border-color: #e8ecf2; color: #15243b; margin-top: 8px; }
.contact .btn-solid:hover { background: var(--gold); border-color: var(--gold); color: #15243b; }
.form-note { font-size: 10.5px; color: var(--ink-3); margin: 0; }
.form-note.ok { color: var(--gold); }

/* footer */
.site-footer { padding: clamp(48px, 6vw, 80px) var(--edge) 32px; font-size: 13.5px; color: var(--ink-2); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer-tag { font-family: var(--display); font-size: 18px; color: var(--ink); margin: 0; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 28px 0; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid p { margin: 0; text-align: right; line-height: 1.8; }
.footer-legal { font-size: 10px; color: var(--ink-3); margin: 0; }

/* reveal */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) { .js .reveal:not(.in) { opacity: 1; transform: none; } }

/* ───────── Article pages (journal) ───────── */
.article { max-width: 760px; margin: 0 auto; padding: 140px var(--gutter) 80px; }
.article .back { display: inline-flex; margin-bottom: 40px; }
.article .back svg { transform: scaleX(-1); }
.article h1 { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.4; margin: 10px 0 18px; }
.article .post-meta { font-size: 10.5px; }
.article-cover { margin: 36px calc(-1 * min(80px, 6vw)) 44px; position: relative; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-lead { font-family: var(--display); font-size: 18px; line-height: 2; color: var(--ink); }
.trip-notes { margin: 56px 0 0; padding: 26px 28px; border: 1px solid var(--line-2); }
.trip-notes .kicker { margin-bottom: 8px; }
.trip-notes div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.trip-notes div:last-child { border-bottom: 0; }
.trip-notes dt { color: var(--gold); font-family: var(--display); }
.trip-notes dd { margin: 0; color: var(--ink-2); }
@media (max-width: 600px) { .trip-notes div { grid-template-columns: 1fr; gap: 2px; } }
.article-body { font-size: 16px; line-height: 2.05; color: var(--ink-2); }
.article-body h2 { font-family: var(--display); font-size: 23px; color: var(--ink); margin: 2.2em 0 .7em; display: flex; gap: 14px; align-items: baseline; }
.article-body h2 b { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--gold); }
.article-body dl { margin: 1.2em 0; border-left: 2px solid var(--moon); padding-left: 20px; }
.article-body dt { font-family: var(--display); color: var(--ink); font-size: 17px; }
.article-body dd { margin: 0 0 .8em; }
.article-end { margin-top: 60px; padding: 36px; background: var(--moon); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.article-end p { margin: 0; font-family: var(--display); font-size: 20px; color: var(--ink); }

/* ───────── Responsive ───────── */
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .nav a { font-size: 12px; letter-spacing: .04em; }
}
@media (max-width: 960px) {
  .hero { min-height: 100svh; padding-top: 112px; }
  /* phones: the scene sits under the text, fading up into the page */
  .hero-art { top: auto; height: 60%; -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
  .hero-caption { display: none; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 22px; background: var(--paper); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
  .nav a { font-family: var(--display); font-size: 24px; color: var(--ink); }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  .section-head.split, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-list, .posts { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li, .pillars li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .steps li:nth-child(2)::before { display: none; }
  .about-photo { max-width: 420px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .header-actions .btn-small { display: none; }
  .brand-word { font-size: 15px; }
  .hero-title { font-size: 38px; }
  .pc { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps li::before { display: none; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; padding: 0; }
  .steps b { grid-row: span 2; margin: 0; }
  .masonry { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 200px 200px; }
  .tile:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .tile:nth-child(2) { grid-column: 1; grid-row: 2; }
  .tile:nth-child(3) { grid-column: 2; grid-row: 2 / 4; }
  .tile:nth-child(4) { grid-column: 1; grid-row: 3; }
  .tile:nth-child(5) { display: none; }
  .tile figcaption { padding: 24px 10px 9px; }
  .tile figcaption span { display: none; }
  .tile figcaption b { font-size: 13px; }
  .field-row { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid p { text-align: left; }
  .article-cover { margin-left: 0; margin-right: 0; }
}
.article-next { margin-top: 36px; display: flex; flex-direction: column; gap: 6px; }
.article-next a { font-family: var(--display); font-size: 19px; text-decoration: none; }
.article-next a:hover { color: var(--gold); }
.page-article .site-footer { text-align: center; }
.page-article .footer-legal a { text-decoration: none; }
