/* =========================================================
   snowCraft — design tokens
   ========================================================= */
:root {
  --ink: #0A1520;
  --ink-2: #10273A;
  --ink-3: #1B3A52;
  --steel: #4A5D6E;          /* muted text on light: 6.6:1 on white */
  --mist: #A9BCCB;           /* muted text on dark: 8:1 on ink */
  --snow: #F5F8FA;
  --ice: #E6EEF3;
  --line: #D3DEE6;
  --white: #FFFFFF;
  --accent: #FF6A1A;         /* CTA fill; ink text on it = 6.4:1 */
  --accent-strong: #E85A0C;
  --accent-text: #B8460B;    /* orange text on white: 5.2:1 */
  --danger: #B42318;
  --ok: #157347;

  --f-display: "Oswald", "Noto Sans JP", system-ui, sans-serif;
  --f-body: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgb(10 21 32 / .06), 0 4px 12px rgb(10 21 32 / .06);
  --shadow-2: 0 12px 40px rgb(10 21 32 / .14);
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(72px, 10vw, 128px);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  --dur-1: 160ms; --dur-2: 260ms; --dur-3: 700ms; --dur-4: 1100ms;

  --z-header: 50; --z-drawer: 60; --z-bar: 40;
  --header-h: 76px;
  color-scheme: light;
}

