/* ==========================================================================
   Code Crew AI Labs
   --------------------------------------------------------------------------
   Warm cream paper, near-black ink, one vermillion accent.
   Manrope for everything, Instrument Serif italic for emphasis.
   Bold type, solid colour blocks, generous radii, restrained motion.
   ========================================================================== */

:root {
  --cream:     #f7f3ec;
  --cream-2:   #efe8dc;
  --cream-3:   #e5dccd;
  --ink:       #14120f;
  --ink-2:     #302b25;
  --muted:     #6d655b;
  --accent:    #ff4b26;
  --accent-lo: #ffe9e2;
  --on-accent: #fff7f4;

  --line:      rgba(20, 18, 15, 0.12);
  --line-2:    rgba(20, 18, 15, 0.22);
  --line-lt:   rgba(247, 243, 236, 0.16);

  --r-xs: 8px;
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow:    0 20px 44px -28px rgba(20, 18, 15, 0.42);
  --shadow-lg: 0 34px 70px -34px rgba(20, 18, 15, 0.48);

  --sans:  "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --shell: 1240px;
  --pad:   clamp(20px, 4vw, 48px);
  --head:  70px;

  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head) + 24px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Serif italic emphasis, used inside every display heading */
h1 em, h2 em, .cta-title em, .quote-card em, blockquote em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Placeholder copy. Subtle on purpose so the page still looks finished. */
.ph {
  color: var(--muted);
  text-decoration: underline dotted var(--line-2);
  text-underline-offset: 3px;
}

/* ── Kickers and small labels ─────────────────────────────────────────── */

.kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease);
}

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

.btn--solid { background: var(--ink); color: var(--cream); }
.btn--solid:hover { background: var(--accent); color: var(--on-accent); }

.btn--line { border-color: var(--line-2); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }

.btn--sm { padding: 11px 20px; font-size: 0.875rem; }
.btn--full { width: 100%; }

/* ── Marquee ──────────────────────────────────────────────────────────── */

.marquee { overflow: hidden; }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: slide 38s linear infinite;
}

.marquee-track--rev { animation-direction: reverse; animation-duration: 46s; }

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes slide { to { transform: translateX(-50%); } }

.marquee span {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.marquee i { color: var(--accent); font-style: normal; font-size: 0.875rem; }

.marquee--sm span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.marquee--sm i { font-size: 0.625rem; }

.topbar {
  background: var(--ink);
  color: var(--cream);
  padding: 9px 0;
}

.band {
  background: var(--accent);
  color: var(--on-accent);
  padding: 20px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.band .marquee i { color: var(--ink); }

/* ── Header ───────────────────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--cream);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -26px rgba(20, 18, 15, 0.5);
}

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

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

.brand > img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0, 68, 190, 0.14));
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-text em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #087ff3;
}

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
  padding: 9px 15px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 100px;
  transition: background-color 0.2s var(--ease);
}

.nav a:hover { background: var(--cream-2); }

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

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* ── Page edge rails ──────────────────────────────────────────────────── */

/* Difference blending is what keeps one set of colours legible over cream,
   ink and vermillion sections alike, since the rails are fixed and the
   sections scroll behind them. Mid-greys read as ink on cream and as chalk
   on the dark bands; near-white reads as near-black and near-white. */
.edge {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 210;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 24px;
  padding: 46px 0 24px;
  pointer-events: none;
  mix-blend-mode: difference;
}

.edge--left  { left: 15px; }
.edge--right { right: 15px; }

.edge-tick {
  flex: none;
  width: 11px;
  height: 1px;
  background: #6e6e6e;
}

.edge-line {
  position: relative;
  flex: 1;
  width: 1px;
  background: #4f4f4f;
}

/* Height is written by main.js as a percentage of the page scrolled. */
.edge-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 0;
  background: #efece6;
}

.edge-label {
  flex: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #6e6e6e;
}

.edge-label--down { transform: none; }

/* Below this the shell padding closes in and there is no gutter to sit in. */
@media (min-width: 1180px) {
  .edge { display: flex; }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero { padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5.5vw, 72px); }

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

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

.chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  padding: 8px 16px 8px 13px;
  margin-bottom: 26px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.hero-title {
  max-width: 10em;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.02;
}

.hero-title em {
  display: block;
  margin-top: 0.08em;
  color: var(--ink);
}

.hero-tagline {
  max-width: 28em;
  margin-top: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.rotator {
  display: block;
  min-width: 0;
  min-height: 1em;
  overflow: hidden;
}

.rotator-word {
  display: inline-block;
  color: var(--accent);
  transition: transform 0.42s var(--ease), opacity 0.32s ease;
}

.rotator-word.is-out { opacity: 0; transform: translateY(-0.45em); }

.hero-sub {
  max-width: 36em;
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 36px);
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero-facts dt {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-facts dd {
  margin: 4px 0 0;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

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

.quote-card {
  margin: 0;
  padding: clamp(22px, 2.8vw, 32px);
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-xl);
}

.quote-card blockquote {
  margin: 0;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.quote-card em { color: var(--accent); }

.quote-card figcaption {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-lt);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.58);
}

/* ── Sections ─────────────────────────────────────────────────────────── */

.section { padding: clamp(44px, 5.5vw, 76px) 0; }

/* Bands are a shade darker than the page with hairline edges, and the cards
   inside them go a shade lighter so they still lift. Used by process and
   reviews to break up a long cream run without changing the palette. */
.section--band {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 46rem; margin-bottom: clamp(22px, 3vw, 36px); }

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  max-width: none;
}

.section-title { font-size: clamp(1.7rem, 3.6vw, 2.65rem); }

.section-title em { color: var(--accent); }

.section-lede {
  max-width: 34em;
  margin-top: 12px;
  font-size: 0.975rem;
  color: var(--muted);
}

/* ── Bento services ──────────────────────────────────────────────────── */

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

.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
              transform 0.35s var(--ease);
}

