/* ======================================================================
   ODDWORKS STUDIOS — site styles (new site)
   Colours are named after the brand pack's tokens.css.
   ====================================================================== */

@font-face { font-family: 'Archivo Black'; font-weight: 400; font-display: swap; src: url(fonts/ArchivoBlack-400.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(fonts/Barlow-400.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url(fonts/Barlow-500.woff2) format('woff2'); }
@font-face { font-family: 'Chakra Petch'; font-weight: 500; font-display: swap; src: url(fonts/ChakraPetch-500.woff2) format('woff2'); }
@font-face { font-family: 'Chakra Petch'; font-weight: 600; font-display: swap; src: url(fonts/ChakraPetch-600.woff2) format('woff2'); }

:root {
  --soot: #14110E;
  --gunmetal: #221D18;
  --loam: #2E241C;
  --iron: #332C25;
  --steel: #453C33;
  --ash: #5C5147;
  --dust: #9A8B7A;
  --pewter: #B5AA9C;
  --bone: #EDE6D9;
  --flare: #FF9A4D;
  --signal: #F26A1B;
  --forge: #AD4418;
  --ember: #C9461A;
  --hazard: #E8B33C;

  --display: 'Archivo Black', 'Arial Black', sans-serif;
  --ui: 'Chakra Petch', 'Barlow', sans-serif;
  --text: 'Barlow', system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 28px;
  --r-md: 18px;
  --r-pill: 999px;
  --ease-goo: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--soot); color: var(--bone);
  font: 400 18px/1.6 var(--text);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .98; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--hazard); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--hazard); color: var(--soot);
  padding: 10px 16px; border-radius: 10px; font: 600 15px var(--ui); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---- small type helpers ------------------------------------------------ */
.kicker { font: 600 15px/1.2 var(--ui); color: var(--flare); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 6px; border-radius: 3px; background: currentColor; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--pewter); max-width: 34em; }
.note { font: 500 15px/1.4 var(--ui); color: var(--dust); }

