/* Yumi Driving School */

@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("../fonts/zen-kaku-gothic-new-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("../fonts/zen-kaku-gothic-new-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("../fonts/zen-kaku-gothic-new-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Shippori Mincho";
  src: url("../fonts/shippori-mincho-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Shippori Mincho";
  src: url("../fonts/shippori-mincho-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #f7f3ea;
  --paper-deep: #efe8d9;
  --card: #fffdf8;
  --ink: #1a1d3d;
  --ink-soft: #4a4e6b;
  --navy: #08127a;
  --navy-deep: #050c5a;
  --vermilion: #b3321a;
  --vermilion-deep: #8f2815;
  --coral: #ffb09c;
  --rule: #d8cfbb;
  --whatsapp: #25d366;
  --whatsapp-deep: #128c7e;

  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, serif;

  --gutter: clamp(1rem, 3.5vw, 2rem);
  --section: clamp(2.5rem, 5vw, 4.25rem);
  --wrap: 70rem;
  --header-h: 5rem;

  --shadow-1: 0 1px 2px rgba(26, 29, 61, 0.06), 0 14px 30px -18px rgba(26, 29, 61, 0.28);
  --shadow-2: 0 2px 4px rgba(26, 29, 61, 0.08), 0 30px 60px -28px rgba(26, 29, 61, 0.4);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .25 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --asanoha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='83' viewBox='0 0 48 83' fill='none' stroke='%23ffffff' stroke-width='1' stroke-opacity='.09'%3E%3Cpath d='M24 0v83M0 20.75l48 41.5M48 20.75L0 62.25M0 0l24 20.75L48 0M0 83l24-20.75L48 83M0 41.5l24-20.75M48 41.5L24 20.75M0 41.5l24 20.75M48 41.5L24 62.25'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper) var(--grain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:lang(ja) {
  line-height: 1.9;
  letter-spacing: 0.04em;
  font-feature-settings: "palt";
  word-break: auto-phrase;
  line-break: strict;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  text-wrap: balance;
}
:lang(ja) h1,
:lang(ja) h2,
:lang(ja) h3 {
  line-height: 1.5;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--vermilion);
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

strong {
  font-weight: 700;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

:root[data-lang="en"] [data-l="ja"],
:root[data-lang="ja"] [data-l="en"] {
  display: none !important;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.skip:focus {
  top: 1rem;
  color: var(--paper);
}

.ico {
  display: inline-grid;
  place-items: center;
  flex: none;
}
.ico svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico svg .solid {
  fill: currentColor;
  stroke: none;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  border: 1.5px solid transparent;
  background: var(--vermilion);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}
.btn svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}
.btn:hover {
  background: var(--vermilion-deep);
  color: #fff;
}
.btn:hover svg {
  transform: translateX(4px);
}
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 243, 234, 0.94);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  backdrop-filter: saturate(1.3) blur(12px);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--rule), 0 14px 32px -22px rgba(26, 29, 61, 0.45);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 0.75rem;
  transition: padding 0.3s var(--ease);
}
.is-scrolled .header-top {
  padding-block: 0.4rem;
}

.logo {
  display: block;
  flex: none;
  line-height: 0;
}
.logo img {
  display: block;
  width: 9.5rem;
  height: auto;
  transition: width 0.3s var(--ease);
}
.is-scrolled .logo img {
  width: 7.5rem;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.header-tel svg {
  width: 1rem;
  height: 1rem;
  color: var(--vermilion);
}
.header-tel:hover {
  color: var(--vermilion);
}
.header-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: -0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.header-wa svg {
  width: 1rem;
  height: 1rem;
}
.header-wa:hover {
  background: var(--whatsapp-deep);
  color: #fff;
}

.lang {
  display: inline-flex;
  border: 1px solid var(--ink);
}
.lang a {
  display: block;
  padding: 0.32rem 0.9rem;
  min-width: 2.75rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.lang a + a {
  border-left: 1px solid var(--ink);
}
.lang a:hover {
  background: var(--paper-deep);
  color: var(--ink);
}
.lang a[aria-current="true"] {
  background: var(--ink);
  color: var(--paper);
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn svg {
  display: block;
}
.menu-btn .bar {
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
}
.menu-btn[aria-expanded="true"] .bar-1 {
  transform: translateY(6px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] .bar-2 {
  opacity: 0;
}
.menu-btn[aria-expanded="true"] .bar-3 {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  position: relative;
  display: block;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.6;
}
.is-scrolled .site-nav a {
  padding-block: 0.45rem;
}
.site-nav li:first-child a {
  padding-left: 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--vermilion);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.is-scrolled .site-nav a::after {
  bottom: 0.15rem;
}
.site-nav li:first-child a::after {
  left: 0;
}
.site-nav a:hover {
  color: var(--ink);
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* About has two pages of its own (Instructor, Testimonials) in a small drop-down */
.site-nav .has-sub {
  position: relative;
}
.site-nav .has-sub > a {
  padding-right: 1.6rem;
}
.site-nav .has-sub > a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.8rem;
  width: 0.36rem;
  height: 0.36rem;
  margin-top: -0.28rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.site-nav .has-sub > a::after {
  right: 1.6rem;
}
.site-nav .has-sub:has([aria-current="page"]) > a::after {
  transform: scaleX(1);
}
.site-nav .sub {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 5;
  display: block;
  min-width: 11rem;
  padding: 0.35rem 0;
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--vermilion);
  box-shadow: var(--shadow-1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.25s var(--ease), visibility 0.2s;
}
.site-nav .has-sub:hover > .sub,
.site-nav .has-sub:focus-within > .sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.site-nav .sub li a,
.is-scrolled .site-nav .sub li a {
  padding: 0.45rem 1rem;
  white-space: nowrap;
}
.site-nav .sub a::after {
  display: none;
}
.site-nav .sub a:hover,
.site-nav .sub a[aria-current="page"] {
  color: var(--vermilion);
}

@media (max-width: 62.5rem) {
  :root {
    --header-h: 4rem;
  }
  .header-tel,
  .header-wa {
    display: none;
  }
  .header-tools {
    gap: 0.75rem;
  }
  .menu-btn {
    display: inline-flex;
  }
  .logo img,
  .is-scrolled .logo img {
    width: 8.5rem;
  }
  .header-top,
  .is-scrolled .header-top {
    padding-block: 0.55rem;
  }
  .js .site-nav {
    display: none;
    max-height: calc(100vh - 4rem);
    max-height: calc(100dvh - 4rem);
    overflow-y: auto;
  }
  .js .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    display: block;
  }
  .site-nav li + li {
    border-top: 1px solid var(--rule);
  }
  .site-nav a,
  .site-nav li:first-child a,
  .is-scrolled .site-nav a {
    padding: 0.8rem 0;
  }
  .site-nav a::after,
  .site-nav li:first-child a::after {
    left: 0;
    right: auto;
    width: 1.5rem;
    bottom: 0.55rem;
  }
  .site-nav .has-sub > a {
    padding-right: 0;
  }
  .site-nav .has-sub > a::before {
    display: none;
  }
  .site-nav .sub {
    position: static;
    min-width: 0;
    padding: 0 0 0.55rem 1rem;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .site-nav .sub li + li {
    border-top: 0;
  }
  .site-nav .sub li a,
  .is-scrolled .site-nav .sub li a {
    padding: 0.35rem 0;
    font-size: 0.85rem;
    color: var(--ink-soft);
  }
}

@media (max-width: 30rem) {
  .header-top {
    gap: 0.75rem;
  }
  .logo img,
  .is-scrolled .logo img {
    width: 7.5rem;
  }
  .header-tools {
    gap: 0.5rem;
  }
  .lang a {
    padding-inline: 0.5rem;
    min-width: 0;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
  }
  .menu-btn {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
}
.hero-media {
  position: relative;
  height: clamp(22rem, 62vh, 33rem);
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 12, 90, 0.34) 0%, rgba(5, 12, 90, 0) 38%, rgba(5, 12, 90, 0.4) 100%);
  pointer-events: none;
}
.px {
  position: absolute;
  inset: -7% 0;
  will-change: transform;
}
.px picture,
.px img {
  display: block;
  width: 100%;
  height: 100%;
}
.px img {
  object-fit: cover;
  object-position: var(--focus, 50% 55%);
}

.seal {
  position: absolute;
  z-index: 2;
  top: 0;
  right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  padding: 1.15rem 0.7rem 1rem;
  background: var(--vermilion);
  color: var(--paper);
  box-shadow: 0 18px 30px -16px rgba(5, 12, 90, 0.55);
}
/* Stacked one character per line rather than with writing-mode: iOS WebKit gives
   vertical text in an absolutely positioned box no width, and the text spills out. */
.seal span {
  display: block;
  width: 1em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1rem, 0.85rem + 0.6vw, 1.3rem);
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  word-break: break-all;
  font-feature-settings: normal;
}
.seal::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.9rem;
  height: 0.9rem;
  background: var(--vermilion);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  margin-top: -11rem;
}
.hero-card {
  position: relative;
  max-width: 37rem;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  background: var(--paper) var(--grain);
  border-top: 4px solid var(--vermilion);
  box-shadow: var(--shadow-2);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  border: 1px solid var(--vermilion);
  z-index: -1;
  pointer-events: none;
}
.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--vermilion);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.eyebrow:lang(ja) {
  letter-spacing: 0.08em;
}
.hero h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
  letter-spacing: 0.005em;
}
.hero h1:lang(ja) {
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.5rem);
}
.tagline {
  margin: 0.8rem 0 0;
  max-width: 28rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

@media (max-width: 53.75rem) {
  .hero-media {
    height: 19rem;
  }
  .hero-inner {
    margin-top: -4rem;
  }
  .hero-card::before {
    inset: 8px -6px -8px 8px;
  }
  .seal {
    padding: 1.1rem 0.65rem 1rem;
  }
}

/* ---------- inner page banner ---------- */

.page-head {
  position: relative;
}
.banner {
  position: relative;
  height: clamp(10.5rem, 21vw, 16rem);
  overflow: hidden;
  background: var(--navy-deep);
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 12, 90, 0.28), rgba(5, 12, 90, 0) 45%, rgba(5, 12, 90, 0.3));
  pointer-events: none;
}
.head-card {
  position: relative;
  max-width: 40rem;
  margin-top: -3.25rem;
  padding: 1.1rem clamp(1.25rem, 3vw, 2rem) 1.4rem;
  background: var(--paper) var(--grain);
  border-top: 4px solid var(--vermilion);
  box-shadow: var(--shadow-2);
}
.head-card::before {
  content: "";
  position: absolute;
  inset: 9px -9px -9px 9px;
  border: 1px solid var(--vermilion);
  z-index: -1;
  pointer-events: none;
}
.head-card h1 {
  margin-top: 0.5rem;
  font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.5rem);
  letter-spacing: 0.005em;
}
.head-card h1:lang(ja) {
  font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.1rem);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--ink-soft);
}
.crumbs li + li::before {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin: 0 0.7rem 0.12em 0.2rem;
  border-top: 1.5px solid var(--vermilion);
  border-right: 1.5px solid var(--vermilion);
  transform: rotate(45deg);
}
.crumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--vermilion);
}
.crumbs [aria-current] {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- sections ---------- */

.section {
  position: relative;
  padding-block: var(--section);
}
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 2 * var(--gutter)), calc(var(--wrap) - 2 * var(--gutter)));
  height: 2px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(90deg, rgba(26, 29, 61, 0.28) 0 16px, transparent 16px 32px);
}
.section.no-rule::before {
  display: none;
}
.after-banner {
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
}