/* ========================================================= base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.8; color: var(--ink);
  background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 1; overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tabnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--steel); }
.small { font-size: 14px; }
.i { width: 20px; height: 20px; flex: none; }
.i-lg { width: 28px; height: 28px; }
.br-md { display: none; }
@media (min-width: 768px) { .br-md { display: inline; } }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--accent); color: var(--ink); font-weight: 700; transform: translateY(-160%);
  transition: transform var(--dur-2) var(--ease-out);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: clamp(40px, 6vw, 64px); }
.section-snow { background: var(--snow); }
.section-ice { background: var(--ice); }
.section-dark { background: radial-gradient(120% 80% at 80% 0%, var(--ink-3) 0%, var(--ink-2) 40%, var(--ink) 100%); color: var(--white); }

/* ========================================================= type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: .22em;
  color: var(--accent-text); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--accent); }
.eyebrow .i { width: 16px; height: 16px; }
.hero-eyebrow::before { display: none; }
.section-title { font-size: clamp(28px, 4.2vw, 44px); letter-spacing: .01em; font-weight: 900; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.light .section-title { color: var(--white); }
.section-head.light .section-lead { color: var(--mist); }
.section-lead { margin-top: 16px; color: var(--steel); font-size: 17px; }
.h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.h3 { font-size: 20px; }

/* ========================================================= buttons */
.btn {
  --bg: var(--ink); --fg: var(--white); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-pill); border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: .02em;
  cursor: pointer; touch-action: manipulation; white-space: nowrap;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2), border-color var(--dur-2), transform var(--dur-1) var(--ease-out), box-shadow var(--dur-2);
}
.btn .i { width: 18px; height: 18px; transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .i:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-accent { --bg: var(--accent); --fg: var(--ink); box-shadow: 0 8px 24px rgb(255 106 26 / .28); }
.btn-accent:hover { --bg: #FF7E38; box-shadow: 0 10px 30px rgb(255 106 26 / .38); }
.btn-dark { --bg: var(--ink); --fg: var(--white); }
.btn-dark:hover { --bg: var(--ink-3); }
.btn-outline { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn-outline:hover { --bd: var(--ink); }
.btn-outline-light { --bg: transparent; --fg: var(--white); --bd: rgb(255 255 255 / .4); }
.btn-outline-light:hover { --bd: var(--white); --bg: rgb(255 255 255 / .08); }
.btn-glass { --bg: rgb(255 255 255 / .12); --fg: var(--white); --bd: rgb(255 255 255 / .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { --bg: rgb(255 255 255 / .2); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; margin-top: 40px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none;
  color: var(--accent-text); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px;
  cursor: pointer;
}
.text-link .i { width: 18px; height: 18px; transition: transform var(--dur-2) var(--ease-out); }
.text-link:hover .i:last-child { transform: translateX(4px); }

.pill { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.pill-accent { background: var(--accent); color: var(--ink); }

/* ========================================================= header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header); padding: 12px clamp(12px, 2vw, 24px);
  transition: padding var(--dur-2) var(--ease-out);
}
.nav-shell {
  max-width: 1280px; margin-inline: auto; height: 60px; display: flex; align-items: center; gap: 16px;
  padding: 0 10px 0 16px; border-radius: var(--r-pill);
  background: rgb(255 255 255 / .94); color: var(--ink);
  box-shadow: 0 6px 24px rgb(10 21 32 / .12);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow var(--dur-2), background-color var(--dur-2), transform var(--dur-3) var(--ease-out);
}
.site-header.is-scrolled { padding-top: 8px; }
.site-header.is-scrolled .nav-shell { box-shadow: 0 10px 30px rgb(10 21 32 / .18); }
.site-header.is-hidden .nav-shell { transform: translateY(-130%); }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; }
.logo-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-family: var(--f-display); font-size: 21px; letter-spacing: .02em; font-weight: 700; }
.brand-text small { font-size: 10.5px; color: var(--steel); letter-spacing: .06em; }
.brand-light .brand-text small { color: var(--mist); }
.nav { display: none; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: 14px; font-weight: 500; border-radius: var(--r-pill); transition: background-color var(--dur-2);
}
.nav a:hover { background: var(--ice); }
.nav a[aria-current="page"] { font-weight: 700; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 12px;
  border-radius: var(--r-pill); font-family: var(--f-display); font-weight: 600; font-size: 14px; letter-spacing: .06em;
  transition: background-color var(--dur-2);
}
.lang-switch:hover { background: var(--ice); }
.lang-switch .i { width: 18px; height: 18px; }
.nav-cta { display: none; }
.menu-btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; }
.burger { display: grid; gap: 4px; width: 18px; }
.burger i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: -1; padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--ink); color: var(--white); overflow-y: auto; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transform: translateY(-12px); transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.drawer.is-open { opacity: 1; transform: none; }
.drawer ul { display: grid; gap: 2px; }
.drawer a:not(.btn) {
  display: flex; align-items: center; min-height: 56px; font-size: 22px; font-weight: 700; border-bottom: 1px solid rgb(255 255 255 / .1);
}
.drawer a[aria-current="page"] { color: var(--accent); }
.drawer-foot { display: grid; gap: 12px; margin-top: 32px; }
.drawer-foot p { color: var(--mist); font-size: 14px; }
body.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .nav-cta { display: inline-flex; }
  .menu-btn, .drawer { display: none !important; }
}
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }

/* ========================================================= hero */
.hero {
  position: relative; min-height: 100svh; min-height: 100dvh; display: flex; align-items: flex-end;
  color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 48px) 0 clamp(120px, 16vh, 180px);
}
.hero-media, .page-hero-media, .cta-media { position: absolute; inset: 0; z-index: -2; }
.cover { width: 100%; height: 100%; object-fit: cover; }
.hero-img { transform: scale(1.08); animation: kenburns 18s var(--ease-out) forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(10 21 32 / .55) 0%, rgb(10 21 32 / .05) 35%, rgb(10 21 32 / .35) 62%, rgb(10 21 32 / .9) 100%),
    linear-gradient(90deg, rgb(10 21 32 / .55) 0%, rgb(10 21 32 / 0) 60%);
}
.snow { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; }
.hero-title {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(56px, 13vw, 148px); line-height: .98;
  letter-spacing: -.005em; margin: 4px 0 24px; text-transform: uppercase;
}
html[lang="ja"] .hero-title { font-family: var(--f-body); font-weight: 900; font-size: clamp(52px, 11vw, 128px); line-height: 1.08; letter-spacing: .02em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; }
.hero-lead { font-size: clamp(16px, 1.6vw, 19px); max-width: 34em; color: rgb(255 255 255 / .9); margin-bottom: 28px; }
.hero-cta { margin-bottom: 28px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: rgb(255 255 255 / .88); }
.hero-checks li { display: inline-flex; align-items: center; gap: 6px; }
.hero-checks .i { width: 16px; height: 16px; color: var(--accent); }
.hero-aside {
  display: none; position: absolute; right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  bottom: clamp(150px, 20vh, 220px); width: 300px; color: rgb(255 255 255 / .88); font-size: 13px;
}
.hero-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.hero-thumbs img { aspect-ratio: 4/3; border-radius: 12px; border: 2px solid rgb(255 255 255 / .7); }
@media (min-width: 1100px) { .hero-aside { display: block; } }

/* hero intro choreography (JS adds .is-ready) */
.js .hero-eyebrow, .js .hero-lead, .js .hero-cta, .js .hero-checks, .js .hero-aside { opacity: 0; transform: translateY(18px); }
.js .hero-title .line > span { transform: translateY(105%); }
.js .hero.is-ready .hero-title .line > span { transform: none; transition: transform var(--dur-4) var(--ease-out); }
.js .hero.is-ready .hero-title .line:nth-child(2) > span { transition-delay: 120ms; }
.js .hero.is-ready :is(.hero-eyebrow, .hero-lead, .hero-cta, .hero-checks, .hero-aside) { opacity: 1; transform: none; transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); }
.js .hero.is-ready .hero-lead { transition-delay: 380ms; }
.js .hero.is-ready .hero-cta { transition-delay: 480ms; }
.js .hero.is-ready .hero-checks { transition-delay: 580ms; }
.js .hero.is-ready .hero-aside { transition-delay: 700ms; }

/* ========================================================= stats */
.stats { position: relative; z-index: 2; margin-top: -76px; }
.stats-panel {
  list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr);
  background: var(--ink-2); color: var(--white); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 24px 48px -20px rgb(10 21 32 / .45); border: 1px solid rgb(255 255 255 / .08);
  position: relative;
}
.stats-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accent); }
.stat { position: relative; padding: 22px 18px 20px; display: grid; align-content: start; gap: 2px; }
.stat:nth-child(odd) { border-right: 1px solid rgb(255 255 255 / .1); }
.stat:nth-child(-n+2) { border-bottom: 1px solid rgb(255 255 255 / .1); }
.stat > .i { width: 22px; height: 22px; color: var(--accent); margin-bottom: 10px; }
.stat-num { display: flex; align-items: baseline; gap: 2px; font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 4vw, 46px); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
html[lang="ja"] .stat-num { font-family: var(--f-display), var(--f-body); }
.stat-num small { font-size: .5em; font-weight: 500; color: var(--accent); }
.stat-label { display: block; margin-top: 10px; font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--white); }
.stat-label em { display: block; font-style: normal; font-weight: 400; font-size: 12.5px; color: var(--mist); margin-top: 2px; }
@media (min-width: 900px) {
  .stats-panel { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 30px 28px 28px; }
  .stat:nth-child(-n+2) { border-bottom: 0; }
  .stat:not(:last-child) { border-right: 1px solid rgb(255 255 255 / .1); }
}
.js .stats-panel[data-reveal] .stat { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .stats-panel[data-reveal].is-in .stat { opacity: 1; transform: none; }
.js .stats-panel[data-reveal].is-in .stat:nth-child(2) { transition-delay: 80ms; }
.js .stats-panel[data-reveal].is-in .stat:nth-child(3) { transition-delay: 160ms; }
.js .stats-panel[data-reveal].is-in .stat:nth-child(4) { transition-delay: 240ms; }

/* ========================================================= split / collage */
.split { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split-text > p:not(.eyebrow) { color: var(--steel); }
.split-text .section-title { margin-bottom: 24px; }
.collage { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; align-items: end; padding-bottom: 36px; }
.collage figure { overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.collage-a img { aspect-ratio: 4/5; }
.collage-b { transform: translateY(36px); }
.collage-b img { aspect-ratio: 4/5; }
.collage-badge {
  position: absolute; left: 16px; bottom: 0; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-2); font-size: 13px; line-height: 1.4;
}
.collage-badge .i { color: var(--accent-text); width: 26px; height: 26px; }
.collage-badge b { display: block; font-size: 16px; }
.check-list { display: grid; gap: 10px; margin: 24px 0 20px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check-list .i { margin-top: 4px; color: var(--ink); background: var(--accent); border-radius: 50%; padding: 3px; width: 20px; height: 20px; stroke-width: 3; }

/* ========================================================= marquee */
.marquee { overflow: hidden; background: var(--accent); color: var(--ink); padding: 14px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 152s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee span { font-family: var(--f-display); font-weight: 700; font-size: clamp(18px, 2.4vw, 26px); letter-spacing: .08em; white-space: nowrap; }
.marquee i { width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg); flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ========================================================= services */
.svc-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.svc-link {
  display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--white);
  box-shadow: var(--shadow-1); transition: box-shadow var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.svc-link:hover { box-shadow: var(--shadow-2); transform: translateY(-4px); }
.svc-media { position: relative; overflow: hidden; }
.svc-media img { aspect-ratio: 4/3; transition: transform var(--dur-3) var(--ease-out); }
.svc-link:hover .svc-media img { transform: scale(1.05); }
.price-chip {
  position: absolute; right: 14px; top: 14px; padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: .02em;
}
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 20px; }
.svc-body h3 { font-size: 19px; margin-bottom: 8px; }
.svc-body p { color: var(--steel); font-size: 15px; line-height: 1.7; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-weight: 700; font-size: 14px; color: var(--accent-text); }
.more .i { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
.svc-link:hover .more .i { transform: translateX(4px); }
.note-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; padding: 18px 22px;
  border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line);
}
.note-bar p { flex: 1 1 280px; margin: 0; font-size: 15px; }
.note-bar > .i { color: var(--accent-text); }

/* ========================================================= steps / ways */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { position: relative; padding: 28px 26px; border-radius: var(--r-lg); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .12); }
.step-no { display: block; font-family: var(--f-display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--accent); margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--mist); font-size: 15px; }
.steps-light .step { background: var(--white); border-color: var(--line); }
.steps-light .step p { color: var(--steel); }
.steps-light .step-no { color: var(--accent-text); }
.ways { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 768px) { .ways { grid-template-columns: repeat(3, 1fr); } }
.way { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; align-items: center; padding: 20px 22px; border-radius: var(--r-md); background: rgb(255 106 26 / .1); border: 1px solid rgb(255 106 26 / .35); }
.way .i { grid-row: span 2; color: var(--accent); }
.way h3 { font-size: 17px; }
.way p { color: var(--mist); font-size: 14px; }

