@font-face {
  font-family: "TikTok Sans";
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 75% 150%;
  font-display: swap;
  src: url("fonts/tiktok-sans-latin.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --surface: #f2f4f4;
  --surface-2: #e6eaea;
  --ink: #101416;
  --muted: #5a6166;
  --accent: #00737a;
  --accent-hover: #005b61;
  --accent-ink: #ffffff;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-poster: clamp(3rem, 6.2vw, 7rem);

  --m: clamp(24px, 3vw, 40px);
  --gap: clamp(96px, 12vw, 200px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 180ms;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "TikTok Sans", system-ui, sans-serif;
  font-size: var(--step-body);
  line-height: 1.45;
  font-kerning: normal;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--m); top: 12px; z-index: 10; background: var(--bg); padding: 8px 12px; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  min-height: 48px; padding: 0 22px;
  background: var(--accent); color: var(--accent-ink);
  font: 500 var(--step-body)/1 "TikTok Sans", sans-serif;
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: background var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(0.97); }
.btn .arrow { transition: transform var(--t-fast) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.link {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em;
  transition: text-decoration-color var(--t-fast) ease, color var(--t-fast) ease;
}
.link:hover { text-decoration-thickness: 2px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  padding: 0 var(--m);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
}
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; font-size: 15px;
}
.monogram { font-weight: 800; font-stretch: 150%; letter-spacing: -0.02em; text-decoration: none; font-size: 18px; }
.topbar nav { display: flex; gap: 28px; align-items: center; }
.topbar nav a:not(.btn) { text-decoration: none; }
.topbar nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 0.25em; }
.topbar .btn { min-height: 44px; font-size: 15px; padding: 0 18px; }

.hero-main {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 96px); align-items: end; padding: clamp(16px, 3vh, 40px) 0 40px;
}
.name {
  font-weight: 800; font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(64px, 9.4vw, 172px);
  line-height: 0.86; letter-spacing: -0.04em;
}
.name .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.name .line > span { display: block; }
.name .l1 { color: var(--ink); }
.name .l2 { color: var(--accent); }
.hero-sub { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; margin: 36px 0 28px; }
.hero-photo { overflow: hidden; aspect-ratio: 4 / 5; height: min(calc(100svh - 170px), 47vw); min-height: 360px; width: auto; max-width: 100%; justify-self: end; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* ---------- intro ---------- */
.intro {
  padding: var(--gap) var(--m) 0;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px);
  align-items: start;
}
.intro h2, .about h2, .wall h2, .contact h2 {
  font-size: var(--step-head); line-height: 1; font-weight: 800; font-stretch: 125%;
  letter-spacing: -0.03em; margin-bottom: 32px;
}
.intro-text { max-width: 36ch; padding-left: 0; }
.intro-text p + p { margin-top: 1em; color: var(--muted); }
.intro-text p:first-of-type { font-weight: 500; }
.signature { width: min(260px, 70%); margin-top: 32px; }
.intro figure { margin-top: calc(var(--step-head) + 32px); position: sticky; top: 32px; }
.intro figure .frame { overflow: hidden; aspect-ratio: 3 / 2; }
.intro figure img { width: 100%; height: 100%; object-fit: cover; }
.cap { font-size: var(--step-small); color: var(--muted); margin-top: 10px; }