.section-head {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}
.section-head h2 {
  position: relative;
  font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2rem);
  padding-top: 0.85rem;
}
.section-head h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 3px;
  background: var(--vermilion);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 53.75rem) {
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }
}

.lede {
  max-width: 38rem;
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.1rem, 1rem + 0.7vw, 1.4rem);
  line-height: 1.8;
}
.lede:lang(ja) {
  line-height: 1.95;
}

/* ---------- feature cards ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.9rem;
}
.feature {
  position: relative;
  grid-column: span 2;
  padding: 1.25rem 1.25rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--rule);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-1);
  border-color: var(--ink);
}
.feature .ico {
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--navy);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.feature:hover .ico {
  background: var(--navy);
  color: var(--paper);
}
.feature :is(h2, h3) {
  font-size: 1.1rem;
  line-height: 1.5;
}
.feature p {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}
.feature.half {
  grid-column: span 3;
}
.feature.is-lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 3vw, 2.25rem);
  background: var(--navy) var(--asanoha);
  border-color: var(--navy);
  color: var(--paper);
  overflow: hidden;
}
.feature.is-lead:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-2);
}
.feature.is-lead :is(h2, h3) {
  color: var(--paper);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem);
}
.feature.is-lead p {
  color: rgba(247, 243, 234, 0.88);
  font-size: 1rem;
  max-width: 34rem;
}
.feature.is-lead p:lang(ja) {
  max-width: 36rem;
}
.feature.is-lead .lead-text {
  margin: 0;
  max-width: 40rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.05rem, 0.95rem + 0.7vw, 1.35rem);
  line-height: 1.85;
  color: var(--paper);
}
.feature.is-lead .lead-text strong {
  font-weight: 600;
  color: var(--coral);
}
.num-big {
  position: relative;
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.75rem, 2.5rem + 5vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--coral);
  font-feature-settings: normal;
}
.feature .text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.9rem;
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid var(--coral);
  padding-bottom: 0.15rem;
}
.feature .text-link svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}
.feature .text-link:hover {
  color: var(--coral);
}
.feature .text-link:hover svg {
  transform: translateX(4px);
}

@media (max-width: 62.5rem) {
  .feature {
    grid-column: span 3;
  }
}
@media (max-width: 40rem) {
  .features {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .feature,
  .feature.half {
    grid-column: 1 / -1;
  }
  .feature.is-lead {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
}

/* ---------- prose ---------- */

