/* =========================================================
   Nathanyel Crosiar — "After Rain" / Editorial Index
   Dark romance · rain · modern. Hand-coded, no framework.
   ========================================================= */

:root {
  --ink:       #08080a;
  --ink-2:     #0d0d12;
  --paper:     #f2f1f4;
  --muted:     #9a979e;
  --muted-2:   #6b686f;

  --accent:      #c9c6cf;   /* platinum / silver */
  --accent-soft: #f1eff3;   /* bright platinum-white */

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100svh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- Cross-fading cinematic background ---------- */
.stage { position: fixed; inset: 0; z-index: 0; background: radial-gradient(140% 110% at 50% -10%, #15101a 0%, var(--ink-2) 40%, var(--ink) 100%); }
.bg-layer {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.40) saturate(0.95) contrast(1.05);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.8s ease, transform 6s ease-out;
  will-change: opacity, transform;
}
.bg-layer.is-active { opacity: 1; transform: scale(1.12); }

/* the cybersigilism sword, centered behind everything; black bg drops out
   via screen blend. Fades away when a link image floods the screen. */
.sword {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("assets/sword.webp");
  background-size: auto 84%;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.sword.on { opacity: 0.5; }

.rain     { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.veil {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(90% 70% at 18% 30%, rgba(210,214,224,0.10), transparent 60%),
    linear-gradient(180deg, rgba(6,6,8,0.62) 0%, rgba(6,6,8,0.30) 40%, rgba(6,6,8,0.78) 100%);
}
.grain {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.vignette {
  position: fixed; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 42%, transparent 52%, rgba(0,0,0,0.6) 100%);
}

/* ---------- Cinematic intro curtain ---------- */
.intro {
  position: fixed; inset: 0; z-index: 50;
  background: var(--ink);
  display: grid; place-items: center;
  transition: opacity 1s ease, visibility 1s;
}
.intro .intro-line {
  width: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
  box-shadow: 0 0 18px var(--accent-soft);
  animation: introLine 1.5s var(--ease) forwards;
}
@keyframes introLine {
  0%   { width: 0; opacity: 0; }
  40%  { opacity: 1; }
  100% { width: 240px; opacity: 0; }
}
.intro.done { opacity: 0; visibility: hidden; }

/* ---------- Layout ---------- */
.wrap {
  position: relative;
  z-index: 10;
  min-height: 100svh;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.4rem, 6vh, 4.5rem) clamp(1.5rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "lede" "drop" "index" "business" "foot";
  align-content: center;
  gap: clamp(1.8rem, 4vh, 3rem);
}
.lede  { grid-area: lede; }
.index { grid-area: index; }
.foot  { grid-area: foot; }

/* ---------- Masthead ---------- */
.masthead { text-align: center; }

.crown {
  height: 20px;
  width: auto;
  margin-right: 0.5rem;
  opacity: 0.9;
  filter: drop-shadow(0 1px 8px rgba(240,240,245,0.22));
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex; align-items: center; justify-content: center;
}
.eyebrow span { color: var(--muted); }

.name {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: 0.005em;
  font-size: clamp(3rem, 9vw, 7.5rem);
  margin: 0.5rem 0 0.7rem;
  text-transform: uppercase;
}
.name .line { display: block; overflow: hidden; }
/* once the reveal is done, let letters lift past the line without clipping */
.name.lift-ready .line { overflow: visible; }
.name .lineInner { display: block; transform: translateY(110%); }
.name.in .lineInner { transition: transform 1s var(--ease); transform: translateY(0); }
.name.in .line:nth-child(2) .lineInner { transition-delay: 0.1s; }

/* each letter: platinum text with a slow shimmer rippling across,
   and it lifts toward the cursor (handled in app.js) */
.name .ltr {
  display: inline-block;
  background: linear-gradient(115deg, #8f8c95 0%, #ffffff 50%, #8f8c95 100%);
  background-size: 240% 100%;
  background-position: 120% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.07s);
  transition: transform 0.25s var(--ease);
  will-change: transform, background-position;
}
@keyframes shimmer {
  0%   { background-position: 120% 0; }
  55%  { background-position: -20% 0; }
  100% { background-position: -20% 0; }
}

.bio {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  opacity: 0; transform: translateY(10px);
}
.bio.in { transition: opacity 0.9s ease 0.5s, transform 0.9s var(--ease) 0.5s; opacity: 1; transform: none; }

/* ---------- Editorial index ---------- */
.index { display: flex; flex-direction: column; }

.row {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 3vw, 2.2rem);
  /* left gutter so the featured tick has its own lane and never sits on the index number */
  padding: clamp(0.7rem, 1.8vh, 1.15rem) 0 clamp(0.7rem, 1.8vh, 1.15rem) clamp(14px, 1.4vw, 22px);
  border-top: 1px solid rgba(255,255,255,0.10);
  text-decoration: none;
  color: var(--paper);
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease), filter 0.5s ease;
  -webkit-tap-highlight-color: transparent;
}
.row:last-child { border-bottom: 1px solid rgba(255,255,255,0.10); }
.row.in { opacity: 1; transform: none; }
.row.flash::after { width: 100%; }

/* featured "primary" tick on the left edge (Obliveyon) */
.row.featured::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 2px; height: 0; transform: translateY(-50%);
  background: var(--accent-soft); box-shadow: 0 0 12px var(--accent-soft);
  transition: height 0.6s var(--ease);
}
.row.featured.in::before { height: 56%; }

/* The Order row (Discord) — the community invite, drawn to pull the eye.
   Reuses the featured left-tick but keeps the normal icon box. */
.row.order::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 2px; height: 0; transform: translateY(-50%);
  background: var(--accent-soft); box-shadow: 0 0 12px var(--accent-soft);
  transition: height 0.6s var(--ease);
}
.row.order.in::before { height: 56%; }

