/* ==========================================================================
   Firman Tuhepaly — personal portfolio
   Dark, editorial, monochrome-with-gold. Imagery + light are the centerpiece.
   ========================================================================== */

@property --spot-r {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px;
}

:root {
  color-scheme: dark;

  --bg: #0a0a0b;
  --bg-2: #101012;
  --bg-3: #141417;
  --ink: #f4f1ea;
  --ink-2: #bdb8ad;
  --muted: #7f7a71;
  --line: rgba(244, 241, 234, 0.08);
  --line-2: rgba(244, 241, 234, 0.16);
  --gold: #d4b67c;
  --gold-deep: #b8944f;
  --up: #22b36b;
  --down: #e0453c;

  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 3.2vw, 44px);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t: 300ms;
}

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
em { font-style: normal; }

::selection { background: var(--gold); color: #111; }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed;
  left: 16px; top: -64px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #111;
  font-weight: 500;
  transition: top var(--t) var(--ease);
}
.skip:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(96px, 13vw, 200px); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .idx { color: var(--gold); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.6vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
/* Emphasis is a typeface switch, not italics: serif → heavy Mona Sans, in gold */
.display em, .manifesto em, .venture__name em, .contact__title em, .cta__title em,
.press__quote em, .shot__quote em, .topbar__mark em, .loader__name em {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.9em;
  letter-spacing: -0.03em;
  color: var(--gold);
}
.lead em, .muted em { color: var(--gold); }

.lead {
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34ch;
  text-wrap: pretty;
}
.muted { color: var(--muted); text-wrap: pretty; }
.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

/* ---------- Decorative overlays ---------- */
.gridlines {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.gridlines i { border-left: 1px solid rgba(244, 241, 234, 0.035); }
.gridlines i:last-child { border-right: 1px solid rgba(244, 241, 234, 0.035); }

.grain {
  position: fixed;
  inset: -100%;
  z-index: 61;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: no-preference) {
  .grain { animation: grain 0.9s steps(5) infinite; }
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -1%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-in-out), visibility 0s linear 1s;
}
.js.is-loaded .loader {
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.loader__name {
  font-family: var(--serif);
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  overflow: hidden;
  padding-bottom: 0.1em;
}
.loader__name span, .loader__name em {
  display: inline-block;
  animation: rise 1s var(--ease-out) both;
}
.loader__name em { color: var(--gold); animation-delay: 0.08s; }
.loader__foot {
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: calc(var(--gutter) + 8px);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.loader__count { color: var(--ink); font-variant-numeric: tabular-nums; }
.loader__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line);
}
.loader__bar i {
  display: block;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
@keyframes rise { from { transform: translateY(110%); } }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
  background: rgba(10, 10, 11, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transform: translateY(-101%);
  transition: transform 0.6s var(--ease-out);
}
.topbar.is-visible { transform: none; }
.topbar__mark {
  font-family: var(--serif);
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.topbar__mark em { color: var(--gold); }
.topbar__nav { display: flex; gap: clamp(16px, 2.6vw, 36px); }
.topbar__nav a {
  position: relative;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-block: 6px;
  transition: color var(--t) var(--ease), opacity 0.2s var(--ease);
}
.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform var(--t) var(--ease);
}
.topbar__nav a:hover { color: var(--gold); }
.topbar__nav a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

/* ---------- Language toggle (ID / EN) ---------- */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  cursor: pointer;
}
.lang i { font-style: normal; opacity: 0.35; }
.lang [data-lang-opt] {
  position: relative;
  opacity: 0.45;
  transition: opacity var(--t) var(--ease);
}
.lang [data-lang-opt]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform var(--t) var(--ease);
}
.lang:hover [data-lang-opt] { opacity: 0.8; }
html[lang="id"] .lang [data-lang-opt="id"],
html[lang="en"] .lang [data-lang-opt="en"] { opacity: 1; }
html[lang="id"] .lang [data-lang-opt="id"]::after,
html[lang="en"] .lang [data-lang-opt="en"]::after { transform: scaleX(1); }
.topbar .lang {
  margin-left: 4px;
  padding: 6px 0 6px 14px;
  border-left: 1px solid var(--line-2);
  color: var(--ink);
}

/* Copy swap: fade the page out, change language, fade back in */
main { transition: opacity 0.2s var(--ease); }
.is-switching main,
.is-switching .topbar__nav a { opacity: 0; }

/* The English translation under the pull quote is only needed in English mode */
html[lang="id"] .press__translation { display: none; }

/* ==========================================================================
   HERO — full-viewport portrait with a cursor spotlight ("lens")
   ========================================================================== */
.hero {
  --spot-size: clamp(92px, 11vw, 176px);
  --sx: 50%;
  --sy: 30%;
  --mx: 0;
  --my: 0;
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 540px;
  overflow: clip;
  isolation: isolate;
  background: #050506;
  transition: --spot-r var(--t) var(--ease);
}
.hero.is-intro { transition-duration: 1.3s; transition-timing-function: var(--ease-out); }
.hero.is-lit { --spot-r: var(--spot-size); }
.hero.is-lit:has(.hero__layer--base :is(a, button):hover) { --spot-r: calc(var(--spot-size) * 1.32); }

@media (hover: hover) and (pointer: fine) {
  .hero.has-lens, .hero.has-lens a, .hero.has-lens button { cursor: none; }
}

.hero__layer {
  position: absolute;
  inset: 0;
  color: var(--hero-ink);
}
.hero__layer--base { --hero-ink: var(--gold); }
.hero__layer--lens {
  --hero-ink: #fff;
  z-index: 2;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at var(--sx) var(--sy), #000 calc(var(--spot-r) - 1px), transparent var(--spot-r));
  mask-image: radial-gradient(circle at var(--sx) var(--sy), #000 calc(var(--spot-r) - 1px), transparent var(--spot-r));
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Parallax: every .px element drifts opposite to the cursor by its own depth (--d) */
.px {
  translate: calc(var(--mx) * var(--d, 12) * -1px) calc(var(--my) * var(--d, 12) * -1px);
  will-change: translate;
}

.hero__media {
  position: absolute;
  inset: -3%;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 14%;
}
.hero__layer--base .hero__img { filter: grayscale(1) contrast(1.12) brightness(0.5); }
.hero__layer--lens .hero__img { filter: contrast(1.04) saturate(1.1) brightness(0.95); }

.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(62% 58% at 0% 0%, rgba(6, 6, 7, 0.92) 0%, rgba(6, 6, 7, 0.6) 42%, rgba(6, 6, 7, 0) 100%),
    radial-gradient(42% 40% at 100% 0%, rgba(6, 6, 7, 0.75) 0%, rgba(6, 6, 7, 0) 100%),
    linear-gradient(180deg, rgba(6, 6, 7, 0.45) 0%, rgba(6, 6, 7, 0) 30%, rgba(6, 6, 7, 0) 52%, rgba(6, 6, 7, 0.94) 100%);
}
/* Scanlines on the monochrome base only — the light reveals the "clean" photo */
.hero__layer--base .hero__shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.32) 0 1px, transparent 1px 3px);
  opacity: 0.55;
}
.hero__layer--lens .hero__shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--sx) var(--sy), rgba(255, 214, 150, 0.14), transparent var(--spot-r));
}

