/* ============================================================
   StudioHub hiring pages — shared design system.

   Every page in projects/hiring/ links this file. Change a colour,
   a heading size or the block treatment here and all of them follow.
   Anything only one page needs stays in that page's own <style>.

   The values come from studiohub.ai's computed styles, not from a
   screenshot. The reasoning is in decisions.md.
   ============================================================ */

:root {
  --bg:        #f5f2ff;
  --blue:      #4fbdff;
  --blue-ink:  #188bf6;
  --black:     #000000;
  --white:     #ffffff;
  --ink:       #111318;
  --body:      #405561;
  --grey:      #7a8b95;
  --radius:    25px;
  --wave:      120px;
  --shadow:    4px 4px 0 rgba(0,0,0,0.267);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--body);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* a long unbroken string — a share URL — must wrap rather than push the
   page sideways on a phone */
p, li, a, td { overflow-wrap: break-word; }
.center { text-align: center; }

/* Only .hero is centred by default. A plain <section> is left-aligned, so a
   section that should be centred has to say so — otherwise it lands on the
   page with a different left edge from everything above it. This has caused
   the same bug twice. */
section { padding: 30px 0; }
p { margin: 0 0 20px; }
a { color: var(--blue-ink); }

/* ---- type scale ------------------------------------------------ */

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 20px; }
h1 { font-size: 76px; font-weight: 900; letter-spacing: -1.6px; }
h2 { font-size: 38px; font-weight: 900; letter-spacing: -0.3px; }
h3 { font-size: 26px; font-weight: 900; }
h4 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }

/* a headline that opens a whole section, wherever it sits */
.band h2, .section-lead h2, #apply h2, #about h2, #stories h2 {
  font-size: 58px; letter-spacing: -0.8px;
}

.eyebrow {
  color: var(--blue-ink);
  font-size: 14px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  margin: 0 0 14px;
}
.hero .eyebrow { font-size: 22px; letter-spacing: 4px; margin-bottom: 18px; }
.band .eyebrow, .section-lead .eyebrow, #apply .eyebrow, #about .eyebrow {
  font-size: 20px; letter-spacing: 3.5px; margin-bottom: 16px;
}
.sub-lead { font-size: 25px; font-weight: 400; margin-bottom: 36px; }
.hero .subtitle { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 0; }

/* ---- blocks ----------------------------------------------------- */
/* Every block on every page looks the same: white, hard black border,
   rounded, and offset by a shadow with no blur. */

.card, .fact, .box, .note, .rule-box,
.video-wrap, .form-shell, .cal-shell, .testimonial, .role-card {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card { padding: 40px; }
.box  { padding: 30px 34px; margin: 0 0 6px; }
.note { padding: 30px 34px; }
.box p:last-child, .box ul:last-child, .box ol:last-child,
.note p:last-child { margin-bottom: 0; }

.video-wrap { overflow: hidden; background: #0d1017; padding: 0; }

/* ---- hero -------------------------------------------------------- */

.hero { text-align: center; padding: 56px 0 20px; }
.hero .logo { width: 210px; height: auto; display: block; margin: 0 auto 44px; }
.hero h1 { margin-bottom: 24px; }
.hero .intro { max-width: 640px; margin: 0 auto; }

/* ---- buttons ----------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--black); color: var(--white);
  text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 16px 30px; border-radius: 10px;
  border: 2px solid var(--black);
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 rgba(0,0,0,0.267); }
.btn svg { width: 16px; height: 16px; flex: none; fill: currentColor; }
.btn-lg { font-size: 21px; padding: 22px 46px; border-radius: 12px; gap: 12px; }
.btn-lg svg { width: 21px; height: 21px; }

/* ---- curved blue bands ------------------------------------------- */
/* The curve is an SVG wave filled with the page background, layered
   behind the content. Because it sits behind, content can cross it —
   that is how the video hangs over the edge of a band. */

.band {
  position: relative;
  background: var(--blue);
  padding: 168px 0;
  margin: 40px 0 0;
}
.band .wave { position: absolute; left: 0; width: 100%; overflow: hidden; line-height: 0; z-index: 1; }
.band .wave svg { position: relative; display: block; width: calc(282% + 1.3px); height: var(--wave); }
.band .wave path { fill: var(--bg); }
.band .wave-top { top: 0; }
.band .wave-bottom { bottom: 0; transform: rotate(180deg); }
.band > .wrap { position: relative; z-index: 2; }
.band h2, .band h3 { color: var(--white); }
.band p { color: rgba(255,255,255,0.96); }
.band .eyebrow { color: var(--white); }
.band .btn { background: var(--black); color: var(--white); }
/* a list sitting directly on the blue needs white bullets, not blue ones.
   Lists inside a white card in the band keep the blue bullet. */
.band > .wrap ul.ticks li::before { background: var(--white); }

/* a white card inside a band keeps its own colours */
.band .card h2, .band .card h3, .band .card h4 { color: var(--ink); }
.band .card p, .band .card li { color: var(--body); }

/* ---- lists -------------------------------------------------------- */

ul.ticks { list-style: none; margin: 0; padding: 0; }
ul.ticks li { position: relative; padding: 0 0 0 34px; margin: 0 0 16px; }
ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--blue);
}
ul.ticks li:last-child { margin-bottom: 0; }

