/* ═══════════════════════════════════════════
   EITO Technical Documentation — Landing Page
   ═══════════════════════════════════════════ */

/* ─── Tokens: Light ─── */
:root,
[data-theme='light'] {
  --bg: #f4efe7;
  --paper: #fbf8f3;
  --paper-rgb: 251, 248, 243;
  --ink: #1e1a14;
  --muted: #6d645b;
  --line: rgba(30, 26, 20, 0.12);
  --accent: #bc5d3c;
  --accent-strong: #9f3d1c;
  --accent-glow: rgba(188, 93, 60, 0.24);
  --accent-glow-strong: rgba(159, 61, 28, 0.33);
  --gold: #c99635;
  --gold-glow: rgba(201, 150, 53, 0.2);
  --olive: #6a7b34;
  --shadow: 0 18px 44px rgba(50, 29, 15, 0.12);
  --radius-lg: 26px;
  --radius-md: 18px;
  --surface: #fff;
  --surface-rgb: 255, 255, 255;
  --header-bg: #f3e8dc;
  --body-grad: linear-gradient(180deg, #f7f2eb 0%, #f4efe7 48%, #efe8de 100%);
  --accent-grad: linear-gradient(135deg, var(--accent), #d27b48 68%, #e9b15d 100%);
}

/* ─── Tokens: Dark ─── */
[data-theme='dark'] {
  --bg: #1a1d22;
  --paper: #23272d;
  --paper-rgb: 35, 39, 45;
  --ink: #e8e6e3;
  --muted: #9e9a95;
  --line: rgba(232, 230, 227, 0.12);
  --accent: #d9866b;
  --accent-strong: #e6a58f;
  --accent-glow: rgba(217, 134, 107, 0.2);
  --accent-glow-strong: rgba(217, 134, 107, 0.25);
  --gold: #e0b462;
  --gold-glow: rgba(224, 180, 98, 0.15);
  --olive: #a5b970;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
  --surface: #2b3038;
  --surface-rgb: 43, 48, 56;
  --header-bg: #323841;
  --body-grad: linear-gradient(180deg, #202328 0%, #1a1d22 48%, #16191d 100%);
  --accent-grad: linear-gradient(135deg, var(--accent), #e0947b 68%, var(--gold) 100%);
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, var(--accent-glow), transparent 68%),
    radial-gradient(900px 500px at 100% 0%, var(--gold-glow), transparent 65%),
    var(--body-grad);
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  line-height: 1.62;
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* ─── Noise overlay ─── */
.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 15% 24%, var(--ink) 0.5px, transparent 0.9px),
    radial-gradient(circle at 70% 40%, var(--ink) 0.5px, transparent 0.9px);
  background-size: 6px 6px, 8px 8px;
  transition: opacity 0.3s ease;
}

[data-theme='dark'] .bg-noise {
  opacity: 0.04;
}

/* ─── Scroll progress ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 90;
  background: rgba(var(--surface-rgb), 0.35);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--accent-grad);
  transition: transform 0.2s linear;
}

/* ═══════════════════════════
   NAVIGATION
   ═══════════════════════════ */
.top-nav {
  max-width: 1120px;
  margin: 0.8rem auto 0;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(var(--paper-rgb), 0.74);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 10px;
  z-index: 70;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.nav-links {
  display: inline-flex;
  gap: 1.15rem;
  flex-grow: 1;
}

.nav-links a {
  color: var(--ink);
  opacity: 0.82;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a.is-active {
  opacity: 1;
  color: var(--accent-strong);
}

/* ─── Theme toggle ─── */
.theme-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  margin-left: auto;
}

.theme-btn:hover {
  color: var(--ink);
  background: var(--line);
}

.theme-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

.theme-btn .moon { display: none; }
.theme-btn .sun { display: block; }
[data-theme='dark'] .theme-btn .moon { display: block; }
[data-theme='dark'] .theme-btn .sun { display: none; }

/* ─── Scene dock ─── */
.scene-dock {
  position: fixed;
  right: max(16px, calc((100vw - 1120px) / 2 - 62px));
  top: 118px;
  z-index: 55;
  pointer-events: none;
}

.scene-dock span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.74rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(var(--paper-rgb), 0.88);
  backdrop-filter: blur(6px);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ═══════════════════════════
   HERO
   ═══════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem 4rem;
}

.hero-content {
  max-width: 800px;
  text-align: center;
}

.hero-icon {
  margin-bottom: 1.2rem;
}

.hero-icon img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.kicker {
  display: inline-block;
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

h1 {
  margin-top: 0.55rem;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
}

.gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  margin: 1.2rem auto 0;
  max-width: 620px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── Chips ─── */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: rgba(var(--surface-rgb), 0.5);
  color: var(--muted);
  backdrop-filter: blur(4px);
}

.chip-accent {
  border-color: var(--accent-glow-strong);
  background: var(--accent-glow);
  color: var(--accent-strong);
}

/* ─── Hero actions ─── */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.78rem 1.3rem;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 10px 24px var(--accent-glow-strong);
}

.btn.primary:hover {
  box-shadow: 0 14px 32px var(--accent-glow-strong);
}

.btn.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(var(--surface-rgb), 0.45);
}

