:root {
  --navy: #203c7d;
  --navy-deep: #162652;
  --ink: #1a2a58;
  --orange: #e9541c;
  --orange-deep: #c94412;
  --bg: #ffffff;
  --paper: #f4f6fb;
  --fg: #1a2a58;
  --muted: #5d6884;
  --line: #d9e0ee;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Geist", "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; }
.accent { color: var(--orange); }

.nav {
  position: fixed;
  z-index: 40;
  top: 28px;
  left: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.nav a, .nav button { pointer-events: auto; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  background: white;
  color: var(--navy);
  box-shadow: 0 10px 30px rgba(32, 60, 125, 0.12);
}
.logo img { width: 32px; height: 32px; }
.logo strong { font-size: 15px; font-weight: 560; letter-spacing: -0.03em; }

.nav-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 44px;
  padding: 4px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  box-shadow: 0 14px 32px rgba(32, 60, 125, 0.28);
}
.nav-thumb {
  position: absolute;
  top: 4px;
  left: 0;
  height: 36px;
  border-radius: 999px;
  background: var(--orange);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.45s var(--ease), width 0.45s var(--ease);
}
.nav-links { display: contents; }
.nav-pill a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
}
.nav-cta {
  background: transparent;
  color: white !important;
}
.burger { display: none; }
.articles-chip { display: none; }