/* live "beacon" line under the label — a candle in the dark, not a stat */
.rowlive {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-top: 0.28rem;
  font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); opacity: 0.85;
  transition: color 0.4s ease, opacity 0.4s ease;
}
.rowlive__dot {
  width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto;
  background: var(--accent-soft);
  box-shadow: 0 0 0 0 rgba(241,239,243,0.6);
  animation: droppulse 2.2s ease-out infinite;
}

/* crimson hairline that draws under the active row */
.row::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  box-shadow: 0 0 14px rgba(241,239,243,0.5);
  transition: width 0.6s var(--ease);
}

.row .num {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  transition: color 0.4s ease;
  min-width: 2.2em;
}

.row .ico {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--paper);
  align-self: center;
  transition: color 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}
.row .ico svg { width: 20px; height: 20px; display: block; }
/* logo image: blend "screen" makes the black background disappear,
   leaving just the white emblem on the dark page */
/* the real Obliveyon mark: transparent PNG, so it needs no blend hack and no
   tile behind it — it stands free at its true 2.3:1 proportion */
.row .ico .logo-img { width: 100%; height: 100%; object-fit: contain; display: block; opacity: 0.92; transition: opacity 0.4s ease; }
.row.featured:hover .ico .logo-img { opacity: 1; }
/* the brand mark is wide, so give it a clean open frame (no box) */
/* matching dark box so the logo's black background blends away
   (screen blend now has a solid backdrop to work against) */
.row.featured .ico { width: 82px; height: 40px; background: transparent; border: none; border-radius: 0; }