/* ═══════════════════════════
   CONTAINER & PANELS
   ═══════════════════════════ */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem 3.5rem;
  display: grid;
  gap: 1.4rem;
  position: relative;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.panel h2 {
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  margin-bottom: 0.85rem;
}

.panel h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* ─── Scenes ─── */
.scene {
  min-height: clamp(330px, 60vh, 720px);
  scroll-margin-top: 92px;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
}

.scene.is-current {
  border-color: rgba(188, 93, 60, 0.35);
  box-shadow:
    0 22px 46px rgba(50, 29, 15, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

[data-theme='dark'] .scene.is-current {
  border-color: var(--accent-glow);
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.scene-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 3;
}

.scene-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.scene-number {
  display: inline-grid;
  place-items: center;
  width: 1.42rem;
  height: 1.42rem;
  border-radius: 999px;
  background: var(--accent-glow);
  color: var(--accent-strong);
  font-size: 0.7rem;
  letter-spacing: 0;
}

/* ─── Scene atmosphere ─── */
.scene-atmo {
  position: absolute;
  inset: -10% -8%;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.4px);
  opacity: 0.52;
  transform: translate3d(0, var(--parallax, 0px), 0);
  will-change: transform;
}

.orb-a {
  width: 280px;
  height: 280px;
  top: -68px;
  right: -72px;
  background: radial-gradient(circle at 30% 30%, var(--gold-glow), rgba(201, 150, 53, 0.04) 68%, transparent 82%);
}

.orb-b {
  width: 230px;
  height: 230px;
  bottom: -84px;
  left: -65px;
  background: radial-gradient(circle at 70% 40%, var(--accent-glow), rgba(188, 93, 60, 0.02) 70%, transparent 84%);
}

.scene > *:not(.scene-atmo) {
  position: relative;
  z-index: 1;
}

.scene > p {
  margin: 0 0 0.8rem;
  line-height: 1.7;
}

/* ─── Reveal animations ─── */
.js-ready .scene[data-scene] {
  opacity: 0.66;
  transform: translateY(10px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.js-ready .scene[data-scene].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-block {
  position: relative;
}

.js-ready .scene .reveal-block {
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.js-ready .scene.is-visible .reveal-block {
  opacity: 1;
  transform: none;
}

.js-ready .scene.is-visible .reveal-delay-1 {
  transition-delay: 0.1s;
}

.js-ready .scene.is-visible .reveal-delay-2 {
  transition-delay: 0.18s;
}

/* ═══════════════════════════
   01 · HIGHLIGHT CARDS
   ═══════════════════════════ */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.highlight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

[data-theme='dark'] .highlight-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.highlight-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--dot-color, var(--accent));
  margin-bottom: 0.7rem;
}

.highlight-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.highlight-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ═══════════════════════════
   02 · TECH STACK CARDS
   ═══════════════════════════ */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.stack-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  border-top: 3px solid var(--card-accent, var(--accent));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stack-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

[data-theme='dark'] .stack-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.stack-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.stack-tech {
  margin: 0;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

.stack-note {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ═══════════════════════════
   03 · ARCHITECTURE FLOW
   ═══════════════════════════ */
.architecture-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 1rem 0 1.5rem;
}

.arch-node {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.arch-node h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.arch-node p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.arch-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-strong);
  background: var(--accent-glow);
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  margin-bottom: 0.5rem;
}

.arch-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  color: var(--muted);
}

.arch-arrow svg {
  width: 32px;
  height: 24px;
}

.flow-line {
  margin: 1.2rem 0 0;
  background: linear-gradient(
    90deg,
    var(--accent-glow),
    var(--gold-glow),
    rgba(106, 123, 52, 0.15)
  );
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.72rem 0.9rem;
}

.flow-line p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ═══════════════════════════
   04 · REVENUECAT
   ═══════════════════════════ */
.rc-banner {
  background: var(--accent-glow);
  border: 1px solid rgba(188, 93, 60, 0.2);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.8rem;
}

.rc-banner p {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-strong);
}

