:root {
  --black: #1c1c1e; --natural: #efede6; --navy: #28324a; --bottle: #2f5a45; --sand: #c8b190; --brick: #8f3a2e;
  --paper: #fbfbf9; --ink-dark: #111112;
  --accent: #e8d35c; --accent-ink: #1b1a14;
  --display: "Red Hat Display", system-ui, sans-serif;
  --text: "Red Hat Text", system-ui, sans-serif;
  --s-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --s-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --s-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --s-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --margin: clamp(20px, 3vw, 40px);
  --radius: 4px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; background: var(--black); color: var(--paper); font: 400 var(--s-body)/1.5 var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { padding: 0 var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
h1, h2 { font-family: var(--display); font-weight: 900; letter-spacing: -0.03em; line-height: 0.92; text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; border-radius: var(--radius); border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: #f3df6e; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* hero */
.hero { position: relative; min-height: 100svh; background: var(--black); overflow: hidden; display: flex; flex-direction: column; align-items: center; }
.bar { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 22px; }
.word { display: flex; gap: 9px; align-items: center; font-weight: 700; text-decoration: none; font-size: 18px; }
.barlink { justify-self: end; font-size: 15px; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .15s; }
.barlink:hover { border-color: var(--accent); }
.hero h1 { font-size: clamp(76px, 12vw, 190px); margin-top: clamp(28px, 6vh, 70px); text-align: center; }
.sub { max-width: 46ch; text-align: center; font-size: var(--s-lead); line-height: 1.35; margin-top: 22px; padding: 0 var(--margin); }

.folders { position: relative; width: 100%; flex: 1; min-height: 520px; margin-top: 40px; }
.folder { position: absolute; left: 7%; right: 7%; top: calc(var(--i) * 46px + 40px); bottom: -40px; display: block; text-decoration: none; }
.folder .tab { position: absolute; left: var(--tab); top: -38px; height: 39px; padding: 9px 30px 0; font-size: 17px; font-weight: 500; white-space: nowrap; background: inherit; color: inherit; clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 100%, 0 100%); transition: transform .18s ease; }
a.folder:hover .tab { transform: translateY(-5px); }
.f1 { --i: 0; background: var(--natural); color: var(--ink-dark); }
.f2 { --i: 1; background: var(--navy); }
.f3 { --i: 2; background: var(--sand); color: var(--ink-dark); }
.f4 { --i: 3; background: var(--brick); }
.f5 { --i: 4; background: var(--bottle); }
.front-in { padding: 32px; }
.try { display: grid; gap: 20px; max-width: 340px; }
.try .btn { justify-self: start; }
.field { display: grid; gap: 6px; font-size: var(--s-small); font-weight: 500; }
.field input { font-size: var(--s-body); background: rgba(0,0,0,.22); border: 0; border-bottom: 2px solid rgba(255,255,255,.5); padding: 10px 12px; border-radius: var(--radius) var(--radius) 0 0; }
.field input:focus { outline: none; border-color: var(--accent); }
.dyes { display: flex; gap: 10px; }
.dyes button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); cursor: pointer; transition: transform .15s; }
.dyes button:hover { transform: scale(1.1); }
.dyes button[aria-pressed="true"] { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 3px; }
.hero-stage { position: absolute; right: 2%; top: 30px; width: min(52vw, 720px); bottom: 0; cursor: grab; }
.hero-stage canvas { display: block; }