.rowmain {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.row .label {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 6.2vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.01em;
  transition: transform 0.5s var(--ease), color 0.4s ease;
  will-change: transform;
}
/* no italics anywhere (Nate's rule) — the featured row is marked by the tick + weight, not a slant */
.row.featured .label { font-weight: 500; }

.row .sub {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
  opacity: 0.6;
  transition: opacity 0.4s ease, color 0.4s ease;
}

.row .cta {
  align-self: center;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.4s ease;
}
.row.featured .cta { color: var(--accent-soft); }

.row .arr {
  align-self: center;
  color: var(--muted-2);
  opacity: 0.32;
  transform: none;
  transition: opacity 0.4s ease, transform 0.5s var(--ease), color 0.4s ease;
}
.row .arr svg { display: block; width: 26px; height: 26px; }

/* hover / focus state on devices that hover */
@media (hover: hover) and (pointer: fine) {
  /* dim the others when the index is being explored */
  .index:hover .row { filter: opacity(0.32); }
  .index .row:hover { filter: none; }

  .row:hover::after, .row:focus-visible::after { width: 100%; }
  .row:hover .num, .row:focus-visible .num { color: var(--accent-soft); }
  .row:hover .ico, .row:focus-visible .ico { color: var(--accent-soft); border-color: rgba(240,240,245,0.4); }
  .row:hover .label, .row:focus-visible .label { color: #fff; }
  .row:hover .sub, .row:focus-visible .sub { opacity: 1; }
  .row:hover .cta, .row:focus-visible .cta { color: var(--accent-soft); }
  .row.order:hover .rowlive, .row.order:focus-visible .rowlive { color: #fff; opacity: 1; }
  .row:hover .arr, .row:focus-visible .arr { opacity: 1; transform: translateX(4px); color: var(--accent-soft); }
}

/* touch devices: show thumbnails, always show handles */
@media (hover: none), (pointer: coarse) {
  .row .sub { opacity: 1; }
  .row .arr { opacity: 0.7; }
  .row:active::after { width: 100%; }
}

/* ---------- Masthead stat: the number brands scan for ---------- */
.stat {
  margin: 0.55rem 0 0;
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transform: translateY(6px);
}
.stat.in { transition: opacity 1s ease 0.45s, transform 1s var(--ease) 0.45s; opacity: 1; transform: none; }

/* ---------- The Drop banner: Obliveyon's hero slot ---------- */
.drop {
  grid-area: drop;
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.8rem);
  padding: clamp(1.1rem, 2.4vh, 1.5rem) clamp(1.1rem, 2.5vw, 1.8rem);
  border: 1px solid rgba(241,239,243,0.22);
  background: linear-gradient(120deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015) 55%, rgba(255,255,255,0.04));
  text-decoration: none;
  color: var(--paper);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: border-color 0.5s ease, background 0.5s ease;
}
.drop.in { transition: opacity 1s ease 0.35s, transform 1s var(--ease) 0.35s, border-color 0.5s ease; opacity: 1; transform: none; }
.drop:hover, .drop:focus-visible { border-color: rgba(241,239,243,0.55); }
/* hairline that draws along the bottom on hover, same language as the rows */
.drop::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  box-shadow: 0 0 14px rgba(241,239,243,0.5);
  transition: width 0.6s var(--ease);
}
.drop:hover::after, .drop:focus-visible::after { width: 100%; }

.drop__mark { flex: 0 0 auto; width: clamp(74px, 9vw, 104px); }
.drop__mark img { width: 100%; height: auto; display: block; opacity: 0.95; }

.drop__main { display: flex; flex-direction: column; gap: 0.28rem; min-width: 0; }
.drop__eyebrow {
  font-size: 0.58rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--muted-2);
}
.drop__title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.05;
}
.drop__sub { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }

