:root {
  color-scheme: light;
  --ink: #161514;
  --muted: #5e5a55;
  --paper: #faf7f0;
  --panel: #fffdf8;
  --line: #ded5c5;
  --accent: #8b2635;
  --accent-dark: #651925;
  --gold: #b9852d;
  --green: #236b5b;
  --shadow: 0 18px 44px rgba(45, 35, 23, 0.12);
  --site-bg-scroll: 0px;
  --site-mid-scroll: 0px;
  --site-bg-height: 100%;
  --site-text: #efe2c0;
  --site-text-soft: rgba(240, 225, 193, 0.84);
  --site-text-gold: #e0bf74;
  --site-text-shadow: 0 2px 18px rgba(8, 6, 4, 0.34);
  --bg-panel-top-left: none;
  --bg-panel-top-right: none;
  --bg-panel-bottom-left: none;
  --bg-panel-bottom-right: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  background: #0f0b08;
  color: var(--site-text);
  font-family:
    Georgia, "Times New Roman", Times, serif;
  line-height: 1.5;
}

body.lightbox-open {
  overflow: hidden;
}

.site-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.site-background-track {
  position: absolute;
  inset: 0;
  height: var(--site-bg-height);
  z-index: 0;
  background-image:
    var(--bg-panel-top-left),
    var(--bg-panel-top-right),
    var(--bg-panel-bottom-left),
    var(--bg-panel-bottom-right);
  background-position:
    left top,
    right top,
    left calc(50vw * 1.776833156),
    right calc(50vw * 1.776833156);
  background-repeat:
    repeat-y,
    repeat-y,
    repeat-y,
    repeat-y;
  background-size:
    50vw auto,
    50vw auto,
    50vw auto,
    50vw auto;
  transform: translate3d(0, var(--site-bg-scroll), 0);
  will-change: transform;
  contain: paint;
}

.site-background-middle {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0.6;
  contain: paint;
}

.site-background-middle-stack {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-image:
    var(--mid-image-1),
    var(--mid-image-2);
  background-position:
    center top,
    center var(--mid-panel-height, 0px);
  background-repeat:
    repeat-y,
    repeat-y;
  background-size:
    100vw auto,
    100vw auto;
  transform: translate3d(0, var(--site-mid-scroll), 0);
  will-change: transform;
}

.site-header,
.page,
.site-footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(185, 133, 45, 0.42);
  background:
    linear-gradient(180deg, rgba(20, 16, 13, 0.96), rgba(33, 25, 19, 0.94));
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(12, 9, 6, 0.26);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(185, 133, 45, 0.34),
    0 12px 26px rgba(0, 0, 0, 0.28);
}

.brand-lockup {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-wordmark {
  color: #dfc079;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.05;
  white-space: normal;
}

.brand-tagline {
  color: rgba(225, 210, 176, 0.72);
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  color: rgba(224, 212, 188, 0.82);
  font-size: 0.94rem;
}

.nav-links a {
  border-radius: 999px;
  padding: 7px 10px;
  text-decoration: none;
  transition:
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.nav-links a:hover {
  color: #f3d48a;
  background: rgba(185, 133, 45, 0.1);
  box-shadow: inset 0 0 0 1px rgba(185, 133, 45, 0.24);
}

.page {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(380px, 0.92fr);
  gap: 28px;
  min-height: 62vh;
  align-items: stretch;
  padding: 60px 0 42px;
}

.hero-community-section {
  padding-top: 0;
  padding-bottom: 12px;
}

.community-note {
  max-width: 980px;
}

.community-note a {
  color: #f3c86f;
}

.hero-copy {
  max-width: 940px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.card-label {
  margin: 0 0 14px;
  color: #9ccfc1;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: var(--site-text-shadow);
  text-transform: uppercase;
}

.card-label.muted {
  color: rgba(213, 198, 165, 0.78);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
}

h1 {
  max-width: 11.5ch;
  font-size: clamp(2.85rem, 5vw, 4.9rem);
  letter-spacing: -0.03em;
  line-height: 0.96;
  color: #f7f0df;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.34);
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  letter-spacing: -0.02em;
  color: var(--site-text-gold);
  text-shadow: var(--site-text-shadow);
}

h3 {
  font-size: 1.2rem;
}

.lede {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--site-text-soft);
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
  text-shadow: var(--site-text-shadow);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
  box-shadow: 0 12px 24px rgba(101, 25, 37, 0.18);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.86);
  color: var(--ink);
}

.button.secondary:hover {
  background: #fff;
  box-shadow: 0 12px 24px rgba(45, 35, 23, 0.12);
}

.button.ghost {
  border-color: transparent;
  background: transparent;
  color: #f1cb7f;
}

.button.ghost:hover {
  background: rgba(139, 38, 53, 0.08);
  box-shadow: none;
}

.product-card,
.panel,
.price-card,
.form-panel,
.gallery-shell {
  border: 1px solid rgba(223, 191, 116, 0.48);
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 18px 40px rgba(10, 7, 4, 0.16);
}

.product-card {
  overflow: hidden;
}

.hero-proof,
.gallery-shell,
.lane-proof-shell {
  background: transparent;
}

.hero-proof {
  position: relative;
  align-self: stretch;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100%;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 18%, rgba(210, 151, 53, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(19, 14, 11, 0.88), rgba(28, 22, 17, 0.74)),
    rgba(255, 253, 248, 0.88);
}

.hero-proof-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100%;
}