/* ---------- about ---------- */
.about { padding: var(--gap) var(--m) 0; }
.about-row { display: grid; grid-template-columns: minmax(0, 34fr) minmax(0, 66fr); column-gap: 0; }
.facts { display: grid; gap: 18px; align-content: start; padding-right: 32px; max-width: 26ch; }
.facts p { font-size: var(--step-body); line-height: 1.35; color: var(--muted); }
.facts strong { display: block; font-weight: 800; color: var(--ink); }
.about-para { font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; }
.about-para p + p { margin-top: 0.8em; }
.records { margin-top: 120px; }
.lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; max-width: 900px; }
.lists h3 { font-size: var(--step-body); font-weight: 800; margin-bottom: 16px; }
.lists li { display: flex; justify-content: space-between; gap: 24px; padding: 7px 0; font-size: var(--step-small); }
.lists li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- poster list ---------- */
.poster { margin-top: var(--gap); background: var(--surface); color: var(--ink); padding: 80px var(--m); }
.poster h2 { font-size: var(--step-lead); font-weight: 500; margin-bottom: 40px; color: var(--muted); }
.poster li { display: block; transition: color 300ms ease; }
.poster li + li { margin-top: clamp(22px, 2.4vw, 36px); }
.poster .pw {
  display: block; font-size: var(--poster-size, var(--step-poster)); line-height: 0.95; font-weight: 800; font-stretch: 112%;
  letter-spacing: -0.035em; text-transform: uppercase; white-space: nowrap;
}
.poster .pw span { display: inline-block; }
.poster .pd {
  display: block; font-size: clamp(17px, 1.35vw, 21px); color: var(--muted); line-height: 1.3; margin-top: 8px;
  max-width: 60ch; font-variant-numeric: tabular-nums; transition: color 300ms ease;
}
.poster li.is-active { color: var(--accent); }
.poster li.is-active .pd { color: var(--ink); }

/* ---------- wall ---------- */
.wall { padding: var(--gap) var(--m) 0; }
.wall-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.wall-grid figure { flex-grow: 1; transition: opacity var(--t-fast) ease; }
.wall-grid:hover figure { opacity: 0.72; }
.wall-grid figure:hover { opacity: 1; }
.wall-grid .ph { overflow: hidden; height: var(--h); }
.wall-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.wall-grid figure:hover img { transform: scale(1.03); }
.wall-grid figcaption { font-size: var(--step-small); color: var(--muted); padding: 8px 0 16px; }