.prose {
  max-width: 41rem;
}
.prose:lang(ja) {
  max-width: 38rem;
}
.prose h3 {
  margin: 1.8em 0 0.6em;
  font-size: 1.1rem;
}
.prose h3:first-child {
  margin-top: 0;
}
.prose p:last-child {
  margin-bottom: 0;
}
.prose a {
  font-weight: 500;
}

.mark {
  color: var(--navy);
  font-weight: 500;
  background: linear-gradient(transparent 62%, rgba(179, 50, 26, 0.16) 62%);
}
.accent {
  color: var(--vermilion);
}

.numlist {
  margin: 0 0 1.25em;
  padding: 0;
  list-style: none;
  counter-reset: n;
}
.numlist li {
  position: relative;
  counter-increment: n;
  margin: 0 0 0.45rem;
  padding: 0.6rem 0.9rem 0.6rem 3.2rem;
  background: var(--card);
  border: 1px solid var(--rule);
}
.numlist li::before {
  content: counter(n);
  position: absolute;
  left: 0.8rem;
  top: 50%;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

/* about: feature rows */

.rows {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}
.row {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}
.row-ico {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: var(--navy) var(--asanoha);
  color: var(--paper);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--rule);
}
.row-ico svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.row .prose {
  max-width: 43rem;
}
@media (max-width: 40rem) {
  .row {
    grid-template-columns: minmax(0, 1fr);
  }
  .row-ico {
    width: 4.25rem;
    height: 4.25rem;
  }
  .row-ico svg {
    width: 1.8rem;
    height: 1.8rem;
  }
}

