/* ═══════════════════════════════════════════════════════════
   Amberlywave Creations — design system
   bright · friendly · smart  |  not another AI template
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Dark teal → violet studio */
  --base: #0b1c24;
  --base-deep: #0a1520;
  --ink: #e8eef4;
  --ink-soft: #b4c0ce;
  --ink-faint: #8494a8;

  --coral: #f08a6e;
  --coral-soft: #f4a48c;
  --peach: #ffcbb2;
  --amber: #f2cc8f;
  --gold: #e9b872;
  --seafoam: #6ec9be;
  --teal: #4db8ab;
  --mint: #9fe0d4;
  --sky: #7eb8c9;
  --lavender: #b8a4e0;
  --blush: #f4acb7;
  --rose: #e89aaf;

  /* legacy aliases used in older rules */
  --cream: var(--base);
  --cream-deep: var(--base-deep);

  --glass: rgba(18, 36, 48, 0.72);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.28);
  --shadow-lift: 0 20px 50px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background: var(--base);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

/* ── Atmosphere (tinted multi-hue wash) ── */

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 8% 0%, rgba(45, 140, 140, 0.35), transparent 58%),
    radial-gradient(ellipse 55% 50% at 95% 10%, rgba(110, 70, 160, 0.38), transparent 55%),
    radial-gradient(ellipse 50% 55% at 75% 90%, rgba(80, 50, 140, 0.32), transparent 55%),
    radial-gradient(ellipse 45% 40% at 15% 80%, rgba(30, 120, 130, 0.28), transparent 52%),
    radial-gradient(ellipse 40% 35% at 50% 45%, rgba(242, 204, 143, 0.08), transparent 50%),
    linear-gradient(165deg, #0a1a22 0%, #0d1f2e 40%, #14122a 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Floating sparkles */
.sparkle-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.sparkle-field span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255,255,255,0) 70%);
  box-shadow: 0 0 12px rgba(242, 204, 143, 0.8);
  opacity: 0.55;
  animation: twinkle 7s ease-in-out infinite;
}

.sparkle-field span:nth-child(1) { top: 12%; left: 8%; animation-delay: 0s; background: radial-gradient(circle, var(--mint), transparent 70%); }
.sparkle-field span:nth-child(2) { top: 28%; left: 78%; animation-delay: -1.5s; width: 8px; height: 8px; }
.sparkle-field span:nth-child(3) { top: 62%; left: 18%; animation-delay: -3s; background: radial-gradient(circle, var(--blush), transparent 70%); }
.sparkle-field span:nth-child(4) { top: 74%; left: 88%; animation-delay: -4.2s; }
.sparkle-field span:nth-child(5) { top: 42%; left: 52%; animation-delay: -2.1s; width: 5px; height: 5px; background: radial-gradient(circle, var(--lavender), transparent 70%); }
.sparkle-field span:nth-child(6) { top: 88%; left: 42%; animation-delay: -5.5s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8) translateY(0); }
  50% { opacity: 0.85; transform: scale(1.25) translateY(-8px); }
}

/* ── Typography ── */

.display {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hand {
  font-family: "Caveat", cursive;
  font-weight: 500;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--seafoam), var(--coral-soft));
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ── Layout helpers ── */

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin: 0.65rem 0 0.85rem;
  color: var(--ink);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ── Nav ── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(1.25);
  background: rgba(10, 26, 34, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s var(--ease);
}

.nav.scrolled {
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
}

.logo span.logo-light {
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav-links a {
  padding: 0.45rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(126, 184, 176, 0.15);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  box-shadow: 0 6px 18px rgba(224, 122, 95, 0.25);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(224, 122, 95, 0.32);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: rgba(126, 184, 176, 0.15);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-share {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(18, 40, 54, 0.6);
  border: 1px solid rgba(126, 184, 176, 0.28);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s, color 0.25s;
  white-space: nowrap;
}

.nav-share:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 184, 176, 0.55);
  background: rgba(126, 184, 176, 0.14);
}

.nav-share:active { transform: translateY(0); }

.nav-share:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.nav-share svg { flex-shrink: 0; }

