/* ============================================================
   SEYFARTH.ES — design system
   ============================================================ */
:root {
  --cream: #faf8f3;
  --cream-deep: #f3efe5;
  --gold: #b3924f;
  --gold-soft: #cdb98d;
  --gold-faint: #e9dfc9;
  --ink: #26241f;
  --muted: #8b8578;
  --line: #e6e0d2;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(38, 36, 31, 0.07);
  --shadow-md: 0 14px 40px rgba(38, 36, 31, 0.12);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", "Segoe UI", sans-serif;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1240px, 100% - 3rem);
  margin-inline: auto;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kicker {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.btn-solid {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}
.btn-solid:hover { background: #9d7f42; border-color: #9d7f42; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--gold-soft);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
}
.brand-mark svg { width: 30px; height: 30px; }

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand-name em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.site-nav {
  display: flex;
  gap: 1.6rem;
}
.site-nav a {
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--gold); }

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.lang-switch button {
  padding: 0.4rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  background: transparent;
  color: var(--muted);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.lang-switch button + button { border-left: 1px solid var(--line); }
.lang-switch button:hover { color: var(--gold); }
.lang-switch button.is-active {
  background: var(--gold);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.25s;
}
.nav-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding-block: clamp(4rem, 10vh, 7.5rem) clamp(3rem, 8vh, 6rem);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(179, 146, 79, 0.08), transparent 70%),
    var(--cream);
}

.hero-inner { max-width: 800px; }

.hero h1 {
  margin: 1.2rem 0 1.4rem;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.hero-sub {
  max-width: 640px;
  margin-inline: auto;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.4rem;
}

/* --- hero value proposition --- */
.hero-value {
  max-width: 820px;
  margin-top: clamp(3rem, 6vh, 4.5rem);
  padding-top: clamp(2.2rem, 4vh, 3rem);
  border-top: 1px solid var(--gold-faint);
}

.hero-lead {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(1.05rem, 1.5vw, 1.15rem);
  line-height: 1.75;
  color: var(--ink);
}

.hero-lead-close {
  color: var(--muted);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-block: 1.8rem;
  list-style: none;
}

.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--gold-faint);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.hero-chips .icon {
  font-size: 1rem;
  color: var(--gold);
}

/* ============================================================
   Workflow section
   ============================================================ */
.workflow {
  padding-block: clamp(3rem, 7vh, 5.5rem) clamp(4rem, 8vh, 6.5rem);
  background: var(--white);
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(3rem, 6vh, 4.5rem);
}
.section-head h2 {
  margin-top: 0.9rem;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 500;
}

.section-sub {
  max-width: 680px;
  margin: 1rem auto 0;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: var(--muted);
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 3.4rem;
  align-items: start;
}

/* --- step headers --- */
.wf-head {
  text-align: center;
  margin-bottom: 2.4rem;
  min-height: 128px;
}

.wf-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
}

.wf-head h3 {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.wf-num { color: var(--ink); }

.wf-head p {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--gold);
}

/* --- connecting arrows (desktop) --- */
.wf-visual { position: relative; }

.wf-step + .wf-step .wf-visual::before {
  content: "";
  position: absolute;
  top: 42%;
  left: -3.05rem;
  width: 2.4rem;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 14' fill='none' stroke='%23b3924f' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M2 7h34m0 0-5-4.5M36 7l-5 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* --- step 1 : capture --- */
.wf-visual-capture {
  padding-left: 1.4rem;
}

.capture-photo {
  aspect-ratio: 3 / 4.2;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}
.capture-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capture-fabs {
  position: absolute;
  top: 12%;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.fab {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.fab-solid { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.fab-dark  { background: var(--ink); color: var(--white); }
.fab-ghost { background: var(--white); color: var(--gold); border: 1px dashed var(--gold-soft); }

/* --- step 2 : orbit --- */
.wf-visual-orbit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.orbit {
  position: relative;
  width: 264px;
  height: 264px;
  margin-block: 0.6rem 1.6rem;
}

.orbit-ring {
  position: absolute;
  inset: 26px;
  border: 1.2px dashed var(--gold-soft);
  border-radius: 50%;
  animation: orbit-spin 60s linear infinite;
}

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

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(179, 146, 79, 0.4);
  z-index: 2;
}
.orbit-center svg { width: 52px; height: 52px; }

.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: -26px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-size: 1.05rem;
  transform: rotate(calc(var(--i) * 45deg)) translate(106px) rotate(calc(var(--i) * -45deg));
  z-index: 1;
}
.orbit-node:nth-child(even) { color: var(--gold); }

.orbit-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem 0.6rem;
  width: 100%;
  padding-top: 1.3rem;
  border-top: 1px solid var(--gold-faint);
  list-style: none;
}
.orbit-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: var(--muted);
}
.orbit-features .icon {
  font-size: 1rem;
  color: var(--gold);
}

