/* ==========================================================================
   TGBS v7 — "Refined". Loaded last; see docs/v7-spec.md.
   The homepage is built entirely from .v7-* classes. Inner pages keep their
   v5 markup and get the v7 shell (header, menu, footer, dock) plus the
   restyle at the end of this file.
   ========================================================================== */

:root {
  --p7-paper: #ffffff;
  --p7-mist: #f6f4ee;
  --p7-ink: #121212;
  --p7-ink-2: #202020;
  --p7-gold: #d0b056;
  --p7-gold-text: #886e26;
  --p7-gold-hi: #e6c873;
  --p7-line: rgba(18, 18, 18, 0.1);
  --p7-line-ink: rgba(255, 255, 255, 0.12);
  --p7-mute: #5d5b55;
  --p7-gx: clamp(20px, 4vw, 56px);
  --p7-sy: clamp(88px, 12vw, 176px);
  --p7-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --p7-ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --p7-r: 22px;
  --p7-hd: 76px;
}

html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.v7 { color: var(--p7-ink); }
.v7 ::selection { background: var(--p7-gold); color: var(--p7-ink); }
.v7 main[data-theme="light"] { color: var(--p7-ink); }
.v7 main > .v7-film:first-child { padding-top: 0; }
.v7 :focus-visible { outline: 2px solid var(--p7-gold); outline-offset: 3px; border-radius: 6px; }
.v7 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

@view-transition { navigation: auto; }

/* ------------------------------------------------------------ primitives */
.v7-wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--p7-gx); }
.v7-sec { position: relative; padding-block: var(--p7-sy); }
.v7-sec--tight { padding-block: clamp(40px, 6vw, 88px); }
.v7-k { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--p7-gold-text); }
[data-theme="ink"] .v7-k { color: var(--p7-gold-hi); }
.v7-label { display: inline-flex; align-items: center; gap: 12px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--p7-mute); }
.v7 .v5-label { display: inline-flex; align-items: center; gap: 12px; font-family: inherit; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--p7-mute); }
.v7 .v5-label__n { display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 8px; border: 1px solid currentColor; border-radius: 99px; background: none; color: var(--p7-gold-text); font-family: inherit; font-size: inherit; letter-spacing: 0.04em; }
.v7-label span { display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 8px; border: 1px solid currentColor; border-radius: 99px; color: var(--p7-gold-text); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
[data-theme="ink"] .v7-label { color: rgba(255, 255, 255, 0.62); }
[data-theme="ink"] .v7-label span { color: var(--p7-gold-hi); }
.v7-h2 { margin-top: 20px; font-size: clamp(2.3rem, 1.2rem + 4.2vw, 5.4rem); line-height: 0.98; font-weight: 600; letter-spacing: -0.045em; color: var(--p7-ink); text-wrap: balance; }
.v7-h2 em { color: var(--p7-gold-text); }
[data-theme="ink"] .v7-h2 { color: #fff; }
[data-theme="ink"] .v7-h2 em { color: var(--p7-gold-hi); }
.v7-sub { margin-top: 22px; max-width: 54ch; font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem); line-height: 1.6; color: var(--p7-mute); text-wrap: pretty; }
[data-theme="ink"] .v7-sub { color: rgba(255, 255, 255, 0.68); }
.v7-head { margin-bottom: clamp(48px, 6vw, 88px); }
.v7-head--c { text-align: center; display: grid; justify-items: center; }
.v7-head--c .v7-sub { margin-inline: auto; }
.v7-head--split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.v7-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
.v7-a { color: inherit; text-decoration: underline; text-decoration-color: var(--p7-gold); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color 0.25s; }
.v7-a:hover { color: var(--p7-gold-text); }
.v7-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: var(--p7-ink); }
.v7-more svg { width: 16px; height: 16px; transition: transform 0.35s var(--p7-ease); }
.v7-more:hover svg { transform: translateX(4px); }
.v7-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--p7-gold); box-shadow: 0 0 0 4px rgba(208, 176, 86, 0.2); }

