/* =========================================================
   Patio Studios — studio site
   A neutral, premium dark base that sits above the games.
   Each game card carries its own brand (Tag'it / Hide'it).
   ========================================================= */

:root {
  /* surfaces */
  --bg: #09090E;
  --bg-2: #0F0F16;
  --card: #14141C;
  --card-2: #1A1A24;
  --line: #24242F;
  --line-2: #32323F;

  /* text */
  --text: #F4F4F7;
  --dim: #A1A1AF;
  --low: #63636F;

  /* studio accent: Tag'it yellow → Hide'it pink → Hide'it cyan */
  --g-patio: linear-gradient(100deg, #FFEC3D 0%, #FF8A5B 30%, #FF5FA8 55%, #9B7BFF 78%, #38D6FF 100%);
  --yellow: #FFEC3D;
  --pink: #FF5FA8;
  --cyan: #38D6FF;
  --violet: #9B7BFF;
  --lime: #B6FF4D;

  /* Tag'it */
  --tg-ink: #0B0B10;
  --tg-hot: #FFEC3D;
  --tg-danger: #FF2D55;
  --tg-boost: #FF6B00;
  --tg-shield: #3DC2FF;
  --tg-freeze: #00E5C8;
  --tg-lock: #FF2D6B;

  /* Hide'it */
  --hd-ground: #0F0A24;
  --hd-dusk: #1C1440;
  --hd-line: #34286B;
  --hd-haze: #B9B0E0;
  --hd-go: linear-gradient(135deg, #B6FF4D, #3CF2A6);
  --hd-seeker: linear-gradient(135deg, #FF5FA8, #FF9A3D);
  --hd-hider: linear-gradient(135deg, #38D6FF, #9B7BFF);

  --f-display: "Space Grotesk", -apple-system, system-ui, sans-serif;
  --f-body: "Inter", -apple-system, "SF Pro Text", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 .45em;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.dim { color: var(--dim); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--dim); max-width: 56ch; }
.grad-text {
  background: var(--g-patio);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: .75rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 999px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--f-body); font-weight: 600; font-size: .95rem;
  padding: .8em 1.35em;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--dim); background: rgba(255,255,255,.06); }
.btn-sm { font-size: .85rem; padding: .6em 1.1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .45em .8em; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--dim);
}
.chip-live { color: var(--lime); border-color: rgba(182,255,77,.35); background: rgba(182,255,77,.07); }
.chip-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.chip-soon { color: var(--cyan); border-color: rgba(56,214,255,.35); background: rgba(56,214,255,.07); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9,9,14,.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo svg { width: 30px; height: 30px; }
.logo-word { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo-word span { color: var(--dim); font-weight: 500; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.site-nav ul a {
  text-decoration: none; color: var(--dim); font-size: .92rem; font-weight: 500;
  transition: color .15s ease; position: relative;
}
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--text); }
.site-nav ul a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--g-patio);
}
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line-2); color: var(--text);
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; margin: 0 auto; position: relative;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: flex-start; gap: 18px;
    padding: 20px var(--gutter) 26px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 16px; }
  .site-nav ul a { font-size: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%);
}
.glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; pointer-events: none;
}
.glow-yellow { width: 420px; height: 420px; background: #FFEC3D; opacity: .16; }
.glow-violet { width: 520px; height: 520px; background: #7B4DFF; opacity: .32; }
.glow-pink { width: 360px; height: 360px; background: #FF5FA8; opacity: .2; }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { max-width: 12ch; }
.hero .lede { margin-bottom: 34px; }
.hero-meta { margin-top: 34px; }

.phones { position: relative; height: clamp(460px, 52vw, 620px); }
.phones .glow-yellow { left: 0; top: 10%; }
.phones .glow-violet { right: -10%; top: 20%; }
.phone {
  position: absolute; width: clamp(200px, 21vw, 270px);
  border-radius: 38px; padding: 9px;
  background: linear-gradient(160deg, #2a2a36, #111118);
  box-shadow: 0 40px 80px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border-radius: 30px; background: #000; }
.phone-a { left: 4%; top: 4%; transform: rotate(-7deg); z-index: 2; animation: floatA 7s ease-in-out infinite; }
.phone-b { right: 2%; top: 14%; transform: rotate(6deg); animation: floatB 8s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-7deg) translateY(-12px); } }
@keyframes floatB { 0%,100% { transform: rotate(6deg) translateY(0); } 50% { transform: rotate(6deg) translateY(10px); } }
.phone-tag {
  position: absolute; z-index: 3;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .55em .9em; border-radius: 8px; box-shadow: 0 10px 24px rgba(0,0,0,.4);
}
.phone-tag.t1 { left: -2%; top: 58%; background: var(--tg-hot); color: var(--tg-ink); transform: rotate(-6deg); }
.phone-tag.t2 { right: 0; top: 8%; background: var(--hd-dusk); color: #CBFF8F; border: 1px solid var(--hd-line); border-radius: 999px; font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: .82rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phones { height: 500px; max-width: 520px; width: 100%; margin: 0 auto; }
  .phone { width: 210px; }
}
@media (max-width: 480px) {
  .phones { height: 420px; }
  .phone { width: 172px; border-radius: 30px; padding: 7px; }
  .phone img { border-radius: 24px; }
}

/* ---------- Strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 26px 24px; border-left: 1px solid var(--line); }
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-item strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; }
.strip-item span { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--low); }
@media (max-width: 820px) {
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { max-width: 18ch; margin-bottom: 0; }
.section-head .lede { margin: 0; max-width: 42ch; }

/* ---------- Game cards (each in its own brand) ---------- */
.games { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .games { grid-template-columns: 1fr; } }

.game {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
  min-height: 560px;
  display: flex; flex-direction: column;
  text-decoration: none;
  isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease;
}
.game:hover { transform: translateY(-4px); }
.game-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.game-icon { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.game h3 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: .2em; }
.game .tagline { font-size: 1.15rem; margin-bottom: 14px; }
.game .desc { max-width: 40ch; }
.game .btn-row { margin-top: 8px; position: relative; z-index: 2; }
.game-shot {
  position: absolute; right: -30px; bottom: -120px; width: 46%; max-width: 250px; z-index: -1;
  border-radius: 30px; padding: 7px; transform: rotate(-8deg);
  transition: transform .4s ease;
}
.game:hover .game-shot { transform: rotate(-5deg) translateY(-10px); }
.game-shot img { border-radius: 24px; width: 100%; }
@media (max-width: 560px) {
  .game { min-height: 0; padding-bottom: 260px; }
  .game-shot { width: 52%; bottom: -150px; right: -10px; }
}

/* Tag'it card */
.game-tagit {
  background: var(--tg-ink);
  border: 1px solid #2A2A36;
  color: #fff;
}
.game-tagit::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(circle at 85% 90%, rgba(255,236,61,.22), transparent 55%);
}
.game-tagit h3 { font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.game-tagit h3 em { font-style: normal; color: var(--tg-hot); }
.game-tagit .tagline { color: var(--tg-hot); font-weight: 600; }
.game-tagit .desc { color: #9A9AA8; }
.game-tagit .game-shot { background: #1E1E28; }
.game-tagit .btn-primary { background: var(--tg-hot); color: var(--tg-ink); border-radius: 12px; }
.game-tagit .btn-ghost { border-radius: 12px; }

/* Hide'it card */
.game-hideit {
  background: linear-gradient(160deg, #24145A 0%, var(--hd-ground) 70%);
  border: 1px solid var(--hd-line);
  color: #fff;
}
.game-hideit::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(circle at 90% 85%, rgba(60,242,166,.18), transparent 55%), radial-gradient(circle at 10% 0%, rgba(255,95,168,.18), transparent 45%);
}
.game-hideit h3 { font-family: "Fredoka", "Nunito", sans-serif; font-weight: 700; letter-spacing: -0.01em; }
.game-hideit h3 em { font-style: normal; background: var(--hd-go); -webkit-background-clip: text; background-clip: text; color: transparent; }
.game-hideit .tagline { color: var(--lime); font-family: "Nunito", sans-serif; font-weight: 800; }
.game-hideit .desc { color: var(--hd-haze); font-family: "Nunito", sans-serif; }
.game-hideit .game-shot { background: #251B52; }
.game-hideit .btn-primary { background: var(--hd-go); color: #0F0A24; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pillar { background: var(--bg); padding: 32px 28px 34px; transition: background .2s ease; }
.pillar:hover { background: var(--card); }
.pillar .num { font-family: var(--f-mono); font-size: .75rem; color: var(--low); letter-spacing: .1em; }
.pillar .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin: 22px 0 22px; background: var(--card-2); border: 1px solid var(--line-2); }
.pillar .icon svg { width: 22px; height: 22px; }
.pillar p { color: var(--dim); font-size: .95rem; margin: 0; }
@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Process / loop ---------- */
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 26px 24px 28px;
  border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; color: var(--low);
}
.step h3 { margin: 18px 0 8px; }
.step p { margin: 0; color: var(--dim); font-size: .95rem; }
.step .bar { height: 3px; border-radius: 3px; margin-top: 22px; background: var(--line-2); overflow: hidden; }
.step .bar i { display: block; height: 100%; background: var(--g-patio); }
@media (max-width: 1000px) { .loop { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .loop { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 56px); align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, var(--card) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.founder::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: var(--g-patio); filter: blur(100px); opacity: .18;
}
.avatar {
  width: clamp(120px, 16vw, 180px); aspect-ratio: 1; border-radius: 50%;
  padding: 3px; background: var(--g-patio);
}
.avatar > * {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  display: grid; place-items: center;
  background: var(--card-2);
  font-family: var(--f-display); font-weight: 600; font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -0.03em;
}
.founder blockquote {
  margin: 0 0 22px; font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.25; letter-spacing: -0.02em;
}
.founder cite { font-style: normal; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.founder cite strong { font-weight: 600; }
.founder cite span { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--low); }
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta {
  text-align: center; position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  border-radius: var(--r-xl); border: 1px solid var(--line);
  background: var(--bg-2);
}
.cta .glow-violet { left: 50%; top: 40%; transform: translate(-50%, -50%); opacity: .25; }
.cta .glow-yellow { left: 10%; top: -30%; opacity: .1; }
.cta > :not(.glow) { position: relative; }
.cta h2 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.cta .lede { margin: 0 auto 32px; }
.cta .btn-row { justify-content: center; }

/* Slim, low-key CTA band */
.cta-slim {
  display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-2);
}
.cta-slim .eyebrow { margin-bottom: 12px; }
.cta-slim h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: .4em; }
.cta-slim p:not(.eyebrow) { color: var(--dim); margin: 0; max-width: 60ch; }
.cta-slim .btn-row { justify-content: flex-end; }
@media (max-width: 760px) {
  .cta-slim { grid-template-columns: 1fr; }
  .cta-slim .btn-row { justify-content: flex-start; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 64px); position: relative; overflow: hidden; }
.page-hero .glow-violet { right: -10%; top: -40%; }
.page-hero .glow-yellow { left: -10%; top: -20%; opacity: .1; }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 14ch; }

/* ---------- Game detail (games page) ---------- */
.game-detail {
  border-radius: var(--r-xl); overflow: hidden; position: relative; isolation: isolate;
  padding: clamp(32px, 5vw, 64px);
  scroll-margin-top: 96px;
}
.game-detail + .game-detail { margin-top: 32px; }
.gd-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gd-title { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.gd-title img { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 12px 28px rgba(0,0,0,.45); }
.gd-title h2 { margin: 0; }
.gd-title .chip { margin-top: 8px; }
.gd-lede { font-size: 1.15rem; }
.gd-steps { display: grid; gap: 12px; }
.gd-step { padding: 18px 20px; border-radius: var(--r-md); }
.gd-step .k { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.gd-step h3 { margin: 6px 0 4px; font-size: 1.1rem; }
.gd-step p { margin: 0; font-size: .92rem; }
.gd-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(32px, 4vw, 48px); }
.gd-tool { padding: 18px; border-radius: var(--r-md); }
.gd-tool .swatch { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 14px; display: grid; place-items: center; font-weight: 700; }
.gd-tool h4 { margin: 0 0 2px; font-family: var(--f-display); font-size: 1.05rem; }
.gd-tool .k { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.gd-tool p { margin: 8px 0 0; font-size: .88rem; }
.gd-shots { display: flex; gap: 20px; justify-content: center; margin-top: clamp(40px, 5vw, 56px); }
.gd-shots .phone { position: relative; width: min(30%, 240px); }
.gd-shots .phone:nth-child(1) { transform: rotate(-4deg) translateY(16px); }
.gd-shots .phone:nth-child(3) { transform: rotate(4deg) translateY(16px); }
.gd-foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-top: clamp(40px, 5vw, 56px); padding-top: 28px; }
@media (max-width: 900px) {
  .gd-head { grid-template-columns: 1fr; }
  .gd-tools { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .gd-shots { gap: 10px; }
  .gd-shots .phone { padding: 5px; border-radius: 22px; }
  .gd-shots .phone img { border-radius: 18px; }
}

/* Tag'it detail */
.gd-tagit { background: var(--tg-ink); border: 1px solid #2A2A36; }
.gd-tagit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 100% 0%, rgba(255,236,61,.14), transparent 45%); }
.gd-tagit h2 { font-weight: 700; }
.gd-tagit .gd-lede, .gd-tagit .gd-step p, .gd-tagit .gd-tool p, .gd-tagit .body { color: #9A9AA8; }
.gd-tagit .gd-step, .gd-tagit .gd-tool { background: #15151C; border: 1px solid #2A2A36; }
.gd-tagit .gd-step .k { color: var(--tg-hot); }
.gd-tagit .gd-tool .k { color: #5A5A66; }
.gd-tagit .gd-foot { border-top: 1px solid #2A2A36; }
.gd-tagit .btn-primary { background: var(--tg-hot); color: var(--tg-ink); border-radius: 12px; }
.gd-tagit .btn-ghost { border-radius: 12px; border-color: #2A2A36; }

/* Hide'it detail */
.gd-hideit { background: linear-gradient(170deg, #24145A 0%, var(--hd-ground) 55%); border: 1px solid var(--hd-line); font-family: "Nunito", var(--f-body); }
.gd-hideit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 0% 100%, rgba(60,242,166,.12), transparent 45%); }
.gd-hideit h2, .gd-hideit h3, .gd-hideit .gd-tool h4 { font-family: "Fredoka", sans-serif; font-weight: 700; letter-spacing: -0.01em; }
.gd-hideit .gd-lede, .gd-hideit .gd-step p, .gd-hideit .gd-tool p, .gd-hideit .body { color: var(--hd-haze); }
.gd-hideit .gd-step, .gd-hideit .gd-tool { background: rgba(28,20,64,.8); border: 1px solid var(--hd-line); border-radius: 20px; }
.gd-hideit .gd-step .k { color: var(--lime); font-family: "Nunito", sans-serif; font-weight: 800; }
.gd-hideit .gd-tool .k { color: var(--hd-haze); font-family: "Nunito", sans-serif; font-weight: 800; letter-spacing: .04em; }
.gd-hideit .gd-foot { border-top: 1px solid var(--hd-line); }
.gd-hideit .phone { background: #251B52; }
.gd-hideit .btn-primary { background: var(--hd-go); color: #0F0A24; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-grid .big { font-family: var(--f-display); font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; }
.about-grid .big em { font-style: normal; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.profile {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start;
}
.profile-card {
  border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); padding: 28px;
  position: sticky; top: 100px;
}
.profile-card .avatar { width: 140px; margin-bottom: 22px; }
.profile-card h3 { font-size: 1.5rem; margin-bottom: 2px; }
.profile-card .role { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; }
.profile-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; font-size: .92rem; color: var(--dim); }
.profile-card ul li { display: flex; gap: 10px; }
.profile-card ul li b { color: var(--text); font-weight: 600; min-width: 76px; }
.profile-body h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.profile-body p { color: var(--dim); max-width: 62ch; }
.avatar > img { display: block; }

.career { list-style: none; margin: 32px 0 0; padding: 0; border-left: 1px solid var(--line-2); }
.career li { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 0 0 22px 24px; }
.career li::before {
  content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line-2);
}
.career li.now::before { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 12px rgba(255,236,61,.6); }
.career .when { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--low); padding-top: 3px; }
.career li.now .when { color: var(--yellow); }
.career b { display: block; font-weight: 600; }
.career span:not(.when) { display: block; color: var(--dim); font-size: .92rem; }
.career em { display: block; font-style: normal; color: var(--dim); font-size: .9rem; margin-top: 2px; }
@media (max-width: 520px) { .career li { grid-template-columns: 1fr; gap: 2px; } }

.focus { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.focus div { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; background: var(--bg-2); }
.focus h3 { font-size: 1.05rem; margin-bottom: 6px; }
.focus p { margin: 0; font-size: .92rem; }
@media (max-width: 860px) {
  .profile { grid-template-columns: 1fr; }
  .profile-card { position: static; }
}
@media (max-width: 520px) { .focus { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; margin-top: clamp(40px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-family: var(--f-mono); font-weight: 500; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--low); margin: 0 0 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--dim); text-decoration: none; font-size: .95rem; }
.footer-grid a:hover { color: var(--text); }
.footer-grid .logo { margin-bottom: 14px; }
.footer-grid p { color: var(--dim); font-size: .95rem; max-width: 34ch; }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--low);
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