/* ========================================================= features */
.feature-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature { padding: 28px 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: border-color var(--dur-2), transform var(--dur-2) var(--ease-out); }
.feature:hover { border-color: var(--ink); transform: translateY(-3px); }
.feature .i { color: var(--accent-text); margin-bottom: 16px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--steel); font-size: 15px; line-height: 1.7; }

/* ========================================================= news */
.split-news { align-items: start; }
@media (min-width: 900px) { .split-news { grid-template-columns: 1fr 1.6fr; } }
.news-list { display: grid; gap: 12px; }
.news-item { padding: 22px 24px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.news-item.is-pinned { border-color: var(--accent); box-shadow: inset 4px 0 0 var(--accent); }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 13px; color: var(--steel); }
.news-meta time { font-family: var(--f-display); letter-spacing: .06em; font-size: 14px; }
.news-tag { font-weight: 700; letter-spacing: .04em; }
.news-title { font-size: 17px; line-height: 1.5; }
.news-full .news-item p { margin-top: 10px; color: var(--steel); }
.news-full .news-item { scroll-margin-top: calc(var(--header-h) + 24px); }
/* Photo: whole picture on the news page (flyers stay readable), small thumbnail on the home list */
.news-photo { margin: 14px 0 0; border-radius: var(--r-sm, 10px); overflow: hidden; background: var(--snow); }
.news-photo img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.news-list:not(.news-full) .news-item.has-photo { display: grid; grid-template-columns: 1fr 84px; column-gap: 16px; align-items: center; }
.news-list:not(.news-full) .news-item.has-photo > :not(.news-photo) { grid-column: 1; }
.news-list:not(.news-full) .news-photo { grid-column: 2; grid-row: 1 / span 2; margin: 0; width: 84px; height: 84px; }
.news-list:not(.news-full) .news-photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; }