.share-toast {
  position: fixed;
  left: 50%;
  bottom: 5rem;
  transform: translateX(-50%) translateY(20px);
  background: rgba(11, 28, 36, 0.95);
  color: var(--ink);
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 184, 176, 0.4);
  box-shadow: var(--shadow-lift);
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 200;
  backdrop-filter: blur(8px);
  max-width: calc(100vw - 2rem);
  text-align: center;
}

.share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}

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

.btn-primary {
  color: white;
  background: linear-gradient(135deg, #4f9a92 0%, #e07a5f 100%);
  box-shadow: 0 10px 28px rgba(224, 122, 95, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(224, 122, 95, 0.36);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(18, 40, 54, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(24, 48, 64, 0.95);
  border-color: rgba(126, 184, 176, 0.45);
  box-shadow: var(--shadow-soft);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

/* ── Hero ── */

.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.45rem;
  border-radius: 999px;
  background: rgba(18, 40, 54, 0.75);
  border: 1px solid rgba(126, 184, 176, 0.35);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 1.35rem;
  box-shadow: 0 4px 16px rgba(126, 184, 176, 0.12);
}

.hero-badge i {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--amber));
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 0.7rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 3.85rem);
  margin-bottom: 1.15rem;
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--teal), var(--coral) 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 .wave-word {
  position: relative;
  display: inline-block;
}

.hero h1 .wave-word::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.18em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 8 Q15 0 30 8 T60 8 T90 8 T120 8' fill='none' stroke='%237eb8b0' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  opacity: 0.7;
  z-index: -1;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

.meta-pill {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.95rem;
  border-radius: 16px;
  background: rgba(18, 40, 54, 0.75);
  border: 1px solid rgba(126, 184, 176, 0.22);
  backdrop-filter: blur(8px);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.meta-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(224, 122, 95, 0.35);
}

.meta-pill strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--ink);
}

.meta-pill span {
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-weight: 500;
}

/* Hero visual collage */

.hero-visual {
  position: relative;
  min-height: 420px;
}

.float-card {
  position: absolute;
  border-radius: var(--radius-md);
  background: rgba(22, 46, 62, 0.82);
  border: 1px solid rgba(30, 55, 72, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  padding: 1rem 1.1rem;
  transition: transform 0.4s var(--ease), box-shadow 0.3s, border-color 0.3s;
  display: block;
  color: inherit;
}

.float-card:hover {
  box-shadow: var(--shadow-lift);
  z-index: 10;
  border-color: rgba(126, 184, 176, 0.45);
}

.float-card .card-go {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
}

.hero-ring {
  position: absolute;
  inset: 8% 6%;
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  border: 1.5px dashed rgba(126, 184, 176, 0.35);
  animation: spin-slow 28s linear infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.fc-1 {
  top: 6%;
  left: 4%;
  width: 58%;
  transform: rotate(-3.5deg);
  z-index: 3;
  background: linear-gradient(145deg, rgba(30, 55, 72, 0.9), rgba(184, 224, 210, 0.45));
}

.fc-2 {
  top: 28%;
  right: 0;
  width: 52%;
  transform: rotate(4deg);
  z-index: 4;
  background: linear-gradient(160deg, rgba(235, 242, 248, 0.95), rgba(255, 203, 178, 0.4));
}

.fc-3 {
  bottom: 18%;
  left: 10%;
  width: 48%;
  transform: rotate(-2deg);
  z-index: 2;
  background: linear-gradient(150deg, rgba(30, 55, 72, 0.9), rgba(201, 184, 224, 0.35));
}

.fc-4 {
  bottom: 4%;
  right: 8%;
  width: 44%;
  transform: rotate(2.5deg);
  z-index: 5;
  background: linear-gradient(155deg, rgba(235, 242, 248, 0.95), rgba(242, 204, 143, 0.4));
}

.float-card .tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}

.tag-teal { background: rgba(126, 184, 176, 0.3); color: #9fe0d4; }
.tag-coral { background: rgba(224, 122, 95, 0.22); color: #a34a33; }
.tag-lav { background: rgba(201, 184, 224, 0.4); color: #5f4d7a; }
.tag-amber { background: rgba(242, 204, 143, 0.45); color: #8a6a2a; }

.float-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.float-card p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  z-index: 1;
  animation: drift 12s ease-in-out infinite;
}

.orbit-a {
  width: 7rem;
  height: 7rem;
  top: 12%;
  right: 22%;
  background: radial-gradient(circle at 30% 30%, var(--peach), transparent 70%);
  opacity: 0.7;
}

.orbit-b {
  width: 5rem;
  height: 5rem;
  bottom: 28%;
  left: 0;
  background: radial-gradient(circle at 40% 40%, var(--sky), transparent 70%);
  opacity: 0.75;
  animation-delay: -4s;
}

.orbit-c {
  width: 4rem;
  height: 4rem;
  top: 48%;
  right: 8%;
  background: radial-gradient(circle at 35% 35%, var(--lavender), transparent 70%);
  opacity: 0.65;
  animation-delay: -7s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -12px); }
}

/* Wave divider */

.wave-divider {
  display: block;
  width: 100%;
  height: clamp(48px, 8vw, 90px);
  color: #0c1a24;
  margin-top: -1px;
}

.wave-divider path {
  fill: currentColor;
}

/* ── About / story ── */

.story {
  background: linear-gradient(180deg, rgba(12, 40, 48, 0.65) 0%, rgba(20, 24, 48, 0.45) 100%);
}

.story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.story-panel {
  position: sticky;
  top: 6rem;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(155deg, rgba(22, 46, 62, 0.88), rgba(168, 218, 220, 0.25) 50%, rgba(242, 204, 143, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}

.story-panel .hand {
  font-size: 1.55rem;
  color: var(--coral);
  margin-bottom: 0.75rem;
  display: block;
}

.story-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  margin-bottom: 0.85rem;
}

.story-panel p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.story-panel p:last-of-type {
  margin-bottom: 0;
}

.story-line {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--ink) !important;
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, var(--seafoam), var(--coral-soft)) 1;
  padding-left: 0.9rem;
  margin: 1.1rem 0 1.25rem !important;
}

.story-line em {
  font-style: italic;
  color: var(--coral);
}

.story-panel .btn {
  margin-top: 0.35rem;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-md);
  background: rgba(18, 40, 54, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  color: inherit;
}

.pillar:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(126, 184, 176, 0.35);
}