/* --- step 3 : photorealistic device mockup --- */
.wf-visual-publish {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0 1rem;
}

.devices-photo {
  width: 100%;
  max-width: 460px;
  height: auto;
}

/* ============================================================
   Benefits timeline
   ============================================================ */
.benefits {
  position: relative;
  margin-top: clamp(3.5rem, 7vh, 5.5rem);
  padding-top: 0.4rem;
}

.benefits-track {
  position: absolute;
  top: 9px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--line);
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  list-style: none;
}

.benefits-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--muted);
}

.benefit-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--gold-faint);
}

.benefits-list .icon {
  font-size: 1.05rem;
  color: var(--ink);
  margin-top: 0.4rem;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding-block: clamp(4rem, 9vh, 6.5rem);
  text-align: center;
  background:
    radial-gradient(ellipse 55% 65% at 50% 100%, rgba(179, 146, 79, 0.1), transparent 70%),
    var(--cream);
}

.cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 500;
}
.cta p {
  margin: 0.9rem 0 2rem;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  color: var(--muted);
}

.cta-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.cta-contact {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.cta-contact a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
.cta-contact a:hover { color: var(--gold); }

.cta-sep {
  margin-inline: 0.65rem;
  color: var(--gold-soft);
}

/* ============================================================
   Platform / pipeline
   ============================================================ */
.platform {
  padding-block: clamp(3.5rem, 8vh, 6rem);
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(179, 146, 79, 0.07), transparent 70%),
    var(--cream);
}

.platform-cards,
.partner-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.p-card {
  padding: 2.2rem 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.p-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.p-card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold);
  font-size: 1.25rem;
}

.p-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.p-card p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

.platform-note {
  max-width: 780px;
  margin: clamp(2.6rem, 5vh, 3.8rem) auto 0;
  text-align: center;
}

.platform-note p {
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  line-height: 1.75;
  color: var(--ink);
}

.platform-langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.8rem;
  list-style: none;
}

.platform-langs li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--gold-faint);
  border-radius: 999px;
}

.platform-langs li span:first-child {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white);
  background: var(--gold);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing {
  padding-block: clamp(3.5rem, 8vh, 6rem);
  background: var(--cream-deep);
  border-block: 1px solid var(--line);
}

/* --- calculator card --- */
.calc {
  max-width: 980px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--gold-faint);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.calc-inputs {
  padding: clamp(1.8rem, 3.4vw, 2.8rem);
}

.calc-inputs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.calc-inputs-head h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 500;
}

.calc-tier {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.calc-tier::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.calc-tier[data-tier="growth"] {
  color: var(--gold);
  border-color: var(--gold-soft);
  background: rgba(179, 146, 79, 0.08);
}
.calc-tier[data-tier="scale"] {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.calc-field + .calc-field { margin-top: 1.6rem; }

.calc-field label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.calc-field select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 0.9rem 2.8rem 0.9rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  background:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%),
    var(--cream);
  background-position:
    calc(100% - 21px) 50%,
    calc(100% - 15px) 50%,
    0 0;
  background-size: 6px 6px, 6px 6px, 100%;
  background-repeat: no-repeat;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.calc-field select:hover,
.calc-field select:focus {
  border-color: var(--gold-soft);
  outline: none;
}

.calc-note {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

/* --- calculator results --- */
.calc-results {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.8rem;
  padding: clamp(1.8rem, 3.4vw, 2.8rem);
  background: var(--ink);
  color: var(--cream);
}

.calc-result + .calc-result {
  padding-top: 1.8rem;
  border-top: 1px solid rgba(250, 248, 243, 0.14);
}

.calc-result-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.calc-result-value {
  margin-top: 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--white);
  transition: opacity 0.25s ease;
}
.calc-result-value.is-updating { opacity: 0.3; }

.calc-result-sub {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(250, 248, 243, 0.65);
}

.calc-breakdown {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.2rem;
}
.calc-breakdown > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.2rem;
}
.calc-breakdown dt {
  font-size: 0.9rem;
  color: rgba(250, 248, 243, 0.65);
}
.calc-breakdown dd {
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--white);
  transition: opacity 0.25s ease;
}
.calc-breakdown dd.is-updating { opacity: 0.3; }