/* ========================================================= access / map */
.access-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .access-grid { grid-template-columns: 1fr 1.2fr; gap: 28px; } }
.access-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--snow); border: 1px solid var(--line); }
.card-h { display: flex; align-items: center; gap: 10px; font-size: 16px; margin: 0 0 12px; }
.card-h .i { color: var(--accent-text); }
.access-card .card-h:not(:first-child) { margin-top: 28px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours-table th, .hours-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours-table th { font-weight: 500; color: var(--steel); width: 40%; }
.hours-table td { font-weight: 700; font-family: var(--f-display); font-size: 18px; letter-spacing: .04em; }
html[lang="ja"] .hours-table td { font-family: var(--f-display), var(--f-body); }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--ink); }
.hours-table tr.is-today th::after { content: " ●"; color: var(--accent); font-size: 10px; vertical-align: middle; }
.open-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 700; }
.open-status:empty { display: none; }
.open-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--steel); }
.open-status.is-open::before { background: var(--ok); box-shadow: 0 0 0 4px rgb(21 115 71 / .18); }
.nap-lg { font-size: 17px; font-weight: 500; line-height: 1.7; }
.nap-lg .muted { font-size: 14px; font-weight: 400; }
.access-card .btn-row { margin-top: 24px; }
.access-card > .muted { margin-top: 20px; }
.map { position: relative; height: 100%; min-height: 360px; border-radius: var(--r-lg); overflow: hidden; background: var(--ice); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card { position: absolute; left: 12px; top: 12px; right: 64px; max-width: 340px; display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: var(--r-md); background: rgb(255 255 255 / .94); backdrop-filter: blur(8px); box-shadow: var(--shadow-2); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease-out); }
.map-card:hover { transform: translateY(-2px); }
.map-card strong { display: block; font-size: 15px; }
.map-card small { display: block; font-size: 13px; color: var(--steel); }
.map-card > span:nth-child(2) { flex: 1; min-width: 0; }
.map-card-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--ink); }
.notice { display: flex; gap: 14px; padding: 18px 22px; margin-bottom: 24px; border-radius: var(--r-md); background: #FFF4EC; border: 1px solid #FFC9A8; }
.notice .i { color: var(--accent-text); margin-top: 4px; }
.notice h3 { font-size: 16px; margin-bottom: 4px; }

/* ========================================================= CTA band */
.cta-band { position: relative; isolation: isolate; color: var(--white); padding-block: clamp(96px, 14vw, 168px); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(10 21 32 / .92) 0%, rgb(10 21 32 / .55) 60%, rgb(10 21 32 / .25) 100%); }
.cta-title { font-size: clamp(32px, 5.6vw, 64px); font-weight: 900; line-height: 1.2; margin-bottom: 18px; }
.cta-lead { color: rgb(255 255 255 / .85); margin-bottom: 28px; }
.js .cta-media img { transform: translateY(var(--py, 0)) scale(1.12); will-change: transform; }

