:root {
  --bg: #f7f9ff;
  --bg-2: #ffffff;
  --ink: #101829;
  --muted: #617089;
  --line: rgba(16, 24, 41, 0.12);
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: #ffffff;
  --navy: #101829;
  --blue: #123a91;
  --blue-2: #2e7cff;
  --orange: #ff7900;
  --orange-2: #ffb15e;
  --soft: rgba(18, 58, 145, 0.08);
  --shadow: 0 28px 80px rgba(16, 24, 41, 0.14);
  --radius-lg: 34px;
  --radius-md: 22px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "DM Sans", system-ui, sans-serif;
}

a {
  color: inherit;
}

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

.gallery-page,
.mobile-preview-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 121, 0, 0.16), transparent 24rem),
    radial-gradient(circle at 86% 16%, rgba(46, 124, 255, 0.2), transparent 30rem),
    linear-gradient(135deg, #f7f9ff, #eaf1ff);
}

.gallery-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.gallery-hero {
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid rgba(18, 58, 145, 0.12);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62)),
    radial-gradient(circle at 88% 10%, rgba(255, 121, 0, 0.18), transparent 18rem);
  box-shadow: var(--shadow);
}

.back-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.small-label {
  margin: 0 0 14px;
  color: var(--orange);
  font: 800 0.76rem/1 "Archivo", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gallery-hero h1,
.mobile-preview-copy h1 {
  max-width: 880px;
  margin: 0;
  font: 900 clamp(3rem, 8vw, 7rem) / 0.88 "Archivo", sans-serif;
  letter-spacing: -0.075em;
}

.gallery-hero p:not(.small-label),
.mobile-preview-copy p:not(.small-label) {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.concept-card {
  min-height: 310px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--panel-strong);
  box-shadow: 0 18px 54px rgba(16, 24, 41, 0.1);
}

.concept-card:nth-child(5) {
  grid-column: 1 / -1;
}

.concept-card span {
  color: var(--orange);
  font: 900 0.82rem/1 "Archivo", sans-serif;
  letter-spacing: 0.2em;
}

.concept-card h2 {
  margin: 46px 0 12px;
  font: 900 clamp(2.2rem, 4vw, 4.6rem) / 0.9 "Archivo", sans-serif;
  letter-spacing: -0.06em;
}

.concept-card p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.card-executive {
  background:
    radial-gradient(circle at 90% 10%, rgba(46, 124, 255, 0.16), transparent 18rem),
    #ffffff;
}

.card-midnight {
  color: #f8fbff;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 121, 0, 0.2), transparent 17rem),
    linear-gradient(135deg, #111a2d, #07101f);
}

.card-midnight p {
  color: rgba(248, 251, 255, 0.68);
}

.card-editorial {
  background:
    linear-gradient(90deg, rgba(255, 121, 0, 0.1), transparent 42%),
    #fffdf8;
}

.card-coastal {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 121, 0, 0.18), transparent 17rem),
    linear-gradient(135deg, #f7fbff, #dcecff);
}

.card-boardroom {
  color: #f8fbff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent),
    #151515;
}

.card-boardroom p {
  color: rgba(248, 251, 255, 0.68);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.card-actions a,
.mobile-preview-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-radius: 999px;
  padding: 12px 18px;
  color: white;
  background: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.card-actions a:last-child {
  color: var(--blue);
  background: rgba(18, 58, 145, 0.09);
}

.card-midnight .card-actions a:last-child,
.card-boardroom .card-actions a:last-child {
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.12);
}

.concept-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 0%, var(--halo, rgba(46, 124, 255, 0.18)), transparent 26rem),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

.concept-page.version-midnight-advisory,
.concept-page.version-boardroom-studio {
  color-scheme: dark;
}

.lab-bar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 90%, transparent);
  backdrop-filter: blur(20px);
}