.hero__ring {
  position: absolute;
  left: 0; top: 0;
  z-index: 3;
  width: calc(var(--spot-r) * 2);
  height: calc(var(--spot-r) * 2);
  translate: calc(var(--sx) - var(--spot-r)) calc(var(--sy) - var(--spot-r));
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.hero.is-lit .hero__ring { opacity: 1; }
.hero__ring::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 5px; height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity var(--t) var(--ease), scale var(--t) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .hero__ring::after { opacity: 1; }
  .hero:has(.hero__layer--base :is(a, button):hover) .hero__ring::after { scale: 2.2; }
}

/* Corners */
.hero__corner { position: absolute; z-index: 2; }
.hero__corner--tl { left: var(--gutter); top: calc(var(--gutter) + env(safe-area-inset-top, 0px)); }
.hero__corner--tr {
  right: var(--gutter);
  top: calc(var(--gutter) + env(safe-area-inset-top, 0px));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.hero__corner--bl { left: var(--gutter); bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px)); }
.hero__corner--br { right: calc(var(--gutter) - 10px); bottom: calc(var(--gutter) - 10px + env(safe-area-inset-bottom, 0px)); }

.hero__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.1rem, 7.8vw, 8.2rem);
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.hero__name .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero__name .line > span { display: inline-block; }
.hero__name .line:nth-child(2) > span {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8em;
  font-stretch: 94%;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.hero__cred {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(14px, 2vh, 22px);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
}
.rule {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hero__meta {
  position: absolute;
  z-index: 2;
  top: calc(var(--gutter) + 12px);
  left: 0; right: 0;
  width: max-content;
  margin-inline: auto;
  display: grid;
  justify-items: center;
  row-gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero__meta-row { display: flex; gap: 28px; }
.hero__pulse { display: inline-flex; align-items: center; gap: 10px; }
.hero__live { display: inline-flex; align-items: center; gap: 9px; transition: opacity var(--t) var(--ease); }
.hero__live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.4; }
.hero__live:not(.is-live) span { opacity: 0.7; }
.hero__live.is-live { color: #ff6b86; }
.hero__live.is-live i { background: var(--live); opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero__live.is-live i { animation: live-blink 1.6s ease-in-out infinite; }
}
.hero__pulse i {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__pulse i::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid currentColor;
    animation: pulse 2.4s var(--ease-out) infinite;
  }
}
@keyframes pulse {
  from { opacity: 0.9; transform: scale(0.4); }
  to   { opacity: 0; transform: scale(1.8); }
}

.hero__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color var(--t) var(--ease);
}
.hero__link svg {
  width: 15px; height: 15px;
  transition: transform var(--t) var(--ease);
}
.hero__link::after {
  content: "";
  position: absolute;
  left: 0; right: 25px; bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.28);
  transform-origin: 0 50%;
  transition: transform var(--t) var(--ease);
}
.hero:has(.hero__layer--base .hero__link:hover) .hero__link::after,
.hero:has(.hero__layer--base .hero__link:focus-visible) .hero__link::after { transform: scaleX(1); }
.hero:has(.hero__layer--base .hero__link:hover) .hero__link svg { transform: translate(2px, 2px); }

.hero__role {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero__role .rule { width: 44px; }
.hero__role em {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__social { display: flex; gap: 4px; }
.hero__social a {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  transition: transform var(--t) var(--ease), color var(--t) var(--ease);
}
.hero__social svg { width: 24px; height: 24px; }
.hero:has(.hero__layer--base .hero__social li:nth-child(1) a:hover) .hero__social li:nth-child(1) a,
.hero:has(.hero__layer--base .hero__social li:nth-child(2) a:hover) .hero__social li:nth-child(2) a,
.hero:has(.hero__layer--base .hero__social li:nth-child(3) a:hover) .hero__social li:nth-child(3) a { transform: translateY(-3px); }

.hero__scroll {
  position: absolute;
  z-index: 2;
  right: calc(var(--gutter) + 12px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.hero__scroll span { writing-mode: vertical-rl; }
.hero__scroll i {
  position: relative;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: color-mix(in srgb, currentColor 25%, transparent);
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  transform-origin: 50% 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__scroll i::after { animation: scroll-line 2.2s var(--ease-in-out) infinite; }
}
@keyframes scroll-line {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* Hero intro (after the loader) */
.js .hero__media { opacity: 0; transition: opacity 1.4s var(--ease) 0.1s; }
.js .hero__img { scale: 1.14; transition: scale 2.6s var(--ease-out); }
.js .hero__name .line > span { transform: translateY(112%); transition: transform 1.25s var(--ease-out); }
.js .hero__name .line:nth-child(1) > span { transition-delay: 0.25s; }
.js .hero__name .line:nth-child(2) > span { transition-delay: 0.36s; }
.js .hero .fade-in { opacity: 0; transition: opacity 1s var(--ease) var(--delay, 0.6s); }

.js.is-loaded .hero__media { opacity: 1; }
.js.is-loaded .hero__img { scale: 1; }
.js.is-loaded .hero__name .line > span { transform: none; }
.js.is-loaded .hero .fade-in { opacity: 1; }

/* Hero hand-off: darken + drift as the page scrolls (decorative, progressive) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
}
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @media (prefers-reduced-motion: no-preference) {
    .hero::after {
      animation: hero-dim linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }
    .hero__media {
      animation: hero-drift linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }
  }
}
@keyframes hero-dim { to { opacity: 0.9; } }
@keyframes hero-drift { to { transform: translateY(18%) scale(1.06); } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about .section__head { margin-bottom: clamp(40px, 6vw, 80px); }

.manifesto {
  --n: 40;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.3vw, 4.4rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: pretty;
}
@media (min-width: 960px) {
  .manifesto { margin-left: 25%; }
}
[data-words] .w { display: inline; }

@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @media (prefers-reduced-motion: no-preference) {
    [data-words] { view-timeline: --words block; }
    [data-words] .w {
      animation: word-in linear both;
      animation-timeline: --words;
      animation-range:
        cover calc(14% + var(--i) * (36% / var(--n)))
        cover calc(20% + var(--i) * (36% / var(--n)));
    }
  }
}
@keyframes word-in { from { opacity: 0.14; } }


/* ==========================================================================
   JOIN SOBATFX — one-page sell: 01 VIP group · 02 AI Coach · 03 testimonials
   ========================================================================== */
/* Side by side: one column per part, all on one screen */
.sell__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  align-items: stretch;
}
.sell__block {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: var(--bg-2);
}
.sell__block[hidden] { display: none; }
.sell__head { display: flex; flex-direction: column; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.sell__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sell__tag {
  padding: 5px 10px;
  border: 1px solid var(--down);
  border-radius: 999px;
  color: var(--down);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sell__n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--gold); }
.sell__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}
.sell__title em { font-family: var(--sans); font-weight: 500; font-size: 0.9em; letter-spacing: -0.03em; color: var(--gold); }
.sell__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }

.sell__list { display: grid; gap: 10px; width: 100%; }
.sell__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
}
.sell__check { flex: none; width: 17px; height: 17px; margin-top: 3px; color: var(--gold); }

.sell__intro { max-width: 44ch; color: var(--ink-2); font-size: clamp(1rem, 1.3vw, 1.2rem); }
.sell__feats { display: grid; gap: 16px; width: 100%; }
.sell__feat {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
}
.sell__feat h4, .sell__feat p { grid-column: 2; }
.sell__feat .sell__check { grid-row: 1; margin-top: 4px; }
.sell__feat h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.1; }
.sell__feat p { color: var(--ink-2); font-size: 14px; line-height: 1.5; }

