@font-face {
  font-family: Montserrat;
  src: url("../fonts/Montserrat-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #181a1a;
  --muted: #555856;
  --scene: #e3dfdc;
  --yellow: #ffcd6d;
  --gutter: clamp(20px, 5vw, 80px);
  --nav-height: 76px;
  --scene-height: max(560px, 100svh);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: Montserrat, Arial, sans-serif;
  color: var(--ink);
  background: white;
  scroll-behavior: auto;
  scroll-padding-top: 120px;
  scrollbar-gutter: stable;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  width: 100%;
  min-height: 100%;
}
body {
  font-size: 16px;
  line-height: 1.6;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
h1,
h2,
p {
  overflow-wrap: break-word;
}
img,
svg,
video {
  max-width: 100%;
}
:focus-visible {
  outline: 3px solid #816013;
  outline-offset: 5px;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: 12px;
  z-index: 100;
  padding: 12px 20px;
  background: white;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
.nav {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: min(740px, calc(100% - 40px));
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  border: 1px solid #ffffff70;
  border-radius: 18px;
  background: #ffffffbd;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  width: 58px;
  height: 30px;
  object-fit: contain;
}
.center-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 26px);
}
.center-nav a {
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding-block: 10px;
}
.center-nav a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  height: 1px;
  left: 0;
  right: 0;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.center-nav a:hover::after,
.center-nav a:focus-visible::after {
  transform: scaleX(1);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 11px;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s,
    color 0.25s;
}
.demo-button {
  background: var(--yellow);
  white-space: nowrap;
}
.button:hover {
  transform: translateY(-2px);
}
.demo-button:hover {
  background: #ffc14a;
}
.button:active {
  transform: translateY(0);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  flex-shrink: 0;
  border-radius: 9px;
}
.menu-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.menu-toggle path {
  transform-origin: center;
  transition: transform 0.28s var(--ease);
}
.menu-active .menu-toggle path:first-child {
  transform: translateY(4px) rotate(45deg);
}
.menu-active .menu-toggle path:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
#main {
  width: 100%;
}
.scroll-story {
  position: relative;
  isolation: isolate;
  background: var(--scene);
}
.canvas-stage {
  position: absolute;
  inset: 0 0 auto;
  height: var(--scene-height);
  width: 100%;
  max-width: 100%;
  z-index: -1;
  background: var(--scene);
  overflow: clip;
}
.canvas-stage canvas,
.sequence-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.sequence-poster {
  object-fit: cover;
}
.canvas-stage canvas {
  opacity: 0;
}
.canvas-stage.is-ready canvas {
  opacity: 1;
}
.story-panel,
.page-2,
.page-4 {
  position: relative;
  height: var(--scene-height);
}
.story-panel {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(150px, 22svh, 240px) var(--gutter) 30px;
}
.story-copy {
  width: 100%;
  max-width: 1000px;
  text-align: center;
}
.story-copy h1 {
  font-size: clamp(46px, 6.2vw, 94px);
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: -0.05em;
  max-width: 800px;
  margin: 0 auto;
  text-wrap: balance;
}
.story-copy h2 {
  font-size: clamp(42px, 5.3vw, 78px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.story-copy p {
  font-size: clamp(16px, 1.45vw, 21px);
  color: var(--muted);
  line-height: 1.6;
  max-width: 720px;
  margin: 28px auto 0;
  text-wrap: pretty;
}
.page-3,
.page-5 {
  padding-top: 145px;
}
.page-5 .story-copy {
  max-width: 900px;
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
  margin-top: 26px;
  font-size: 13px;
  font-weight: 500;
}
.scroll-cue span {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.scroll-cue:hover span {
  transform: translateY(3px);
}
.page-6 {
  text-align: center;
  padding: clamp(64px, 8vw, 120px) var(--gutter) 40px;
}
.page-6 p {
  max-width: 600px;
  margin: auto;
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--muted);
  text-wrap: balance;
}
.page-7,
.page-9,
.page-10,
.page-11 {
  width: min(1280px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.page-7 {
  padding-block: 36px 40px;
}
.page-7 > h2 {
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.045em;
  margin-bottom: 40px;
}
.center-page-7,
.center-page-11 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
}
.center-page-7 {
  border-radius: 24px;
  background: #f1f0ee;
  padding: clamp(20px, 4vw, 56px);
}
.left-page-7,
.left-page-11 {
  min-width: 0;
}
.left-page-7 > svg,
.left-page-11 > svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
}
.right-page-7 {
  padding-block: 36px;
}
.right-page-7 h2,
.left-page-9 h2,
.right-page-10 h2,
.right-page-11 h2 {
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.045em;
  margin-bottom: 26px;
}
.right-page-7 p,
.left-page-9 p,
.right-page-10 p,
.right-page-11 p {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.8;
  color: var(--muted);
  max-width: 540px;
}
.product-button {
  background: var(--ink);
  color: white;
  margin-top: 30px;
  padding-inline: 24px;
}
.product-button:hover {
  background: #373b3a;
}
.page-8 {
  padding: clamp(80px, 11vw, 160px) var(--gutter) clamp(40px, 5vw, 80px);
  text-align: center;
}
.page-8 h2 {
  font-size: clamp(46px, 7vw, 96px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.055em;
}
.page-9,
.page-10 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  padding-block: 50px;
}
.left-page-9,
.right-page-10 {
  min-width: 0;
}
.video-illustration {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #f6f6f6;
}
.video-illustration video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.video-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border: 1px solid #ddd;
  background: #fffffff0;
  font-size: 11px;
  font-weight: 500;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: 9px;
  transition: background-color 0.25s;
}
.video-toggle:hover {
  background: var(--yellow);
}
.page-11 {
  padding-block: 80px 100px;
}
.right-page-11 {
  padding-right: 24px;
}
.site-footer {
  width: min(1280px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  border-top: 1px solid #ddd;
  padding: 40px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}
.footer-brand img {
  display: block;
  width: 58px;
  height: 30px;
}
.social-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.social-links a {
  font-size: 13px;
  padding-block: 10px;
}
.social-links a:hover,
.site-footer p a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer p {
  flex-basis: 100%;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
@media (min-width: 1600px) {
  .page-3,
  .page-5 {
    padding-top: 180px;
  }
}
@media (max-width: 800px) {
  :root {
    --gutter: 28px;
    --nav-height: 68px;
    scroll-padding-top: 106px;
  }
  .nav {
    width: calc(100% - 36px);
    max-width: 660px;
    padding: 10px 12px 10px 18px;
    gap: 12px;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .demo-button {
    margin-left: auto;
  }
  .center-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border: 1px solid #ffffff90;
    border-radius: 16px;
    background: #fffffffa;
    box-shadow: 0 14px 35px #00000012;
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.25s,
      transform 0.3s var(--ease),
      visibility 0.3s;
    max-height: calc(100dvh - 118px);
    overflow-y: auto;
  }
  .center-nav a {
    font-size: 17px;
    padding: 12px 14px;
    border-radius: 9px;
  }
  .center-nav a:hover {
    background: #f1f0ee;
  }
  .center-nav a::after {
    display: none;
  }
  .menu-active .center-nav {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }
  .story-copy h1 {
    max-width: 640px;
    font-size: clamp(46px, 7.8vw, 64px);
  }
  .story-copy h2 {
    font-size: clamp(40px, 6vw, 56px);
  }
  .story-copy p {
    font-size: 17px;
  }
  .center-page-7,
  .center-page-11 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .left-page-7 > svg,
  .left-page-11 > svg {
    max-width: 540px;
    margin-inline: auto;
  }
  .center-page-7 {
    padding: 28px;
  }
  .right-page-7 {
    padding-block: 0 10px;
  }
  .right-page-11 {
    padding-right: 0;
  }
  .page-9,
  .page-10 {
    gap: 35px;
    padding-block: 42px;
  }
  .page-9,
  .page-10 {
    grid-template-columns: 1fr;
  }
  .right-page-10 {
    grid-row: 1;
  }
  .video-illustration {
    width: min(100%, 620px);
    margin-inline: auto;
  }
  .page-11 {
    padding-block: 50px 80px;
  }
}
@media (max-width: 560px) {
  :root {
    --gutter: 20px;
    --nav-height: 64px;
  }
  .nav {
    top: max(12px, env(safe-area-inset-top));
    width: calc(100% - 24px);
    padding: 8px 9px 8px 14px;
    border-radius: 15px;
  }
  .brand img {
    width: 50px;
    height: 26px;
  }
  .demo-button {
    font-size: 12px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 9px;
  }
  .story-panel {
    padding-top: clamp(136px, 21svh, 180px);
  }
  .story-copy h1 {
    font-size: clamp(42px, 11.8vw, 62px);
    line-height: 1.08;
    max-width: 450px;
  }
  .story-copy h2 {
    font-size: clamp(34px, 9vw, 50px);
  }
  .story-copy p {
    max-width: 410px;
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.6;
  }
  .page-3,
  .page-5 {
    padding-top: 112px;
  }
  .scroll-cue {
    font-size: 12px;
    margin-top: 18px;
  }
  .page-6 {
    padding-top: 65px;
  }
  .page-7 {
    padding-top: 24px;
  }
  .page-7 > h2 {
    margin-bottom: 24px;
  }
  .center-page-7 {
    margin-inline: -4px;
    padding: 20px;
    border-radius: 18px;
    gap: 20px;
  }
  .right-page-7 h2,
  .left-page-9 h2,
  .right-page-10 h2,
  .right-page-11 h2 {
    font-size: 34px;
    margin-bottom: 20px;
  }
  .page-8 {
    padding-top: 78px;
    padding-bottom: 20px;
  }
  .page-8 h2 {
    font-size: 52px;
  }
  .page-9,
  .page-10 {
    padding-block: 35px;
    gap: 28px;
  }
  .page-11 {
    padding-top: 35px;
  }
  .social-links {
    gap: 18px;
  }
}
@media (max-height: 600px) and (min-width: 561px) {
  :root {
    --scene-height: max(400px, 100svh);
  }
  .nav {
    top: 10px;
  }
  .story-panel {
    padding-top: 112px;
    justify-content: flex-start;
  }
  .story-copy {
    width: 48%;
    max-width: 420px;
    text-align: left;
  }
  .story-copy h1,
  .story-copy h2,
  .story-copy p {
    margin-inline: 0;
  }
  .sequence-poster {
    width: 145%;
    max-width: none;
    left: -0.5%;
  }
  .story-copy h1 {
    font-size: clamp(38px, 5.5vw, 64px);
    max-width: 620px;
  }
  .story-copy h2 {
    font-size: clamp(32px, 4.5vw, 50px);
  }
  .story-copy p {
    margin-top: 18px;
    max-width: 640px;
    font-size: 15px;
  }
  .scroll-cue {
    margin-top: 12px;
  }
}
@media (hover: none), (pointer: coarse) {
  .button:hover,
  .scroll-cue:hover span {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .page-2,
  .page-4 {
    height: 0;
  }
  .story-panel {
    height: auto;
    min-height: min(680px, 100svh);
    padding-block: 140px 80px;
  }
  .page-3,
  .page-5 {
    min-height: 0;
    padding-block: 60px;
  }
  .canvas-stage {
    height: var(--scene-height);
  }
}