.hero-proof-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}

.hero-proof-atmosphere-base {
  z-index: 0;
  opacity: 0.5;
  background:
    linear-gradient(180deg, rgba(21, 17, 14, 0.82), rgba(14, 11, 9, 0.62)),
    linear-gradient(rgba(162, 118, 47, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(162, 118, 47, 0.08) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='160' viewBox='0 0 240 160'%3E%3Cg fill='none' stroke='rgba(191,145,61,0.22)' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M14 34h54c12 0 18 6 24 14l11 15c7 9 13 14 25 14h96'/%3E%3Cpath d='M10 86h72c10 0 16-4 23-12l10-12c7-8 13-12 27-12h88'/%3E%3Cpath d='M52 128h56c9 0 15-3 22-10l17-16c8-8 14-12 28-12h49'/%3E%3C/g%3E%3Cg fill='rgba(215,169,78,0.28)'%3E%3Ccircle cx='70' cy='34' r='2.2'/%3E%3Ccircle cx='128' cy='62' r='2.1'/%3E%3Ccircle cx='160' cy='74' r='1.8'/%3E%3Ccircle cx='108' cy='128' r='2'/%3E%3C/g%3E%3C/svg%3E");
  background-size:
    auto,
    36px 36px,
    36px 36px,
    280px 180px;
  background-position:
    center,
    center,
    center,
    center;
}

.hero-proof-atmosphere-overlay {
  z-index: 1;
  opacity: 0.68;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at 18% 22%, rgba(248, 197, 104, 0.14), transparent 18%),
    radial-gradient(circle at 82% 76%, rgba(233, 171, 74, 0.12), transparent 20%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='220' viewBox='0 0 320 220'%3E%3Cg fill='none' stroke='rgba(235,188,93,0.26)' stroke-width='1.1' stroke-linecap='round'%3E%3Cpath d='M18 40h74l18 18h46l19-19h40l25 25h58'/%3E%3Cpath d='M42 108h60l16-16h38l20 20h42l13-13h56'/%3E%3Cpath d='M24 170h92l15-15h62l17 17h84'/%3E%3C/g%3E%3Cg fill='rgba(255,205,108,0.6)'%3E%3Ccircle cx='92' cy='40' r='2'/%3E%3Ccircle cx='174' cy='58' r='2.3'/%3E%3Ccircle cx='236' cy='112' r='2.1'/%3E%3Ccircle cx='131' cy='155' r='2'/%3E%3Ccircle cx='210' cy='172' r='1.8'/%3E%3C/g%3E%3C/svg%3E");
  background-size:
    auto,
    auto,
    320px 220px;
  background-position:
    center,
    center,
    center;
}

.hero-brand-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(185, 133, 45, 0.28);
  border-radius: 16px;
  background: rgba(19, 14, 11, 0.7);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
}

.hero-brand-badge img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.hero-diptych {
  display: grid;
  gap: 16px;
  padding: 10px 10px 0;
}

.hero-diptych-arrows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 30px;
  margin: -2px 0;
  padding: 0 12px;
}