/* The button is the last item in every column and is pushed to the bottom, so they line up */
.sell__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.sell__note { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }


/* Testimonials — a collapsed bar that opens into a masonry of member screenshots */
.testi {
  margin-top: clamp(14px, 1.6vw, 22px);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: var(--bg-2);
}
.testi__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: clamp(18px, 2vw, 26px) clamp(22px, 2.4vw, 34px);
  cursor: pointer;
  list-style: none;
}
.testi__bar::-webkit-details-marker { display: none; }
.testi__n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--gold); }
.testi__title { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.4rem); line-height: 1; }
.testi__title em { font-family: var(--sans); font-weight: 500; font-size: 0.9em; letter-spacing: -0.03em; color: var(--gold); }
.testi__count {
  padding: 4px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.testi__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #111;
  font-size: 13px;
  font-weight: 500;
  transition: background-color var(--t) var(--ease);
}
.testi__toggle svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.testi__bar:hover .testi__toggle { background: var(--gold); }
.testi[open] .testi__toggle svg { transform: rotate(180deg); }
.testi__close, .testi[open] .testi__open { display: none; }
.testi[open] .testi__close { display: inline; }
.testi[open] .testi__bar { border-bottom: 1px solid var(--line); }

.testi__body { display: grid; gap: 18px; padding: clamp(18px, 2vw, 28px); }
.testi__label {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.testi__label span:last-child { color: var(--muted); }
.testi__quotes + .testi__label { margin-top: 18px; }

/* Written testimonials: a masonry of quote cards */
.testi__quotes { columns: 3 260px; column-gap: 14px; }
.tq {
  break-inside: avoid;
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0d0d0f;
}
.tq blockquote { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: var(--ink); }
.tq__who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}
.tq__avatar {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  flex: none;
  border-radius: 50%;
  background: rgba(212, 182, 124, 0.16);
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Proof screenshots: one uniform frame, top-aligned crop, caption underneath */
.testi__proofs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.tp figure { margin: 0; display: flex; flex-direction: column; height: 100%; }
.tp__frame {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(212, 182, 124, 0.28);
  border-radius: 16px;
  background: #0b0b0c;
}
.tp__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: scale 0.6s var(--ease-out);
}
.tp:hover .tp__frame img { scale: 1.04; }
.tp figcaption { display: flex; flex-direction: column; gap: 6px; padding: 12px 4px 0; }
.tp__quote { font-family: var(--serif); font-size: 1.05rem; line-height: 1.25; color: var(--ink); }
.tp__who { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted); }

.testi__meetup { position: relative; margin: 4px 0 0; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); }
.testi__meetup img { width: 100%; height: clamp(260px, 32vw, 460px); object-fit: cover; object-position: center 30%; }
.testi__meetup figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
@media (prefers-reduced-motion: no-preference) {
  .testi[open] .testi__body > * { animation: testi-in 0.5s var(--ease-out) both; }
}
.testi__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 clamp(18px, 2vw, 28px) 18px;
  padding: 12px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.testi__more svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.testi__more:hover { border-color: var(--gold); color: var(--gold); }
.testi__more:hover svg { transform: translate(2px, -2px); }
.testi__note {
  padding: 0 clamp(18px, 2vw, 28px) clamp(18px, 2vw, 28px);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 560px) {
  .testi__count { display: none; }
  .testi__toggle { padding: 9px 12px; }
}

/* Odometer digits */
.odo__col {
  display: inline-block;
  width: var(--w0, auto);
  height: 1em;
  overflow: hidden;
  transition: width 1.8s var(--ease-out) var(--delay, 0s);
}
.is-in .odo__col { width: var(--w, auto); }
.odo__strip {
  display: flex;
  flex-direction: column;
  transition: transform 1.8s var(--ease-out) var(--delay, 0s);
}
.odo__strip > span { display: block; height: 1em; line-height: 1; text-align: center; }
.odo__char { display: inline-block; height: 1em; line-height: 1; color: var(--gold); }
.is-in .odo__strip { transform: translateY(calc(var(--v) * -1em)); }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: clamp(18px, 2.4vw, 32px);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  width: max-content;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 6.8rem);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__track .outline {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.86em;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
}
.marquee__track i {
  font-style: normal;
  font-size: 0.32em;
  color: var(--gold);
}
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 42s linear infinite; }
}
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(12px, 1.5vw, 24px))); } }

/* ==========================================================================
   FOREX (SobatFX) — the main focus · OTHER VENTURES — second
   ========================================================================== */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "eyebrow eyebrow"
    "title lead";
  align-items: end;
  gap: 28px clamp(24px, 4vw, 80px);
  padding-bottom: clamp(48px, 7vw, 100px);
}
.section-head .eyebrow { grid-area: eyebrow; }
.section-head .display { grid-area: title; }
.section-head .lead { grid-area: lead; }

