/* ============================================
   tinyscreenco — design tokens
   ============================================ */
:root {
  --cream: #FBF7EF;
  --cream-dim: #F3EDE0;
  --ink: #1B2B2A;
  --ink-soft: #3D4E4C;
  --sea-mist: #B6E6E9;
  --turquoise: #4EC6D4;
  --sand: #F2D9B7;
  --ocean-glass: #7AC7BD;
  --depth: #1E6E6F;
  --paper: #FFFFFF;

  --font-script: 'Caveat', cursive;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Instrument Sans', 'Inter', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-card: 0 14px 34px rgba(27, 43, 42, 0.14);
  --shadow-soft: 0 6px 18px rgba(27, 43, 42, 0.08);

  --max-w: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--depth);
  font-weight: 600;
}

.script {
  font-family: var(--font-script);
  font-weight: 500;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--depth);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================================
   Nav
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 18px 20px;
  background: linear-gradient(to bottom, rgba(251,247,239,0.5) 40%, rgba(251,247,239,0));
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(251,247,239,0.96);
  border: 1px solid rgba(27,43,42,0.12);
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}
.nav-logo {
  font-family: var(--font-script);
  font-size: 1.3rem;
  padding: 0 14px 0 10px;
  color: var(--depth);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { background: rgba(30,110,111,0.08); color: var(--ink); }
.nav-links a[aria-current="page"] {
  background: var(--depth);
  color: var(--cream);
}
.nav-cta {
  margin-left: 8px;
  display: flex;
}
.nav-cta .btn {
  padding: 9px 18px;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .nav-logo { display: none; }
  .nav-links a { padding: 8px 11px; font-size: 0.8rem; }
  .nav-cta { margin-left: 0; }
}

/* ============================================
   Fixed social icons (top-right, all pages)
   ============================================ */
.social-fixed {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 101;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(251,247,239,0.96);
  border: 1px solid rgba(27,43,42,0.12);
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--shadow-soft);
}
.social-fixed a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--depth);
  background: transparent;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.social-fixed a svg { width: 17px; height: 17px; fill: currentColor; }
.social-fixed a:hover {
  background: var(--depth);
  color: var(--cream);
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .social-fixed { top: 14px; right: 12px; gap: 6px; padding: 5px; }
  .social-fixed a { width: 30px; height: 30px; }
  .social-fixed a svg { width: 15px; height: 15px; }
}

/* ============================================
   Video Hotspots (interactive regions)
   ============================================ */
.video-hotspot {
  position: absolute;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  background: transparent;
  border: none;
}
.video-hotspot:hover {
  cursor: pointer;
}

/* ============================================
   About Gallery
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; gap: 20px; } }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(27,43,42,0.2);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   Hero (Home) — literal video hero
   ============================================ */
.video-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 88vh;
  overflow: hidden;
  background: var(--cream-dim);
}
.video-hero video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: var(--cream);
}
.video-hero .hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 18%;
  background: linear-gradient(to bottom, rgba(251,247,239,0), var(--cream));
  pointer-events: none;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 30px 20px 10px;
  background: var(--cream);
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .video-hero {
    aspect-ratio: 3 / 4;
    max-height: none;
    background: var(--cream);
  }
  .video-hero video {
    object-fit: contain;
    object-position: center top;
  }
  .video-hero .hero-cta-overlay { bottom: 4%; }
  .video-hero .hero-fade { height: 10%; }
}
@media (prefers-reduced-motion: reduce) {
  .video-hero video { display: none; }
  .video-hero { background-size: cover; background-position: center top; }
}
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.hero-stage {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 28px 0;
  min-height: 560px;
}
.hero-copy {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 720px;
  margin: 60px auto 0;
}
.hero-copy .lead-in {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}
.hero-wordmark {
  position: relative;
  display: inline-block;
  margin: 6px 0 18px;
}
.hero-wordmark .tape {
  position: absolute;
  inset: -10px -22px;
  background: var(--sand);
  transform: rotate(-2deg);
  border-radius: 3px;
  box-shadow: 0 6px 14px rgba(27,43,42,0.15);
  z-index: -1;
}
.hero-wordmark .tape::before,
.hero-wordmark .tape::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 14px;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.35) 0 4px, transparent 4px 8px);
}
.hero-wordmark .tape::before { left: 0; }
.hero-wordmark .tape::after { right: 0; }
.hero-wordmark span {
  position: relative;
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  color: var(--ink);
  padding: 4px 6px;
}
.hero-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto;
}
.hero-tagline strong { color: var(--ink); font-weight: 700; }