.review-cta { display: grid; gap: 16px; align-items: center; padding: 28px; border-radius: var(--r-lg); background: var(--snow); border: 1px solid var(--line); }
.review-cta .i { color: var(--accent-text); }
@media (min-width: 768px) { .review-cta { grid-template-columns: auto 1fr auto; } }

/* ========================================================= page hero */
.page-hero { position: relative; isolation: isolate; color: var(--white); background: var(--ink); padding: calc(var(--header-h) + 72px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 21 32 / .7), rgb(10 21 32 / .85)); }
.page-hero-media img { animation: kenburns 14s var(--ease-out) forwards; transform: scale(1.06); }
.page-title { font-size: clamp(36px, 6vw, 68px); font-weight: 900; margin-bottom: 14px; }
.page-lead { max-width: 40em; color: rgb(255 255 255 / .88); }
.page-hero-404 { min-height: 80svh; display: flex; align-items: center; }
.page-hero-404 .btn-row { margin-top: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: rgb(255 255 255 / .75); margin-bottom: 28px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }

/* ========================================================= menu page */
.price-toc ul { display: grid; gap: 8px; }
@media (min-width: 768px) { .price-toc ul { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1100px) { .price-toc ul { grid-template-columns: repeat(3, 1fr); } }
.price-toc a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-height: 52px; padding: 14px 4px; border-bottom: 1px dashed var(--line); font-weight: 500; transition: color var(--dur-2); }
.price-toc a:hover { color: var(--accent-text); }
.price-toc b { font-family: var(--f-display); font-size: 20px; }
.menu-list .container { display: grid; gap: clamp(48px, 7vw, 96px); }
.menu-row { display: grid; gap: 24px; align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
@media (min-width: 900px) {
  .menu-row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .menu-row:nth-child(even) .menu-media { order: 2; }
}
.menu-media { overflow: hidden; border-radius: var(--r-lg); }
.menu-media img { aspect-ratio: 4/3; }
.menu-no { font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: .2em; color: var(--accent-text); }
.menu-name { font-size: clamp(24px, 3vw, 34px); font-weight: 900; margin: 6px 0 10px; }
.menu-price { font-family: var(--f-display); font-weight: 700; font-size: clamp(36px, 4.4vw, 52px); line-height: 1; margin-bottom: 16px; }
.menu-price small { font-family: var(--f-body); font-size: 14px; font-weight: 500; color: var(--steel); margin-left: 6px; }
.menu-lead { font-weight: 700; font-size: 17px; }
.menu-body > p:not(.menu-price):not(.menu-lead) { color: var(--steel); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.tags li { padding: 4px 12px; border-radius: var(--r-pill); background: var(--ice); font-size: 13px; font-weight: 500; }

.faq-list { display: grid; gap: 10px; }
.faq { border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); transition: border-color var(--dur-2); }
.faq[open] { border-color: var(--ink); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 16px 22px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform var(--dur-2) var(--ease-out); }
.faq[open] summary .i { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; color: var(--steel); }

/* ========================================================= profile */
.quote { margin: 0 0 28px; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); }
.quote p { color: var(--ink); font-size: 16px; }
.quote footer { margin-top: 10px; font-size: 14px; color: var(--steel); }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--steel); font-size: 14px; }
.facts dd { margin: 0; font-weight: 500; }
/* history: course line (vertical on phones, horizontal track from 900px) */
.timeline { position: relative; display: grid; gap: 28px; padding-left: 32px; max-width: 1100px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px;
  background: linear-gradient(rgb(255 255 255 / .16), var(--accent)); transform-origin: top; }