.hero-arrow {
  display: block;
  width: 100%;
  max-width: 150px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(8, 6, 4, 0.26));
}

.hero-arrow-down {
  justify-self: start;
  transform: translateX(20%);
}

.hero-arrow-up {
  justify-self: end;
  transform: translateX(-20%);
}

.hero-diptych-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(222, 213, 197, 0.82);
  border-radius: 6px;
  background: rgba(18, 14, 11, 0.74);
  box-shadow: 0 10px 28px rgba(10, 7, 5, 0.26);
  object-fit: contain;
  object-position: center;
}

.hero-diptych-top,
.hero-diptych-bottom {
  aspect-ratio: 16 / 9;
}

@media (prefers-reduced-motion: reduce) {
  .hero-proof-atmosphere {
    transform: none !important;
  }

  .site-background-track {
    transform: none !important;
  }

  .site-background-middle {
    transform: none !important;
  }

  .site-background-middle-stack {
    transform: none !important;
  }
}

.product-card .caption {
  padding: 16px 18px 18px;
}

.caption strong {
  display: block;
  margin-bottom: 6px;
}

.caption p {
  margin: 0;
  color: rgba(236, 222, 192, 0.82);
}

.section {
  padding: 56px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-header h2 {
  max-width: 13ch;
}

.section-header p {
  max-width: 560px;
  margin: 0;
  color: var(--site-text-soft);
  text-shadow: var(--site-text-shadow);
}

.value-header {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.value-copy {
  display: grid;
  gap: 14px;
}

.value-copy p {
  max-width: 34ch;
}

.value-sandcastle-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  margin-top: 44px;
}

.value-sandcastle-thumb {
  display: block;
  width: 220px;
  max-width: 220px;
  height: 220px;
  max-height: 220px;
  border: 1px solid rgba(223, 191, 116, 0.34);
  border-radius: 8px;
  background: rgba(12, 9, 7, 0.4);
  object-fit: cover;
  object-position: center;
}

.value-sandcastle-proof {
  display: grid;
  gap: 12px;
  align-content: end;
  min-height: 100%;
}

.value-sandcastle-helper {
  margin: 0;
  max-width: 30ch;
  color: var(--site-text-soft);
  text-shadow: var(--site-text-shadow);
}

.value-proof-stack,
.value-carousel {
  display: grid;
  gap: 14px;
  justify-items: stretch;
}

.value-workflow-callout {
  display: grid;
  gap: 18px;
}

.value-workflow-copy {
  display: grid;
  gap: 10px;
}

.value-workflow-copy h3,
.value-workflow-copy p {
  margin: 0;
}

.value-workflow-copy p {
  max-width: 58ch;
}

.value-workflow-callout > .value-workflow-hero {
  display: block;
  width: 240px !important;
  height: 190px !important;
  max-width: 240px !important;
  max-height: 190px !important;
  min-width: 240px;
  min-height: 190px;
  margin: 0 auto;
  justify-self: center;
  border: 1px solid rgba(223, 191, 116, 0.34);
  border-radius: 8px;
  background: rgba(12, 9, 7, 0.4);
  object-fit: contain;
}

.value-workflow-footer p {
  margin: 0;
  max-width: 78ch;
}

.value-carousel-shell {
  display: grid;
  gap: 14px;
}

.value-carousel-stage {
  overflow: hidden;
  border: 1px solid rgba(223, 191, 116, 0.38);
  border-radius: 8px;
  background: rgba(12, 9, 7, 0.24);
}

.value-carousel-slide {
  display: grid;
  min-height: 180px;
  place-items: center;
}

.value-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 180px;
  object-fit: contain;
  object-position: center;
}

[data-expandable-image] {
  cursor: zoom-in;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

[data-expandable-image]:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(10, 7, 5, 0.34);
}

[data-expandable-image]:focus-visible {
  outline: 2px solid #f3c86f;
  outline-offset: 4px;
}

.value-carousel-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.value-carousel-nav {
  min-width: 0;
}

.value-carousel-nav:last-child {
  justify-self: end;
}