.hero {
  position: relative;
  height: calc(100vh - 20px);
  margin: 10px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-media, .hero-media img, .hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 38, 82, 0.82) 0%, rgba(22, 38, 82, 0.42) 46%, rgba(22, 38, 82, 0.12) 72%),
    linear-gradient(180deg, rgba(22, 38, 82, 0.28) 0%, transparent 28%, rgba(22, 38, 82, 0.62) 100%);
}
.social-links { display:flex; flex-wrap:wrap; gap:12px; margin-top:22px; }
.social-links a { padding:10px 16px; border:1px solid currentColor; border-radius:30px; }
.hero-copy {
  position: absolute;
  z-index: 2;
  left: 48px;
  right: 320px;
  bottom: 36px;
}
.hero-copy p {
  margin: 0 0 18px;
  max-width: 78ch;
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  line-height: 1.45;
}
.hero-lead-m { display: none; }
.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(56px, 7.4vw, 104px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.92;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
.hero h1 .accent { color: #ff7a45; }
.hero-bottom {
  position: absolute;
  z-index: 2;
  right: 48px;
  bottom: 36px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.slide-go {
  --wipe: 46px;
  position: relative;
  width: 260px;
  height: 52px;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  user-select: none;
  touch-action: manipulation;
  overflow: hidden;
  cursor: pointer;
}
.slide-go::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  height: 40px;
  width: max(40px, calc(var(--wipe) - 6px));
  border-radius: 999px;
  background: #fff;
  pointer-events: none;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.slide-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-left: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
  clip-path: inset(0 0 0 var(--wipe));
  transition: clip-path 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.slide-go.is-drag .slide-label,
.slide-go.is-drag .slide-knob,
.slide-go.is-drag::before {
  transition: none;
}
.slide-knob {
  position: absolute;
  z-index: 1;
  left: 6px;
  top: 6px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(22, 38, 82, 0.16);
  transform: translateX(0);
}

.story {
  position: relative;
  height: 300vh;
  background: var(--bg);
}
.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  grid-template-rows: auto 1fr;
  align-content: center;
  align-items: center;
  column-gap: 32px;
  padding: 108px 7vw 48px;
  overflow: hidden;
}
.story-art {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 420px;
  z-index: 0;
  pointer-events: none;
  align-self: stretch;
  justify-self: stretch;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 62%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 10%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 62%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 10%, #000 72%, transparent 100%);
  mask-composite: intersect;
}
.story-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 58%, #fff 100%),
    linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 36%),
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 14%);
}
.art {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.art.is-on {
  opacity: 1;
  transform: none;
}
.art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  display: block;
}
.story-rail { display: block; grid-column: 1; grid-row: 2; }
.story-art { display: block; }
.story-slide { display: block; }
.story-slide[hidden] { display: none; }
.slide-art { display: none; }
.story-copy-m { display: none; }
.story-top,
.story-slide {
  z-index: 1;
  grid-column: 1;
}
.story-slide { position: relative; }
.story-top {
  display: block;
  margin-bottom: 28px;
}
.story-top h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.ghost {
  position: absolute;
  top: 104px;
  right: 7vw;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--navy);
  background: white;
  color: var(--navy);
  font-size: 14px;
  z-index: 2;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), color 0.45s var(--ease);
}
.ghost:hover { transform: translateY(-2px); background: var(--navy); color: white; }
.story-slide { min-height: 0; }
.story-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.story-copy {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.02;
}
.story-copy .w { color: #b7c0d6; transition: color 0.45s var(--ease); }
.story-copy .w.on { color: var(--navy); }

.offer, .principles, .plans, .faq, .process, .cases, .clients, .cta-block, .extra, .sheet {
  padding: 48px 7vw;
}
.kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.offer-intro {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: center;
}
.offer-banner {
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}
.offer-banner img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.offer-head { max-width: 920px; }
.offer-head .slide-go { margin-top: 32px; }
h2.display {
  margin: 0;
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.96;
  color: var(--navy);
}
.dim { color: #8b95ad; }
.lede { max-width: 62ch; margin: 18px 0 0; color: var(--muted); }
.center-head { max-width: 920px; margin: 0 auto 48px; text-align: center; }
.center-head .lede { margin-left: auto; margin-right: auto; }
.center-head .kicker { margin-left: auto; margin-right: auto; }

.feature-grid, .cards-5, .cards-4, .cards-3, .cards-2 {
  display: grid;
  gap: 16px;
  margin-top: 48px;
  overflow: visible;
}
.photo-card:hover, .panel:hover, .work:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(32, 60, 125, 0.16);
  z-index: 3;
}
.cards-5 { grid-template-columns: repeat(5, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: 1fr 1fr; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }

.photo-card, .panel {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 360px;
  padding: 24px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 0;
  color: var(--navy);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.photo-card { color: white; background: var(--navy-deep); isolation: isolate; }
.photo-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: var(--img) var(--media-position, center)/cover no-repeat;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}
.photo-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(180deg, rgba(22, 38, 82, 0.18) 0%, rgba(22, 38, 82, 0.86) 100%);
  z-index: -1;
}
.feature-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  opacity: 0.8;
}
.ico { width: 40px; height: 40px; flex: none; }
.advantage-icon {
  width: 68px;
  height: 68px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.advantage-icon .icon-accent { stroke: var(--orange); }
#advantages .icon-box {
  width: 80px;
  height: 88px;
  margin: 0 0 36px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--orange);
  border-radius: 0;
  background: transparent;
}
#advantages .panel { min-height: 340px; }
.ico path, .ico circle, .ico rect, .ico line, .ico polyline {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.photo-card h3 {
  margin: auto 0 0;
  font-size: clamp(18px, 1.45vw, 28px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.18;
}
.panel h3 {
  margin: auto 0 8px;
  font-size: clamp(16px, 1.2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.18;
  overflow-wrap: anywhere;
}
.photo-card p {
  display: none;
}
.offer .photo-card p,
.extra .photo-card p,
.cases .photo-card p,
.principles .photo-card p {
  display: block;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255,255,255,0.9);
}
.extra .tetris,
.principles .tetris {
  grid-template-columns: 1.15fr 1.15fr 0.85fr 0.85fr;
  grid-template-rows: minmax(280px, 1fr) minmax(280px, 1fr);
  min-height: 640px;
  align-items: stretch;
}
.extra .tetris .photo-card:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.extra .tetris .photo-card:nth-child(4) {
  grid-column: 3 / 5;
  grid-row: 1;
}
.extra .tetris .photo-card:nth-child(2) { grid-column: 3; grid-row: 2; }
.extra .tetris .photo-card:nth-child(3) { grid-column: 4; grid-row: 2; }
.principles .tetris {
  grid-template-columns: 1.2fr 1fr 1.15fr;
  grid-template-rows: minmax(280px, 1fr) minmax(280px, 1fr);
}
.principles .tetris .photo-card:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
}
.principles .tetris .photo-card:nth-child(2) {
  grid-column: 3;
  grid-row: 1 / 3;
}
.principles .tetris .photo-card:nth-child(3) { grid-column: 1; grid-row: 2; }
.principles .tetris .photo-card:nth-child(4) { grid-column: 2; grid-row: 2; }
.tetris .span-lg h3,
.tetris .span-wide h3,
.tetris .span-tall h3 {
  font-size: clamp(22px, 2.1vw, 38px);
}
.tetris .photo-card { min-height: 0; }
.clients .panel { isolation: isolate; }
.clients .panel::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, var(--paper) 58%);
  z-index: 0;
  pointer-events: none;
}
.clients .icon-box {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.78);
}
.clients .panel h3,
.clients .panel p { position: relative; z-index: 1; }
.panel-art {
  position: absolute;
  right: -8%;
  top: 2%;
  width: 128%;
  height: 108%;
  color: var(--navy);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.panel-art path,
.panel-art rect,
.panel-art circle,
.panel-art line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.case-stat {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #ffb194;
}
.panel p, .panel li { margin: 0; color: var(--muted); }
.panel .num { color: var(--orange); font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; }
.icon-box {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: white;
  color: var(--navy);
  margin-bottom: 12px;
}
.panel ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.panel li { display: flex; gap: 8px; }
.panel li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--orange); flex: none; }

