/* Breaking Into Marketing — cool paper, ink navy, cobalt for action, highlighter for the plan. */
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('/assets/schibsted-grotesk.woff2') format('woff2');
  font-weight: 400 900; font-style: normal; font-display: swap;
}
:root {
  --paper: #F5F7FA;
  --surface: #FFFFFF;
  --ink: #0F1B2D;
  --slate: #536074;
  --rule: #D6DCE4;
  --cobalt: #2944E8;
  --cobalt-deep: #1C30B5;
  --mark: #F3DF4A;
  --mark-soft: #FBF2B4;
  --focus: #2944E8;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
  --step-3: clamp(2.5rem, 1.5rem + 4.2vw, 4.75rem);
  --space: clamp(64px, 9vw, 128px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--cobalt); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.muted { color: var(--slate); }
.small { font-size: var(--step--1); }
.block { display: block; }
.nowrap { white-space: nowrap; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 5; background: rgb(245 247 250 / 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.masthead-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.wordmark { font-weight: 850; font-size: 1.375rem; letter-spacing: -0.045em; color: var(--ink); text-decoration: none; }
.wordmark:hover { color: var(--ink); }
.masthead-nav { display: flex; align-items: center; gap: 28px; font-size: var(--step--1); }
.masthead-nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.masthead-nav a:not(.btn):hover { color: var(--cobalt); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--cobalt); color: #fff;
  font: inherit; font-weight: 650; text-decoration: none;
  border: 1px solid var(--cobalt); border-radius: 6px;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--cobalt-deep); color: #fff; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: var(--step--1); }
.btn-quiet { background: transparent; color: var(--cobalt-deep); border-color: var(--rule); }
.btn-quiet:hover { background: var(--surface); color: var(--cobalt-deep); border-color: var(--cobalt); }
.btn-block { display: flex; width: 100%; }
.link-strong { font-weight: 650; color: var(--ink); }

/* Hero */
.hero { padding: clamp(56px, 8vw, 112px) 0 var(--space); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 6vw, 88px); align-items: end; }
.hero h1 { font-size: var(--step-3); font-weight: 850; letter-spacing: -0.04em; line-height: 1.0; max-width: 13ch; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--slate); max-width: 46ch; margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }

/* Booking slip: the one boxed element in the hero */
.slip { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 26px 26px 20px; box-shadow: 0 1px 0 var(--rule), 0 20px 40px -28px rgb(15 27 45 / 0.35); }
.slip-title { font-weight: 800; font-size: var(--step-1); letter-spacing: -0.02em; margin-bottom: 14px; }
.slip-list { margin: 0; }
.slip-list > div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: var(--step--1); line-height: 1.45; }
.slip-list dt { color: var(--slate); }
.slip-list dd { margin: 0; font-weight: 600; }
.slip-list dd .muted { font-weight: 400; }
.slip-foot { margin: 6px 0 0; padding-top: 14px; border-top: 1px dashed var(--rule); font-size: var(--step--1); color: var(--slate); }

/* Sections */
.section { padding: var(--space) 0; border-top: 1px solid var(--rule); }
.section-alt { background: var(--surface); }
.h2 { font-size: var(--step-2); font-weight: 800; max-width: 22ch; }
.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }

/* Paths */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-top: 2px solid var(--ink); }
.paths-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }
.path { padding: 28px 28px 0 0; }
.path + .path { padding-left: 28px; border-left: 1px solid var(--rule); }
.path h3 { font-size: var(--step-1); font-weight: 750; margin-bottom: 14px; }
.path p { color: var(--slate); margin: 0; }

