/* ==========================================================================
   SAIZEN EVENTS · where the network meets (coming soon)
   Ivory, ink and gold, like the accelerator and the services. Crisp:
   hairlines, 2 to 4px corners, no glows or blur.
   ========================================================================== */
:root {
  --paper:   #FAF8F3;
  --paper-2: #F3EFE6;
  --paper-3: #E9E3D6;
  --card:    #FFFFFF;
  --ink:     #17130E;
  --ink-2:   #3F382F;
  --muted:   #7A7163;
  --line:    rgba(23, 19, 14, 0.10);
  --line-2:  rgba(23, 19, 14, 0.16);
  --line-3:  rgba(23, 19, 14, 0.30);
  --gold:    #B8892B;
  --gold-2:  #E2AE36;
  --gold-d:  #8E6416;
  --emerald: #0E9F6E;
  --royal:   #1E44C8;

  --f-sc:      'Playfair Display SC', 'Playfair Display', Georgia, serif;
  --f-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --f-mono:    'DM Mono', ui-monospace, 'SFMono-Regular', monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io:  cubic-bezier(0.65, 0, 0.35, 1);
  --spring:   cubic-bezier(0.34, 1.4, 0.64, 1);

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(80px, 9.5vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16.5px/1.62 var(--f-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, dl, dd, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f-sc); font-weight: 400; letter-spacing: 0.004em; line-height: 1.06; }
h3 { font-family: var(--f-display); }
em { font-style: normal; color: var(--gold); }
ol, ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--gold-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); }
.wm { font-family: var(--f-sc); letter-spacing: 0.02em; }
.wm b { font-weight: 700; color: var(--gold); }

.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .1em 0; margin: 0 -.04em -.1em 0; }
.wd > span { display: inline-block; will-change: transform; }
.js [data-fill] .fw { opacity: .18; transition: opacity .25s linear; }

.label { display: inline-flex; align-items: baseline; gap: 8px; margin-bottom: 20px; font: 400 11px/1.3 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.label b { font-weight: 500; color: var(--gold); }
.sec-h { font-size: clamp(38px, 5vw, 80px); }
.btn { display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 7px 0 20px; border: 0; border-radius: 3px; cursor: pointer; text-decoration: none; white-space: nowrap; font: 500 14.5px/1 var(--f-body); transition: background .3s, color .3s, box-shadow .3s, opacity .3s; }
.btn i { width: 38px; height: 38px; border-radius: 2px; display: grid; place-items: center; }
.btn i svg { width: 14px; height: 14px; transition: transform .5s var(--spring); }
.btn:hover i svg:has(path[d^="M3 13"]) { transform: rotate(45deg); }
.btn:hover i svg:has(path[d^="M8 3v10"]) { transform: translateY(2px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink i { background: var(--gold-2); color: var(--ink); }
.btn--ink:hover { background: #2A241C; }
.btn--line { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--line i { background: var(--paper-2); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn[disabled] { opacity: .55; cursor: progress; }
.cue { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.cue i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); animation: bob 2.4s var(--ease-io) infinite; }
.cue i svg { width: 12px; height: 12px; }
@keyframes bob { 50% { transform: translateY(5px); } }
.vbtn { width: 34px; height: 34px; border-radius: 2px; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); }
.vbtn svg { width: 11px; height: 11px; }
.vbtn .vbtn__play { display: none; }
.vbtn[aria-pressed="true"] .vbtn__play { display: block; }
.vbtn[aria-pressed="true"] .vbtn__pause { display: none; }
img[data-optional] { opacity: 0; transition: opacity 1.1s ease; }
img[data-optional].is-in { opacity: 1; }

.soon { display: inline-flex; align-items: center; gap: 9px; height: 28px; padding: 0 12px 0 10px; border-radius: 2px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 10.5px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; }
.soon i { width: 7px; height: 7px; background: var(--gold-2); transform: rotate(45deg); }

/* ==========================================================================
   00 · HERO
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.hero__cv, .hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.4s ease; }
.hero.has-video .hero__video { opacity: 1; }
.hero.has-poster .hero__cv, .hero.has-video .hero__cv { opacity: 0; transition: opacity 1s; }
.hero__veil { position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 52% at 50% 50%, rgba(250, 248, 243, .88) 0%, rgba(250, 248, 243, .58) 52%, rgba(250, 248, 243, 0) 88%),
  linear-gradient(180deg, rgba(250, 248, 243, .72) 0%, rgba(250, 248, 243, .3) 24%, rgba(250, 248, 243, 0) 36%, rgba(250, 248, 243, 0) 72%, var(--paper) 100%); }
.hero__center { position: relative; padding-top: 56px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: clamp(22px, 3.4vh, 38px); }
.hero__show { display: inline-flex; align-items: center; gap: 14px; }
.hero__show .wm { font-size: 18px; }
.hero__show .mono { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); padding-left: 14px; border-left: 1px solid var(--line-2); }
.hero__title { font-size: clamp(48px, min(9vw, 15vh), 150px); line-height: .94; letter-spacing: -.02em; }
.hero__title .hl { display: block; overflow: hidden; padding: 0 .04em .07em; }
.hero__title .hl > span { display: inline-block; }
.hero__title em { color: var(--gold-d); }
.hero__lede { max-width: 37em; margin: clamp(20px, 3vh, 32px) auto 0; font-size: clamp(16.5px, 1.3vw, 20px); color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(26px, 4vh, 40px); }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; justify-content: space-between; align-items: center; }

/* ==========================================================================
   01 · WHAT IT IS
   ========================================================================== */
.what { padding: var(--section) 0; }
.what__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 84px); }
.what__fill { font: 400 clamp(21px, 2.1vw, 30px)/1.38 var(--f-display); text-wrap: pretty; }
.what__k { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.what__k i { flex: 1; height: 1px; background: var(--line-2); }

.formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.fmt__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 20px; }
.fmt__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) 50%; transform: scale(1.06); transition: opacity 1.1s ease, transform 1.4s var(--ease-out); }
.fmt:hover .fmt__img img { transform: none; }
.js .fmt__img { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-io); transition-delay: var(--d, 0s); }
.js .fmt.is-in .fmt__img { clip-path: inset(0 0 0 0); }
.fmt__art { position: absolute; inset: 0; display: grid; place-items: center; background:
  repeating-linear-gradient(0deg, transparent 0 23px, var(--line) 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, var(--line) 23px 24px), var(--paper); }