.sheet {
  --page-pad: 7vw;
  margin: 0;
  padding: 48px var(--page-pad);
  border-radius: 0;
  background: var(--paper);
}
.reel-wrap {
  position: relative;
  margin-top: 36px;
}
.reel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  padding: 16px 0 20px;
}
.reel::-webkit-scrollbar { height: 0; }
.work {
  position: relative;
  flex: 0 0 32%;
  height: 360px;
  scroll-snap-align: start;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy-deep);
  color: white;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: zoom-in;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.work img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.work span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  font-size: clamp(20px, 1.6vw, 28px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.18;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.price { min-height: 460px; }
.price h3 { display: none; }
.price .sum { margin-top: 12px; font-size: 42px; letter-spacing: -0.05em; font-weight: 520; color: white; }
.price.photo-card p { display: block; color: rgba(255,255,255,0.88); }
.price.photo-card ul { color: white; }
.price.photo-card p, .price.photo-card li { color: rgba(255,255,255,0.88); }
.price.photo-card .num { color: #ffb194; }

.calc-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 22px 28px;
  border-radius: 28px;
  background: var(--paper);
}
.calc-bar p { margin: 0; color: var(--muted); }
.calc-title {
  color: var(--navy) !important;
  font-size: 22px;
  font-weight: 560;
  letter-spacing: -0.04em;
}
.calc-bar .slide-go { margin: 0; flex: none; }

.result-box {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 24px;
  border-radius: 28px;
  background: var(--paper);
}
.result-box h3 {
  margin: 0 0 16px;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.result-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.result-photos figure { margin: 0; position: relative; }
.result-photos img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
}
.result-photos figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.result-photos figure:last-child figcaption { background: var(--orange); }
.result-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
}
.result-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.result-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}
.case-nums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.case-nums article {
  padding: 20px;
  border-radius: 22px;
  background: var(--paper);
}
.case-nums b {
  display: block;
  font-size: clamp(22px, 2vw, 32px);
  letter-spacing: -0.04em;
  color: var(--navy);
}
.case-nums span { color: var(--muted); font-size: 14px; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}
.step {
  text-align: center;
  padding: 20px 12px 24px;
  border-radius: 24px;
  background: var(--paper);
}
.step-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-family: var(--mono);
  font-size: 13px;
}
.step .ico { margin: 0 auto 12px; color: var(--orange); }
.step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.place {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-top: 16px;
}
.map-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 28px;
  background: var(--paper);
}
.place-card {
  padding: 24px;
  border-radius: 28px;
  background: var(--paper);
  color: var(--navy);
}
.place-card h3 { margin: 0 0 16px; letter-spacing: -0.04em; }
.place-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.place-card a { color: var(--navy); }

