@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #352337;
  --muted: #655464;
  --deep: #342134;
  --berry: #843f62;
  --rose: #f1dbd6;
  --paper: #faf3ee;
  --ivory: #fff9f5;
  --line: #dec9ca;
  --heading: "Instrument Serif", Georgia, serif;
  --body: Manrope, Arial, sans-serif;
  --gutter: clamp(18px, 5.1vw, 75px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 125px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 1rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 400; line-height: 1; }
em { color: var(--berry); font-weight: 400; }
button, input, select { color: inherit; font: inherit; }
:focus-visible { outline: 2px solid #a7537d; outline-offset: 4px; }

.wrap { width: min(1300px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sr-only, .icon-library {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 10;
  top: 11px;
  left: 11px;
  padding: 10px 14px;
  border-radius: 4px;
  color: var(--deep);
  background: var(--rose);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.icon {
  width: 19px;
  height: 19px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: .85rem;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  transition: background 170ms ease, color 170ms ease, border-color 170ms ease;
}
.button .icon { width: 17px; height: 17px; }
.primary { background: #66334f; color: #fff8f2; }
.primary:hover { background: #4c263e; }
.outline { border-color: #bd9fae; color: #61334f; }
.outline:hover { background: #f1e2e3; border-color: #a0778e; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  width: fit-content;
  font-size: .85rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #b18b9e;
  text-underline-offset: 5px;
}
.text-link:hover { color: var(--berry); text-decoration-color: currentColor; }
.text-link .icon { width: 16px; height: 16px; }

.masthead { position: sticky; z-index: 8; top: 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.demo-bar { color: #fff4ec; background: var(--deep); }
.demo-inner {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 7px 14px;
  font-size: .74rem;
  font-weight: 800;
}
.demo-inner > * { display: flex; align-items: center; gap: 6px; }
.demo-inner > span { letter-spacing: .1em; text-transform: uppercase; }
.demo-inner a { min-height: 40px; color: #f7dbd5; }
.demo-inner a:hover { text-decoration: underline; text-underline-offset: 4px; }
.demo-inner a:focus-visible { outline-color: #f9c6d9; outline-offset: 0; }
.demo-inner .icon { width: 15px; height: 15px; }
.nav-row {
  display: grid;
  min-height: 73px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 19px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; }
.brand img { width: 44px; height: 44px; flex: none; }
.brand > span { font: 400 1.78rem/.84 var(--heading); }
.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font: 800 .55rem/1.2 var(--body);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: clamp(18px, 3.1vw, 44px); }
.nav a { display: flex; min-height: 44px; align-items: center; color: var(--muted); font-size: .84rem; font-weight: 800; }
.nav a:hover { color: var(--berry); }
.nav-cta { justify-self: end; min-height: 44px; }
.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(25px, 5vw, 76px);
  padding-block: clamp(29px, 4.1vw, 57px) 31px;
}
.hero-copy { padding-block: 12px 29px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--berry);
  font-size: .71rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow .icon { width: 14px; height: 14px; }
h1 {
  margin-block: 18px 22px;
  font-size: clamp(4.3rem, 8.3vw, 8.1rem);
  line-height: .85;
  letter-spacing: -.034em;
}
h1 em, .sim-copy h2 em, .activation h2 em { display: block; }
.intro { max-width: 41ch; color: var(--muted); font-size: clamp(.96rem, 1.31vw, 1.12rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 20px; margin-top: 23px; }
.hero-note { margin-top: 12px; color: var(--muted); font-size: .74rem; font-weight: 700; }
.hero-art { position: relative; z-index: 0; min-width: 0; margin-right: 12px; }
.hero-art::before {
  position: absolute;
  z-index: -1;
  inset: 13px -12px 26px 13px;
  border: 1px solid #bc98ab;
  border-radius: 3px 3px 41px 3px;
  content: "";
}
.hero-frame {
  position: relative;
  height: clamp(392px, 40vw, 552px);
  overflow: hidden;
  border-radius: 3px 3px 41px 3px;
  background: #eacfc7;
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 49%;
  animation: settle 900ms ease-out both;
}
@keyframes settle {
  from { transform: scale(1.045); }
  to { transform: scale(1); }
}
.moon-tag {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #b58296;
  border-radius: 50%;
  background: #fff3ea;
  color: var(--berry);
}
.hero-art figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.strip { border-block: 1px solid #e4c8cc; background: #f1dfe0; }
.strip-inner {
  display: grid;
  min-height: 55px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px 12px;
  color: #65374f;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.strip-inner > * { display: flex; align-items: center; gap: 7px; }
.strip-inner a { justify-self: end; min-height: 44px; }
.strip-inner a:hover { text-decoration: underline; text-underline-offset: 4px; }
.strip-inner .icon { width: 15px; height: 15px; }

h2 { margin-top: 10px; font-size: clamp(3.5rem, 6.6vw, 6.7rem); line-height: .9; letter-spacing: -.025em; }
.section-no { min-width: 28px; padding: 2px 0 4px; border-bottom: 1px solid currentColor; font-variant-numeric: tabular-nums; }
.showcase { padding-block: clamp(59px, 7.6vw, 110px); background: #39263a; color: #fff8f2; }
.showcase .eyebrow, .showcase em { color: #f1c1d2; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px 26px;
  margin-bottom: clamp(24px, 3.3vw, 46px);
}
.section-head > p { max-width: 35ch; color: #e8d8e2; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.1vw, 28px); }
.event {
  min-width: 0;
  border: 1px solid #7c5b73;
  border-radius: 4px;
  background: #402b41;
}
.event figure { position: relative; overflow: hidden; border-radius: 3px 3px 0 0; background: #76546d; }
.event img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.68;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(.22,.64,.22,1);
}
@media (hover: hover) {
  .event:hover img { transform: scale(1.04); }
}
.event figcaption {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 4px 8px;
  border-radius: 3px;
  background: #342134e6;
  color: #fff7ed;
  font-size: .65rem;
  font-weight: 700;
}
.event-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: clamp(13px, 1.7vw, 21px);
}
.event-no { margin-bottom: 3px; color: #f1c1d2; font-size: .68rem; font-weight: 800; }
.event h3 { font-size: clamp(2.04rem, 4vw, 3.8rem); line-height: .92; }
.round-link {
  display: grid;
  width: 47px;
  height: 47px;
  flex: none;
  place-items: center;
  border: 1px solid #bd94ad;
  border-radius: 50%;
  color: #fbe8ee;
  transition: background 170ms ease, color 170ms ease;
}
.round-link:hover { background: #f2d1de; color: var(--deep); }
.round-link:focus-visible { outline-color: #ffd9ea; }
.round-link .icon { width: 18px; height: 18px; }

.simulation, .activation-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(27px, 6vw, 93px);
}
.simulation { padding-block: clamp(60px, 7.5vw, 111px); }
.sim-copy > p:not(.eyebrow) { max-width: 40ch; margin-block: 16px 8px; color: var(--muted); }
.panel {
  min-width: 0;
  padding: clamp(18px, 3.1vw, 42px);
  border: 1px solid #dcc5cc;
  border-radius: 7px;
  background: var(--ivory);
  box-shadow: 0 19px 42px #5a344115;
}
.panel-label {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-bottom: 15px;
  padding: 5px 9px;
  border-radius: 4px;
  background: #f1dfe7;
  color: #663750;
  font-size: .73rem;
  font-weight: 800;
}
.panel-label .icon { width: 14px; height: 14px; }
.panel label { display: block; margin-bottom: 4px; font-size: .81rem; font-weight: 800; }
.panel label span { color: var(--muted); font-weight: 600; }
.panel select, .panel input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 47px;
  padding: 7px 8px;
  border: 1px solid #bda4b0;
  border-radius: 4px;
  background: #fffdfa;
}
.panel input::placeholder { color: #756473; opacity: 1; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 11px; margin-block: 11px; }
.panel button { justify-content: space-between; width: 100%; margin-top: 15px; }
.preview {
  margin-top: 14px;
  padding: 10px 11px;
  border-left: 3px solid #aa738e;
  border-radius: 0 4px 4px 0;
  background: #f4e5e9;
}
.preview > span { display: block; font-size: .72rem; font-weight: 800; }
.preview output { display: block; margin-top: 4px; color: #5c4556; font-size: .85rem; white-space: pre-wrap; overflow-wrap: anywhere; }

.activation { padding-block: clamp(48px, 6.4vw, 85px); border-block: 1px solid #e7c9c8; background: #f2dcd5; }
.activation h2 { font-size: clamp(3.25rem, 5.8vw, 5.6rem); }
.activation-inner p:not(.eyebrow) { max-width: 48ch; }
.reply {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid #bd8ba2;
  border-radius: 5px;
  background: #fff0e9;
  color: #773e58;
  font-size: .85rem;
  font-weight: 800;
}
.footer { background: var(--ivory); }
.footer-inner {
  display: grid;
  min-height: 105px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px 23px;
  padding-block: 13px;
}
.footer p { color: var(--muted); font-size: .75rem; }

.will-reveal { opacity: 0; transform: translateY(14px); }
.will-reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 380ms ease, transform 490ms cubic-bezier(.23,.61,.3,1);
}

@media (max-width: 970px) {
  .simulation, .activation-inner { gap: 28px; }
  h1 { font-size: clamp(3.8rem, 8.2vw, 6rem); }
}
@media (max-width: 780px) {
  html { scroll-padding-top: 114px; }
  .nav-row {
    position: relative;
    display: flex;
    min-height: 62px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 10px;
  }
  .brand img { width: 39px; height: 39px; }
  .brand > span { font-size: 1.59rem; }
  .nav-cta { display: none; }
  .nav { flex-wrap: wrap; width: 100%; order: 3; }
  .menu-toggle {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border: 1px solid #c8a9b9;
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
  }
  .menu-close, .menu-toggle[aria-expanded="true"] .menu-open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-close { display: block; }
  .masthead.enhanced .nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    width: min(100%, 275px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5px 12px;
    border: 1px solid var(--line);
    border-radius: 0 0 6px 6px;
    background: var(--ivory);
    box-shadow: 0 15px 26px #34213427;
  }
  .masthead.enhanced .nav:not(.open) { display: none; }
  .masthead.enhanced .nav a + a { border-top: 1px solid var(--line); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 23px; padding-block: 31px 23px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(3.5rem, 12.3vw, 6.1rem); margin-block: 13px 15px; }
  .hero-actions { margin-top: 18px; gap: 5px 14px; }
  .hero-note { margin-top: 10px; }
  .hero-art { margin-right: 8px; }
  .hero-art::before { right: -8px; }
  .hero-frame { height: clamp(290px, 89vw, 515px); }
  .strip-inner { grid-template-columns: 1fr auto; }
  .strip-center { display: none; }
  .section-head { display: grid; }
  .simulation, .activation-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer p { grid-row: 2; grid-column: 1 / -1; }
}
@media (max-width: 530px) {
  .gallery { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .demo-inner { font-size: .64rem; }
  .demo-inner > * { gap: 4px; }
  .demo-inner > span { letter-spacing: .06em; }
  .demo-inner .icon, .strip-inner .icon { width: 13px; height: 13px; }
  .strip-inner { font-size: .62rem; letter-spacing: .02em; }
  .strip-inner > * { gap: 4px; }
}
@media (max-width: 350px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer p { grid-row: auto; }
  .field-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .will-reveal { opacity: 1; transform: none; }
}
