/* ==========================================================================
   Luceva Studio — Official Website Stylesheet
   Mobile-first, plain CSS, accessible contrast, zero horizontal overflow.
   ========================================================================== */

:root {
  /* Palette — grounded in Luceva's slate-navy & warm gold mark */
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-alt: #eee9de;
  --ink: #131a29;
  --ink-soft: #434e62;
  --ink-deep: #0b111e;
  --ink-elevated: #141d30;
  --on-dark: #f7f4ee;
  --on-dark-muted: #c2c9d6;
  --gold: #eab348;
  --gold-bright: #ffd46b;
  --gold-ink: #8f5700;
  --line: rgba(19, 26, 41, 0.12);
  --line-strong: rgba(19, 26, 41, 0.22);
  --line-dark: rgba(247, 244, 238, 0.14);
  --wa: #147a43;
  --wa-hover: #0f6235;

  /* Typography */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  /* Layout */
  --gutter: clamp(18px, 4.5vw, 56px);
  --container: 1240px;
  --header-h: 72px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-h) + 1px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  color: var(--ink);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

@keyframes pageEnterFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

main {
  animation: pageEnterFade 0.22s ease both;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* Accessible focus rings */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.section-dark :focus-visible,
.contact-panel :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold-bright);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink-deep);
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(50%);
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease), opacity 0.15s ease;
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  clip-path: none;
  transform: translateY(0);
}

/* Prevent CSS grid items from forcing horizontal overflow on narrow 360px viewports */
.hero-grid > *,
.work-item > *,
.addons-layout > *,
.about-grid > *,
.contact-panel > *,
.compare-wrap,
.builder-box,
.addon-card,
.pkg-card,
.faq-item {
  min-width: 0;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
  flex: none;
}

.section-dark .eyebrow {
  color: var(--gold-bright);
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.section-tinted {
  background: var(--surface-alt);
  border-block: 1px solid var(--line);
}

.section-dark {
  background: var(--ink-deep);
  color: var(--on-dark);
}

.section-head {
  max-width: 68ch;
  margin-bottom: clamp(32px, 4.5vw, 52px);
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.section-head h2 em,
.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.section-lead {
  margin-top: 14px;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  color: var(--ink-soft);
}

.section-dark .section-lead {
  color: var(--on-dark-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-wa {
  background: var(--wa);
  color: #ffffff;
}

.btn-wa:hover {
  background: var(--wa-hover);
}

.btn-dark {
  background: var(--ink-deep);
  color: var(--on-dark);
}

.btn-dark:hover {
  background: #1c263b;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink-deep);
}

.btn-gold:hover {
  background: var(--gold-bright);
}

.btn-outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: rgba(19, 26, 41, 0.04);
}

.section-dark .btn-outline,
.contact-panel .btn-outline {
  border-color: rgba(247, 244, 238, 0.28);
  color: var(--on-dark);
}

.section-dark .btn-outline:hover,
.contact-panel .btn-outline:hover {
  border-color: var(--gold-bright);
  background: rgba(247, 244, 238, 0.06);
}

/* ---------- Header & Mobile Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(247, 244, 238, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  text-decoration: none;
  flex: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.brand-name span {
  color: var(--gold-ink);
  font-weight: 600;
}

.desktop-nav {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-wa {
  display: none;
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s var(--ease), background-color 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 85;
  background: var(--bg);
  padding: 28px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  overflow-y: auto;
}

.mobile-drawer-links {
  display: grid;
  gap: 4px;
}

.mobile-drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-drawer-meta {
  display: grid;
  gap: 12px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(28px, 4.5vw, 56px) clamp(36px, 5vw, 64px);
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(234, 179, 72, 0.14), transparent 45%),
    linear-gradient(to right, rgba(19, 26, 41, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(19, 26, 41, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
}

.hero-grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-title {
  margin-top: 12px;
  font-size: clamp(2.05rem, 3.9vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero-title em {
  color: var(--gold-ink);
}

.hero-sub {
  margin-top: 14px;
  max-width: 52ch;
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  line-height: 1.58;
  color: var(--ink-soft);
}

.hero-cta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta-strip {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.hero-meta-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-strip span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* Interactive Tier Stage in Hero */
.hero-stage {
  min-width: 0;
  background: var(--ink-deep);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(11, 17, 30, 0.16);
}

.stage-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}

.stage-tab {
  min-height: 42px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--on-dark-muted);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.stage-tab span {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.85;
}

.stage-tab[aria-selected="true"] {
  background: var(--surface);
  color: var(--ink-deep);
}

.stage-tab[aria-selected="true"] span {
  color: var(--gold-ink);
  opacity: 1;
}

.stage-viewport {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #090e18;
  aspect-ratio: 16 / 10;
  max-height: 360px;
}

.stage-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.stage-caption {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--on-dark-muted);
}

.stage-caption strong {
  color: var(--on-dark);
  font-weight: 600;
}

.stage-caption a {
  color: var(--gold-bright);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
}

.stage-caption a:hover {
  text-decoration: underline;
}

/* ---------- Work / Demo Showcase ---------- */
.demo-disclosure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.work-list {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}

.work-item {
  display: grid;
  gap: clamp(22px, 3.5vw, 44px);
  padding: clamp(20px, 3.2vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(19, 26, 41, 0.045);
}

.work-device-stage {
  position: relative;
  min-width: 0;
  padding-bottom: 14px;
  padding-right: 12px;
}

.device-desktop {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--ink-deep);
  box-shadow: 0 14px 36px rgba(11, 17, 30, 0.1);
}

.device-zoom-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  text-align: left;
}