.faq .offer-head { margin-bottom: 48px; }
.faq .quote { margin-top: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr 36px;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  text-align: left;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.faq-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--orange);
}
.faq-title { font-weight: 550; }
.faq-icon {
  width: 28px;
  height: 28px;
  justify-self: end;
  border: 1px solid var(--navy);
  border-radius: 50%;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--navy);
  border-radius: 1px;
}
.faq-icon::before {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 1.5px;
  height: 12px;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq-item.is-open .faq-body { grid-template-rows: 1fr; }
.faq-body-inner {
  overflow: hidden;
  min-height: 0;
}
.faq-body p {
  margin: 0;
  padding: 0 0 20px 64px;
  color: var(--muted);
}

.cta-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: end;
  padding: 36px;
  border-radius: 32px;
  background: var(--navy);
  color: white;
}
.cta-card h2 { color: white; }
.cta-card .lede { color: rgba(255,255,255,0.78); }
.contacts { display: grid; gap: 8px; margin-top: 18px; }
.contacts a { font-size: 20px; letter-spacing: -0.03em; }
.form { display: grid; gap: 10px; }
.form input, .form textarea, .form select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  color: white;
  padding: 14px;
  font-size: 16px;
  outline: none;
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--orange); }
.form select { appearance: none; }
.address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-field, .consent-field { color: rgba(255,255,255,0.86); font-size: 13px; line-height: 1.45; }
.choice-field { display: grid; gap: 8px; }
.consent-field { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.consent-field input { width: 18px; height: 18px; margin-top: 2px; }
.consent-field a, .cookie-banner a { color: #ffd2c0; text-decoration: underline; }
.cookie-banner { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 22px; background: var(--navy-deep); color: white; box-shadow: 0 18px 50px rgba(0,0,0,0.28); }
.cookie-banner[hidden] { display: none !important; }
.cookie-banner p { flex: 1; margin: 0; }
.cookie-banner div { display: flex; gap: 8px; flex: none; }
.cookie-banner button {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  background: transparent;
  color: white;
  min-width: 132px;
  padding: 11px 18px;
  font: inherit;
  font-weight: 650;
  box-shadow: none;
}
#cookie-accept { background: white; color: var(--navy); border-color: white; }
.documents-list { display: grid; gap: 12px; }
.document-card { display: block; padding: 22px 24px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.document-card h2 { margin: 0 0 6px; color: var(--navy); font-size: 24px; }
.document-card p { margin: 0; color: var(--muted); }
.form .msg { min-height: 1.2em; margin: 0; color: #ffd2c0; white-space: pre-line; }
.messenger-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0;
  padding: 0;
  border: 0;
}
.messenger-choice legend {
  width: 100%;
  margin-bottom: 2px;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}
.messenger-option {
  position: relative;
  cursor: pointer;
}
.form .messenger-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.messenger-option span {
  display: block;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  color: white;
  font-size: 13px;
  font-weight: 650;
}
.messenger-option input:checked + span {
  border-color: var(--orange);
  background: var(--orange);
}
.messenger-option input:focus-visible + span { outline: 3px solid white; outline-offset: 2px; }
.messenger-choice small {
  width: 100%;
  color: rgba(255,255,255,0.62);
  line-height: 1.4;
}

.marquee { overflow: hidden; border-top: 1px solid var(--line); background: white; color: var(--navy); }
.marquee-track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.marquee span {
  padding: 28px 18px;
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.marquee em { color: var(--orange); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.footer { padding: 48px 7vw 28px; background: var(--navy-deep); color: white; }
.footer .logo { background: transparent; color: white; box-shadow: none; padding-left: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer h3 { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #ffb194; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: rgba(255,255,255,0.82); }
.footer .lede { color: rgba(255,255,255,0.72); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-bottom .dev-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.to-top { display: none; }

.reveal { animation: rise 0.9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.lightbox { position: fixed; inset: 0; z-index: 70; display: none; place-items: center; background: rgba(16, 24, 48, 0.82); padding: 24px; }
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 86vh; border-radius: 16px; }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: white; color: var(--navy); }

.intro {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
  background: #fff;
  transition: opacity 0.75s var(--ease), visibility 0.75s var(--ease);
}
.intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro img {
  width: 96px;
  height: 96px;
  opacity: 0;
  animation: introLogo 0.85s var(--ease) 0.12s forwards;
}
.intro-dots {
  display: flex;
  gap: 12px;
}
.intro-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  animation: introDot 1.05s ease-in-out infinite;
}
.intro-dots span:nth-child(1) { background: var(--navy); }
.intro-dots span:nth-child(2) { background: var(--orange); animation-delay: 0.16s; }
.intro-dots span:nth-child(3) { background: var(--navy-deep); animation-delay: 0.32s; }
@keyframes introLogo {
  from { opacity: 0; transform: translateY(10px) scale(0.94); }
  to { opacity: 1; transform: none; }
}
@keyframes introDot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.28; }
  40% { transform: translateY(-8px); opacity: 1; }
}
body.intro-lock { overflow: hidden; }

@media (max-width: 1100px) {
  .cards-5, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .extra .tetris,
  .principles .tetris {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: minmax(220px, 28vh);
    min-height: 0;
  }
  .extra .tetris .photo-card:nth-child(1),
  .extra .tetris .photo-card:nth-child(4),
  .principles .tetris .photo-card:nth-child(1),
  .principles .tetris .photo-card:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .extra .tetris .photo-card:nth-child(2),
  .extra .tetris .photo-card:nth-child(3),
  .principles .tetris .photo-card:nth-child(3),
  .principles .tetris .photo-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }
}
@media (max-width: 980px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }
  .nav {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    gap: 12px;
    align-items: center;
  }
  .nav-pill,
  .nav-thumb,
  .nav-links,
  .burger { display: none !important; }
  .nav .logo {
    width: auto;
    flex: none;
    min-width: 0;
    max-width: calc(100% - 132px);
    height: 52px;
    justify-content: flex-start;
    padding: 0 14px 0 6px;
    gap: 10px;
  }
  .articles-chip {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--orange);
    color: white;
    font-size: 12px;
    font-weight: 560;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(233, 84, 28, 0.28);
    flex: none;
  }
  .nav .logo img { width: 36px; height: 36px; }
  .nav .logo strong { font-size: 15px; }
  .hero {
    height: min(100svh, 820px);
    margin: 8px;
    border-radius: 22px;
  }
  .hero-copy {
    left: 18px;
    right: 18px;
    bottom: 88px;
    text-align: center;
  }
  .hero-copy p {
    max-width: none;
    font-size: 13px;
    line-height: 1.4;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
  }
  .hero-lead-pc { display: none; }
  .hero-lead-m { display: block; }
  .hero h1 {
    font-size: clamp(32px, 9.4vw, 44px);
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero h1 .accent {
    display: block;
    white-space: nowrap;
    font-size: 1.12em;
  }
  .hero-bottom {
    left: 18px;
    right: 18px;
    bottom: 18px;
    justify-content: stretch;
  }
  .hero-bottom .slide-go { width: 100%; }
  .offer, .principles, .plans, .faq, .process, .cases, .clients, .cta-block, .extra, .sheet, .footer {
    --page-pad: 18px;
    padding: 24px var(--page-pad);
  }
  .kicker { margin-bottom: 12px; }
  .lede { margin-top: 12px; }
  .center-head { margin: 0 auto 20px; }
  .feature-grid, .cards-5, .cards-4, .cards-3, .cards-2 { margin-top: 20px; }
  .reel-wrap { margin-top: 20px; }
  .offer-intro { gap: 20px; }
  .faq .offer-head { margin-bottom: 20px; }
  .faq .quote { margin-top: 20px; }
  .cta-card { padding: 24px 18px; gap: 20px; }
  .address-grid, .cookie-banner { display: grid; grid-template-columns: 1fr; }
  .contacts { margin-top: 16px; }
  .hero-copy p { margin-bottom: 16px; }
  .offer-head .slide-go,
  .form .slide-go,
  .slide-go { width: 100%; margin-top: 20px; }
  .hero-bottom .slide-go { margin-top: 0; }
  .offer-intro, .cards-3, .cards-2, .cta-card, .footer-grid {
    grid-template-columns: 1fr;
  }
  .offer .cards-5,
  .extra .cards-4,
  #materials .cards-4,
  .cases .cards-4,
  .clients .cards-5 {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 20px 0 0;
    -webkit-overflow-scrolling: touch;
  }
  .offer .cards-5::-webkit-scrollbar,
  .extra .cards-4::-webkit-scrollbar,
  #materials .cards-4::-webkit-scrollbar,
  .cases .cards-4::-webkit-scrollbar,
  .clients .cards-5::-webkit-scrollbar { height: 0; }
  .offer .cards-5 .photo-card,
  .extra .cards-4 .photo-card,
  #materials .cards-4 .photo-card,
  .cases .cards-4 .photo-card,
  .clients .cards-5 .panel {
    flex: 0 0 82%;
    width: 82%;
    min-width: 82%;
    min-height: 320px;
    scroll-snap-align: start;
  }
  .clients .cards-5 .panel {
    min-height: 220px;
    aspect-ratio: auto;
  }
  .work { flex-basis: 82%; }
  .story-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0;
    -webkit-overflow-scrolling: touch;
  }
  .story-rail::-webkit-scrollbar { height: 0; }
  .story-slide,
  .story-slide[hidden] {
    display: grid !important;
    position: relative;
    flex: 0 0 86%;
    width: 86%;
    min-width: 86%;
    min-height: 188px;
    scroll-snap-align: start;
  }
  .photo-card, .panel {
    min-width: 0;
  }
  #advantages .cards-5 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    overflow: visible;
    margin: 20px 0 0;
    padding: 0;
  }
  #advantages .panel {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1;
    padding: 14px;
  }
  #advantages .panel h3 {
    font-size: 14px;
    margin: auto 0 6px;
  }
  #advantages .panel p { font-size: 12px; line-height: 1.3; }
  #advantages .icon-box { width: 54px; height: 64px; margin-bottom: 18px; padding-bottom: 10px; }
  #advantages .advantage-icon { width: 48px; height: 48px; }
  #advantages .panel { min-height: 230px; aspect-ratio: auto; }
  .offer-banner, .offer-banner img { min-height: 240px; }
  h2.display { font-size: clamp(28px, 8vw, 40px); }
  .story { height: auto; }
  .story-sticky {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px 18px;
  }
  .story-top {
    margin-bottom: 0;
    text-align: center;
  }
  .story-top h2 {
    margin-left: auto;
    margin-right: auto;
  }
  .ghost {
    position: static;
    margin: 20px auto 0;
    align-self: center;
  }
  .offer-head {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .offer-head .kicker { margin-left: auto; margin-right: auto; }
  .offer-head .lede { margin-left: auto; margin-right: auto; }
  .offer-head .slide-go { width: 100%; margin: 32px auto 0; }
  #advantages .panel:last-child {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    min-height: 148px;
  }
  .story-slide, .story-slide[hidden] { grid-template-columns: 1fr; }
  .slide-art img { height: 240px; }
  .story-copy { font-size: clamp(22px, 6.4vw, 30px); max-width: 18ch; line-height: 1.12; }
  .story-copy-pc { display: none; }
  .story-copy-m { display: block; }
  .story-line { white-space: nowrap; }
  .story-art { display: none; }
  .story-text {
    position: relative;
    z-index: 1;
    padding-right: 22%;
  }
  .slide-art {
    display: block;
    position: absolute;
    right: -12px;
    top: 50%;
    z-index: 0;
    width: 58%;
    height: 180px;
    transform: translateY(-50%);
    pointer-events: none;
    -webkit-mask-image:
      linear-gradient(to bottom, transparent 0%, #000 22%, #000 68%, transparent 100%),
      linear-gradient(to left, #000 35%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to bottom, transparent 0%, #000 22%, #000 68%, transparent 100%),
      linear-gradient(to left, #000 35%, transparent 100%);
    mask-composite: intersect;
  }
  .slide-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 28%, rgba(255,255,255,0) 62%, #fff 100%),
      linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 40%),
      linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 32%);
    pointer-events: none;
  }
  .slide-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
  }
  .calc-bar,
  .place,
  .result-box,
  .case-nums {
    grid-template-columns: 1fr;
  }
  .calc-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .calc-bar .slide-go { width: 100%; }
  .steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
  }
  .step {
    flex: 0 0 78%;
    min-width: 78%;
    scroll-snap-align: start;
  }
  .map-frame { min-height: 240px; }
  .footer-bottom { margin-top: 20px; }
  .to-top {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: none;
    margin: 8px auto 0;
    border-radius: 50%;
    background: var(--orange);
    color: white;
    font-size: 22px;
    line-height: 1;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 640px) {
  .footer .logo strong { font-size: 13px; }
}

