.section-index { display: none !important; }

.demo-wrap::after { display: none; }

.wordmark strong:first-of-type { color: var(--forest); }
.wordmark strong:nth-of-type(2) { color: #347a80; }
.ai-letter-blue { color: #347a80; }
.brand-initial-blue { color: #347a80; }
.brand-initial-maroon { color: var(--forest); }

@media (min-width: 701px) {
  footer > span:first-of-type {
    max-width: none;
    white-space: nowrap;
  }
}

.scenic-hero {
  min-height: clamp(620px, 82svh, 790px);
}

/* Keep the navigation on the content grid, but let the hero artwork run edge to edge. */
.scenic-hero.wrap {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

.intro {
  display: block;
  padding-top: 64px;
  padding-bottom: 64px;
}

.intro-content {
  grid-template-columns: .82fr 1.18fr;
  max-width: 930px;
  margin: 0 auto;
}

.systems { padding: 62px 0 72px; }

.section-head {
  justify-content: flex-start;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 3.8rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.capability { min-height: 0; }

.operation {
  padding-top: 70px;
  padding-bottom: 74px;
}

.operation-main {
  grid-template-columns: .82fr 1.18fr;
  gap: 26px 70px;
}

.operation-main h2 {
  grid-row: auto;
  font-size: clamp(2.4rem, 4.3vw, 4.25rem);
}

.operation-main > p {
  align-self: end;
  max-width: 560px;
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.8;
}

.process-visual {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  aspect-ratio: 5 / 2;
  margin: 20px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f7f2ee;
}

.process-stage {
  position: relative;
  min-width: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-right: 1px solid rgba(128, 0, 32, .12);
  background: #f7f2ee;
  color: var(--ink);
  cursor: pointer;
  perspective: 900px;
  contain: paint;
}

.process-stage:last-child { border-right: 0; }

.stage-scene {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background-image: url("assets/operating-arches-calibrated.png");
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 500% 100%;
}

.process-stage:nth-child(2) .stage-scene { background-position: 25% 0; }
.process-stage:nth-child(3) .stage-scene { background-position: 50% 0; }
.process-stage:nth-child(4) .stage-scene { background-position: 75% 0; }
.process-stage:nth-child(5) .stage-scene { background-position: 100% 0; }

.stage-door {
  position: absolute;
  z-index: 2;
  top: 19%;
  left: 19.25%;
  display: flex;
  width: 68%;
  height: 55%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  border: 0;
  border-radius: 999px 999px 2px 2px / 34% 34% 2px 2px;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(128, 0, 32, .13);
  color: var(--forest);
}

.stage-door::before,
.stage-door::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background:
    linear-gradient(90deg, rgba(255,255,255,.32), transparent 28%),
    linear-gradient(145deg, #f3e8d9, #d9c1a6);
  transition: transform .76s cubic-bezier(.2,.78,.2,1), box-shadow .76s ease;
  backface-visibility: hidden;
  will-change: transform;
}

.stage-door::before {
  left: 0;
  border-right: 1px solid rgba(128, 0, 32, .22);
  box-shadow: inset -8px 0 18px rgba(79, 35, 32, .08);
}

.stage-door::after {
  right: 0;
  border-left: 1px solid rgba(128, 0, 32, .22);
  box-shadow: inset 8px 0 18px rgba(79, 35, 32, .08);
}

.stage-door > * {
  position: relative;
  z-index: 2;
  transition: opacity .28s ease, transform .4s ease;
}

.stage-number {
  font: 500 .64rem/1 var(--mono);
  letter-spacing: .12em;
  opacity: .6;
}

.stage-door strong {
  font: 500 clamp(.92rem, 1.35vw, 1.35rem)/1.1 var(--serif);
}

.stage-door small {
  margin-top: 10px;
  font: 500 .55rem/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .62;
}

.stage-door small::before,
.stage-door small::after {
  content: "";
  position: absolute;
  top: -27px;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(128,0,32,.45);
  border-radius: 50%;
  background: #c89c4d;
  box-shadow: 0 0 0 3px rgba(255,255,255,.3);
}

.stage-door small::before { left: calc(50% - 13px); }
.stage-door small::after { right: calc(50% - 13px); }

.stage-label {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 4.2%;
  left: 0;
  font: 700 clamp(.61rem, .72vw, .78rem)/1.2 var(--sans);
  text-align: center;
  pointer-events: none;
}

.stage-label::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin: 0 auto 7px;
  border: 2px solid var(--forest);
  border-radius: 50%;
  background: rgba(255, 251, 246, .94);
}

.process-stage:focus-visible .stage-door::before,
.process-stage.is-open .stage-door::before {
  transform: translate3d(-102%, 0, 0);
  box-shadow: 12px 0 24px rgba(61, 13, 30, .12);
}

.process-stage:focus-visible .stage-door::after,
.process-stage.is-open .stage-door::after {
  transform: translate3d(102%, 0, 0);
  box-shadow: -12px 0 24px rgba(61, 13, 30, .12);
}

.process-stage:focus-visible .stage-door > *,
.process-stage.is-open .stage-door > * {
  opacity: 0;
  transform: translateY(-7px);
}

.process-stage:focus-visible {
  z-index: 4;
  outline: 3px solid #b85c77;
  outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
  .stage-door::before,
  .stage-door::after,
  .stage-door > * { transition-duration: .01ms; }
}

.privacy { padding: 0; }

.privacy-wrap {
  display: block;
  padding-top: 72px;
  padding-bottom: 76px;
}

.privacy-content {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  max-width: none;
  align-items: end;
}

.privacy-content h2 { margin-bottom: 0; }
.privacy-content p { margin-bottom: 3px; }

.proof-grid {
  grid-column: auto;
  margin-top: 34px;
  padding: 0;
  gap: 12px;
  border: 0;
}

.proof-grid > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.proof-grid > div:first-child { padding-left: 20px; }
.proof-grid > div:last-child { padding-right: 20px; border-right: 1px solid rgba(255,255,255,.16); }
.proof-grid > div:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.085);
}

.proof-grid svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  fill: none;
  stroke: #efb5c5;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proof-grid h3 { margin: 0; }

.privacy-cases {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 36px;
  margin-top: 42px;
  padding-top: 0;
  border-top: 0;
}

.case-heading {
  display: block;
  margin: 0;
}

.case-heading h3 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.case-heading p { margin: 0 0 4px; color: #d9cbd0; }

.privacy .evidence-grid {
  grid-column: auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.privacy .evidence-grid article {
  padding: 0 24px;
  border-left: 1px solid rgba(255,255,255,.17);
  background: transparent;
}
.privacy .evidence-grid article:first-child { padding-left: 0; border-left: 0; }
.privacy .evidence-grid article:last-child { padding-right: 0; }
.privacy .evidence-grid article > span { display: none; }
.privacy .evidence-grid h3 { margin-bottom: 10px; font-size: 1.22rem; }
.privacy .evidence-grid p { margin-bottom: 12px; font-size: .8rem; line-height: 1.55; }
.privacy .evidence-grid a { font-size: .7rem; }

.people {
  padding-top: 70px;
  padding-bottom: 74px;
}

.affiliation { min-height: 138px; }

.demo { padding: 66px 0 70px; }
.demo-wrap { padding-top: 0; padding-bottom: 0; }

.demo h2 { margin-top: 0; }

@media (max-width: 900px) {
  .operation-main,
  .privacy-content,
  .case-heading { grid-template-columns: 1fr; gap: 24px; }
  .privacy-cases { grid-template-columns: 1fr; }
  .privacy .evidence-grid { grid-template-columns: 1fr; }
  .privacy .evidence-grid article,
  .privacy .evidence-grid article:first-child,
  .privacy .evidence-grid article:last-child { display: block; padding: 20px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .privacy .evidence-grid article:last-child { border-bottom: 0; }
  .privacy .evidence-grid h3, .privacy .evidence-grid p { margin-bottom: 8px; }
}

@media (max-width: 760px) {
  .scenic-hero { min-height: 680px; }
  .intro-content { grid-template-columns: 1fr; }
  .operation { padding: 58px 0; }
  .process-visual {
    grid-template-columns: repeat(5, 150px);
    width: 100%;
    height: 300px;
    aspect-ratio: auto;
    margin-top: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
  .stage-door strong { font-size: 1rem; }
  .privacy-wrap { padding-top: 58px; padding-bottom: 62px; }
  .privacy-cases { margin-top: 34px; padding-top: 0; }
  .people, .demo { padding-top: 56px; padding-bottom: 58px; }
  .demo-wrap { padding-top: 0; padding-bottom: 0; }
}

@media (max-width: 560px) {
  .proof-grid > div { grid-template-columns: 38px 1fr; }
  .proof-grid > div,
  .proof-grid > div:first-child,
  .proof-grid > div:last-child { padding: 17px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .proof-grid > div:last-child { border-bottom: 0; }
  .privacy .evidence-grid article { display: block; }
  .privacy .evidence-grid article,
  .privacy .evidence-grid article:first-child,
  .privacy .evidence-grid article:last-child { padding: 20px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .privacy .evidence-grid article:last-child { border-bottom: 0; }
  .privacy .evidence-grid article > span { margin-bottom: 16px; }
}