.forex__top { margin-bottom: clamp(28px, 4vw, 48px); }
.forex__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 4.5vw, 80px);
  align-items: stretch;
}
.visual.forex__chart { min-height: clamp(460px, 68vh, 640px); }

.ventures__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.vcard {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-2);
}
.vcard .visual { min-height: 0; height: clamp(280px, 26vw, 360px); }
.vcard .venture__copy { justify-content: flex-start; }
.vcard .venture__logo { width: 56px; margin-bottom: 18px; border-radius: 14px; }
.vcard .venture__name { font-size: clamp(2.2rem, 3.4vw, 3.4rem); }
.vcard .chips { margin-block: 18px 22px; }

.venture__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 1480px;
  width: 100%;
  margin-inline: auto;
}
.venture__idx { color: var(--ink); white-space: nowrap; }
.venture__idx i { font-style: normal; color: var(--muted); }
.venture__handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: 0.06em;
  transition: color var(--t) var(--ease);
}
.venture__handle svg { width: 14px; height: 14px; transition: transform var(--t) var(--ease); }
.venture__handle:hover { color: var(--gold); }
.venture__handle:hover svg { transform: translate(2px, -2px); }

.venture__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.venture__logo {
  width: clamp(60px, 5.6vw, 84px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line-2);
  margin-bottom: clamp(18px, 3vh, 32px);
}
.venture__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.4vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.venture__name em { color: var(--gold); }
.venture__tagline {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(14px, 2.4vh, 24px);
}
.venture__desc {
  max-width: 44ch;
  color: var(--ink-2);
  font-size: clamp(15px, 1.08vw, 17px);
  text-wrap: pretty;
}
.venture__desc em { color: var(--ink); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: clamp(18px, 3vh, 28px);
}
.chips li {
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #111;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background-color var(--t) var(--ease), gap var(--t) var(--ease);
}
.btn svg {
  width: 26px; height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: #111;
  color: var(--ink);
  transition: transform var(--t) var(--ease), background-color var(--t) var(--ease);
}
.btn:hover { background: var(--gold); gap: 18px; }
.btn:hover svg { transform: rotate(45deg); }

