/* ==========================================================
   Studia — corporate site
   ========================================================== */

:root {
  --ink: #0A0A0A;
  --ink-2: #111111;
  --ink-3: #191919;
  --paper: #F2F0EB;
  --paper-2: #E8E5DE;
  --white: #FBFAF7;
  --red: #E50012;

  --t1: #121212;
  --t2: #54524D;
  --t3: #8C8982;
  --line: rgba(18, 18, 18, 0.14);
  --line-2: rgba(18, 18, 18, 0.28);

  --on1: #F4F2EE;
  --on2: rgba(244, 242, 238, 0.66);
  --on3: rgba(244, 242, 238, 0.42);
  --line-d: rgba(244, 242, 238, 0.14);
  --line-d2: rgba(244, 242, 238, 0.28);

  --mincho: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif;
  --gothic: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --logo: 'Bebas Neue', 'Noto Sans JP', sans-serif;

  --wrap: 1360px;
  --gutter: clamp(20px, 4.6vw, 72px);
  --header-h: 88px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  font-family: var(--gothic);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--t1);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 1px solid var(--red); outline-offset: 4px; }

h1, h2, h3, h4 { font-weight: 500; word-break: auto-phrase; text-wrap: balance; font-feature-settings: "palt" 1; }
p, li { text-wrap: pretty; }
.lead, .hero-sub, .cta p, .why-item p, .flow-step p, .page-hero p { word-break: auto-phrase; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(880px + var(--gutter) * 2); }

/* ---------- Type parts ---------- */
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--gothic); font-size: 11px; font-weight: 500; line-height: 1.4;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--t1);
  margin-bottom: 24px;
}
.label::before { content: ''; width: 6px; height: 6px; background: var(--red); flex-shrink: 0; }
.on-ink .label, .label-light { color: var(--on1); }

.h2 {
  font-family: var(--gothic); font-weight: 700;
  font-size: clamp(26px, 3vw, 44px); line-height: 1.5; letter-spacing: 0.06em;
  margin-bottom: 28px;
}
.lead { font-size: clamp(15px, 1.15vw, 17px); line-height: 2.1; color: var(--t2); max-width: 520px; }
.on-ink .lead { color: var(--on2); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 36px;
  height: 64px; padding: 0 28px 0 32px; min-width: 240px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.14em; line-height: 1; text-decoration: none;
  transition: color .6s var(--ease), border-color .6s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn::after {
  content: ''; width: 22px; height: 9px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 9' fill='none' stroke='black' stroke-width='1.2'%3E%3Cpath d='M0 4.5h21M17 .8l4 3.7-4 3.7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 9' fill='none' stroke='black' stroke-width='1.2'%3E%3Cpath d='M0 4.5h21M17 .8l4 3.7-4 3.7'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .6s var(--ease);
}
.btn:hover::after { transform: translateX(6px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red::before { background: var(--on1); }
.btn-red:hover { color: var(--ink); }
.btn-line { border: 1px solid var(--line-d2); color: var(--on1); }
.btn-line::before { background: var(--on1); }
.btn-line:hover { color: var(--ink); border-color: var(--on1); }
.btn-ink { background: var(--ink); color: var(--on1); }
.btn-ink::before { background: var(--red); }
.btn-dark-line { border: 1px solid var(--line-2); color: var(--t1); }
.btn-dark-line::before { background: var(--ink); }
.btn-dark-line:hover { color: var(--on1); border-color: var(--ink); }

.btn-circle {
  position: relative; flex-shrink: 0;
  display: grid; place-items: center; text-align: center;
  width: clamp(168px, 13vw, 196px); aspect-ratio: 1; border-radius: 50%;
  background: var(--red); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0.14em; line-height: 1.6;
  padding: 0 14px 10px; white-space: nowrap;
  transition: background-color .6s var(--ease), color .6s var(--ease);
  will-change: transform;
}
.btn-circle::after {
  content: ''; position: absolute; left: 50%; bottom: 22%; width: 22px; height: 9px; margin-left: -11px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 9' fill='none' stroke='black' stroke-width='1.2'%3E%3Cpath d='M0 4.5h21M17 .8l4 3.7-4 3.7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 9' fill='none' stroke='black' stroke-width='1.2'%3E%3Cpath d='M0 4.5h21M17 .8l4 3.7-4 3.7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn-circle::before {
  content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(229, 0, 18, 0.45);
  transition: inset .7s var(--ease), opacity .7s var(--ease);
}
.btn-circle:hover { background: var(--on1); color: var(--ink); }
.btn-circle:hover::before { inset: -26px; opacity: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--on1);
  transition: transform .7s var(--ease), background-color .5s, height .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  height: 72px; background: rgba(10, 10, 10, 0.78); border-bottom-color: var(--line-d);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--logo); font-size: 28px; letter-spacing: 0.14em; line-height: 1; text-decoration: none; color: var(--on1); padding-top: 3px; }
.logo span { color: var(--red); }
.gnav ul { display: flex; align-items: center; gap: 44px; }
.gnav a { position: relative; text-decoration: none; font-size: 13px; letter-spacing: 0.14em; color: var(--on2); transition: color .4s; }
.gnav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.gnav a:not(.nav-cta):hover, .gnav a.active { color: var(--on1); }
.gnav a:not(.nav-cta):hover::after, .gnav a.active::after { transform: scaleX(1); transform-origin: left; }
.gnav .nav-cta {
  display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 22px;
  border: 1px solid var(--line-d2); color: var(--on1); transition: background-color .5s var(--ease), border-color .5s var(--ease);
}
.gnav .nav-cta::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); transition: background-color .5s; }
.gnav .nav-cta:hover { background: var(--red); border-color: var(--red); }
.gnav .nav-cta:hover::before { background: #fff; }
.menu-btn { display: none; width: 48px; height: 48px; position: relative; z-index: 2; margin-right: -12px; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--on1); transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn span:nth-child(1) { top: 20px; }
.menu-btn span:nth-child(2) { top: 28px; }
.menu-open .menu-btn span:nth-child(1) { top: 24px; transform: rotate(30deg); }
.menu-open .menu-btn span:nth-child(2) { top: 24px; transform: rotate(-30deg); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 7.5vw, 120px) 0; }
.on-ink { background: var(--ink); color: var(--on1); }
.on-paper { background: var(--paper); }
.on-paper-2 { background: var(--paper-2); }
.on-white { background: var(--white); }