ol.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
ol.steps li { position: relative; counter-increment: step; padding: 0 0 0 46px; margin: 0 0 18px; }
ol.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 2px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
ol.steps li:last-child { margin-bottom: 0; }

/* ---- fact tiles ---------------------------------------------------- */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px; margin: 0 0 36px; padding: 0;
}
.fact { padding: 22px 18px; }
.fact dt {
  font-size: 12px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--blue-ink); margin: 0 0 6px;
}
.fact dd { margin: 0; font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.35; }

/* ---- testimonial videos --------------------------------------------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  margin: 0;
  text-align: left;
}
.testimonial { overflow: hidden; }
.frame { position: relative; width: 100%; padding-top: 56.25%; background: #0d1017; }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; display: block; }
.who { padding: 18px 22px 20px; }
.who strong { display: block; font-size: 17px; color: var(--ink); }
.who span { color: var(--grey); font-size: 15px; }
/* the city and state in blue, like the home page (Hervin, 2026-08-29) */
.who em { color: var(--blue); font-style: italic; }

/* ---- callout boxes --------------------------------------------------- */

.box-label {
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue-ink);
  margin: 0 0 12px;
}
.box.dark { background: var(--black); }
.box.dark, .box.dark p { color: rgba(255,255,255,0.84); }
.box.dark strong { color: var(--white); }
.box.dark .box-label { color: var(--blue); }
.box.dark ul.ticks li::before { background: var(--blue); }
.box.blue { background: var(--blue); border-color: var(--black); }
.box.blue, .box.blue p { color: var(--white); }
.box.blue .box-label { color: var(--white); }
.box.blue ul.ticks li::before { background: var(--white); }

/* ---- footer ------------------------------------------------------------ */
/* A panel, inset from the page edges, not a full-bleed shape. */

footer {
  background: var(--black);
  color: rgba(255,255,255,0.62);
  border-radius: 15px;
  margin: 40px 20px 20px;
  padding: 72px 24px 56px;
  text-align: center;
  font-size: 15px;
}
footer .logo { width: 168px; height: auto; display: block; margin: 0 auto 30px; }
footer p { margin: 0 auto 14px; max-width: 720px; }
footer a { color: rgba(255,255,255,0.85); }

/* ---- phones -------------------------------------------------------------- */

@media (max-width: 640px) {
  body { font-size: 17px; }
  h1 { font-size: 46px; letter-spacing: -1px; }
  h2 { font-size: 29px; }
  h3 { font-size: 22px; }
  .band h2, .section-lead h2, #apply h2, #about h2, #stories h2 {
    font-size: 38px; letter-spacing: -0.4px;
  }
  .hero .eyebrow { font-size: 17px; letter-spacing: 3px; }
  .band .eyebrow, .section-lead .eyebrow, #apply .eyebrow, #about .eyebrow {
    font-size: 16px; letter-spacing: 2.5px;
  }
  .sub-lead { font-size: 20px; margin-bottom: 28px; }
  .hero .subtitle { font-size: 18px; }
  .band { padding: 110px 0; --wave: 70px; }
  .card, .rule-box { padding: 26px; }
  .box, .note { padding: 24px; }
  .hero { padding: 36px 0 12px; }
  .hero .logo { width: 172px; margin-bottom: 32px; }
  footer { margin: 32px 12px 12px; padding: 56px 20px 44px; }
}
