/* WorkWright Studio: shared styles
   One stylesheet for every page. Colours and type sizes live in :root,
   so most changes are a single edit here. */

:root {
  --black: #141414;
  --signal: #FF5A1F;
  --paper: #F2F1ED;
  --concrete: #C9C7C1;
  --white: #FFFFFF;
  --rule: #DCDAD4;
  --rule-dark: #3A3935;
  --ink-2: #2B2A27;
  --ink-3: #3A3935;
  --muted: #57554F;

  --font: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: 32px;
  --section: 112px;
  --page-top: clamp(24px, 3.4vw, 48px); /* space between the menu and the first content on every page */
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* The large hero mark bleeds off the right edge; this stops sideways scrolling */
main { overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--black); }
a:hover { color: var(--muted); }
a:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

/* Keep single words from sitting alone on the last line */
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--black); color: var(--paper); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 8px; color: var(--paper); }

/* ---------- Layout ---------- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.bg-white { background: var(--white); }
.bg-black { background: var(--black); color: var(--paper); }
.bg-signal { background: var(--signal); color: var(--black); }
.rule-top { border-top: 1px solid var(--rule); }
.rule-bottom { border-bottom: 1px solid var(--rule); }

.head-row { display: flex; flex-wrap: wrap; gap: 24px 72px; align-items: flex-end; justify-content: space-between; }
.head-row > :first-child { flex: 1 1 520px; min-width: 0; }
.head-row > .lede { flex: 1 1 360px; }

/* ---------- Type ---------- */

.eyebrow { margin-bottom: 16px; font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 700; }
.h1-page { font-size: clamp(44px, 6vw, 84px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 700; }
.h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; }
.h2-sm { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; }
.lede { font-size: 18px; line-height: 1.55; color: var(--ink-3); }
.body-lg { font-size: 20px; line-height: 1.6; color: var(--ink-2); }
.body-lg + .body-lg { margin-top: 20px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; min-height: 52px;
  padding: 16px 28px; border-radius: 999px;
  font-size: 17px; font-weight: 600; text-decoration: none;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-signal { background: var(--signal); color: var(--black); }
.btn-signal:hover { color: var(--black); }
.btn-dark { background: var(--black); color: var(--paper); }
.btn-dark:hover { color: var(--paper); }
.btn-outline { border: 1.5px solid var(--black); color: var(--black); }
.btn-sm { min-height: 44px; padding: 12px 20px; font-size: 16px; font-weight: 500; }
.btn-lg { min-height: 56px; padding: 18px 32px; font-size: 18px; }

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

.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-block: 24px; }
.site-header .brand { margin-right: auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); }
.label-short { display: none; }
.brand span { font-size: 22px; letter-spacing: -0.01em; }
.brand strong { font-weight: 700; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--signal); text-underline-offset: 8px; }

/* ---------- Hero ---------- */

.hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; padding-top: var(--page-top); }
.hero-copy { flex: 1 1 600px; min-width: 0; padding-bottom: 96px; }
.hero-kicker { margin-bottom: 28px; font-size: 16px; font-weight: 500; color: var(--muted); }
.hero .h1 { max-width: 12ch; text-wrap: pretty; }
.hero-text { margin-top: 32px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; max-width: 30em; color: var(--ink-2); }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-mark { flex: 1 1 380px; min-width: 0; height: 620px; position: relative; }
.hero-mark svg { position: absolute; left: 0; bottom: -150px; width: 760px; height: auto; }

/* ---------- Problem ---------- */

.points { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 40px; }
.point { border-top: 1.5px solid var(--black); padding-top: 20px; }
.point h3 { margin-bottom: 10px; font-size: 21px; letter-spacing: -0.01em; font-weight: 700; }
.point p { font-size: 17px; line-height: 1.55; color: var(--ink-3); }

/* ---------- Fit flow ---------- */

.fit-title { max-width: 26ch; text-wrap: balance; }
.flow { margin-top: 64px; display: grid; grid-template-columns: 1fr 32px 1fr 32px 1.35fr; gap: 16px; align-items: stretch; }
.flow-col { display: flex; flex-direction: column; gap: 10px; }
.flow-label { margin-bottom: 6px; font-size: 18px; font-weight: 700; }
.flow-arrow { display: flex; align-items: center; justify-content: center; padding-top: 34px; }
.chip { flex: 1 1 0; display: flex; align-items: center; background: var(--black); color: var(--paper); border-radius: 12px; padding: 18px 22px; font-size: 17px; font-weight: 600; line-height: 1.35; }
.flow-box { flex-grow: 1; border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 14px; border: 1.5px solid var(--black); background: var(--white); }
.flow-box.stall { background: var(--signal); border-color: var(--signal); }
.flow-box h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; font-weight: 700; }
.flow-box p { font-size: 16px; line-height: 1.55; color: var(--ink-3); }
.flow-box.stall p { color: var(--black); }

/* ---------- Sequence band ---------- */