.hero-cta {
  margin-top: 30px;
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Pinned photo + screenshot cards */
.pin-card {
  position: absolute;
  z-index: 2;
  background: var(--paper);
  padding: 10px 10px 34px;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  width: 200px;
}
.pin-card .pin-label {
  position: absolute;
  bottom: 10px; left: 0; right: 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-family: var(--font-body);
}
.pin-card .pin-thumb {
  aspect-ratio: 4/5;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pin-photo {
  top: 0; left: 0;
  transform: rotate(-5deg);
  animation: floatSlow 7s ease-in-out infinite;
}
.pin-photo .pin-thumb {
  background: linear-gradient(150deg, var(--sea-mist), var(--ocean-glass));
}
.pin-screen {
  top: 40px; right: 0;
  transform: rotate(4deg);
  animation: floatSlow 8s ease-in-out infinite 0.4s;
}
.pin-screen .pin-thumb {
  aspect-ratio: 9/13;
  background: linear-gradient(160deg, var(--turquoise), var(--depth));
}
.pin-mockup { width: 84%; }
.pin-mockup .bar { height: 8px; border-radius: 3px; background: rgba(255,255,255,0.55); margin-bottom: 6px; }
.pin-mockup .bar.short { width: 55%; }
.pin-mockup .chip { display:inline-block; padding: 3px 8px; font-size: 0.55rem; background: rgba(255,255,255,0.85); color: var(--depth); border-radius: 999px; font-weight: 700; margin-bottom: 8px; }

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-9px) rotate(var(--rot, 0deg)); }
}
.pin-photo { --rot: -5deg; }
.pin-screen { --rot: 4deg; }

@media (max-width: 900px) {
  .pin-card { position: relative; width: 140px; margin: 0 auto 18px; transform: none !important; animation: none !important; opacity: 1 !important; }
  .hero-stage { display: flex; flex-direction: column; align-items: center; min-height: unset; padding-top: 10px; }
  .hero-copy { margin-top: 0; order: 2; }
  .pin-photo { order: 1; }
  .pin-screen { order: 1; }
}

/* Reveal-on-load */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: revealUp 0.7s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

/* Reveal-on-scroll */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1);
}
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--depth); color: var(--cream); box-shadow: 0 8px 20px rgba(30,110,111,0.3); }
.btn-primary:hover { box-shadow: 0 12px 26px rgba(30,110,111,0.38); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(27,43,42,0.25); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(27,43,42,0.05); }

/* ============================================
   Section scaffolding
   ============================================ */
.section {
  padding: 84px 0;
  position: relative;
  z-index: 1;
  background: var(--cream);
}
.section-head {
  max-width: 620px;
  margin: 0 0 46px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-top: 10px;
}
.section-head .sub {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* ============================================
   Retro TV — signature component
   ============================================ */
.tv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
@media (max-width: 980px) { .tv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tv-grid { grid-template-columns: 1fr; gap: 48px; } }

.tv-unit { display: flex; flex-direction: column; align-items: center; }

.tv-set {
  position: relative;
  width: 100%;
  max-width: 280px;
  background: linear-gradient(155deg, #2b3d3b, #17201f);
  border-radius: 22px 22px 30px 30px;
  padding: 16px 16px 26px;
  box-shadow:
    0 18px 30px rgba(20, 30, 29, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.tv-antenna {
  position: absolute;
  top: -26px;
  left: 50%;
  width: 70px;
  height: 30px;
  transform: translateX(-50%);
  pointer-events: none;
}
.tv-antenna i {
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 30px;
  background: #465856;
  transform-origin: bottom center;
}
.tv-antenna i:first-child { left: 18px; transform: rotate(-26deg); }
.tv-antenna i:last-child { right: 18px; transform: rotate(26deg); }

.tv-screen {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #08110f;
  box-shadow: inset 0 0 0 3px rgba(0,0,0,0.4), inset 0 0 30px rgba(0,0,0,0.55);
}
.tv-screen-scroll {
  height: 230px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.35) transparent;
}
.tv-screen-scroll::-webkit-scrollbar { width: 6px; }
.tv-screen-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 6px; }

.tv-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0.14) 0px,
    rgba(0,0,0,0.14) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: multiply;
  z-index: 5;
}
.tv-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.12), transparent 60%);
  z-index: 5;
}