.value-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.value-carousel-dot {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(94, 90, 85, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
}

.value-carousel-dot.is-active {
  border-color: var(--accent);
  background: var(--accent);
}

.grid,
.three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.two-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pricing-stack {
  display: grid;
  gap: 18px;
}

.pricing-grid,
.workflow-grid {
  display: grid;
  gap: 18px;
}

.pricing-top-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.workflow-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-grid .panel:last-child {
  grid-column: span 2;
}

.panel,
.price-card,
.gallery-shell {
  padding: 22px;
}

.feature-grid {
  align-items: stretch;
}

.panel p,
.price-card p,
.gallery-shell p {
  color: var(--site-text-soft);
  text-shadow: var(--site-text-shadow);
}

.panel,
.price-card,
.form-panel,
.gallery-shell,
.download-box,
.notice {
  color: var(--site-text);
}

.panel h2,
.panel h3,
.price-card h2,
.price-card h3,
.form-panel h2,
.form-panel h3,
.gallery-shell h2,
.gallery-shell h3,
.download-box h2,
.download-box h3,
.notice h2,
.notice h3,
.notice strong {
  color: var(--site-text-gold);
  text-shadow: var(--site-text-shadow);
}

.panel p:last-child,
.price-card p:last-child {
  margin-bottom: 0;
}

.price-card.featured {
  background:
    linear-gradient(135deg, rgba(139, 38, 53, 0.08), rgba(185, 133, 45, 0.08)),
    rgba(13, 10, 7, 0.12);
}

.pricing-grid .price-card.featured {
  transform: translateY(-8px);
  border-color: rgba(139, 38, 53, 0.34);
  box-shadow: 0 22px 46px rgba(45, 35, 23, 0.16);
}

.pricing-subheader {
  margin-bottom: 18px;
}

.pricing-subheader h3 {
  font-size: 1.6rem;
}

.pricing-subheader p {
  max-width: 640px;
}

.group-session-shell {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.pricing-bundles {
  opacity: 0.96;
}

.bundle-card {
  background: transparent;
}

.pricing-note {
  max-width: 900px;
}

.price-fit {
  margin-top: 18px;
}

.price-card.compact {
  align-self: start;
}

.price {
  margin: 14px 0 8px;
  font-size: 2.4rem;
  font-weight: 900;
}

.price small {
  color: var(--site-text-soft);
  text-shadow: var(--site-text-shadow);
  font-size: 0.92rem;
  font-weight: 700;
}

.list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 20px;
  color: var(--site-text-soft);
  text-shadow: var(--site-text-shadow);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.steps {
  counter-reset: step;
}

.steps .panel {
  position: relative;
  padding-top: 58px;
}

.steps .panel::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 18px;
  left: 22px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.gallery-shell {
  display: grid;
  gap: 18px;
}

.gallery-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.gallery-note {
  max-width: 420px;
  margin: 0;
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 100%;
  border: 1px solid rgba(223, 191, 116, 0.36);
  border-radius: 8px;
  background: transparent;
  padding: 16px;
}

.gallery-card.featured {
  border-color: rgba(139, 38, 53, 0.3);
  box-shadow: 0 20px 40px rgba(45, 35, 23, 0.14);
}

.gallery-media {
  overflow: hidden;
  border: 1px solid rgba(223, 191, 116, 0.38);
  border-radius: 6px;
  background: rgba(12, 9, 7, 0.24);
  aspect-ratio: 16 / 10;
}

.gallery-card.featured .gallery-media {
  aspect-ratio: 16 / 9;
}

.gallery-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-media img.contain-top {
  object-fit: contain;
  object-position: center top;
}

.gallery-media img.contain-center {
  object-fit: contain;
  object-position: center center;
}

.gallery-media img.crop-left-wide {
  object-fit: cover;
  object-position: left center;
}

.gallery-copy {
  display: grid;
  gap: 8px;
}

.gallery-copy p {
  max-width: 50ch;
}

.gallery-card h3 {
  margin: 0;
}

.gallery-card p {
  margin: 0;
}

.notice {
  border-left: 4px solid var(--gold);
  padding: 18px 20px;
  background: transparent;
}

.notice p {
  margin: 10px 0 0;
}

.commercial-note,
.workflow-note {
  margin-top: 18px;
}

.commercial-note {
  margin-top: 26px;
  border-left-width: 3px;
  background: transparent;
  max-width: 980px;
}

.commercial-note .button-row {
  margin-top: 18px;
}

.philosophy-section {
  padding-top: 22px;
  padding-bottom: 38px;
}

.philosophy-note {
  max-width: 980px;
  margin-top: 0;
}

.philosophy-layout {
  display: grid;
  gap: 18px;
}

.philosophy-top {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.philosophy-copy {
  display: grid;
  gap: 14px;
  max-width: 42ch;
  align-content: start;
}

.philosophy-copy p {
  margin: 0;
}

.philosophy-media {
  display: grid;
  align-self: start;
  justify-items: start;
}

.philosophy-media img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(8, 6, 4, 0.22));
}

.philosophy-medium-shot {
  max-width: 320px;
}

.philosophy-helper-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  max-width: 560px;
}

