/* TNT website. One screen, no page scroll; details live in popups.
   Black and white for now (brand colours come later). Panels are frosted glass
   over a flat brown-950 ground; the hero's cut-outs are an SVG mask (js/shape.js). */

/* :not(#tnt) lifts specificity above the design-system dark-theme blocks in tokens.css */
:root:not(#tnt) {
  --bg:#241301;                              /* brown-950, the brand brown: page ground */
  --ink:#F5F5F4;
  --muted:#A8A8A6;
  --dim:#6E6E6C;
  --accent:#FF9B58;                          /* orange-400: buttons, selections, highlights (logos keep brand #FF8000) */
  --accent-hover:#FFB484;                    /* orange-300 */
  --on-accent:#241301;                       /* brand brown text on orange (white on orange fails contrast) */
  --tint:250,246,236;                        /* lightest cream, #FAF6EC: every frosted panel is tinted with it */
  --glass:rgba(var(--tint),.085);
  --glass-strong:rgba(var(--tint),.15);
  --glass-pop:rgba(36,24,13,.68);
  --stroke:rgba(var(--tint),.2);
  --stroke-soft:rgba(var(--tint),.11);
  --hi:inset 0 1px 0 rgba(var(--tint),.24);   /* top-edge highlight on glass */
  --blur:blur(28px) saturate(1.4);
  --gap:12px;
  --r:28px;
  color-scheme:dark;
}