.tile::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -72px;
  width: 170px;
  height: 170px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.08;
  transition: transform 0.6s var(--ease), opacity 0.3s ease;
}

.tile:hover { border-color: var(--line-2); transform: translateY(-4px); }
.tile:hover::after { transform: scale(1.22); opacity: 0.15; }

.tile--tall { grid-row: span 1; }
.tile--wide { grid-column: span 1; }

.tile--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.tile--dark { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tile-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.6;
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.85;
}

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

.tile h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.tile p { font-size: 0.8125rem; line-height: 1.5; opacity: 0.78; }

.tile--tall p { flex: 1; font-size: 0.8125rem; }

.tile-split {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

.tags li {
  padding: 4px 9px;
  font-size: 0.68rem;
  font-weight: 600;
  border: 1px solid currentColor;
  border-radius: 100px;
  opacity: 0.7;
}

.tags--quiet { margin-top: 16px; }
.tags--quiet li { border-color: var(--line); color: var(--muted); opacity: 1; padding: 4px 10px; font-size: 0.68rem; }

/* ── Work ─────────────────────────────────────────────────────────────── */

/* Compact four-up row so thumbnails stay small and the rest of the page
   does not have to wait on oversized 4:3 covers. */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.work-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.work-card:hover { border-color: var(--line-2); }

.work-card--link:hover { border-color: var(--ink); transform: translateY(-5px); }

.cover {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.35s ease;
}

.work-card:hover .cover img { transform: scale(1.035); filter: saturate(1.06); }

/* Patterned covers and the big numeral below are for work cards that have no
   screenshot yet. All three current cards use real images, so nothing matches
   these until a fourth project is added. */
.cover--rx { background: var(--ink); }

.cover-art { width: 100%; height: 100%; }

.cover-live {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 100px;
}

.cover-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.25rem;
  line-height: 1;
  opacity: 0.55;
}

.cover--1 {
  background-color: var(--accent);
  color: var(--on-accent);
  background-image: radial-gradient(rgba(255, 247, 244, 0.32) 1.4px, transparent 1.5px);
  background-size: 15px 15px;
}

.cover--2 {
  background-color: var(--ink);
  color: var(--cream);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(247, 243, 236, 0.09) 0 8px,
    transparent 8px 17px
  );
}

.cover--3 {
  background-color: var(--cream-3);
  color: var(--ink);
  background-image: repeating-radial-gradient(
    circle at 50% 50%,
    rgba(20, 18, 15, 0.09) 0 1.4px,
    transparent 1.4px 15px
  );
}

.work-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
}

.work-body h3 { font-size: 1.02rem; margin-bottom: 6px; }

.work-body p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-body .tags { margin-top: auto; padding-top: 12px; }

/* ── Process steps ───────────────────────────────────────────────────── */

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