/* outputs */
.outputs { background: var(--natural); color: var(--ink-dark); padding: 120px 0; }
.names { grid-column: 1 / 6; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 40px; }
.names button { background: none; border: 0; cursor: pointer; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(36px, 4vw, 64px); line-height: 1.1; color: rgba(17,17,18,.32); text-align: left; transition: color .2s; }
.names button:hover, .names button[aria-selected="true"] { color: var(--ink-dark); }
.outnote { margin-top: 28px; max-width: 34ch; font-size: var(--s-body); }
.stage { grid-column: 7 / 13; position: relative; height: 88svh; min-height: 560px; background: #e2dfd5; overflow: hidden; }
.out { position: absolute; left: 64px; top: 72px; width: 560px; max-width: calc(100% - 64px); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.out.on { opacity: 1; visibility: visible; }
.out img { width: 100%; height: auto; background: var(--paper); }
.paper { background: var(--paper); padding: 28px 32px 40px; width: 440px; font-size: 16px; }
.ptitle { font-weight: 700; margin-bottom: 16px; }
.paper table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.paper th, .paper td { text-align: left; padding: 9px 0; border-bottom: 1px solid #e3e1da; }
.paper th:not(:first-child), .paper td:not(:first-child) { text-align: right; }
.paper th { font-weight: 500; color: #55544f; }
.paper dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; font-variant-numeric: tabular-nums; }
.paper dt { color: #55544f; }
.paper dd { text-align: right; }

/* how */
.how { display: grid; grid-template-columns: repeat(4, 1fr); }
.how .field { position: relative; min-height: 84svh; padding: 40px 28px 28px; display: block; font-weight: 400; }
.how h2 { font-size: clamp(40px, 4.2vw, 72px); position: absolute; left: 28px; top: 40px; right: 28px; }
.h1f { background: var(--bottle); } .h2f { background: var(--sand); color: var(--ink-dark); } .h3f { background: var(--navy); } .h4f { background: var(--natural); color: var(--ink-dark); }
.how p { position: absolute; left: 28px; right: 28px; bottom: 28px; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; font-size: clamp(22px, 2vw, 32px); }
.card { position: absolute; top: 38%; left: 50%; width: 260px; transform: translateX(-50%); background: #18191c; color: #ecebe6; border-radius: 8px; padding: 12px; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; font: 400 14px/1.35 var(--text); transition: transform .15s ease; }
.how .field:hover .card { transform: translate(-50%, -6px); }
.card .thumb { grid-row: span 2; width: 44px; height: 44px; border-radius: 5px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='7' fill='%23e8d35c'/%3E%3Cpath d='M11.5 7.5h3c.4 1.4 1.4 2.2 1.5 2.2s1.1-.8 1.5-2.2h3l5 3.6-2.4 3.6-2.6-1.4v11.2h-9V13.3l-2.6 1.4-2.4-3.6z' fill='%231b1a14'/%3E%3C/svg%3E") center/70% no-repeat; }
.card .thumb.blank { opacity: .55; }
.card b { font-weight: 500; }
.card small { color: #a5a49e; font-size: 13px; }

/* close-ups */
.closeups { background: var(--black); padding: 10px; }
.board { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 104px; gap: 8px; grid-auto-flow: dense; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); padding: 20px; }
.t64 { grid-column: span 6; grid-row: span 4; } .t62 { grid-column: span 6; grid-row: span 2; }
.t34 { grid-column: span 3; grid-row: span 4; } .t32 { grid-column: span 3; grid-row: span 2; }
.c-black { background: #2a2b2e; } .c-natural { background: var(--natural); color: var(--ink-dark); } .c-sand { background: var(--sand); color: var(--ink-dark); }
.c-navy { background: var(--navy); } .c-bottle { background: var(--bottle); } .c-brick { background: var(--brick); }
.tile.head h2 { font-size: clamp(36px, 4vw, 60px); }
.tile p { position: absolute; left: 20px; right: 20px; bottom: 18px; font-size: 15px; line-height: 1.35; }
.tile p b { display: block; font-size: 18px; font-weight: 500; }
.el { position: absolute; font-family: var(--text); }
.el.seg { right: -40px; top: 30px; font-size: 44px; display: flex; gap: 6px; background: #121315; color: #a5a49e; padding: 8px; border-radius: 16px; }
.el.seg span { padding: 10px 26px; border-radius: 11px; }
.el.seg .on { background: #2a2b30; color: #ecebe6; }
.el.readout { right: -20px; top: 40px; font-size: 92px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; white-space: nowrap; }
.el.keys { right: -26px; top: -18px; display: flex; gap: 10px; }
.el.keys kbd { font: 700 48px/1 var(--text); background: #ecebe6; color: #18191c; padding: 22px 26px; border-radius: 14px; /* taste-skill-ignore: key cap inside data-ui */ box-shadow: 0 6px 0 #9a998f; }
.el.slider { left: 20px; right: -60px; top: 40px; height: 14px; background: rgba(255,255,255,.25); border-radius: 7px; }
.el.slider::before { content: ""; position: absolute; left: 0; width: 46%; top: 0; bottom: 0; background: var(--accent); border-radius: 7px; }
.el.slider i { position: absolute; left: 46%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #ecebe6; }
.el.swatches { right: -30px; top: 30px; display: flex; gap: 14px; }
.el.swatches i { width: 92px; height: 92px; border-radius: 50%; /* taste-skill-ignore: inside data-ui */ box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.el.swatches i:first-child { /* taste-skill-ignore: inside data-ui */ box-shadow: 0 0 0 5px var(--brick), 0 0 0 10px var(--accent); }
.el.units { right: -30px; top: 18px; display: flex; gap: 4px; background: #18191c; color: #6e6d69; font-size: 36px; font-weight: 500; padding: 6px; border-radius: 14px; }
.el.units span { padding: 8px 22px; border-radius: 10px; }
.el.units .on { background: #e8d35c; color: #1b1a14; }
.el.dpi, .el.glb { right: -44px; top: 6px; font-size: 76px; font-weight: 700; letter-spacing: -0.04em; white-space: nowrap; }

/* price */
.price { background: var(--navy); padding: 160px var(--margin); display: grid; place-items: center; }
.ticket { position: relative; width: min(64vw, 1000px); aspect-ratio: 2.3 / 1; background: var(--natural); color: var(--ink-dark); display: grid; grid-template-columns: 7fr 3fr; border-radius: var(--radius); }
.ticket .main { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.ticket h2 { font-size: clamp(32px, 4vw, 64px); }
.ticket ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: 17px; }
.stub { display: flex; flex-direction: column; justify-content: center; align-items: stretch; padding: 32px 28px; text-align: center; border-left: 6px dotted var(--navy); }
.amount { font-family: var(--display); font-weight: 900; font-size: clamp(56px, 6vw, 104px); line-height: 1; letter-spacing: -0.03em; }
.per { margin: 8px 0 22px; }
.bar-btn { display: flex; align-items: center; justify-content: center; height: 56px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; border-radius: var(--radius); transition: background .15s, transform .15s; }
.bar-btn:hover { background: #f3df6e; transform: translateY(-2px); }
.notch { position: absolute; left: 70%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: var(--navy); }
.notch.top { top: -14px; } .notch.bottom { bottom: -14px; }

/* faq */
.qhead { background: var(--accent); color: var(--accent-ink); min-height: 40svh; display: flex; align-items: flex-end; padding: 0 var(--margin) 40px; }
.qhead h2 { font-size: clamp(56px, 7vw, 120px); }
.q { background: var(--black); padding: 56px 0; }
.q.alt { background: #2a2b2e; }
.q h3 { grid-column: 1 / 6; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; font-weight: 700; }
.q p { grid-column: 7 / 13; max-width: 60ch; }

/* cta */
.cta { background: var(--paper); color: var(--ink-dark); min-height: 90svh; display: flex; flex-direction: column; justify-content: space-between; padding: 120px 0 40px; }
.cta h2 { font-size: clamp(56px, 9vw, 150px); max-width: 12ch; }
.ctarow { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 80px; }
.ctarow p { font-size: var(--s-lead); max-width: 30ch; line-height: 1.35; }

/* footer */
.foot { background: var(--bottle); padding: 64px 0 32px; }
.foot { overflow: hidden; }
.bigname { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.8; font-size: 18.2vw; white-space: nowrap; }
.frow { margin-top: 72px; }
.places { grid-column: 1 / 6; list-style: none; }
.places a { font-size: clamp(26px, 2.6vw, 36px); color: var(--accent); text-decoration: none; font-weight: 500; }
.places a:hover { text-decoration: underline; }
.links { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, 1fr); }
.links ul { list-style: none; display: grid; gap: 8px; align-content: start; font-size: 15px; }
.links a { text-decoration: none; }
.links a:hover { text-decoration: underline; }
.legal { display: flex; justify-content: space-between; margin-top: 96px; font-size: var(--s-small); }

/* entrances */
.rise { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.rise.in { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .bar { grid-template-columns: auto 1fr; }
  .bar > span { display: none; }
  .hero h1 { font-size: 17vw; margin-top: 64px; }
  .sub { font-size: 18px; }
  .folders { min-height: 880px; }
  .folder { left: 0; right: 0; top: calc(var(--i) * 40px + 32px); }
  .folder .tab { height: 32px; top: -31px; font-size: 15px; padding: 7px 20px 0; }
  .f1 .tab { left: 2%; } .f2 .tab { left: 32%; } .f3 .tab { left: 62%; } .f4 .tab { left: 12%; } .f5 .tab { left: 52%; }
  .front-in { padding: 24px 20px; }
  .try { max-width: none; }
  .try .btn { justify-self: stretch; }
  .hero-stage { left: 0; right: 0; top: auto; width: auto; height: 360px; bottom: 0; }
  .grid { grid-template-columns: 1fr; }
  .outputs { padding: 64px 0; }
  .names, .stage { grid-column: 1; }
  .names { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding: 0 0 12px; }
  .names button { font-size: 22px; white-space: nowrap; scroll-snap-align: start; }
  .outnote { display: none; }
  .stage { height: 70svh; min-height: 0; margin-top: 16px; }
  .out { left: 16px; top: 16px; max-width: none; width: 480px; }
  .paper { width: 340px; }
  .how { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
  .how .field { min-height: 64svh; }
  .how h2 { font-size: 24px; position: static; margin-bottom: 8px; }
  .how p { position: static; font-size: 24px; }
  .card { position: relative; left: 0; top: 0; transform: none; margin-top: 32px; }
  .how .field:hover .card { transform: translateY(-6px); }
  .board { grid-template-columns: 1fr 1fr; grid-auto-rows: 28vw; gap: 6px; }
  .t64, .t62, .tile.head { grid-column: span 2; grid-row: span 3; } .t34, .t32 { grid-column: span 1; grid-row: span 2; }
  .tile.head { grid-row: span 2; } .tile.head h2 { font-size: 9vw; }
  .tile p { font-size: 14px; } .tile p b { font-size: 16px; }
  .price { padding: 80px 20px; }
  .ticket { width: 100%; aspect-ratio: auto; grid-template-columns: 1fr; }
  .ticket .main { padding: 28px 24px; gap: 24px; }
  .ticket h2 { font-size: 9vw; }
  .ticket ul { grid-template-columns: 1fr; }
  .stub { border-left: 0; border-top: 6px dotted var(--navy); }
  .amount { font-size: 16vw; }
  .stub { padding: 32px 24px 28px; order: -1; border-top: 0; border-bottom: 6px dotted var(--navy); }
  .el.dpi, .el.glb { font-size: 44px; right: -20px; }
  .el.glb { right: -36px; }
  .notch { left: auto; top: auto; } .notch.top { left: -14px; top: auto; bottom: calc(var(--stubh, 230px) - 14px); } .notch.bottom { right: -14px; left: auto; bottom: calc(var(--stubh, 230px) - 14px); margin: 0; }
  .qhead { min-height: 30svh; } .qhead h2 { font-size: 13vw; }
  .q { padding: 32px 0; } .q h3, .q p { grid-column: 1; } .q h3 { font-size: 22px; margin-bottom: 12px; } .q p { font-size: 17px; }
  .cta { min-height: 80svh; padding-top: 72px; } .cta h2 { font-size: 13vw; }
  .ctarow { flex-direction: column; align-items: stretch; } .ctarow p { font-size: 17px; }
  .places, .links { grid-column: 1; } .links { grid-template-columns: 1fr 1fr; margin-top: 32px; }
  .places a { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .rise { transition: none !important; }
  .rise { opacity: 1; transform: none; }
}
