/* Paper Aeroplane waitlist page: calm cream base with big blocks of rich colour (option F).
   Glacial Indifference does almost everything. Halimun appears once, as the signature.
   Colours live in the tokens below, so changing them here changes the whole page. */

@font-face { font-family: "Glacial Indifference"; src: url("fonts/GlacialIndifference-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Glacial Indifference"; src: url("fonts/GlacialIndifference-Italic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Glacial Indifference"; src: url("fonts/GlacialIndifference-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Halimun"; src: url("fonts/Halimun.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --terracotta: #995739;
  --terracotta-deep: #7f4529;
  --brown: #5F3F3C;        /* deep mauve-brown, a darker take on the brand mauve */
  --peach: #E4B7A0;
  --peach-wash: #F3DCCD;
  --cream: #EFEBE2;
  --off: #F6F2EA;
  --ink: #2C2C2C;
  --mustard: #DCA42A;      /* the rich mustard accent */
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --font: "Glacial Indifference", "Avenir Next", "Century Gothic", "Trebuchet MS", system-ui, sans-serif;
  --signature: "Halimun", "Snell Roundhand", cursive;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--off); color: var(--ink); font-family: var(--font); font-size: 1.125rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta); text-underline-offset: 0.2em; }
a:hover { color: var(--terracotta-deep); }
:focus-visible { outline: 3px solid var(--terracotta-deep); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.bg-off, .paper { background: var(--off); }
.bg-cream, .paper-cream { background: var(--cream); }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 44rem; }

/* ---------- Header ---------- */
.site-header { padding-block: 1.25rem 0; background: var(--off); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.logo { display: block; width: clamp(9rem, 28vw, 13.5rem); }
.header-link { font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--terracotta); text-decoration: none; }
.header-link:hover { text-decoration: underline; }

/* ---------- Type ---------- */
.eyebrow { margin: 0 0 1rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--terracotta); }
h1, h2, h3 { font-weight: 700; color: var(--terracotta); margin: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.5rem); line-height: 1.02; letter-spacing: -0.012em; color: var(--ink); text-wrap: balance; }
h1 em { display: block; font-style: italic; font-weight: 400; color: var(--terracotta); margin-top: 0.12em; }
h2 { font-size: clamp(1.85rem, 4.6vw, 2.75rem); line-height: 1.1; letter-spacing: -0.008em; text-wrap: balance; }
h3 { font-size: 1.2rem; line-height: 1.25; }
p { margin: 0 0 1.1em; }
.lede { font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.55; max-width: 36rem; margin-top: 1.5rem; }