.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(40px, 4.5vw, 64px); }
.sec-head .h2 { margin-bottom: 0; }
.sec-head .lead { justify-self: end; }

/* ---------- Ridge canvas ---------- */
.ridge { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 680px; max-height: 1100px;
  background: var(--ink); color: var(--on1); overflow: hidden;
}
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.55) 34%, rgba(10,10,10,0) 62%),
    linear-gradient(0deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0) 38%);
}
.hero-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: var(--header-h); padding-bottom: clamp(40px, 5vw, 64px); }
.hero-tag { margin-bottom: clamp(28px, 3vw, 44px); }
.hero-title {
  font-family: var(--mincho); font-weight: 500; line-height: 1.16; letter-spacing: 0.02em;
  font-size: clamp(54px, 9.2vw, 152px);
  margin-bottom: clamp(40px, 4.4vw, 72px);
}
.hero-title .ln { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero-title .ln > span { display: inline-block; }
.hero-title .ln-sub { font-size: 0.32em; letter-spacing: 0.08em; color: var(--on2); margin-bottom: 0.55em; }
.hero-title br { display: none; }
.hero-title em .ln:first-child { letter-spacing: -0.045em; margin-left: -0.03em; }
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end;
  padding-top: 32px; border-top: 1px solid var(--line-d);
}
.hero-sub { font-size: 14px; line-height: 2.1; color: var(--on2); max-width: 460px; }
.hero-btns { display: flex; gap: 12px; }
.hero-scroll { position: absolute; right: var(--gutter); top: 50%; width: 1px; height: 96px; background: var(--line-d); overflow: hidden; }
.hero-scroll span { position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--on1); animation: scrollLine 2.4s var(--ease-io) infinite; }