.device-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #172033;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.device-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.device-url {
  margin-left: 8px;
  font-size: 0.72rem;
  color: var(--on-dark-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.device-desktop img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.65s var(--ease);
}

.device-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(92px, 24%, 146px);
  border-radius: 18px;
  padding: 4px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 38px rgba(11, 17, 30, 0.28);
  overflow: hidden;
}

.device-phone img {
  width: 100%;
  border-radius: 13px;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.65s var(--ease);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

/* ---------- Scroll-Lit Studio Principles Band ---------- */
.lit-band {
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.lit-grid {
  display: grid;
  gap: 28px;
}

.lit-stack {
  display: grid;
  gap: clamp(16px, 2.4vw, 26px);
}

.lit-line {
  font-size: clamp(1.3rem, 2.5vw, 2.05rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: rgba(19, 26, 41, 0.24);
  transition: color 0.45s var(--ease), transform 0.45s var(--ease);
}

.lit-line.is-lit {
  color: var(--ink);
}

.lit-line em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: inherit;
  transition: color 0.45s var(--ease);
}

.lit-line.is-lit em {
  color: var(--gold-ink);
}

.work-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.work-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--surface-alt);
  color: var(--ink);
  border: 1px solid var(--line);
}

.badge-sample {
  background: #fdf4dc;
  color: #6b4100;
  border-color: rgba(143, 87, 0, 0.22);
}

.work-info h3 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.work-desc {
  margin-top: 12px;
  color: var(--ink-soft);
}

.work-highlights {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--ink);
}

.work-highlights li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.work-highlights li::before {
  content: "—";
  color: var(--gold-ink);
  font-weight: 700;
  flex: none;
}

.work-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Packages ---------- */
.packages-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}

.pkg-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border-radius: var(--radius-md);
  background: var(--ink-elevated);
  border: 1px solid var(--line-dark);
  min-width: 0;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}

.pkg-card-featured {
  border-color: rgba(255, 212, 107, 0.55);
  background: linear-gradient(180deg, #19243b 0%, #131c2e 100%);
}

@keyframes spotlightPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 212, 107, 0.42); }
  65% { box-shadow: 0 0 0 8px rgba(255, 212, 107, 0); }
}

.pkg-card-featured .pkg-tag {
  animation: spotlightPulse 3.2s ease-out infinite;
}

.pkg-tier-row {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 8px;
}

.pkg-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.pkg-tag {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-bright);
}

.pkg-subtitle {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--on-dark-muted);
}

.pkg-price {
  margin-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.pkg-price-prefix {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.pkg-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--on-dark-muted);
  flex: 1;
}

.pkg-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pkg-list li::before {
  content: "✓";
  color: var(--gold-bright);
  font-weight: 700;
  flex: none;
}

.pkg-cta {
  margin-top: 24px;
  width: 100%;
}

/* Comparison table */
.compare-wrap {
  margin-top: 44px;
}

.compare-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.compare-head h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.compare-head p {
  font-size: 0.88rem;
  color: var(--on-dark-muted);
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: var(--ink-elevated);
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-dark);
  vertical-align: top;
}