.calc-per-property {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gold-soft);
  transition: opacity 0.25s ease;
}
.calc-per-property.is-updating { opacity: 0.3; }

/* --- how it's calculated --- */
.calc-how {
  border-top: 1px solid var(--gold-faint);
  background: var(--cream);
  padding-inline: clamp(1.8rem, 3.4vw, 2.8rem);
}

.calc-how summary {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-block: 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.calc-how summary::-webkit-details-marker { display: none; }
.calc-how summary::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--white);
  background: var(--gold);
  border-radius: 50%;
}
.calc-how[open] summary::before { content: "–"; }

.calc-how p {
  padding-bottom: 1.3rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

/* --- included services accordion --- */
.calc-included {
  max-width: 980px;
  margin: clamp(2.6rem, 5vh, 3.8rem) auto 0;
}

.calc-included-head {
  text-align: center;
  margin-bottom: 2rem;
}

.calc-included-head h3 {
  max-width: 640px;
  margin: 0.9rem auto 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 500;
  line-height: 1.25;
}

.calc-acc {
  display: grid;
  gap: 0.9rem;
}

.calc-acc-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s;
}
.calc-acc-item[open] { border-color: var(--gold-soft); }

.calc-acc-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  list-style: none;
}
.calc-acc-item summary::-webkit-details-marker { display: none; }

.calc-acc-item summary h4 {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 500;
}

.calc-acc-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid var(--gold-faint);
  border-radius: 50%;
  background: var(--cream);
}
.calc-acc-icon::before,
.calc-acc-icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform 0.25s ease;
}
.calc-acc-icon::before { width: 11px; height: 1.5px; }
.calc-acc-icon::after { width: 1.5px; height: 11px; }
.calc-acc-item[open] .calc-acc-icon::after { transform: rotate(90deg) scaleX(0); }

.calc-acc-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem 2rem;
  margin: 0 1.5rem;
  padding: 1.2rem 0 1.5rem;
  border-top: 1px solid var(--line);
  list-style: none;
}

.calc-acc-body li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.calc-acc-body .icon {
  flex-shrink: 0;
  margin-top: 0.15em;
  font-size: 1.05rem;
  color: var(--gold);
}

/* ============================================================
   Price objection
   ============================================================ */
.objection {
  padding-block: clamp(3.5rem, 8vh, 6rem);
  background: var(--white);
}

.objection .section-head { margin-bottom: clamp(1.8rem, 4vh, 2.6rem); }

.objection-statement {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--gold);
}

.objection-lead {
  max-width: 760px;
  margin: clamp(1.8rem, 4vh, 2.6rem) auto 0;
  text-align: center;
}

.objection-lead p {
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  line-height: 1.75;
  color: var(--muted);
}
.objection-lead p + p {
  margin-top: 1.2rem;
  color: var(--ink);
}

/* --- comparison table --- */
.objection-table {
  max-width: 1080px;
  margin: clamp(2.6rem, 5vh, 3.8rem) auto 0;
}

.objection-thead {
  display: grid;
  grid-template-columns: minmax(150px, 0.65fr) 1fr 1fr;
  gap: 1rem;
  padding: 0 1.4rem 0.9rem;
}

.objection-thead span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.objection-th-ours { color: var(--gold); }
.objection-th-theirs { color: var(--muted); }

.objection-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.65fr) 1fr 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.3rem 1.4rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.objection-row + .objection-row { margin-top: 0.8rem; }

