/* studionox.net — one stylesheet. The studio pages are "night": the colours of the Studio Nox logo.
   Each product page adds its own look on top: body.ww (The Day I Became a Werewolf: the game's
   green CRT), body.oh (Office Hours: the app's notebook paper and sticky notes) and body.ply
   (Plymentor: the app's own colours, as on plymentor.com). No inline styles anywhere: the pages'
   Content-Security-Policy only allows this file. */

/* ---------- Fonts (self-hosted, SIL Open Font License: assets/fonts/LICENSE-*.txt) ---------- */

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/jost-latin-wght-normal.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: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/jost-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Patrick Hand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/patrick-hand-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/courier-prime-latin-700-normal.woff2') format('woff2');
}

/* ---------- Tokens ---------- */

:root {
  --night: #08080d;
  --night-2: #0f0f17;
  --night-3: #16161f;
  --line: rgba(236, 233, 228, 0.11);
  --line-strong: rgba(236, 233, 228, 0.24);
  --cream: #ece9e4;
  --text: #c8c5be;
  --muted: #8e8a83;
  --radius: 16px;
  --font: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', 'SF Mono', Consolas, 'Liberation Mono', 'Courier New', monospace;
  --hand: 'Patrick Hand', 'Segoe Print', 'Bradley Hand', cursive;
  --type: 'Courier Prime', 'Courier New', monospace;
  color-scheme: dark;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 18px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--cream); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--cream); font-weight: 500; line-height: 1.15; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; color: var(--night); }

/* ---------- Header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 13, 0.84);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand:hover { color: #fff; }
.brand img { width: 36px; height: 36px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 16px;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}
.nav a:hover { background: rgba(236, 233, 228, 0.06); color: var(--cream); }
.nav a[aria-current='page'] { background: rgba(236, 233, 228, 0.1); color: var(--cream); }
.nav .nav-cta { margin-left: 8px; border: 1px solid var(--line-strong); color: var(--cream); }
.nav .nav-cta:hover { border-color: var(--cream); }

/* Phones: the same links in a disclosure menu (no JavaScript). */
.menu { display: none; position: relative; }
.menu summary {
  padding: 8px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--cream);
  font-size: 15px;
  list-style: none;
  cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: rgba(236, 233, 228, 0.1); }
.menu nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: flex;
  flex-direction: column;
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #111119;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.menu nav a { padding: 12px 14px; border-radius: 10px; color: var(--text); text-decoration: none; }
.menu nav a:hover, .menu nav a[aria-current='page'] { background: rgba(236, 233, 228, 0.08); color: var(--cream); }