.articles-page {
  padding: 120px 28px 48px;
  background: var(--paper);
  min-height: 100vh;
}
.articles-wrap { max-width: 980px; margin: 0 auto; }
.articles-head { margin-bottom: 28px; }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 340px));
  gap: 18px;
}
.article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 10px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(32, 60, 125, 0.08);
  color: var(--ink);
}
.article-card h2 {
  margin: 16px 14px 8px;
  font-size: 24px;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.article-card p { margin: 0 14px 18px; color: var(--muted); }
.article-card time {
  margin: auto 14px 12px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-card .article-frame {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--paper);
  aspect-ratio: 3 / 4;
}
.article-card .article-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.article-photo {
  margin: 28px 0;
}
.article-photo img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
}
.article-detail-card {
  position: relative;
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: white;
  box-shadow: 0 18px 50px rgba(32, 60, 125, 0.08);
}
.article-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.article-detail-head .kicker { margin: 0; }
.article-detail-head time {
  flex: none;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.article-body {
  padding: 8px 0 0;
  font-size: 18px;
  line-height: 1.65;
}
.article-body p { margin: 0 0 16px; }
.article-title {
  margin: 8px 0 12px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: var(--navy);
}
.articles-empty {
  padding: 36px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--line);
  color: var(--muted);
}
.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-pill a.is-current { color: white; }
.articles-note { padding: 4px 28px 40px; text-align: center; color: var(--muted); font-size: 14px; }
.articles-note p { margin: 0; }
@media (max-width: 800px) {
  .articles-page { padding: 96px 16px 32px; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-card .article-frame { aspect-ratio: 3 / 4; max-height: 460px; }
  .article-detail-card { padding: 24px 20px; border-radius: 24px; }
  .article-detail-head { align-items: flex-start; }
  .article-title {
    font-size: clamp(26px, 7.2vw, 32px);
    line-height: 1.15;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .article-detail-card, .articles-wrap { max-width: 100%; overflow-wrap: break-word; }
  .article-body { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .story-copy .w { color: var(--navy); }
  .intro img { opacity: 1; }
}