/* ---- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  font: 600 17px/1 var(--ui); text-decoration: none; cursor: pointer;
  border: 2px solid var(--steel); background: transparent; color: var(--bone);
  transition: transform .25s var(--ease-goo), background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-3px); border-color: var(--pewter); }
.btn:active { transform: translateY(1px) scale(.97); }
.btn.goo { background: var(--signal); border-color: var(--signal); color: var(--soot);
  box-shadow: 0 6px 0 var(--forge), 0 12px 30px rgba(242,106,27,.35); }
.btn.goo:hover { background: var(--flare); border-color: var(--flare); box-shadow: 0 9px 0 var(--forge), 0 16px 36px rgba(242,106,27,.45); }
.btn.goo:active { box-shadow: 0 2px 0 var(--forge); }
.btn.dark { background: var(--soot); border-color: var(--soot); color: var(--bone); }
.btn.dark:hover { background: var(--loam); border-color: var(--loam); }
.btn.big { min-height: 60px; padding: 0 32px; font-size: 19px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---- header -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(20,17,14,.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(69,60,51,.6); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { font: 600 16px var(--ui); text-decoration: none; color: var(--pewter); padding: 9px 16px; border-radius: var(--r-pill); transition: background .2s, color .2s; }
.nav a:hover { color: var(--bone); background: var(--iron); }
.nav a[aria-current="page"] { color: var(--bone); background: var(--iron); }
.nav a.hiring { color: var(--soot); background: var(--signal); }
.nav a.hiring:hover { background: var(--flare); }
.socials { display: flex; gap: 4px; }
.icon-link { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--pewter); transition: background .2s, color .2s; }
.icon-link svg { width: 20px; height: 20px; }
a.icon-link:hover { background: var(--iron); color: var(--flare); }
span.icon-link { opacity: .32; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--steel); background: none; color: var(--bone); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav, .site-header .socials { display: none; }
  .site-header.open .wrap { flex-wrap: wrap; }
  .site-header.open .nav { display: flex; flex-direction: column; order: 3; width: 100%; margin: 0; padding: 4px 0 8px; border-top: 1px solid var(--iron); }
  .site-header.open .nav a { font-size: 20px; padding: 14px 4px; border-radius: 12px; }
  .site-header.open .nav a.hiring { padding: 12px 20px; border-radius: var(--r-pill); margin-top: 6px; align-self: flex-start; }
  .site-header.open .socials { display: flex; order: 4; width: 100%; padding-bottom: 16px; }
}

/* ---- HERO: the slime on the bench ------------------------------------------ */
.hero { position: relative; background:
    radial-gradient(60% 70% at 72% 58%, rgba(242,106,27,.22), transparent 70%),
    radial-gradient(120% 90% at 50% 0%, var(--loam), #241b14 70%);
  padding: clamp(40px, 7vw, 90px) 0 0; isolation: isolate; overflow-x: clip; z-index: 4; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 24px; }
.hero-copy { padding-bottom: clamp(70px, 9vw, 130px); }
.hero h1 { font-size: clamp(46px, 6.1vw, 88px); color: var(--bone); }
.hero h1 .line { display: block; }
.hero h1 .line + .line { color: var(--signal); }
.hero .lede { margin-top: 26px; }
.hero-wrench { position: absolute; z-index: -1; left: -60px; top: 30px; width: 380px; opacity: .06; transform: rotate(-38deg); pointer-events: none; }

/* the slime stands on the goo: it sinks a little into the band so the
   rounded edges of its puddle touch down, with a contact shadow underneath */
.stage { position: relative; align-self: end; justify-self: center; width: min(560px, 100%); margin-bottom: -3.4%; }
.stage::after { content: ""; position: absolute; z-index: 1; left: 2%; right: 4%; bottom: 0.6%; height: 7%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(70,18,0,.55), rgba(70,18,0,.25) 55%, transparent 75%); pointer-events: none; }
.slime-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; position: relative; z-index: 2; -webkit-tap-highlight-color: transparent; }
.slime-btn:focus-visible { outline-offset: -10px; border-radius: 40px; }
/* four nested layers, one motion each, so no animation can cancel another:
   lean (where it's looking) > squish (poke) > breathe (idle) > body + eyes */
.slime-lean, .slime-squish, .slime-breathe { display: block; transform-origin: 50% 100%; }
.slime-lean { transition: transform .7s cubic-bezier(.3, 1.4, .5, 1); }
.slime-squish.go { animation: squish .62s var(--ease-goo); }
.slime-breathe { position: relative; animation: breathe 4.2s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(242,106,27,.35)) drop-shadow(0 26px 30px rgba(0,0,0,.45)); }
.slime-breathe > .body { width: 100%; height: auto; }
.eye { position: absolute; transition: transform .28s cubic-bezier(.3, 1.3, .55, 1); will-change: transform; }
.eye img { width: 100%; height: 100%; transform-origin: 50% 55%; transition: transform .09s ease-in; }
.eye.l { left: 48.18%; top: 53.16%; width: 10.46%; height: 20.1%; }
.eye.r { left: 74.49%; top: 55.98%; width: 8.24%; height: 19.6%; }
.shut .eye img { transform: scaleY(.08); }
@keyframes breathe { 0%,100% { transform: scale(1, 1); } 50% { transform: scale(1.012, .985); } }
@keyframes squish { 0% { transform: scale(1,1); } 30% { transform: scale(1.12, .8); } 60% { transform: scale(.95, 1.08); } 100% { transform: scale(1,1); } }
.bubble { position: absolute; z-index: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 30%, #ffd2ad 0 12%, var(--flare) 30%, var(--signal) 62%, var(--forge));
  box-shadow: 0 0 18px rgba(242,106,27,.6); animation: rise 1.8s ease-out forwards; }