/* hero intro */
.js .hero-title .ln > span { transform: translateY(105%); }
.js .is-loaded .hero-title .ln > span { transform: none; transition: transform 1.4s var(--ease); }
.js .is-loaded .hero-title .ln:nth-of-type(1) > span { transition-delay: .15s; }
.js .is-loaded .hero-title em .ln:nth-of-type(1) > span { transition-delay: .28s; }
.js .is-loaded .hero-title em .ln:nth-of-type(2) > span { transition-delay: .4s; }
.js .hero .ridge { opacity: 0; transition: opacity 2.4s ease .2s; }
.js .is-loaded .hero .ridge { opacity: 1; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--on1); border-top: 1px solid var(--line-d); overflow: hidden; padding: clamp(16px, 1.8vw, 24px) 0; }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(36px, 4.2vw, 64px); line-height: 1.1; letter-spacing: -0.01em; white-space: nowrap; padding: 0 0.42em; }
.marquee span:nth-of-type(even) { color: var(--on3); }
.marquee i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
.why-left { grid-column: 1 / span 5; }
.why-sticky { position: sticky; top: 140px; }
.why-list { grid-column: 7 / -1; counter-reset: why; border-bottom: 1px solid var(--line); }
.why-item {
  position: relative; counter-increment: why;
  display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 8px;
  padding: clamp(28px, 2.8vw, 40px) 0; border-top: 1px solid var(--line);
}
.why-item::before {
  content: counter(why, decimal-leading-zero); grid-row: span 2;
  font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--t3); letter-spacing: 0;
  transition: color .6s var(--ease);
}
.why-item::after {
  content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .9s var(--ease);
}
.why-item:hover::before { color: var(--red); }
.why-item:hover::after { transform: scaleX(1); transform-origin: left; }
.why-item h4 { font-weight: 700; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.6; letter-spacing: 0.06em; margin-bottom: 16px; }
.why-item p { color: var(--t2); line-height: 2.1; max-width: 560px; }

/* ---------- Stats ---------- */
.stats { padding: clamp(72px, 7vw, 112px) 0; overflow: hidden; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.stat { position: relative; padding: clamp(36px, 3.6vw, 56px) clamp(16px, 2.6vw, 44px) clamp(32px, 3.2vw, 48px); }
.stat + .stat { border-left: 1px solid var(--line-d); }
.stat .big {
  font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 7.4vw, 124px); line-height: 0.9; letter-spacing: -0.02em;
  white-space: nowrap; margin-bottom: clamp(20px, 2.2vw, 32px); font-variant-numeric: tabular-nums lining-nums;
}
.stat .big small { font-family: var(--gothic); font-size: 0.24em; font-weight: 500; letter-spacing: 0; margin: 0 0.18em 0 0.1em; color: var(--on2); }
.stat-label { display: flex; gap: 14px; font-size: 13px; line-height: 1.8; letter-spacing: 0.12em; color: var(--on2); }
.stat-label::before { content: ''; width: 6px; height: 6px; margin-top: 0.75em; background: var(--red); flex-shrink: 0; }
.stat-note { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 64px; font-size: 11px; line-height: 2; letter-spacing: 0.04em; color: var(--on3); }
.stat-note span { display: block; padding-left: 1em; text-indent: -1em; }