/* Visual panels */
.visual {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: #0b0b0c;
}
.visual__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.visual__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* — Live market (SobatFX) — */
.mkt__bar { flex-wrap: wrap; row-gap: 10px; padding-block: 10px; }
.seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.seg__btn {
  padding: 6px 11px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.seg__btn:hover { color: var(--ink); }
.seg__btn.is-on { background: rgba(212, 182, 124, 0.16); color: var(--gold); }

.mkt__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 16px 18px 2px;
}
.mkt__sym {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink);
}
.mkt__sym small {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.mkt__quote { display: flex; align-items: baseline; gap: 12px; }
.mkt__price {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.mkt__price.tick-up { animation: tick-up 0.9s var(--ease); }
.mkt__price.tick-down { animation: tick-down 0.9s var(--ease); }
@keyframes tick-up { from { color: var(--up); } }
@keyframes tick-down { from { color: var(--down); } }
.mkt__chg {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--up);
}
.mkt__chg.is-down { color: var(--down); }

.mkt__chart { position: relative; flex: 1; min-height: 220px; }
.mkt__state {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  background: #0b0b0c;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.mkt__state[hidden], .mkt__retry[hidden] { display: none; }
.mkt__retry {
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.mkt__retry:hover { border-color: var(--gold); color: var(--gold); }

.mkt .visual__foot { flex-wrap: wrap; row-gap: 8px; column-gap: 16px; }
.mkt .visual__foot > * { white-space: nowrap; }
.mkt__status { display: inline-flex; align-items: center; gap: 8px; }
.mkt__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.mkt__status[data-mode="live"] i { background: var(--up); }
.mkt__status[data-mode="delayed"] i { background: var(--gold); }
.mkt__status[data-mode="closed"] i { background: var(--down); opacity: 0.8; }
@media (prefers-reduced-motion: no-preference) {
  .mkt__status[data-mode="live"] i { animation: live-dot 2s var(--ease-out) infinite; }
}
@keyframes live-dot {
  from { box-shadow: 0 0 0 0 rgba(34, 179, 107, 0.6); }
  to   { box-shadow: 0 0 0 8px rgba(34, 179, 107, 0); }
}

/* — Gauge — */
.visual--gauge {
  background:
    radial-gradient(70% 60% at 50% 55%, rgba(212, 182, 124, 0.08), transparent 70%),
    #0b0b0c;
}
.gauge {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  min-height: 0;
  padding: 12px;
}
.gauge .track { fill: none; stroke: rgba(244, 241, 234, 0.12); stroke-width: 1.5; }
.gauge .redline { fill: none; stroke: var(--down); stroke-width: 5; stroke-linecap: round; opacity: 0.9; }
.gauge .tick { stroke: rgba(244, 241, 234, 0.35); stroke-width: 1; }
.gauge .tick.maj { stroke: var(--ink); stroke-width: 2; }
.gauge .tick.red { stroke: var(--down); }
.gauge text {
  fill: var(--ink-2);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  text-anchor: middle;
  dominant-baseline: central;
}
.gauge .sub { fill: var(--muted); font-size: 10px; letter-spacing: 0.2em; }
.gauge .brand-text { fill: var(--gold); font-family: var(--serif); font-size: 24px; letter-spacing: 0.01em; text-transform: uppercase; }
.gauge__needle {
  transform-box: view-box;
  transform-origin: 200px 196px;
  rotate: 165deg;
}
.gauge__needle line { stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }
.gauge__needle .tail { stroke: var(--gold); stroke-width: 3; opacity: 0.5; }
.gauge .hub { fill: #0b0b0c; stroke: var(--gold); stroke-width: 2; }
.gauge .hub-dot { fill: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .visual--gauge.is-live .gauge__needle { animation: rev 7.5s var(--ease-in-out) infinite; }
}
@keyframes rev {
  0%, 10% { rotate: 165deg; }
  28%     { rotate: 352deg; }
  34%     { rotate: 318deg; }
  50%     { rotate: 384deg; }
  56%     { rotate: 372deg; }
  72%     { rotate: 212deg; }
  86%, 100% { rotate: 165deg; }
}

.streaks { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.streaks i {
  position: absolute;
  left: 0;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 241, 234, 0.35), transparent);
  transform: translateX(260%);
  opacity: 0.6;
}
.streaks i:nth-child(1) { top: 22%; }
.streaks i:nth-child(2) { top: 38%; width: 30%; }
.streaks i:nth-child(3) { top: 54%; width: 55%; }
.streaks i:nth-child(4) { top: 66%; width: 26%; }
.streaks i:nth-child(5) { top: 78%; width: 48%; }
.streaks i:nth-child(6) { top: 88%; width: 34%; }
@media (prefers-reduced-motion: no-preference) {
  .visual--gauge.is-live .streaks i { animation: streak 2.4s linear infinite; }
  .visual--gauge.is-live .streaks i:nth-child(2) { animation-duration: 1.7s; animation-delay: -0.6s; }
  .visual--gauge.is-live .streaks i:nth-child(3) { animation-duration: 3.1s; animation-delay: -1.2s; }
  .visual--gauge.is-live .streaks i:nth-child(4) { animation-duration: 1.9s; animation-delay: -0.3s; }
  .visual--gauge.is-live .streaks i:nth-child(5) { animation-duration: 2.7s; animation-delay: -2s; }
  .visual--gauge.is-live .streaks i:nth-child(6) { animation-duration: 2.2s; animation-delay: -1.5s; }
}
@keyframes streak { from { transform: translateX(260%); } to { transform: translateX(-110%); } }

.deal { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.deal__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--up);
  transition: background-color var(--t) var(--ease);
}
.deal.is-sell .deal__dot { background: var(--gold); }
.deal__word { display: inline-block; min-width: 4ch; }
.deal__word.is-flip { animation: flip-in 0.5s var(--ease-out); }
@keyframes flip-in { from { opacity: 0; transform: translateY(60%); } }

/* — Property plan — */
.visual--plan {
  background-color: #0b0b0c;
  background-image:
    linear-gradient(rgba(212, 182, 124, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 182, 124, 0.075) 1px, transparent 1px),
    linear-gradient(rgba(212, 182, 124, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 182, 124, 0.03) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  background-position: -1px -1px;
}
.plan { flex: 1; width: 100%; min-height: 0; padding: 8px 16px; }
.plan path, .plan circle {
  fill: none;
  stroke: rgba(244, 241, 234, 0.8);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.plan text {
  fill: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-anchor: middle;
}
.plan .plan__ground { stroke: rgba(244, 241, 234, 0.35); }
.plan .plan__plotline { stroke: var(--gold); stroke-dasharray: 4 7; }
.plan__plot { transition: opacity 0.6s var(--ease); }
.plan__pin { transition: transform 0.9s var(--ease-out), opacity 0.5s var(--ease); }
.plan__pin path { fill: var(--gold); stroke: none; }
.plan__pin circle { fill: #0b0b0c; stroke: none; }
.plan__dims { transition: opacity 0.6s var(--ease); }

.plan .draw {
  stroke-linecap: butt; /* round caps would leave a dot on undrawn (zero-length) dashes */
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition:
    stroke-dashoffset 0.5s var(--ease),
    stroke 0.8s var(--ease),
    stroke-width 0.8s var(--ease),
    fill 0.9s var(--ease);
}
.plan .draw.thin { stroke-width: 1; }

/* Step 1 — Info: the plot and the pin */
[data-step="1"] .plan__pin { transform: translateY(0); opacity: 1; }
[data-step="1"] .plan__dims { opacity: 0; }

/* Step 2 — Design: blueprint lines draw in */
[data-step="2"] .plan__pin,
[data-step="3"] .plan__pin { transform: translateY(-36px); opacity: 0; }
[data-step="2"] .plan .draw,
[data-step="3"] .plan .draw {
  stroke-dashoffset: 0;
  transition:
    stroke-dashoffset 1.2s var(--ease) calc(var(--i) * 0.13s),
    stroke 0.8s var(--ease),
    stroke-width 0.8s var(--ease),
    fill 0.9s var(--ease);
}

/* Step 3 — Build: solid, lit, finished */
[data-step="3"] .plan__dims { opacity: 0.25; }
[data-step="3"] .plan__plot { opacity: 0.4; }
[data-step="3"] .plan__house .draw { stroke: var(--gold); stroke-width: 2.2; }
[data-step="3"] .plan__house .draw.thin { stroke-width: 1.4; }
[data-step="3"] .plan .roof { fill: rgba(212, 182, 124, 0.16); }
[data-step="3"] .plan .walls { fill: rgba(212, 182, 124, 0.07); }
[data-step="3"] .plan .door { fill: rgba(212, 182, 124, 0.38); }
[data-step="3"] .plan .win { fill: #f3d892; filter: drop-shadow(0 0 10px rgba(243, 216, 146, 0.65)); }

.steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.steps li {
  position: relative;
  padding: 14px 18px 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--t) var(--ease);
}
.steps li + li { border-left: 1px solid var(--line); }
.steps__n { color: var(--gold); margin-right: 8px; }
.steps__bar {
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 1px;
}
.steps__bar i {
  display: block;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
[data-step="1"] .steps li:nth-child(1),
[data-step="2"] .steps li:nth-child(2),
[data-step="3"] .steps li:nth-child(3) { color: var(--ink); }
[data-step="1"] .steps li:nth-child(1) .steps__bar i,
[data-step="2"] .steps li:nth-child(2) .steps__bar i,
[data-step="3"] .steps li:nth-child(3) .steps__bar i { animation: fill-bar var(--step-ms, 3400ms) linear forwards; }
@keyframes fill-bar { to { transform: scaleX(1); } }


/* ==========================================================================
   STAGE
   ========================================================================== */
.stage__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.stage__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 22px;
  background: var(--bg-3);
}
.stage__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: grayscale(1) contrast(1.06) brightness(0.9);
  transition: filter 0.6s var(--ease);
}
.stage__media:hover img { filter: none; }
.stage__media figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 48px 20px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.stage__copy { display: flex; flex-direction: column; gap: 28px; }
.stage__copy .display { font-size: clamp(2.3rem, 4.8vw, 4.8rem); }
.stage__copy .lead { max-width: 40ch; }
.stage__copy .muted { max-width: 48ch; }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 12px;
}
.facts > div { padding-block: 16px; border-top: 1px solid var(--line); }
.facts dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.facts dd { font-family: var(--serif); font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.3; }

@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @media (prefers-reduced-motion: no-preference) {
    .stage__media {
      animation: clip-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 42%;
    }
    .stage__media img {
      animation: settle linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 60%;
    }
  }
}
@keyframes clip-reveal {
  from { clip-path: inset(12% 14% 12% 14% round 22px); }
  to   { clip-path: inset(0 0 0 0 round 22px); }
}
@keyframes settle { from { scale: 1.3; } to { scale: 1.02; } }

/* ==========================================================================
   PRESS
   ========================================================================== */
/* Article list */
.press__list { border-bottom: 1px solid var(--line); }
.article {
  display: grid;
  grid-template-columns: 40px minmax(140px, 220px) minmax(0, 1fr) 110px 24px;
  align-items: center;
  gap: 24px;
  padding-block: clamp(20px, 2.4vw, 30px);
  border-top: 1px solid var(--line);
  transition: padding var(--t) var(--ease), background-color var(--t) var(--ease);
}
.article__n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.article__pub {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.9vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  transition: color var(--t) var(--ease);
}
.article__title {
  color: var(--ink-2);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.45;
  text-wrap: pretty;
  transition: color var(--t) var(--ease);
}
.article__date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
  color: var(--muted);
  white-space: nowrap;
}
.article__arrow {
  width: 22px; height: 22px;
  color: var(--muted);
  transition: transform var(--t) var(--ease), color var(--t) var(--ease);
}
.article:hover, .article:focus-visible {
  padding-inline: 14px;
  background: rgba(212, 182, 124, 0.045);
}
.article:hover .article__pub, .article:focus-visible .article__pub { color: var(--gold); }
.article:hover .article__title, .article:focus-visible .article__title { color: var(--ink); }
.article:hover .article__arrow, .article:focus-visible .article__arrow { color: var(--gold); transform: rotate(45deg); }

/* "Read" disc that follows the cursor over the list (fine pointers only) */
.press__cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 65;
  display: grid;
  place-items: center;
  width: 84px; height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
  translate: var(--cx, -200px) var(--cy, -200px);
  scale: 0;
  transition: scale var(--t) var(--ease);
}
.press__cursor.is-on { scale: 1; }