.drop__side {
  margin-left: auto;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.55rem;
  flex: 0 0 auto;
}
.drop__status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--paper);
}
.drop__pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 0 0 rgba(241,239,243,0.6);
  animation: droppulse 2.2s ease-out infinite;
}
@keyframes droppulse {
  0%   { box-shadow: 0 0 0 0 rgba(241,239,243,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(241,239,243,0); }
  100% { box-shadow: 0 0 0 0 rgba(241,239,243,0); }
}
.drop__count { font-variant-numeric: tabular-nums; letter-spacing: 0.18em; }
.drop__cta {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
  transition: color 0.4s ease;
}
.drop:hover .drop__cta { color: var(--paper); }
.drop__arr { width: 13px; height: 13px; display: inline-block; }
.drop__arr svg { width: 100%; height: 100%; display: block; }

/* ---------- Business: brand credits + the way in ---------- */
.business {
  grid-area: business;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding-top: 0.6rem;
  opacity: 0;
  transform: translateY(10px);
}
.business.in { transition: opacity 1.1s ease 0.5s, transform 1.1s var(--ease) 0.5s; opacity: 1; transform: none; }

.business__eyebrow {
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0;
}
/* flex-centered rows: any brand count self-balances (orphans center) */
.business__brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.4rem 1.5rem;
  margin: 0;
  width: 100%;
  max-width: 780px;
}
.brandcell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 128px;
}
/* every mark lives in the same 40px frame; contain-fit keeps it optically true */
.brandmark,
.brandtext,
.brandimg {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* true-color logos (alpha files): shown as-is, gently dimmed to sit in the
   room's light, full strength on hover like everything else */
.brandimg {
  width: var(--w, 110px);
  max-width: 100%;
  object-fit: contain;
  opacity: 0.78;
  transition: opacity 0.5s ease;
}
.business:hover .brandimg { opacity: 1; }
.brandmark {
  width: var(--w, 110px);
  max-width: 100%;
  background-color: var(--muted);
  -webkit-mask: var(--logo) no-repeat center / contain;
  mask: var(--logo) no-repeat center / contain;
  transition: background-color 0.5s ease;
}
.brandtext {
  color: var(--muted);
  font-family: var(--sans);
  transition: color 0.5s ease;
  white-space: nowrap;
}
/* Anua wears its true sage green (sampled from their primary logo, lifted
   for the dark ground); hover brings it to full bloom */
.brandtext--anua { font-size: 1.42rem; font-weight: 600; letter-spacing: 0.05em; color: #7da583; }
.business:hover .brandtext.brandtext--anua { color: #9cc4a2; }
.brandtext--coofandy { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.2em; }
.brandname {
  font-size: 0.54rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
  transition: color 0.5s ease;
}
.business:hover .brandmark { background-color: var(--paper); }
.business:hover .brandtext { color: var(--paper); }
.business:hover .brandname { color: var(--muted); }
@media (max-width: 560px) {
  .business__brands { gap: 1.5rem 0.6rem; }
  .brandcell { width: 148px; }
}

/* the closing action — the most important line on the page */
.business__contact {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
  padding: 0.85rem 0;
  text-decoration: none;
  color: var(--paper);
}
.business__contact-label {
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted-2);
  transition: color 0.45s ease;
}
.business__contact-mail {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  letter-spacing: 0.06em;
  color: var(--paper);
}
.business__contact-arrow { width: 15px; height: 15px; color: var(--muted-2); transition: transform 0.45s var(--ease), color 0.45s ease; }
.business__contact-arrow svg { width: 100%; height: 100%; }
/* a hairline that draws itself under the address on hover */
.business__contact::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  box-shadow: 0 0 14px rgba(241,239,243,0.45);
  transition: width 0.6s var(--ease);
}
.business__contact:hover::after,
.business__contact:focus-visible::after { width: 100%; }
.business__contact:hover .business__contact-label,
.business__contact:hover .business__contact-arrow { color: var(--paper); }
.business__contact:hover .business__contact-arrow { transform: translate(2px, -2px); }

/* ---------- Footer ---------- */
.foot {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-2);
  opacity: 0;
}
.foot.in { transition: opacity 1s ease 0.8s; opacity: 1; }
.foot-mark { color: var(--muted-2); }

/* ---------- Mobile (the #1 view for a link-in-bio) ---------- */
@media (max-width: 640px) {
  .wrap { padding: 2.4rem 1.4rem 2rem; gap: 2rem; }

  .crown { height: 17px; margin-right: 0.4rem; }
  .eyebrow { font-size: 0.62rem; letter-spacing: 0.28em; }
  .name { font-size: clamp(2rem, 10.5vw, 3.4rem); letter-spacing: -0.01em; margin: 0.4rem 0 0.55rem; }
  .bio { font-size: 0.88rem; line-height: 1.55; }

  /* tighter, cleaner rows — name gets the room, arrow is the affordance.
     keep the left gutter so the featured tick never sits on the index number */
  .row { gap: 0.85rem; padding: 0.95rem 0 0.95rem 12px; }
  .row .num { font-size: 0.6rem; min-width: auto; letter-spacing: 0.14em; opacity: 0.65; }
  .row .ico { width: 38px; height: 38px; border-radius: 10px; }
  .row .ico svg { width: 18px; height: 18px; }
  .row.featured .ico { width: 68px; height: 34px; background: transparent; border: none; }
  .row .label { font-size: clamp(1.85rem, 8.5vw, 2.5rem); }
  .row .sub { white-space: normal; opacity: 0.72; font-size: 0.72rem; }
  /* keep the Order beacon on one crisp line (was wrapping with a hanging indent) */
  .rowlive { font-size: 0.575rem; letter-spacing: 0.11em; gap: 0.4rem; margin-top: 0.32rem; }
  .row .cta { display: none; }
  .row .arr { opacity: 0.6; }
  .row .arr svg { width: 22px; height: 22px; }

  .foot { font-size: 0.6rem; letter-spacing: 0.16em; }

  /* drop banner: mark + text up top, status + cta on one line below */
  .drop { flex-wrap: wrap; gap: 0.9rem 1rem; padding: 1rem 1.1rem 0.95rem; }
  .drop__mark { width: 62px; }
  .drop__title { font-size: clamp(1.45rem, 7.4vw, 1.9rem); }
  .drop__sub { font-size: 0.72rem; }
  .drop__side {
    margin-left: 0;
    flex-direction: row; align-items: center; justify-content: space-between;
    width: 100%;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .stat { font-size: 0.56rem; letter-spacing: 0.32em; }

  /* business block: stack the contact so the label never wraps beside the
     address, and keep clear of the sound toggle in the corner */
  .business { gap: 0.75rem; padding-top: 0.2rem; }
  .business__eyebrow { font-size: 0.54rem; letter-spacing: 0.34em; }
  .business__brands { font-size: 0.92rem; gap: 0.4rem 0.7rem; }
  .business__contact {
    flex-direction: column;
    gap: 0.35rem;
    margin: 1.1rem auto 0;
    padding: 0.7rem 3.2rem 0.7rem 0;
    text-align: center;
  }
  .business__contact-mail { font-size: 1rem; letter-spacing: 0.02em; }
  .business__contact-arrow { position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); }
  .business__contact:hover .business__contact-arrow { transform: translateY(-50%) translate(2px, -2px); }
}