.compare-table thead th {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.03);
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--on-dark);
  width: 22%;
}

.compare-table tbody td {
  color: var(--on-dark-muted);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.package-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--on-dark-muted);
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

/* ---------- Add-ons + Interactive Estimator ---------- */
.addons-layout {
  display: grid;
  gap: 32px;
}

.addons-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}

.addon-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.addon-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.addon-top h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.addon-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-ink);
  white-space: nowrap;
}

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

/* WhatsApp Scope & Estimate Builder */
.builder-box {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 32px rgba(19, 26, 41, 0.05);
}

.builder-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.builder-sub {
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.builder-group {
  margin-top: 22px;
}

.builder-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.tier-picks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tier-pick {
  padding: 11px 12px;
  min-height: 48px;
  border-radius: 10px;
  border: 1.5px solid var(--line-strong);
  background: var(--bg);
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.tier-pick span {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.tier-pick[aria-pressed="true"] {
  border-color: var(--ink-deep);
  background: var(--ink-deep);
  color: var(--on-dark);
}

.tier-pick[aria-pressed="true"] span {
  color: var(--gold-bright);
}

.addon-checks {
  display: grid;
  gap: 8px;
}

.addon-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.9rem;
  cursor: pointer;
}

.addon-check-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.addon-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--ink-deep);
  flex: none;
}

.addon-check-status {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

.addon-check.is-included {
  opacity: 0.72;
  cursor: default;
}

.addon-check-wrap {
  display: grid;
  gap: 6px;
}

.building-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  font-size: 0.85rem;
}

.stepper-label {
  font-weight: 600;
  color: var(--ink-soft);
}

.stepper-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stepper-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
}

.stepper-btn:hover:not(:disabled) {
  background: var(--ink-deep);
  color: var(--on-dark);
  border-color: var(--ink-deep);
}

.stepper-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.stepper-input {
  width: 44px;
  height: 34px;
  padding: 0 4px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.stepper-input::-webkit-outer-spin-button,
.stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ---------- Maintenance Plans Block ---------- */
.maintenance-block {
  margin-top: 32px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.maintenance-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 18px;
}

.maintenance-head h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.maintenance-head p {
  margin-top: 4px;
  font-size: 0.94rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

.maintenance-terms-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-ink);
  text-decoration: none;
  white-space: nowrap;
}

.maintenance-terms-link:hover {
  text-decoration: underline;
}

.maintenance-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

.maintenance-card {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--line);
}

.maintenance-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.maintenance-top h4 {
  font-size: 1rem;
  font-weight: 700;
}

.maintenance-top strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-ink);
  white-space: nowrap;
}