.philosophy-helper {
  margin: 0;
  max-width: 31ch;
  font-size: 0.99rem;
  line-height: 1.55;
  text-align: left;
}

.philosophy-gold-guide {
  width: 100%;
  max-width: 170px;
}

.philosophy-body {
  margin: 0;
  max-width: 36ch;
}

.lane-proof-followup {
  max-width: 54ch;
  margin: 0 auto;
  text-align: center;
  color: var(--site-text-soft);
  text-shadow: var(--site-text-shadow);
}

.gallery-followup {
  margin: 22px 0 30px;
}

.lane-proof-section {
  padding-top: 10px;
}

#gallery.section {
  padding-top: 90px;
}

.lane-proof-header h2 {
  max-width: 12ch;
}

.lane-proof-shell {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.lane-proof-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lane-proof-carousel {
  display: grid;
  gap: 16px;
}

.lane-proof-stage {
  min-width: 0;
}

.lane-proof-slide {
  display: grid;
  gap: 18px;
}

.lane-proof-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(223, 191, 116, 0.38);
  border-radius: 8px;
  background: rgba(12, 9, 7, 0.24);
}

.lane-proof-media img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  object-position: center;
}

.lane-proof-copy {
  display: grid;
  gap: 8px;
  max-width: 68ch;
}

.lane-proof-copy p {
  margin: 0;
}

.lane-proof-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lane-proof-nav {
  min-width: 112px;
}

.lane-proof-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.lane-proof-dot {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(94, 90, 85, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
}

.lane-proof-dot.is-active {
  border-color: var(--accent);
  background: var(--accent);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 28px;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 5, 4, 0.88);
  backdrop-filter: blur(8px);
}

.image-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  width: min(1200px, 100%);
  max-height: calc(100vh - 56px);
  padding: 18px;
  border: 1px solid rgba(223, 191, 116, 0.52);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(20, 16, 13, 0.98), rgba(28, 22, 17, 0.96));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  overflow: auto;
}

.image-lightbox-close {
  justify-self: end;
  width: auto;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid rgba(223, 191, 116, 0.42);
  background: rgba(255, 253, 248, 0.9);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.image-lightbox-figure {
  display: grid;
  gap: 12px;
  margin: 0;
  min-height: 0;
  justify-items: center;
  align-content: start;
}

.image-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 300px);
  margin: 0 auto;
  border: 1px solid rgba(223, 191, 116, 0.34);
  border-radius: 8px;
  background: rgba(12, 9, 7, 0.52);
  object-fit: contain;
}

.image-lightbox-caption {
  margin: 0;
  max-width: min(900px, 100%);
  padding: 0 8px 6px;
  text-align: center;
  line-height: 1.35;
  color: var(--site-text-soft);
  text-shadow: var(--site-text-shadow);
}

.image-lightbox-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.image-lightbox-nav[hidden] {
  display: none;
}

.image-lightbox-link {
  width: auto;
  min-width: 200px;
}

.workflow-card {
  min-height: 100%;
}

.page-title {
  padding: 46px 0 22px;
}

.page-title h1 {
  max-width: 12ch;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
}

.download-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  gap: 12px;
  align-items: center;
}

.download-box h2 {
  max-width: 10ch;
  font-size: clamp(1.7rem, 2.7vw, 2.5rem);
}