.lab-bar strong {
  font: 900 0.78rem/1 "Archivo", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lab-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.lab-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.lab-links a.active {
  color: white;
  border-color: transparent;
  background: var(--blue);
}

.is-framed .lab-bar {
  display: none;
}

.site-nav {
  display: flex;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.flame-mark {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background:
    radial-gradient(circle at 50% 36%, #ffd6a4 0 10%, transparent 11%),
    linear-gradient(135deg, var(--orange), #ff4c1c);
  box-shadow: 0 8px 24px rgba(255, 121, 0, 0.25);
}

.flame-mark::before {
  content: "";
  width: 10px;
  height: 14px;
  border-radius: 60% 60% 60% 10%;
  background: currentColor;
  transform: rotate(45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

.nav-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 20px;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
}

.nav-cta,
.button-primary {
  color: var(--cta-ink, #ffffff);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 16px 38px color-mix(in srgb, var(--orange) 30%, transparent);
}

.button-secondary {
  color: var(--blue);
  border-color: color-mix(in srgb, var(--blue) 22%, transparent);
  background: color-mix(in srgb, var(--blue) 8%, transparent);
}

.hero,
.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.78fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  padding: 34px 0 96px;
}

.hero-copy h1 {
  margin: 0;
  font: 900 clamp(3.8rem, 8.5vw, 8.9rem) / 0.82 "Archivo", sans-serif;
  letter-spacing: -0.085em;
}

.version-editorial-capital .hero-copy h1,
.version-phoenix-horizon .hero-copy h1 {
  font-family: "Fraunces", serif;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.hero-copy p {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  display: block;
  max-width: 560px;
  margin-top: 18px;
  color: color-mix(in srgb, var(--muted) 80%, transparent);
  font-size: 0.86rem;
  line-height: 1.5;
}

.hero-media {
  position: relative;
}

.hero-photo {
  overflow: hidden;
  min-height: 620px;
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.hero-panel {
  position: absolute;
  right: -20px;
  bottom: 42px;
  width: min(340px, 82%);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: color-mix(in srgb, var(--panel-strong) 88%, transparent);
  box-shadow: 0 18px 60px rgba(16, 24, 41, 0.18);
  backdrop-filter: blur(18px);
}

.hero-panel strong {
  display: block;
  font: 900 1.25rem/1.1 "Archivo", sans-serif;
}

.hero-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.trust-row {
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-strong) 58%, transparent);
}

.trust-row .section-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 24px 0;
}

.trust-row span {
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.section {
  padding: clamp(76px, 9vw, 132px) 0;
}

.section.dark {
  color: #f8fbff;
  background:
    radial-gradient(circle at 14% 22%, color-mix(in srgb, var(--blue-2) 28%, transparent), transparent 22rem),
    linear-gradient(135deg, var(--navy), #07101f);
}

.section.dark .muted,
.section.dark p,
.section.dark .section-kicker {
  color: rgba(248, 251, 255, 0.68);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.45fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 38px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font: 900 0.78rem/1 "Archivo", sans-serif;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.section-header h2,
.split-copy h2,
.newsletter h2,
.final-cta h2 {
  margin: 0;
  font: 900 clamp(2.5rem, 5vw, 5.8rem) / 0.88 "Archivo", sans-serif;
  letter-spacing: -0.07em;
}

.section-header p,
.split-copy p,
.newsletter p,
.final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.path-card,
.signal-card,
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--panel);
  box-shadow: 0 16px 46px rgba(16, 24, 41, 0.08);
}

.path-card b,
.signal-card b,
.service-card b {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font: 900 0.75rem/1 "Archivo", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.path-card h3,
.signal-card h3,
.service-card h3 {
  margin: 0;
  font: 900 1.65rem/1 "Archivo", sans-serif;
  letter-spacing: -0.04em;
}

.path-card p,
.signal-card p,
.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.human-rail {
  overflow: hidden;
  padding: 24px 0;
}

.human-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: railScroll 42s linear infinite;
}

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

.human-card {
  overflow: hidden;
  width: min(520px, 76vw);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel-strong);
  box-shadow: 0 20px 55px rgba(16, 24, 41, 0.14);
}

.human-card img {
  width: 100%;
  height: 285px;
  object-fit: cover;
}

.human-card div {
  padding: 18px 20px 20px;
}

.human-card strong {
  display: block;
  font: 900 1.1rem/1.2 "Archivo", sans-serif;
}

.human-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.72fr 0.72fr;
  gap: 18px;
}

.signal-card.featured {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.46)),
    var(--signal-image) center / cover;
  color: white;
}

.signal-card.featured p,
.signal-card.featured b {
  color: rgba(255, 255, 255, 0.82);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 0.7fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.service-list {
  display: grid;
  gap: 14px;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.54fr);
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 18%, color-mix(in srgb, var(--orange) 24%, transparent), transparent 18rem),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.newsletter-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--bg-2);
  font: 700 1rem/1 "DM Sans", sans-serif;
}