.tv-face {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 0 4px;
}
.tv-brand {
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fb3af;
  font-weight: 700;
}
.tv-controls { display: flex; gap: 7px; align-items: center; }
.tv-light { width: 7px; height: 7px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 6px var(--sand); }
.tv-knob { width: 13px; height: 13px; border-radius: 50%; background: linear-gradient(160deg,#5b6e6b,#2b3a38); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.15); }

.tv-caption {
  margin-top: 18px;
  text-align: center;
}
.tv-caption .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
}
.tv-caption .tag {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--depth);
  font-weight: 700;
  margin-top: 3px;
}
.tv-caption .desc {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 260px;
}

/* Placeholder "app screen" content inside the CRT */
.mock-screen {
  padding: 14px 12px 30px;
  min-height: 340px;
  color: rgba(255,255,255,0.92);
  font-family: var(--font-body);
}
.mock-screen .mock-topbar {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
}
.mock-screen .mock-topbar span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.mock-screen .mock-chip {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  margin-bottom: 10px;
}
.mock-screen h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.15rem;
  margin: 0 0 8px;
}
.mock-screen .mock-line {
  height: 7px;
  border-radius: 4px;
  background: rgba(255,255,255,0.22);
  margin-bottom: 7px;
}
.mock-screen .mock-line.w60 { width: 60%; }
.mock-screen .mock-line.w80 { width: 80%; }
.mock-screen .mock-line.w40 { width: 40%; }
.mock-screen .mock-card {
  margin-top: 14px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px;
}
.mock-screen .mock-btn {
  margin-top: 16px;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #142523;
  font-size: 0.72rem;
  font-weight: 800;
}
.mock-screen .mock-note {
  margin-top: 22px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}

/* Work page: bigger TVs */
.tv-grid.large { grid-template-columns: repeat(2, 1fr); gap: 56px 40px; }
.tv-grid.large .tv-set { max-width: 340px; }
.tv-grid.large .tv-screen-scroll { height: 300px; }
@media (max-width: 760px) { .tv-grid.large { grid-template-columns: 1fr; } }

.tv-media-img { width: 100%; height: auto; display: block; }
.tv-media-video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }

/* ============================================
   Giant TV carousel — work page (retro CRT computer)
   ============================================ */
.giant-tv { display: flex; justify-content: center; }
.giant-tv-shell {
  position: relative;
  width: 100%;
  max-width: 1180px;
  outline: none;
  display: flex;
  align-items: center;
  gap: 56px;
}

.tv-visual {
  flex: 0 0 auto;
  width: 62%;
  max-width: 720px;
}

.tv-body {
  position: relative;
  width: 100%;
  aspect-ratio: 844 / 638;
}

/* The screen content sits underneath the monitor image; the monitor
   PNG has a matching transparent cutout so the media shows through
   exactly inside the glass, curved corners and all. */
.tv-screen-giant {
  position: absolute;
  left: 36.6%;
  top: 10.5%;
  width: 41.9%;
  height: 41.4%;
  border-radius: 7% / 9%;
  overflow: hidden;
  background: #0b1210;
}

.tv-frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 22px 30px rgba(20, 30, 29, 0.22));
}

.tv-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.tv-track::-webkit-scrollbar { display: none; }

.tv-channel {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}
.tv-channel-scroll {
  height: 100%;
  overflow: hidden;
  scrollbar-width: none;
}
.tv-channel-scroll::-webkit-scrollbar { display: none; }
.tv-channel-scroll .tv-media-video,
.tv-channel-scroll .tv-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tv-arrow {
  position: absolute;
  top: 31%;
  transform: translateY(-50%);
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(20, 30, 29, 0.75);
  color: #f2ede4;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 6;
  box-shadow: 0 6px 14px rgba(20,30,29,0.25);
}
.tv-arrow-left { left: -4%; }
.tv-arrow-right { right: -4%; }
.tv-arrow:hover { background: rgba(20, 30, 29, 0.92); transform: translateY(-50%) scale(1.06); }
.tv-arrow:active { transform: translateY(-50%) scale(0.96); }

.tv-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.tv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(27,43,42,0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.tv-dot.is-active { background: var(--depth); transform: scale(1.25); }

/* Info column — description + link, sized for client visibility */
.tv-info {
  flex: 1 1 auto;
  min-width: 0;
}
.tv-info .name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
}
.tv-info .tag {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--depth);
  font-weight: 700;
  margin-top: 8px;
}
.tv-info .desc {
  margin-top: 20px;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 440px;
}
.tv-live-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--depth);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}
.tv-live-link:hover { opacity: 0.65; }