/* The quote is the section's centerpiece */
.press .eyebrow { margin-bottom: clamp(40px, 6vw, 88px); }
.press__quote { display: grid; gap: 24px; margin: 0; }
.press__quote blockquote { margin: 0; }
.press__quote blockquote p {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-indent: -0.38em; /* hang the opening quote mark so the text edge stays clean */
  text-wrap: balance;
}
.press__quote em { color: var(--gold); }
.press__translation {
  max-width: 52ch;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}
.press__quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 960px) {
  .press__quote { margin-left: 25%; }
}

/* "Featured in" — the articles back the quote up */
.press__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(96px, 12vw, 180px);
  padding-bottom: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.press__label span:first-child { color: var(--gold); }

/* ==========================================================================
   SNAPSHOTS — a horizontal reel.
   Default: a swipeable, snap-scrolling row (touch, reduced motion, Firefox).
   Enhanced: pinned while vertical scroll drives the track sideways.
   ========================================================================== */
.snaps { position: relative; padding-block: clamp(96px, 12vw, 180px); }
.snaps__pin {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4.4vh, 52px);
  timeline-scope: --reel-x;
}
.snaps__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
}
.snaps__intro { display: flex; flex-direction: column; gap: 20px; }

/* Instagram profile chip */
.igp {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 7px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.02);
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.igp__avatar {
  flex: none;
  width: 54px; height: 54px;
  padding: 2px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--gold), #f4e4b8, var(--gold-deep), var(--gold));
}
.igp__avatar img {
  width: 100%; height: 100%;
  border: 2px solid var(--bg);
  border-radius: 50%;
  object-fit: cover;
}
.igp__text { display: flex; flex-direction: column; line-height: 1.3; padding-right: 6px; }
.igp__text strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
.igp__text small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.igp__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #111;
  font-size: 13px;
  font-weight: 500;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.igp__btn svg { width: 16px; height: 16px; }