/* very small phones — reclaim every pixel for the name */
@media (max-width: 380px) {
  .name { font-size: clamp(1.7rem, 9.5vw, 2.4rem); }
  .row { gap: 0.7rem; }
  .row .num { display: none; }
  .row .label { font-size: clamp(1.6rem, 8.5vw, 2.05rem); }
  .business__contact-mail { font-size: 0.92rem; }
  .business__brands { font-size: 0.86rem; }
}

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 60; pointer-events: none; border-radius: 50%; opacity: 0; }
.cursor-dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--accent-soft);
  box-shadow: 0 0 10px var(--accent-soft);
  transition: opacity 0.3s ease, transform 0.12s ease;
}
.cursor-ring {
  width: 24px; height: 24px; margin: -12px 0 0 -12px;
  border: 1px solid rgba(220,218,226,0.6);
  transition: opacity 0.3s ease, width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), background 0.3s ease;
}
body.cursor-on .cursor-dot, body.cursor-on .cursor-ring { opacity: 1; }
body.cursor-hover .cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  background: rgba(240,240,245,0.10);
  border-color: rgba(240,240,245,0.9);
}
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Ambient sound toggle ---------- */
.sound-toggle {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 55;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--accent); cursor: pointer;
  opacity: 0; transform: translateY(8px);
  transition: opacity .7s ease, transform .7s var(--ease), border-color .35s ease, background .35s ease, color .35s ease, box-shadow .35s ease;
  -webkit-tap-highlight-color: transparent;
}
.sound-toggle.ready { opacity: .55; transform: none; }
.sound-toggle:hover { opacity: 1; border-color: var(--accent); background: rgba(255,255,255,0.08); }
.sound-toggle svg { width: 18px; height: 18px; }
.sound-toggle .waves { opacity: 0; transition: opacity .35s ease; }
.sound-toggle.on { opacity: 1; color: var(--accent-soft); border-color: rgba(241,239,243,.5); box-shadow: 0 0 18px -4px rgba(241,239,243,.45); }
.sound-toggle.on .waves { opacity: 1; }
@keyframes soundHint { 0%,100% { box-shadow: 0 0 0 0 rgba(241,239,243,0); } 50% { box-shadow: 0 0 0 7px rgba(241,239,243,.07); } }
.sound-toggle.hint { animation: soundHint 2.4s ease-in-out 3; }
@media (max-width: 600px) { .sound-toggle { bottom: 1rem; right: 1rem; width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .sound-toggle { transition: none; } .sound-toggle.hint { animation: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .rain { display: none; }
  .intro { display: none; }
  .bg-layer { transition: opacity 0.4s ease; transform: scale(1.04); }
  .bg-layer.is-active { transform: scale(1.04); }
  .name .lineInner { transform: none; transition: none; }
  .name .ltr { animation: none; background-position: 0 0; }
  .bio, .row, .foot { opacity: 1; transform: none; transition: none; }
  .cursor-dot, .cursor-ring { display: none; }
}