.band { padding-block: 104px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; align-items: start; }
.band-line { margin-bottom: 14px; font-size: clamp(28px, 3vw, 42px); line-height: 1; letter-spacing: -0.035em; font-weight: 700; white-space: nowrap; }
.band-text { font-size: 17px; line-height: 1.5; color: var(--concrete); }
.band-stage { margin-top: 20px; font-size: 15px; font-weight: 600; color: var(--signal); }

/* ---------- Stages ---------- */

/* Each stage shares the panel's three rows (bar, body, "You leave with"),
   so the bottom strips line up across all three stages */
.stages { margin-top: 56px; background: var(--white); border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto auto; }
.stage { display: grid; grid-row: span 3; grid-template-rows: subgrid; border-left: 1px solid var(--rule); }
.stage:first-child { border-left: none; }
.stage-bar { height: 5px; background: var(--black); }
.stage-bar.is-start { background: var(--signal); }
.stage-body { flex-grow: 1; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.stage-label { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.stage-name { font-size: clamp(36px, 3.2vw, 46px); line-height: 1; letter-spacing: -0.035em; font-weight: 700; }
.stage-promise { margin-bottom: 6px; min-height: 2.8em; font-size: 19px; line-height: 1.4; font-weight: 500; color: var(--ink-2); }
.dash-list { display: flex; flex-direction: column; gap: 12px; }
.dash-list li { display: flex; gap: 14px; align-items: baseline; font-size: 16px; line-height: 1.5; color: var(--ink-3); }
.dash-list li::before { content: ""; flex: 0 0 12px; height: 2px; background: var(--black); transform: translateY(-4px); }
.stage-leave { background: var(--paper); border-top: 1px solid var(--rule); padding: 22px 36px 26px; }
.stage-leave-label { margin-bottom: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.stage-leave-text { font-size: 17px; line-height: 1.4; font-weight: 600; }

/* ---------- Week in the life ---------- */

.week-title { max-width: 15ch; }
.week { margin-top: 56px; }
.week-row { display: grid; grid-template-columns: 240px 1fr 1fr; gap: 12px 48px; border-top: 1px solid var(--rule); padding-block: 28px; }
.week-row:last-child { border-bottom: 1px solid var(--rule); }
.week-head { border-top: none; padding-block: 0 14px; font-size: 15px; font-weight: 700; }
.week-head .before { color: var(--muted); }
.week-head .after span { display: inline-block; border-bottom: 3px solid var(--signal); padding-bottom: 4px; }
.week-when { margin-bottom: 4px; font-size: 14px; font-weight: 600; color: var(--muted); }
.week-who { font-size: 21px; letter-spacing: -0.01em; font-weight: 700; }
.week-before { font-size: 17px; line-height: 1.55; color: var(--muted); }
.week-after { font-size: 17px; line-height: 1.55; font-weight: 500; }
.week-tag { display: none; font-weight: 700; }

/* ---------- What your team keeps ---------- */

.keeps-text { color: var(--concrete); }
.keeps { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.keep { border-top: 1px solid var(--rule-dark); padding-top: 18px; }
.keep h3 { margin-bottom: 8px; font-size: 19px; font-weight: 700; color: var(--signal); }
.keep p { font-size: 16px; line-height: 1.5; color: var(--concrete); }

/* ---------- Founder / About intro ---------- */

.founder { display: flex; flex-wrap: wrap; gap: 56px 80px; align-items: center; }
.about-intro { padding-block: var(--page-top) var(--section); align-items: flex-start; }
.about-intro .founder-photo { margin-top: 8px; }
.founder-photo { flex: 1 1 340px; min-width: 0; max-width: 460px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 20px; background: var(--concrete); }
.founder-copy { flex: 1 1 480px; min-width: 0; }
.founder-copy .h2 { margin-bottom: 28px; }
.founder-copy .h1-page { margin-bottom: 32px; }
.founder-copy p.body { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.founder-copy p.body + p.body { margin-top: 20px; }
.founder-name { margin-top: 32px; font-size: 20px; font-weight: 700; }
.founder-role { margin-top: 4px; font-size: 16px; color: var(--muted); }
.founder-link { display: inline-block; margin-top: 28px; font-size: 17px; font-weight: 600; }

/* ---------- Card grids (About, Contact) ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.card { border-top: 1.5px solid var(--black); padding-top: 20px; }
.card-step { margin-bottom: 10px; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.card h3 { margin-bottom: 10px; font-size: 22px; letter-spacing: -0.01em; font-weight: 700; }
.card p { font-size: 17px; line-height: 1.55; color: var(--ink-3); }
.section-title { margin-bottom: 48px; }

/* ---------- Name story ---------- */

.story { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.story-head { flex: 1 1 280px; min-width: 0; }
.story-body { flex: 2 1 560px; min-width: 0; border-top: 3px solid var(--signal); padding-top: 28px; }
.story-lead { margin-bottom: 24px; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; }
.story-body p.body { font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.story-body p.body + p.body { margin-top: 20px; }

/* ---------- Questions ---------- */

.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 40px 64px; }
.faq h3 { font-size: 21px; }

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

.contact-intro { padding-block: var(--page-top) 64px; }
.contact-intro .h1-page { margin-bottom: 32px; max-width: 14ch; }
.contact-intro p { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 32em; }
.ways { padding-bottom: var(--section); display: flex; flex-wrap: wrap; gap: 24px; }
.way { min-width: 0; border-radius: 20px; padding: 48px; }
.way h2 { margin-bottom: 12px; font-size: 32px; letter-spacing: -0.025em; font-weight: 700; }
.way p { margin-bottom: 36px; font-size: 18px; line-height: 1.5; }
.way-book { flex: 1.3 1 480px; background: var(--black); color: var(--paper); }
.way-book p { color: var(--concrete); }
.way-write { flex: 1 1 340px; background: var(--white); border: 1px solid var(--rule); }
.way-write p { color: var(--ink-3); }
.way-write a { font-size: 20px; font-weight: 600; }

/* ---------- Call to action ---------- */

.cta { padding-block: 104px; display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: flex-end; justify-content: space-between; }
.cta-copy { flex: 1 1 560px; min-width: 0; }
.cta-title { margin-bottom: 24px; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.035em; font-weight: 700; }
.cta-copy p { font-size: 20px; line-height: 1.5; max-width: 30em; }
.cta-actions { flex: 0 1 auto; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta-actions p { font-size: 16px; }
.cta-actions p a { font-weight: 600; }

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

.site-footer { background: var(--black); color: var(--paper); }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.footer-inner { padding-block: 72px 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px 72px; justify-content: space-between; }
.footer-brand { flex: 1 1 360px; min-width: 0; }
.footer-brand .brand span { font-size: 24px; color: var(--paper); }
.footer-descriptor { margin-top: 20px; font-size: 16px; line-height: 1.5; color: var(--concrete); }
.footer-tagline { margin-top: 32px; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.footer-nav { flex: 0 1 auto; display: flex; flex-wrap: wrap; gap: 40px 72px; font-size: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { margin-bottom: 4px; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--concrete); }
.footer-bottom { margin-top: 64px; border-top: 1px solid var(--rule-dark); padding-top: 24px; font-size: 14px; line-height: 1.5; color: var(--concrete); }

/* ---------- 404 ---------- */

.not-found { padding-block: var(--page-top) 120px; }
.not-found p:not(.eyebrow) { margin-top: 24px; font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 30em; }
.not-found .hero-actions { margin-top: 40px; }

/* ---------- Smaller screens ---------- */

@media (max-width: 1000px) {
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { display: none; }
  .chip { flex: 0 0 auto; }
  .stages { grid-template-columns: 1fr; grid-template-rows: none; }
  .stage { border-left: none; border-top: 1px solid var(--rule); }
  .stage:first-child { border-top: none; }
  .stage-promise { min-height: 0; }
}

@media (max-width: 860px) {
  .week-row { grid-template-columns: 1fr; }
  .week-head { display: none; }
  .week-tag { display: inline; }
  .week-row:first-of-type { border-top: 1px solid var(--rule); }
}

/* Tablets and small laptops: the mark drops below the hero copy, so keep its bleed clear of the next headline */
@media (min-width: 761px) and (max-width: 1150px) {
  .hero-copy { padding-bottom: 8px; }
  .hero-mark { flex: 0 0 100%; height: 300px; }
  .hero-mark svg { width: 560px; left: auto; right: -120px; bottom: -60px; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --section: 72px; }

  /* Header: logo on its own row, then one ruled row with the links and "Book a call" */
  .site-header { padding-block: 16px 0; gap: 14px 0; }
  .site-header .brand { flex: 0 0 100%; margin-right: 0; gap: 10px; }
  .site-header .brand svg { width: 38px; height: auto; }
  .site-header .brand span { font-size: 20px; }
  .nav { order: 2; flex: 1 1 auto; flex-wrap: nowrap; white-space: nowrap; gap: clamp(10px, 3.4vw, 20px); padding: 12px 10px 12px 0; border-top: 1px solid var(--rule); font-size: 15px; }
  .nav a[aria-current="page"] { text-underline-offset: 6px; }
  .header-book { order: 3; white-space: nowrap; min-height: 0; padding: 12px 0; border-top: 1px solid var(--rule); border-radius: 0; background: none; color: var(--black); font-size: 15px; font-weight: 700; }
  .header-book:hover { transform: none; color: var(--black); }
  .label-long { display: none; }
  .label-short { display: inline; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 6px; }

  /* Hero: keep the large mark, tucked under the buttons and bleeding off the edge */
  .hero { gap: 0; }
  .hero-copy { padding-bottom: 0; }
  .hero-mark { display: block; flex: 0 0 100%; height: 236px; }
  .hero-mark svg { width: 360px; left: auto; right: -84px; bottom: -36px; }
  .band, .cta { padding-block: 72px; }
  .way { padding: 32px; }
  .faq { grid-template-columns: 1fr; }
  .band-line { white-space: normal; }
}

@media (max-width: 400px) {
  .nav, .header-book { font-size: 14px; }
}
