/* Experience Centre of DHD — QR launch offer. Mobile-first. */
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("fonts/poppins-700.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-600.woff") format("woff"); }

:root {
  --navy: #141a26;
  --navy-2: #1c2433;
  --navy-3: #262f40;
  --ivory: #f6f1ea;
  --white: #ffffff;
  --gold: #c59a68;
  --gold-deep: #9c6f43;
  --gold-soft: #efe2d1;
  --red: #d7262e;
  --red-deep: #b51d24;
  --ink: #141a26;
  --ink-2: #4a5263;
  --ink-3: #7b8292;
  --line: #e4e0da;
  --ok: #1f8a57;
  --warn: #b26b00;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .18);
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--navy);
  color: var(--ivory);
  font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- backdrop: rooflines echoing the flyer ---------- */
.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.backdrop svg { position: absolute; left: 50%; top: -40px; width: 900px; max-width: none; transform: translateX(-50%); }
.backdrop::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 60% at 50% 0%, rgba(197, 154, 104, .10), transparent 60%);
}

.shell { position: relative; z-index: 1; width: 100%; max-width: 480px; margin: 0 auto; padding: 28px 18px 32px; }

.brand { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 0 22px; }
.brand { gap: 0; }
.brand img { width: 200px; height: auto; }
.brand .tagline { margin-top: 12px; font: 600 10.5px/1 var(--font-body); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); padding-left: .34em; }
.brand .place { margin-top: 8px; }
.brand .place { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(246, 241, 234, .62); }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 6px 4px 22px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(215, 38, 46, .14); color: #ff8a8f;
  border: 1px solid rgba(215, 38, 46, .4);
  font: 600 11px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(215, 38, 46, .25); }