/* ---------- Flow ---------- */
.flow-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow-steps::before, .flow-steps::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; }
.flow-steps::before { background: var(--line-2); }
.flow-steps::after { background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease) .2s; }
.flow-steps.is-in::after { transform: scaleX(1); }
.flow-step { position: relative; padding: 36px 36px 0 0; }
.flow-step::before { content: ''; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--t1); }
.step-num { font-family: var(--serif); font-size: clamp(48px, 4.2vw, 64px); line-height: 1; letter-spacing: -0.01em; margin-bottom: 24px; }
.flow-step h3 { font-weight: 700; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; letter-spacing: 0.08em; margin-bottom: 14px; }
.flow-step p { font-size: 14px; color: var(--t2); line-height: 2.05; }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--ink); color: var(--on1); overflow: hidden; padding: clamp(80px, 8vw, 128px) 0; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 56px; }
.cta h2 { font-family: var(--mincho); font-weight: 500; font-size: clamp(30px, 4vw, 60px); line-height: 1.4; letter-spacing: 0.05em; margin-bottom: 20px; }
.cta p { color: var(--on2); font-size: clamp(14px, 1.15vw, 16px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on1); border-top: 1px solid var(--line-d); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; padding: clamp(56px, 5.5vw, 80px) 0 clamp(48px, 5vw, 72px); }
.footer-brand { grid-column: 1 / span 4; grid-row: 1; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--on2); }
.footer-links { grid-column: 6 / -1; grid-row: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-col h4 { font-size: 11px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--on3); margin-bottom: 24px; }
.footer-col ul { display: grid; gap: 14px; }
.footer-col a { position: relative; font-size: 13px; color: var(--on2); text-decoration: none; transition: color .4s; }
.footer-col a:hover { color: var(--on1); }
.footer-logo { font-family: var(--logo); font-size: clamp(44px, 4.2vw, 60px); line-height: 1; letter-spacing: 0.12em; color: var(--on1); margin-bottom: 14px; }
.footer-logo span { color: var(--red); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 32px;
  padding: 28px 0 32px; border-top: 1px solid var(--line-d); font-size: 11px; line-height: 1.8; letter-spacing: 0.08em; color: var(--on3);
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero { position: relative; background: var(--ink); color: var(--on1); overflow: hidden; padding: calc(var(--header-h) + clamp(32px, 4vw, 56px)) 0 clamp(36px, 3.6vw, 52px); }
.page-hero .ridge { opacity: .7; }
.page-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.45) 38%, rgba(10,10,10,0) 68%), linear-gradient(0deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0) 48%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: start; }
.page-hero .section-label {
  grid-column: 1 / -1;
  font-family: var(--serif); font-style: italic; font-size: clamp(52px, 7vw, 108px); line-height: 0.95; letter-spacing: -0.015em;
  color: var(--on1); margin-bottom: clamp(12px, 1.6vw, 24px);
}
.page-hero h1 { font-weight: 700; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.6; letter-spacing: 0.08em; padding-top: 22px; border-top: 1px solid var(--line-d); }
.page-hero p { font-size: 15px; line-height: 2; color: var(--on2); padding-top: 22px; border-top: 1px solid var(--line-d); }
.hero-facts { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-fact { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 1px solid var(--line-d2); font-size: 12px; letter-spacing: 0.1em; color: var(--on1); }
.hero-fact strong { font-weight: 500; }

/* ---------- Document pages ---------- */
.doc { padding: clamp(64px, 7vw, 104px) 0; }
.content { max-width: 880px; margin: 0 auto; }
.content > h2 { font-weight: 700; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; letter-spacing: 0.06em; margin: 52px 0 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.content > h2:first-child { margin-top: 0; }
.content p { color: var(--t2); line-height: 2.1; margin-bottom: 14px; }
.content ul { display: grid; gap: 10px; margin: 8px 0 20px; }
.content ul li { position: relative; padding-left: 24px; color: var(--t2); line-height: 2; }
.content ul li::before { content: ''; position: absolute; left: 2px; top: 1em; width: 10px; height: 1px; background: var(--red); }
.content strong { font-weight: 700; color: var(--t1); }
.content a { color: var(--t1); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.updated { margin-top: 80px !important; padding-top: 28px; border-top: 1px solid var(--line); font-size: 12px; color: var(--t3) !important; }
.legal-table { border-top: 1px solid var(--line-2); }
.legal-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.legal-row .key { font-weight: 700; font-size: 14px; line-height: 1.8; letter-spacing: 0.06em; }
.legal-row .val { color: var(--t2); line-height: 2; word-break: break-word; }
.legal-row .val ul { margin: 6px 0; }
.legal-row .val .note { display: block; font-size: 13px; color: var(--t3); margin-top: 10px; line-height: 2; }
.legal-note { margin-top: 48px; padding: 28px 32px; border-left: 2px solid var(--red); background: var(--paper-2); }
.legal-note p { margin: 0; color: var(--t1); }


/* ==========================================================
   下層ページの部品
   ========================================================== */

/* ---------- text link / media ---------- */
.tlink, .plan-legal-link {
  display: inline-flex; align-items: center; gap: 16px; padding-bottom: 8px;
  font-size: 13px; letter-spacing: 0.12em; text-decoration: none; border-bottom: 1px solid currentColor;
  transition: gap .5s var(--ease), color .4s;
}
.tlink::after, .plan-legal-link::after {
  content: ''; width: 22px; height: 9px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 9' fill='none' stroke='black' stroke-width='1.2'%3E%3Cpath d='M0 4.5h21M17 .8l4 3.7-4 3.7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 9' fill='none' stroke='black' stroke-width='1.2'%3E%3Cpath d='M0 4.5h21M17 .8l4 3.7-4 3.7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tlink:hover, .plan-legal-link:hover { gap: 24px; }
.inline-links a, .cflow-body a, .cflow-foot a, .lead a, .ask-note a, .note-box a, .booking-fallback a, .faq-a a {
  color: inherit; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 5px;
  transition: color .3s;
}
.cflow-body a:hover, .cflow-foot a:hover, .ask-note a:hover, .note-box a:hover, .booking-fallback a:hover, .faq-a a:hover { color: var(--red); }

.media { position: relative; overflow: hidden; background: var(--ink-3); }
.media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 2.4s var(--ease); }
.js .rv .media { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--ease); }
.js .rv.is-in .media { clip-path: inset(0 0 0 0); }
.rv.is-in .media img, html:not(.js) .media img { transform: scale(1); }
.media:hover img { transform: scale(1.05); transition-duration: 1.6s; }

/* ---------- Service ---------- */
.svc { padding: clamp(56px, 6vw, 96px) 0; background: var(--paper); }
.svc + .svc .svc-inner { border-top: 1px solid var(--line); padding-top: clamp(56px, 6vw, 96px); }
.svc + .svc { padding-top: 0; }
.svc-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: center; }
.svc-text { grid-column: 1 / span 6; grid-row: 1; }
.svc-visual { grid-column: 8 / -1; grid-row: 1; }
.svc.reverse .svc-text { grid-column: 7 / -1; }
.svc.reverse .svc-visual { grid-column: 1 / span 5; }
.svc-head { display: flex; align-items: flex-end; gap: 20px; margin-bottom: clamp(20px, 2vw, 28px); }
.service-num-big { font-family: var(--serif); font-size: clamp(56px, 5.4vw, 88px); line-height: 0.8; letter-spacing: -0.02em; }
.service-tag { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.1; letter-spacing: 0; color: var(--t2); padding-bottom: 0.05em; }
.svc h3 { font-weight: 700; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.5; letter-spacing: 0.06em; margin-bottom: 20px; }
.svc h3 br { display: none; }
.svc-text > p { color: var(--t2); line-height: 2; margin-bottom: 10px; }
.service-features { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.service-features li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; line-height: 1.7; }
.service-features li:nth-child(-n+2) { border-top: 1px solid var(--line-2); }
.service-features li::before { content: ''; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--red); }
.svc-visual .media { aspect-ratio: 1 / 0.94; max-height: 62vh; }
.service-visual-label { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 11px; font-weight: 500; letter-spacing: 0.26em; color: var(--t2); }
.service-visual-label::before { content: ''; width: 28px; height: 1px; background: var(--red); }