.pillar-go {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
}

.pillar-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.pi-1 { background: linear-gradient(145deg, var(--mint), var(--sky)); }
.pi-2 { background: linear-gradient(145deg, var(--peach), var(--blush)); }
.pi-3 { background: linear-gradient(145deg, var(--amber), var(--peach)); }
.pi-4 { background: linear-gradient(145deg, var(--lavender), var(--sky)); }

.pillar h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.pillar p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ── Services ── */

.services-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 1rem;
}

.svc {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.55rem;
  border: 1px solid rgba(18, 40, 54, 0.75);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.3s;
  display: block;
  color: inherit;
}

.svc:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(224, 122, 95, 0.28);
}

.svc-go {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--teal);
  position: relative;
  z-index: 1;
}

button.svc-go {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.svc:hover .svc-go {
  color: var(--coral);
}

.svc::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  opacity: 0.35;
  pointer-events: none;
}

.svc-a {
  grid-column: span 7;
  grid-row: span 2;
  background: linear-gradient(145deg, rgba(18, 48, 56, 0.95) 0%, rgba(30, 70, 78, 0.9) 55%, rgba(40, 80, 90, 0.85) 100%);
  min-height: 280px;
}
.svc-a::after { background: var(--seafoam); }

.svc-b {
  grid-column: span 5;
  background: linear-gradient(145deg, rgba(40, 32, 40, 0.95) 0%, rgba(90, 50, 45, 0.75) 100%);
}
.svc-b::after { background: var(--coral-soft); }

.svc-c {
  grid-column: span 5;
  background: linear-gradient(145deg, rgba(30, 28, 50, 0.95) 0%, rgba(70, 50, 100, 0.7) 100%);
}
.svc-c::after { background: var(--lavender); }

.svc-d {
  grid-column: span 4;
  background: linear-gradient(145deg, rgba(40, 36, 28, 0.95) 0%, rgba(90, 70, 35, 0.65) 100%);
}
.svc-d::after { background: var(--amber); }

.svc-e {
  grid-column: span 4;
  background: linear-gradient(145deg, rgba(42, 28, 38, 0.95) 0%, rgba(100, 50, 70, 0.65) 100%);
}
.svc-e::after { background: var(--blush); }