/* ---------- Hero ---------- */
.hero { background: var(--off); padding-block: clamp(2rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.hero-copy { max-width: 40rem; }
.arch { aspect-ratio: 3 / 4; border-radius: 999px 999px 28px 28px; overflow: hidden; background: var(--terracotta); width: 100%; max-width: 26rem; justify-self: end; }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sign-up form ---------- */
.signup-wrap { margin-top: 2rem; max-width: 34rem; }
.signup { display: grid; gap: 0.75rem; }
.signup .row { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 34rem) { .signup .row { grid-template-columns: 1fr 1.4fr; } }
.signup input { width: 100%; min-height: 3.35rem; padding: 0.8rem 1rem; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--peach); border-radius: 14px; }
.signup input::placeholder { color: #7a6a66; }
.signup input:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(153, 87, 57, 0.18); }
.btn { min-height: 3.35rem; padding: 0.85rem 1.5rem; font: inherit; font-size: 1rem; font-weight: 700; letter-spacing: 0.05em; color: #2f1d14; background: var(--mustard); border: 0; border-radius: 14px; cursor: pointer; transition: background-color 0.2s ease, transform 0.2s ease; }
.btn:hover { background: #E8B33A; }
.btn:active { transform: translateY(1px); }
.fine { margin: 0.35rem 0 0; font-size: 0.9375rem; line-height: 1.5; color: #5b4b47; }
.status { margin: 0.25rem 0 0; min-height: 1.5em; font-size: 0.9375rem; line-height: 1.5; color: var(--terracotta-deep); }
.status a { color: inherit; font-weight: 700; }
.thanks { display: none; padding: 1.5rem; background: var(--peach-wash); border: 1.5px solid var(--terracotta); border-radius: var(--radius); }
.thanks h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.thanks p:last-child { margin-bottom: 0; }
.is-done .signup, .is-done .fine, .is-done .status { display: none; }
.is-done .thanks { display: block; }

/* ---------- Sections ---------- */
section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head .eyebrow { margin-bottom: 0.9rem; }

/* Plain cards for the 'what joining gets you' row, so the big colour blocks are kept for the idea */
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card { background: var(--off); border: 1.5px solid var(--peach); border-radius: var(--radius); padding: 1.75rem 1.5rem; }
.card .num { display: block; margin-bottom: 0.9rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.24em; color: var(--brown); }
.card h3 { margin-bottom: 0.5rem; }
.card p { margin: 0; font-size: 1.0625rem; }

/* Big blocks of colour: the heart of this look */
.blocks, .split { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.split { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.block, .panel { border-radius: var(--radius); padding: 1.9rem 1.6rem; min-height: 11rem; }
.block .num { display: block; margin-bottom: 0.9rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.24em; opacity: 0.85; }
.block h3, .panel h3 { color: inherit; margin-bottom: 0.55rem; font-size: 1.35rem; }
.block p, .panel p:not(.label) { margin: 0; font-size: 1.0625rem; line-height: 1.6; }
.b1 { background: var(--terracotta); color: #FBF5F2; }
.b2 { background: var(--brown); color: var(--cream); }
.b3 { background: var(--peach); color: var(--ink); }
.block { min-height: 14rem; }
.block h3 { font-size: 1.5rem; line-height: 1.2; }
.keep-list { list-style: none; margin: 0; padding: 0; }
.keep-list li { font-size: 1.25rem; line-height: 1.35; margin-bottom: 0.45rem; padding-left: 1.6rem; position: relative; }
.keep-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.9rem; border-top: 2px solid var(--terracotta); }

.panel .label { margin: 0 0 1rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: inherit; opacity: 0.9; }
.panel ul { list-style: none; margin: 0; padding: 0; }
.panel li { position: relative; padding-left: 1.6rem; margin-bottom: 0.7rem; font-size: 1.1875rem; line-height: 1.4; }
.panel li:last-child { margin-bottom: 0; }
.panel li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.85rem; border-top: 2px dashed currentColor; opacity: 0.8; }
.panel.takes, .panel.pro { background: var(--terracotta); color: #FBF5F2; }
.panel.keeps { background: var(--peach); color: var(--ink); }
.panel.new { background: var(--brown); color: var(--cream); }
.split-note { margin: 1.75rem 0 0; font-size: 1.0625rem; max-width: 40rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 15rem 1fr; gap: clamp(1.5rem, 5vw, 3rem); align-items: center; }
.about-grid .round { width: 15rem; height: 15rem; border-radius: 50%; object-fit: cover; }
.about-grid p { max-width: 40rem; }
.about-grid h2 { margin-bottom: 1.25rem; }
.signature { font-family: var(--signature); font-size: clamp(2.6rem, 7vw, 3.6rem); line-height: 1; color: var(--terracotta); margin: 1.2rem 0 0.4rem; }
.byline { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brown); margin: 0; }

/* FAQ */
.faq { max-width: 44rem; }
.faq details { border-bottom: 1.5px solid var(--peach); }
.faq details:first-of-type { border-top: 1.5px solid var(--peach); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.1875rem; line-height: 1.35; color: var(--terracotta); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--brown); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.25rem; max-width: 38rem; }

/* Closing band */
.closer { background: var(--brown); color: var(--off); text-align: center; }
.closer h2 { color: var(--off); }
.closer .eyebrow { color: var(--peach); }
.closer p { max-width: 32rem; margin-inline: auto; }
.closer .signup-wrap { margin-inline: auto; text-align: left; }
.closer .fine, .closer .status { color: var(--off); text-align: center; }
.closer .signup input { border-color: transparent; }
.closer .signup input:focus { border-color: var(--mustard); box-shadow: 0 0 0 3px rgba(220, 164, 42, 0.4); }
.closer .thanks { background: var(--off); color: var(--ink); text-align: left; }
.closer :focus-visible { outline-color: var(--mustard); }

.site-footer { padding-block: 2rem 2.5rem; font-size: 0.9375rem; color: #5b4b47; background: var(--cream); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; }
.site-footer p { margin: 0; }

@media (max-width: 52rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .arch { justify-self: center; max-width: 20rem; margin-top: 0.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .round { width: 11rem; height: 11rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}

/* ---------- Option G: playful, outlined, hard shadows ----------
   Same palette and fonts as before. What's new: a deep warm outline on everything you can press or read as a card,
   a hard offset shadow, pill buttons, and the strapline as the loudest thing on the page.
   To dial it all back, delete from here to the end of the file. */
:root { --line: #3B2420; --lw: 2.5px; --shadow: 6px 6px 0 var(--line); --shadow-sm: 3px 3px 0 var(--line); }

/* Tagline sticker above the strapline */
.sticker { display: inline-block; margin: 0 0 1.5rem; padding: 0.5rem 1.15rem; background: var(--mustard); color: var(--line); border: var(--lw) solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); font-weight: 700; font-size: 0.95rem; line-height: 1.3; letter-spacing: 0.03em; transform: rotate(-1.5deg); }
.form-label { margin: 0 0 0.6rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--terracotta); }

/* The strapline: two sizes, one thought */
h1 { font-size: clamp(2.9rem, 7.6vw, 5.1rem); line-height: 0.98; letter-spacing: -0.02em; }
h1 em { font-size: clamp(1.7rem, 4.2vw, 2.9rem); line-height: 1.15; letter-spacing: 0; margin-top: 0.4em; font-weight: 400; }

/* Buttons and inputs */
.btn { border: var(--lw) solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.2s ease; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--line); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--line); }
.signup input { border: var(--lw) solid var(--line); border-radius: 16px; }
.signup input:focus { border-color: var(--line); box-shadow: 4px 4px 0 var(--terracotta); }

/* Cards, blocks and the photo */
.card, .block, .panel, .thanks { border: var(--lw) solid var(--line); box-shadow: var(--shadow); }
.thanks { background: var(--peach-wash); }
.arch { border: var(--lw) solid var(--line); box-shadow: var(--shadow); }

/* FAQ as little press-to-open cards */
.faq details { border: var(--lw) solid var(--line); border-radius: 18px; background: var(--off); box-shadow: var(--shadow-sm); margin-bottom: 0.85rem; padding: 0 1.25rem; }
.faq details:first-of-type { border-top: var(--lw) solid var(--line); }
.faq details[open] { background: var(--peach-wash); }
.faq summary { color: var(--ink); }
.faq summary::after { color: var(--terracotta); font-weight: 700; }

.about-grid .round { border: var(--lw) solid var(--line); box-shadow: var(--shadow); }

/* The three-beat strapline band */
.band { background: var(--mustard); border-block: var(--lw) solid var(--line); padding-block: 1.1rem; text-align: center; }
.band p { margin: 0; font-weight: 700; font-size: clamp(1.15rem, 2.8vw, 1.6rem); line-height: 1.35; color: var(--line); letter-spacing: 0.01em; }
.band span { display: inline-block; margin-inline: 0.35em; }

/* Closing band is dark, so its outlines go darker still */
.closer { --line: #1E100E; }
.closer .signup input { border-color: var(--line); }
.closer .signup input:focus { border-color: var(--line); box-shadow: 4px 4px 0 var(--mustard); }
.closer .thanks { background: var(--off); }

@media (max-width: 52rem) {
  .arch { box-shadow: 5px 5px 0 var(--line); }
}
@media (max-width: 34rem) {
  .band span { display: block; margin-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transition: none; }
}

/* ---------- Three departments (A, B, C) ---------- */
.lede-sm { margin: 0.9rem 0 0; font-size: 1.15rem; line-height: 1.55; max-width: 38rem; }
.blocks .block .num { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; margin-bottom: 0.9rem; border: var(--lw) solid currentColor; border-radius: 50%; font-size: 1rem; letter-spacing: 0; opacity: 1; }
.dept-tag { margin: 0 0 0.75rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9; }
.dept-list { list-style: none; margin: 1.1rem 0 0; padding: 0; }
.dept-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.6rem; font-size: 1.0625rem; line-height: 1.4; }
.dept-list li:last-child { margin-bottom: 0; }
.dept-list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.85rem; border-top: 2px solid currentColor; opacity: 0.8; }
.keep-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 2rem; margin-top: 1.5rem; padding: 1.25rem 1.6rem; background: var(--peach-wash); border: var(--lw) solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.keep-strip h3 { margin: 0; font-size: 1.4rem; color: var(--ink); }
.keep-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 1.75rem; margin: 0; padding: 0; }
.keep-strip li { position: relative; padding-left: 1.3rem; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.keep-strip li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.8rem; border-top: 2px solid var(--terracotta); }


/* =====================================================================
   Option H (site): serif headings, DM Sans text, plane graphics.
   Same fonts as the course hub. To change a font, change --font or --serif.
   ===================================================================== */
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans-Variable.ttf") format("truetype"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
:root { --font: "DM Sans", "Avenir Next", system-ui, sans-serif; --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif; }
body { font-size: 1.0625rem; font-optical-sizing: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(3.2rem, 8vw, 5.7rem); line-height: 0.96; letter-spacing: -0.015em; }
h1 em { font-family: var(--serif); font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.1; }
h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; }
h3 { font-size: 1.6rem; line-height: 1.12; }
.block h3 { font-size: 2rem; line-height: 1.05; }
.card h3 { font-size: 1.75rem; }
.keep-strip h3 { font-size: 1.8rem; }
.thanks h3 { font-size: 1.9rem; }
.lede { font-size: clamp(1.15rem, 2.2vw, 1.35rem); }
.hero { position: relative; }
.hero-plane { position: absolute; top: 3.4rem; right: 31%; width: clamp(5rem, 10vw, 8rem); transform: rotate(-4deg); pointer-events: none; }
.flight { display: flex; align-items: flex-end; margin-top: clamp(2rem, 5vw, 3rem); }
.flight img { width: 6.2rem; height: auto; flex: none; }
.flight::after { content: ""; flex: 1; margin-bottom: 0.85rem; border-top: 3px dashed rgba(153, 87, 57, 0.55); }
@media (max-width: 52rem) { .hero-plane { top: 7.6rem; right: 5%; width: 4.4rem; } }

/* Hand-drawn doodles (Emma's own set, see assets/doodles in the engine) */
.squiggle { display: block; width: clamp(9rem, 24vw, 13rem); height: auto; margin: 0.1rem 0 1rem; transform: rotate(-1.5deg); }
.block { position: relative; }
.block-doodle { position: absolute; top: 1rem; right: 1rem; width: 4.6rem; height: auto; transform: rotate(7deg); pointer-events: none; }

/* More hand-drawn doodles (Emma's own set) */
.card, .panel { position: relative; }
.card h3 { padding-right: 3.4rem; }
.card-doodle { position: absolute; top: 1rem; right: 1rem; width: 3.5rem; height: auto; transform: rotate(6deg); pointer-events: none; }
.panel .label { padding-right: 4.4rem; }
.panel-doodle { position: absolute; top: 0.9rem; right: 0.9rem; width: 3.8rem; height: auto; transform: rotate(6deg); pointer-events: none; }
.closer-doodle { display: block; width: 4.2rem; height: auto; margin: 0 auto 0.6rem; transform: rotate(-6deg); }

/* Spam trap: people never see this field, bots fill it in. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
