/* =========================================================
   まなび映像製作所 — 2026
   ========================================================= */

:root {
  --bg: #09090b;
  --bg-2: #0e0e11;
  --surface: #131317;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #f2efe8;
  --muted: #9c988f;
  --muted-2: #6f6c66;
  --accent: #e04a2f;
  --accent-2: #f07a5c;
  --accent-soft: rgba(224, 74, 47, 0.12);
  --max: 1160px;
  --r: 14px;
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", "Songti SC", serif;
  --sans: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 背景の光 */
body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 70vh;
  background:
    radial-gradient(60% 60% at 78% 10%, rgba(224, 74, 47, 0.10), transparent 70%),
    radial-gradient(50% 50% at 20% 0%, rgba(120, 130, 255, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.header.is-scrolled {
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.header .wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13.5px;
  color: var(--muted);
}

.nav a { transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.nav .btn { color: #fff; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 30px -12px rgba(224, 74, 47, 0.65);
}

.btn:hover { transform: translateY(-2px); background: #ef5638; }

.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--text);
  box-shadow: none;
  font-weight: 600;
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.3); }

.btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 13px;
  box-shadow: none;
}

.btn--block { width: 100%; }

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

.hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(36px, 4.9vw, 56px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-2);
  position: relative;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.04em;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(224, 74, 47, 0.15));
}

.lead {
  max-width: 33em;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-meta div {
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}

.hero-meta div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

.hero-meta dt {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.hero-meta dd {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.02em;
}

/* スマホ枠 */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 12% 4% 12%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(224, 74, 47, 0.22), transparent 72%);
  filter: blur(40px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(100%, 320px);
  aspect-ratio: 9 / 16;
  padding: 9px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, #202027, #0c0c0f 60%);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.phone video,
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  background: #000;
}

.phone-badge {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  z-index: 2;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(10px);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- ticker ---------- */

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 14px 26px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
  white-space: nowrap;
}

.ticker-track span::after {
  content: "／";
  color: var(--accent);
  opacity: 0.7;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

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

.section { padding: 104px 0; position: relative; }
.section--soft { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-head { margin-bottom: 52px; }
.sec-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(27px, 3.6vw, 42px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.sec-head .lead { margin-top: 16px; font-size: 15px; }
.sec-head--split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
}
.sec-head--split .lead { margin-top: 0; }

/* ---------- problems ---------- */

.problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.problem {
  background: var(--bg);
  padding: 34px 30px 38px;
}

.problem .num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.problem h3 {
  margin: 0 0 12px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.6;
}

.problem p { color: var(--muted); font-size: 14px; line-height: 1.95; }

.pullquote {
  margin-top: 56px;
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(19px, 2.4vw, 27px);
  line-height: 1.9;
  color: var(--text);
}

.pullquote span { color: var(--accent-2); }

/* ---------- works ---------- */

.work-feature { margin: 0 0 56px; }

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}

.player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-btn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55));
  cursor: pointer;
  transition: opacity 0.3s;
}

.player-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(9, 9, 11, 0.35);
  backdrop-filter: blur(6px);
  transition: transform 0.25s, background 0.25s;
}

.player-icon::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-left: 18px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

.player-btn:hover .player-icon { transform: scale(1.06); background: rgba(224, 74, 47, 0.55); }

.player-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.9);
}

.player.is-playing .player-btn { opacity: 0; pointer-events: none; }

.work-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 18px;
}

.work-caption h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.work-caption .meta {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.verticals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.vertical-item { display: flex; flex-direction: column; align-items: center; }
.vertical-item .phone { width: min(100%, 260px); }
.vertical-item h3 { margin: 30px 0 6px; font-size: 16px; font-weight: 700; }
.vertical-item p { color: var(--muted); font-size: 13.5px; text-align: center; max-width: 26em; line-height: 1.9; }
.vertical-item .tag {
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent-2);
}

.note {
  margin-top: 34px;
  font-size: 12.5px;
  color: var(--muted-2);
  line-height: 1.9;
}

/* ---------- blueprint ---------- */

.blueprint {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.beat {
  position: relative;
  padding: 34px 26px 10px 0;
}

.beat::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(224, 74, 47, 0.14);
}

.beat .time {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent-2);
}

.beat h3 { margin: 10px 0 10px; font-size: 16px; font-weight: 700; }
.beat p { color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.beat + .beat { padding-left: 26px; border-left: 1px solid var(--line); }

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

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0));
}

.plan--main {
  border-color: rgba(224, 74, 47, 0.42);
  background: linear-gradient(180deg, rgba(224, 74, 47, 0.09), rgba(224, 74, 47, 0.01));
  box-shadow: 0 30px 60px -40px rgba(224, 74, 47, 0.5);
}