.step {
  display: flex;
  flex-direction: column;
  padding: 16px 16px 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color 0.25s var(--ease), transform 0.35s var(--ease);
}

.step:hover { border-color: var(--line-2); transform: translateY(-3px); }

.step-num {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
}

.step h3 { font-size: 1.02rem; margin-bottom: 6px; }

.step p { font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }

/* ── Careers ─────────────────────────────────────────────────────────── */

.careers {
  background: var(--cream);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(36px, 4.5vw, 56px) 0;
}

.careers .section-head {
  align-items: flex-end;
  margin-bottom: 18px;
}

.head-intro {
  max-width: 30em;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.head-intro strong { color: var(--ink); font-weight: 700; }

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

.career-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 14px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color 0.25s ease;
}

.career-card:hover { border-color: var(--line-2); }

.career-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.career-count { color: var(--accent); }

.career-card h3 {
  margin: 0;
  max-width: none;
  font-size: 1.125rem;
  line-height: 1.2;
}

.career-summary {
  max-width: none;
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

.career-details {
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.career-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 2px;
  cursor: pointer;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 700;
}

.career-details summary::-webkit-details-marker { display: none; }

.career-details summary span {
  color: var(--accent);
  font-size: 1.25rem;
  transition: transform 0.25s var(--ease);
}

.career-details[open] summary span { transform: rotate(45deg); }

.career-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 4px 0 8px;
}

.career-detail-grid h4 {
  margin-bottom: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.career-detail-grid ul { display: grid; gap: 7px; }

.career-detail-grid li {
  position: relative;
  padding-left: 14px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
}

.career-detail-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* ── Website packages ────────────────────────────────────────────────── */

.packages {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding: clamp(44px, 5.5vw, 72px) 0;
}

.packages::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background:
    radial-gradient(circle at 82% 7%, rgba(255, 75, 38, 0.18), transparent 24%),
    linear-gradient(rgba(247, 243, 236, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 243, 236, 0.035) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}

.packages .shell { position: relative; z-index: 1; }

.package-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 28px;
}

.packages .section-title { color: var(--cream); }

.packages .head-intro { color: rgba(247, 243, 236, 0.62); }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 20px 18px;
  background: #f5f0e7;
  color: var(--ink);
  border: 1px solid rgba(247, 243, 236, 0.12);
  border-radius: var(--r-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s var(--ease), border-color 0.25s var(--ease);
}

.plan-card:hover { transform: translateY(-4px); }

.plan-card--featured {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

.plan-card--premium {
  background: #24211d;
  color: var(--cream);
  border-color: rgba(247, 243, 236, 0.18);
}

.plan-ribbon {
  position: absolute;
  top: 0;
  right: 24px;
  padding: 8px 13px 9px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 0 0 10px 10px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.plan-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-pages {
  padding: 6px 10px;
  border: 1px solid currentColor;
  border-radius: 100px;
  font-size: 0.67rem;
  font-weight: 700;
  opacity: 0.6;
}

.plan-card h3 {
  max-width: 13em;
  margin-top: 16px;
  font-size: 1.2rem;
  line-height: 1.15;
}

.plan-for {
  margin-top: 8px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.plan-card--featured .plan-for { color: rgba(20, 18, 15, 0.67); }

.plan-card--premium .plan-for { color: rgba(247, 243, 236, 0.6); }

.plan-price {
  display: flex;
  align-items: flex-start;
  margin-top: 14px;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.plan-price span {
  margin: 0.18em 4px 0 0;
  font-size: 0.42em;
  letter-spacing: 0;
}

.plan-card--premium .plan-price { color: var(--accent); }

.plan-cost-note {
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--muted);
}

.plan-card--featured .plan-cost-note { color: rgba(20, 18, 15, 0.56); }

.plan-card--premium .plan-cost-note { color: rgba(247, 243, 236, 0.46); }

.plan-features {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.plan-card--featured .plan-features { border-color: rgba(20, 18, 15, 0.18); }

.plan-card--premium .plan-features { border-color: var(--line-lt); }

.plan-features li {
  position: relative;
  padding-left: 18px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.plan-card--featured .plan-features li::before { color: var(--ink); }

.plan-button {
  width: 100%;
  margin-top: 16px;
  padding-top: 11px;
  padding-bottom: 11px;
  font-size: 0.85rem;
  background: var(--ink);
  color: var(--cream);
}

.plan-button:hover { background: var(--accent); color: var(--on-accent); }

.plan-card--featured .plan-button:hover { background: var(--cream); color: var(--ink); }

.plan-card--premium .plan-button { background: var(--accent); color: var(--on-accent); }

.plan-card--premium .plan-button:hover { background: var(--cream); color: var(--ink); }

.package-foundation {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 4vw, 48px);
  margin-top: 28px;
  padding: 22px 24px;
  background: rgba(247, 243, 236, 0.06);
  border: 1px solid var(--line-lt);
  border-radius: var(--r-lg);
}

.pack-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.foundation-copy h3,
.comparison-title h3,
.package-detail h3 {
  margin-top: 8px;
  font-size: 1.25rem;
}

.foundation-copy p {
  max-width: 34em;
  margin-top: 15px;
  color: rgba(247, 243, 236, 0.58);
  line-height: 1.65;
}

.foundation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

.foundation-list li {
  position: relative;
  padding: 8px 10px 8px 32px;
  background: rgba(247, 243, 236, 0.055);
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.foundation-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--accent);
  font-weight: 800;
}

.comparison-block {
  margin-top: 28px;
}

.comparison-title {
  margin-bottom: 14px;
}

.comparison-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-lt);
  border-radius: var(--r-lg);
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(247, 243, 236, 0.08);
}

.plan-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: rgba(247, 243, 236, 0.035);
}