.statement-band {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4rem);
  background: var(--navy) var(--asanoha);
  color: var(--paper);
  overflow: hidden;
}
.statement-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--coral) 0 16px, transparent 16px 32px);
  opacity: 0.8;
}
.statement-band p {
  position: relative;
  max-width: 52rem;
  margin: 0 auto;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 1rem + 1.5vw, 2.1rem);
  line-height: 1.55;
  text-align: center;
  text-wrap: balance;
}
.statement-band p::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin: 0 auto 1.25rem;
  background: var(--coral);
}

/* ---------- timeline ---------- */

.timeline {
  position: relative;
  max-width: 44rem;
  margin: 0;
  padding: 0 0 0 clamp(1.75rem, 4vw, 2.75rem);
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 0;
  border-left: 2px dashed var(--rule);
}
.timeline li {
  position: relative;
  margin: 0 0 0.85rem;
  padding: 0.95rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--rule);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.timeline li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-1);
}
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(1.75rem, 4vw, 2.75rem) + 0.15rem);
  top: 1.35rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--vermilion);
  box-shadow: 0 0 0 5px var(--paper);
}
.timeline p {
  margin: 0;
}

/* ---------- steps (licence) ---------- */

.steps {
  counter-reset: step;
}
.step {
  counter-increment: step;
}
.step h2 {
  position: relative;
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.8rem);
  padding-top: 0.1rem;
}
.step h2::before {
  content: counter(step, decimal-leading-zero);
  content: counter(step, decimal-leading-zero) / "";
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.8rem, 2rem + 3.5vw, 4.5rem);
  line-height: 0.95;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--vermilion);
  font-feature-settings: normal;
  letter-spacing: 0;
}
.step .prose {
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--vermilion);
  max-width: none;
}

