/* Public presentation only; private Studio and Canon do not load this file. */
:root {
  --public-hero-image: url("/assets/images/mirror-constellation-hero.webp");
}

body .brand-mark {
  display: block;
  color: inherit;
  font-size: 1.5rem;
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.1;
  text-transform: none;
}

body.site-theme .brand-name,
body.clean-concept .hybrid-brand .brand-name {
  margin-top: 5px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  line-height: 1.3;
  text-transform: none;
}

body.site-theme,
body.hybrid-page {
  overflow-wrap: anywhere;
}

body.site-theme .page-hero h1,
body.site-theme h1:not(.hero-title),
body.site-theme .mirror-title,
body.hybrid-page .hybrid-title {
  overflow-wrap: anywhere;
}

body.site-theme :is(.container, .split, .grid, .section-heading, .page-hero) > *,
body.hybrid-page :is(.hybrid-wrap, .hybrid-hero-grid, .hybrid-row, .hybrid-card-grid) > *,
.clarity-bar-inner > *,
.clarity-summary > * {
  min-width: 0;
}

.clarity-options,
.clarity-bar--compact .clarity-options {
  display: flex;
  flex-wrap: wrap;
}

.clarity-options button {
  flex: 1 1 5rem;
  min-width: min(100%, 5rem);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.principle-thread a,
.connection-links a {
  max-width: 100%;
}

body.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.landing-page main {
  flex: 1;
}

.landing-hero {
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(56px, 8vw, 104px) 20px;
}

.landing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: center;
}

.landing-copy {
  max-width: 760px;
}

.landing-copy h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--plum-dark);
  font-family: var(--serif);
  font-size: clamp(4rem, 8.5vw, 8.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.9;
  text-wrap: balance;
}

.landing-copy .lede {
  max-width: 640px;
  margin-top: 28px;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
}

.landing-actions {
  margin-top: 32px;
}

.landing-actions .button {
  min-width: 172px;
}

.landing-status {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.landing-visual {
  position: relative;
  min-height: 0;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: clamp(16px, 2vw, 24px);
  background:
    radial-gradient(circle at 76% 24%, rgba(200, 167, 90, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(23, 17, 25, 0.02), rgba(23, 17, 25, 0.3)),
    var(--public-hero-image) 68% center / cover no-repeat;
  box-shadow:
    18px 18px 0 color-mix(in srgb, var(--plum) 10%, transparent),
    0 30px 70px rgba(31, 17, 36, 0.2);
}

.landing-visual::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 250, 242, 0.16);
  border-radius: 12px;
  pointer-events: none;
}

.landing-paths {
  padding: clamp(52px, 6vw, 76px) 20px;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 42%, transparent);
}

.landing-paths-heading {
  max-width: 620px;
}

.landing-paths-heading h2 {
  max-width: 12ch;
  margin: 0;
}

.landing-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 32px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: color-mix(in srgb, var(--paper) 48%, transparent);
  list-style: none;
}

.landing-path-grid li {
  min-width: 0;
}

.landing-path-grid li + li {
  border-left: 1px solid var(--line);
}

.landing-path {
  position: relative;
  min-height: 100%;
  display: block;
  padding: 24px;
  color: inherit;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.landing-path-grid li:first-child .landing-path {
  background: color-mix(in srgb, var(--plum-wash) 16%, transparent);
}

.landing-path::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 12%, transparent);
}

.landing-path:hover {
  background: color-mix(in srgb, var(--plum-wash) 34%, transparent);
}

.landing-path:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.landing-path h3 {
  margin: 0 0 10px;
  color: var(--plum-dark);
  font-size: 1.2rem;
}

.landing-path p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.landing-path-arrow {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
}

.landing-trust {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.landing-footer {
  margin-top: 0;
}

body.site-theme[data-theme="dark"] .landing-copy h1 {
  color: #fff7ec;
}

body.site-theme[data-theme="dark"] .landing-status {
  color: rgba(255, 247, 236, 0.68);
}

@media (max-width: 900px) {
  .clarity-bar--compact .clarity-bar-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

  .landing-copy {
    max-width: 820px;
  }

  .landing-visual {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --public-hero-image: url("/assets/images/mirror-constellation-hero-960.webp");
  }

  body.site-theme .nav,
  body.clean-concept .hybrid-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  body.site-theme .brand,
  body.clean-concept .hybrid-brand {
    flex: 1 1 10rem;
    min-width: 0;
    max-width: none;
  }

  .mobile-menu-toggle {
    flex-shrink: 0;
  }

  body.site-theme .page-hero {
    min-height: 0;
    padding: 48px 23px 36px;
  }

  body.site-theme .mirror-hero {
    min-height: 0;
    padding: 56px 23px 44px;
  }

  body.clean-concept .hybrid-hero {
    min-height: 0;
    padding: 40px 23px 32px;
  }

  .landing-hero {
    min-height: 0;
    padding: 64px 23px 72px;
  }

  .landing-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .landing-copy h1 {
    max-width: 9ch;
    font-size: clamp(3.25rem, 15vw, 4.6rem);
    line-height: 0.94;
  }

  .landing-copy .lede {
    margin-top: 24px;
    font-size: 1rem;
  }

  .landing-actions .button {
    width: 100%;
  }

  .landing-visual {
    display: none;
  }

  .landing-paths {
    padding: 48px 23px;
  }

  .landing-path-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .landing-path-grid li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .landing-path {
    padding: 24px;
  }

  .landing-path-arrow {
    top: 22px;
  }

  body.site-theme .section,
  body.site-theme .mirror-section,
  body.site-theme .dark-band,
  body.site-theme .constellation-section,
  body.clean-concept .hybrid-section {
    padding: 48px 23px;
  }

  body.site-theme .page-hero h1,
  body.site-theme h1:not(.hero-title),
  body.site-theme .mirror-title,
  body.hybrid-page .hybrid-title {
    max-width: 100%;
    line-height: 1.06;
  }

  html[data-clarity="essential"] .hybrid-mobile-image {
    display: none;
  }

  html[data-clarity="essential"] .connection-flow {
    gap: 12px;
  }

  html[data-clarity="essential"] .connection-flow article {
    padding: 22px;
  }

  html[data-clarity="essential"] .connection-flow h3 {
    margin-top: 12px;
  }

  html[data-clarity="essential"] .connection-flow .text-link,
  html[data-clarity="essential"] .connection-links {
    margin-top: 12px;
    padding-top: 0;
  }

  html[data-clarity="essential"] .foundation-list {
    margin-top: 24px;
  }
}