.timeline li { position: relative; }
.tl-year { font-family: var(--f-display); font-weight: 600; font-size: 24px; line-height: 1; letter-spacing: .02em; color: var(--white); }
.tl-sub { margin-left: 8px; font-family: var(--f-display); font-weight: 500; font-size: 12px; letter-spacing: .14em; color: var(--mist); }
.tl-dot { position: absolute; left: -32px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-2); border: 2px solid var(--mist); }
.timeline li:nth-child(3) .tl-dot { border-color: #FF9A5E; }
.timeline li:nth-child(4) .tl-dot { border-color: var(--accent); }
.timeline .is-now .tl-year { color: var(--accent); }
.timeline .is-now .tl-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgb(255 106 26 / .2); animation: tl-pulse 2.4s ease-in-out infinite; }
.timeline .is-now p { color: var(--white); font-weight: 700; }
.timeline p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: #B9C6D2; }
@keyframes tl-pulse { 50% { box-shadow: 0 0 0 11px rgb(255 106 26 / 0); } }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; padding-left: 0; margin-top: 16px; }
  .timeline::before { left: 0; right: 0; top: 70px; bottom: auto; width: auto; height: 2px; transform-origin: left;
    background: linear-gradient(90deg, rgb(255 255 255 / .16), var(--accent) 88%); }
  .tl-year { display: block; font-size: 30px; height: 30px; }
  .tl-sub { display: block; margin: 4px 0 0; height: 16px; line-height: 16px; }
  .tl-dot { position: relative; left: auto; top: auto; display: block; margin-top: 13px; }
  .timeline .is-now .tl-dot { width: 20px; height: 20px; margin-top: 11px; margin-left: -2px; }
  .timeline p { margin-top: 16px; padding-right: 8px; }
}
.js .timeline[data-reveal] { opacity: 1; transform: none; }
.js .timeline[data-reveal]::before { transform: scaleY(0); transition: transform 1.2s var(--ease-out); }
.js .timeline[data-reveal] li { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(200ms + var(--i) * 140ms); }
.js .timeline[data-reveal].is-in::before { transform: none; }
.js .timeline[data-reveal].is-in li { opacity: 1; transform: none; }
@media (min-width: 900px) { .js .timeline[data-reveal]::before { transform: scaleX(0); } }
.gallery { display: grid; gap: 16px; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { overflow: hidden; border-radius: var(--r-lg); background: var(--snow); }
.gallery img { aspect-ratio: 4/3; transition: transform var(--dur-3) var(--ease-out); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 14px 18px; font-size: 14px; color: var(--steel); }

/* ========================================================= booking */
.booking { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .booking { grid-template-columns: 1fr 360px; gap: 48px; } .booking-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.booking-main > .muted { margin-bottom: 24px; }
.form { display: grid; gap: 20px; }
.fs { margin: 0; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); display: grid; gap: 18px; min-width: 0; }
.fs legend { display: flex; align-items: center; gap: 10px; padding: 0 8px; margin-left: -8px; font-weight: 900; font-size: 18px; }
.fs-no { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--white); font-family: var(--f-display); font-size: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .label { font-weight: 700; font-size: 15px; margin: 0; }
.req { color: var(--danger); margin-left: 4px; }
.help { font-size: 13px; color: var(--steel); margin: 0; line-height: 1.6; }
.err { font-size: 14px; color: var(--danger); font-weight: 500; margin: 0; display: flex; gap: 6px; align-items: flex-start; }
.err::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--danger); color: #fff; font-size: 12px; font-weight: 900; }
.warn { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: #FFF4EC; font-size: 14px; }
.warn .i { color: var(--accent-text); width: 18px; height: 18px; margin-top: 3px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--snow);
  font-size: 16px; transition: border-color var(--dur-1), background-color var(--dur-1), box-shadow var(--dur-1);
}
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1520' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
select:disabled { opacity: .55; cursor: not-allowed; }
:is(input, select, textarea):hover { border-color: #B7C7D3; }
:is(input, select, textarea):focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgb(255 106 26 / .25); }
[aria-invalid="true"] { border-color: var(--danger) !important; background: #FFF6F5 !important; }
.grid-2, .grid-3 { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1.4fr 1fr 1fr; } }
.opts { display: grid; gap: 10px; }
@media (min-width: 640px) { .opts { grid-template-columns: 1fr 1fr; } }
.opts-wrap { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt-box { display: flex; justify-content: space-between; align-items: center; gap: 10px; height: 100%; min-height: 56px; padding: 12px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--snow); transition: border-color var(--dur-1), background-color var(--dur-1), box-shadow var(--dur-1); }
.opt-sm .opt-box { min-height: 50px; font-size: 14px; }
.opt-name { font-weight: 700; line-height: 1.4; }
.opt-price { font-family: var(--f-display); font-weight: 600; font-size: 17px; color: var(--steel); white-space: nowrap; }
.opt:hover .opt-box { border-color: #B7C7D3; }
.opt input:checked + .opt-box { border-color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); }
.opt input:checked + .opt-box .opt-price { color: var(--accent-text); }
.opt input:focus-visible + .opt-box { box-shadow: 0 0 0 4px rgb(255 106 26 / .35); }
.opts[aria-invalid="true"] .opt-box { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error-summary { padding: 18px 22px; margin-bottom: 20px; border-radius: var(--r-md); border: 2px solid var(--danger); background: #FFF6F5; }
.error-summary h3 { font-size: 16px; color: var(--danger); margin-bottom: 8px; }
.error-summary ul { list-style: disc; padding-left: 20px; }
.error-summary a { color: var(--danger); text-decoration: underline; }
.estimate { padding: 28px; border-radius: var(--r-lg); background: var(--ink); color: var(--white); }
.est-list { display: grid; gap: 8px; margin: 0 0 18px; font-size: 14px; }
.est-list div { display: flex; justify-content: space-between; gap: 12px; }
.est-list dt { color: var(--mist); }
.est-list dd { margin: 0; text-align: right; font-weight: 500; }
.est-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .15); margin-bottom: 10px; }
.est-total strong { font-family: var(--f-display); font-size: 40px; font-weight: 700; color: var(--accent); }
.estimate .help { color: var(--mist); }
.side-card { margin-top: 16px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--snow); }
.side-card p { font-size: 14px; color: var(--steel); margin-bottom: 16px; }
.result { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); border: 2px solid var(--ink); background: var(--white); }
.result .h2 .i { color: var(--ok); }
.result-list { display: grid; gap: 0; margin: 20px 0; }
.result-list div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.result-list dt { color: var(--steel); }
.result-list dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.result-actions { margin-bottom: 16px; }
.notice-inline { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; margin-bottom: 14px; }
.notice-inline .i { color: var(--accent-text); margin-top: 4px; }
.result.is-sent .result-actions .notice-inline,
.result.is-sent [data-copy], .result.is-sent [data-edit] { display: none; }
.result [data-result-msg]:empty { display: none; }
.result.is-sent [data-result-msg] { margin-top: 8px; font-weight: 500; }