.objection-area {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.objection-cell p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.objection-cell-ours {
  padding: 0.9rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.objection-cell-ours p { color: var(--ink); }

.objection-cell-theirs { padding: 0.9rem 0.2rem; }
.objection-cell-theirs p { color: var(--muted); }

.objection-cell-tag { display: none; }

.objection-close {
  max-width: 680px;
  margin: clamp(2.2rem, 4vh, 3rem) auto 0;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.6;
  color: var(--ink);
}

/* ============================================================
   Partnering / CRM
   ============================================================ */
.partner {
  padding-block: clamp(3.5rem, 8vh, 6rem);
  background: var(--white);
}

.partner-lead {
  max-width: 780px;
  margin: clamp(2.2rem, 4vh, 3rem) auto 0;
  padding: 1.8rem 2rem;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--gold-faint);
  border-radius: var(--radius);
}

.partner-lead p {
  font-size: clamp(1.02rem, 1.5vw, 1.1rem);
  line-height: 1.75;
  color: var(--ink);
}

.partner-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 1.4rem;
  max-width: 820px;
  margin: clamp(2.6rem, 5vh, 3.8rem) auto 0;
}

.partner-side {
  padding: 1.8rem 1.9rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.partner-side-gold {
  background: var(--white);
  border-color: var(--gold-soft);
  box-shadow: var(--shadow-sm);
}

.partner-side-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.partner-side p:not(.partner-side-label) {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

.partner-plus {
  align-self: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
}

.partner-close {
  max-width: 680px;
  margin: clamp(2.2rem, 4vh, 3rem) auto 0;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.6;
  color: var(--ink);
}

/* ============================================================
   Dashboard
   ============================================================ */
.dashboard {
  padding-block: clamp(3.5rem, 8vh, 6rem);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.dash-sub {
  margin-top: 0.9rem;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: var(--muted);
}

.dash-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.dash-row + .dash-row {
  margin-top: clamp(3rem, 6vh, 4.5rem);
}
.dash-row:nth-of-type(even) .dash-shot { order: 2; }

.dash-shot {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.dash-shot img { width: 100%; }

.dash-copy h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.dash-copy ul {
  display: grid;
  gap: 0.9rem;
  list-style: none;
}

.dash-copy li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}

.dash-copy .icon {
  flex-shrink: 0;
  margin-top: 0.15em;
  font-size: 1.05rem;
  color: var(--gold);
}

.dash-highlight {
  margin-top: clamp(4rem, 8vh, 6rem);
  padding-top: clamp(3rem, 6vh, 4.5rem);
  border-top: 1px solid var(--gold-faint);
  text-align: center;
  background: radial-gradient(ellipse 55% 70% at 50% 100%, rgba(179, 146, 79, 0.09), transparent 70%);
}

.dash-highlight h3 {
  margin: 1rem auto 2.6rem;
  max-width: 560px;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
}

.dash-phone {
  position: relative;
  width: min(290px, 78vw);
  margin-inline: auto;
  padding: 9px;
  background: linear-gradient(145deg, #3a3b40 0%, #17181b 100%);
  border-radius: 42px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14),
    0 0 0 1.5px #7c7d83,
    0 30px 60px rgba(38, 36, 31, 0.28);
}

.dash-phone-island {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  background: #0b0b0d;
  border-radius: 12px;
  z-index: 2;
}

.dash-phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: var(--white);
}
.dash-phone-screen img {
  width: 100%;
  padding-top: 12px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  padding-block: 3rem 2.2rem;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
}

.footer-copy {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.footer-imprint {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-imprint:hover { color: var(--gold); }

/* ============================================================
   Legal / imprint page
   ============================================================ */
.legal {
  padding-block: clamp(2.5rem, 6vh, 4rem) clamp(3rem, 7vh, 5rem);
}

.legal-inner {
  max-width: 720px;
}

.legal-back {
  margin-bottom: 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.legal-back a {
  color: var(--gold);
  text-decoration: none;
}
.legal-back a:hover { text-decoration: underline; }

.legal h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 500;
  margin-bottom: 2.4rem;
}

.legal-section + .legal-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.legal-body {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
}

.legal-body p + p { margin-top: 1rem; }

.legal-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold-soft);
  text-underline-offset: 2px;
}
.legal-body a:hover { color: var(--gold); }

.legal-body strong {
  font-weight: 500;
  color: var(--ink);
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orbit-ring { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1120px) {
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem 3.5rem;
    max-width: 760px;
    margin-inline: auto;
  }

  /* merged publish step takes the full row */
  .wf-step-publish { grid-column: 1 / -1; }

  /* horizontal arrows only make sense in a single row */
  .wf-step + .wf-step .wf-visual::before { display: none; }

  .wf-head { min-height: 0; }

  .benefits-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
    max-width: 640px;
    margin-inline: auto;
  }
  .benefits-track { display: none; }
}

@media (max-width: 980px) {
  .platform-cards,
  .partner-cards {
    grid-template-columns: minmax(0, 1fr);
    max-width: 480px;
    margin-inline: auto;
  }
}

@media (max-width: 860px) {
  .calc-grid { grid-template-columns: minmax(0, 1fr); }

  .calc-acc-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
  }

  .objection-thead { display: none; }

  .objection-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1.2rem 1.1rem;
  }

  .objection-cell-theirs { padding: 0 0.2rem 0.2rem; }

  .objection-cell-tag {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }
  .objection-cell-ours .objection-cell-tag { color: var(--gold); }
  .objection-cell-theirs .objection-cell-tag { color: var(--muted); }

  .partner-split {
    grid-template-columns: minmax(0, 1fr);
    max-width: 480px;
  }
  .partner-plus {
    justify-self: center;
    line-height: 1;
  }

  .dash-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }
  .dash-row:nth-of-type(even) .dash-shot { order: 0; }
  .dash-copy { text-align: center; }
  .dash-copy ul {
    max-width: 460px;
    margin-inline: auto;
    text-align: left;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1rem;
  }
  .site-nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: none; }
  .nav-open .site-nav { display: flex; }
  .nav-toggle { display: flex; }
}