@media (max-width: 860px) {
  .giant-tv-shell { flex-direction: column; gap: 28px; max-width: 560px; }
  .tv-visual { width: 100%; max-width: 520px; margin: 0 auto; }
  .tv-info { text-align: center; }
  .tv-info .desc { margin-left: auto; margin-right: auto; }
}

@media (max-width: 520px) {
  .tv-visual { max-width: 400px; }
  .tv-arrow { width: 30px; height: 30px; font-size: 0.78rem; }
  .tv-arrow-left { left: -8px; }
  .tv-arrow-right { right: -8px; }
  .tv-info .desc { font-size: 1.08rem; }
}

/* ============================================
   Services grid
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.service-card p { color: var(--ink-soft); font-size: 0.92rem; }

/* ============================================
   Process steps
   ============================================ */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
@media (max-width: 900px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }
.process-step {
  position: relative;
  padding: 26px 20px 22px;
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.process-step .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.1rem;
  color: var(--sand);
  -webkit-text-stroke: 1.5px var(--depth);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.process-step p { font-size: 0.88rem; color: var(--ink-soft); }
.process-list .arrow {
  display: none;
}
@media (min-width: 901px) {
  .process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -19px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ocean-glass);
    font-size: 1.2rem;
    z-index: 2;
  }
}

/* ============================================
   Page background wrapper (About/Work/Contact)
   ============================================ */
.bg-video-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.bg-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(251,247,239,0.55), rgba(251,247,239,0.85));
}

.page-hero {
  padding: 108px 0 20px;
  text-align: center;
}
.page-hero .eyebrow { display: block; margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page-hero .sub {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ============================================
   About page
   ============================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 1000px) { .about-layout { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .about-layout { grid-template-columns: 1fr; } }

.about-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-gallery .gallery-item {
  height: auto;
  aspect-ratio: 3 / 4;
}

.about-photo {
  background: var(--paper);
  padding: 12px 12px 30px;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  transform: rotate(-2deg);
}
.about-photo .frame {
  aspect-ratio: 4/5;
  border-radius: 2px;
  background: linear-gradient(150deg, var(--sea-mist), var(--depth));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-align: center;
  padding: 20px;
}
.about-photo .cap {
  text-align: center;
  margin-top: 12px;
  font-family: var(--font-script);
  font-size: 1.2rem;
  color: var(--depth);
}

.device-cluster {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 480px;
  margin: 0 auto;
}
.device {
  position: absolute;
  width: auto;
  display: block;
  filter: drop-shadow(0 14px 26px rgba(27,43,42,0.28));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.device:hover {
  transform: scale(1.05) rotate(0deg) !important;
  filter: drop-shadow(0 18px 32px rgba(27,43,42,0.38));
}
.device-computer {
  top: 0;
  left: 0;
  width: 56%;
  z-index: 1;
  transform: rotate(-6deg);
}
.device-phone {
  top: -10px;
  right: 0;
  width: 34%;
  z-index: 1;
  transform: rotate(6deg);
}
.device-gameboy {
  bottom: 0;
  left: 50%;
  width: 46%;
  z-index: 2;
  transform: translateX(-50%) rotate(-3deg);
}
@media (max-width: 760px) {
  .device-cluster { max-width: 340px; height: 380px; }
}

.about-copy p { margin-bottom: 18px; font-size: 1.05rem; color: var(--ink-soft); }
.about-copy p strong { color: var(--ink); }
.about-copy .stat-row {
  display: flex;
  gap: 34px;
  margin: 30px 0 8px;
  flex-wrap: wrap;
}
.stat-block .num { font-family: var(--font-display); font-size: 2rem; color: var(--depth); font-weight: 600; }
.stat-block .label { font-size: 0.8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }

/* ============================================
   Contact
   ============================================ */
.contact-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.contact-card h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 14px; }
.contact-card p { color: var(--ink-soft); margin-bottom: 28px; }
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--sand);
  color: var(--depth);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.availability-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--depth);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.contact-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  padding: 40px 0 60px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.site-footer .script { font-size: 1.1rem; color: var(--depth); display: block; margin-bottom: 6px; }
.site-footer .footer-tagline { margin: 0; }
.footer-social {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
}
.footer-social a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer-social a:hover { color: var(--depth); }
.footer-social span { color: var(--ink-soft); opacity: 0.5; }