/* ---------- price ---------- */

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checks li {
  position: relative;
  padding: 0.7rem 0 0.7rem 2.25rem;
  border-top: 1px solid var(--rule);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--navy)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7f3ea' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 62% no-repeat;
}
.checks:lang(ja) li::before {
  top: 1rem;
}
@media (max-width: 53.75rem) {
  .checks {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--navy);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-1);
}
.price-card header {
  flex: 1;
  padding: 1.1rem 1.25rem 1rem;
  border-bottom: 1px dashed var(--rule);
}
.price-card .num {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--vermilion);
  font-feature-settings: normal;
}
.price-card .where {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.rates {
  margin: 0;
  padding: 0.25rem 0;
}
.rates > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 1.25rem;
}
.rates > div + div {
  border-top: 1px solid var(--rule);
}
.rates dt {
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.rates dd {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.2;
  font-feature-settings: normal;
}
@media (max-width: 62.5rem) {
  .price-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .price-card header {
    flex: none;
  }
}

.fee-note {
  margin: 1rem 0 0;
  padding-left: 0.9rem;
  border-left: 3px solid var(--vermilion);
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 52rem;
}

.rental-panel {
  position: relative;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--navy) var(--asanoha);
  color: var(--paper);
  overflow: hidden;
}
.rp-title {
  max-width: 36rem;
  margin: 0 0 1rem;
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  line-height: 1.6;
}
.rp-title:lang(ja) {
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.85;
}
.fees {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.fees li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  min-width: 8.5rem;
  padding: 0.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.34);
}
.fees strong {
  color: var(--coral);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-feature-settings: normal;
}
.fees .amt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.2;
  font-feature-settings: normal;
}
.fees-note {
  margin: 0;
  color: rgba(247, 243, 234, 0.9);
}

.notes {
  max-width: 52rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.notes li {
  position: relative;
  margin: 0;
  padding: 0.7rem 0 0.7rem 1.7rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.94rem;
}
.notes li:last-child {
  border-bottom: 1px solid var(--rule);
}
.notes li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.25rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--vermilion);
}