/* ---------- Plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-d2); border-bottom: 1px solid var(--line-d); }
.plan-card { position: relative; padding: clamp(32px, 3vw, 44px) clamp(24px, 2.8vw, 44px) clamp(28px, 2.8vw, 40px); }
.plan-card + .plan-card { border-left: 1px solid var(--line-d); }
.plan-card.featured { background: var(--ink-3); }
.plan-card.featured::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--red); }
.plan-name { font-family: var(--serif); font-style: italic; font-size: clamp(36px, 3.2vw, 48px); line-height: 1; letter-spacing: 0; text-transform: lowercase; margin-bottom: 14px; }
.plan-name::first-letter { text-transform: uppercase; }
.plan-jp { font-size: 13px; letter-spacing: 0.14em; color: var(--on2); margin-bottom: clamp(22px, 2.2vw, 30px); }
.plan-price { font-family: var(--serif); font-size: clamp(48px, 4.2vw, 64px); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: lining-nums; white-space: nowrap; }
.plan-price small { font-family: var(--gothic); font-size: 12px; letter-spacing: 0.1em; color: var(--on2); margin-left: 10px; }
.plan-term { margin-top: 18px; font-size: 13px; letter-spacing: 0.1em; color: var(--on2); }
.plan-limit { position: absolute; top: clamp(32px, 3vw, 44px); right: clamp(24px, 2.8vw, 44px); display: inline-flex; align-items: center; gap: 10px; height: 30px; padding: 0 14px; border: 1px solid var(--red); font-size: 12px; letter-spacing: 0.14em; }
.plan-limit::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.plan-spec { margin-top: clamp(22px, 2.2vw, 30px); border-top: 1px solid var(--line-d); }
.plan-spec-item { padding: 16px 0; border-bottom: 1px solid var(--line-d); }
.plan-spec-item:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-label { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; color: var(--on3); margin-bottom: 10px; }
.spec-val { font-size: 14px; line-height: 2; }
.plan-cta { margin-top: clamp(40px, 4vw, 56px); display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.plan-cta-note { font-size: 13px; color: var(--on2); max-width: 520px; line-height: 2; word-break: auto-phrase; }
.plan-notes { margin-top: clamp(40px, 4.5vw, 64px); padding-top: 32px; border-top: 1px solid var(--line-d); }
.plan-notes ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 64px; margin-bottom: 40px; }
.plan-notes li { position: relative; padding-left: 20px; font-size: 12px; line-height: 2; color: var(--on3); }
.plan-notes li::before { content: ''; position: absolute; left: 0; top: 1em; width: 8px; height: 1px; background: var(--red); }

/* ---------- Consulting flow ---------- */
.cflow-list { border-top: 1px solid var(--line-2); }
.cflow-item { display: grid; grid-template-columns: clamp(72px, 9vw, 132px) minmax(0, 1fr); padding: clamp(22px, 2.2vw, 30px) 0; border-bottom: 1px solid var(--line); transition: background-color .5s; }
.cflow-num { font-family: var(--serif); font-size: clamp(34px, 3vw, 44px); line-height: 1; }
.cflow-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px 48px; align-items: start; }
.cflow-body h4 { grid-column: 1; font-weight: 700; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; letter-spacing: 0.06em; padding-top: 0.3em; }
.cflow-body p { grid-column: 2; grid-row: 1 / span 2; color: var(--t2); line-height: 2.1; }
.cflow-meta { grid-column: 1; justify-self: start; padding: 3px 12px; border: 1px solid var(--line-2); font-size: 11px; letter-spacing: 0.12em; color: var(--t2); line-height: 1.8; }
.cflow-foot { margin-top: 40px; font-size: 13px; color: var(--t2); line-height: 2.1; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
.about-text { grid-column: 1 / span 5; position: sticky; top: 140px; }
.about-text p { color: var(--t2); line-height: 2.2; margin-bottom: 18px; }
.company-table { grid-column: 7 / -1; border-top: 1px solid var(--line-2); }
.company-row { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.company-row .key { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; line-height: 2; }
.company-row .val { line-height: 2; word-break: break-word; }
.company-row .val .sub { font-size: 12px; color: var(--t3); }

.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: start; margin-top: clamp(28px, 3vw, 44px); }
.contact-info { grid-column: 1 / span 5; }
.contact-info h3 { font-weight: 700; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.6; letter-spacing: 0.06em; margin-bottom: 20px; }
.contact-info p { color: var(--on2); line-height: 2.2; }
.contact-info p a { color: var(--on1); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; }
.contact-items { margin-top: 44px; border-top: 1px solid var(--line-d2); }
.contact-item { position: relative; padding: 18px 0 18px 28px; border-bottom: 1px solid var(--line-d); font-size: 14px; }
.contact-item::before { content: ''; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--red); }
.contact-form-col { grid-column: 7 / -1; }
.contact-form { position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.form-group { margin-bottom: 28px; }
.form-group label { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; color: var(--on2); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; font: inherit; font-size: 16px; letter-spacing: 0.04em; color: var(--on1); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-d2); border-radius: 0; padding: 14px 0; line-height: 1.7;
  -webkit-appearance: none; appearance: none; transition: border-color .4s;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8' fill='none' stroke='%23F4F2EE' stroke-width='1.2'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; background-size: 14px; padding-right: 32px; cursor: pointer;
}
.form-group select option { color: #121212; background: #fff; }
.form-group textarea { min-height: 148px; resize: vertical; display: block; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--on3); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-bottom-color: var(--red); }
.btn-submit {
  position: relative; isolation: isolate; overflow: hidden; width: 100%; height: 72px; padding: 0 28px 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--red); color: #fff; font-size: 15px; font-weight: 500; letter-spacing: 0.16em;
  transition: color .6s var(--ease);
}
.btn-submit::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--on1); transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); }
.btn-submit::after {
  content: ''; width: 22px; height: 9px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 9' fill='none' stroke='black' stroke-width='1.2'%3E%3Cpath d='M0 4.5h21M17 .8l4 3.7-4 3.7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 9' fill='none' stroke='black' stroke-width='1.2'%3E%3Cpath d='M0 4.5h21M17 .8l4 3.7-4 3.7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn-submit:hover { color: var(--ink); }
.btn-submit:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-submit:disabled { opacity: .6; cursor: default; }
.form-success { display: none; border: 1px solid var(--line-d2); padding: clamp(40px, 5vw, 72px); }
.form-success h4 { font-weight: 700; font-size: 22px; letter-spacing: 0.06em; margin-bottom: 14px; }
.form-success h4::before { content: ''; display: block; width: 28px; height: 1px; background: var(--red); margin-bottom: 28px; }
.form-success p { color: var(--on2); }

/* ---------- Apply ---------- */
.booking-wrap { margin-top: clamp(32px, 3.2vw, 44px); background: #fff; border: 1px solid var(--line-2); min-height: 320px; }
.booking-wrap iframe { display: block; width: 100%; height: 760px; border: 0; }
.booking-placeholder, .booking-cta { padding: 72px 32px; text-align: center; }
.booking-placeholder h4, .booking-cta h4 { font-weight: 700; font-size: 20px; margin-bottom: 12px; }
.booking-placeholder p, .booking-cta p { color: var(--t2); }
.booking-placeholder code { background: var(--paper); padding: 2px 6px; font-size: 13px; }
.booking-cta .kicker { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.booking-cta .meta { display: flex; justify-content: center; gap: 8px; margin: 20px 0 28px; }
.booking-cta .meta span { padding: 3px 12px; border: 1px solid var(--line-2); font-size: 12px; }
.booking-cta a { display: inline-flex; align-items: center; height: 60px; padding: 0 36px; background: var(--red); color: #fff; text-decoration: none; letter-spacing: 0.12em; }
.booking-fallback { margin-top: 28px; font-size: 13px; color: var(--t2); line-height: 2.1; max-width: 760px; }

.ask-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
.ask-head { grid-column: 1 / span 5; position: sticky; top: 140px; }
.ask-body { grid-column: 7 / -1; }
.ask-list { border-top: 1px solid var(--line-2); }
.ask-list li { position: relative; padding: 15px 0 15px 28px; border-bottom: 1px solid var(--line); font-weight: 500; line-height: 1.8; }
.ask-list li::before { content: ''; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--red); }
.ask-note { margin-top: 28px; font-size: 13px; color: var(--t2); line-height: 2.1; }

.step-list { margin-top: clamp(32px, 3.2vw, 48px); border-top: 1px solid var(--line-d2); }
.step-row { display: grid; grid-template-columns: clamp(72px, 9vw, 132px) minmax(0, 1fr); padding: clamp(24px, 2.4vw, 34px) 0; border-bottom: 1px solid var(--line-d); }
.step-n { font-family: var(--serif); font-size: clamp(34px, 3vw, 44px); line-height: 1; }
.step-row > div:last-child { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px 48px; align-items: start; }
.step-row h3 { font-weight: 700; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; letter-spacing: 0.06em; padding-top: 0.3em; }
.step-row p { color: var(--on2); line-height: 2.1; }
.step-row a { color: var(--on1); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; }

.note-box { border-top: 1px solid var(--line-2); }
.note-box li { position: relative; padding: 17px 0 17px 28px; border-bottom: 1px solid var(--line); color: var(--t2); line-height: 2.1; }
.note-box li::before { content: ''; position: absolute; left: 0; top: calc(17px + 1.05em); width: 10px; height: 1px; background: var(--red); }
.legal-links { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; }
.legal-links a {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 20px; height: 52px; padding: 0 20px 0 22px; border: 1px solid var(--line-2);
  font-size: 13px; letter-spacing: 0.1em; text-decoration: none; transition: color .5s var(--ease), border-color .5s;
}
.legal-links a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.legal-links a::after {
  content: ''; width: 18px; height: 9px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 9' fill='none' stroke='black' stroke-width='1.2'%3E%3Cpath d='M0 4.5h21M17 .8l4 3.7-4 3.7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 9' fill='none' stroke='black' stroke-width='1.2'%3E%3Cpath d='M0 4.5h21M17 .8l4 3.7-4 3.7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.legal-links a:hover { color: var(--on1); border-color: var(--ink); }
.legal-links a:hover::before { transform: scaleX(1); transform-origin: left; }

/* ---------- FAQ ---------- */
.faq-layout { max-width: 960px; margin: 0 auto; }
.faq-cat { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); letter-spacing: 0.08em; margin-top: clamp(48px, 5vw, 72px); padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.faq-cat::before { content: ''; width: 6px; height: 6px; background: var(--red); }
.faq-cat:first-child { margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { list-style: none; cursor: pointer; display: block; position: relative; padding: 21px 48px 21px 56px; font-weight: 500; font-size: 16px; line-height: 1.8; transition: color .3s; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--red); }
.faq-q .mark { position: absolute; left: 0; top: 20px; font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--red); letter-spacing: 0; }
.faq-q::after {
  content: ''; position: absolute; right: 4px; top: 50%; margin-top: -10px; width: 20px; height: 20px; color: var(--t1);
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  transition: transform .6s var(--ease);
}
.faq-item[open] .faq-q::after { transform: rotate(135deg); }
.faq-a { padding: 0 56px 28px 56px; color: var(--t2); line-height: 2.15; }
.faq-item[open] .faq-a { animation: faqIn .7s var(--ease); }
.faq-layout .updated { text-align: right; border-top: 0; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .svc-text, .svc.reverse .svc-text, .svc-visual, .svc.reverse .svc-visual { grid-column: 1 / -1; grid-row: auto; }
  .svc-visual { order: -1; margin-bottom: 36px; }
  .svc-visual .media { aspect-ratio: 16 / 11; max-height: none; }
  .plan-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .plan-card { padding-left: 0; padding-right: 0; border-bottom: 1px solid var(--line-d); }
  .plan-card + .plan-card { border-left: 0; }
  .plan-card.featured { margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .plan-limit { right: 0; }
  .plan-notes ul { grid-template-columns: 1fr; }
  .cflow-body, .step-row > div:last-child { grid-template-columns: 1fr; gap: 12px; }
  .cflow-body h4, .cflow-body p, .cflow-meta { grid-column: 1; grid-row: auto; }
  .about-text, .company-table, .contact-info, .contact-form-col, .ask-head, .ask-body { grid-column: 1 / -1; position: static; }
  .company-table, .contact-form-col, .ask-body { margin-top: 36px; }
}
@media (max-width: 640px) {
  .svc-head { gap: 16px; }
  .service-features { grid-template-columns: 1fr; }
  .service-features li:nth-child(2) { border-top: 0; }
  .company-row { grid-template-columns: 1fr; gap: 2px; padding: 22px 0; }
  .form-row { grid-template-columns: 1fr; }
  .cflow-item, .step-row { grid-template-columns: 56px minmax(0, 1fr); }
  .faq-q { padding: 22px 36px 22px 44px; font-size: 15px; }
  .faq-q .mark { font-size: 24px; top: 23px; }
  .faq-q::after { width: 16px; height: 16px; margin-top: -8px; right: 2px; }
  .faq-a { padding: 0 0 28px 44px; }
  .booking-wrap iframe { height: 900px; }
  .legal-links a { width: 100%; justify-content: space-between; }
}

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(32px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-track { opacity: 1; transform: none; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .hero-title .ln > span { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .gnav ul { gap: 30px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .site-header.is-scrolled { height: 64px; }
  .menu-btn { display: block; }
  .logo { position: relative; z-index: 2; }
  .gnav {
    position: fixed; inset: 0; z-index: 1; background: var(--ink);
    display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter);
    clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease);
  }
  .menu-open .gnav { clip-path: inset(0 0 0 0); }
  .menu-open { overflow: hidden; }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line-d); }
  .gnav li { border-bottom: 1px solid var(--line-d); }
  .gnav a { display: block; padding: 22px 0; font-weight: 500; font-size: 20px; color: var(--on1); letter-spacing: 0.1em; }
  .gnav a:not(.nav-cta)::after { display: none; }
  .gnav li:last-child { border-bottom: 0; padding-top: 32px; }
  .gnav .nav-cta { display: flex; justify-content: center; height: 64px; font-size: 15px; background: var(--red); border-color: var(--red); }
  .gnav .nav-cta::before { background: #fff; }

  .hero { height: auto; min-height: 100svh; max-height: none; }
  .hero-shade { background: linear-gradient(0deg, rgba(10,10,10,0.96) 0%, rgba(10,10,10,0.7) 45%, rgba(10,10,10,0.15) 100%); }
  .hero-inner { min-height: 100svh; }
  .hero-foot { grid-template-columns: 1fr; gap: 28px; }
  .hero-scroll { display: none; }

  .sec-head { grid-template-columns: 1fr; gap: 28px; }
  .sec-head .lead { justify-self: start; }

  .why-left, .why-list { grid-column: 1 / -1; }
  .why-sticky { position: static; margin-bottom: 36px; }
  .why-item { grid-template-columns: 64px minmax(0, 1fr); }
  .why-item::before { font-size: 34px; }

  .stat-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line-d); }
  .stat { padding: 44px 0 40px; }
  .stat-note { grid-template-columns: 1fr; }

  .flow-steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .flow-steps::before, .flow-steps::after { display: none; }
  .flow-step { border-top: 1px solid var(--line-2); padding-right: 24px; }

  .cta-inner { flex-direction: column; align-items: flex-start; gap: 56px; }

  .footer-brand, .footer-links { grid-column: 1 / -1; }
  .footer-links { grid-row: 2; margin-top: 44px; }

  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero::after { background: linear-gradient(0deg, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.8) 55%, rgba(10,10,10,0.25) 100%); }
  .hero-facts { grid-column: 1; }
  .legal-row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .hero-title { font-size: clamp(46px, 14.4vw, 64px); }
  .hero-btns { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
  .flow-steps { grid-template-columns: 1fr; row-gap: 0; }
  .flow-step { padding: 36px 0 44px; }
  .step-num { margin-bottom: 20px; }
  .footer-links { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .footer-col:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .marquee span { font-size: 40px; }
}
