/* Eduthor fuar sayfası. Tasarım dili: tanıtım sitesi (gece, kâğıt, amber). Zemin: AES'26 resmî deseni. */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("varlik/font/outfit-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("varlik/font/outfit-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("varlik/font/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("varlik/font/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --night: #0A1B33; --night-2: #102847; --night-3: #18375E;
  --paper: #FAFAF8; --paper-2: #F0EFE9; --line: #DEDFD8;
  --ink: #0A1B33; --ink-soft: #4B5A72; --mist: #B9C4D4; --cloud: #DCE4EE;
  --amber: #EDB466; --amber-d: #8A4E14; --coral: #E88D74; --emerald: #6FB99A; --cyan: #6FC6E4; --cyan-d: #1F7FA6;
  --error: #A3311B; --error-bg: #FBE7E1;
  --aes: #1a0542;
  --display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-width: 320px; overflow-x: hidden;
  background-color: var(--aes);
  background-image: url("varlik/etkinlik/aes-zemin.jpg");
  background-position: center top; background-size: max(100%, 1998px) auto; background-repeat: repeat-y;
  color: #fff; font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, label, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: 1192px; margin-inline: auto; padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--paper); color: var(--ink); font-weight: 600; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 14px; border: 1px solid transparent; font: 600 16px/1.2 var(--body); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .12s var(--ease), border-color .12s var(--ease), color .12s var(--ease); }
.btn-primary { background: var(--amber); color: var(--night); }
.btn-primary:hover { background: #F3C584; }
.btn-night { background: var(--night); color: #fff; }
.btn-night:hover { background: var(--night-3); }
.btn-night[disabled] { opacity: .65; cursor: progress; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.btn-outline:hover { border-color: var(--c, var(--amber)); background: rgba(255,255,255,.05); }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: rgba(10,27,51,.28); }
.btn-ghost-dark:hover { border-color: var(--ink); }
.btn-small { min-height: 40px; padding: 8px 14px; font-size: 14px; border-radius: 12px; }
.btn-large { min-height: 54px; padding: 14px 24px; font-size: 17px; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 5px; padding-block: 10px; }
.text-link:hover { color: var(--amber); }
.kicker { font: 600 12.5px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.kicker-dark { color: var(--amber-d); }

/* Header */
.site-header { display: flex; align-items: center; gap: 10px; padding-top: calc(14px + env(safe-area-inset-top, 0px)); padding-bottom: 6px; }
.brand { display: block; flex: none; padding-block: 6px; }
.brand img { height: 23px; width: auto; }
.header-divider { width: 1px; height: 24px; background: rgba(255,255,255,.22); flex: none; }
.fair-logo { height: 28px; width: auto; flex: none; }
.stand-pill { margin-left: auto; flex: none; display: inline-flex; align-items: baseline; gap: 5px; min-height: 40px; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(10,27,51,.72); border: 1px solid rgba(237,180,102,.45); font: 500 13px/1 var(--body); color: var(--cloud); text-decoration: none; white-space: nowrap; }
.stand-pill strong { font: 700 14px/1 var(--display); color: var(--amber); }
@media (max-width: 379px) {
  .site-header { gap: 8px; }
  .brand img { height: 20px; }
  .fair-logo { height: 24px; }
  .stand-pill { padding-inline: 10px; }
  .stand-pill span { display: none; }
}

/* Hero */
.hero { padding-top: 24px; padding-bottom: 8px; }
.hero-copy { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.hero h1 { font-size: clamp(36px, 10.5vw, 64px); font-weight: 800; line-height: 1.02; }
.hero h1 .accent { color: var(--amber); }
.lead { font-size: 17px; line-height: 1.6; color: var(--cloud); max-width: 54ch; }
.fact-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fact-chips li { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1.3 var(--body); color: var(--cloud); background: rgba(10,27,51,.6); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 8px 13px 8px 10px; }
.fact-chips svg { width: 17px; height: 17px; fill: none; stroke: var(--amber); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 4px; }
.hero-actions .text-link { align-self: center; }

/* Film */
.film { position: relative; overflow: hidden; border-radius: 18px; background: var(--night); aspect-ratio: var(--ratio, 16 / 9); }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.film-message { font-size: 14px; color: var(--mist); margin-top: 8px; }

/* Sections */
.section { padding-top: 48px; scroll-margin-top: 8px; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; max-width: 760px; }
.section h2 { font-size: clamp(30px, 7.5vw, 46px); font-weight: 700; line-height: 1.08; }
.section-lead { color: var(--cloud); font-size: 16.5px; max-width: 60ch; }

/* Product tiles */
.product-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-tile { --c: var(--amber); position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; min-height: 136px; padding: 18px 14px 14px; border-radius: 18px; background: var(--night); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 18px 40px rgba(4,1,20,.35); color: #fff; text-align: left; cursor: pointer; overflow: hidden; transition: border-color .12s var(--ease), background-color .12s var(--ease); }
.product-tile::before, .product-sheet::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); }
.product-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.product-tile:hover { border-color: var(--c); }
.product-tile:active { background: var(--night-2); }
[data-color="mercan"] { --c: var(--coral); }
[data-color="nane"] { --c: var(--emerald); }
[data-color="turkuaz"] { --c: var(--cyan); }
.tile-logo-row { display: flex; align-items: center; gap: 8px; min-height: 32px; max-width: 100%; }
.tile-logo { height: 28px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.tile-name { font: 700 19px/1.1 var(--display); }
.tile-category { font: 600 11.5px/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.tile-feature { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; border-radius: 999px; background: rgba(232,141,116,.16); border: 1px solid rgba(232,141,116,.45); font: 600 12.5px/1.2 var(--body); color: #FFD9CC; }
.tile-feature-logo { width: 20px; height: 20px; }
.tile-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 13.5px/1.2 var(--body); color: var(--cloud); }
.tile-more { color: #fff; }
.tile-more svg { flex: none; width: 24px; height: 24px; padding: 6px 5px 6px 7px; border-radius: 50%; background: var(--c); fill: var(--night); }

/* Product sheet: a bottom sheet on phones, a centred window on wider screens */
html.window-open, html.window-open body { overflow: hidden; }
.product-sheet { position: fixed; inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 92vh; max-height: 92dvh; margin: 0; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: var(--night); color: #fff; overflow: hidden; box-shadow: 0 -20px 60px rgba(4,1,20,.5); }
.product-sheet[open] { display: flex; flex-direction: column; animation: sheet-in .28s var(--ease); }
.product-sheet::backdrop { background: rgba(6,2,22,.72); }
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } }
.sheet-body { display: flex; flex-direction: column; gap: 16px; overflow-y: auto; overscroll-behavior: contain; padding: 22px 16px calc(18px + env(safe-area-inset-bottom, 0px)); }
.sheet-close { position: absolute; right: 10px; top: 12px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }
.sheet-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.sheet-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-right: 52px; }
.sheet-logo { height: 34px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.sheet-name { font: 700 24px/1.1 var(--display); }
.sheet-category { font: 600 12px/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.sheet-description { color: var(--cloud); font-size: 16px; line-height: 1.6; }
.sheet-body > .film { --ratio: 16 / 9; border-radius: 14px; }
/* Scrolling areas inside windows scroll by touch, wheel and keyboard without a visible bar. */
.sheet-body, .fd-body, .nd-body, .picker-list, .combo-list, .success { scrollbar-width: none; -ms-overflow-style: none; }
.sheet-body::-webkit-scrollbar, .fd-body::-webkit-scrollbar, .nd-body::-webkit-scrollbar, .picker-list::-webkit-scrollbar, .combo-list::-webkit-scrollbar, .success::-webkit-scrollbar { display: none; }
/* The sheet scrolls; its parts keep their own height instead of shrinking to fit. */
.sheet-body > *, .fd-body > *, .feature > * { flex-shrink: 0; }
.feature { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 18px; background: linear-gradient(160deg, rgba(232,141,116,.18), rgba(232,141,116,.04) 60%); border: 1px solid rgba(232,141,116,.4); }
.feature-head { display: flex; align-items: center; gap: 12px; }
.feature-logo { flex: none; width: 44px; height: 44px; }
.feature-titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.feature-kicker { font: 600 11.5px/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--coral); }
.feature-title { font: 700 19px/1.2 var(--display); }
.feature .film { --ratio: 16 / 9; border-radius: 12px; }
.feature-description { color: var(--cloud); font-size: 15px; line-height: 1.6; }
.film-pending { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--night-2); border: 1px dashed rgba(255,255,255,.2); color: var(--cloud); font: 600 15px/1.4 var(--body); text-align: center; padding: 16px; }
.film-pending-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--c); position: relative; opacity: .9; }
.film-pending-mark::after { content: ""; position: absolute; left: 21px; top: 16px; border-left: 16px solid var(--night); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.sheet-apply { width: 100%; margin-top: 4px; }

/* Sticky apply bar (phones) */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, rgba(26,5,66,0), rgba(26,5,66,.94) 38%); transition: transform .2s var(--ease), opacity .2s var(--ease); }
.sticky-cta .btn { width: 100%; box-shadow: 0 12px 30px rgba(4,1,20,.45); }
.sticky-cta[data-hidden] { transform: translateY(110%); opacity: 0; pointer-events: none; }

/* Form card */
/* Application form window: full screen on phones, a centred window on wider screens */
.form-dialog { position: fixed; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); color-scheme: light; overflow: hidden; }
.form-dialog[open] { display: flex; flex-direction: column; animation: sheet-in .28s var(--ease); }
.form-dialog::backdrop { background: rgba(6,2,22,.72); }
.fd-head { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 12px; padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
.fd-title { font: 700 19px/1.2 var(--display); color: var(--ink); }
.fd-title:focus { outline: none; }
.fd-step-label { font: 600 13px/1.3 var(--body); color: var(--ink-soft); margin-top: 2px; }
.fd-close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--paper-2); color: var(--ink); cursor: pointer; }
.fd-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.fd-progress { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.fd-progress span { height: 5px; border-radius: 999px; background: var(--line); transition: background-color .2s var(--ease); }
.fd-progress span[data-state="done"] { background: var(--night); }
.fd-progress span[data-state="current"] { background: var(--amber); }
.leave { position: absolute; inset: 0; z-index: 7; display: grid; place-items: end stretch; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: rgba(10,27,51,.45); }
.leave[hidden] { display: none; }
.leave-card { display: flex; flex-direction: column; gap: 12px; padding: 22px 18px 18px; border-radius: 20px; background: var(--paper); box-shadow: 0 20px 50px rgba(4,1,20,.35); animation: sheet-in .2s var(--ease); }
.leave-title { font: 700 21px/1.25 var(--display); color: var(--ink); }
.leave-title:focus { outline: none; }
.leave-card p { color: var(--ink-soft); margin-bottom: 4px; }
.leave-card .btn { width: 100%; }
.btn-danger-ghost { background: transparent; color: var(--error); border-color: rgba(163,49,27,.4); }
.btn-danger-ghost:hover { border-color: var(--error); background: var(--error-bg); }
.fd-form { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.fd-form[hidden] { display: none; }
.fd-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 20px 16px 28px; }
.fd-foot { flex: none; display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--paper); }
.fd-foot .btn { min-height: 52px; }
.btn-next { flex: 1; }
.more-fields { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.more-fields summary { list-style: none; cursor: pointer; min-height: 48px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 12px 14px; font: 600 14.5px/1.3 var(--body); color: var(--ink); }
.more-fields summary::-webkit-details-marker { display: none; }
.more-fields-body { display: flex; flex-direction: column; gap: 20px; padding: 4px 14px 16px; }
.form-flash { font-weight: 600; color: #1F5E47; margin-bottom: 16px; }
.form-flash:empty { display: none; }
.form-step { display: flex; flex-direction: column; gap: 22px; }
.form-step[hidden] { display: none; }
.step-title { font-size: 26px; font-weight: 700; color: var(--ink); }
.step-title:focus { outline: none; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field legend { font: 600 15px/1.35 var(--body); color: var(--ink); padding: 0; }
.field legend { margin-bottom: 10px; }
.optional, .field-note { font-weight: 500; font-size: 13.5px; color: var(--ink-soft); margin-left: 4px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #C9CCC4; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.4;
  transition: border-color .12s var(--ease), box-shadow .12s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; padding-right: 42px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1B33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #737D8C; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--night); box-shadow: 0 0 0 3px rgba(31,127,166,.35); }
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.hint { font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); }
.hint-count { text-align: right; font-variant-numeric: tabular-nums; }
.field-error { display: flex; gap: 6px; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--error); }
.field-error::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--error) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4v5' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='12' r='1.1' fill='%23fff'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* Option cards (native checkboxes and radios, equal sizes, one or two columns) */
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.options-list { grid-template-columns: minmax(0, 1fr); }
.options > .option:last-child:nth-child(odd) { grid-column: 1 / -1; }
.option { position: relative; display: flex; min-width: 0; cursor: pointer; }
.option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.option-box { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; min-height: 56px; padding: 13px 14px 13px 52px; border: 1.5px solid #CDD0C8; border-radius: 14px; background: #fff; color: var(--ink); font: 600 15px/1.25 var(--body); transition: border-color .12s var(--ease), background-color .12s var(--ease); }
.option-box b { font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.option-box small { font: 500 13px/1.35 var(--body); color: var(--ink-soft); }
.option-box::before { content: ""; position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border: 1.5px solid #8E96A3; border-radius: 6px; background: #fff; }
.option input[type="radio"] + .option-box::before { border-radius: 50%; }
.option:hover .option-box { border-color: var(--night); }
.option input:checked + .option-box { border-color: var(--night); background: #EEF2F7; box-shadow: inset 0 0 0 1px var(--night); }
.option input[type="checkbox"]:checked + .option-box::before { border-color: var(--night); background: var(--night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EDB466' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.option input[type="radio"]:checked + .option-box::before { border-color: var(--night); background: radial-gradient(circle, var(--night) 0 5.5px, #fff 6px); }
.option-product .option-box { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; }
.option-logo-slot { flex: none; width: 124px; display: flex; align-items: center; }
.option-logo { display: block; max-width: 100%; object-fit: contain; }
.option-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; font: 500 14.5px/1.35 var(--body); color: var(--ink); }
.option-text small { font-size: 14.5px; color: var(--ink); }
.option input:focus-visible + .option-box { outline: 3px solid var(--cyan-d); outline-offset: 2px; }
.field[data-invalid] .option-box { border-color: var(--error); }

/* Province picker: a trigger that looks like a field, and a searchable list over the form */
.picker-trigger { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1.5px solid #C9CCC4; border-radius: 12px; background: #fff; color: var(--ink); font: 500 16px/1.4 var(--body); text-align: left; cursor: pointer; }
.picker-trigger svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.picker-trigger:focus-visible { outline: none; border-color: var(--night); box-shadow: 0 0 0 3px rgba(31,127,166,.35); }
.picker-trigger[aria-invalid="true"] { border-color: var(--error); }
.picker-value[data-empty] { color: #737D8C; }
.picker { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; background: var(--paper); }
.picker[hidden] { display: none; }
.picker-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 10px; }
.picker-title { font: 700 22px/1.2 var(--display); color: var(--ink); }
.picker-title:focus { outline: none; }
.picker-search { flex: none; padding: 0 16px 12px; border-bottom: 1px solid var(--line); }
.picker-search input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #C9CCC4; border-radius: 12px; background: #fff; color: var(--ink); font-size: 16px; }
.picker-search input:focus { outline: none; border-color: var(--night); box-shadow: 0 0 0 3px rgba(31,127,166,.35); }
.picker-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; margin: 0; padding: 6px 8px calc(16px + env(safe-area-inset-bottom, 0px)); }
.picker-option { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); font: 500 16px/1.3 var(--body); text-align: left; cursor: pointer; }
.picker-option:hover, .picker-option:focus-visible { background: var(--paper-2); outline: none; }
.picker-option[aria-current="true"] { font-weight: 700; background: #EEF2F7; }
.picker-option[aria-current="true"]::after { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1B33' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.picker-empty { padding: 16px 12px; color: var(--ink-soft); }

/* Combobox */
.combo-box { position: relative; }
.combo-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 10; list-style: none; margin: 0; padding: 6px; max-height: min(340px, 52vh); overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1.5px solid var(--night); border-radius: 14px; box-shadow: 0 20px 44px rgba(10,27,51,.22); }
.combo-list li { display: flex; flex-direction: column; gap: 2px; min-height: 48px; justify-content: center; padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.combo-list li + li { margin-top: 2px; }
.combo-list li[aria-selected="true"], .combo-list li:hover { background: var(--paper-2); }
.combo-list li[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--amber); }
.combo-list .school-name { font: 600 14.5px/1.3 var(--body); color: var(--ink); }
.combo-list .school-meta { font-size: 13px; line-height: 1.3; color: var(--ink-soft); }
.combo-list .combo-more { min-height: 0; cursor: default; font-size: 13px; color: var(--ink-soft); background: none !important; box-shadow: none !important; }

/* Consent */
.consent { gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.notice-open { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--night); border-radius: 14px; background: #fff; color: var(--ink); font: 600 15px/1.3 var(--body); text-align: left; cursor: pointer; }
.notice-open svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.check { display: flex; align-items: flex-start; gap: 12px; font: 500 15px/1.5 var(--body); color: var(--ink); cursor: pointer; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--night); cursor: pointer; }

/* Privacy notice window */
.notice-dialog { position: fixed; inset: auto 0 0 0; width: 100%; max-width: 100%; height: 88vh; height: 88dvh; max-height: 100%; margin: 0; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: var(--paper); color: var(--ink); color-scheme: light; overflow: hidden; }
.notice-dialog[open] { display: flex; flex-direction: column; animation: sheet-in .28s var(--ease); }
.notice-dialog::backdrop { background: rgba(6,2,22,.6); }
.nd-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 12px; border-bottom: 1px solid var(--line); }
.nd-title { font: 700 21px/1.2 var(--display); color: var(--ink); }
.nd-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 8px; }
.nd-body:focus { outline: none; }
.nd-end { display: block; height: 1px; }
.notice-text { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.65; color: var(--ink); }
.nd-foot { flex: none; display: flex; flex-direction: column; gap: 8px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.nd-foot .btn { width: 100%; }
.nd-foot .btn[disabled] { opacity: .45; cursor: not-allowed; }
.nd-hint { font-size: 13.5px; color: var(--ink-soft); text-align: center; }

.hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { font-size: 15px; line-height: 1.5; font-weight: 600; margin-top: 18px; }
.form-status:empty { display: none; }
.form-status[data-tone="error"] { color: var(--error); background: var(--error-bg); border-radius: 12px; padding: 12px 14px; }
.form-status[data-tone="info"] { color: var(--ink-soft); }

.success { flex: 1; overflow-y: auto; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 14px; padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px)); text-align: center; }
.success[hidden] { display: none; }
.success-mark { align-self: center; }
.success h3 { font-size: 26px; color: var(--ink); }
.success h3:focus { outline: none; }
.success p { color: var(--ink-soft); font-size: 16.5px; }
.success-mark { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #D7EEE3; }
.success-mark svg { width: 28px; height: 28px; fill: none; stroke: #1F5E47; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Visit: a ticket with the stand, then large actions */
.visit { display: flex; flex-direction: column; gap: 14px; }
.ticket { display: grid; overflow: hidden; border-radius: 24px; background: var(--night); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 50px rgba(4,1,20,.4); }
.ticket-stub { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 22px 20px 20px; background: var(--amber); color: var(--night); }
.ticket-label { font: 700 12.5px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.ticket-stand { font: 800 64px/1 var(--display); letter-spacing: -.03em; }
.ticket-fair { font: 600 14px/1.3 var(--body); margin-top: 4px; }
.ticket-facts { margin: 0; display: grid; gap: 16px; padding: 22px 20px; border-top: 2px dashed rgba(255,255,255,.18); }
.ticket-facts div { display: flex; flex-direction: column; gap: 2px; }
.ticket-facts dt { font: 600 12px/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.ticket-facts dd { margin: 0; font: 600 18px/1.35 var(--display); }
.ticket-facts dd small { display: block; font: 500 14px/1.4 var(--body); color: var(--mist); }
.ticket-facts .ticket-program { font: 500 15px/1.5 var(--body); color: var(--cloud); }
.visit-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.action { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px; min-height: 104px; padding: 16px; border-radius: 18px; background: rgba(10,27,51,.82); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 6px 16px rgba(4,1,20,.25); color: #fff; font: 600 15px/1.25 var(--body); text-decoration: none; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease); }
/* Hover lifts the card instead of colouring its edge. */
@media (hover: hover) {
  .action:hover { transform: translateY(-4px); background: var(--night-2); box-shadow: 0 18px 36px rgba(4,1,20,.45); }
}
.action:active { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(4,1,20,.35); }
.action svg { width: 26px; height: 26px; fill: none; stroke: var(--amber); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.visit-contact { color: var(--cloud); font-size: 15px; }
.visit-contact a { font-weight: 600; text-decoration-color: var(--amber); text-underline-offset: 4px; }

/* Footer */
.site-footer { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 48px; padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); color: var(--mist); font-size: 14px; }
.site-footer img { height: 26px; width: auto; }
.noscript { margin: 16px; padding: 14px; border-radius: 12px; background: var(--paper); color: var(--ink); }

/* Wider screens */
@media (min-width: 560px) {
  .hero-actions { flex-direction: row; align-items: center; gap: 22px; }
}
@media (min-width: 720px) {
  .brand img { height: 30px; }
  .fair-logo { height: 38px; }
  .header-divider { height: 32px; margin-inline: 6px; }
  .site-header { gap: 12px; padding-top: calc(22px + env(safe-area-inset-top, 0px)); }
  /* Six tracks: three tiles per row, a short last row shares the width. */
  .product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .product-tile, .product-tile:last-child:nth-child(odd) { grid-column: span 2; }
  .product-tile:nth-child(3n+1):nth-last-child(2), .product-tile:nth-child(3n+2):last-child { grid-column: span 3; }
  .product-tile:nth-child(3n+1):last-child { grid-column: 1 / -1; }
  .product-tile { min-height: 168px; padding: 24px 20px 20px; gap: 10px; }
  .tile-logo { height: 34px; }
  .product-sheet { inset: 0; margin: auto; width: calc(100% - 48px); max-width: 640px; max-height: 88vh; max-height: 88dvh; border-radius: 22px; }
  .sheet-body { padding: 28px 28px 28px; }
  .sticky-cta { left: auto; right: 24px; bottom: 24px; padding: 0; background: none; }
  .sticky-cta .btn { width: auto; padding-inline: 28px; }
  .form-dialog { inset: 0; margin: auto; width: min(640px, calc(100% - 48px)); height: min(860px, calc(100% - 48px)); border-radius: 24px; box-shadow: 0 30px 80px rgba(4,1,20,.55); }
  .fd-head { padding: 20px 28px 16px; }
  .fd-body { padding: 24px 28px 32px; }
  .fd-foot { padding: 14px 28px 18px; }
  .site-footer { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .ticket { grid-template-columns: 240px minmax(0, 1fr); }
  .ticket-stub { justify-content: center; padding: 28px; }
  .ticket-stand { font-size: 76px; }
  .ticket-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: center; gap: 24px; padding: 28px; border-top: 0; border-left: 2px dashed rgba(255,255,255,.18); }
  .visit-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .notice-dialog { inset: 0; margin: auto; width: min(620px, calc(100% - 48px)); height: min(720px, calc(100% - 48px)); border-radius: 22px; }
  .nd-head, .nd-body, .nd-foot { padding-left: 28px; padding-right: 28px; }
  .section { padding-top: 80px; }
}
@media (min-width: 1000px) {
  .hero { padding-top: 56px; padding-bottom: 16px; }
  .product-grid { gap: 20px; }
  .site-footer { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