/* ---------- Common pieces ---------- */

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.lead { color: var(--text); font-size: clamp(18px, 2vw, 21px); line-height: 1.6; }
.section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section h2 { margin: 0 0 14px; font-size: clamp(28px, 3.6vw, 40px); font-weight: 450; letter-spacing: -0.01em; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 17px/1.2 var(--font);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.btn-primary { background: var(--cream); color: #0b0b10; }
.btn-primary:hover { background: #fff; color: #0b0b10; }
.btn-ghost { border-color: var(--line-strong); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); color: #fff; }

/* ---------- Home ---------- */

.home-hero { position: relative; isolation: isolate; overflow: hidden; padding: 92px 0 104px; text-align: center; }
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 52% 46% at 50% 34%, rgba(104, 114, 230, 0.2), transparent 72%),
    radial-gradient(ellipse 26% 22% at 50% 30%, rgba(236, 233, 228, 0.07), transparent 70%);
}
/* A few faint stars. */
.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.6;
  background-image:
    radial-gradient(1.4px 1.4px at 7% 18%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 15% 62%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 23% 34%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 31% 82%, #fff 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 38% 12%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 46% 92%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 58% 8%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 64% 74%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 71% 26%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 79% 56%, #fff 50%, transparent 52%),
    radial-gradient(1.3px 1.3px at 86% 14%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 92% 70%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 96% 38%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 4% 88%, #fff 50%, transparent 52%);
}
.home-logo { display: block; width: min(660px, 94%); margin: 0 auto 48px; }
.home-hero h1 { max-width: 16ch; margin: 0 auto 20px; font-size: clamp(34px, 5.4vw, 60px); font-weight: 400; letter-spacing: -0.015em; }
.home-hero .lead { max-width: 660px; margin: 0 auto 34px; }
.home-hero .actions { justify-content: center; }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--night-2);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.product:hover { border-color: var(--line-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); transform: translateY(-3px); }
.product:has(h3 a:focus-visible) { outline: 2px solid var(--cream); outline-offset: 3px; }
.product h3 a:focus-visible { outline: none; }
.product-media { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: #000; }
.product-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-oh { background: #0c232a; }
.media-oh img { padding: 5% 0; object-fit: contain; }
.media-ply img { object-position: 0 0; }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 22px; }
.product-tags { margin: 0 0 8px; color: var(--muted); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.product h3 { margin: 0 0 10px; font-size: 25px; font-weight: 500; }
.product h3 a { color: inherit; text-decoration: none; }
.product h3 a::after { content: ''; position: absolute; inset: 0; } /* the whole card is the link */
.product-body > p:not([class]) { font-size: 17px; }
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.product-foot .status { color: var(--accent); }
.product-foot .more { color: var(--cream); font-size: 20px; line-height: 1; transition: transform 0.2s; }
.product:hover .more { transform: translateX(4px); }
.p-ww { --accent: #7af5a6; }
.p-oh { --accent: #ffd34d; }
.p-ply { --accent: #95c95a; }

.about { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 56px; align-items: start; }
.about-grid h2 { margin: 0; }

.cta-band {
  margin-bottom: 104px;
  padding: 64px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(104, 114, 230, 0.16), transparent 70%),
    var(--night-2);
  text-align: center;
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(28px, 3.6vw, 40px); font-weight: 450; }
.cta-band .lead { max-width: 560px; margin: 0 auto 28px; }

/* ---------- Simple pages (contact, privacy, thanks, 404) ---------- */

.page-head { padding: 76px 0 28px; }
.page-head h1 { margin: 0 0 14px; font-size: clamp(38px, 5.4vw, 60px); font-weight: 400; letter-spacing: -0.015em; }
.page-head .lead { max-width: 680px; }
.prose { max-width: 720px; padding-bottom: 96px; }
.prose h2 { margin: 40px 0 10px; font-size: 24px; font-weight: 500; }
.prose .small { color: var(--muted); font-size: 15px; }
.center-page { padding: 120px 0 140px; text-align: center; }
.center-page .lead { max-width: 560px; margin: 0 auto 30px; }
.center-page .actions { justify-content: center; }

/* ---------- Contact form ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-bottom: 104px; }
.form { display: grid; gap: 22px; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--night-2); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { color: var(--cream); font-size: 15.5px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #0a0a11;
  color: var(--cream);
  font: 400 17px/1.45 var(--font);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 190px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cream); outline: none; box-shadow: 0 0 0 3px rgba(236, 233, 228, 0.16); }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 46px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--cream) 50%),
    linear-gradient(135deg, var(--cream) 50%, transparent 50%);
  background-position: calc(100% - 24px) 54%, calc(100% - 18px) 54%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field select option { background: #111119; color: var(--cream); }
.hp { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.form-status { margin: 0; font-size: 16px; }
.form-status:empty { display: none; }
.form-status[data-kind='sending'] { color: var(--muted); }
.form-status[data-kind='ok'] { color: #8fe3a7; }
.form-status[data-kind='error'] { color: #ff9e92; }
.form-note { margin: 0; color: var(--muted); font-size: 14.5px; }
.form-note a { color: var(--text); }
.side-list { display: grid; gap: 26px; margin: 8px 0 0; padding: 0; list-style: none; }
.side-list h2 { margin: 0 0 6px; font-size: 19px; font-weight: 500; }
.side-list p { margin: 0; color: var(--text); font-size: 16.5px; }

/* ---------- Footer ---------- */

.foot { padding: 56px 0 64px; border-top: 1px solid var(--line); background: #050508; color: var(--muted); font-size: 15px; text-align: center; }
.foot-logo { display: block; width: 170px; margin: 0 auto 26px; opacity: 0.85; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; margin-bottom: 20px; }
.foot-nav a { color: var(--text); text-decoration: none; }
.foot-nav a:hover { color: var(--cream); text-decoration: underline; }
.foot p { max-width: 760px; margin: 0 auto 6px; }

/* =====================================================================================
   The Day I Became a Werewolf — the game's green CRT: phosphor green on black, scanlines,
   monospace like Er-Bor DOS, the in-game computer.
   ===================================================================================== */

body.ww {
  --ww-bg: #020503;
  --ww-panel: #04120a;
  --ww-line: rgba(62, 224, 122, 0.3);
  --ww-green: #3ee07a;
  --ww-bright: #74f6a2;
  --ww-text: #aef4c6;
  --ww-dim: #63ad80;
  background: var(--ww-bg);
}
.ww main { color: var(--ww-text); }
.ww main a:not(.btn) { color: var(--ww-bright); }
.ww main a:not(.btn):hover { color: #c9ffdc; }
.ww h2 {
  color: var(--ww-bright);
  font-family: var(--mono);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 0 14px rgba(62, 224, 122, 0.35);
}
.ww :focus-visible { outline-color: var(--ww-bright); }

/* Scanlines over the title art and the terminal windows. */
.ww-hero, .terminal { position: relative; }
.ww-hero::after, .terminal::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 2px, rgba(0, 0, 0, 0.2) 2px 3px);
}
.ww-hero { border-bottom: 1px solid var(--ww-line); background: #000; }
.ww-title { margin: 0; line-height: 0; }
.ww-title img { display: block; width: 100%; height: auto; }
.ww-intro { padding: 48px 0 40px; text-align: center; }
.ww-tagline {
  max-width: 820px;
  margin: 0 auto 20px;
  color: var(--ww-text);
  font: 400 clamp(18px, 2.3vw, 24px)/1.55 var(--mono);
  text-shadow: 0 0 12px rgba(62, 224, 122, 0.35);
}
.ww-meta { margin: 0 0 30px; color: var(--ww-dim); font: 400 14px/1.7 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.ww .actions { justify-content: center; }
.btn-ww, .btn-ww-ghost { border-radius: 6px; font: 700 15px/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.btn-ww { background: var(--ww-green); color: #021006; box-shadow: 0 0 0 1px rgba(116, 246, 162, 0.5), 0 0 30px rgba(62, 224, 122, 0.3); }
.btn-ww:hover { background: var(--ww-bright); color: #021006; box-shadow: 0 0 0 1px var(--ww-bright), 0 0 40px rgba(116, 246, 162, 0.45); }
.btn-ww-ghost { border-color: var(--ww-line); color: var(--ww-text); }
.btn-ww-ghost:hover { border-color: var(--ww-green); color: var(--ww-bright); }

.ww-section { padding: 56px 0; }
.terminal {
  overflow: hidden;
  border: 1px solid var(--ww-line);
  border-radius: 10px;
  background: var(--ww-panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 0 90px rgba(62, 224, 122, 0.06);
}
.term-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 18px;
  background: #27c25a;
  color: #04210f;
  font: 700 14px/1.4 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.term-bar, .term-body { position: relative; z-index: 1; } /* text and buttons above the scanlines */
.term-body { padding: clamp(24px, 4.5vw, 48px); font: 400 16.5px/1.8 var(--mono); }
.term-body h2 { margin: 0 0 22px; }
.term-body p { max-width: 72ch; }
.term-body p:last-child { margin-bottom: 0; }
.term-body .prompt { color: var(--ww-bright); font-weight: 700; }
.term-body .prompt::before { content: '> '; color: var(--ww-green); }
.term-center { text-align: center; }
.term-center p { margin-right: auto; margin-left: auto; }

.ww-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.ww-feature { padding: 24px 26px; border: 1px solid var(--ww-line); border-radius: 10px; background: rgba(4, 18, 10, 0.75); }
.ww-feature .label { margin: 0 0 8px; color: var(--ww-dim); font: 400 13px/1.4 var(--mono); letter-spacing: 0.14em; }
.ww-feature h3 { margin: 0 0 8px; color: var(--ww-bright); font: 700 20px/1.3 var(--mono); }
.ww-feature p { margin: 0; color: var(--ww-text); font-size: 17px; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.gallery a { display: block; overflow: hidden; border: 1px solid var(--ww-line); border-radius: 8px; transition: border-color 0.15s, box-shadow 0.15s; }
.gallery a:hover { border-color: var(--ww-green); box-shadow: 0 0 26px rgba(62, 224, 122, 0.28); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.ww-more { margin: 18px 0 0; color: var(--ww-dim); font: 400 15px/1.6 var(--mono); }
.ww-cta { padding: 40px 0 104px; }

/* =====================================================================================
   Office Hours — the app's office / stationery look: cream notebook paper with blue rules and
   a red margin, navy ink, ballpoint blue, red pen, sticky notes, tape, a manila folder.
   ===================================================================================== */

body.oh {
  --paper: #f4eedd;
  --sheet: #fffdf6;
  --edge: #ddd2b8;
  --ink: #22304a;
  --pencil: #6c6656;
  --pen: #2a55c4;
  --red: #cf3a2e;
  --rule: #d3e1ef;
  --margin-line: #ebb2aa;
  --tape: rgba(233, 214, 160, 0.88);
  --kraft: #e8d6a8;
  --margin: max(10px, calc((100% - 1160px) / 2 + 12px)); /* the red margin line, just left of the content */
}
.oh main {
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, transparent calc(var(--margin) - 1px), var(--margin-line) calc(var(--margin) - 1px), var(--margin-line) calc(var(--margin) + 1px), transparent calc(var(--margin) + 1px)),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--rule) 31px 32px);
}
.oh main a:not(.btn) { color: var(--pen); }
.oh main a:not(.btn):hover { color: #1f439e; }
.oh main :focus-visible { outline-color: var(--pen); }
.oh h1, .oh h2, .oh h3 { color: var(--ink); font-family: var(--hand); font-weight: 400; }
.oh .lead { color: var(--ink); }
.oh-section { padding: 52px 0; }
.oh h2 { margin: 0 0 30px; font-size: clamp(34px, 4.4vw, 48px); line-height: 1.1; }
.hl { padding: 0 0.15em; background: linear-gradient(180deg, transparent 52%, rgba(255, 232, 115, 0.9) 52%, rgba(255, 232, 115, 0.9) 92%, transparent 92%); }

.oh-hero { padding: 76px 0 48px; }
.oh-hero-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 60px; align-items: center; }
.oh-logo { position: relative; width: clamp(210px, 25vw, 290px); transform: rotate(-3deg); }
.oh-logo img { display: block; width: 100%; height: auto; border-radius: 22%; box-shadow: 0 18px 40px rgba(38, 32, 20, 0.3); }
.tape { position: relative; }
.tape::before, .oh-logo::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  z-index: 1;
  width: 104px;
  height: 28px;
  background: var(--tape);
  box-shadow: 0 1px 2px rgba(38, 32, 20, 0.12);
  transform: translateX(-50%) rotate(-3deg);
}
.oh-logo::before { transform: translateX(-50%) rotate(5deg); }
.oh-stamp {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 10px;
  border: 2px solid var(--red);
  border-radius: 4px;
  color: var(--red);
  font: 700 13px/1.35 var(--type);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.oh-hero h1 { margin: 0; font-size: clamp(60px, 8.4vw, 96px); line-height: 0.95; }
.oh-tagline { margin: 10px 0 18px; color: var(--pen); font: 400 clamp(25px, 3vw, 33px)/1.2 var(--hand); text-wrap: balance; }
.oh-hero .lead { max-width: 610px; }

.sticky {
  position: relative;
  padding: 24px 24px 26px;
  background: #fff2a6;
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(38, 32, 20, 0.15);
}
/* The folded bottom-right corner. */
.sticky::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(315deg, var(--paper) 0 50%, var(--fold, #eeda6e) 50% 100%);
  box-shadow: -2px -2px 3px rgba(38, 32, 20, 0.08);
}
.oh-coming { display: inline-block; max-width: 360px; margin-top: 10px; transform: rotate(1.5deg); }
.oh-coming p { margin: 0; font: 400 25px/1.25 var(--hand); }
.oh-coming .small { margin-top: 10px; font: 400 16px/1.5 var(--font); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.steps li:nth-child(1) { --fold: #eeda6e; background: #fff2a6; transform: rotate(-1.6deg); }
.steps li:nth-child(2) { --fold: #f0b2c8; background: #ffd9e6; transform: rotate(1.1deg); }
.steps li:nth-child(3) { --fold: #aacff0; background: #d7ecff; transform: rotate(-0.7deg); }
.steps li:nth-child(4) { --fold: #b2dc9e; background: #dcf4d0; transform: rotate(1.6deg); }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font: 400 26px/1 var(--hand);
}
.steps h3 { margin: 0 0 6px; font-size: 29px; line-height: 1.1; }
.steps p { margin: 0; font-size: 16.5px; }

.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.game {
  position: relative;
  padding: 16px 20px 20px;
  border: 1px solid var(--edge);
  border-radius: 4px;
  background: var(--sheet);
  box-shadow: 0 3px 0 rgba(221, 210, 184, 0.8), 0 10px 20px rgba(38, 32, 20, 0.08);
}
.game h3 { margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1.5px solid rgba(207, 58, 46, 0.55); font-size: 28px; line-height: 1.15; }
.game p { margin: 0; font-size: 16.5px; }
.family {
  display: inline-block;
  margin: 2px 0 8px;
  padding: 2px 7px;
  border: 1.5px solid var(--pen);
  border-radius: 3px;
  color: var(--pen);
  font: 700 11.5px/1.4 var(--type);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(4deg);
}
.oh-note { margin: 24px 0 0; color: var(--pencil); font: 400 22px/1.3 var(--hand); }

.office-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.office-features li { padding: 28px 22px 22px; border: 1px solid var(--edge); background: var(--sheet); box-shadow: 0 10px 20px rgba(38, 32, 20, 0.1); }
.office-features li:nth-child(odd) { transform: rotate(-0.6deg); }
.office-features li:nth-child(even) { transform: rotate(0.7deg); }
.office-features h3 { margin: 0 0 6px; font-size: 27px; line-height: 1.1; }
.office-features p { margin: 0; font-size: 16.5px; }

.oh-cta { padding: 64px 0 112px; }
.folder {
  position: relative;
  max-width: 860px;
  margin: 24px auto 0;
  padding: 44px clamp(22px, 5vw, 60px) 48px;
  border-radius: 4px 16px 16px 16px;
  background: var(--kraft);
  box-shadow: 0 16px 36px rgba(38, 32, 20, 0.22);
  text-align: center;
}
.folder::before { content: ''; position: absolute; top: -24px; left: 0; width: 190px; height: 26px; border-radius: 12px 12px 0 0; background: var(--kraft); }
.folder h2 { margin: 0 0 10px; }
.folder p { max-width: 520px; margin: 0 auto 24px; }
.btn-oh { border-radius: 10px; background: var(--pen); color: #fff; font: 400 23px/1 var(--hand); box-shadow: 0 4px 0 #1f439e; }
.btn-oh:hover { background: #3062e0; color: #fff; }

/* =====================================================================================
   Plymentor — the app's colours (as on plymentor.com).
   ===================================================================================== */

body.ply {
  --p-bg: #161512;
  --p-panel: #262421;
  --p-border: #3d3a36;
  --p-text: #c4c1bc;
  --p-strong: #ece9e4;
  --p-muted: #8d8881;
  --p-accent: #629924;
  --p-accent-hi: #75b02f;
  background: var(--p-bg);
}
.ply main { color: var(--p-text); }
.ply main a:not(.btn) { color: var(--p-strong); }
.ply-hero { padding: 72px 0 36px; text-align: center; }
.ply-icon { display: block; width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.ply-hero h1 { margin: 0 0 6px; font-size: clamp(46px, 6.6vw, 72px); font-weight: 500; letter-spacing: -0.02em; }
.ply-tagline { margin: 0 0 20px; color: var(--p-strong); font-size: clamp(22px, 3vw, 30px); }
.ply-hero .lead { max-width: 780px; margin: 0 auto 30px; color: var(--p-text); }
.ply .actions { justify-content: center; }
.btn-ply { border-radius: 12px; background: var(--p-accent); color: #fff; font-weight: 600; box-shadow: 0 8px 28px rgba(98, 153, 36, 0.35); }
.btn-ply:hover { background: var(--p-accent-hi); color: #fff; }
.btn-ply-ghost { border-color: var(--p-border); border-radius: 12px; color: var(--p-strong); }
.btn-ply-ghost:hover { border-color: var(--p-strong); color: #fff; }
.ply-meta { margin: 16px 0 0; color: var(--p-muted); font-size: 15px; }
.ply-shot { margin: 36px auto 0; }
.ply-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--p-border); border-radius: 12px; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55); }
.ply-shot figcaption { margin-top: 14px; color: var(--p-muted); font-size: 14.5px; text-align: center; }
.ply-features { padding: 80px 0 40px; }
.ply-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 18px; }
.ply-grid article { padding: 22px 24px; border: 1px solid var(--p-border); border-radius: 10px; background: var(--p-panel); }
.ply-grid h3 { margin: 0 0 8px; color: var(--p-strong); font-size: 20px; }
.ply-grid p { margin: 0; font-size: 16.5px; }
.ply-notes { padding: 24px 0 96px; color: var(--p-muted); font-size: 14.5px; }
.ply-notes p { max-width: 900px; margin: 0 0 10px; }
.ply-notes .disclaimer { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--p-border); }
.ply-notes strong { color: var(--p-text); }

/* ---------- Narrower screens ---------- */

@media (max-width: 1000px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .office-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 820px) {
  .oh-hero-grid { grid-template-columns: 1fr; gap: 34px; justify-items: start; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .menu { display: block; }
  .ww-features { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .products { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .home-hero { padding: 60px 0 72px; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  .cta-band { padding: 48px 20px; }
}
@media (max-width: 560px) {
  .steps, .office-features, .gallery { grid-template-columns: 1fr; }
  .ww .actions { flex-direction: column; align-items: stretch; max-width: 340px; margin: 0 auto; }
  .brand { gap: 10px; font-size: 14px; letter-spacing: 0.26em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .btn:hover, .product:hover, .product:hover .more { transform: none; }
}