/* Flight plan — the signature */
.section-plan { background: var(--surface); }
.plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; margin-bottom: 40px; }
.plan-note { max-width: 44ch; margin: 0; }
.flowchart { --track: 210px; border: 1px solid var(--ink); border-radius: 4px; overflow: hidden; }
.fc-row { position: relative; display: grid; grid-template-columns: var(--track) repeat(6, minmax(0, 1fr)); min-height: 56px; align-items: center; border-top: 1px solid var(--rule); }
.fc-row:first-child { border-top: 0; }
.fc-row > span { padding: 10px 14px; font-size: var(--step--1); }
.fc-weeks { background: var(--ink); color: #fff; min-height: 60px; }
.fc-weeks > span { font-weight: 700; border-left: 1px solid rgb(255 255 255 / 0.14); line-height: 1.2; }
.fc-weeks > span:first-child { border-left: 0; color: rgb(255 255 255 / 0.6); font-weight: 500; }
.fc-weeks small { display: block; font-weight: 400; color: rgb(255 255 255 / 0.6); font-size: 0.75rem; margin-top: 2px; }
.fc-track { font-weight: 650; border-right: 1px solid var(--rule); align-self: stretch; display: flex; align-items: center; }
.fc-row:not(.fc-weeks)::before { /* week gridlines */
  content: ''; position: absolute; inset: 0 0 0 var(--track); pointer-events: none;
  background-image: linear-gradient(to right, var(--rule) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
}
.bar {
  grid-row: 1;
  height: 26px; margin: 0 8px; border-radius: 3px;
  background: var(--mark);
  transform-origin: left center;
  position: relative; z-index: 1;
}
.bar::after { /* marker edge: slightly uneven, like a real highlighter pass */
  content: ''; position: absolute; inset: -2px -3px; border-radius: 6px 2px 7px 3px;
  background: var(--mark); opacity: 0.45; transform: rotate(-0.6deg); z-index: -1;
}
.bar-thin { height: 10px; background: var(--mark-soft); }
.bar-thin::after { display: none; }
.bar-line { height: 4px; background: var(--cobalt); }
.bar-line::after { display: none; }
.fc-reviews { background: var(--paper); }

.js .flowchart .bar { transform: scaleX(0); }
.js .flowchart.drawn .bar { transform: scaleX(1); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.js .flowchart.drawn .fc-row:nth-child(3) .bar { transition-delay: .08s; }
.js .flowchart.drawn .fc-row:nth-child(4) .bar { transition-delay: .16s; }
.js .flowchart.drawn .fc-row:nth-child(5) .bar { transition-delay: .24s; }
.js .flowchart.drawn .fc-row:nth-child(6) .bar { transition-delay: .32s; }
.js .flowchart.drawn .fc-row:nth-child(7) .bar { transition-delay: .4s; }
.js .flowchart.drawn .fc-row:nth-child(8) .bar { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  .js .flowchart .bar { transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.weeks { list-style: none; counter-reset: wk; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 40px; }
.weeks li { counter-increment: wk; }
.weeks li::before { content: 'Week ' counter(wk); display: block; color: var(--slate); font-size: var(--step--1); margin-bottom: 6px; }
.weeks h3 { font-size: var(--step-1); font-weight: 750; margin-bottom: 10px; }
.weeks p { color: var(--slate); margin: 0; }
.bonus { margin: 48px 0 0; padding: 18px 22px; background: var(--mark-soft); border-radius: 6px; max-width: 70ch; }

/* Outcomes & included */
.outcomes { list-style: none; padding: 0; margin: 0; }
.outcomes li { padding: 18px 0 18px 34px; border-top: 1px solid var(--rule); position: relative; font-size: var(--step-1); line-height: 1.4; }
.outcomes li:last-child { border-bottom: 1px solid var(--rule); }
.outcomes li::before { content: ''; position: absolute; left: 0; top: 27px; width: 18px; height: 9px; border-left: 2.5px solid var(--cobalt); border-bottom: 2.5px solid var(--cobalt); transform: rotate(-45deg); }
.included { margin: 0; }
.included > div { padding: 20px 0; border-top: 1px solid var(--rule); }
.included > div:last-child { border-bottom: 1px solid var(--rule); }
.included dt { font-weight: 750; font-size: var(--step-1); margin-bottom: 4px; }
.included dd { margin: 0; color: var(--slate); }

/* Instructor */
.instructor { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.portrait { margin: 0; position: sticky; top: 100px; }
.portrait img { border-radius: 8px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(0.9); }
.portrait-fallback { aspect-ratio: 4 / 5; border-radius: 8px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: clamp(4rem, 10vw, 7rem); font-weight: 850; letter-spacing: -0.05em; }
.instructor-copy .h2 { margin-bottom: 8px; }
.instructor-copy > p.muted { margin-bottom: 28px; }
.instructor-copy p { max-width: 62ch; }
.socials a { margin-left: 10px; font-weight: 650; }
.not-this { margin-top: 36px; padding: 24px 26px; border-left: 4px solid var(--ink); background: var(--surface); }
.not-this h3 { font-size: var(--step-1); margin-bottom: 10px; }
.not-this p { margin: 0; color: var(--slate); }

/* Proof & quotes */
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px 48px; }
.proof-value { font-size: clamp(2rem, 1.4rem + 1.5vw, 2.75rem); font-weight: 850; letter-spacing: -0.035em; line-height: 1; margin-bottom: 12px; white-space: nowrap; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; margin-top: 48px; }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 16px; font-size: var(--step-1); line-height: 1.45; }
.quote figcaption { font-weight: 650; font-size: var(--step--1); }

/* Pricing */
.section-pricing { background: var(--ink); color: var(--paper); border-top: 0; }
.section-pricing .h2 { color: #fff; }
.section-pricing a:not(.btn) { color: #fff; }
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pricing-copy > p { font-size: var(--step-1); line-height: 1.5; color: rgb(245 247 250 / 0.78); max-width: 40ch; margin-top: 20px; }
.guarantee { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.18); max-width: 48ch; }
.guarantee h3 { font-size: var(--step-1); margin-bottom: 8px; color: var(--mark); }
.guarantee p { color: rgb(245 247 250 / 0.82); margin: 0; }
.ticket { background: var(--surface); color: var(--ink); border-radius: 10px; padding: 32px; display: grid; gap: 14px; }
.ticket .muted { margin: 0; }
.ticket a:not(.btn) { color: var(--cobalt-deep); }
.ticket-price { font-variant-numeric: tabular-nums; font-size: clamp(3rem, 2rem + 3vw, 4.25rem); font-weight: 850; letter-spacing: -0.045em; line-height: 1; margin: 0; }
.ticket-foot { margin: 4px 0 0; padding-top: 16px; border-top: 1px dashed var(--rule); font-size: var(--step--1); color: var(--slate); }
.notice { background: var(--mark-soft); padding: 12px 14px; border-radius: 6px; margin: 0; }

/* FAQ */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 650; font-size: var(--step-1); line-height: 1.35; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--slate); max-width: 60ch; padding-bottom: 8px; }

/* Final */
.final-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.final-line { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; max-width: 24ch; margin: 0; }

/* Footer */
.footer { border-top: 1px solid var(--rule); padding: 56px 0 64px; font-size: var(--step--1); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1.6fr; gap: 32px; }
.wordmark-footer { margin-bottom: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--ink); }
.footer-legal p { margin-bottom: 10px; }

/* Welcome, legal, 404 */
.welcome h1, .legal h1, .section > .narrow > h1 { font-size: var(--step-3); font-weight: 850; letter-spacing: -0.04em; line-height: 1.02; }
.steps { list-style: none; counter-reset: st; padding: 0; margin: 48px 0; }
.steps li { counter-increment: st; padding: 28px 0 28px 64px; border-top: 1px solid var(--rule); position: relative; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 26px; width: 40px; height: 40px; border-radius: 50%; background: var(--mark); display: grid; place-items: center; font-weight: 800; }
.steps h2 { font-size: var(--step-1); margin-bottom: 8px; }
.steps p { color: var(--slate); }
.legal h2 { font-size: var(--step-1); margin: 40px 0 10px; }
.legal p { color: #2B3748; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .two-col, .instructor, .pricing { grid-template-columns: 1fr; }
  .slip { max-width: 480px; }
  .portrait { position: static; max-width: 360px; }
  .weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .masthead-nav a:not(.btn) { display: none; }
  .wordmark { font-size: 1.125rem; letter-spacing: -0.035em; white-space: nowrap; }
  .wordmark-footer { white-space: normal; }
  .masthead-row { height: 60px; }
  .btn-small { white-space: nowrap; padding: 0 12px; }
  .paths { grid-template-columns: 1fr; border-top-width: 2px; }
  .path, .path + .path { padding: 24px 0; border-left: 0; }
  .path + .path { border-top: 1px solid var(--rule); }
  .flowchart { --track: 104px; }
  .fc-row > span { padding: 8px 8px; font-size: 0.75rem; line-height: 1.25; }
  .fc-weeks > span { padding: 8px 4px; text-align: center; }
  .fc-weeks > span:first-child { text-align: left; padding-left: 8px; }
  .fc-weeks small { font-size: 0.5625rem; white-space: nowrap; }
  .bar { margin: 0 3px; height: 18px; }
  .bar-thin { height: 8px; }
  .weeks { grid-template-columns: 1fr; gap: 28px; }
  .ticket { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* Enrol form */
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.checkout h1 { font-size: var(--step-3); font-weight: 850; letter-spacing: -0.04em; line-height: 1.02; }
.enrol { display: grid; gap: 8px; margin-top: 36px; max-width: 460px; }
.enrol label { font-weight: 650; font-size: var(--step--1); margin-top: 10px; }
.enrol input { font: inherit; min-height: 52px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface); color: var(--ink); }
.enrol input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--cobalt); }
.enrol .btn { margin-top: 18px; }
.enrol .small { margin-top: 8px; }
.form-error { background: #FDECEC; color: #8A1C1C; border-left: 4px solid #C62828; padding: 12px 14px; border-radius: 4px; margin: 0; }
@media (max-width: 960px) { .checkout-grid { grid-template-columns: 1fr; } }