@media (max-width: 680px) {
  .workflow-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    max-width: 420px;
  }

  /* vertical dashed connector between stacked steps */
  .wf-step + .wf-step {
    margin-top: 2.2rem;
    padding-top: 3.6rem;
    position: relative;
  }
  .wf-step + .wf-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    height: 2.5rem;
    border-left: 1.5px dashed var(--gold-soft);
  }
  .wf-step + .wf-step::after {
    content: "";
    position: absolute;
    top: 2.4rem;
    left: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--gold);
    border-bottom: 1.5px solid var(--gold);
    transform: translateX(-50%) rotate(45deg);
  }

  .wf-visual-capture { padding-left: 1.6rem; }
  .capture-photo { aspect-ratio: 3 / 3.6; }

  .devices-photo { max-width: 100%; }

  .orbit { width: 240px; height: 240px; }
  .orbit-node { width: 48px; height: 48px; margin: -24px; transform: rotate(calc(var(--i) * 45deg)) translate(96px) rotate(calc(var(--i) * -45deg)); }
  .orbit-center { width: 80px; height: 80px; }
  .orbit-features { grid-template-columns: repeat(2, 1fr); gap: 1rem 0.6rem; }

  .benefits-list {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 340px;
  }
  .benefits-list li {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }
  .benefits-list li:last-child { border-bottom: none; }
  .benefits-list li br { display: none; }
  .benefit-dot { flex-shrink: 0; box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--gold-faint); }
  .benefits-list .icon { margin-top: 0; flex-shrink: 0; }

  .lang-switch button { padding: 0.4rem 0.6rem; }
  .header-inner { gap: 0.8rem; }
  .brand-name { font-size: 1.1rem; }
}

/* ============================================================
   Intake app (video + steps)
   ============================================================ */
.intake {
  padding-block: clamp(3.5rem, 8vh, 6rem);
  background: var(--cream);
}
.intake-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  max-width: 880px;
  margin-inline: auto;
}
.intake-video { position: relative; margin: 0; }
.intake-video-frame {
  position: relative;
  /* Portrait 9:16 — cap by height so the video never dominates the viewport */
  width: min(320px, calc(70vh * 9 / 16));
  aspect-ratio: 9 / 16;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
}
.intake-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.intake-sound {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  transition: background 0.2s ease;
}
.intake-sound:hover { background: rgba(20, 20, 22, 0.75); }
.intake-sound .icon { width: 1rem; height: 1rem; }
.intake-sound.is-on { background: var(--gold); box-shadow: none; }
.intake-sound.is-on:hover { background: var(--gold); }
.intake-copy ul {
  display: grid;
  gap: 1.1rem;
  list-style: none;
  padding: 0;
}
.intake-copy li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}
.intake-copy .icon {
  flex-shrink: 0;
  margin-top: 0.15em;
  font-size: 1.05rem;
  color: var(--gold);
}