.newsletter-form button {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  color: var(--cta-ink, #ffffff);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  font-weight: 900;
  cursor: pointer;
}

.final-cta {
  text-align: center;
}

.final-cta p {
  max-width: 620px;
  margin: 20px auto 0;
}

.footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.footer .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.version-executive-blue {
  --bg: #f6f9ff;
  --bg-2: #ffffff;
  --ink: #101829;
  --muted: #63728d;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: #ffffff;
  --navy: #112247;
  --blue: #113487;
  --blue-2: #2e7cff;
  --orange: #ff7900;
  --orange-2: #ff9c35;
}

.version-midnight-advisory {
  --bg: #08111f;
  --bg-2: #0f1d32;
  --ink: #f8fbff;
  --muted: #a9b7cd;
  --line: rgba(255, 255, 255, 0.13);
  --panel: rgba(18, 32, 54, 0.76);
  --panel-strong: #111f35;
  --navy: #060b14;
  --blue: #4f8cff;
  --blue-2: #6fa4ff;
  --orange: #ff7a18;
  --orange-2: #ffb060;
}

.version-editorial-capital {
  --bg: #fbf8f2;
  --bg-2: #ffffff;
  --ink: #151515;
  --muted: #6d6a63;
  --line: rgba(21, 21, 21, 0.12);
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: #ffffff;
  --navy: #15203a;
  --blue: #123a91;
  --blue-2: #2f7fff;
  --orange: #ff7900;
  --orange-2: #ffb36b;
}

.version-coastal-venture {
  --bg: #f4fbff;
  --bg-2: #ffffff;
  --ink: #09243e;
  --muted: #5d7487;
  --line: rgba(9, 36, 62, 0.12);
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: #ffffff;
  --navy: #09243e;
  --blue: #0066ff;
  --blue-2: #20a6ff;
  --orange: #ff6d18;
  --orange-2: #ffbb6f;
  --halo: rgba(32, 166, 255, 0.24);
}

.version-boardroom-studio {
  --bg: #f2f2ef;
  --bg-2: #ffffff;
  --ink: #151515;
  --muted: #676767;
  --line: rgba(21, 21, 21, 0.13);
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: #ffffff;
  --navy: #151515;
  --blue: #123a91;
  --blue-2: #2e7cff;
  --orange: #ff7900;
  --orange-2: #ff9d3d;
}

.version-midnight-advisory .section:not(.dark) .section-inner,
.version-midnight-advisory .site-nav,
.version-midnight-advisory .hero {
  color: #f8fbff;
}

.version-midnight-advisory .button-secondary {
  color: #f8fbff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.version-boardroom-studio .hero {
  padding-top: 48px;
}

.version-boardroom-studio .hero-photo,
.version-boardroom-studio .human-card {
  border-radius: 8px;
}

.mobile-preview-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 460px;
  gap: clamp(28px, 6vw, 86px);
  width: min(1180px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0;
  align-items: center;
}

.phone-frame-wrap {
  display: grid;
  place-items: center;
}

.phone-frame {
  width: 420px;
  max-width: calc(100vw - 36px);
  height: 860px;
  padding: 16px;
  border-radius: 48px;
  background: #0a0f1b;
  box-shadow: 0 32px 90px rgba(16, 24, 41, 0.28);
}

.phone-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 34px;
  background: white;
}

.mobile-preview-actions {
  margin-top: 28px;
}

@keyframes railScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@media (max-width: 980px) {
  .concept-grid,
  .hero,
  .section-header,
  .split,
  .newsletter,
  .mobile-preview-shell {
    grid-template-columns: 1fr;
  }

  .concept-card:nth-child(5) {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-photo,
  .hero-photo img {
    min-height: 440px;
    height: 440px;
  }

  .path-grid,
  .signal-grid,
  .trust-row .section-inner {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .phone-frame {
    height: 780px;
  }
}

@media (max-width: 640px) {
  .lab-bar {
    position: relative;
    display: block;
  }

  .lab-links {
    justify-content: flex-start;
    margin-top: 12px;
  }

  .site-nav,
  .hero,
  .section-inner {
    width: min(100% - 28px, 560px);
  }

  .site-nav {
    padding: 18px 0;
  }

  .is-framed .site-nav {
    position: sticky;
    z-index: 10;
    top: 0;
    width: 100%;
    padding: 14px;
    background: color-mix(in srgb, var(--bg-2) 88%, transparent);
    backdrop-filter: blur(18px);
  }

  .brand span:last-child {
    max-width: 150px;
    line-height: 1.05;
  }

  .is-framed .nav-cta {
    min-height: 42px;
    padding: 11px 14px;
  }

  .hero {
    padding: 18px 0 62px;
  }

  .gallery-hero h1,
  .mobile-preview-copy h1 {
    font-size: clamp(3.1rem, 17vw, 4.6rem);
    line-height: 0.88;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 12.5vw, 3.35rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
  }

  .hero-photo,
  .hero-photo img {
    min-height: 360px;
    height: 360px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 22px);
    margin: -72px auto 0;
  }

  .section {
    padding: 68px 0;
  }

  .section-header h2,
  .split-copy h2,
  .newsletter h2,
  .final-cta h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .human-card {
    width: 82vw;
  }

  .human-card img {
    height: 220px;
  }

  .footer .section-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-shell {
    width: min(100% - 24px, 560px);
    padding: 28px 0 48px;
  }

  .gallery-hero,
  .concept-card {
    border-radius: 28px;
    padding: 24px;
  }
}