/* buttons */
.v7-btn { --bg: var(--p7-ink); --fg: #fff; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 99px; background: var(--bg); color: var(--fg); font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; isolation: isolate; transition: transform 0.4s var(--p7-ease), box-shadow 0.4s var(--p7-ease); }
.v7-btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.4s var(--p7-ease); }
.v7-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--hov, #2c2c2c); transform: translateY(101%); transition: transform 0.5s var(--p7-ease); }
.v7-btn:hover::before { transform: none; }
.v7-btn:hover svg:last-child { transform: translateX(3px); }
.v7-btn--gold { --bg: var(--p7-gold); --fg: var(--p7-ink); --hov: var(--p7-gold-hi); box-shadow: 0 10px 30px -12px rgba(208, 176, 86, 0.6); }
.v7-btn--ink { --bg: var(--p7-ink); --fg: #fff; --hov: #333; }
.v7-btn--glass { --bg: rgba(255, 255, 255, 0.08); --fg: #fff; --hov: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.v7-btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.88rem; }
.v7-btn--lg { min-height: 60px; padding: 0 32px; font-size: 1.05rem; }

/* ---------------------------------------------------------------- header */
.v7-hd { position: fixed; inset: 0 0 auto; z-index: 90; height: var(--p7-hd); color: var(--p7-ink); transition: transform 0.5s var(--p7-ease), color 0.35s; }
.v7-hd::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid var(--p7-line); opacity: 0; transition: opacity 0.35s, background 0.35s; }
.v7-hd.is-stuck::before { opacity: 1; }
.v7-hd.on-ink { color: #fff; }
.v7-hd.on-ink::before { background: rgba(18, 18, 18, 0.55); border-color: var(--p7-line-ink); }
.v7-hd.on-ink:not(.is-stuck)::before { opacity: 0; }
html.v4-hide-header .v7-hd { transform: translateY(-110%); }
.v7-hd__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--p7-gx); }
.v7-brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; }
.v7-brand__mark { width: 40px; height: auto; padding: 6px; border-radius: 12px; background: var(--p7-ink); box-sizing: content-box; }
.on-ink .v7-brand__mark, .v7-ft .v7-brand__mark { background: transparent; padding: 0; }
.v7-brand__t { display: grid; line-height: 1.05; }
.v7-brand__t b { font-size: 1.05rem; letter-spacing: 0.04em; }
.v7-brand__t span { font-size: 0.68rem; letter-spacing: 0.06em; opacity: 0.66; }
.v7-nav { display: flex; gap: 4px; }
.v7-nav__a { position: relative; display: inline-block; padding: 10px 14px; overflow: hidden; color: inherit; font-size: 0.92rem; font-weight: 500; }
.v7-nav__a span { position: relative; display: block; transition: transform 0.5s var(--p7-ease); }
.v7-nav__a span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; color: var(--p7-gold-text); }
.on-ink .v7-nav__a span::after { color: var(--p7-gold-hi); }
.v7-nav__a:hover span { transform: translateY(-100%); }
.v7-nav__a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--p7-gold); }
.v7-hd__cta { display: flex; align-items: center; gap: 10px; }
.v7-burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; color: inherit; background: transparent; }
.v7-burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform 0.45s var(--p7-ease), top 0.45s var(--p7-ease); }
.v7-burger span:first-child { top: 18px; }
.v7-burger span:last-child { top: 26px; }
.v7-burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.v7-burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
body:has(.v7-menu.is-open) .v7-hd { color: #fff; transform: none; }
body:has(.v7-menu.is-open) .v7-hd::before { opacity: 0; }
.progress { z-index: 95; }

/* menu overlay (also the mobile drawer; tgbs.js owns open/close + focus) */
.drawer.v7-menu { z-index: 85; padding: calc(var(--p7-hd) + 24px) var(--p7-gx) 40px; background: var(--p7-ink); backdrop-filter: none; -webkit-backdrop-filter: none; clip-path: inset(0 0 100% 0); opacity: 1; transition: clip-path 0.7s var(--p7-ease-io), visibility 0s linear 0.7s; color: #fff; }
.drawer.v7-menu.is-open { clip-path: inset(0 0 0 0); transition: clip-path 0.7s var(--p7-ease-io), visibility 0s; }
.v7-menu__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; max-width: 1440px; margin-inline: auto; min-height: 100%; align-content: space-between; }
.v7-menu__list { display: grid; gap: 2px; }
.v7-menu__list li { overflow: hidden; }
.v7-menu__a { display: flex; align-items: baseline; gap: 18px; padding: 6px 0; font-size: clamp(2.2rem, 1.4rem + 4vw, 4.6rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; color: #fff; transform: translateY(105%); transition: transform 0.8s var(--p7-ease), color 0.3s; transition-delay: calc(var(--i) * 45ms + 120ms); }
.v7-menu.is-open .v7-menu__a { transform: none; }
.v7-menu__a:hover { color: var(--p7-gold-hi); }
.v7-menu__n { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; color: var(--p7-gold-hi); }
.v7-menu__side { display: grid; align-content: end; gap: 12px; padding-bottom: 8px; }
.v7-menu__big { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem); color: #fff; }
.v7-menu__big svg { width: 20px; height: 20px; color: var(--p7-gold-hi); }
.v7-menu__k2 { margin-top: 18px; }
.v7-menu__cities { display: grid; gap: 6px; color: rgba(255, 255, 255, 0.7); font-variant-numeric: tabular-nums; }
.v7-menu__cities b { color: #fff; font-weight: 600; margin-right: 8px; }

/* ---------------------------------------------------------- 1. hero film */
.v7-film { position: relative; height: 100svh; min-height: 560px; background: var(--p7-ink); color: #fff; }
.v7-film.is-live { height: 260vh; }
.v7-film__pin { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; }
.v7-film__media, .v7-film__poster, .v7-film__cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.v7-film__poster { object-fit: cover; object-position: 50% 50%; }
.v7-film__cv { opacity: 0; transition: opacity 0.4s; }
.v7-film.has-cv .v7-film__cv { opacity: 1; }
.v7-film__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(18, 18, 18, 0.82) 0%, rgba(18, 18, 18, 0.35) 46%, rgba(18, 18, 18, 0) 70%),
  linear-gradient(0deg, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0) 38%),
  radial-gradient(120% 90% at 70% 40%, transparent 50%, rgba(18, 18, 18, 0.55) 100%); }
.v7-film__media::after { content: ""; position: absolute; inset: -50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); opacity: 0.07; mix-blend-mode: overlay; pointer-events: none; }
.v7-film__cap { position: absolute; z-index: 2; left: var(--p7-gx); right: var(--p7-gx); max-width: 1440px; margin-inline: auto; }
.v7-film__cap--a { bottom: clamp(56px, 10vh, 120px); }
.v7-film__cap--b { top: 50%; transform: translateY(-50%); text-align: right; display: grid; justify-items: end; }
.v7-film__cap--c { bottom: clamp(56px, 10vh, 112px); }
.js .v7-film.is-live .v7-film__cap--b, .js .v7-film.is-live .v7-film__cap--c { opacity: 0; visibility: hidden; }
.v7-film:not(.is-live) .v7-film__cap--b, .v7-film:not(.is-live) .v7-film__cap--c { display: none; }
.v7-film__k { display: inline-flex; align-items: center; gap: 12px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.v7-film__h1 { margin-top: 22px; font-size: clamp(2.9rem, 1.2rem + 6.6vw, 8.2rem); line-height: 0.92; font-weight: 600; letter-spacing: -0.055em; color: #fff; }
.v7-l { display: block; overflow: hidden; padding-bottom: 0.04em; }
.v7-l > span { display: inline-block; }
.v7-rot, .v7-l > .v7-rot { position: relative; display: inline-grid; vertical-align: bottom; color: var(--p7-gold-hi); }
.v7-rot em { grid-area: 1 / 1; white-space: nowrap; padding-right: 0.08em; transition: transform 0.75s var(--p7-ease), opacity 0.5s; }
.v7-rot em:not(.is-on) { opacity: 0; transform: translateY(70%) rotateX(-40deg); }
.v7-rot em.is-out { opacity: 0; transform: translateY(-70%) rotateX(40deg); }
.v7-film__lead { margin-top: 26px; max-width: 46ch; font-size: clamp(1rem, 0.94rem + 0.35vw, 1.2rem); line-height: 1.55; color: rgba(255, 255, 255, 0.8); }
.v7-film__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.v7-film__big { max-width: 15ch; font-size: clamp(2.4rem, 1.2rem + 4.8vw, 6.4rem); line-height: 0.96; font-weight: 600; letter-spacing: -0.05em; text-wrap: balance; }
.v7-film__big em { color: var(--p7-gold-hi); }
.v7-film__big--c { max-width: 17ch; }
.v7-film__small { margin-top: 20px; max-width: 34ch; color: rgba(255, 255, 255, 0.72); font-size: 1.05rem; }
.v7-figs { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: clamp(20px, 4vw, 64px); margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--p7-line-ink); }
.v7-figs div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; }
.v7-figs dd { font-size: clamp(1.8rem, 1.2rem + 2vw, 3.2rem); font-weight: 600; letter-spacing: -0.04em; color: var(--p7-gold-hi); line-height: 1; }
.v7-figs dt { font-size: 0.78rem; color: rgba(255, 255, 255, 0.64); }
.v7-film__hint { position: absolute; z-index: 2; right: var(--p7-gx); bottom: 28px; display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, 0.7); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
.v7-film__hint i { position: relative; width: 1px; height: 44px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.v7-film__hint i::after { content: ""; position: absolute; inset: 0; background: var(--p7-gold); animation: v7-drip 2.2s var(--p7-ease-io) infinite; }
@keyframes v7-drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.v7-film__meter { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, 0.08); }
.v7-film__meter i { display: block; height: 100%; background: var(--p7-gold); transform-origin: left; transform: scaleX(var(--fp, 0)); }
.v7-film:not(.is-live) .v7-film__meter { display: none; }

/* intro lines (first paint) */
.js .v7-film__cap--a .v7-l > span, .js .v7-film__cap--a .v7-film__k, .js .v7-film__cap--a .v7-film__lead, .js .v7-film__cap--a .v7-film__cta { animation: v7-rise 1.1s var(--p7-ease) both; }
.js .v7-film__cap--a .v7-l > span { animation-name: v7-line; }
.js .v7-film__cap--a .v7-l:nth-child(2) > span { animation-delay: 0.08s; }
.js .v7-film__cap--a .v7-l:nth-child(3) > span { animation-delay: 0.16s; }
.js .v7-film__cap--a .v7-l:nth-child(4) > span { animation-delay: 0.24s; }
.js .v7-film__cap--a .v7-film__lead { animation-delay: 0.36s; }
.js .v7-film__cap--a .v7-film__cta { animation-delay: 0.46s; }
html.v7-loading .v7-film__cap--a * { animation-play-state: paused !important; }
@keyframes v7-line { from { transform: translateY(105%); } }
@keyframes v7-rise { from { opacity: 0; transform: translateY(24px); } }

/* ------------------------------------------------------------ 2. partners */
.v7-band { padding-block: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--p7-line); overflow: hidden; }
.v7-band__head { margin-bottom: 24px; }
.v7-band__marquee { display: flex; width: max-content; }
.v7-band__track { display: flex; align-items: center; flex: none; animation: v7-marq 38s linear infinite; }
.v7-band:hover .v7-band__track, .v7-band:focus-within .v7-band__track { animation-play-state: paused; }
.v7-band__item { display: inline-flex; align-items: center; gap: 16px; padding-inline: clamp(24px, 3vw, 44px); color: var(--p7-ink); font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; filter: grayscale(1); opacity: 0.7; transition: opacity 0.3s, filter 0.3s; }
.v7-band__item:hover, .v7-band__item:focus-visible { filter: none; opacity: 1; }
.v7-band__item picture, .v7-band__item img { width: auto; height: 44px; max-width: 120px; object-fit: contain; }
.v7-band__sep { color: var(--p7-gold); font-size: 0.9rem; }
@keyframes v7-marq { to { transform: translateX(-100%); } }