/* ---------- contact ---------- */
.contact { padding: var(--gap) var(--m) 0; }
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.contact-intro p { max-width: 34ch; }
.channels { display: grid; gap: 8px; }
.ch {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 20px; background: var(--surface); text-decoration: none;
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
}
a.ch:hover { background: var(--surface-2); }
a.ch:hover .ch-value { color: var(--accent); }
.ic { width: 24px; height: 24px; flex: none; fill: currentColor; }
.ch > .ic { color: var(--accent); }
.ch-text { display: grid; gap: 2px; min-width: 0; }
.ch-label { font-size: var(--step-small); color: var(--muted); }
.ch-value { font-size: var(--step-lead); line-height: 1.2; font-weight: 500; overflow-wrap: anywhere; transition: color var(--t-fast) ease; }
.ch-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.mini {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  background: var(--bg); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
  transition: background var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.mini .ic { width: 18px; height: 18px; }
.mini:hover { background: var(--ink); color: var(--bg); }
.mini:active { transform: scale(0.96); }
.mini--wa { background: #25d366; color: #0b2e17; }
.mini--wa:hover { background: #1fb257; color: #0b2e17; }

/* ---------- footer ---------- */
.foot {
  margin-top: var(--gap);
  background: var(--bg); color: var(--ink);
  padding: 64px var(--m) 0;
  display: grid; grid-template-rows: auto 96px auto auto; grid-template-columns: minmax(0, 1fr); overflow: hidden;
}
.foot-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; }
.foot-top h2 { font-size: clamp(40px, 5.2vw, 88px); font-weight: 800; font-stretch: 125%; line-height: 0.98; letter-spacing: -0.03em; margin-bottom: 32px; }
.foot-links { justify-self: end; display: flex; gap: 8px; align-self: start; }
.foot-links a { display: grid; place-items: center; width: 48px; height: 48px; background: var(--surface); transition: background var(--t-fast) ease, color var(--t-fast) ease; }
.foot-links a:hover { background: var(--accent); color: var(--accent-ink); }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: var(--step-small); color: var(--muted); padding-bottom: 12px; }
.legal a { color: inherit; }
.legal nav { display: flex; gap: 20px; }
.giant {
  font-weight: 900; font-stretch: 150%; text-transform: uppercase;
  font-size: 14.5vw; line-height: 0.78; letter-spacing: -0.05em; white-space: nowrap;
  color: var(--accent); user-select: none; padding: 8px 0 var(--m);
}
.giant span { display: inline-block; }

/* ---------- legal pages ---------- */
.page-legal .topbar { padding: 24px var(--m); }
.legal-body { padding: 48px var(--m) 120px; max-width: 72ch; }
.legal-body h1 { font-size: var(--step-head); font-weight: 800; font-stretch: 125%; letter-spacing: -0.03em; line-height: 1; margin-bottom: 40px; }
.legal-body h2 { font-size: var(--step-lead); font-weight: 800; margin: 48px 0 12px; }
.legal-body h3 { font-size: var(--step-body); font-weight: 800; margin: 28px 0 8px; }
.legal-body p, .legal-body ul { margin-bottom: 1em; }
.legal-body ul { list-style: disc; padding-left: 1.2em; }

/* ---------- motion ---------- */
.js .name .line > span { transform: translateY(105%); }
.js .hero-sub, .js .hero-text .btn, .js .topbar { opacity: 0; }
.js.ready .name .line > span { transform: none; transition: transform 950ms var(--ease-out); }
.js.ready .name .l2 > span { transition-delay: 110ms; }
.js.ready .hero-sub, .js.ready .hero-text .btn, .js.ready .topbar { opacity: 1; transition: opacity 600ms ease 650ms; }
.js .hero-photo img { transform: scale(1.08); opacity: 0; }
.js.ready .hero-photo img { transform: scale(1); opacity: 1; transition: transform 1600ms var(--ease-out) 150ms, opacity 700ms ease 150ms; }

.js [data-rise] > * { opacity: 0; transform: translateY(24px); }
.js [data-rise].in > * {
  opacity: 1; transform: none;
  transition: opacity 700ms ease, transform 800ms var(--ease-out);
}
.js [data-rise].in > *:nth-child(2) { transition-delay: 80ms; }
.js [data-rise].in > *:nth-child(3) { transition-delay: 160ms; }
.js [data-rise].in > *:nth-child(4) { transition-delay: 240ms; }
.js [data-rise].in > *:nth-child(5) { transition-delay: 320ms; }
.js [data-rise].in > *:nth-child(6) { transition-delay: 400ms; }
.js [data-rise].in > *:nth-child(7) { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .name .line > span, .js [data-rise] > *, .js .hero-sub, .js .hero-text .btn, .js .topbar, .js .hero-photo img { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (max-width: 1000px) {
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .topbar nav a:not(.btn) { display: none; }
  .hero-main { grid-template-columns: 1fr; gap: 28px; padding: 8px 0 48px; }
  .hero-photo { order: -1; width: 100%; height: auto; min-height: 0; max-height: 56svh; aspect-ratio: 4 / 4.4; }
  .name { font-size: 15.6vw; }
  .hero-sub { margin: 24px 0 24px; }
  .intro, .contact, .about-row, .foot-top { grid-template-columns: 1fr; }
  .intro figure { margin-top: 0; position: static; }
  .facts { padding: 0 0 32px; max-width: none; }
  .about-para { order: -1; margin-bottom: 32px; }
  .records { margin-top: 56px; }
  .lists { grid-template-columns: 1fr; gap: 40px; }
  .poster { padding: 64px var(--m); }
  .wall-grid figure { flex-basis: 40% !important; }
  .wall-grid figure:nth-child(3n+1) { flex-basis: 100% !important; }
  .wall-grid .ph { height: 220px !important; }
  .ch { padding: 16px; gap: 14px; }
  .ch--phone { flex-wrap: wrap; }
  .ch-actions { margin-left: 38px; width: 100%; }
  .foot-links { justify-self: start; margin-top: 32px; }
}