.plan .tag {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.plan--main .tag { border-color: rgba(224, 74, 47, 0.5); color: var(--accent-2); }

.plan h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; }
.plan .len { font-family: var(--serif); font-size: 12.5px; color: var(--muted); letter-spacing: 0.08em; }
.plan .price {
  margin: 18px 0 4px;
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.plan .price small { font-size: 13px; font-family: var(--sans); color: var(--muted); margin-left: 6px; }
.plan .delivery { font-size: 12px; color: var(--muted-2); letter-spacing: 0.08em; }
.plan ul {
  margin: 22px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
}
.plan li::before { content: "—"; color: var(--accent); margin-right: 8px; }

.price-extra {
  margin-top: 28px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
}
.price-extra h3 { margin: 0 0 4px; font-size: 15px; }
.price-extra p { font-size: 13px; color: var(--muted); }
.price-extra .amount { font-family: var(--serif); font-size: 26px; white-space: nowrap; }
.price-extra .amount small { font-family: var(--sans); font-size: 12px; color: var(--muted); }

.options {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.options span {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- deliverables & flow ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.deliverables { display: grid; gap: 0; border-top: 1px solid var(--line); }
.deliverables div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.deliverables dt { color: var(--muted-2); font-size: 12px; letter-spacing: 0.1em; padding-top: 3px; }
.deliverables dd { margin: 0; color: var(--text); }

.steps { position: relative; display: grid; gap: 0; }

.mini-cta {
  margin-top: 30px;
  padding: 26px 26px 28px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.015);
}
.mini-cta p { color: var(--muted); font-size: 13.5px; line-height: 1.9; margin-bottom: 18px; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 22px;
  padding: 0 0 34px;
}

.step::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 34px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.step:last-child::before { display: none; }

.step .n {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-family: var(--serif);
  font-size: 14px;
  color: var(--accent-2);
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.step h3 { margin: 6px 0 6px; font-size: 15.5px; }
.step p { color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.step .t { font-size: 11px; letter-spacing: 0.12em; color: var(--muted-2); }

/* ---------- quality ---------- */

.quality {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.q {
  background: var(--bg);
  padding: 34px 32px;
}

.q .k {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--accent-2);
}

.q h3 { margin: 0 0 10px; font-size: 16px; }
.q p { color: var(--muted); font-size: 13.5px; line-height: 1.95; }

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-2);
  transition: transform 0.25s;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq .answer {
  padding: 0 0 26px;
  max-width: 60em;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.info-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.info-list li {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.info-list li > span:first-child { color: var(--muted-2); font-size: 12px; letter-spacing: 0.08em; }

.form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.field { display: grid; gap: 8px; }
.field--row { grid-template-columns: 1fr 1fr; gap: 18px; }

.field label { font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; }
.req {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 10px;
  letter-spacing: 0.08em;
  vertical-align: 1px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  transition: border-color 0.2s, background 0.2s;
}

.field textarea { min-height: 130px; resize: vertical; line-height: 1.8; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.5);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.agree {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.agree input { width: 17px; height: 17px; accent-color: var(--accent); }
.agree a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 11.5px; color: var(--muted-2); line-height: 1.8; }

.form .btn { margin-top: 6px; }

/* ---------- footer ---------- */

.footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  background: #070708;
}

.footer .top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 12.5px; color: var(--muted); }
.footer nav a:hover { color: var(--text); }
.footer .copy { margin-top: 26px; font-size: 11.5px; color: var(--muted-2); letter-spacing: 0.08em; }

/* ---------- legal / thanks ---------- */

.legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 20px;
}

.legal h1 {
  margin: 0 0 36px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  line-height: 1.45;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.legal th,
.legal td {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.95;
}

.legal th {
  width: 180px;
  padding-right: 26px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.thanks {
  max-width: 720px;
  margin: 0 auto;
  padding: 170px 24px 110px;
  min-height: 72vh;
}

.thanks h1 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 600;
  line-height: 1.5;
}

.thanks p { margin-bottom: 14px; color: var(--muted); }

.header--solid {
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

@media (max-width: 640px) {
  .legal th { width: 104px; padding-right: 14px; font-size: 11.5px; }
  .legal th, .legal td { padding: 14px 0; font-size: 13px; }
  .thanks { padding: 130px 20px 90px; }
}

/* ---------- reveal ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

html.js .reveal.is-in { opacity: 1; transform: none; }

html.js .reveal:nth-child(2) { transition-delay: 0.07s; }
html.js .reveal:nth-child(3) { transition-delay: 0.14s; }
html.js .reveal:nth-child(4) { transition-delay: 0.21s; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero { padding: 130px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { order: -1; }
  .phone { width: min(72%, 280px); }
  .sec-head--split { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .problems { grid-template-columns: 1fr; }
  .blueprint { grid-template-columns: 1fr 1fr; }
  .beat:nth-child(3) { border-left: 0; padding-left: 0; }
  .beat:nth-child(1), .beat:nth-child(2) { padding-bottom: 26px; }
  .plans { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .quality { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav a:not(.btn) { display: none; }
  .header .wrap { height: 64px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 76px 0; }
  .wrap { padding: 0 20px; }
  .hero { padding: 112px 0 60px; }
  .hero h1 { font-size: clamp(32px, 8.4vw, 44px); }
  .hero-meta div { padding-right: 18px; margin-right: 18px; }
  .hero-meta dd { font-size: 16px; }
  .verticals { grid-template-columns: 1fr; gap: 56px; }
  .vertical-item .phone { width: min(76%, 250px); }
  .blueprint { grid-template-columns: 1fr; }
  .beat { padding: 26px 0 6px 0 !important; border-left: 0 !important; }
  .beat + .beat { border-top: 1px solid var(--line); }
  .price-extra { grid-template-columns: 1fr; }
  .deliverables div { grid-template-columns: 80px 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .info-list li { grid-template-columns: 88px 1fr; }
  .footer .top { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .player-icon { transition: none; }
}