@media (max-width: 860px) {
  .intake-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
  }
  .intake-video { justify-self: center; }
  .intake-video-frame { width: min(300px, 78vw); }
  .intake-copy ul {
    max-width: 460px;
    margin-inline: auto;
  }
}

/* ============================================================
   Live preview / inline demo
   ============================================================ */
.inline-demo {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.idemo-head {
  text-align: center;
  padding-block: clamp(3rem, 7vh, 5.5rem) 0;
}
.idemo-head h2 {
  margin-top: 0.9rem;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 500;
}
.idemo-head .section-sub { margin-top: 1rem; }

.idemo-scroller { position: relative; }

.idemo-stage {
  /* vh is the universally-supported base; svh is layered on via @supports below
     so browsers without small-viewport units degrade gracefully instead of
     dropping --phone-h (which would collapse the phone and rail). */
  --phone-h: min(660px, 78vh);
  --phone-w: calc(var(--phone-h) * 0.472);
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(1rem, 2.5vw, 2.75rem);
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  overflow: hidden;
}

/* ---------- Page submenu + appearance toggle ---------- */
/* Desktop: a left-hand column with the page buttons and the dark/light pill;
   mobile turns it into the pinned control bar. */
.idemo-controls {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
  width: 8.5rem;
  flex-shrink: 0;
}
.idemo-submenu {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
}
.idemo-page {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.idemo-page:hover { border-color: var(--gold-soft); color: var(--ink); }
.idemo-page.is-active {
  background: var(--gold-faint);
  border-color: var(--gold-soft);
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Rail ---------- */
.idemo-rail {
  position: relative;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: var(--phone-h);
  width: 13rem;
  flex-shrink: 0;
  padding: 0;
}
.idemo-rail-track,
.idemo-rail-fill {
  position: absolute;
  left: 15px;
  top: 15px;
  width: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
}
.idemo-rail-track { bottom: 15px; background: var(--line); }
.idemo-rail-fill { height: 0; background: var(--gold); transition: height 0.08s linear; }
.idemo-rail li { display: flex; }
.idemo-dot {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--muted);
  font-family: inherit;
}
.idemo-dot-num {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--gold-soft);
  background: var(--white);
  font-size: 0.8rem;
  color: var(--muted);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.idemo-dot-label {
  font-size: 0.9rem;
  line-height: 1.25;
  opacity: 0.65;
  transition: color 0.25s ease, opacity 0.25s ease;
}
.idemo-dot:hover .idemo-dot-num { border-color: var(--gold); color: var(--gold); }
.idemo-dot:hover .idemo-dot-label { opacity: 0.95; }
.idemo-dot.is-active .idemo-dot-num {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 0 0 4px var(--gold-faint);
}
.idemo-dot.is-active .idemo-dot-label { color: var(--ink); opacity: 1; font-weight: 500; }

/* ---------- Phone ---------- */
.idemo-phone {
  position: relative;
  width: var(--phone-w);
  height: var(--phone-h);
  flex-shrink: 0;
  padding: 11px;
  border-radius: 42px;
  background: linear-gradient(145deg, #3a3b40 0%, #17181b 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14),
    0 0 0 1.5px #7c7d83,
    0 30px 60px rgba(38, 36, 31, 0.28);
}
.idemo-island {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 22px;
  background: #0b0b0d;
  border-radius: 12px;
  z-index: 3;
}
.idemo-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
}
.idemo-shot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-width: none;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.5s ease;
}
.idemo-shot.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .idemo-shot { transition: opacity 0.2s linear; }
}
/* Expand affordance for the mobile lightbox (hidden on desktop) */
.idemo-expand { display: none; }
/* Dark/light toggle: lives in the controls column, styled to match the chips */
.idemo-mode {
  display: inline-flex;
  align-self: flex-start;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}