/* ---------- contact ---------- */

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 56rem;
}
.contact-links a {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  background: var(--card);
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.contact-links a:hover {
  background: var(--navy);
  color: var(--paper);
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.contact-links .ico {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--navy);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.contact-links a:hover .ico {
  background: var(--paper);
}
.contact-links .label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--vermilion);
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}
.contact-links a:hover .label {
  color: var(--coral);
}
.contact-links > :last-child {
  grid-column: 1 / -1;
}
.contact-links .value {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1rem, 0.8rem + 0.8vw, 1.35rem);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
@media (max-width: 53.75rem) {
  .contact-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- voices ---------- */

.voices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.voice {
  position: relative;
  padding: 1.35rem 1.4rem 0.9rem;
  background: var(--card);
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.voice:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-1);
}
.voice::before {
  content: "\300C";
  position: absolute;
  top: -0.6rem;
  right: 0.9rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 6rem;
  line-height: 1;
  color: var(--vermilion);
  opacity: 0.12;
  pointer-events: none;
}
.voice h2 {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.1rem 0.9rem 0.1rem 0.7rem;
  border-left: 4px solid var(--vermilion);
  background: var(--paper-deep);
  font-size: 1.15rem;
}
.voice ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.voice li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.97rem;
}
.voice li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.3rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--vermilion);
}
@media (max-width: 53.75rem) {
  .voices {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- interview ---------- */

.interview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.article {
  max-width: 38rem;
}
.article p {
  margin-bottom: 1.15em;
  line-height: 2;
}
.article h2 {
  margin: 2.25em 0 0.8rem;
  padding-top: 0.85rem;
  position: relative;
  font-size: 1.4rem;
}
.article h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 3px;
  background: var(--vermilion);
}
.article h2:first-child {
  margin-top: 0;
}
.pull {
  margin: 1.5rem 0 1.75rem;
  padding: 0.1rem 0 0.1rem 1.1rem;
  border-left: 3px solid var(--vermilion);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.6rem);
  line-height: 1.7;
  color: var(--navy);
}
.byline {
  margin-top: 2rem;
  color: var(--ink-soft);
  text-align: right;
}
.profile {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: 1.4rem 1.25rem 1.25rem;
  background: var(--navy) var(--asanoha);
  color: var(--paper);
}
.profile::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-bottom: 0.9rem;
  background: var(--coral);
}
.profile h2 {
  margin: 0 0 0.6rem;
  color: var(--paper);
  font-size: 1.2rem;
}
.profile p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(247, 243, 234, 0.92);
}
@media (max-width: 62.5rem) {
  .interview {
    grid-template-columns: minmax(0, 1fr);
  }
  .profile {
    position: static;
    order: 2;
  }
}

/* ---------- contact band & footer ---------- */

.contact-band {
  position: relative;
  background: var(--navy) var(--asanoha);
  color: var(--paper);
}
.contact-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--coral) 0 16px, transparent 16px 32px);
  opacity: 0.8;
}
.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2.5rem;
  align-items: center;
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
}
.band-lead {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 1rem + 1.1vw, 1.75rem);
  line-height: 1.5;
}
.band-lead:lang(ja) {
  line-height: 1.8;
}
.band-contact {
  margin: 0;
  text-align: right;
}
.band-contact:lang(ja) {
  line-height: 1.8;
}
.band-contact a {
  display: inline-block;
  margin-top: 0.1rem;
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2rem);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  white-space: nowrap;
}
.band-contact a:hover {
  color: var(--coral);
}
.band-contact .wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.8rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.wa-btn svg {
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
}
.band-contact .wa-btn:hover {
  background: var(--paper);
  color: var(--ink);
}
.contact-band :focus-visible,
.rental-panel :focus-visible,
.profile :focus-visible,
.feature.is-lead :focus-visible,
.statement-band :focus-visible {
  outline-color: var(--paper);
}
@media (max-width: 40rem) {
  .band-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .band-contact {
    text-align: left;
  }
}