.plan-table th,
.plan-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-lt);
  text-align: left;
  font-size: 0.78rem;
  line-height: 1.4;
}

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

.plan-table thead th {
  background: rgba(247, 243, 236, 0.07);
  color: var(--cream);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan-table thead th:nth-child(3) { color: var(--accent); }

.plan-table tbody th {
  width: 25%;
  color: var(--cream);
  font-weight: 600;
}

.plan-table tbody td { color: rgba(247, 243, 236, 0.59); }

.package-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.package-detail {
  padding: 20px 22px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--r-lg);
}

.package-detail .pack-label { color: rgba(20, 18, 15, 0.57); }

.package-detail > ul:not(.addon-cloud) {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.package-detail > ul:not(.addon-cloud) li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-top: 1px solid rgba(20, 18, 15, 0.17);
  font-size: 0.8rem;
  line-height: 1.45;
}

.package-detail > ul:not(.addon-cloud) li::before {
  content: "—";
  position: absolute;
  left: 0;
}

.package-detail--light {
  background: #f5f0e7;
  color: var(--ink);
}

.package-detail--light .pack-label { color: var(--accent); }

.addon-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.addon-cloud li {
  padding: 8px 12px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--ink-2);
}

.package-detail--light > p {
  margin-top: 25px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

.package-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding: 16px 20px;
  border: 1px solid var(--line-lt);
  border-radius: 16px;
}

.package-close p {
  max-width: 55em;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(247, 243, 236, 0.62);
}

.package-close p span { color: var(--cream); font-weight: 700; }

.package-close .btn {
  flex: none;
  background: var(--cream);
  color: var(--ink);
}

.package-close .btn:hover { background: var(--accent); color: var(--on-accent); }

/* ── FAQ ─────────────────────────────────────────────────────────────── */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.faq-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--head) + 32px); }

.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--accent); }

.faq-icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease);
}