.fmt__art svg { width: 62%; overflow: visible; }
.fmt__art svg > :not(g) { fill: var(--card); stroke: var(--ink); stroke-width: 1; }
.fmt__art svg path { fill: none; }
.fmt__art .seats circle { fill: var(--card); stroke: var(--ink); stroke-width: 1; transition: fill .4s ease; }
.fmt__art .seats circle.is-gold { fill: var(--gold-2); stroke: var(--gold); }
.fmt:hover .fmt__art .seats circle { fill: var(--ink); }
.fmt:hover .fmt__art .seats circle.is-gold { fill: var(--gold-2); }
.fmt__img.has-poster .fmt__art { opacity: 0; transition: opacity 1s; }
.fmt__k { display: flex; gap: 10px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.fmt__k b { font-weight: 500; color: var(--gold); }
.fmt__h { font-size: clamp(22px, 1.8vw, 27px); line-height: 1.15; margin-bottom: 10px; }
.fmt__p { color: var(--ink-2); font-size: 15.5px; }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-2); }
.principles li { padding: 26px 28px 0 0; display: grid; gap: 10px; align-content: start; }
.principles li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.principles b { font-size: 11px; font-weight: 500; letter-spacing: .16em; color: var(--gold); }
.principles h3 { font-size: clamp(21px, 1.7vw, 25px); }
.principles p { color: var(--ink-2); max-width: 36ch; }

/* ==========================================================================
   02 · THE ROOM (the simulation)
   ========================================================================== */
.room { padding: var(--section) 0; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.room__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: clamp(32px, 4.4vw, 56px); }
.room__p { max-width: 460px; justify-self: end; color: var(--ink-2); }