.site-footer {
  background: var(--paper-deep) var(--grain);
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: 1.75rem;
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem) 1.25rem;
}
.footer-grid .logo img {
  width: 9rem;
}
.f-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.f-nav > ul {
  columns: 2;
  column-gap: 1.5rem;
}
.f-nav li {
  break-inside: avoid;
}
.f-nav .sub {
  padding-left: 0.9rem;
}
.f-nav .sub a {
  font-weight: 400;
  color: var(--ink-soft);
}
.f-nav a,
.f-contact a {
  display: inline-block;
  padding: 0.15rem 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  line-height: 1.6;
}
.f-nav a:hover,
.f-contact a:hover {
  color: var(--vermilion);
}
.f-contact {
  display: grid;
  gap: 0.2rem;
  align-content: start;
}
.f-contact a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-wrap: anywhere;
}
.f-contact svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  color: var(--vermilion);
}
.f-contact .f-wa svg {
  color: var(--whatsapp-deep);
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 0.9rem 1.1rem;
  background: linear-gradient(var(--rule), var(--rule)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.credit a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.credit a:hover {
  color: var(--vermilion);
  border-color: var(--vermilion);
}
.footer-base p {
  margin: 0;
  line-height: 1.7;
}
@media (max-width: 53.75rem) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
}

.call-bar {
  display: none;
}
@media (max-width: 45rem) {
  .call-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 50;
    display: flex;
    box-shadow: 0 -10px 24px -14px rgba(26, 29, 61, 0.5);
  }
  .call-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3.5rem;
    padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom));
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    text-decoration: none;
  }
  .call-bar svg {
    width: 1.25rem;
    height: 1.25rem;
    flex: none;
  }
  .call-bar span {
    white-space: nowrap;
  }
  .cb-tel {
    flex: 1;
    min-width: 0;
    background: var(--vermilion);
    color: #fff;
  }
  .cb-tel:hover {
    color: #fff;
    background: var(--vermilion-deep);
  }
  .cb-wa {
    flex: none;
    background: var(--whatsapp);
    color: var(--ink);
  }
  .cb-wa:hover {
    color: var(--ink);
    background: #1fb859;
  }
  .call-bar a:focus-visible {
    outline-color: var(--ink);
    outline-offset: -5px;
  }
  body {
    padding-bottom: 3.5rem;
  }
}
/* with the WhatsApp button beside it, the full Japanese label only fits on wider screens */
@media (max-width: 40rem) {
  .call-bar .cb-long {
    display: none;
  }
}
/* on the narrowest phones the WhatsApp button shows its icon only */
@media (max-width: 23.5rem) {
  .call-bar a {
    padding-inline: 0.8rem;
  }
  .cb-wa-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

/* 404 */
.lost {
  display: grid;
  min-height: 50vh;
  place-items: center;
  padding-block: 3rem;
  text-align: center;
}
.lost .big {
  display: block;
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(6rem, 3rem + 14vw, 13rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--vermilion);
}
.lost p {
  margin: 0.5rem 0 0;
  font-family: var(--serif);
  font-size: 1.6rem;
}
.lost .btn-row {
  justify-content: center;
}

/* ---------- motion ---------- */

@keyframes drift {
  from {
    transform: scale(1.09);
  }
  to {
    transform: scale(1);
  }
}
@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .px img {
    animation: drift 16s var(--ease) both;
  }
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s ease, transform 0.8s var(--ease);
  }
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
  .js .reveal.d1 {
    transition-delay: 0.09s;
  }
  .js .reveal.d2 {
    transition-delay: 0.18s;
  }
  .js .reveal.d3 {
    transition-delay: 0.27s;
  }
  .no-reveal .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .lang-swap {
    animation: swap 0.4s var(--ease);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature:hover,
  .price-card:hover,
  .voice:hover,
  .contact-links a:hover,
  .timeline li:hover {
    transform: none;
  }
}

@media print {
  .site-nav,
  .lang,
  .menu-btn,
  .call-bar,
  .skip,
  .seal {
    display: none !important;
  }
  .site-header {
    position: static;
  }
  .contact-band,
  .feature.is-lead,
  .rental-panel,
  .statement-band,
  .profile {
    background: none;
    color: #000;
  }
  .contact-band a,
  .feature.is-lead :is(h2, h3),
  .rp-title {
    color: #000;
  }
}