.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-item[open] .faq-icon { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-body { padding: 0 56px 18px 0; }

.faq-body p { font-size: 0.875rem; line-height: 1.55; color: var(--muted); }

.faq-perks {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.faq-perks li {
  position: relative;
  padding-left: 22px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── CTA / contact ───────────────────────────────────────────────────── */

.cta {
  background: var(--accent);
  color: var(--on-accent);
  padding: clamp(56px, 7vw, 104px) 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

.cta-title { font-size: clamp(2.25rem, 5vw, 3.75rem); }

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

.cta-copy > p {
  max-width: 28em;
  margin-top: 22px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 247, 244, 0.86);
}

.cta-mail {
  display: inline-block;
  margin-top: 30px;
  font-size: clamp(1.125rem, 2vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: inset 0 -2px 0 rgba(255, 247, 244, 0.5);
  word-break: break-word;
  transition: box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}

.cta-mail:hover { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }

.cta-chat {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 16px 10px 0 0;
  padding: 10px 16px 10px 13px;
  border: 1px solid rgba(255, 247, 244, 0.32);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.cta-chat svg { width: 19px; height: 19px; flex: none; }

.cta-chat:hover {
  background: rgba(255, 247, 244, 0.12);
  border-color: rgba(255, 247, 244, 0.6);
}

.cta-meta {
  margin-top: 22px;
  font-size: 0.875rem;
  color: rgba(255, 247, 244, 0.8);
}

.cta .ph { color: inherit; text-decoration-color: rgba(255, 247, 244, 0.5); }

/* ── Form ────────────────────────────────────────────────────────────── */

.form {
  padding: clamp(24px, 2.8vw, 34px);
  background: var(--cream);
  border-radius: var(--r-lg);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field + .field, .row + .field { margin-top: 14px; }

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--cream-2);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
  resize: vertical;
}

.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.75; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  background: var(--cream);
  border-color: var(--ink);
}

.field select { appearance: none; cursor: pointer; }

.field.invalid input,
.field.invalid textarea { border-color: var(--accent); background: var(--accent-lo); }

.form .btn { margin-top: 20px; }

.form-note {
  min-height: 1.2em;
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  color: var(--accent);
}

.form-fallback {
  margin-top: 16px;
  padding: 20px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  text-align: center;
}

.form-fallback-lead { font-size: 0.9375rem; font-weight: 600; line-height: 1.5; }

.form-fallback-alt {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}

.form-fallback-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  word-break: break-word;
}

.form-fallback-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

/* ── Footer ──────────────────────────────────────────────────────────── */

.footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(48px, 6vw, 76px) 0 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-lt);
}

.brand--light .brand-text { color: var(--cream); }

.footer-brand p {
  max-width: 30em;
  margin-top: 20px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(247, 243, 236, 0.62);
}

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

.footer-nav h4 {
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-nav a {
  display: block;
  padding: 5px 0;
  font-size: 0.9375rem;
  color: rgba(247, 243, 236, 0.72);
  transition: color 0.2s var(--ease);
  word-break: break-word;
}

.footer-nav a:hover { color: var(--cream); }

.footer-nav .ph { color: rgba(247, 243, 236, 0.5); text-decoration-color: var(--line-lt); }

.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-ig svg { width: 16px; height: 16px; flex: none; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  padding-top: 26px;
  font-size: 0.8125rem;
  color: rgba(247, 243, 236, 0.55);
}

.footer-bottom a:hover { color: var(--cream); }

/* ── Scroll reveal ───────────────────────────────────────────────────── */

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

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

/* ── Responsive ──────────────────────────────────────────────────────── */

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

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--tall { grid-row: span 1; }

  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-card--premium { grid-column: 1 / -1; }
  .plan-card--premium .plan-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--wide { grid-column: span 1; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .section-head { position: static; }

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

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

  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .burger { display: flex; }

  .nav {
    position: fixed;
    inset: calc(var(--head) + 1px) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--pad) 22px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }

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

  .nav a { padding: 15px 4px; font-size: 1.0625rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:last-child { border-bottom: 0; }

  .header-actions .btn { display: none; }

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

  .package-intro { flex-direction: column; align-items: flex-start; }
  .package-foundation { grid-template-columns: minmax(0, 1fr); }
  .package-details { grid-template-columns: minmax(0, 1fr); }

  .section-head--row { flex-direction: column; align-items: flex-start; }

  .tile-split { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

@media (max-width: 620px) {
  .bento, .work-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .tile--wide { grid-column: span 1; }

  .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-card--premium { grid-column: auto; }
  .plan-card--featured,
  .plan-card--featured:hover { transform: none; }
  .plan-card--premium .plan-features,
  .foundation-list { grid-template-columns: minmax(0, 1fr); }
  .package-close { align-items: flex-start; flex-direction: column; }
  .package-close .btn { width: 100%; }
  .plan-table th,
  .plan-table td { padding: 16px; }

  .form .row { grid-template-columns: 1fr; }
  .career-detail-grid { grid-template-columns: minmax(0, 1fr); }

  .hero-title { font-size: clamp(1.75rem, 8.5vw, 2.35rem); }
  .hero-facts { gap: 20px; }
  .hero-facts dd { font-size: 1.05rem; }

  .rotator { min-width: 0; }

  .footer-nav { grid-template-columns: minmax(0, 1fr); gap: 22px; }

  .faq-body { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
