/* The Futility Department. Brand colours and type match the launch video. */
/* Fonts are served from this site (assets/fonts), not from Google. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/inter.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/source-serif-4.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/ibm-plex-mono-500.woff2) format("woff2"); }
:root {
  --cream: #F5F2EC;
  --charcoal: #263238;
  --copper: #A64E2D;
  --copper-dark: #8A3F23;
  --light-copper: #D98B66;
  --white: #FFFFFF;
  --grey: #C9CED1;
  --muted: #55626A;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
}
img, video, svg { max-width: 100%; display: block; }
a { color: var(--copper); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.lede { font-size: clamp(1.15rem, 2.4vw, 1.45rem); color: var(--muted); max-width: 34em; }
.label {
  font-family: var(--mono); font-weight: 500; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper);
}

/* Header */
.site-header { border-bottom: 2px solid var(--charcoal); background: var(--cream); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.site-header .logo img { width: 190px; height: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--charcoal); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.nav a[aria-current="page"] { border-bottom: 3px solid var(--copper); }
.nav a:hover { color: var(--copper); }

/* Buttons: shaped like the F2F key */
.btn {
  display: inline-block; background: var(--copper); color: var(--white) !important;
  font-weight: 700; text-decoration: none; padding: 14px 26px; border-radius: 14px;
  border: 3px solid var(--charcoal); box-shadow: 0 6px 0 var(--charcoal);
  transition: transform 0.08s, box-shadow 0.08s;
}
.btn:hover { background: var(--copper-dark); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--charcoal); }
.btn.small { padding: 9px 16px; border-radius: 11px; box-shadow: 0 4px 0 var(--charcoal); font-size: 0.95rem; }
.btn.ghost { background: var(--cream); color: var(--charcoal) !important; }
.btn.ghost:hover { background: var(--white); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

/* Sections */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.dark { background: var(--charcoal); color: var(--cream); }
.dark .lede { color: var(--grey); }
.dark .label { color: var(--light-copper); }
.stack > * + * { margin-top: 18px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { padding: 56px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-fig { margin: 0; }
.hero-fig figcaption { margin-top: 12px; text-align: center; font-family: var(--mono); font-size: 0.9rem; letter-spacing: 0.04em; color: var(--muted); }
.hero-clip { display: block; width: 100%; height: auto; border: 3px solid var(--charcoal); border-radius: 18px; background: var(--cream); }
.hero .area { margin-top: 22px; font-size: 0.98rem; color: var(--muted); }

/* Panels */
.panel { background: var(--white); border: 3px solid var(--charcoal); border-radius: 18px; box-shadow: 8px 8px 0 var(--charcoal); overflow: hidden; }
.panel video { width: 100%; height: auto; }

/* Game */
.game { position: relative; border: 3px solid var(--light-copper); border-radius: 18px; overflow: hidden; background: var(--cream); color: var(--charcoal); text-align: center; }
.game canvas { display: block; width: 100%; aspect-ratio: 16 / 9; touch-action: manipulation; cursor: pointer; }
.game canvas:focus-visible { outline: 4px solid var(--light-copper); outline-offset: -4px; }
.game-panel { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 16px; background: rgba(245, 242, 236, 0.93); }
.game-panel[hidden] { display: none; }
.game-panel h3 { font-size: clamp(1.4rem, 4vw, 2.2rem); }
.game-panel p { color: var(--muted); max-width: 26em; }
.game-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.game-sound { position: absolute; right: 10px; bottom: 10px; font: 600 0.8rem var(--sans); background: var(--cream); color: var(--charcoal); border: 2px solid var(--charcoal); border-radius: 8px; padding: 4px 10px; cursor: pointer; z-index: 2; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.card { background: var(--white); border: 3px solid var(--charcoal); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.tools-header { display: block; width: 100%; height: auto; border: 3px solid var(--charcoal); border-radius: 18px; }
.card .thumb-img { display: block; width: 100%; height: auto; border: 2px solid var(--charcoal); border-radius: 12px; }
.card p { color: var(--muted); }
.card .illus { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.card .downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { counter-increment: step; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; line-height: 1.2; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px;
  background: var(--copper); color: var(--white); border-radius: 12px; border: 3px solid var(--charcoal);
  font-family: var(--sans);
}

.stamp-mark {
  display: inline-block; font-family: var(--mono); font-weight: 500; color: var(--copper);
  border: 3px solid var(--copper); border-radius: 8px; padding: 4px 14px; transform: rotate(-4deg);
  letter-spacing: 0.08em;
}

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--grey); display: flex; gap: 14px; }
.facts li span:first-child { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper); width: 7.5em; flex: none; padding-top: 4px; }

.notice { border-left: 6px solid var(--copper); background: var(--white); padding: 16px 20px; border-radius: 0 12px 12px 0; }

.booking-frame { width: 100%; height: 760px; border: 0; background: var(--white); }

/* Footer */
.site-footer { background: var(--charcoal); color: var(--grey); padding: 40px 0; font-size: 0.95rem; border-top: 1px solid rgba(245, 242, 236, 0.2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.site-footer img { width: 200px; }
.site-footer a { color: var(--cream); }


@media (max-width: 820px) {
  .game-panel { gap: 6px; padding: 8px; }
  .game-panel img { display: none; }
  .game-panel p { font-size: 0.85rem; line-height: 1.3; }
  .game-panel .btn { padding: 8px 16px; font-size: 0.9rem; box-shadow: 0 4px 0 var(--charcoal); }
  .game-sound { font-size: 0.7rem; padding: 2px 7px; right: 6px; bottom: 6px; }
  body { font-size: 17px; }
  section { padding: 52px 0; }
  .hero .wrap, .contact { grid-template-columns: 1fr; }
  .grid3, .steps { grid-template-columns: 1fr; }
  .nav { gap: 10px; }
  .nav a { white-space: nowrap; }
  .nav .btn.small { padding: 8px 12px; font-size: 0.88rem; }
  .nav a.plain { font-size: 0.9rem; }
  .nav a.plain.home { display: none; }
  .site-header .logo img { width: 118px; }
  .site-header .wrap { gap: 8px; }
  .booking-frame { height: 900px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