.planner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; border-radius: 4px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.planner__stage { position: relative; padding: 18px clamp(14px, 2vw, 28px) 20px; background:
  repeating-linear-gradient(0deg, transparent 0 31px, var(--line) 31px 32px), repeating-linear-gradient(90deg, transparent 0 31px, var(--line) 31px 32px), var(--paper);
  border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.planner__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.planner__state, .planner__hint { display: inline-flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.planner__state i { width: 7px; height: 7px; background: var(--gold-2); transform: rotate(45deg); }
.planner__hint { color: var(--muted); }
.table { width: 100%; height: auto; flex: 1; margin: 8px 0; touch-action: none; user-select: none; -webkit-user-select: none; }
.table__board { fill: var(--card); stroke: var(--ink); stroke-width: 1; }
.plate { fill: none; stroke: var(--line-2); stroke-width: 1; }
.plate--in { stroke: var(--line); }
.table__seat { fill: none; stroke: var(--line-3); stroke-width: 1; stroke-dasharray: 3 4; transition: stroke .2s; }
.table__seat.is-target { stroke: var(--gold); stroke-dasharray: none; stroke-width: 2; }
.link { fill: none; stroke: var(--gold); stroke-linecap: round; transition: opacity .45s ease, stroke-width .45s ease; }
.link.is-dim { opacity: .08 !important; }
.link.is-hi { stroke: var(--ink); }
.guest { cursor: grab; transition: transform .55s var(--ease-out); outline: none; }
.guest.is-drag { cursor: grabbing; transition: none; }
.guest.is-dim { opacity: .35; }
.guest circle { stroke-width: 1.5; transition: stroke-width .2s; }
.guest text { font: 500 13px var(--f-body); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.guest .guest__role { font: 400 9.5px var(--f-mono); letter-spacing: .06em; fill: var(--muted); text-transform: uppercase; }
.guest:hover circle, .guest:focus-visible circle, .guest.is-picked circle { stroke-width: 3; }
.guest:focus-visible circle { stroke: var(--royal); }
.g-founder circle { fill: var(--gold-2); stroke: var(--gold); } .g-founder .guest__in { fill: var(--ink); }
.g-commercial circle { fill: var(--emerald); stroke: #0A7A55; } .g-commercial .guest__in { fill: #fff; }
.g-exec circle { fill: var(--ink); stroke: var(--ink); } .g-exec .guest__in { fill: var(--paper); }
.g-spec circle { fill: var(--royal); stroke: #16339A; } .g-spec .guest__in { fill: #fff; }
.g-council circle { fill: var(--card); stroke: var(--gold); } .g-council .guest__in { fill: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; }
.legend .g-founder { background: var(--gold-2); } .legend .g-commercial { background: var(--emerald); } .legend .g-exec { background: var(--ink); }
.legend .g-spec { background: var(--royal); } .legend .g-council { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--gold); }
.legend__line i { width: 18px; height: 2px; border-radius: 0; background: var(--gold); }

.planner__side { padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 22px; }
.score__k, .stats dt, .card__k { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.score__n { display: flex; align-items: baseline; gap: 8px; font: 400 clamp(64px, 6vw, 92px)/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.score__n small { font: 400 14px var(--f-mono); letter-spacing: .06em; color: var(--muted); }
.score__spark { width: 100%; height: 40px; margin-top: 10px; border-bottom: 1px solid var(--line); }
.score__spark polyline { fill: none; stroke: var(--gold); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.stats { display: grid; gap: 14px; }
.stats > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.stats dd { font: 400 22px/1 var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card { min-height: 112px; padding: 16px; border-radius: 3px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.card__h { margin-top: 8px; font: 400 19px/1.25 var(--f-display); }
.card__p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.planner__btns { display: grid; gap: 8px; margin-top: auto; }
.planner__btns .btn { justify-content: space-between; }
.planner__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tbtn { height: 40px; border: 0; border-radius: 3px; cursor: pointer; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); transition: box-shadow .3s, color .3s; }
.tbtn:hover { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.planner__note { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   03 · REGISTER
   ========================================================================== */
.register { padding: var(--section) 0; }
.register__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.register__p { margin-top: 22px; max-width: 30em; color: var(--ink-2); font-size: 17.5px; }
.reg { display: grid; gap: 26px; padding: clamp(22px, 2.6vw, 34px); border-radius: 4px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); position: relative; }
.reg::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold-2); }
.reg legend { margin-bottom: 12px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14.5px; transition: background .25s, color .25s, box-shadow .25s; }
.chip span::before { content: ''; width: 8px; height: 8px; border: 1px solid var(--line-3); transform: rotate(45deg); transition: background .25s, border-color .25s; }
.chip:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip input:checked + span::before { background: var(--gold-2); border-color: var(--gold-2); }
.chip input:focus-visible + span { outline: 2px solid var(--royal); outline-offset: 2px; }
.reg__go { display: grid; gap: 12px; justify-items: start; padding-top: 22px; border-top: 1px solid var(--line); }
.reg__note { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }

/* footer */
.foot { border-top: 1px solid var(--line-2); padding: 30px 0; background: var(--paper); }
.foot__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot__brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.foot__brand img { border-radius: 50%; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px rgba(23, 19, 14, 0.18); }
.foot__brand .wm { font-size: 19px; letter-spacing: .04em; text-transform: none; color: var(--ink); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot__nav a { text-decoration: none; font: 400 14px/1 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.foot__nav a:hover { color: var(--gold-d); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .planner { grid-template-columns: 1fr; }
  .planner__stage { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .what__top, .room__head, .register__in { grid-template-columns: 1fr; gap: 24px; }
  .room__p { justify-self: start; }
  .principles { grid-template-columns: 1fr; }
  .principles li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 22px; }
}
@media (max-width: 640px) {
  .formats { grid-template-columns: 1fr; }
  .fmt__img { aspect-ratio: 4 / 3; }
  .hero__show .mono { display: none; }
  .hero__ctas .btn { width: 100%; justify-content: space-between; }
  .planner__hint { display: none; }
  .guest .guest__role { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .fmt__img { transition: none; opacity: 1; transform: none; clip-path: none; }
  .cue i { animation: none; }
  .guest { transition: none; }
}