/* ========================================================= footer */
.site-footer { background: var(--ink); color: var(--white); padding: clamp(64px, 8vw, 96px) 0 24px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1.2fr 1fr .8fr; } }
.footer-brand p { color: var(--mist); font-size: 14px; margin: 18px 0; max-width: 30em; }
.pow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; color: var(--mist); text-decoration: underline; text-underline-offset: 4px; }
.footer-h { font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: .2em; color: var(--accent); margin-bottom: 16px; text-transform: uppercase; }
.nap { font-size: 15px; line-height: 1.8; color: rgb(255 255 255 / .9); margin-bottom: 8px; }
.nap a { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .text-link { color: var(--accent); }
.hours-mini { margin: 0; display: grid; gap: 6px; font-size: 15px; }
.hours-mini div { display: flex; gap: 12px; }
.hours-mini dt { color: var(--mist); min-width: 5.5em; }
.hours-mini dd { margin: 0; font-variant-numeric: tabular-nums; }
.footer-nav { display: grid; gap: 2px; }
.footer-nav a { display: inline-flex; min-height: 40px; align-items: center; font-size: 15px; color: rgb(255 255 255 / .9); }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 56px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); color: var(--mist); font-size: 12px; }

/* mobile quick bar */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: var(--z-bar);
  display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 6px; padding: 6px; border-radius: var(--r-pill);
  background: rgb(10 21 32 / .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-2);
  transform: translateY(160%); transition: transform var(--dur-3) var(--ease-out);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: var(--r-pill); color: var(--white); font-size: 14px; font-weight: 700; }