.svc-f {
  grid-column: span 4;
  background: linear-gradient(145deg, rgba(22, 40, 50, 0.95) 0%, rgba(40, 80, 95, 0.7) 100%);
}
.svc-f::after { background: var(--sky); }

.svc .num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-faint);
  margin-bottom: 0.85rem;
}

.svc h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.svc p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
  max-width: 28rem;
}

.svc-a h3 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}

.svc-a p {
  font-size: 1.02rem;
  margin-bottom: 1.25rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  position: relative;
  z-index: 1;
}

.chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(18, 40, 54, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink-soft);
}

/* ── Work / portfolio ── */

.work {
  background: linear-gradient(180deg, rgba(30, 24, 52, 0.45) 0%, rgba(12, 40, 48, 0.5) 100%);
}

.work-mark.media-play {
  position: relative;
}

.work-mark.media-play::before {
  content: "▶";
  position: absolute;
  z-index: 2;
  inset: auto auto 0.55rem 0.55rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  box-shadow: 0 6px 16px rgba(42, 50, 60, 0.25);
  pointer-events: none;
}

.work-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.work-card {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: 1.35rem;
  align-items: center;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(18, 40, 54, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 20px rgba(47, 54, 64, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.work-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(126, 184, 176, 0.35);
}

.work-mark {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 22px;
  display: block;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0;
  cursor: pointer;
  box-shadow:
    0 0 0 3px rgba(30, 55, 72, 0.9),
    0 10px 24px rgba(47, 54, 64, 0.12);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

button.work-link {
  font: inherit;
}

.work-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.2), transparent 45%, rgba(47,54,64,0.12));
  pointer-events: none;
}

.work-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.work-card:hover .work-mark {
  transform: scale(1.04) rotate(-1deg);
  box-shadow:
    0 0 0 3px rgba(126, 184, 176, 0.35),
    0 14px 30px rgba(47, 54, 64, 0.16);
}

.work-card:hover .work-mark img {
  transform: scale(1.08);
}

.work-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.work-body .domain {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.45rem;
}

.work-body p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 42rem;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.work-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(126, 184, 176, 0.15);
  color: #9fe0d4;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(24, 48, 64, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.work-link:hover {
  background: var(--mint);
  border-color: transparent;
  transform: translateX(3px);
}

/* ── Creative strip ── */

.creative {
  overflow: hidden;
}

.creative-banner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    linear-gradient(125deg, rgba(22, 46, 62, 0.88), rgba(244, 172, 183, 0.25) 40%, rgba(242, 204, 143, 0.3) 70%, rgba(126, 184, 176, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}

.creative-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0.5rem 0 0.75rem;
}

.creative-banner p {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.reel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.reel-frame {
  aspect-ratio: 9 / 14;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(22, 46, 62, 0.88);
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.85rem;
  color: white;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.reel-frame:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 16px 36px rgba(47, 54, 64, 0.18);
}

.reel-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(47, 54, 64, 0.72));
}

.rf-photo {
  background-size: cover;
  background-position: center;
}

.reel-frame > * {
  position: relative;
  z-index: 1;
}

.reel-frame .rf-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.reel-frame h4 {
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
}

/* ── Process ── */

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 2.1rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--seafoam), var(--amber), var(--coral-soft), var(--lavender));
  opacity: 0.45;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0.75rem 0.5rem 1rem;
  border-radius: var(--radius-md);
  color: inherit;
  transition: transform 0.3s var(--ease), background 0.3s;
}

.step:hover {
  transform: translateY(-4px);
  background: rgba(18, 40, 54, 0.75);
}

.step-go {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
}

.step-dot {
  width: 4.2rem;
  height: 4.2rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  background: rgba(24, 48, 64, 0.95);
  border: 2px solid rgba(126, 184, 176, 0.35);
  box-shadow: var(--shadow-soft);
  color: var(--teal);
}