/* ----------------------------------------------------------- 3. manifesto */
.v7-mani { padding-block: var(--p7-sy); }
.v7-mani__p { margin-top: 32px; max-width: 24ch; font-size: clamp(2rem, 1rem + 3.6vw, 4.6rem); line-height: 1.08; font-weight: 600; letter-spacing: -0.04em; color: var(--p7-ink); }
.v7-mani__p span { opacity: var(--o, 1); transition: opacity 0.15s linear; }
.js .v7-mani.is-live .v7-mani__p span { --o: 0.14; }
.v7-mani__p span.g { color: var(--p7-gold-text); }

/* --------------------------------------------------------------- 4. answer */
.v7-ans { background: var(--p7-mist); }
.v7-ans__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.v7-ans__a { margin-top: 28px; max-width: 52ch; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); line-height: 1.55; color: var(--p7-ink); }
.v7-ans__d { margin-top: 18px; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--p7-mute); }
.v7-facts { border-top: 1px solid var(--p7-line); }
.v7-facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--p7-line); }
.v7-facts dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--p7-gold-text); padding-top: 4px; }
.v7-facts dd { color: #36342f; line-height: 1.55; }

/* ------------------------------------------------------------- 5. services */
.v7-svc__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.v7-plate { position: sticky; top: calc(var(--p7-hd) + 28px); }
.v7-plate__in { position: relative; aspect-ratio: 1 / 1.05; padding: clamp(28px, 3vw, 48px); border-radius: 28px; background: var(--p7-ink); color: #fff; display: grid; align-content: end; overflow: hidden; isolation: isolate; }
.v7-plate__in::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 78% 18%, rgba(208, 176, 86, 0.32), transparent 62%), radial-gradient(60% 50% at 10% 100%, rgba(208, 176, 86, 0.12), transparent 70%); }
.v7-plate__seal { position: absolute; top: clamp(24px, 3vw, 40px); left: clamp(28px, 3vw, 48px); width: 64px; }
.v7-plate__seal img { width: 64px; height: auto; }
.v7-plate__k { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.v7-plate__n { margin-top: 6px; font-size: clamp(5rem, 3rem + 7vw, 11rem); line-height: 0.85; font-weight: 600; letter-spacing: -0.06em; color: var(--p7-gold-hi); font-variant-numeric: tabular-nums; }
.v7-plate__n small { font-size: 0.22em; letter-spacing: 0; color: rgba(255, 255, 255, 0.45); margin-left: 6px; }
.v7-plate__t { margin-top: 18px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.v7-plate__p { margin-top: 14px; color: rgba(255, 255, 255, 0.7); }
.v7-plate__p b { color: #fff; font-weight: 600; }
.v7-plate__p small { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; }
.v7-plate__ring { position: absolute; top: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 40px); width: 72px; height: 72px; border-radius: 50%; background: conic-gradient(var(--p7-gold) calc(var(--sp, 0.1667) * 360deg), rgba(255, 255, 255, 0.1) 0); -webkit-mask: radial-gradient(circle, transparent 33px, #000 34px); mask: radial-gradient(circle, transparent 33px, #000 34px); transition: --sp 0.6s; }
.v7-plate [data-swap] { display: inline-block; animation: v7-swap 0.5s var(--p7-ease); }
@keyframes v7-swap { from { opacity: 0; transform: translateY(40%); } }
.v7-svc__list { display: grid; }
.v7-svc__item { padding-block: clamp(28px, 3.5vw, 48px); border-top: 1px solid var(--p7-line); transition: opacity 0.45s; }
.v7-svc__item:last-child { border-bottom: 1px solid var(--p7-line); }
.js .v7-svc.is-live .v7-svc__item:not(.is-on) { opacity: 0.32; }
.v7-svc__n { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; color: var(--p7-gold-text); }
.v7-svc__n span { margin-left: 8px; color: var(--p7-mute); }
.v7-svc__t { margin-top: 10px; font-size: clamp(1.7rem, 1.1rem + 2vw, 3rem); line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.v7-svc__t a { color: var(--p7-ink); background: linear-gradient(var(--p7-gold), var(--p7-gold)) 0 100% / 0 2px no-repeat; transition: background-size 0.5s var(--p7-ease); }
.v7-svc__t a:hover { background-size: 100% 2px; }
.v7-svc__s { margin-top: 14px; max-width: 52ch; color: var(--p7-mute); line-height: 1.6; }
.v7-svc__d { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.v7-svc__d li { padding: 6px 12px; border: 1px solid var(--p7-line); border-radius: 99px; font-size: 0.82rem; color: #3b3934; }
.v7-svc__f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.v7-svc__price { font-size: 0.92rem; color: var(--p7-mute); }
.v7-svc__price b { color: var(--p7-ink); }

/* ---------------------------------------------------------------- 6. work */
.v7-work { position: relative; padding-top: var(--p7-sy); background: var(--p7-paper); }
.v7-work__marq { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--p7-line); padding-block: 8px; margin-bottom: clamp(48px, 6vw, 88px); }
.v7-work__marq span { display: inline-block; font-size: clamp(3.6rem, 2rem + 9vw, 12rem); font-weight: 600; letter-spacing: -0.06em; line-height: 1; color: var(--p7-ink); will-change: transform; }
.v7-work__marq em { color: var(--p7-gold); font-size: 0.4em; vertical-align: middle; padding-inline: 0.3em; font-style: normal; font-family: inherit; }
.v7-work__head { margin-bottom: clamp(36px, 4vw, 56px); }
.v7-work__pin { position: relative; padding-bottom: var(--p7-sy); }
.v7-work__rail { display: flex; gap: clamp(16px, 2vw, 32px); padding-inline: var(--p7-gx); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.v7-work__rail::-webkit-scrollbar { display: none; }
.v7-card { flex: none; width: min(46vw, 760px); scroll-snap-align: start; }
.v7-card__img { display: block; aspect-ratio: 16 / 10; border-radius: var(--p7-r); overflow: hidden; background: var(--p7-mist); transform-origin: 50% 100%; }
.v7-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--p7-ease); }
.v7-card:hover .v7-card__img img { transform: scale(1.04); }
.v7-card__meta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 4px 0; }
.v7-card__i { font-size: 0.8rem; font-weight: 600; color: var(--p7-gold-text); font-variant-numeric: tabular-nums; }
.v7-card__meta h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); font-weight: 600; letter-spacing: -0.03em; }
.v7-card__meta h3 a { color: var(--p7-ink); }
.v7-card__meta p { font-size: 0.86rem; color: var(--p7-mute); }
.v7-card__ext { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--p7-line); color: var(--p7-ink); transition: background 0.3s, color 0.3s, transform 0.4s var(--p7-ease); }
.v7-card__ext:hover { background: var(--p7-ink); color: #fff; transform: rotate(45deg); }
.v7-card__ext svg { width: 18px; height: 18px; }
.v7-card--end { width: min(30vw, 420px); display: grid; }
.v7-card__all { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 16 / 10 * 1; height: auto; min-height: 100%; max-height: calc(min(46vw, 760px) * 0.625); padding: 32px; border-radius: var(--p7-r); background: var(--p7-ink); color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.v7-card__all em { color: var(--p7-gold-hi); }
.v7-card__all svg { width: 40px; height: 40px; align-self: flex-end; color: var(--p7-gold-hi); transition: transform 0.4s var(--p7-ease); }
.v7-card__all:hover svg { transform: translateX(8px); }
/* pinned (desktop, JS) */
.v7-work.is-live .v7-work__pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-bottom: 0; overflow: hidden; }
.v7-work.is-live .v7-work__rail { overflow: visible; scroll-snap-type: none; will-change: transform; }

/* -------------------------------------------------------------- 7. figures */
.v7-figsec { background: var(--p7-ink); color: #fff; overflow: hidden; }
.v7-figsec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 50% at 50% 60%, rgba(208, 176, 86, 0.16), transparent 70%); pointer-events: none; }
.v7-floats { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.v7-float { padding: clamp(24px, 2.6vw, 40px); border-radius: var(--p7-r); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--p7-line-ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.v7-float:nth-child(even) { margin-top: clamp(32px, 5vw, 88px); }
.v7-float__n { font-size: clamp(3rem, 2rem + 4vw, 6.4rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.9; color: var(--p7-gold-hi); font-variant-numeric: tabular-nums; }
.v7-float__l { margin-top: 18px; font-weight: 600; font-size: 1.05rem; }
.v7-float__s { margin-top: 6px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }

/* -------------------------------------------------------------- 8. promise */
.v7-prom__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.v7-prom__head { position: sticky; top: calc(var(--p7-hd) + 40px); }
.v7-sign { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.v7-sign__s { font-family: var(--font-serif); font-style: italic; font-size: 3rem; line-height: 1; color: var(--p7-gold-text); transform: rotate(-6deg); }
.v7-sign p { font-size: 0.9rem; color: var(--p7-mute); line-height: 1.45; }
.v7-sign b { color: var(--p7-ink); }
.v7-stack { display: grid; gap: 20px; }
.v7-stack__card { position: sticky; top: calc(var(--p7-hd) + 40px + var(--i) * 22px); min-height: 240px; padding: clamp(28px, 3vw, 44px); border-radius: var(--p7-r); background: var(--p7-paper); border: 1px solid var(--p7-line); box-shadow: 0 30px 60px -40px rgba(18, 18, 18, 0.35); transform-origin: 50% 0; }
.v7-stack__card:nth-child(odd) { background: var(--p7-mist); }
.v7-stack__card:last-child { background: var(--p7-ink); color: #fff; border-color: var(--p7-ink); }
.v7-stack__card:last-child p { color: rgba(255, 255, 255, 0.7); }
.v7-stack__card:last-child .v7-stack__n { color: var(--p7-gold-hi); border-color: rgba(230, 200, 115, 0.4); }
.v7-stack__n { display: inline-grid; place-items: center; min-width: 44px; height: 28px; padding: 0 10px; border: 1px solid rgba(136, 110, 38, 0.35); border-radius: 99px; font-size: 0.8rem; font-weight: 600; color: var(--p7-gold-text); }
.v7-stack__card h3 { margin-top: 22px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.v7-stack__card p { margin-top: 12px; max-width: 46ch; color: var(--p7-mute); line-height: 1.6; }

/* -------------------------------------------------------------- 9. process */
.v7-proc { background: var(--p7-mist); }
.v7-proc__line { height: 2px; background: var(--p7-line); margin-bottom: 40px; overflow: hidden; }
.v7-proc__line i { display: block; height: 100%; background: var(--p7-gold); transform-origin: left; transform: scaleX(var(--lp, 1)); }
.v7-proc__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.v7-proc__list li { position: relative; }
.v7-proc__n { display: block; font-size: clamp(2.8rem, 2rem + 2.4vw, 4.4rem); font-weight: 600; letter-spacing: -0.06em; line-height: 1; color: var(--p7-ink); }
.v7-proc__m { margin-top: 14px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--p7-gold-text); }
.v7-proc__list h3 { margin-top: 8px; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.025em; }
.v7-proc__list p:last-child { margin-top: 10px; color: var(--p7-mute); font-size: 0.96rem; line-height: 1.6; }

/* --------------------------------------------------------------- 10. cities */
.v7-cities { background: var(--p7-ink); color: #fff; overflow: hidden; }
.v7-cities__map { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: clamp(16px, 3vw, 48px); }
.v7-city__n { margin-top: 8px; font-size: clamp(2.6rem, 1.4rem + 4.6vw, 7rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.9; }
.v7-city__t { margin-top: 14px; font-size: 1.05rem; color: var(--p7-gold-hi); font-variant-numeric: tabular-nums; }
.v7-city__s { margin-left: 8px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.v7-city--b { text-align: right; }
.v7-cities__arc { width: 100%; height: auto; overflow: visible; margin-bottom: 18px; }
.v7-cities__arc path { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.v7-cities__ghost { stroke: rgba(255, 255, 255, 0.14); stroke-dasharray: 4 6; }
.v7-cities__path { stroke: var(--p7-gold); stroke-dasharray: 1; stroke-dashoffset: var(--ap, 0); }
.v7-cities__arc circle { fill: var(--p7-gold); }
.v7-cities__cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }

/* ------------------------------------------------- estimator (v5 markup) */
.v7 .v5-est-wrap { padding-block: var(--p7-sy); background: var(--p7-paper); }
.v7 .v5-est { border-radius: 32px; }
.v7 .v5-est-wrap .v5-h2 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.6rem); letter-spacing: -0.045em; line-height: 0.98; }

/* --------------------------------------------------------------- founder */
.v7-founder__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.v7-founder__img { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--p7-mist); }
.v7-founder__img img { width: 100%; height: 100%; object-fit: cover; }
.v7-founder__img figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; padding: 14px 18px; border-radius: 16px; background: rgba(18, 18, 18, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font-size: 0.86rem; }
.v7-founder__img figcaption span { opacity: 0.7; }
.v7-founder__q { margin-top: 28px; }
.v7-founder__q p { font-size: clamp(1.6rem, 1rem + 2.2vw, 3rem); line-height: 1.12; font-weight: 600; letter-spacing: -0.035em; color: var(--p7-ink); text-wrap: balance; }

/* ----------------------------------------------------------------- radar */
.v7-radar { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: var(--p7-ink); color: #fff; overflow: hidden; transition: transform 0.6s var(--p7-ease); }
.v7-radar:hover { transform: translateY(-4px); }
.v7-radar__scope { position: relative; width: clamp(110px, 14vw, 180px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(230, 200, 115, 0.35); }
.v7-radar__scope i { position: absolute; inset: 18%; border-radius: 50%; border: 1px solid rgba(230, 200, 115, 0.22); }
.v7-radar__scope i:nth-child(2) { inset: 36%; }
.v7-radar__scope i:nth-child(3) { inset: 0; border: 0; background: conic-gradient(from 0deg, rgba(208, 176, 86, 0.5), transparent 25%); animation: v7-spin 4s linear infinite; }
.v7-radar__scope b { position: absolute; top: 28%; left: 62%; width: 8px; height: 8px; border-radius: 50%; background: var(--p7-gold-hi); box-shadow: 0 0 0 6px rgba(230, 200, 115, 0.2); }
@keyframes v7-spin { to { transform: rotate(360deg); } }
.v7-radar__body { display: grid; gap: 12px; }
.v7-radar__t { font-size: clamp(1.6rem, 1rem + 2.4vw, 3.2rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; }
.v7-radar__t em { color: var(--p7-gold-hi); }
.v7-radar__b { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.72); }
.v7-radar__b u { color: #fff; text-decoration-color: var(--p7-gold); text-underline-offset: 4px; }
.v7-radar__b svg { width: 18px; height: 18px; color: var(--p7-gold-hi); }

/* ------------------------------------------------------------------- faq */
.v7-faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.v7-faq__head { position: sticky; top: calc(var(--p7-hd) + 40px); }
.v7-faq__head .v7-btn { margin-top: 32px; }
.v7 .faq__item { border-color: var(--p7-line); }
.v7 .faq__q { color: var(--p7-ink); font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem); font-weight: 600; letter-spacing: -0.02em; }
.v7 .faq__num { color: var(--p7-gold-text); }
.v7 .faq__a p, .v7 .faq__a { color: var(--p7-mute); }

/* ----------------------------------------------------------------- close */
.v7-close { position: relative; padding-block: clamp(120px, 16vw, 240px); background: var(--p7-ink); color: #fff; text-align: center; overflow: hidden; }
.v7-close::before { content: ""; position: absolute; left: 50%; top: 100%; width: 140vw; aspect-ratio: 1; transform: translate(-50%, -38%); border-radius: 50%; background: radial-gradient(circle, rgba(208, 176, 86, 0.3), transparent 60%); pointer-events: none; }
.v7-close__in { position: relative; display: grid; justify-items: center; }
.v7-close__t { margin-top: 24px; font-size: clamp(2.8rem, 1.2rem + 7vw, 9rem); line-height: 0.94; font-weight: 600; letter-spacing: -0.06em; }
.v7-rot--close { text-align: left; }
.v7-close__s { margin-top: 28px; max-width: 46ch; color: rgba(255, 255, 255, 0.72); font-size: 1.1rem; }
.v7-close__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* ---------------------------------------------------------------- footer */
.v7-ft { position: relative; padding-top: clamp(80px, 10vw, 140px); background: var(--p7-ink); color: rgba(255, 255, 255, 0.72); overflow: hidden; border-top: 1px solid var(--p7-line-ink); }
.v7-ft a { color: rgba(255, 255, 255, 0.78); transition: color 0.25s; }
.v7-ft a:hover { color: var(--p7-gold-hi); }
.v7-ft__top { display: grid; gap: 14px; padding-bottom: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--p7-line-ink); }
.v7-ft__mail { display: inline-flex; align-items: center; gap: 0.3em; width: fit-content; font-size: clamp(1.6rem, 0.8rem + 3.6vw, 4.8rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: #fff !important; overflow-wrap: anywhere; }
.v7-ft__mail svg { width: 0.7em; height: 0.7em; color: var(--p7-gold-hi); transition: transform 0.4s var(--p7-ease); flex: none; }
.v7-ft__mail:hover svg { transform: translate(4px, -4px); }
.v7-ft__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: clamp(48px, 6vw, 80px); }
.v7-ft__grid ul { display: grid; gap: 10px; margin-top: 18px; font-size: 0.94rem; }
.v7-ft__h { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--p7-gold-hi); }
.v7-brand--ft { color: #fff !important; }
.v7-ft__tag { margin-top: 18px; max-width: 34ch; font-size: 0.94rem; }
.v7-ft__soc { display: flex; gap: 10px; margin-top: 22px; }
.v7-ft__soc a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--p7-line-ink); }
.v7-ft__soc svg { width: 18px; height: 18px; }
.v7-ft__cities li { display: grid; gap: 2px; }
.v7-ft__cities b { color: #fff; font-weight: 600; }
.v7-ft__cities span { font-variant-numeric: tabular-nums; font-size: 0.86rem; }
.v7-ft__wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 0.94rem; }
.v7-ft__wa svg { width: 18px; height: 18px; color: var(--p7-gold-hi); }
.v7-ft__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid var(--p7-line-ink); font-size: 0.84rem; }
.v7-ft__top-link { display: inline-flex; align-items: center; gap: 6px; }
.v7-ft__top-link svg { width: 14px; height: 14px; }
.v7-ft__word { margin: 0 0 -0.16em; padding-inline: 2vw; font-size: clamp(3.6rem, 15.2vw, 20rem); font-weight: 700; letter-spacing: -0.065em; line-height: 0.8; text-align: center; white-space: nowrap; background: linear-gradient(180deg, rgba(208, 176, 86, 0.5), rgba(208, 176, 86, 0.04) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* ------------------------------------------------------------------ dock */
.v7-dock { position: fixed; z-index: 80; right: 20px; bottom: 20px; display: flex; gap: 10px; transform: translateY(140%); opacity: 0; transition: transform 0.6s var(--p7-ease), opacity 0.4s; pointer-events: none; }
.v7-dock.is-on { transform: none; opacity: 1; pointer-events: auto; }
.v7-dock a { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px; border-radius: 99px; background: var(--p7-ink); color: #fff; font-weight: 600; font-size: 0.92rem; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); transition: transform 0.4s var(--p7-ease); }
.v7-dock a:hover { transform: translateY(-3px); }
.v7-dock svg { width: 18px; height: 18px; color: var(--p7-gold-hi); }
.v7-dock__wa { width: 54px; justify-content: center; padding: 0 !important; background: #1faa53 !important; }
.v7-dock__wa svg { color: #fff; width: 22px; height: 22px; }
body:has(.v7-menu.is-open) .v7-dock { opacity: 0; pointer-events: none; }
/* legacy floating actions are replaced by the dock */
.v7 .fabs, .v7 .v5-pill { display: none !important; }

/* ---------------------------------------------------------------- loader */
.v7-loader { display: none; }
html.v7-loading .v7-loader { display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; background: var(--p7-ink); color: #fff; }
html.v7-loading { overflow: hidden; }
.v7-loader.is-done { display: grid !important; place-items: center; position: fixed; inset: 0; z-index: 200; background: var(--p7-ink); color: #fff; clip-path: inset(0 0 100% 0); transition: clip-path 0.9s var(--p7-ease-io); pointer-events: none; }
.v7-loader.is-gone { display: none !important; }
.v7-loader__in { display: grid; justify-items: center; gap: 14px; }
.v7-loader__mark { width: 64px; height: auto; animation: v7-breathe 1.6s ease-in-out infinite; }
@keyframes v7-breathe { 50% { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(208, 176, 86, 0.6)); } }
.v7-loader__k { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.v7-loader__n { font-size: clamp(3rem, 2rem + 4vw, 6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--p7-gold-hi); font-variant-numeric: tabular-nums; }
.v7-loader__n small { font-size: 0.4em; color: rgba(255, 255, 255, 0.5); }
.v7-loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, 0.08); }
.v7-loader__bar i { display: block; height: 100%; background: var(--p7-gold); transform-origin: left; transform: scaleX(var(--lp, 0)); }

/* ---------------------------------------------------------- reveal tune */
.v7 .js [data-reveal], .js .v7 [data-reveal] { transition-duration: 0.9s; transition-timing-function: var(--p7-ease); }

/* ====================================================== inner-page restyle */
.v7 .pagehead h1, .v7 .page-head h1 { letter-spacing: -0.05em; }

/* ============================================================ responsive */
@media (max-width: 1180px) {
  .v7-nav { display: none; }
  .v7-burger { display: block; }
  .v7-hd__cta .v7-btn { display: none; }
}
@media (min-width: 1181px) {
  .v7-hd__cta .v7-btn { display: inline-flex; }
}
@media (max-width: 1080px) {
  .v7-hd__cta .v7-btn { display: none; }
}
@media (min-width: 1081px) and (max-width: 1180px) {
  .v7-hd__cta .v7-btn { display: inline-flex; }
}
@media (max-width: 900px) {
  :root { --p7-hd: 66px; }
  .v7-brand__t span { display: none; }
  .v7-menu__in { grid-template-columns: 1fr; gap: 36px; }
  .v7-film.is-live { height: 200vh; }
  .v7-film__shade { background: linear-gradient(0deg, rgba(18, 18, 18, 0.94) 0%, rgba(18, 18, 18, 0.55) 45%, rgba(18, 18, 18, 0.15) 75%), linear-gradient(180deg, rgba(18, 18, 18, 0.5), transparent 30%); }
  .v7-film__cap--a, .v7-film__cap--c { bottom: calc(108px + env(safe-area-inset-bottom, 0px)); }
  .v7-film__cap--b { top: auto; bottom: calc(124px + env(safe-area-inset-bottom, 0px)); transform: none; text-align: left; justify-items: start; }
  .v7-film__hint { display: none; }
  .v7-film__cta .v7-btn { flex: 1 1 auto; }
  .v7-figs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; padding-top: 18px; }
  .v7-figs dd { font-size: 1.6rem; }
  .v7-figs dt { font-size: 0.68rem; line-height: 1.3; }
  .v7-head--split, .v7-ans__grid, .v7-svc__grid, .v7-prom__grid, .v7-founder__grid, .v7-faq__grid { grid-template-columns: 1fr; }
  .v7-plate { display: none; }
  .js .v7-svc.is-live .v7-svc__item:not(.is-on) { opacity: 1; }
  .v7-facts > div { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .v7-card { width: 84vw; }
  .v7-card--end { width: 60vw; }
  .v7-card__all { max-height: none; aspect-ratio: 4 / 5; }
  .v7-floats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v7-float:nth-child(even) { margin-top: 28px; }
  .v7-prom__head, .v7-faq__head { position: static; }
  .v7-stack__card { top: calc(var(--p7-hd) + 16px + var(--i) * 14px); min-height: 0; }
  .v7-proc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v7-cities__map { grid-template-columns: 1fr 1fr; }
  .v7-cities__arc { grid-column: 1 / -1; grid-row: 1; }
  .v7-founder__img { max-width: 420px; }
  .v7-radar { grid-template-columns: 1fr; }
  .v7-ft__grid { grid-template-columns: 1fr 1fr; }
  .v7-ft__grid > div:first-child { grid-column: 1 / -1; }
  .v7-dock { display: none; }
}
@media (max-width: 560px) {
  .v7-ft__mail { font-size: 5.2vw; overflow-wrap: normal; }
  .v7-proc__list { grid-template-columns: 1fr; }
  .v7-floats { gap: 12px; }
  .v7-float { padding: 20px; }
  .v7-ft__grid { grid-template-columns: 1fr; }
  .v7-film__h1 { font-size: clamp(2.6rem, 11.6vw, 4rem); }
}
html:not(.js) .v7-nav { display: flex; flex-wrap: wrap; }
@media (max-width: 1180px) { html:not(.js) .v7-hd { position: absolute; } html:not(.js) .v7-nav { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .v7-band__track, .v7-film__hint i::after, .v7-radar__scope i, .v7-loader__mark { animation: none !important; }
  .js .v7-film__cap--a * { animation: none !important; }
  .v7-rot em { transition: none; }
  .v7-stack__card { position: relative; top: auto; }
  .v7-menu__a { transition: none; transform: none; }
  .drawer.v7-menu { transition: none; }
}

@media print {
  .v7-hd, .v7-dock, .v7-loader, .v7-film__media { display: none !important; }
  .v7-film, .v7-film__pin { height: auto; background: #fff; color: #000; }
}

/* ======================================================================
   Inner pages — the legacy component system (tgbs.css + v5) re-tuned to
   v7: same tokens, type, labels, cards and buttons as the homepage.
   ====================================================================== */
.v7:not(.v7-home) main[data-theme="light"] {
  --ink-3: var(--p7-mist);
  --fg: var(--p7-ink);
  --fg-2: rgba(18, 18, 18, 0.68);
  --fg-3: #6b6860;
  --line: var(--p7-line);
  --line-2: rgba(18, 18, 18, 0.16);
  --r: 18px;
  --r-lg: var(--p7-r);
  --r-xl: 28px;
  --gutter: var(--p7-gx);
  --maxw: 1360px;
  --section-y: clamp(80px, 10vw, 152px);
  --fs-h1: clamp(2.8rem, 1.1rem + 6.2vw, 7.2rem);
  --fs-h2: clamp(2.1rem, 1.1rem + 3.6vw, 4.6rem);
  --fs-h3: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem);
}
.v7 main > .pagehead:first-child { padding-top: calc(var(--p7-hd) + clamp(56px, 8vw, 120px)); }
.v7 .pagehead { border-bottom: 1px solid var(--p7-line); padding-bottom: clamp(56px, 7vw, 104px); overflow: hidden; }
.v7 .pagehead::after { content: ""; position: absolute; right: -12vw; top: -20vw; width: 56vw; height: 56vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(208, 176, 86, 0.14), transparent); pointer-events: none; z-index: -1; }
.v7 .pagehead__inner { max-width: 1100px; }
.v7 main .pagehead__title, .v7 main .h1 { font-weight: 600; letter-spacing: -0.055em; line-height: 0.95; text-wrap: balance; }
.v7 main h2, .v7 main .h2 { font-weight: 600; letter-spacing: -0.05em; line-height: 0.98; text-wrap: balance; }
.v7 main h3, .v7 main .h3 { letter-spacing: -0.03em; }
.v7 main .pagehead__title .serif, .v7 main .h1 .serif, .v7 main h2 .serif, .v7 main .h2 .serif, .v7 main h2 em, .v7 main .pagehead__title em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--p7-gold-text);
}
.v7 main .lead { color: rgba(18, 18, 18, 0.7); max-width: 56ch; }
.v7 .crumbs { font-size: 0.78rem; color: var(--p7-mute); }
.v7 .crumbs a:hover { color: var(--p7-gold-text); }

/* Labels: the homepage's dotted label, everywhere. */
.v7 main .eyebrow { font-family: inherit; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; color: var(--p7-mute); }
.v7 main .eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: var(--p7-gold); box-shadow: 0 0 0 4px rgba(208, 176, 86, 0.18); }
.v7 main .eyebrow--center::after { display: none; }
.v7 main [data-theme="ink"] .eyebrow { color: rgba(255, 255, 255, 0.7); }

/* Cards: flat paper, hairline, soft lift. */
.v7 main[data-theme="light"] .card, .v7 main[data-theme="light"] .plan { background: #fff; border: 1px solid var(--p7-line); border-radius: var(--p7-r); box-shadow: none; transition: transform 0.5s var(--p7-ease), box-shadow 0.5s var(--p7-ease), border-color 0.5s var(--p7-ease); }
.v7 main[data-theme="light"] .card::before { display: none; }
@media (hover: hover) {
  .v7 main[data-theme="light"] .card--hover:hover, .v7 main[data-theme="light"] .plan:hover { transform: translateY(-4px); border-color: rgba(136, 110, 38, 0.35); box-shadow: 0 24px 48px -28px rgba(18, 18, 18, 0.28); }
}
.v7 main[data-theme="light"] .plan--featured { --fg: #fff; --fg-2: rgba(255, 255, 255, 0.74); --fg-3: rgba(255, 255, 255, 0.58); --line: rgba(255, 255, 255, 0.14); --line-2: rgba(255, 255, 255, 0.22); --gold: var(--p7-gold-hi); --gold-lite: var(--p7-gold-hi); background: var(--p7-ink); color: #fff; border-color: var(--p7-ink); }
.v7 main[data-theme="light"] .plan--featured .btn--primary { background: var(--p7-gold); color: var(--p7-ink); }
.v7 main .feature__icon { border-radius: 14px; background: var(--p7-mist); color: var(--p7-gold-text); border: 0; }

/* Buttons: the v7 pill. */
.v7 main .btn { min-height: 52px; padding: 0 26px; font-size: 0.95rem; }
.v7 main .btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.86rem; }
.v7 main[data-theme="light"] .btn--primary { background: var(--p7-ink); color: #fff; box-shadow: none; }
@media (hover: hover) { .v7 main[data-theme="light"] .btn--primary:hover { background: #2c2c2c; transform: translateY(-2px); box-shadow: 0 16px 32px -18px rgba(18, 18, 18, 0.5); } }
.v7 main [data-theme="ink"] .btn--primary { background: var(--p7-gold); color: var(--p7-ink); }
.v7 main .btn--ghost { border-color: rgba(18, 18, 18, 0.2); }

/* Sections and section heads breathe like the homepage. */
.v7 main .section-head { gap: 18px; }
.v7 main .rule { background: var(--p7-line); }
.v7 main .field .input, .v7 main .field .select, .v7 main .field textarea { border-radius: 14px; }
.v7 main .faq__item { border-color: var(--p7-line); }
.v7 main .faq__num { color: var(--p7-gold-text); }

@media (max-width: 900px) {
  .v7 main > .pagehead:first-child { padding-top: calc(var(--p7-hd) + 40px); }
  .v7 main .pagehead__title { line-height: 0.98; }
}