.igp__btn + .igp__btn { margin-left: -6px; }
.igp__btn--alt {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.igp__btn:hover, .igp__btn:focus-visible { background: var(--gold); color: #111; box-shadow: none; }

/* The reel */
.reel {
  --h: clamp(300px, min(96vw, 60vh), 580px); /* frame height of a tall shot */
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-timeline: --reel-x x;
  scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel__track {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  width: max-content;
  padding-inline: var(--gutter);
}
.shot { flex: none; scroll-snap-align: start; scroll-margin-inline: var(--gutter); }
.shot--tall, .shot--cta { width: calc(var(--h) * 0.75); }
.shot--wide { width: calc(var(--h) * 1.12); }
.shot--quote { width: calc(var(--h) * 0.86); }
.shot figure { margin: 0; }
.shot__link { display: block; }
.shot__frame {
  position: relative;
  overflow: hidden;
  height: var(--h);
  border-radius: 18px;
  background: var(--bg-3);
}
.shot--wide .shot__frame { height: calc(var(--h) * 0.8); }
.shot__frame img {
  width: 116%;
  max-width: none;
  height: 100%;
  margin-left: -8%;
  object-fit: cover;
  filter: saturate(0.88) brightness(0.92);
  transition: scale 0.8s var(--ease-out), filter var(--t) var(--ease);
}
.shot__link:hover .shot__frame img,
.shot__link:focus-visible .shot__frame img { scale: 1.04; filter: none; }

.shot__ig {
  position: absolute;
  top: 14px; right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  translate: 0 -6px;
  transition: opacity var(--t) var(--ease), translate var(--t) var(--ease);
}
.shot__ig svg { width: 15px; height: 15px; }
.shot__link:hover .shot__ig,
.shot__link:focus-visible .shot__ig { opacity: 1; translate: 0 0; }
@media (hover: none) {
  .shot__ig { opacity: 1; translate: none; padding: 8px; }
  .shot__ig span { display: none; }
}

.shot figcaption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.shot__n { color: var(--gold); }
.shot__place { color: var(--ink); }
.shot__note { margin-left: auto; overflow: hidden; text-overflow: ellipsis; }

.shot--quote {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-inline: clamp(4px, 1vw, 16px);
}
.shot__kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.shot__quote {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}
.shot__quote em { color: var(--gold); }

/* Video card — the golf clip, framed 9:16 like a reel */
.shot--video { width: calc(var(--h) * 0.5625); }
.shot--video figure { margin: 0; }
.shot--video video { width: 100%; height: 100%; object-fit: cover; }
.shot--video .shot__frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  pointer-events: none;
}
.clip__toggle {
  position: absolute;
  right: 12px; bottom: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(244, 241, 234, 0.28);
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.clip__toggle:hover { background: var(--gold); border-color: var(--gold); color: #111; }
.clip__toggle svg { width: 15px; height: 15px; }
[data-clip] .i-pause { display: none; }
[data-clip].is-playing .i-pause { display: block; }
[data-clip].is-playing .i-play { display: none; }
.clip__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  height: 3px;
  background: rgba(244, 241, 234, 0.14);
}
.clip__progress i {
  display: block;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* Closing Instagram card */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template: "icon arrow" auto ". ." 1fr "title title" auto "handle handle" auto / 1fr auto;
  row-gap: 10px;
  height: var(--h);
  padding: clamp(20px, 2vw, 28px);
  border: 1px solid rgba(212, 182, 124, 0.35);
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(212, 182, 124, 0.16), transparent 60%),
    var(--bg-2);
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
.cta:hover, .cta:focus-visible { color: #111; border-color: var(--gold); }
.cta:hover::before, .cta:focus-visible::before { transform: none; }
.cta__icon { grid-area: icon; color: var(--gold); transition: color 0.45s var(--ease); }
.cta__icon svg { width: 46px; height: 46px; }
.cta__arrow { grid-area: arrow; }
.cta__arrow svg { width: 36px; height: 36px; transition: transform var(--t) var(--ease); }
.cta__title {
  grid-area: title;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
}
.cta__title em { color: var(--gold); transition: color 0.45s var(--ease); }
.cta__handle {
  grid-area: handle;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.45s var(--ease);
}
.cta:hover .cta__icon, .cta:hover .cta__title em, .cta:hover .cta__handle,
.cta:focus-visible .cta__icon, .cta:focus-visible .cta__title em, .cta:focus-visible .cta__handle { color: #111; }
.cta:hover .cta__arrow svg, .cta:focus-visible .cta__arrow svg { transform: rotate(45deg); }

/* Progress line */
.snaps__foot {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hint-pin { display: none; }
.snaps__progress {
  position: relative;
  flex: 1;
  height: 1px;
  overflow: hidden;
  background: var(--line-2);
}
.snaps__progress i {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0.2);
  transform-origin: 0 50%;
}

@supports ((animation-timeline: view()) and (animation-range: entry)) {
  /* Swipe mode: the progress line follows the reel's own horizontal scroll */
  .snaps__progress i {
    animation: grow-x linear both;
    animation-timeline: --reel-x;
  }

  /* Pinned mode */
  @media (min-width: 960px) and (min-height: 640px) and (prefers-reduced-motion: no-preference) {
    .snaps {
      height: var(--snaps-h, 320vh);
      padding-block: 0;
      view-timeline: --snaps block;
    }
    .snaps__pin {
      position: sticky;
      top: 0;
      height: 100vh;
      height: 100svh;
      justify-content: center;
      padding-block: 76px 28px;
      overflow: clip;
      container-type: inline-size;
    }
    .reel {
      --h: clamp(240px, calc(100svh - 400px), 580px);
      overflow: visible;
      scroll-snap-type: none;
    }
    /* Shorthands first: `animation` resets the timeline, so the timeline comes after. */
    .reel__track { animation: reel-x linear both; }
    .shot__frame img { animation: reel-parallax linear both; }
    .snaps__progress i { animation: grow-x linear both; }
    .hint-pin { display: inline; }
    .hint-swipe { display: none; }
    .reel__track,
    .shot__frame img,
    .snaps__progress i {
      animation-timeline: --snaps;
      animation-range: contain 4% contain 96%;
    }
  }
}
@keyframes grow-x { from { transform: scaleX(0.04); } to { transform: scaleX(1); } }
@keyframes reel-x { to { transform: translateX(calc(-100% + 100cqw)); } }
@keyframes reel-parallax {
  from { transform: translateX(6.5%); }
  to   { transform: translateX(-6.5%); }
}

/* ==========================================================================
   CONTACT + FOOTER
   ========================================================================== */
.contact { padding-bottom: 0; }
.contact__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(4.6rem, 15vw, 15rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  margin: 28px 0 24px;
}
.contact__title em { color: var(--gold); }

.rows { margin-top: clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.row {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(120px, 220px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding-block: clamp(20px, 3vw, 36px);
  border-top: 1px solid var(--line);
  overflow: hidden;
  transition: color var(--t) var(--ease);
}
.row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform var(--t) var(--ease);
}
.row__k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: transform var(--t) var(--ease), color var(--t) var(--ease);
}
.row__v {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  transition: transform var(--t) var(--ease);
}
.row__arrow {
  width: clamp(28px, 3vw, 44px);
  height: clamp(28px, 3vw, 44px);
  transition: transform var(--t) var(--ease);
}
.row:hover, .row:focus-visible { color: #111; }
.row:hover::before, .row:focus-visible::before { transform: scaleY(1); }
.row:hover .row__k, .row:focus-visible .row__k { color: #111; transform: translateX(18px); }
.row:hover .row__v, .row:focus-visible .row__v { transform: translateX(10px); }
.row:hover .row__arrow, .row:focus-visible .row__arrow { transform: translateX(-18px) rotate(45deg); }

.brands {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 6vw, 72px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.brand img {
  width: 56px; height: 56px;
  flex: none;
  border-radius: 12px;
  object-fit: cover;
}
.brand strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.2;
}
.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color var(--t) var(--ease);
}
.brand:hover { border-color: rgba(212, 182, 124, 0.5); background: rgba(212, 182, 124, 0.05); }
.brand:hover small { color: var(--gold); }

.footer { margin-top: clamp(80px, 10vw, 140px); }
.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__bar a { transition: color var(--t) var(--ease); }
.footer__bar a:hover { color: var(--gold); }

/* ==========================================================================
   TikTok LIVE — notification card + badges (html.is-tiktok-live)
   ========================================================================== */
:root { --live: #fe2c55; }

.topbar__live {
  display: none;
  align-items: center;
  gap: 7px;
  margin: 0 auto 0 18px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(254, 44, 85, 0.14);
  color: #ff6b86;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.topbar__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.is-tiktok-live .topbar__live { display: inline-flex; }

a[data-live-mark] { position: relative; }
.is-tiktok-live a[data-live-mark]::after {
  content: "LIVE";
  position: absolute;
  top: -4px; right: -6px;
  padding: 3px 5px;
  border-radius: 4px;
  background: var(--live);
  color: #fff;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  pointer-events: none;
}
.is-tiktok-live .cta[data-live-mark]::after {
  top: clamp(24px, 2.4vw, 32px);
  left: calc(clamp(20px, 2vw, 28px) + 58px);
  right: auto;
  padding: 5px 8px;
  font-size: 10px;
}
.is-tiktok-live .row[data-live-mark]::after { content: none; }
.is-tiktok-live .row[data-live-mark] .row__k::after { content: " · Live"; color: var(--live); }

.live-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  max-width: min(480px, calc(100vw - 2 * var(--gutter)));
  padding: 8px;
  border: 1px solid rgba(254, 44, 85, 0.35);
  border-radius: 22px;
  background: rgba(16, 16, 18, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  translate: -50% 0;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease-out);
}
.live-toast.is-in { opacity: 1; transform: none; pointer-events: auto; }
.live-toast__link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding-right: 4px; }
.live-toast__avatar {
  position: relative;
  flex: none;
  width: 48px; height: 48px;
  padding: 2px;
  border-radius: 50%;
  background: var(--live);
}
.live-toast__avatar img { width: 100%; height: 100%; border: 2px solid #101012; border-radius: 50%; object-fit: cover; }
.live-toast__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.live-toast__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff6b86;
}
.live-toast__badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.live-toast__text strong,
.live-toast__text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-toast__text strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; line-height: 1.15; color: var(--ink); }
.live-toast__text small { font-size: 12.5px; color: var(--ink-2); }
.live-toast__cta {
  flex: none;
  margin-left: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--live);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: filter var(--t) var(--ease);
}
.live-toast__link:hover .live-toast__cta { filter: brightness(1.12); }
.live-toast__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.live-toast__close:hover { color: var(--ink); background: rgba(244, 241, 234, 0.08); }
.live-toast__close svg { width: 16px; height: 16px; }

@media (prefers-reduced-motion: no-preference) {
  .live-toast__avatar::after {
    content: "";
    position: absolute;
    inset: -3px;
    border: 2px solid var(--live);
    border-radius: 50%;
    animation: live-ring 1.8s var(--ease-out) infinite;
  }
  .is-tiktok-live a[data-live-mark]::after,
  .topbar__live i,
  .live-toast__badge i { animation: live-blink 1.6s ease-in-out infinite; }
}
@keyframes live-ring { from { opacity: 0.9; transform: scale(0.92); } to { opacity: 0; transform: scale(1.35); } }
@keyframes live-blink { 50% { opacity: 0.45; } }

@media (max-width: 560px) {
  .is-tiktok-live .topbar__live { display: none; }
  .live-toast { left: 12px; right: 12px; width: auto; max-width: none; translate: none; }
  .live-toast__cta { padding: 9px 12px; }
}

/* ==========================================================================
   Reveal on scroll (JS adds .is-in)
   ========================================================================== */
.js [data-reveal] {
  transition:
    opacity 0.9s var(--ease) var(--delay, 0s),
    transform 1.1s var(--ease-out) var(--delay, 0s);
}
.js [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(28px);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Smaller screens: the info line moves to the bottom, above Tradepreneur / socials */
@media (max-width: 1100px) {
  .hero__meta {
    top: auto;
    bottom: calc(var(--gutter) + 64px + env(safe-area-inset-bottom, 0px));
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
    margin: 0;
    justify-items: start;
    row-gap: 8px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .hero__meta-row { flex-wrap: wrap; gap: 8px 18px; }
  .hero__meta-row > * { white-space: nowrap; }
}

@media (max-width: 959px) {
  .forex__grid, .ventures__grid { grid-template-columns: minmax(0, 1fr); }
  .visual { min-height: clamp(300px, 72vw, 460px); }
  .visual.forex__chart { min-height: clamp(420px, 110vw, 540px); }
  .vcard .visual { height: clamp(280px, 70vw, 360px); }
  .section-head {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "eyebrow" "title" "lead";
  }
  .stage__grid { grid-template-columns: minmax(0, 1fr); }
  .snaps__head { align-items: flex-start; }
  .article {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    grid-template-areas: "n pub date" ". title title";
    row-gap: 8px;
  }
  .article__n { grid-area: n; }
  .article__pub { grid-area: pub; }
  .article__date { grid-area: date; }
  .article__title { grid-area: title; }
  .article__arrow { display: none; }
  .brands { grid-template-columns: minmax(0, 1fr); }
  .gridlines { grid-template-columns: repeat(2, 1fr); }
  .gridlines i:nth-child(n + 3) { display: none; }
  .gridlines i:nth-child(2) { border-right: 1px solid rgba(244, 241, 234, 0.035); }
}

@media (max-width: 700px) {
  .hero__scroll { display: none; }
  .hero__name { font-size: clamp(2.7rem, 12.5vw, 4rem); }
  .topbar__nav a:nth-child(2), .topbar__nav a:nth-child(3) { display: none; }
  .sell__grid { grid-auto-flow: row; grid-auto-columns: auto; }
  .row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .row__k { grid-column: 1 / -1; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .footer__bar { flex-direction: column; align-items: flex-start; }
  .footer__role { display: none; }
  .venture__cat { display: none; }
  .hero__link { font-size: 11px; letter-spacing: 0.14em; }
}

/* Portrait phones: the photo is height-bound and his head sits near its top edge,
   so drop it a little and fade its top into the dark background to clear the name. */
@media (max-width: 700px) and (orientation: portrait) {
  .hero__media {
    top: 9%;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%);
    mask-image: linear-gradient(to bottom, transparent, #000 16%);
  }
}

/* Narrow screens: the topbar keeps Trader & Businessman + the language toggle */
@media (max-width: 560px) {
  .topbar__nav a:nth-child(4) { display: none; }
}

@media (max-width: 480px) {
  /* "Trader & Businessman" is long: wrap it right-aligned in the hero, tighten it in the topbar */
  .hero__link { align-items: flex-start; }
  .hero__link span { max-width: 7.5em; text-align: right; line-height: 1.45; }
  .topbar { gap: 12px; }
  .topbar__mark { font-size: 0.98rem; }
  .topbar__nav { gap: 12px; }
  .topbar__nav a { font-size: 10px; letter-spacing: 0.06em; }
  .topbar .lang { margin-left: 0; padding-left: 10px; }
  .igp__text { display: none; }
  .hero__role { gap: 10px; }
  .hero__role .rule { width: 20px; }
  .hero__social a { width: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .loader { display: none; }
  .js [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
  .hero, .hero * { transition-duration: 0.01ms !important; }
}