.step:nth-child(2) .step-dot { border-color: rgba(242, 204, 143, 0.6); color: #b8892e; }
.step:nth-child(3) .step-dot { border-color: rgba(224, 122, 95, 0.4); color: var(--coral); }
.step:nth-child(4) .step-dot { border-color: rgba(201, 184, 224, 0.55); color: #6b5890; }

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ── Contact ── */

.contact-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}

.contact-card {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: calc(var(--radius-lg) + 6px);
  background:
    linear-gradient(145deg, rgba(30, 55, 72, 0.9), rgba(126, 184, 176, 0.2) 60%, rgba(242, 204, 143, 0.25));
  border: 1px solid rgba(22, 46, 62, 0.88);
  box-shadow: var(--shadow-soft);
}

.contact-card h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin: 0.55rem 0 0.85rem;
}

.contact-card > p {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: rgba(22, 46, 62, 0.88);
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--seafoam);
  box-shadow: 0 0 0 4px rgba(126, 184, 176, 0.18);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-top: 0.35rem;
}

.form-success {
  display: none;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(126, 184, 176, 0.2);
  border: 1px solid rgba(126, 184, 176, 0.4);
  color: #9fe0d4;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-success.show {
  display: block;
}

.form-error {
  padding: 0.85rem 1.05rem;
  border-radius: 12px;
  background: rgba(224, 122, 95, 0.12);
  border: 1px solid rgba(224, 122, 95, 0.4);
  color: #f4c8b9;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.side-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.side-card {
  flex: 1;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(18, 40, 54, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-soft);
}

.side-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.side-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}

.side-card a.link {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.92rem;
}

.side-card a.link:hover {
  text-decoration: underline;
}

.link-stack {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0 !important;
}

.link-stack .link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.link-stack .link::before {
  content: "↗";
  font-size: 0.8rem;
  opacity: 0.7;
}

.side-card.highlight {
  background: linear-gradient(150deg, rgba(22, 46, 62, 0.88), rgba(244, 172, 183, 0.3));
}

/* ── Footer ── */

.footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(10, 26, 34, 0.9), rgba(12, 18, 36, 0.98));
}

/* First-visit intro */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050b10;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.intro-overlay.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-overlay video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, transparent 20%, rgba(5, 11, 16, 0.45) 100%),
    linear-gradient(180deg, rgba(5, 11, 16, 0.15), rgba(5, 11, 16, 0.55));
  pointer-events: none;
}

.intro-ui {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1.5rem;
  max-width: 28rem;
}

.intro-ui .brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.intro-ui p {
  color: rgba(232, 238, 244, 0.85);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.shop-banner {
  margin-top: 1.5rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(30, 80, 90, 0.55), rgba(70, 45, 110, 0.5));
  border: 1px solid rgba(180, 160, 255, 0.22);
  box-shadow: var(--shadow-soft);
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.shop-banner:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.shop-banner img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.12);
}

.shop-banner h3 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.shop-banner p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

.shop-banner .shop-go {
  font-weight: 700;
  color: var(--mint);
  white-space: nowrap;
}

/* Video lightbox */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(30, 40, 48, 0.62);
  backdrop-filter: blur(8px);
}

.video-modal.open {
  display: flex;
}

.video-modal-panel {
  width: min(920px, 100%);
  border-radius: 22px;
  overflow: hidden;
  background: #1a2228;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  position: relative;
}

.video-modal-panel video {
  width: 100%;
  display: block;
  max-height: min(80vh, 720px);
  background: #111;
}

.video-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(235, 242, 248, 0.95);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.video-modal-close:hover {
  background: rgba(24, 48, 64, 0.95);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer p {
  font-size: 0.88rem;
  color: var(--ink-faint);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--teal);
}

.replay-intro {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 90;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: rgba(12, 32, 42, 0.88);
  border: 1px solid rgba(110, 201, 190, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}

.replay-intro:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 201, 190, 0.65);
  background: rgba(18, 48, 60, 0.95);
}