h1 {
  margin: 16px 0 10px;
  font: 700 clamp(30px, 8.6vw, 40px)/1.08 var(--font-display);
  letter-spacing: -.01em;
}
h1 .big { display: block; font-size: 1.42em; letter-spacing: -.02em;
  background: linear-gradient(180deg, #e9c99f 0%, var(--gold) 55%, #a87a4c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin: 0 auto; max-width: 34ch; color: rgba(246, 241, 234, .78); font-size: 15.5px; }

/* ---------- card ---------- */
.card {
  color-scheme: light;
  background: var(--white); color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px 18px 20px;
}
.card h2 { margin: 0 0 4px; font: 700 18px/1.3 var(--font-display); }
.card .hint { margin: 0 0 18px; font-size: 13.5px; color: var(--ink-3); }

.field { margin-bottom: 16px; }
.field label, .field .label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px;
  font: 600 13px/1.2 var(--font-body); color: var(--ink); letter-spacing: .01em; }
.field .opt { font-weight: 500; color: var(--ink-3); font-size: 12px; }
.input, .select {
  width: 100%; height: 52px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fbfaf8; color: var(--ink);
  font-size: 16px; /* prevents iOS zoom */
  transition: border-color .15s, box-shadow .15s, background .15s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #a8adb7; }
.input:focus, .select:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(197, 154, 104, .22); }
.field.invalid .input, .field.invalid .select, .field.invalid .phone { border-color: var(--red); background: #fff7f7; }
.select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23141a26' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}

.phone { display: flex; align-items: stretch; height: 52px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fbfaf8; transition: border-color .15s, box-shadow .15s; overflow: hidden; }
.phone:focus-within { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(197, 154, 104, .22); }
.phone select {
  border: 0; background: transparent; padding: 0 26px 0 12px; font-size: 16px; font-weight: 600; color: var(--ink);
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237b8292' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center;
}
.phone select:focus { outline: none; }
.phone .sep { width: 1px; background: var(--line); margin: 12px 0; }
.phone input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; font-size: 16px; color: var(--ink);
  letter-spacing: .02em; }
.phone input:focus { outline: none; }
.phone input::placeholder { color: #a8adb7; letter-spacing: 0; }

.error { display: none; margin-top: 6px; font-size: 12.5px; color: var(--red-deep); font-weight: 500; }
.field.invalid .error { display: block; }

.chips { display: none; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips.show { display: flex; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fbfaf8;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: all .15s; user-select: none; }
.chip input:checked + span { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(197, 154, 104, .5); }

.field .consent { font-weight: 400; margin-bottom: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px; margin: 4px 0 6px; border-radius: var(--radius-sm);
  background: #f7f4ef; border: 1.5px solid transparent; cursor: pointer; }
.field.invalid .consent { border-color: var(--red); background: #fff7f7; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); cursor: pointer; }
.consent span { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.privacy-link { display: inline-block; margin: 4px 0 18px; font-size: 13px; color: var(--gold-deep); font-weight: 600; text-underline-offset: 3px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 56px; padding: 0 20px; border: 0; border-radius: 14px; cursor: pointer;
  font: 700 15px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: transform .12s ease, box-shadow .2s, background .2s, opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.985); }
.btn:focus-visible { outline: 3px solid rgba(197, 154, 104, .7); outline-offset: 3px; }
.btn-primary { background: linear-gradient(180deg, #e0333b, var(--red) 55%, var(--red-deep)); color: #fff;
  box-shadow: 0 12px 24px -10px rgba(215, 38, 46, .7), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-gold { background: linear-gradient(180deg, #d6ad7c, var(--gold) 60%, #b0835a); color: var(--navy);
  box-shadow: 0 12px 24px -12px rgba(197, 154, 104, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--ivory); border: 1.5px solid rgba(246, 241, 234, .22);
  font-size: 13.5px; min-height: 52px; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  animation: spin .8s linear infinite; display: none; }
.btn.loading .spinner { display: block; }
.btn svg { width: 20px; height: 20px; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-alert { display: none; margin: 0 0 14px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 13.5px; line-height: 1.45;
  background: #fff3f3; color: var(--red-deep); border: 1px solid #f5c9cb; }
.form-alert.show { display: block; }

.assure { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; font-size: 12px; color: var(--ink-3); }
.assure span { display: inline-flex; align-items: center; gap: 6px; }
.assure svg { width: 14px; height: 14px; color: var(--gold-deep); }

/* ---------- success ---------- */
.view { animation: rise .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
[hidden] { display: none !important; }

.success { text-align: center; }
.success .burst { font-size: 34px; line-height: 1; margin: 2px 0 8px; }
.success h1 { margin: 6px 0 6px; font-size: clamp(30px, 8.4vw, 38px); }
.unlocked { margin: 0 0 12px; font: 700 clamp(19px, 5.6vw, 26px)/1.2 var(--font-display); letter-spacing: .04em; color: var(--gold);
  text-transform: uppercase; }
.unlocked em { font-style: normal; color: #f0d2a8; white-space: nowrap; }
.success .lede { margin-bottom: 22px; }

.ticket { position: relative; margin: 0 0 18px; padding: 22px 18px 18px; border-radius: var(--radius); color: var(--ink);
  background: linear-gradient(160deg, #fffdf9 0%, #fff 40%, #f8efe3 100%); box-shadow: var(--shadow);
  overflow: hidden; }
.ticket::before { content: ""; position: absolute; inset: 8px; border-radius: 12px; border: 1.5px dashed rgba(156, 111, 67, .45); pointer-events: none; }
.ticket .notch { position: absolute; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--navy); }
.ticket .notch.l { left: -13px; } .ticket .notch.r { right: -13px; }
.ticket .tlabel { font: 600 11px/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.ticket .code { display: block; width: 100%; margin: 12px 0 8px; padding: 4px 0; border: 0; background: none; cursor: pointer;
  font: 700 clamp(21px, 7vw, 32px)/1.1 var(--font-display); letter-spacing: .06em; color: var(--navy); white-space: nowrap; }
.ticket .code:focus-visible { outline: 3px solid rgba(197, 154, 104, .6); border-radius: 8px; }
.ticket .meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--ink-2); }
.ticket .meta b { color: var(--ink); font-weight: 600; }
.ticket .shine { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .8) 45%, transparent 60%);
  transform: translateX(-100%); animation: shine 2.6s 0.6s ease-in-out 1; pointer-events: none; }
@keyframes shine { to { transform: translateX(100%); } }

.status { display: flex; gap: 10px; align-items: flex-start; text-align: left; margin: 0 0 18px; padding: 12px 14px;
  border-radius: var(--radius-sm); font-size: 13.5px; line-height: 1.45; }
.status svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.status.ok { background: rgba(31, 138, 87, .14); color: #9fe3bf; border: 1px solid rgba(31, 138, 87, .35); }
.status.warn { background: rgba(197, 154, 104, .12); color: #f0d2a8; border: 1px solid rgba(197, 154, 104, .35); }
.status .retry { margin-top: 8px; display: inline-flex; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(240, 210, 168, .5);
  background: transparent; color: #f6e3c6; font: 600 12.5px/1 var(--font-body); cursor: pointer; letter-spacing: .02em; }
.status .retry[disabled] { opacity: .6; cursor: progress; }

.actions { display: grid; gap: 10px; margin-bottom: 18px; }
.note { margin: 0 0 6px; padding: 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(246, 241, 234, .1); font-size: 13.5px; color: rgba(246, 241, 234, .8); }
.note a { color: var(--gold); font-weight: 600; text-underline-offset: 3px; }
.reset { margin-top: 14px; background: none; border: 0; color: rgba(246, 241, 234, .55); font-size: 13px; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 10; transform: translate(-50%, 20px);
  padding: 12px 18px; border-radius: 999px; background: var(--ivory); color: var(--navy); font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow); opacity: 0; transition: all .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- footer + content pages ---------- */
.foot { margin-top: 26px; text-align: center; font-size: 12px; color: rgba(246, 241, 234, .5); line-height: 1.7; }
.foot a { color: rgba(246, 241, 234, .75); text-underline-offset: 3px; }
.foot .dot { margin: 0 6px; }

.doc { color-scheme: light; background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 20px; }
.doc h1 { margin: 0 0 4px; font-size: 26px; color: var(--navy); }
.doc .updated { margin: 0 0 18px; font-size: 13px; color: var(--ink-3); }
.doc h2 { margin: 24px 0 8px; font: 700 16px/1.3 var(--font-display); color: var(--navy); }
.doc p, .doc li { font-size: 14.5px; color: var(--ink-2); }
.doc ul { padding-left: 20px; margin: 8px 0; }
.doc li { margin: 4px 0; }
.doc .todo { background: #fff6dd; border-radius: 4px; padding: 0 4px; color: #7a5200; }
.doc a { color: var(--gold-deep); font-weight: 600; }
.back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 16px; color: rgba(246, 241, 234, .75); font-size: 14px;
  text-decoration: none; }

.closed { text-align: center; }
.closed h2 { font-size: 20px; }

@media (min-width: 560px) {
  .shell { padding-top: 44px; }
  .card { padding: 28px 26px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.brand .wordmark { font: 700 26px/1.1 var(--font-display); letter-spacing: .04em; color: #f6f1ea; text-align: center; }