@keyframes rise { 0% { opacity: 0; transform: translate(0,0) scale(.4); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), -220px) scale(1); } }
.poke { position: absolute; z-index: 3; right: 4%; top: 6%; font: 600 15px/1.25 var(--ui); color: var(--flare);
  transform: rotate(6deg); text-align: center; pointer-events: none; }
.poke svg { display: block; margin: 6px auto 0; width: 44px; height: 34px; }

/* the goo: one smooth ooze shape hanging off the hero's bottom edge. Still, no animation. */
.goo-edge { position: relative; z-index: 3; height: 0; }
.goo-edge svg { position: absolute; left: 0; top: -1px; width: 100%; height: max(100px, 8.4vw); display: block; pointer-events: none; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .stage { width: min(420px, 92%); }
  .poke { right: -2%; }
}

/* ---- sections ------------------------------------------------------------ */
.section { padding: clamp(90px, 11vw, 150px) 0 clamp(70px, 9vw, 120px); }
.section.tight { padding-top: clamp(64px, 8vw, 110px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 48px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(38px, 5.4vw, 68px); }
.section-head .side { max-width: 30em; color: var(--pewter); }

/* ---- game cards ----------------------------------------------------------- */
.a-signal { --accent: 242 106 27; } .a-flare { --accent: 255 154 77; } .a-hazard { --accent: 232 179 60; }
.a-patina { --accent: 52 184 162; } .a-moss { --accent: 111 176 63; } .a-ember { --accent: 226 80 60; }
.a-violet { --accent: 168 125 224; } .a-azure { --accent: 90 162 224; }

.games { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.game { grid-column: span 2; position: relative; display: flex; flex-direction: column; background: var(--gunmetal);
  border-radius: var(--r-lg); overflow: hidden; border: 2px solid rgb(var(--accent) / .22); transition: border-color .25s, transform .3s var(--ease-goo); }
.game:hover { border-color: rgb(var(--accent) / .8); transform: translateY(-4px); }
.games > .game:nth-child(-n+2) { grid-column: span 3; }
.games.three > .game:nth-child(-n+2), .games.even > .game { grid-column: span 2; }
.games.two > .game { grid-column: span 3; }
.game .art { aspect-ratio: 16 / 9; position: relative; overflow: hidden;
  background: radial-gradient(70% 90% at 50% 110%, rgb(var(--accent) / .45), transparent 70%),
    repeating-linear-gradient(-38deg, rgb(var(--accent) / .07) 0 14px, transparent 14px 34px), var(--iron); }
.game .art.has-img { background: var(--img) center / cover no-repeat; }
.game .art .tarp { position: absolute; inset: 0; display: grid; place-items: center; }
.game .art .tarp img { width: 86px; opacity: .22; transform: rotate(-38deg); }
.game .chip { position: absolute; top: 14px; left: 14px; font: 600 13px/1 var(--ui); padding: 8px 12px; border-radius: var(--r-pill);
  background: rgb(var(--accent)); color: var(--soot); }
.game .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.game h3 { font-size: 28px; color: rgb(var(--accent)); }
.game h3 img { max-height: 54px; width: auto; }
.game .blurb { margin-top: 10px; color: var(--pewter); font-size: 17px; flex: 1; }
.game .acts { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.mini { font: 600 14px/1 var(--ui); padding: 11px 16px; border-radius: var(--r-pill); text-decoration: none; border: 2px solid var(--steel); color: var(--bone); }
a.mini:hover { border-color: rgb(var(--accent)); color: rgb(var(--accent)); }
a.mini.solid { background: rgb(var(--accent)); border-color: rgb(var(--accent)); color: var(--soot); }
a.mini.solid:hover { filter: brightness(1.1); color: var(--soot); }
span.mini { color: var(--dust); border-style: dashed; }
.next-thing { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; padding: 26px 30px; border-radius: var(--r-lg);
  border: 2px dashed var(--steel); color: var(--pewter); }
.next-thing img { width: 92px; flex: none; }
.next-thing b { display: block; font: 400 24px/1.1 var(--display); color: var(--bone); margin-bottom: 6px; }

@media (max-width: 960px) { .games > .game, .games > .game:nth-child(-n+2) { grid-column: span 3; } }
@media (max-width: 640px) { .games > .game, .games > .game:nth-child(-n+2), .games.two > .game { grid-column: 1 / -1; } .next-thing { flex-direction: column; text-align: center; } }

/* ---- by the numbers: bone ground --------------------------------------- */
.numbers { background: var(--bone); color: var(--soot); border-radius: 48px 48px 0 0; position: relative; }
.numbers .kicker { color: var(--forge); }
.numbers .section-head .side { color: var(--ash); }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.stat { background: #fff; border-radius: var(--r-md); padding: 26px 22px 22px; border: 2px solid #ddd3c3; }
.stat .n { font: 400 clamp(46px, 5vw, 66px)/1 var(--display); color: var(--forge); font-variant-numeric: tabular-nums; }
.stat .l { margin-top: 10px; font: 600 16px/1.3 var(--ui); color: var(--loam); }
.stat.slimes { background: var(--soot); border-color: var(--soot); position: relative; overflow: hidden; }
.stat.slimes .n { color: var(--signal); }
.stat.slimes .l { color: var(--pewter); }
.stat.slimes img { position: absolute; right: -14px; bottom: -10px; width: 92px; }
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat.slimes { grid-column: 1 / -1; } }

/* ---- meet the slime ------------------------------------------------------ */
.mascot { background: var(--bone); color: var(--soot); padding-top: 0; }
.mascot-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.turn { background: var(--soot); color: var(--bone); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.turn h3 { font-size: 30px; }
.turn p { color: var(--pewter); margin-top: 8px; font-size: 17px; }
.turn-view { flex: 1; min-height: 260px; display: grid; place-items: center; position: relative; margin: 18px 0 10px; cursor: ew-resize; touch-action: pan-y; }
.turn-view::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 12px; height: 22px; border-radius: 50%; background: radial-gradient(rgba(242,106,27,.4), transparent 70%); z-index: 0; }
.turn-view img { position: absolute; bottom: 20px; width: min(230px, 70%); opacity: 0; z-index: 1; filter: drop-shadow(0 0 26px rgba(242,106,27,.3)); }
.turn-view img.on { opacity: 1; }
.turn-ctl { display: flex; align-items: center; gap: 12px; }
.turn-ctl button { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--steel); background: none; color: var(--bone); cursor: pointer; display: grid; place-items: center; }
.turn-ctl button:hover { border-color: var(--signal); color: var(--signal); }
.turn-ctl svg { width: 18px; height: 18px; }
.turn-ctl output { font: 600 15px var(--ui); color: var(--flare); min-width: 4.5em; text-align: center; }

.moods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mood { margin: 0; background: #fff; border: 2px solid #ddd3c3; border-radius: var(--r-md); padding: 18px 16px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.mood img { height: 112px; width: auto; object-fit: contain; transition: transform .35s var(--ease-goo); }
.mood:hover img { transform: translateY(-6px) rotate(-3deg); }
.mood figcaption { margin-top: 12px; }
.mood b { display: block; font: 600 16px/1.2 var(--ui); color: var(--soot); }
.mood span { display: block; font-size: 15px; line-height: 1.35; color: var(--ash); margin-top: 4px; }
.mood.say { background: var(--signal); border-color: var(--signal); justify-content: center; text-align: left; align-items: flex-start; }
.mood.say p { font: 400 26px/1.05 var(--display); color: var(--soot); }
.mood.say span { color: var(--soot); opacity: .75; margin-top: 10px; }
@media (max-width: 960px) { .mascot-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .moods { grid-template-columns: repeat(2, 1fr); } .mood img { height: 90px; } }

/* ---- CUUBEE ----------------------------------------------------------- */
.cuubee { background: var(--bone); color: var(--soot); padding-top: 0; border-radius: 0 0 48px 48px; }
.mascot .section-head .side { color: var(--ash); }
.cuubee-panel .lede { margin-top: 18px; }
.cuubee-panel { background: var(--hazard); border-radius: 40px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cuubee-panel h2 { font-size: clamp(40px, 5.4vw, 70px); }
.cuubee-panel .lede { color: var(--loam); }
.cuubee-panel .kicker { color: var(--soot); }
.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding: 0; list-style: none; }
.platforms li { font: 600 15px var(--ui); padding: 9px 16px; border-radius: var(--r-pill); background: rgba(20,17,14,.1); }
.worlds { display: grid; gap: 14px; }
.world { background: var(--soot); color: var(--bone); border-radius: var(--r-md); padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: center; text-decoration: none; }
.world .cube { grid-row: span 2; width: 54px; height: 54px; border-radius: 14px; background: rgb(var(--accent)); display: grid; place-items: center; color: var(--soot); font: 400 22px var(--display); }
.world b { font: 400 22px/1.1 var(--display); }
.world span { color: var(--pewter); font-size: 15px; }
@media (max-width: 860px) { .cuubee-panel { grid-template-columns: 1fr; } }

/* ---- how we work ----------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 30px 28px 32px; border-radius: var(--r-lg); background: var(--gunmetal); }
.value::before { content: ""; display: block; width: 44px; height: 10px; border-radius: 5px; background: var(--signal); margin-bottom: 22px; }
.value:nth-child(2)::before { background: var(--hazard); }
.value:nth-child(3)::before { background: var(--flare); }
.value h3 { font-size: 26px; line-height: 1.05; }
.value p { margin-top: 12px; color: var(--pewter); font-size: 17px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---- join us --------------------------------------------------------- */
.join { padding: 40px 0 clamp(80px, 10vw, 130px); }
.join-panel { position: relative; background: var(--signal); color: var(--soot); border-radius: 40px; padding: clamp(36px, 5vw, 70px);
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; margin-top: 90px; }
.join-panel h2 { font-size: clamp(42px, 6vw, 80px); }
.join-panel p { font-size: 20px; margin-top: 14px; max-width: 28em; color: #3a1a08; }
.join-panel .peek { position: absolute; right: clamp(30px, 10%, 140px); top: 0; width: clamp(120px, 15vw, 180px); transform: translateY(-78%); }
.join-panel .btn-row { margin-top: 0; }
@media (max-width: 760px) { .join-panel { grid-template-columns: 1fr; } .join-panel .peek { right: 24px; } }

/* ---- footer ---------------------------------------------------------- */
.site-footer { background: #0e0c0a; border-top: 1px solid var(--iron); padding: 64px 0 40px; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 36px; }
.company { display: flex; gap: 18px; align-items: flex-start; }
.co-mark { width: 56px; height: 56px; flex: none; border-radius: 14px; border: 1px solid var(--steel); }
.co-name { font: 600 19px/1.2 var(--ui); color: var(--bone); }
.co-fr { margin-top: 2px; font: 500 14px var(--ui); color: var(--dust); }
.co-tag { margin-top: 12px; color: var(--pewter); }
.co-reg { margin-top: 8px; color: var(--dust); font-size: 15px; line-height: 1.5; max-width: 26em; }
.co-reg b { color: var(--hazard); font: 600 15px var(--ui); letter-spacing: .02em; }
.foot-grid h4 { margin: 0 0 14px; font: 600 15px var(--ui); color: var(--flare); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid ul a { color: var(--pewter); text-decoration: none; }
.foot-grid ul a:hover { color: var(--bone); text-decoration: underline; text-underline-offset: 4px; }
.foot-base { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--iron); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; color: var(--dust); font-size: 15px; }
.foot-base .sleepy { width: 70px; opacity: .9; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---- inner page header --------------------------------------------------- */
.page-head { background: radial-gradient(60% 80% at 80% 70%, rgba(242,106,27,.2), transparent 70%), var(--loam); padding: clamp(50px, 7vw, 90px) 0 clamp(50px, 6vw, 80px); position: relative; overflow: hidden; }
.page-head .wrap { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.page-head h1 { font-size: clamp(50px, 7.4vw, 100px); }
.page-head .lede { margin-top: 22px; }
.page-head .mascot-img { width: clamp(150px, 20vw, 250px); filter: drop-shadow(0 0 30px rgba(242,106,27,.35)); }
@media (max-width: 760px) { .page-head .wrap { grid-template-columns: 1fr; } .page-head .mascot-img { width: 150px; } }

/* ---- careers ------------------------------------------------------------ */
.depts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.dept { background: var(--gunmetal); border-radius: var(--r-lg); padding: 28px; }
.dept.wide { grid-column: 1 / -1; background: var(--iron); }
.dept h3 { font-size: 28px; }
.dept p { margin-top: 8px; color: var(--pewter); font-size: 17px; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.role { font: 600 15px var(--ui); padding: 10px 16px; border-radius: var(--r-pill); border: 2px solid var(--steel); background: none; color: var(--bone); cursor: pointer; transition: border-color .2s, color .2s, transform .2s var(--ease-goo); }
.role:hover { border-color: var(--signal); color: var(--flare); transform: translateY(-2px); }
.jobs-note { margin-top: 26px; padding: 26px 28px; border-radius: var(--r-lg); border: 2px dashed var(--steel); color: var(--pewter); display: flex; gap: 20px; align-items: center; }
.jobs-note img { width: 80px; flex: none; }
.jobs-note b { display: block; font: 400 22px/1.15 var(--display); color: var(--bone); margin-bottom: 6px; }
@media (max-width: 760px) { .depts { grid-template-columns: 1fr; } }

.apply { background: var(--bone); color: var(--soot); border-radius: 48px 48px 0 0; }
.form-panel { max-width: 820px; margin: 0 auto; }
.form-panel h2 { font-size: clamp(40px, 5vw, 62px); }
.form-panel .intro { margin-top: 12px; color: var(--ash); }
.form { margin-top: 36px; display: grid; gap: 22px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field .label { font: 600 16px var(--ui); color: var(--soot); }
.req { color: var(--forge); }
.hint { font-size: 15px; color: var(--ash); }
.input, .select, .textarea { width: 100%; font: 400 17px var(--text); color: var(--soot); background: #fff; border: 2px solid #d6cbb9; border-radius: 14px; padding: 13px 16px; transition: border-color .2s, box-shadow .2s; }
.select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23AD4418' stroke-width='2'/%3E%3C/svg%3E") right 16px center / 12px no-repeat; padding-right: 40px; }
.select:disabled { opacity: .55; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px rgba(242,106,27,.2); }
.err { display: none; font: 600 14px var(--ui); color: #b4271a; }
.field.invalid .err { display: block; }
.field.invalid .input, .field.invalid .select, .field.invalid .file label { border-color: #b4271a; }
.file { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.file label { font: 600 15px var(--ui); padding: 12px 20px; border-radius: var(--r-pill); background: var(--soot); color: var(--bone); cursor: pointer; border: 2px solid var(--soot); }
.file input:focus-visible + label { outline: 3px solid var(--signal); outline-offset: 3px; }
.file .names { font-size: 15px; color: var(--ash); }
.hp { position: absolute; left: -9999px; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 8px; padding-top: 24px; border-top: 2px solid #ddd3c3; }
.submit-row .title { font: 400 26px var(--display); }
.form-status { padding: 18px 20px; border-radius: 14px; background: #fff; border: 2px solid #d6cbb9; }
.form-status.ok { border-color: #4f8a3a; }
.form-status.bad { border-color: #b4271a; }

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

/* ---- jump targets land below the sticky header ------------------------- */
[id] { scroll-margin-top: 84px; }
.nav a.contact-link { color: var(--bone); box-shadow: inset 0 0 0 2px var(--steel); }
.nav a.contact-link:hover { box-shadow: inset 0 0 0 2px var(--signal); background: transparent; color: var(--flare); }
.how { padding-bottom: clamp(50px, 6vw, 80px); }
.how + .section { padding-top: 0; }

/* ---- contact (home page, last section) -------------------------------- */
.contact { padding: clamp(90px, 11vw, 150px) 0 clamp(90px, 10vw, 140px); background:
    radial-gradient(50% 60% at 85% 40%, rgba(242,106,27,.10), transparent 70%), var(--soot); }
.contact .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact h2 { font-size: clamp(44px, 5.8vw, 76px); line-height: .98; }
.contact .lede { margin-top: 24px; }
.mail-btn { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; padding: 15px 22px; border-radius: 16px;
  border: 2px solid var(--signal); color: var(--flare); text-decoration: none; font: 600 18px var(--ui);
  background: rgba(242,106,27,.08); box-shadow: 0 0 30px rgba(242,106,27,.12); transition: background .2s, color .2s; }
.mail-btn:hover { background: var(--signal); color: var(--soot); }
.mail-btn svg { width: 22px; height: 22px; flex: none; }
.mail-btn[hidden] { display: none; }
.contact-alt { margin-top: 28px; color: var(--dust); font-size: 16px; }
.contact-alt a { color: var(--pewter); text-underline-offset: 4px; }
.contact-alt a:hover { color: var(--flare); }

.contact-panel { position: relative; background: var(--gunmetal); border: 1px solid var(--iron); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); }
.contact-slime { position: absolute; width: 104px; right: 34px; top: 0; transform: translateY(-74%); filter: drop-shadow(0 0 20px rgba(242,106,27,.3)); pointer-events: none; }
.contact-form { display: grid; gap: 20px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { font: 600 15px var(--ui); color: var(--bone); }
.contact-form .opt { font-weight: 500; color: var(--dust); margin-left: 6px; }
.contact-form .input, .contact-form .select, .contact-form .textarea { background-color: #0f0d0b; color: var(--bone); border: 1.5px solid var(--steel); border-radius: 12px; }
.contact-form .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23FF9A4D' stroke-width='2'/%3E%3C/svg%3E"); }
.contact-form .select option { background: var(--gunmetal); color: var(--bone); }
.contact-form .textarea { resize: vertical; min-height: 150px; }
.contact-form .input:focus, .contact-form .select:focus, .contact-form .textarea:focus { border-color: var(--signal); box-shadow: 0 0 0 4px rgba(242,106,27,.18); }
.contact-form .err { color: #ff8a73; }
.contact-form .field.invalid .input, .contact-form .field.invalid .textarea { border-color: #ff8a73; }
.contact-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 6px; }
.contact-foot .note { flex: 1; max-width: 22em; }
.contact-foot .btn { flex: none; }
.contact .form-status { background: #0f0d0b; border-color: var(--steel); color: var(--pewter); }
.contact .form-status.ok { border-color: #6fae55; }
.contact .form-status.bad { border-color: #ff8a73; }
.contact .form-status a { color: var(--flare); }
@media (max-width: 900px) {
  .contact .wrap { grid-template-columns: 1fr; }
  .contact-panel { margin-top: 40px; }
}
@media (max-width: 560px) { .contact-foot { flex-direction: column; align-items: stretch; } .contact-form .row { grid-template-columns: 1fr; } .contact-slime { width: 84px; right: 20px; } }
.foot-grid ul + ul { margin-top: 8px; }