[data-theme='dark'] .rc-banner {
  background: rgba(217, 134, 107, 0.12);
  border-color: rgba(217, 134, 107, 0.2);
}

[data-theme='dark'] .rc-banner p {
  color: var(--accent);
}

.cards {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.8rem;
}

.cards.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

[data-theme='dark'] .card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.inner {
  margin-top: 1.2rem;
  box-shadow: none;
  background: rgba(0, 0, 0, 0.08);
}

[data-theme='light'] .inner {
  background: #f9f3ea;
}

ul, ol {
  margin: 0.55rem 0 0;
  padding-left: 1.15rem;
}

li + li {
  margin-top: 0.33rem;
}

code {
  background: var(--accent-glow);
  border: 1px solid rgba(188, 93, 60, 0.2);
  color: var(--accent-strong);
  border-radius: 7px;
  padding: 0.08rem 0.33rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
}

.muted {
  color: var(--muted);
}

/* ═══════════════════════════
   04b · FILE TREE
   ═══════════════════════════ */
.file-tree {
  margin-top: 1rem;
}

.tree-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.8rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}

.tree-block code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

.tree-comment {
  color: var(--muted);
  opacity: 0.7;
  font-style: italic;
}

/* ═══════════════════════════
   05 · SCREENSHOTS (Phone Frames)
   ═══════════════════════════ */
.gallery {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.phone-frame {
  margin: 0;
  background: #1c1c1e;
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.25);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.phone-frame figcaption {
  padding: 0.55rem 0.6rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* ═══════════════════════════
   06 · DOCUMENTATION LINKS
   ═══════════════════════════ */
.links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.links a {
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.2s ease;
}

.links a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(151, 80, 44, 0.12);
}

[data-theme='dark'] .links a:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-glow);
  color: var(--accent-strong);
}

.link-icon svg {
  width: 16px;
  height: 16px;
}

/* ═══════════════════════════
   FOOTER
   ═══════════════════════════ */
.footer {
  padding: 2rem 1rem 2.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer p {
  margin: 0.3rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-sub {
  font-size: 0.8rem !important;
  opacity: 0.7;
}

/* ═══════════════════════════
   RESPONSIVE
   ═══════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-ready .scene[data-scene] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js-ready .scene .reveal-block {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .orb {
    transform: none;
  }

  .phone-frame,
  .highlight-card,
  .stack-card,
  .card {
    transition: none;
  }
}

@media (max-width: 980px) {
  .scene-dock {
    right: 12px;
  }

  .hero {
    min-height: auto;
    padding: 5rem 1rem 3rem;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .architecture-flow {
    flex-direction: column;
    gap: 0;
  }

  .arch-arrow {
    width: auto;
    height: 36px;
    transform: rotate(90deg);
  }

  .cards.two {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 740px) {
  .top-nav {
    top: 6px;
    border-radius: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.66rem 0.9rem;
  }

  .theme-btn {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
  }

  .scene-dock {
    display: none;
  }

  .scene-head {
    margin-bottom: 1rem;
  }

  h1 {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }

  .stack-grid {
    grid-template-columns: 1fr;
  }

  .links {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .phone-frame {
    border-radius: 20px;
    padding: 5px;
  }

  .phone-frame img {
    border-radius: 15px;
  }
}