.maintenance-card p {
  margin-top: 5px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.maintenance-foot {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.builder-total {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.builder-total-value {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.builder-note {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.builder-btn {
  margin-top: 18px;
  width: 100%;
}

/* ---------- Process ---------- */
.process-grid {
  position: relative;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 24px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.35s var(--ease);
}

.step-num {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  padding-inline: 8px;
  border-radius: 999px;
  border: 1px solid rgba(143, 87, 0, 0.28);
  background: #fdf6e3;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-ink);
  margin-bottom: 12px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.process-step h3 {
  font-size: 1.12rem;
  font-weight: 700;
}

.process-step p {
  margin-top: 8px;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.timeline-note {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.founder-card {
  max-width: 400px;
  width: 100%;
  margin-inline: auto;
}

.founder-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface-alt);
}

.founder-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.founder-caption {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.founder-caption strong {
  font-size: 1.1rem;
}

.founder-caption span {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.about-copy h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.22;
  margin-bottom: 16px;
}

.about-copy p + p {
  margin-top: 14px;
}

.about-copy p {
  color: var(--ink-soft);
}

.about-points {
  margin-top: 22px;
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.about-points li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 500;
}

.about-points li::before {
  content: "·";
  font-size: 1.3rem;
  color: var(--gold-ink);
  font-weight: 700;
}

/* ---------- FAQ (Smooth Accordion) ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.is-open {
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(19, 26, 41, 0.045);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.4;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--gold-ink);
  transition: transform 0.35s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.35s var(--ease), opacity 0.28s ease;
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer {
  overflow: hidden;
  padding: 0 22px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.faq-answer p {
  padding-bottom: 20px;
}

/* ---------- Contact ---------- */
.contact-panel {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4.5vw, 56px);
  background: var(--ink-deep);
  color: var(--on-dark);
  display: grid;
  gap: 32px;
  align-items: center;
}

.contact-panel h2 {
  margin-top: 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.contact-panel p {
  margin-top: 12px;
  color: var(--on-dark-muted);
  max-width: 52ch;
}

.contact-cards {
  display: grid;
  gap: 12px;
}

.contact-detail {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-detail span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 700;
}

.contact-detail a,
.contact-detail strong {
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.contact-detail a:hover {
  text-decoration: underline;
}

.contact-cta-group {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Monumental Studio Footer ---------- */
.site-footer {
  background: #080d18;
  color: var(--on-dark-muted);
  border-top: 1px solid var(--line-dark);
  padding-block: clamp(56px, 7vw, 88px) clamp(88px, 8vw, 52px);
  overflow: hidden;
}

.footer-top {
  display: grid;
  gap: 36px 48px;
  padding-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line-dark);
}

.footer-summary {
  max-width: 38ch;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand strong {
  color: var(--on-dark);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
}

.footer-brand span {
  font-size: 0.85rem;
  color: var(--gold-bright);
}

.footer-summary p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--on-dark-muted);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
}

.footer-col-title {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 12px;
}

.footer-col-links {
  display: grid;
  gap: 2px;
  font-size: 0.94rem;
}

.footer-col-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  text-decoration: none;
  color: var(--on-dark-muted);
  transition: color 0.18s ease;
}

.footer-col-links a:hover {
  color: var(--on-dark);
  text-decoration: underline;
}

.footer-giant-logo {
  padding-block: clamp(28px, 4.5vw, 48px) clamp(18px, 3vw, 28px);
  font-size: clamp(2.55rem, 10.6vw, 9.2rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.085);
  user-select: none;
  white-space: nowrap;
  text-align: center;
}

.footer-giant-logo span {
  color: rgba(234, 179, 72, 0.14);
}

.footer-legal {
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  font-size: 0.9rem;
}

.footer-legal strong {
  color: var(--on-dark);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

/* ---------- Demo Lightbox Modal ---------- */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 32px);
  background: rgba(8, 13, 24, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  width: min(100%, 1060px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(16px, 2.5vw, 24px);
  border-radius: var(--radius-lg);
  background: var(--ink-deep);
  color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(10px) scale(0.985);
  transition: transform 0.28s var(--ease);
}

.lightbox-backdrop.is-open .lightbox-dialog {
  transform: none;
}

.lightbox-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lightbox-meta h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.lightbox-meta p {
  font-size: 0.85rem;
  color: var(--on-dark-muted);
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lightbox-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-dark);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.lightbox-icon-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold-bright);
}

.lightbox-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lightbox-tab {
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--on-dark-muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.lightbox-tab[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-deep);
}

.lightbox-stage {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #060911;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  min-height: 240px;
  max-height: 62vh;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 60vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--on-dark-muted);
}

/* ---------- Floating Actions (Back to Top & WhatsApp on all screen sizes) ---------- */
.floating-actions {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.fab-btn {
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(11, 17, 30, 0.24);
  transition: transform 0.22s var(--ease), opacity 0.22s ease, visibility 0s linear 0.22s, background-color 0.2s ease;
}

.fab-top {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(247, 244, 238, 0.24);
  background: rgba(11, 17, 30, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--on-dark);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.92);
}

.fab-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.fab-top:hover {
  background: var(--ink-deep);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.fab-whatsapp {
  width: 52px;
  height: 52px;
  background: #178048;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.92);
}

.fab-whatsapp:hover {
  background: var(--wa-hover);
  transform: translateY(-2px) scale(1.04);
}

.fab-whatsapp svg {
  width: 26px;
  height: 26px;
}

.fab-top svg {
  width: 19px;
  height: 19px;
}

/* ---------- Legal / 404 Subpages ---------- */
.legal-hero {
  padding-block: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.legal-updated {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.legal-body {
  padding-block: clamp(36px, 5vw, 64px);
}

.legal-prose {
  max-width: 72ch;
  display: grid;
  gap: 24px;
}

.legal-prose h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.legal-prose p,
.legal-prose li {
  color: var(--ink-soft);
}

.legal-prose ul {
  padding-left: 20px;
  list-style: disc;
  display: grid;
  gap: 6px;
}

.error-main {
  padding-block: clamp(72px, 12vw, 130px);
  text-align: center;
}

.error-main h1 {
  margin-top: 12px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.error-main p {
  margin: 14px auto 28px;
  max-width: 48ch;
  color: var(--ink-soft);
}

/* ---------- Hover-Capable Micro-Animations ---------- */
@media (hover: hover) {
  .work-item {
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  }
  .work-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(19, 26, 41, 0.09);
  }
  .work-item:hover .device-desktop img,
  .work-item:hover .device-phone img {
    transform: scale(1.05);
  }
  .pkg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
    border-color: rgba(255, 212, 107, 0.45);
  }
  .process-step:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: 0 14px 32px rgba(19, 26, 41, 0.06);
  }
  .process-step:hover .step-num {
    background: var(--ink-deep);
    color: var(--gold-bright);
    border-color: var(--ink-deep);
  }
  .btn:hover .btn-arrow,
  .stage-caption a:hover .btn-arrow {
    transform: translate(3px, -3px);
  }
}

/* ---------- Scroll Reveal Motion ---------- */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  main {
    animation: none !important;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .js-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .lit-line {
    color: var(--ink) !important;
  }
  .lit-line em {
    color: var(--gold-ink) !important;
  }
  .process-grid::before {
    transform: scaleX(1) !important;
  }
}

/* Phone-only collapse controls (hidden on >=760px) */
.mobile-collapse-btn {
  display: none;
  width: 100%;
  justify-content: space-between;
  margin-top: 14px;
}

.collapse-chevron {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.mobile-collapse-btn[aria-expanded="true"] .collapse-chevron {
  transform: rotate(45deg);
}

/* ---------- Responsive Breakpoints (Mobile-first) ---------- */
@media (min-width: 640px) {
  .addons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tier-picks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .nav-toggle,
  .mobile-drawer {
    display: none;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.92rem;
    font-weight: 600;
  }

  .desktop-nav a {
    text-decoration: none;
    padding: 8px 2px;
    position: relative;
    color: var(--ink-soft);
    transition: color 0.15s ease;
  }

  .desktop-nav a:hover {
    color: var(--ink);
  }

  .header-wa {
    display: inline-flex;
    min-height: 42px;
    padding: 0.55rem 1.15rem;
    font-size: 0.88rem;
  }

  .hero {
    min-height: calc(100svh - var(--header-h) - 1px);
    display: flex;
    align-items: center;
    padding-block: clamp(20px, 3vh, 44px);
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero-title {
    font-size: clamp(2.1rem, 3.6vw, 3.35rem);
  }

  .stage-viewport {
    max-height: min(46vh, 370px);
  }

  .work-item {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .work-item--flip .work-device-stage {
    order: 2;
  }

  .packages-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .addons-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  .maintenance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .process-grid::before {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    top: 38px;
    height: 1px;
    background: linear-gradient(90deg, rgba(143, 87, 0, 0.2), rgba(143, 87, 0, 0.5), rgba(143, 87, 0, 0.2));
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
    pointer-events: none;
  }

  .process-grid.is-drawn::before {
    transform: scaleX(1);
  }

  .lit-grid {
    grid-template-columns: 0.36fr 0.64fr;
    align-items: start;
  }

  .about-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .contact-panel {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .footer-top {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .site-footer {
    padding-bottom: 52px;
  }
}

/* ---------- Compact Phone Layout (<760px) ---------- */
@media (max-width: 759px) {
  .section {
    padding-block: 28px;
  }

  .section-head {
    margin-bottom: 16px;
  }

  .section-head h2 {
    margin-top: 8px;
    font-size: clamp(1.45rem, 6vw, 1.85rem);
  }

  .section-lead {
    margin-top: 6px;
    font-size: 0.91rem;
    line-height: 1.48;
  }

  /* Hero */
  .hero {
    padding-block: 16px 24px;
  }

  .hero-grid {
    gap: 16px;
  }

  .hero-title {
    margin-top: 8px;
    font-size: clamp(1.68rem, 7vw, 2.2rem);
  }

  .hero-sub {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.48;
  }

  .hero-cta-row {
    margin-top: 14px;
    gap: 8px;
  }

  .hero-cta-row .btn {
    min-height: 44px;
    padding: 0.6rem 1.05rem;
    font-size: 0.87rem;
  }

  .hero-meta-strip {
    margin-top: 12px;
    padding-top: 10px;
    gap: 4px 12px;
    font-size: 0.78rem;
  }

  .hero-stage {
    padding: 10px;
    border-radius: 16px;
  }

  .stage-tabs {
    margin-bottom: 8px;
  }

  .stage-tab {
    min-height: 36px;
    padding: 4px 6px;
    font-size: 0.78rem;
  }

  .stage-viewport {
    aspect-ratio: 16 / 9;
  }

  .stage-caption {
    margin-top: 8px;
    font-size: 0.78rem;
  }

  /* Work */
  .demo-disclosure {
    margin-top: 8px;
    padding: 5px 11px;
    font-size: 0.76rem;
  }

  .work-list {
    gap: 14px;
  }

  .work-item {
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
  }

  .work-device-stage {
    padding-bottom: 6px;
    padding-right: 6px;
  }

  .device-bar {
    padding: 5px 9px;
  }

  .device-desktop img {
    aspect-ratio: 16 / 9;
  }

  .device-phone {
    width: 68px;
    padding: 3px;
    border-radius: 12px;
  }

  .device-phone img {
    border-radius: 9px;
  }

  .work-badges {
    gap: 6px;
    margin-bottom: 6px;
  }

  .badge {
    padding: 3px 8px;
    font-size: 0.71rem;
  }

  .work-info h3 {
    font-size: 1.24rem;
  }

  .work-desc {
    margin-top: 6px;
    font-size: 0.87rem;
    line-height: 1.46;
  }

  .work-highlights {
    margin-top: 8px;
    gap: 4px;
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .work-actions {
    margin-top: 12px;
    gap: 8px;
  }

  .work-actions .btn {
    min-height: 44px;
    padding: 0.55rem 1rem;
    font-size: 0.84rem;
  }

  /* "How we build" principles band */
  .lit-band {
    padding-block: 28px;
  }

  .lit-grid {
    gap: 12px;
  }

  .lit-stack {
    gap: 10px;
  }

  .lit-line {
    font-size: 1.02rem;
    line-height: 1.3;
  }

  /* Packages + Collapsible comparison */
  .packages-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .pkg-card {
    padding: 14px;
  }

  .pkg-tier-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  .pkg-name {
    font-size: 1.1rem;
  }

  .pkg-subtitle {
    margin-top: 4px;
    font-size: 0.82rem;
    line-height: 1.38;
  }

  .pkg-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    padding-bottom: 8px;
    font-size: 1.42rem;
  }

  .pkg-price-prefix {
    margin-bottom: 0;
    font-size: 0.72rem;
  }

  .pkg-list {
    margin-top: 8px;
    gap: 5px;
    font-size: 0.82rem;
    line-height: 1.38;
  }

  .pkg-cta {
    margin-top: 12px;
    min-height: 44px;
  }

  .compare-wrap {
    margin-top: 24px;
  }

  .compare-head {
    margin-bottom: 4px;
  }

  .compare-head h3 {
    font-size: 1.08rem;
  }

  .compare-head p {
    font-size: 0.82rem;
  }

  .mobile-collapse-btn {
    display: inline-flex;
    min-height: 46px;
  }

  .mobile-collapse-panel {
    display: none;
    margin-top: 14px;
  }

  .mobile-collapse-panel.is-expanded {
    display: block;
  }

  /* Add-ons + Collapsible estimate builder */
  .addons-layout {
    gap: 18px;
  }

  .addons-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .addon-card {
    padding: 12px 14px;
    gap: 4px;
  }

  .addon-top {
    gap: 10px;
  }

  .addon-top h3 {
    font-size: 0.94rem;
    line-height: 1.25;
  }

  .addon-price {
    font-size: 0.88rem;
  }

  .addon-card p {
    font-size: 0.83rem;
    line-height: 1.42;
  }

  .builder-box {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .builder-box h3 {
    font-size: 1.12rem;
  }

  .builder-sub {
    margin-top: 4px;
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .maintenance-block {
    margin-top: 18px;
    padding: 16px 14px;
    border-radius: 16px;
  }

  .maintenance-head {
    margin-bottom: 12px;
    gap: 8px;
  }

  .maintenance-head h3 {
    font-size: 1.08rem;
  }

  .maintenance-head p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .maintenance-grid {
    gap: 8px;
  }

  .maintenance-card {
    padding: 11px 13px;
  }

  .maintenance-top h4,
  .maintenance-top strong {
    font-size: 0.9rem;
  }

  .maintenance-card p {
    margin-top: 3px;
    font-size: 0.8rem;
    line-height: 1.38;
  }

  .maintenance-foot {
    margin-top: 10px;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  /* How it works — compact vertical timeline */
  .process-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-left: 42px;
  }

  .process-grid::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 14px;
    bottom: 14px;
    width: 1.5px;
    background: linear-gradient(180deg, rgba(143, 87, 0, 0.25), rgba(143, 87, 0, 0.5), rgba(143, 87, 0, 0.2));
    pointer-events: none;
  }

  .process-step {
    position: relative;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .step-num {
    position: absolute;
    left: -42px;
    top: 12px;
    width: 32px;
    min-width: 32px;
    height: 26px;
    margin-bottom: 0;
    padding-inline: 0;
    font-size: 0.72rem;
  }

  .process-step h3 {
    font-size: 0.98rem;
  }

  .process-step p {
    margin-top: 4px;
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .timeline-note {
    margin-top: 14px;
    padding: 12px 14px;
    font-size: 0.85rem;
    line-height: 1.45;
  }

  /* About — compact founder row */
  .about-grid {
    gap: 18px;
  }

  .founder-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    max-width: none;
  }

  .founder-frame {
    border-radius: 14px;
  }

  .founder-caption {
    margin-top: 0;
    gap: 3px;
  }

  .founder-caption strong {
    font-size: 1.02rem;
  }

  .founder-caption span {
    font-size: 0.85rem;
    line-height: 1.35;
  }

  #about-heading {
    margin-top: 8px !important;
    margin-bottom: 10px !important;
    font-size: 1.5rem !important;
  }

  .about-copy p {
    font-size: 0.9rem;
    line-height: 1.52;
  }

  .about-copy p + p {
    margin-top: 10px;
  }

  .about-points {
    margin-top: 14px;
    padding-top: 14px;
    gap: 7px;
    font-size: 0.88rem;
  }

  /* FAQ */
  .faq-list {
    gap: 8px;
  }

  .faq-trigger {
    padding: 14px 16px;
    font-size: 0.94rem;
  }

  .faq-answer {
    padding: 0 16px;
    font-size: 0.88rem;
  }

  .faq-answer p {
    padding-bottom: 14px;
  }

  /* Contact */
  .contact-panel {
    padding: 22px 18px;
    gap: 18px;
    border-radius: 18px;
  }

  .contact-panel h2 {
    margin-top: 8px;
    font-size: 1.5rem;
  }

  .contact-panel p {
    margin-top: 8px;
    font-size: 0.9rem;
  }

  .contact-cta-group {
    margin-top: 14px;
    gap: 8px;
  }

  .contact-cta-group .btn {
    min-height: 44px;
    font-size: 0.88rem;
  }

  .contact-cards {
    gap: 8px;
  }

  .contact-detail {
    padding: 11px 14px;
  }

  .contact-detail a,
  .contact-detail strong {
    font-size: 0.96rem;
  }

  /* Footer */
  .site-footer {
    padding-block: 26px 76px;
  }

  .footer-top {
    gap: 14px;
    padding-bottom: 16px;
  }

  .footer-brand {
    margin-bottom: 6px;
  }

  .footer-summary p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .footer-columns {
    gap: 12px 18px;
  }

  .footer-col-title {
    margin-bottom: 4px;
  }

  .footer-col-links a {
    min-height: 30px;
    font-size: 0.84rem;
  }

  .footer-giant-logo {
    padding-block: 12px 10px;
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .footer-legal {
    padding-top: 12px;
    gap: 6px 14px;
    font-size: 0.82rem;
  }

  .footer-links {
    gap: 2px 16px;
  }

  .footer-links a {
    min-height: 36px;
  }
}

/* Package delivery time, Custom price note and contact reply hours */
.pkg-delivery { margin: 6px 0 0; font-size: .86rem; font-weight: 600; color: var(--gold); }
.pkg-price-note { margin: 6px 0 0; font-size: .82rem; line-height: 1.45; opacity: .8; }
.contact-hours { margin: 14px 0 0; font-size: .88rem; line-height: 1.55; opacity: .85; }