.idemo-mode button {
  border: none;
  cursor: pointer;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, color 0.2s ease;
}
.idemo-mode button:hover { color: var(--ink); }
.idemo-mode button.is-active { background: var(--gold); color: #fff; }

/* ---------- Panel ---------- */
.idemo-panel {
  position: relative;
  width: min(330px, 26vw);
  min-width: 240px;
  height: 300px;
  flex-shrink: 0;
}
.idemo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.idemo-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.idemo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.idemo-eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
/* "/ 08 —" stop counter: mobile-only (replaces the hidden rail's orientation) */
.idemo-eyebrow-count { display: none; }
.idemo-slide h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.24;
  margin-bottom: 0.85rem;
}
.idemo-slide p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  .idemo-shot { transition: none !important; }
  .idemo-slide { transition: opacity 0.2s linear; transform: none; }
  .idemo-rail-fill { transition: none; }
}

/* ---------- Narrow desktop / tablet: controls become a top chip row ---------- */
@media (max-width: 1080px) {
  .idemo-stage { flex-wrap: wrap; row-gap: 1.3rem; }
  .idemo-controls {
    flex: 0 0 100%;
    order: -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: auto;
    gap: 0.5rem 0.9rem;
  }
  .idemo-submenu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
  .idemo-mode { align-self: center; }
  .idemo-page { width: auto; border-radius: 999px; padding: 0.4rem 0.95rem; font-size: 0.82rem; }
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .idemo-stage {
    /* Phone gets whatever is left after the fixed costs: control bar, gaps,
       padding and the longest description (~330px budget at mobile type
       sizes). Keeps the description from ever scrolling internally. */
    --phone-h: clamp(280px, calc(100vh - var(--idemo-hh, 60px) - 330px), 600px);
    --phone-w: calc(var(--phone-h) * 0.472);
    /* Pin below the sticky site header so the control bar stays visible */
    top: var(--idemo-hh, 60px);
    height: calc(100vh - var(--idemo-hh, 60px));
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.8rem;
    padding: 0.9rem 1.25rem 0.75rem;
  }
  /* Control bar: page chips + dark/light toggle in one pinned row */
  .idemo-controls {
    order: -1;
    flex: 0 0 auto;
    gap: 0.5rem 0.7rem;
  }
  .idemo-submenu { gap: 0.4rem; }
  .idemo-rail { display: none; }
  .idemo-phone { order: 1; }
  .idemo-mode button { padding: 0.3rem 0.8rem; font-size: 0.7rem; }
  .idemo-expand {
    display: grid;
    place-items: center;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(20, 20, 22, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.85);
    pointer-events: none;
  }
  .idemo-expand svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
  }
  .idemo-panel {
    order: 3;
    flex: 1 1 auto;
    width: 100%;
    max-width: 440px;
    min-width: 0;
    min-height: 0;
    height: auto;
    margin-block: 0.1rem 0;
    text-align: center;
  }
  .idemo-slide {
    /* Safety net only for extreme viewports; content is sized to fit */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .idemo-eyebrow { margin-bottom: 0.7rem; }
  .idemo-eyebrow-count { display: inline; }
  .idemo-slide h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
  .idemo-slide p { font-size: 0.9rem; line-height: 1.55; }
}

/* ---------- Small-viewport units where supported (fits the pinned stage to
   the visible area even with mobile browser toolbars showing) ---------- */
@supports (height: 1svh) {
  .idemo-stage {
    --phone-h: min(660px, 78svh);
    height: 100svh;
  }
  @media (max-width: 860px) {
    .idemo-stage {
      --phone-h: clamp(280px, calc(100svh - var(--idemo-hh, 60px) - 330px), 600px);
      height: calc(100svh - var(--idemo-hh, 60px));
    }
  }
}

/* ---------- Mobile lightbox (opened by tapping the phone screen) ---------- */
.idemo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: rgba(10, 10, 12, 0.97);
}
.idemo-lightbox.is-open { display: block; }
.idemo-lightbox-scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.idemo-lightbox-scroll img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}
.idemo-lightbox-close {
  position: absolute;
  top: calc(0.9rem + env(safe-area-inset-top, 0px));
  right: 0.9rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(20, 20, 22, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  color: #fff;
}
.idemo-lightbox-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.idemo-lightbox-hint {
  position: absolute;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  pointer-events: none;
}
.idemo-lightbox-lock,
.idemo-lightbox-lock body { overflow: hidden; }