.mobile-bar a.is-primary { background: var(--accent); color: var(--ink); }
.mobile-bar .i { width: 18px; height: 18px; }
/* back to top */
.to-top {
  position: fixed; right: clamp(28px, 3.5vw, 56px); bottom: calc(clamp(28px, 3.5vw, 56px) + env(safe-area-inset-bottom)); z-index: var(--z-bar);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: rgb(10 21 32 / .9); color: var(--white); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3), background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top > * { grid-area: 1 / 1; }
.to-top .i { width: 20px; height: 20px; transition: transform .25s var(--ease-out); }
.to-top-ring { width: 52px; height: 52px; transform: rotate(-90deg); fill: none; stroke-width: 2; }
.to-top-ring circle { stroke: rgb(255 255 255 / .14); }
.to-top-ring .to-top-bar { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); }
.to-top-tip { position: absolute; right: calc(100% + 10px); top: 50%; translate: 6px -50%; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--white); font: 600 11px/1.4 var(--f-display); letter-spacing: .12em; opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; }
@media (hover: hover) {
  .to-top:hover { background: var(--accent); color: var(--ink); }
  .to-top:hover .i { transform: translateY(-3px); }
  .to-top:hover .to-top-tip { opacity: 1; translate: 0 -50%; }
}
.to-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 767px) { .to-top { width: 46px; height: 46px; right: 14px; bottom: calc(84px + env(safe-area-inset-bottom)); } .to-top-ring { width: 46px; height: 46px; } }
@media (max-width: 767px) { .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ========================================================= reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .collage[data-reveal] figure { clip-path: inset(100% 0 0 0 round var(--r-lg)); transition: clip-path 1.1s var(--ease-out); }
.js .collage[data-reveal].is-in figure { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js .collage[data-reveal].is-in .collage-b { transition-delay: 150ms; }

/* ========================================================= reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero * { opacity: 1 !important; transform: none !important; }
  .js .collage[data-reveal] figure { clip-path: none !important; }
  .js .timeline[data-reveal] li, .js .timeline[data-reveal]::before { opacity: 1 !important; transform: none !important; }
  .hero-img, .page-hero-media img { transform: none; }
  .snow { display: none; }
  .marquee-track { animation: none; }
}

@media print {
  .site-header, .mobile-bar, .to-top, .snow, .marquee, .cta-band, .map { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