* { box-sizing:border-box; }
html, body { height:100%; margin:0; }
body {
  overflow:hidden;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font);
  font-size:15px;
  line-height:1.45;
  -webkit-font-smoothing:antialiased;
}
h1, h2 { margin:0; font-weight:var(--w-black); letter-spacing:-0.02em; line-height:1.05; text-wrap:balance; }
p { margin:0; }
button, select, input { font:inherit; color:inherit; }
svg { width:20px; height:20px; flex:none; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.small { font-size:13px; color:var(--muted); }
:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

/* the wall behind the glass: soft light streaks, like the layout reference */
.backdrop {
  position:fixed; inset:0;
  background:var(--bg);
}
.backdrop::after { /* fine grain so the blur reads as frosted, not flat */
  content:""; position:absolute; inset:0; opacity:.07;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* every panel shares one glass recipe */
.glass, .rail, .tile, .book {
  background:var(--glass);
  -webkit-backdrop-filter:var(--blur); backdrop-filter:var(--blur);
  border:1px solid var(--stroke);
  box-shadow:var(--hi), 0 20px 50px rgba(0,0,0,.25);
}

/* ---- frame: a thin glass outline only. No backdrop-filter here, or the panels inside couldn't blur the wall ---- */
.frame {
  position:fixed;
  inset:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  display:grid;
  grid-template-columns:76px minmax(0,1fr) clamp(250px, 23vw, 330px);
  gap:var(--gap);
  padding:var(--gap);
  background:rgba(var(--tint),.03);
  border:1px solid var(--stroke-soft);
  border-radius:40px;
  box-shadow:0 40px 120px rgba(0,0,0,.55), var(--hi);
}

/* ---- rail ---- */
.rail { display:flex; flex-direction:column; align-items:center; gap:clamp(8px, 2.2vh, 22px); padding:12px 8px; border-radius:var(--r); }
/* menu items sit centred in the rail; Chat stays pinned to the bottom (auto margins split the free space) */
.rail-logo + .rail-btn { margin-top:auto; }
.rail-logo { display:grid; place-items:center; width:56px; height:56px; border-radius:18px; } /* no box: the mark sits straight on the rail */
.rail-logo img { width:34px; height:34px; display:block; }
.rail-btn {
  display:grid; place-items:center; gap:2px;
  width:56px; padding:10px 0; border:0; border-radius:18px;
  background:transparent; color:var(--muted); cursor:pointer; text-decoration:none;
  transition:background var(--dur), color var(--dur);
}
.rail-btn span { font-size:10px; font-weight:var(--w-semibold); letter-spacing:.02em; }
.rail-btn:hover { background:var(--glass-strong); color:var(--ink); }
.rail-wa { margin-top:auto; background:var(--accent); color:var(--on-accent); }
.rail-wa:hover { background:var(--accent-hover); color:var(--on-accent); }

/* ---- hero ---- */
.hero { position:relative; min-height:0; }
.hero-bg {
  position:absolute; inset:0; overflow:hidden;
  border-radius:var(--r);  /* fallback before the mask is drawn */
  /* hero photo sits in .slide (js/hero.js); the left side darkens so the headline stays readable */
  background:
    linear-gradient(90deg, rgba(36,19,1,.88) 0%, rgba(36,19,1,.62) 30%, rgba(36,19,1,.15) 55%, rgba(36,19,1,0) 70%),
    linear-gradient(0deg, rgba(36,19,1,.55) 0%, rgba(36,19,1,0) 35%),
    #241301;
  -webkit-mask-size:100% 100%; mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
}

.notch { position:absolute; top:0; left:50%; transform:translateX(-50%); padding:14px 30px 18px; z-index:2; }
.notch img { display:block; height:24px; width:auto; }

.hero-copy { position:absolute; left:40px; top:92px; max-width:560px; display:grid; gap:12px; z-index:1; }
.eyebrow { font-size:12px; font-weight:var(--w-bold); text-transform:uppercase; letter-spacing:.1em; color:var(--accent); }
.hero h1 { font-size:clamp(30px, 3.6vw, 54px); text-transform:uppercase; }
.hero-sub { color:#D6D6D4; font-size:16px; max-width:40ch; }

.hero-chip {
  position:absolute; right:24px; top:24px; z-index:1;
  display:flex; align-items:center; gap:8px;
  padding:8px 14px; border-radius:999px; font-size:13px; font-weight:var(--w-semibold);
}
.dot { width:8px; height:8px; border-radius:50%; background:var(--dim); }
.hero-chip.ok .dot { background:var(--accent); box-shadow:0 0 0 4px rgba(255,155,88,.22); }
.hero-chip.busy .dot { background:var(--accent); }

/* booking card sits in the masked-out corner */
.cutout { position:absolute; left:0; bottom:0; width:min(460px, 62%); padding:var(--gap) var(--gap) 0 0; z-index:1; }

.book { display:grid; gap:12px; padding:20px; border-radius:var(--r); }
.book-head { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.book h2 { font-size:20px; font-weight:var(--w-bold); }
.status { font-size:12px; font-weight:var(--w-bold); padding:4px 10px; border-radius:999px; background:var(--glass-strong); color:var(--muted); white-space:nowrap; }
.status.ok { color:var(--accent); }

fieldset { border:0; margin:0; padding:0; min-width:0; }
.plan-row { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:6px; }
.plan { position:relative; }
.plan input { position:absolute; opacity:0; inset:0; cursor:pointer; }
.plan label {
  display:grid; gap:2px; text-align:center; cursor:pointer;
  padding:10px 4px; border-radius:16px; background:var(--glass);
  border:1px solid var(--stroke-soft); transition:border-color var(--dur), background var(--dur);
}
.plan b { font-size:15px; }
.plan span { font-size:12px; color:var(--muted); font-variant-numeric:tabular-nums; }
.plan input:checked + label { border-color:var(--accent); background:rgba(255,155,88,.14); }
.plan input:checked + label span { color:var(--accent); }
.plan input:focus-visible + label { outline:2px solid var(--accent); outline-offset:2px; }

.book-row { display:grid; grid-template-columns:1.2fr 1fr; gap:6px; }
.pick {
  display:flex; align-items:center; gap:10px; min-width:0;
  padding:8px 12px; border-radius:16px; border:1px solid var(--stroke-soft); background:var(--glass); cursor:pointer; text-align:left;
}
.pick span { display:grid; min-width:0; }
.pick small { font-size:11px; color:var(--muted); font-weight:var(--w-semibold); text-transform:uppercase; letter-spacing:.06em; }
.pick b { font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pick svg { color:var(--ink); }
.select select { appearance:none; border:0; background:transparent; font-weight:var(--w-bold); font-size:14px; padding:0; cursor:pointer; width:100%; }
.select select option { background:#1C1C1E; }


.total-line { font-size:14px; color:var(--muted); }
.total-line b { font-size:26px; color:var(--ink); font-weight:var(--w-black); font-variant-numeric:tabular-nums; letter-spacing:-0.02em; }
.small.warn { color:var(--accent); font-weight:var(--w-semibold); }

/* the website's own button (design-system buttons are on hold) */
.cta {
  display:flex; align-items:center; justify-content:center; gap:10px;
  min-height:52px; border-radius:999px;
  background:var(--accent); color:var(--on-accent);
  font-weight:var(--w-black); font-size:16px; text-decoration:none;
  transition:transform var(--dur-fast), background var(--dur-fast);
}
.cta:hover { background:var(--accent-hover); transform:translateY(-1px); }
.cta[aria-disabled="true"] { background:var(--glass-strong); color:var(--dim); pointer-events:none; }
.fine { font-size:12px; }

/* ---- side tiles ---- */
.side { display:grid; grid-template-rows:auto auto 1fr auto; gap:var(--gap); min-height:0; }
.label-sm { font-size:11px; font-weight:var(--w-bold); text-transform:uppercase; letter-spacing:.1em; color:var(--muted); }
.tile-game { gap:8px; background:linear-gradient(135deg, rgba(var(--tint),.2), rgba(var(--tint),.05)); }
.game-title { font-size:40px !important; font-weight:var(--w-black) !important; letter-spacing:-0.03em; line-height:.95; }
.game-row { display:flex; align-items:center; gap:14px; min-width:0; }
.app-icon { width:64px; height:64px; border-radius:16px; object-fit:cover; flex:none; border:1px solid var(--stroke); box-shadow:0 8px 20px rgba(0,0,0,.35); }
.app-icon-lg { width:72px; height:72px; border-radius:18px; }
.game-text { display:grid; gap:2px; min-width:0; }
.game-open { margin-left:auto; align-self:flex-start; }
.chips { display:flex; flex-wrap:wrap; gap:6px; }
.chip { font-size:12px; font-weight:var(--w-semibold); padding:4px 10px; border-radius:999px; border:1px solid var(--stroke); background:var(--glass); }
.tile { border-radius:var(--r); padding:18px; display:grid; gap:10px; align-content:start; min-height:0; overflow:hidden; }
.tile h2 { font-size:17px; font-weight:var(--w-bold); }
.tile-head { display:flex; justify-content:space-between; align-items:center; }
.tile-foot { margin-top:auto; }
/* "In the box": four product renders (OpenAI gpt-image-1.5, from TNT/references) that sway gently */
.tile-box { grid-template-rows:auto minmax(0,1fr); }
.box3d { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr; gap:6px; min-height:0; height:100%; }
.b3-cell { position:relative; border-radius:14px; background:radial-gradient(70% 70% at 50% 40%, rgba(var(--tint),.13), rgba(var(--tint),.03)); border:1px solid var(--stroke-soft); min-height:0; overflow:hidden; perspective:520px; perspective-origin:50% 35%; --k:1; }
.b3-cell:nth-child(2) { --d:-1.25s; }
.b3-cell:nth-child(3) { --d:-2.5s; }
.b3-cell:nth-child(4) { --d:-3.75s; }
/* the object: a stack of layers in real 3D space (js/box.js builds it) */
.b3-obj { position:absolute; inset:4% 6% 17%; transform-style:preserve-3d; transform-origin:50% 55%; animation:turn 5s ease-in-out var(--d, 0s) infinite alternate; }
.b3-obj > img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; backface-visibility:hidden; }
.b3-layer { transform:translateZ(calc(var(--z) * var(--k) * 1px)); filter:brightness(var(--shade)); }
.b3-front { transform:translateZ(0); }
.b3-sheen { position:absolute; inset:0; transform:translateZ(calc(.6px * var(--k))); pointer-events:none;
  -webkit-mask-size:contain; mask-size:contain; -webkit-mask-position:center; mask-position:center; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  background:linear-gradient(105deg, transparent 32%, rgba(255,255,255,.5) 48%, transparent 64%) 0 0 / 300% 100%;
  opacity:.55; animation:sheen 5s ease-in-out var(--d, 0s) infinite alternate; }
.b3-shadow { position:absolute; left:20%; right:20%; bottom:14%; height:9%; border-radius:50%; background:radial-gradient(closest-side, rgba(0,0,0,.65), transparent); animation:floor 5s ease-in-out var(--d, 0s) infinite alternate; }
.b3-img:not(.b3-front) { position:absolute; inset:4% 6% 17%; width:88%; height:79%; object-fit:contain; } /* before box.js runs */
@keyframes turn {
  0%   { transform:rotateX(7deg) rotateY(-34deg) translateY(3px); }
  50%  { transform:rotateX(7deg) rotateY(0deg) translateY(-5px); }
  100% { transform:rotateX(7deg) rotateY(34deg) translateY(3px); }
}
@keyframes sheen { from { background-position:100% 0; } to { background-position:0% 0; } }
@keyframes floor {
  0%   { transform:translateX(9%) scaleX(.82); opacity:.85; }
  50%  { transform:translateX(0) scaleX(1); opacity:.6; }
  100% { transform:translateX(-9%) scaleX(.82); opacity:.85; }
}
.b3-cell span { position:absolute; left:4px; right:4px; bottom:5px; z-index:2; font-size:10.5px; font-weight:var(--w-semibold); color:var(--ink); text-align:center; line-height:1.15; text-shadow:0 1px 6px rgba(0,0,0,.8); }
.box3d-pop { height:min(380px, 52dvh); }
.box3d-pop .b3-cell span { font-size:13px; bottom:8px; }
.box3d-pop .b3-cell { --k:2; perspective:900px; }
.round {
  display:grid; place-items:center; width:34px; height:34px; border-radius:50%;
  border:1px solid var(--stroke); background:var(--glass); cursor:pointer; color:var(--ink);
}
.round:hover { background:var(--glass-strong); }
.round:disabled { opacity:.35; cursor:not-allowed; }
.round svg { width:18px; height:18px; }

.strip { display:grid; grid-template-columns:repeat(7, minmax(0,1fr)); gap:4px; }
.day {
  display:grid; place-items:center; padding:5px 0; border-radius:10px;
  background:var(--glass); border:1px solid var(--stroke-soft);
  font-size:13px; font-weight:var(--w-bold); font-variant-numeric:tabular-nums;
}
.day small { font-size:9px; font-weight:var(--w-semibold); color:var(--muted); text-transform:uppercase; }
.day.taken { background:transparent; color:var(--dim); text-decoration:line-through; border:1px dashed rgba(255,255,255,.18); }
.day.sel { background:var(--accent); color:var(--on-accent); border-color:var(--accent); }
.day.sel small { color:var(--on-accent); }
.legend { display:flex; align-items:center; gap:6px; }
.key { width:10px; height:10px; border-radius:3px; display:inline-block; }
.key.free { background:var(--glass-strong); border:1px solid var(--stroke); }
.key.taken { border:1px dashed rgba(255,255,255,.3); margin-left:8px; }

.ticks { list-style:none; margin:0; padding:0; display:grid; gap:8px; font-size:14px; }
.ticks li { position:relative; padding-left:20px; }
.ticks li::before { content:""; position:absolute; left:2px; top:.5em; width:7px; height:7px; border-radius:50%; background:var(--accent); }
.big { font-size:34px; font-weight:var(--w-black); letter-spacing:-0.02em; line-height:1; color:var(--accent); }

/* ---- footer: one quiet line under the frame ---- */
.foot {
  position:fixed; left:0; right:0; bottom:calc(10px + env(safe-area-inset-bottom));
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  /* lines up with the frame's inner edge: 16px frame inset + 24px */
  padding:0 calc(max(16px, env(safe-area-inset-right)) + 24px) 0 calc(max(16px, env(safe-area-inset-left)) + 24px);
  font-size:12px; color:var(--dim); white-space:nowrap;
}
.foot-links { display:flex; gap:16px; }
.foot button { border:0; background:none; padding:0; cursor:pointer; color:var(--muted); font-size:12px; text-decoration:underline; text-decoration-color:rgba(255,255,255,.25); text-underline-offset:3px; }
.foot button:hover { color:var(--ink); text-decoration-color:currentColor; }

/* ---- popups: the strongest glass ---- */
.pop {
  width:min(520px, calc(100vw - 32px)); max-height:min(640px, calc(100dvh - 32px));
  padding:24px; border-radius:var(--r); color:var(--ink);
  background:var(--glass-pop);
  -webkit-backdrop-filter:blur(36px) saturate(1.5); backdrop-filter:blur(36px) saturate(1.5);
  border:1px solid var(--stroke);
  box-shadow:var(--hi), 0 30px 80px rgba(0,0,0,.5);
  overflow:auto;
}
.pop[open] { display:grid; gap:16px; animation:pop-in var(--dur-slow) var(--ease-out); }
.pop::backdrop { background:rgba(0,0,0,.25); }
@keyframes pop-in { from { opacity:0; transform:translateY(12px) scale(.98); } to { opacity:1; transform:none; } }
.pop-head { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.pop h2 { font-size:22px; font-weight:var(--w-bold); }
.steps { margin:0; padding-left:22px; display:grid; gap:12px; }
.steps li::marker { color:var(--accent); font-weight:var(--w-black); }
.tbl { width:100%; border-collapse:collapse; font-size:14px; }
.tbl th { text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); padding:0 8px 8px 0; }
.tbl td { padding:10px 8px 10px 0; border-top:1px solid var(--stroke-soft); vertical-align:top; font-variant-numeric:tabular-nums; }
.tbl td:last-child, .tbl th:last-child { text-align:right; padding-right:0; white-space:nowrap; }
.faq { margin:0; display:grid; gap:6px; }
.pop-doc { background:rgba(32,21,11,.93); width:min(640px, calc(100vw - 32px)); max-height:min(760px, calc(100dvh - 32px)); gap:10px !important; }
.pop-doc h3 { margin:10px 0 0; font-size:15px; font-weight:var(--w-bold); }
.pop-doc p { font-size:14px; color:#D6D6D4; line-height:1.55; }
.pop-doc p.small { color:var(--muted); font-size:13px; }
.faq dt { font-weight:var(--w-bold); margin-top:8px; }
.faq dd { margin:0; color:#D6D6D4; font-size:14px; }

.cal-nav { display:flex; align-items:center; justify-content:center; font-size:14px; color:var(--muted); }
.cal { display:grid; grid-template-columns:repeat(7, minmax(0,1fr)); gap:4px; }
.cal .dow { font-size:11px; text-align:center; color:var(--muted); font-weight:var(--w-semibold); padding-bottom:4px; }
.cal button {
  aspect-ratio:1; border:1px solid var(--stroke-soft); border-radius:12px; background:var(--glass); cursor:pointer;
  font-weight:var(--w-bold); font-variant-numeric:tabular-nums; font-size:14px;
}
.cal button:hover:not(:disabled) { border-color:var(--accent); }
.cal button:disabled { background:transparent; border-color:transparent; color:#4A4A49; cursor:not-allowed; }
.cal button.taken { text-decoration:line-through; border:1px dashed rgba(255,255,255,.18); color:var(--dim); }
.cal button.in { background:rgba(255,155,88,.1); border-color:rgba(255,155,88,.6); color:var(--accent); }
.cal button.start, .cal button.end { background:var(--accent); color:var(--on-accent); border-color:var(--accent); }
.cal button { position:relative; }
.cal button small { position:absolute; top:2px; left:0; right:0; font-size:9px; font-weight:var(--w-bold); text-transform:uppercase; letter-spacing:.06em; color:var(--muted); line-height:1; }
.cal button.start small, .cal button.end small { color:var(--on-accent); }
.cal button.past { background:transparent; border-color:transparent; color:#3A3A39; }
.cal button.out { color:var(--dim); background:transparent; border:1px dotted var(--stroke-soft); }
.cal button.nofit { color:var(--dim); background:transparent; border:1px solid var(--stroke-soft); }
.cal button.pv { background:rgba(255,155,88,.14); border-color:rgba(255,155,88,.55); }
.pop-cal { width:min(480px, calc(100vw - 24px)); max-height:calc(100dvh - 24px); gap:10px !important; padding:18px; background:rgba(32,21,11,.9); }
.pop-cal .cal { gap:3px; }
.pop-cal .cal button { aspect-ratio:auto; height:clamp(30px, 4.6vh, 42px); border-radius:10px; }
.pop-cal .cta { min-height:46px; }
@media (max-height:700px) { .pop-cal .cal-legend { display:none; } .pop-cal .plan span { display:none; } }
.pop-cal .pop-head h2 { font-size:20px; }
.pop-cal legend { margin-bottom:8px; }
.pop-cal .plan label { padding:8px 4px; }
.pop-cal .cta { border:0; cursor:pointer; font:inherit; font-weight:var(--w-black); font-size:16px; width:100%; }
.cal-legend { display:flex; align-items:center; gap:6px 14px; flex-wrap:wrap; }
.cal-legend > span { display:inline-flex; align-items:center; gap:6px; }
.key.nofit { border:1px solid var(--stroke); }
.key.sel { background:var(--accent); }
.cal-legend .key.taken { margin-left:0; }
.cal-summary { display:grid; grid-template-columns:1.3fr 1fr auto; gap:8px; padding:12px 14px; border-radius:16px; background:var(--glass); border:1px solid var(--stroke-soft); }
.cal-summary div { display:grid; gap:2px; min-width:0; }
.cal-summary small { font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; font-weight:var(--w-semibold); }
.cal-summary b { font-size:14px; white-space:nowrap; }
.cal-summary.empty { display:block; font-size:13px; color:var(--accent); font-weight:var(--w-semibold); }

/* ---- shorter laptop screens ---- */
@media (max-height:780px) and (min-width:861px) {
  .hero-copy { top:84px; gap:10px; }
  .hero h1 { font-size:clamp(28px, 3.2vw, 44px); }
  .hero-sub { font-size:15px; }
  .book { gap:10px; padding:16px; }
  .fine { display:none; }
  .ticks { gap:6px; font-size:13px; }
  .tile { padding:14px 16px; gap:8px; }
  .game-title { font-size:30px !important; }
  .app-icon { width:52px; height:52px; border-radius:13px; }
  .big { font-size:28px; }
  .tile-foot, .day small, .tile-extra { display:none; }
  .side { gap:10px; }
}

/* ---- phones and small tablets: rail becomes a bottom bar, side tiles become popups ---- */
@media (max-width:860px) {
  .frame {
    inset:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr) auto;
    padding:8px; gap:8px; border-radius:32px;
  }
  .side { display:none; }
  .rail { grid-row:2; flex-direction:row; justify-content:space-between; padding:6px; overflow-x:auto; }
  .rail-btn { width:auto; min-width:0; flex:1; padding:8px 2px; }
  .rail-btn span { font-size:9px; }
  .rail-wa { margin-top:0; }
  .rail-logo { display:none; }
  .rail-logo + .rail-btn { margin-top:0; }
  .rail { gap:6px; }
  .hide-sm { display:none; }
  .foot { bottom:calc(8px + env(safe-area-inset-bottom)); gap:12px; font-size:11px; padding:0 calc(max(8px, env(safe-area-inset-right)) + 14px) 0 calc(max(8px, env(safe-area-inset-left)) + 14px); }
  .foot button { font-size:11px; }
  .foot-links { gap:12px; }
  .hero-bg::after { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg, rgba(36,19,1,.92) 0%, rgba(36,19,1,.78) 60%, rgba(36,19,1,.45) 100%); }
  .notch img { height:20px; }
  .notch { padding:10px 22px 14px; }
  .hero-copy { left:20px; right:20px; top:72px; gap:8px; }
  .hero h1 { font-size:clamp(28px, 8vw, 40px); }
  .hero-sub { font-size:14px; max-width:24ch; }
  .hero-chip { display:none; }
  .cutout { width:100%; padding:8px 0 0; }
  .book { padding:14px; gap:10px; }
  .fine { display:none; }
}
@media (max-width:860px) and (max-height:720px) {
  .hero-sub, .eyebrow { display:none; }
  .hero-copy { top:64px; }
  .hero h1 { font-size:26px; }
}
@media (max-height:600px) {
  .hero { overflow-y:auto; }
  .cutout { position:relative; margin-top:220px; }
}

@media (prefers-reduced-motion: reduce) { * { animation:none !important; transition:none !important; } }

/* =====================================================================
   Cards, round 2 (reference: references/for the cards inside.jpg)
   Varied surfaces, notched corner buttons, tall day pills, larger and
   lighter headings, pill controls. Applies to both colour versions.
   ===================================================================== */
:root:not(#tnt) {
  /* side cards are dark browns, one shade per card: days darkest, delivery lightest */
}

/* layout of the side column: every card sits in a wrapper with its notch button beside it */
.side { grid-template-rows:auto auto minmax(0,1fr) auto; }
.card-wrap { position:relative; display:grid; min-height:0; }
.card-wrap > .tile {
  min-height:0;
  /* the tab cut-out in the top-right corner is an SVG mask drawn by js/notch.js */
  -webkit-mask-size:100% 100%; mask-size:100% 100%; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
}
.notch-btn { position:absolute; top:8px; right:8px; width:40px; height:40px; z-index:2;  /* centred in the 56px pocket */
  background:#F7F2EA; color:#241301; border:0; box-shadow:0 6px 16px rgba(0,0,0,.35); transition:transform var(--dur-fast); }
.notch-btn:hover { background:#fff; transform:rotate(45deg); }
.notch-btn svg { width:18px; height:18px; }

/* headings: bigger, lighter */
.t-title { font-size:24px; font-weight:var(--w-medium); letter-spacing:-0.025em; line-height:1.05; padding-right:52px; }
.label-sm { padding-right:52px; }
.t-sub { display:flex; align-items:center; gap:6px; font-size:13px; color:var(--muted); }
.t-sub svg { width:15px; height:15px; color:var(--accent); }

/* next 7 days: tall day pills + dot line */
.side > .card-wrap > .tile-days { gap:12px; background:linear-gradient(160deg, #2A1606 0%, #1C0B01 100%); border-color:rgba(255,155,88,.12); -webkit-backdrop-filter:none; backdrop-filter:none; }
.tile-days .strip { grid-template-columns:repeat(7, minmax(0,1fr)); gap:5px; }
.tile-days .day { border-radius:999px; padding:10px 0 9px; gap:1px; background:rgba(var(--tint),.07); border:1px solid var(--stroke-soft); }
.tile-days .day b { font-size:17px; font-weight:var(--w-semibold); line-height:1.1; }
.tile-days .day small { font-size:10px; font-weight:var(--w-medium); text-transform:none; color:var(--muted); }
.tile-days .day.sel { background:var(--accent); border-color:var(--accent); color:var(--on-accent); }
.tile-days .day.sel small { color:var(--on-accent); }
.tile-days .day.taken { background:transparent; border-style:dashed; }
.tile-days .day.taken b { text-decoration:line-through; color:var(--dim); }
.dots { display:grid; grid-template-columns:repeat(7, minmax(0,1fr)); align-items:center; position:relative; height:10px; }
.dots::before { content:""; position:absolute; left:6%; right:6%; top:50%; border-top:1px dashed var(--stroke); }
.dot-d { justify-self:center; width:5px; height:5px; border-radius:50%; background:var(--muted); position:relative; }
.dot-d.taken { background:transparent; border:1px solid var(--dim); }
.dot-d.sel { background:var(--accent); }
.dot-d.start { width:10px; height:10px; box-shadow:0 0 0 3px rgba(255,155,88,.25); }

/* game: the accent card */
.side > .card-wrap > .tile-game { background:linear-gradient(150deg, #3D240F 0%, #2C1707 100%); color:var(--ink); border-color:rgba(255,155,88,.14); -webkit-backdrop-filter:none; backdrop-filter:none; }
.tile-game .label-sm { color:var(--accent); }
.tile-game .game-title { font-size:38px !important; font-weight:var(--w-semibold) !important; letter-spacing:-0.035em; }
.tile-game .chip { background:rgba(var(--tint),.08); color:var(--ink); border-color:rgba(var(--tint),.16); }

/* in the box: the light card, so the renders sit on cream */
.side > .card-wrap > .tile-box { background:linear-gradient(160deg, #33200F 0%, #241301 100%); color:var(--ink); border-color:rgba(255,155,88,.12); -webkit-backdrop-filter:none; backdrop-filter:none; gap:10px; }
.tile-box .b3-cell { background:radial-gradient(70% 70% at 50% 40%, rgba(var(--tint),.11), rgba(var(--tint),.03)); border-color:rgba(var(--tint),.09); }

/* delivery: the mid card with a big number */
.side > .card-wrap > .tile-delivery { background:linear-gradient(160deg, #47331F 0%, #362613 100%); border-color:rgba(255,155,88,.12); -webkit-backdrop-filter:none; backdrop-filter:none; gap:6px; }
.tile-delivery .label-sm { color:var(--accent); }
.tile-delivery .big { font-size:46px; font-weight:var(--w-semibold); letter-spacing:-0.04em; color:#F7F2EA; margin:2px 0; }
.tile-delivery .small { color:#D9C8B6; }

/* booking card: bigger lighter title, pill pickers, CTA with an icon circle */
.book h2 { font-size:26px; font-weight:var(--w-medium); letter-spacing:-0.025em; }
.pick { border-radius:999px; padding:6px 14px 6px 6px; gap:10px; align-items:center; }
.pick .ico { width:38px; height:38px; flex:none; border-radius:50%; display:grid; place-items:center; background:rgba(255,155,88,.16); color:var(--accent); }
.pick .ico svg { width:18px; height:18px; color:var(--accent); }
.pick .pt { display:grid; min-width:0; flex:1; }
.pick .chev { width:16px; height:16px; color:var(--muted); flex:none; }
.select { position:relative; }
.cta { justify-content:flex-start; padding:5px 22px 5px 5px; gap:14px; min-height:54px; }
.cta-ico { width:44px; height:44px; border-radius:50%; display:grid; place-items:center; background:#241301; color:var(--accent); flex:none; }
.cta-ico svg { width:20px; height:20px; }
.cta-label { flex:1; text-align:center; padding-right:30px; }
.cta[aria-disabled="true"] .cta-ico { background:rgba(255,255,255,.06); color:var(--dim); }

/* round 2 on shorter laptop screens */
@media (max-height:780px) and (min-width:861px) {
  .t-title { font-size:21px; }
  .tile-days .day { padding:7px 0 6px; }
  .tile-days .day b { font-size:15px; }
  .tile-game .game-title { font-size:32px !important; }
  .tile-delivery .big { font-size:36px; }
  .book h2 { font-size:22px; }
  .pick .ico { width:32px; height:32px; }
  .cta { min-height:48px; } .cta-ico { width:38px; height:38px; }
}
.book-row { grid-template-columns:1fr 1fr; }
.pick { padding-right:10px; gap:8px; }
.select select { min-width:0; text-overflow:ellipsis; }
.tile-days .day { padding:14px 0 12px; }
@media (max-height:780px) and (min-width:861px) { .tile-days .day { padding:8px 0 7px; } }
@media (max-width:860px) {
  .pick .ico { display:none; }
  .pick { padding:8px 10px 8px 16px; }
  .book h2 { font-size:22px; }
}


/* =====================================================================
   Final colour scheme (formerly version 2, committed 2026-11-22):
   brown-950 page, frosted brown-950 frame, dark brown cards, orange-950 popups.
   These rules override the earlier cream-glass styles above.
   ===================================================================== */

/* :not(#tnt) matches the specificity site.css uses for its colour variables, so these win */
:root:not(#tnt) {
  --bg:#241301;                     /* brown-950: the page ground behind the frame */
  --panel:rgba(30,9,0,.92);         /* orange-950 #1E0900, a touch of glass */
  --glass:rgba(var(--tint),.06);    /* inner pills and buttons: faint cream on the dark panels */
  --glass-strong:rgba(var(--tint),.11);
  --glass-pop:rgba(30,9,0,.9);
  --stroke:rgba(255,155,88,.2);     /* outlines pick up the accent orange */
  --stroke-soft:rgba(255,155,88,.11);
  --hi:inset 0 1px 0 rgba(255,155,88,.14);
}

/* panels: the side cards and the rail and booking card are dark brown (site.css / below) */
html .tile { background:var(--panel); }
/* the rail and booking card are dark brown, matching the side cards */
html .rail { background:linear-gradient(180deg, #2E1A08 0%, #241301 55%, #1C0F02 100%); border-color:rgba(255,155,88,.12); }
html .book { background:linear-gradient(160deg, #33200F 0%, #241301 100%); border-color:rgba(255,155,88,.12); }
/* frame: brown-950 #241301, frosted (soft gradient + fine grain + light top edge) so the dark panels sit on a lighter surface */
html .frame {
  background:linear-gradient(160deg, rgba(52,32,12,.97) 0%, rgba(36,19,1,.96) 45%, rgba(30,15,1,.97) 100%);
  border-color:rgba(255,236,210,.16);
  box-shadow:0 40px 120px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,236,210,.18), inset 0 0 0 1px rgba(255,236,210,.04);
}
html .frame::before { /* grain: sits on the frame's surface, under the panels */
  content:""; position:absolute; inset:0; border-radius:inherit; z-index:-1; pointer-events:none; opacity:.09;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html .pop-doc { background:rgba(30,9,0,.95); }
html .pop-cal { background:rgba(30,9,0,.94); }

/* hero fades blend into the orange-900 ground instead of brown-950 */
html .hero-bg {
  background:
    linear-gradient(90deg, rgba(30,9,0,.9) 0%, rgba(30,9,0,.62) 30%, rgba(30,9,0,.15) 55%, rgba(30,9,0,0) 70%),
    linear-gradient(0deg, rgba(30,9,0,.6) 0%, rgba(30,9,0,0) 35%),
    #1E0900;
}
@media (max-width:860px) {
  html .hero-bg::after { background:linear-gradient(90deg, rgba(30,9,0,.92) 0%, rgba(30,9,0,.78) 60%, rgba(30,9,0,.45) 100%); }
}

/* =====================================================================
   Responsive pass (2026-11-22). Sizes tested: 1920x1080, 1536x864,
   1440x900, 1366x768, 1366x620, 1280x720, 1024x768, 960x1000,
   820x1180, 768x1024, 430x932, 390x844, 375x667, 360x740.
   ===================================================================== */

/* wide screens: the side column and booking card grow with the window (desktop layout only) */
@media (min-width:861px) {
  .frame { grid-template-columns:76px minmax(0,1fr) clamp(250px, 22vw, 400px); }
  .cutout { width:min(max(460px, 34%), 74%); }
}

/* the hero and booking card adapt to their own width (container queries), not just the window's */
.hero { container:hero / inline-size; }
.book { container:book / inline-size; }
@container hero (max-width:760px) {
  .hero-chip { display:none; }                     /* no room beside the logo tab */
}
@container book (max-width:380px) {
  .pick .ico { display:none; }                     /* give the date and area text the room */
  .pick b, .select select { font-size:13px; }
  .pick small { font-size:10px; }
  .pick { padding:8px 10px 8px 16px; }
  .book h2 { font-size:22px; }
  .cta-label { padding-right:0; font-size:15px; }
}
@container book (max-width:270px) {
  .book-row { grid-template-columns:1fr; }         /* stack the two pills */
  .book-head { flex-wrap:wrap; }
}

/* short screens: the rail is what overflowed, so tighten it first */
@media (max-height:780px) and (min-width:861px) {
  .rail { gap:4px; padding:10px 8px; }
  .rail-btn { padding:6px 0; }
  .rail-logo { height:46px; }
}
@media (max-height:680px) and (min-width:861px) {
  .rail-btn span { display:none; }                 /* icons only; the popups are titled */
  .rail-btn { padding:9px 0; }
  .t-sub, .dots { display:none; }
  .tile-game .chips { display:none; }
  .hero-sub, .eyebrow { display:none; }
  .hero-copy { top:76px; }
  .hero h1 { font-size:clamp(24px, 2.8vw, 36px); }
  .tile-delivery .small:not(.tile-extra) { font-size:12px; }
  .tile-delivery .big { font-size:30px; }
  #range-text { display:none; }                   /* the dates are already on the Dates pill */
  .book { gap:8px; padding:14px; }
  .total-line b { font-size:22px; }
}
.rail { overflow-y:auto; scrollbar-width:none; }     /* last resort on tiny heights: the rail scrolls, the page never does */
.rail::-webkit-scrollbar { display:none; }

/* ---- the date picker, restyled as a card and finished ---- */
.pop-cal { background:linear-gradient(160deg, #33200F 0%, #241301 100%) !important; border-color:rgba(255,155,88,.14); }
.pop-cal .pop-head h2 { font-size:24px; font-weight:var(--w-medium); letter-spacing:-0.025em; }
.pop-cal .plan label { border-radius:999px; padding:10px 4px; }
.pop-cal .cal button { border-radius:14px; }
.pop-cal .cal-summary { background:rgba(var(--tint),.06); border-color:rgba(255,155,88,.14); border-radius:20px; }
/* Done was inheriting the WhatsApp button's left-aligned icon layout */
#cal-done { justify-content:center; padding:0 24px; gap:0; }
/* dates where your rental won't fit: hatched, so they read as unavailable before you click */
.cal button.nofit {
  background:repeating-linear-gradient(135deg, rgba(var(--tint),.06) 0 4px, transparent 4px 8px) !important;
  border:1px solid rgba(var(--tint),.08) !important; color:var(--dim) !important; text-decoration:none;
}
.cal-legend .key.nofit { background:repeating-linear-gradient(135deg, rgba(var(--tint),.35) 0 2px, transparent 2px 4px); border:1px solid rgba(var(--tint),.2); }
@media (max-width:400px) { .book-row { grid-template-columns:1fr; } }   /* small phones: dates and area stack */

/* booking modes (2026-11-22): the dates line carries one action; the 14-day card is tappable */
.linkbtn { border:0; background:none; padding:0; font:inherit; font-weight:var(--w-semibold); color:var(--accent); cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.linkbtn:hover { color:var(--accent-hover); }
.tile-days .strip { row-gap:6px; }
.tile-days .day { font:inherit; color:inherit; cursor:pointer; padding:8px 0 7px; }
.tile-days .day b { font-size:15px; }
.tile-days .day:hover:not(:disabled) { border-color:var(--accent); }
.tile-days .day:disabled { cursor:not-allowed; }
.tile-days .day.past { background:transparent; border-color:transparent; color:var(--dim); }
.tile-days .day.past small { color:var(--dim); }
.tile-days .day.nofit { background:repeating-linear-gradient(135deg, rgba(var(--tint),.06) 0 4px, transparent 4px 8px); color:var(--dim); }
.tile-days .day.start { box-shadow:0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.pop-cal .plan-row { grid-template-columns:repeat(4, minmax(0,1fr)); row-gap:6px; }
@media (max-height:780px) and (min-width:861px) { .tile-days .day { padding:5px 0 4px; } .tile-days .day b { font-size:13px; } }

/* =====================================================================
   Phones and tablets (<=860px): a scrolling version (2026-11-22).
   First screen = hero + booking card, as before. Scroll down for the four
   side cards (Next 14 days, game, in the box, delivery), then the footer.
   The menu stays pinned to the bottom. Laptops keep the one-screen layout.
   ===================================================================== */
@media (max-width:860px) {
  html, body { height:auto; }
  body { overflow-x:hidden; overflow-y:auto; }
  .frame {
    position:relative; inset:auto;
    margin:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) 0 max(8px, env(safe-area-inset-left));
    grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto;
  }
  .hero { height:calc(100svh - 150px); min-height:540px; }      /* leaves the top of the first card peeking out below */
  .side { display:grid; grid-row:2; grid-template-columns:minmax(0,1fr); grid-template-rows:none; gap:8px; }
  .card-grow > .tile-box { min-height:380px; }
  .tile-box .box3d { min-height:300px; }
  .rail {
    position:fixed; z-index:30;
    left:max(8px, env(safe-area-inset-left)); right:max(8px, env(safe-area-inset-right)); bottom:max(8px, env(safe-area-inset-bottom));
    -webkit-backdrop-filter:blur(20px); backdrop-filter:blur(20px);
    box-shadow:0 -10px 30px rgba(0,0,0,.35);
  }
  .foot { position:static; padding:18px calc(max(8px, env(safe-area-inset-right)) + 14px) calc(96px + env(safe-area-inset-bottom)) calc(max(8px, env(safe-area-inset-left)) + 14px); }
}
@media (min-width:600px) and (max-width:860px) {
  .side { grid-template-columns:repeat(2, minmax(0,1fr)); }      /* tablets: two cards per row */
  .card-grow > .tile-box { min-height:420px; }
}

/* =====================================================================
   Hero carousel (js/hero.js): 11 key-art slides, crossfade + slow zoom
   ===================================================================== */
html body .hero-bg { background:#1E0900; }                       /* slides replace the single background image */
.slide { position:absolute; inset:0; z-index:0; background:center / cover no-repeat; background-position:var(--pos);
  opacity:0; transition:opacity 1.2s var(--ease-out); transform-origin:var(--pos); }
.slide.on { opacity:1; animation:kenburns 8s ease-out both; }
@keyframes kenburns { from { transform:scale(1.04); } to { transform:scale(1); } }   /* zooms out towards the slide's focal point, never cropping people */
/* the darkening that keeps the headline readable now sits above the slides */
html body .hero-bg::before { content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(90deg, rgba(30,9,0,.9) 0%, rgba(30,9,0,.62) 30%, rgba(30,9,0,.15) 55%, rgba(30,9,0,0) 70%),
    linear-gradient(0deg, rgba(30,9,0,.6) 0%, rgba(30,9,0,0) 35%); }
.hero-dots { position:absolute; right:22px; bottom:22px; z-index:3; display:flex; gap:6px; padding:8px 10px; border-radius:999px; }
.hero-dot { width:7px; height:7px; padding:0; border:0; border-radius:999px; background:rgba(var(--tint),.4); cursor:pointer; transition:width var(--dur), background var(--dur); }
.hero-dot:hover { background:rgba(var(--tint),.75); }
.hero-dot.on { width:20px; background:var(--accent); }
@media (max-width:860px) {
  .slide { background-position:var(--pos-m); transform-origin:var(--pos-m); }
  html body .hero-bg::before { background:linear-gradient(0deg, rgba(30,9,0,.6) 0%, rgba(30,9,0,0) 35%); }
  .hero-dots { display:none; }   /* phones: no free spot clear of the text; slides autoplay and swipe instead */
}
@container hero (max-width:760px) and (min-width:500px) { .hero-dots { bottom:auto; top:20px; } }
@media (prefers-reduced-motion: reduce) { .slide.on { animation:none; } }

/* =====================================================================
   Hero photo (js/hero.js, 2026-11-23): one Pexels photo replaces the GTA key-art carousel.
   Wide heroes: photo on the right at full height, its left edge fading into the ground.
   ===================================================================== */
.hero-photo.on { animation:kenburns 10s ease-out both; }
.hero-wide .hero-photo { left:auto; right:0; height:100%; aspect-ratio:2 / 3; max-width:100%;
  background-size:cover;
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 38%); mask-image:linear-gradient(90deg, transparent 0%, #000 38%); }
.hero-wide::before { background:linear-gradient(0deg, rgba(30,9,0,.55) 0%, rgba(30,9,0,0) 30%) !important; }
/* tall heroes (phones, tablets): darken from the top behind the headline only, so the photo shows below it */
@media (max-width:860px) {
  html body .hero-bg::after { background:linear-gradient(180deg, rgba(30,9,0,.88) 0%, rgba(30,9,0,.7) 30%, rgba(30,9,0,.2) 55%, rgba(30,9,0,0) 70%); }
}

/* game card tags with emojis (picked 2026-11-23 over line icons) */
.tile-game .chip { display:inline-flex; align-items:center; gap:6px; }
.tile-game .chip svg { width:14px; height:14px; color:var(--accent); }
.tile-game .chip .emo { font-size:13px; line-height:1; }
.chips[hidden] { display:none; }
.tile-game .chips-emoji .chip { gap:5px; padding-left:8px; } .tile-game .chip .emo { font-size:12px; }
/* keep the three tags on one line: tighter chips, and no icons when the card is narrow (1280-ish laptops) */
.tile-game { container:game / inline-size; }
.tile-game .chip { gap:5px; padding:4px 9px 4px 8px; }
.tile-game .chip svg { width:13px; height:13px; }
@container game (max-width:258px) { .tile-game .chips { gap:4px; } .tile-game .chip { font-size:11px; gap:4px; padding:4px 7px 4px 6px; } .tile-game .chip svg { width:12px; height:12px; } .tile-game .chip .emo { font-size:11px; } }