@media (max-width: 720px) {
  .replay-intro {
    left: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    font-size: 0.72rem;
    padding: 0.45rem 0.75rem;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
    line-height: 1.08;
    margin-bottom: 1rem;
  }

  .hero p.hero-lead {
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.74rem;
    padding: 0.32rem 0.8rem 0.32rem 0.4rem;
    margin-bottom: 1rem;
  }

  .hero-visual {
    min-height: auto;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1.5rem;
  }

  .hero-visual .orbit,
  .hero-visual .hero-ring {
    display: none;
  }

  .float-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    transform: none !important;
    padding: 0.85rem 0.95rem;
  }

  .float-card h3 {
    font-size: 1.02rem;
  }

  .float-card p {
    font-size: 0.84rem;
    line-height: 1.35;
    margin-bottom: 0.45rem;
  }

  .float-card .card-go {
    margin-top: 0.35rem;
    font-size: 0.74rem;
  }

  .float-card .tag {
    font-size: 0.6rem;
    padding: 0.18rem 0.45rem;
    margin-bottom: 0.4rem;
  }

  .meta-pill {
    padding: 0.55rem 0.8rem;
  }

  .section {
    padding: clamp(2.5rem, 7vw, 4rem) 0;
  }

  .services-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 0.85rem;
  }

  .svc {
    min-height: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    padding: 1.2rem 1.25rem;
  }

  .svc h3 {
    font-size: 1.18rem;
  }

  .pillar {
    padding: 1rem 1.1rem;
    gap: 0.75rem;
  }

  .pillar h3 {
    font-size: 1.05rem;
  }

  .reel {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .reel-frame {
    min-height: 200px;
  }

  .reel-frame h4 {
    font-size: 1.05rem;
  }

  .process-track {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step {
    padding: 1.1rem 1.2rem;
  }

  .contact-shell {
    gap: 1.5rem;
  }

  .contact-card,
  .side-card {
    padding: 1.4rem 1.3rem;
  }

  .contact-form .field-row {
    grid-template-columns: 1fr !important;
  }

  .shop-banner {
    padding: 1rem;
    gap: 0.75rem;
  }

  .shop-banner h3 {
    font-size: 1.05rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .intro-overlay .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .float-card h3 {
    font-size: 0.95rem;
  }

  .float-card p {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.12;
  }
  .hero-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem 0.3rem 0.4rem;
  }
  .hero-actions,
  .hero-meta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn,
  .hero-meta .meta-pill {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .meta-pill {
    padding: 0.55rem 0.7rem;
  }
  .meta-pill strong {
    font-size: 1.05rem;
  }
  .meta-pill span {
    font-size: 0.74rem;
  }
  .step h3 {
    font-size: 1rem;
  }
  .work-mark {
    width: 4rem;
    height: 4rem;
    border-radius: 14px;
  }
  .work-card {
    padding: 0.95rem;
    gap: 0.85rem;
  }
  .nav-inner {
    padding: 0.75rem 1rem 0.75rem 1.25rem;
  }
  .footer-inner p {
    font-size: 0.85rem;
  }
}

/* ── Reveal animations ── */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── Responsive ── */

@media (max-width: 960px) {
  .hero-grid,
  .story-grid,
  .creative-banner,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .story-panel {
    position: static;
  }

  .hero-visual {
    min-height: auto;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .hero-visual .orbit,
  .hero-visual .hero-ring {
    display: none;
  }

  .float-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    transform: none !important;
  }

  /* Hero collage is desktop decoration; on phones the work section carries the products instead. */
  .hero-visual {
    display: none;
  }

  .work-card {
    grid-template-columns: 5.5rem 1fr;
  }

  .work-mark {
    width: 5.5rem;
    height: 5.5rem;
    font-size: 1.2rem;
    border-radius: 16px;
  }

  .work-link {
    grid-column: 2;
    justify-self: start;
  }

  .process-track {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
  }

  .process-track::before {
    display: none;
  }

  .svc-a,
  .svc-b,
  .svc-c,
  .svc-d,
  .svc-e,
  .svc-f {
    grid-column: span 12;
  }

  .svc-a {
    min-height: auto;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .shop-banner {
    grid-template-columns: auto 1fr;
  }
  .shop-banner .shop-go {
    grid-column: 1 / -1;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(10, 26, 34, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .nav-links .nav-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .work-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .work-mark {
    width: 4.5rem;
    height: 4.5rem;
  }

  .work-link {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .orbit,
  .hero-ring,
  .sparkle-field span { animation: none; }
  .btn:hover,
  .svc:hover,
  .work-card:hover,
  .pillar:hover,
  .step:hover,
  .reel-frame:hover,
  .meta-pill:hover {
    transform: none;
  }
}