.download-box .button-row {
  margin-top: 12px;
  justify-content: flex-start;
}

.unlock-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: 20px;
  align-items: start;
}

.unlock-intro {
  display: grid;
  gap: 16px;
}

.unlock-guidance h2,
.form-intro h2 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.unlock-form-panel {
  display: grid;
  gap: 18px;
}

.form-intro p {
  margin: 0;
  color: var(--site-text-soft);
  text-shadow: var(--site-text-shadow);
}

.fallback-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(222, 213, 197, 0.82);
  padding-top: 16px;
}

.fallback-cta p {
  margin: 0;
  color: var(--site-text-soft);
  text-shadow: var(--site-text-shadow);
}

.success-grid {
  align-items: stretch;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  color: var(--site-text-soft);
  text-shadow: var(--site-text-shadow);
  font-size: 0.95rem;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(15, 11, 8, 0.22);
}

.form-panel {
  padding: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--site-text-gold);
  text-shadow: var(--site-text-shadow);
  font-weight: 800;
}

input,
select,
textarea,
button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffefb;
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.hidden {
  display: none;
}

.site-footer {
  margin-top: 56px;
  border-top: 1px solid rgba(222, 213, 197, 0.82);
  padding: 28px 0 42px;
  color: var(--site-text-soft);
  text-shadow: var(--site-text-shadow);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  gap: 16px;
}

.footer-inner a {
  color: #f3c86f;
}

@media (max-width: 980px) {
  .pricing-top-grid,
  .pricing-grid,
  .workflow-grid {
    grid-template-columns: 1fr 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 22px;
    padding: 46px 0 34px;
  }

  .lane-proof-media {
    min-height: 280px;
  }

  .unlock-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hero,
  .grid,
  .three-grid,
  .two-grid,
  .pricing-top-grid,
  .pricing-grid,
  .workflow-grid,
  .download-box,
  .form-grid,
  .gallery-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section-header,
  .gallery-toolbar,
  .lane-proof-controls {
    display: grid;
  }

  .value-header {
    grid-template-columns: 1fr;
  }

  .value-sandcastle-row {
    grid-template-columns: 1fr;
  }

  .value-sandcastle-thumb {
    width: min(220px, 100%);
    max-width: min(220px, 100%);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-wordmark {
    font-size: 0.92rem;
  }

  .brand-tagline {
    font-size: 0.68rem;
  }

  .hero {
    min-height: auto;
    padding: 38px 0 24px;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    max-width: 11.5ch;
    font-size: clamp(2.2rem, 8.2vw, 3.45rem);
    line-height: 0.98;
  }

  .hero-diptych {
    gap: 12px;
    padding: 8px 8px 0;
  }

  .hero-diptych-arrows {
    padding: 0 6px;
  }

  .hero-arrow {
    max-width: 118px;
  }

  .hero-brand-badge {
    top: 10px;
    right: 10px;
    width: 54px;
    height: 54px;
  }

  .hero-brand-badge img {
    width: 40px;
    height: 40px;
  }

  .lane-proof-shell {
    padding: 18px;
  }

  .lane-proof-media {
    min-height: 220px;
  }

  .lane-proof-nav {
    width: 100%;
  }

  .value-carousel-controls {
    grid-template-columns: 1fr;
  }

  .value-carousel-nav:last-child {
    justify-self: stretch;
  }

  .faq-grid .panel:last-child {
    grid-column: span 1;
  }

  .fallback-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-lightbox {
    padding: 16px;
  }

  .image-lightbox-dialog {
    padding: 14px;
    max-height: calc(100vh - 32px);
  }

  .image-lightbox-image {
    max-height: calc(100vh - 260px);
  }
}

@media (max-width: 640px) {
  .philosophy-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .philosophy-copy {
    max-width: none;
  }

  .philosophy-body {
    max-width: none;
  }

  .philosophy-media {
    justify-items: start;
  }

  .philosophy-media img {
    max-width: 320px;
  }

  .philosophy-helper-row {
    grid-template-columns: 1fr;
  }

  .philosophy-helper {
    max-width: 32ch;
  }

  .philosophy-gold-guide {
    max-width: 196px;
  }
}
