/* The Goal Project · Free webinar (Golden Ticket). Kin Tide look: black/white, one gold, glass, Geist. */
@font-face { font-family: "Geist"; src: url("/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --black: #060606;
  --black-2: #101010;
  --white: #fafafa;
  --mute-d: #9a9a9a;
  --mute-l: #5c5c5c;
  --gold: #f2b705;
  --gold-hover: #ffc81f;
  --gold-deep: #8a6600;
  --glass-d: linear-gradient(115deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,0) 42%), rgba(24,22,16,.5);
  --edge-d: inset 0 1px 0 rgba(255,236,170,.22), inset 0 0 0 1px rgba(255,255,255,.07);
  --shadow-d: 0 1px 2px rgba(0,0,0,.6), 0 18px 40px -18px rgba(60,40,0,.6);
  --glass-l: linear-gradient(115deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 42%), rgba(255,255,255,.6);
  --edge-l: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(0,0,0,.07);
  --shadow-l: 0 1px 2px rgba(60,45,0,.06), 0 18px 36px -18px rgba(90,70,10,.25);
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --jp: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "MS Mincho", serif;
  --r: 20px;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font: 300 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.band { position: relative; padding: 104px 0; }
.dark { background: var(--black); color: var(--white); }
.light { background: var(--white); color: #111; color-scheme: light; }

h1, h2, .display { font-weight: 200; text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; line-height: 1.02; }
h1 { font-size: clamp(40px, 6.2vw, 88px); }
h1 span { display: block; }
h2 { font-size: clamp(32px, 4.4vw, 58px); margin-bottom: 12px; }
h3 { font-weight: 500; font-size: 18px; }
.pop { color: var(--gold); }
.light .pop-text { color: var(--gold-deep); }
.dark .pop-text { color: var(--gold); }
.sub { max-width: 560px; margin-bottom: 44px; }
.light .sub, .light .muted { color: var(--mute-l); }
.dark .sub, .dark .muted { color: var(--mute-d); }
.lede { max-width: 540px; margin-top: 26px; color: #c9c9c9; font-size: 18px; }

/* glass */
.glass { -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); border-radius: var(--r); }
.dark .glass { background: var(--glass-d); box-shadow: var(--edge-d), var(--shadow-d); }
.light .glass { background: var(--glass-l); box-shadow: var(--edge-l), var(--shadow-l); }

/* buttons */
.press { transition: transform .12s ease-out, background-color .2s ease-out, color .2s ease-out; }
.press:active { transform: scale(.97); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 14px; background: var(--gold); color: #111; font-weight: 500; }
.btn:hover { background: var(--gold-hover); }
.btn.ink { background: var(--black); color: #fff; }
.btn.ink:hover { background: #222; }
.link { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid currentColor; opacity: .85; }
.link:hover { opacity: 1; }

/* header */
.top { position: absolute; inset: 0 0 auto; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.top .link { font-size: 14px; }

/* water + vertical kanji (same as the hub) */
.water { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: auto; filter: blur(14px); opacity: .9; pointer-events: none; }
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero > .wrap { position: relative; z-index: 2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6,6,6,.92) 0%, rgba(6,6,6,.55) 55%, rgba(6,6,6,.2) 100%); pointer-events: none; }
.vert { position: absolute; right: 28px; top: 120px; z-index: 2; writing-mode: vertical-rl; font: 200 15px/2 var(--jp); letter-spacing: .5em; color: rgba(255,255,255,.4); }
.kin { display: block; width: 100%; height: auto; }

/* form */
.form { display: grid; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 400; margin-bottom: 6px; }
.field input { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 12px; border: 0; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); font-size: 16px; transition: box-shadow .2s ease-out, background-color .2s ease-out; }
.light .field input { background: rgba(0,0,0,.045); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #ff6b5a; }
.light .field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #c2321f; }
.err { min-height: 0; font-size: 13px; color: #ff8a7a; }
.light .err { color: #b02a19; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
.roles legend { font-size: 14px; font-weight: 400; margin-bottom: 6px; }
.roles label { position: relative; }
.roles input { position: absolute; opacity: 0; pointer-events: none; }
.roles span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; font-size: 14px; background: rgba(255,255,255,.07); cursor: pointer; transition: background-color .2s ease-out, color .2s ease-out; }
.light .roles span { background: rgba(0,0,0,.05); }
.roles span b { font: 400 15px var(--jp); color: var(--mute-d); }
.roles input:checked + span { background: var(--gold); color: #111; }
.roles input:checked + span b { color: #111; }
.roles input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.fine { font-size: 13px; }
.dark .fine { color: var(--mute-d); }
.light .fine { color: var(--mute-l); }
.hp { position: absolute; left: -9999px; }
.done { display: none; }
.form-box[data-state="done"] .form { display: none; }
.form-box[data-state="done"] .done { display: block; animation: rise .5s ease-out both; }
.form-box[data-state="sending"] button[type="submit"] { opacity: .7; pointer-events: none; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 44px; }
.facts div { padding: 4px 18px 4px 0; }
.facts dt { font-size: 13px; color: var(--mute-d); }
.light .facts dt { color: var(--mute-l); }
.facts dd { font-size: 17px; font-weight: 400; }

/* lists */
.learn { list-style: none; display: grid; gap: 0; counter-reset: l; }
.learn li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 26px 0; }
.learn li + li { box-shadow: 0 -1px 0 rgba(0,0,0,.08); }
.dark .learn li + li { box-shadow: 0 -1px 0 rgba(255,255,255,.08); }
.learn .k { font: 300 40px/1 var(--jp); color: var(--gold-deep); }
.dark .learn .k { color: var(--gold); }
.learn h3 { font-size: 20px; margin-bottom: 4px; }
.light .learn p { color: var(--mute-l); }
.dark .learn p { color: var(--mute-d); }

.paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.paths .card { padding: 24px; }
.paths .kj { font: 300 34px/1 var(--jp); color: var(--gold); display: block; margin-bottom: 18px; }
.light .paths .kj { color: var(--gold-deep); }
.paths p { font-size: 15px; }
.light .paths p { color: var(--mute-l); }
.dark .paths p { color: var(--mute-d); }

.host { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; max-width: 760px; }
.hanko { width: 120px; height: 120px; border-radius: 22px; display: grid; place-items: center; background: var(--gold); color: #111; font: 400 52px/1 var(--jp); }
.host blockquote { margin-top: 14px; font-size: 18px; }

.faq { max-width: 760px; }
.faq details { padding: 20px 0; }
.faq details + details { box-shadow: 0 -1px 0 rgba(255,255,255,.08); }
.light .faq details + details { box-shadow: 0 -1px 0 rgba(0,0,0,.08); }
.faq summary { cursor: pointer; font-weight: 400; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; transition: transform .2s ease-out; }
.light .faq summary::after { color: var(--gold-deep); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 10px; max-width: 620px; }
.dark .faq p { color: var(--mute-d); }
.light .faq p { color: var(--mute-l); }

footer { padding: 40px 0 56px; font-size: 14px; color: var(--mute-d); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }

.rise { animation: rise .7s ease-out both; }
.d2 { animation-delay: .12s; }
.d3 { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vert { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .band { padding: 80px 0; }
  .paths { grid-template-columns: 1fr; }
  .host { grid-template-columns: 1fr; }
  .hanko { width: 88px; height: 88px; font-size: 40px; border-radius: 18px; }
  .lede { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---- Golden Ticket ---- */
  .hero-c { padding: 132px 0 96px; text-align: center; }
  .hero-c .lede { margin: 22px auto 0; }
  .ticket { position: relative; display: grid; grid-template-columns: 1fr 150px; max-width: 860px; margin: 56px auto 0; text-align: left; }
  .t-main { padding: 34px 36px; }
  .t-stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px 12px; border-radius: var(--r); background: var(--gold); color: #111; }
  .t-stub .v { writing-mode: vertical-rl; font: 400 30px/1 var(--jp); letter-spacing: .2em; }
  .t-stub small { font-size: 12px; font-weight: 500; letter-spacing: .08em; }
  /* perforation between main and stub */
  .ticket::before { content: ""; position: absolute; top: 18px; bottom: 18px; right: 150px; width: 0; border-left: 2px dashed rgba(255,255,255,.18); }
  .t-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: 14px; color: var(--mute-d); }
  .t-title { font: 200 clamp(28px, 3.6vw, 44px)/1.05 var(--font); text-transform: uppercase; margin: 14px 0 22px; }
  .t-seat { font-size: 15px; color: var(--mute-d); }
  .t-seat b { display: block; font: 300 clamp(26px, 3vw, 36px)/1.15 var(--font); color: var(--gold); margin-top: 2px; overflow-wrap: anywhere; }
  .t-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 26px; }
  .t-facts dt { font-size: 13px; color: var(--mute-d); }
  .t-facts dd { font-weight: 400; }
  .t-form { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }
  .t-form .wide { grid-column: 1 / -1; }
  .done p { color: var(--mute-d); margin-top: 6px; }
  .done .fb-note { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--gold); background: rgba(242, 183, 5, .08); border-radius: 0 10px 10px 0; color: #e8e8e8; }
  .done .fb-note b { color: var(--gold); }
  .done .fb-note a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 4px 0; }
  .done .fb-note a:hover { color: var(--gold-hover); }
  /* hanko stamp lands on the ticket after reserving */
  .seal { position: absolute; right: 178px; top: 26px; width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; font: 400 26px/1.05 var(--jp); text-align: center; color: #c8321e; box-shadow: inset 0 0 0 3px #c8321e; transform: rotate(-12deg) scale(1.6); opacity: 0; pointer-events: none; }
  body[data-reserved] .seal { animation: stamp .32s ease-out .1s forwards; }
  @keyframes stamp { to { opacity: .92; transform: rotate(-12deg) scale(1); } }
  .why { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  @media (max-width: 760px) {
    .ticket { grid-template-columns: 1fr; }
    .ticket::before { display: none; }
    .t-stub { flex-direction: row; padding: 16px; }
    .t-stub .v { writing-mode: horizontal-tb; font-size: 24px; }
    .t-main { padding: 24px 20px; }
    .t-form { grid-template-columns: 1fr; }
    .t-facts { grid-template-columns: 1fr 1fr; }
    .seal { right: 16px; top: 16px; width: 84px; height: 84px; font-size: 20px; }
    .why { grid-template-columns: 1fr; gap: 32px; }
  }
.t-note { margin-top: 10px; }
.t-done { font-size: 28px; }
.sub.flush { margin-bottom: 0; }
.bio { margin-top: 14px; max-width: 560px; }

/* ---- Stamp rally: 6 follow/join/share steps unlock the ticket ---- */
/* shared step pieces */
.step .go { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 12px; font-size: 14px; font-weight: 500; background: rgba(255,255,255,.08); white-space: nowrap; transition: background-color .2s ease-out, color .2s ease-out; }
.step .go:hover { background: rgba(255,255,255,.14); }
.step[data-opened="true"] .go { color: var(--gold); }
.ck { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 14px; color: var(--mute-d); user-select: none; }
.ck input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ck .box { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); transition: background-color .15s ease-out, box-shadow .15s ease-out, transform .12s ease-out; }
.ck .box::after { content: ""; width: 7px; height: 12px; border: solid #111; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px) scale(.4); opacity: 0; transition: transform .18s ease-out, opacity .12s ease-out; }
.ck input:checked + .box { background: var(--gold); box-shadow: none; }
.ck input:checked + .box::after { opacity: 1; transform: rotate(45deg) translate(-1px, -1px) scale(1); }
.ck input:focus-visible + .box { outline: 2px solid var(--gold); outline-offset: 3px; }
.ck:active .box { transform: scale(.94); }
.step[data-checked="true"] .ck { color: var(--white); }
button[aria-disabled="true"] { background: rgba(255,255,255,.1); color: var(--mute-d); }
button[aria-disabled="true"]:hover { background: rgba(255,255,255,.14); }
.t-stub .cnt { font: 300 13px var(--font); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--gold); transition: width .3s ease-out; }
.cnt-line { font-size: 14px; color: var(--mute-d); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cnt-line b { color: var(--gold); font-weight: 500; }

/* ---------- 3 · Stamp rally on the ticket ---------- */
.s3 { margin: 4px 0 26px; }
.s3 .sh { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.s3 h3 { font-size: 18px; }
.s3 .how { font-size: 14px; color: var(--mute-d); margin: 4px 0 18px; }
.s3 ol { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.s3 .step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 16px 8px 10px; border-radius: 14px; background: rgba(0,0,0,.25); }
.s3 .sk { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; font: 400 28px/1 var(--jp); color: rgba(255,255,255,.28); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); border: 0; transition: background-color .2s ease-out, color .2s ease-out; }
.s3 .step[data-checked="true"] .sk { background: var(--gold); color: #111; box-shadow: none; animation: stamp-in .3s ease-out; transform: rotate(-8deg); }
@keyframes stamp-in { from { transform: rotate(-8deg) scale(1.35); opacity: .3; } }
.s3 .sx b { display: block; font-weight: 500; font-size: 14px; line-height: 1.3; }
.s3 .sx small { font-size: 12px; color: var(--mute-d); }
.s3 .go { min-height: 40px; padding: 0 12px; font-size: 13px; }
.s3 .ck { font-size: 13px; min-height: 40px; }
.v3 .form { display: none; }
body[data-unlocked="true"] .v3 .form { display: grid; animation: rise .45s ease-out both; }
body[data-unlocked="true"] .v3 .s3 .how { color: var(--gold); }
.v3 .unlock-hint { font-size: 14px; color: var(--mute-d); text-align: center; padding: 6px 0 4px; }
body[data-unlocked="true"] .v3 .unlock-hint { display: none; }

.form-box[data-state="done"] .unlock-hint, .form-box[data-state="done"] .s3 { display: none !important; }
@media (max-width: 760px) {
  .s3 ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s3 .step:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Pagka-claim: itago ang form (mas malakas kaysa sa unlock rule) */
.form-box[data-state="done"] .form { display: none !important; }
