/* Do For Self public website.
   Brand: royal blue, deep red, white, gold (from the flyers). Type: Archivo only, used at its
   narrowest, heaviest cut for headlines (the flyers' fight-poster voice) and normal width for
   reading. The one loud moment is the hero: "DO FOR SELF" with "or die trying" on a torn red
   stripe. Everything else stays quiet so the photos, videos and prices do the talking. */
:root {
  --royal: #1c46c6;
  --royal-2: #2f5de6;
  --navy: #0a1a52;
  --navy-2: #13287a;
  --red: #d7182a;
  --red-2: #ad0f1e;
  --gold: #e7b528;
  --gold-ink: #7a5600;
  --white: #ffffff;
  --mist: #eef2fb;
  --ink: #0d1530;
  --muted: #4d5875;
  --line: #d6dcec;
  --focus: #e7b528;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --text: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--text); }
img, video { max-width: 100%; display: block; }
a { color: var(--royal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--ink); padding: .6rem 1rem; z-index: 50; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
main:focus { outline: none; }

h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; color: var(--navy); }
h1 { font-stretch: 70%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 8vw, 5rem); letter-spacing: -.005em; }
h2 { font-stretch: 78%; font-weight: 850; text-transform: uppercase; font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-stretch: 90%; font-weight: 800; font-size: 1.15rem; }
p { margin: 0 0 1em; max-width: 68ch; }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.sub { color: var(--muted); font-size: .92rem; }
.sub-title { font-weight: 700; color: var(--red); margin: -.2em 0 1em; }
.note { color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-block; font: 700 1rem var(--text); padding: .75rem 1.25rem; border-radius: 6px; border: 2px solid transparent; text-decoration: none; cursor: pointer; text-align: center; }
.btn-lg { font-size: 1.08rem; padding: .9rem 1.5rem; }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 3px 0 var(--red-2); }
.btn-red:hover { background: var(--red-2); color: var(--white); }
.btn-blue { background: var(--royal); color: var(--white); }
.btn-blue:hover { background: var(--navy); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f3c844; color: var(--ink); }
.btn-ghost-light { border-color: var(--white); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--navy); }
.btn:disabled { opacity: .6; cursor: progress; }
.link-strong { font-weight: 700; }
.link-quiet { color: inherit; text-decoration: none; font-weight: 600; opacity: .9; }
.link-quiet:hover { color: inherit; text-decoration: underline; }

/* ---------- header ---------- */
.site-head { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 20; border-bottom: 4px solid var(--red); }
.bar { max-width: var(--wrap); margin: 0 auto; padding: .55rem var(--gutter); display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--white); text-decoration: none; font: 900 1.25rem var(--display); font-stretch: 72%; text-transform: uppercase; letter-spacing: .02em; }
.brand:hover { color: var(--white); }
.brand img { width: 56px; height: 44px; object-fit: cover; border-radius: 6px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: .9rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .75rem; }
.site-nav ul a { color: #dbe3ff; text-decoration: none; font-weight: 600; font-size: .89rem; padding: .3rem 0; border-bottom: 3px solid transparent; }
.site-nav ul a:hover { color: var(--white); }
.site-nav ul a[aria-current="page"] { color: var(--white); border-color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-actions .btn { padding: .5rem 1rem; }
.staff-access { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: .5rem .8rem; color: var(--navy); background: var(--gold); border: 2px solid var(--gold); border-radius: 6px; font-size: .85rem; font-weight: 800; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.staff-access:hover { color: var(--navy); background: #f3c844; border-color: #f3c844; }
.staff-link-short { display: none; }
.menu-toggle { display: none; margin-left: auto; font: 700 .95rem var(--text); background: none; color: var(--white); border: 2px solid rgba(255,255,255,.5); border-radius: 6px; padding: .45rem .8rem; }

/* ---------- hero (the one loud moment) ---------- */
/* The top video carries its own titles, so it plays uncropped with nothing over it, and the
   headline sits right under it on navy. 2:1 is the video's shape; black fills any letterbox. */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero-media { position: relative; background: #000; }
.hero-media video { display: block; width: 100%; aspect-ratio: 2 / 1; max-height: 78vh; object-fit: contain; margin: 0 auto; }
.hero-copy { position: relative; max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 2.5rem var(--gutter) 3.5rem; }
/* Headline left, the mission statement graphic top right. Stacks under the buttons on narrow screens. */
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: 2.5rem; align-items: start; }
.hero-mission { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(231,181,40,.55), 0 18px 40px rgba(0,0,0,.45); transition: transform .2s ease; }
.hero-mission:hover { transform: translateY(-2px); }
.hero-mission:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.hero-mission img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .hero-copy { grid-template-columns: 1fr; gap: 2rem; }
  .hero-mission { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .hero-mission { transition: none; } .hero-mission:hover { transform: none; } }
.hero h1 { color: var(--white); margin: 0 0 1.2rem; line-height: .86; }
.h1-main { display: block; font-size: clamp(3.4rem, 9vw, 7rem); font-stretch: 62%; letter-spacing: -.01em; }
.stripe { position: relative; display: inline-block; margin-top: .35rem; padding: .18em .6em .22em; font-size: clamp(1.4rem, 4.6vw, 3rem); font-stretch: 75%; color: var(--white);
  background: var(--red); transform: rotate(-2.5deg); transform-origin: left center;
  /* torn brush edge, like the flyers */
  clip-path: polygon(0 12%, 4% 0, 30% 8%, 55% 0, 78% 6%, 100% 0, 98% 52%, 100% 100%, 70% 92%, 44% 100%, 20% 93%, 2% 100%, 0 60%); }
.stripe::after { content: ""; position: absolute; left: 6%; right: -4%; bottom: -.42em; height: .2em; background: var(--gold); clip-path: polygon(0 30%, 100% 0, 98% 100%, 2% 80%); }
.hero .lede { color: #e4eaff; margin-top: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- home: doors ---------- */
.doors { max-width: var(--wrap); margin: 0 auto; padding: 3rem var(--gutter); display: grid; gap: 14px;
  grid-template-columns: 1.4fr 1fr 1fr; grid-template-areas: "big a b" "big c d"; }
.door { position: relative; display: flex; align-items: flex-end; min-height: 210px; padding: 1.25rem; border-radius: 10px; text-decoration: none; color: var(--ink); background: var(--mist); overflow: hidden; }
.door:hover { color: var(--ink); outline: 3px solid var(--royal); outline-offset: -3px; }
.door strong { display: block; font: 850 1.5rem/1.05 var(--display); font-stretch: 78%; text-transform: uppercase; color: var(--navy); margin-bottom: .3rem; }
.door-copy { position: relative; display: block; font-size: .98rem; max-width: 34ch; }
.door-big { grid-area: big; min-height: 440px; }
.door-big, .door-img { background: var(--navy) var(--img) center / cover; color: var(--white); }
.door-big::before, .door-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10,26,82,.92)); }
.door-big strong, .door-img strong { color: var(--white); }
.door-big:hover, .door-img:hover { color: var(--white); outline-color: var(--gold); }
/* The big tile's heading scales with the tile, so a long single word ("Apprenticeships") never breaks. */
.door-big { container-type: inline-size; }
.door-big .door-copy { max-width: none; width: 100%; }
.door-big strong { font-size: min(2.4rem, 10cqi); overflow-wrap: normal; hyphens: none; }
.door-navy { background: var(--navy); color: #dbe3ff; }
.door-navy strong { color: var(--white); }
.door-navy:hover { color: #dbe3ff; outline-color: var(--gold); }
.door-gold { background: var(--gold); }
.door-gold:hover { outline-color: var(--navy); }

/* ---------- sections ---------- */
.band { max-width: var(--wrap); margin: 0 auto; padding: 3.5rem var(--gutter); }
.band-tint, .band-navy { max-width: none; padding-left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); padding-right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); }
.band-tint { background: var(--mist); }
.band-navy { background: var(--navy); color: #dbe3ff; }
.band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy a:not(.btn) { color: var(--gold); }
.band-navy figcaption { color: #dbe3ff; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.split-center { align-items: center; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.pillars { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font: 850 1.35rem var(--display); font-stretch: 75%; text-transform: uppercase; color: var(--red); }
.page-head { max-width: var(--wrap); margin: 0 auto; padding: 3rem var(--gutter) 1rem; }
.page-head.with-photo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; padding-bottom: 2rem; }
.page-head.with-video .video { margin: 0; justify-self: end; }
/* The video is portrait (3:4), so it is sized by height and sits against the right edge. */
.page-head.with-video video { display: block; height: min(480px, 70vh); width: auto; max-width: 100%; aspect-ratio: 3 / 4; border-radius: 10px; background: #000; box-shadow: 0 10px 28px rgba(10,26,82,.18); }
@media (max-width: 760px) { .page-head.with-video .video { justify-self: center; } }
.page-head.with-photo img { border-radius: 10px; width: 100%; height: 100%; max-height: 380px; object-fit: cover; }
.crumb { margin: 0 0 .4rem; font-weight: 600; }
.rate { font-size: 1.1rem; }
.rate strong { color: var(--royal); font: 850 1.6rem var(--display); font-stretch: 80%; }

/* ---------- video ---------- */
.video { margin: 0; }
.video video, .yt-play { width: 100%; aspect-ratio: 16 / 9; background: var(--navy); border-radius: 10px; object-fit: cover; }
.video figcaption { font-weight: 600; margin-top: .5rem; font-size: .95rem; }
.yt-play { position: relative; display: block; padding: 0; border: 0; cursor: pointer; overflow: hidden; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.yt-play .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; transform: translate(-50%, -50%); background: var(--red); border-radius: 12px; }
.yt-play .play::after { content: ""; position: absolute; left: 31px; top: 15px; border-left: 20px solid var(--white); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.yt-play:hover .play { background: var(--red-2); }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; }
.video-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 1rem; }
.photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; align-items: start; }
.photo-row img { border-radius: 10px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- membership ---------- */
.plans { max-width: var(--wrap); margin: 0 auto; padding: 1rem var(--gutter) 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.plan { border: 2px solid var(--line); border-top: 8px solid var(--royal); border-radius: 10px; padding: 1.4rem 1.25rem; display: grid; gap: .25rem; align-content: start; }
.plan-gold { border-top-color: var(--gold); background: linear-gradient(180deg, #fff9e6, var(--white) 40%); }
.plan h2 { font-size: 1.6rem; margin: 0; }
.plan .price { margin: .2rem 0; font-size: 1rem; color: var(--muted); }
.plan .price strong { font: 900 2.6rem/1 var(--display); font-stretch: 75%; color: var(--royal); margin-right: .2rem; }
.plan .reqs { font-weight: 700; margin: 0; }
.plan .sub { margin: 0; }
.plan .btn { margin-top: .9rem; }
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem 2rem; margin-top: 1rem; }
.topic ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .95rem; }
.topic h3 { border-bottom: 3px solid var(--gold); padding-bottom: .3rem; display: inline-block; }
.steps { padding-left: 1.4rem; }
.steps li::marker { font-weight: 900; color: var(--red); }

/* ---------- apprenticeships ---------- */
.trades { max-width: var(--wrap); margin: 0 auto; padding: 1rem var(--gutter) 3rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.trade { background: var(--navy); color: #dbe3ff; border-radius: 10px; padding: 1.6rem 1.4rem; display: grid; align-content: start; border-bottom: 6px solid var(--red); }
.trade h2 { color: var(--white); font-size: 2.2rem; }
.trade a:not(.btn) { color: var(--gold); }
.trade-actions { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; margin: .5rem 0 0; }

/* ---------- MSBC rates ---------- */
.rate-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem 2.5rem; margin-top: 1.25rem; }
.rates { width: 100%; border-collapse: collapse; }
.rates th, .rates td { padding: .6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.rates th { font-weight: 600; padding-right: 1rem; }
.rates th small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.rates td { text-align: right; white-space: nowrap; font-weight: 800; color: var(--royal); }
.rate-group h3 { color: var(--red); }

/* ---------- spaces ---------- */
.space-list { max-width: var(--wrap); margin: 0 auto; padding: 1rem var(--gutter) 3.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.space-card { text-decoration: none; color: var(--ink); display: grid; gap: .8rem; }
.space-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.space-card strong { display: block; font: 850 1.6rem var(--display); font-stretch: 78%; text-transform: uppercase; color: var(--navy); }
.space-card:hover strong { color: var(--royal); text-decoration: underline; }
.features { columns: 2; padding-left: 1.2rem; max-width: 640px; }
.features li { margin-bottom: .4rem; }

/* ---------- about ---------- */
.founder { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 2rem; align-items: start; }
.founder img { border-radius: 50%; border: 6px solid var(--gold); width: 220px; height: 220px; object-fit: cover; }
.team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.team li { border-left: 5px solid var(--red); padding: .3rem 0 .3rem 1rem; color: var(--muted); }
.team strong { display: block; color: var(--ink); font-size: 1.1rem; }

/* ---------- sponsorship ---------- */
.sponsor-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sponsor-strip a { display: grid; padding: .9rem .8rem; border: 2px solid rgba(255,255,255,.25); border-radius: 8px; text-decoration: none; color: #dbe3ff !important; font-size: .9rem; }
.sponsor-strip a:hover { border-color: var(--gold); }
.sponsor-strip strong { font: 900 1.6rem var(--display); font-stretch: 75%; color: var(--gold); }
.tiers { max-width: var(--wrap); margin: 0 auto; padding: 1rem var(--gutter) 3rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.tier { border: 2px solid var(--line); border-radius: 10px; padding: 1.4rem 1.2rem; display: grid; align-content: start; scroll-margin-top: 90px; }
.tier:target { border-color: var(--red); }
.tier .tier-amt { font: 900 2.4rem/1 var(--display); font-stretch: 72%; color: var(--royal); margin: 0 0 .3rem; }
.tier h2 { font-size: 1.4rem; }
.tier p { font-size: .95rem; color: var(--muted); }
.tier .btn { margin-top: auto; }
#sponsor-form { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; scroll-margin-top: 80px; }

/* ---------- forms ---------- */
.card-form { background: var(--white); border: 2px solid var(--line); border-top: 6px solid var(--royal); border-radius: 10px; padding: 1.5rem; display: grid; gap: 1rem; }
.card-form h2 { font-size: 1.8rem; margin: 0; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.field { display: grid; gap: .3rem; align-content: start; }
.field.wide { grid-column: 1 / -1; }
.field label, .consents legend, .subscribe label { font-weight: 700; font-size: .92rem; }
.field small { color: var(--muted); }
.req { color: var(--red); }
input, select, textarea { font: inherit; color: var(--ink); background: var(--white); border: 2px solid var(--line); border-radius: 6px; padding: .6rem .7rem; width: 100%; min-height: 46px; }
input:focus, select:focus, textarea:focus { border-color: var(--royal); outline: 3px solid rgba(28,70,198,.2); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red-2); font-size: .88rem; font-weight: 600; }
.field-error:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.consents { display: grid; gap: .5rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--royal); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-weight: 700; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #17663a; background: #e3f4ea; padding: .8rem 1rem; border-radius: 6px; }
.form-msg.bad { color: var(--red-2); }
.form-actions { display: flex; justify-content: flex-end; }
.contact-card { background: var(--navy); color: #dbe3ff; border-radius: 10px; padding: 1.6rem; }
.contact-card h2, .contact-card h3 { color: var(--white); }
.contact-card a:not(.btn) { color: var(--gold); }
.hours { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .4rem; }
.hours span { display: block; font-weight: 700; }

/* ---------- footer ---------- */
.site-foot { background: var(--navy); color: #c9d3f5; border-top: 6px solid var(--gold); margin-top: 0; }
.foot-grid { max-width: var(--wrap); margin: 0 auto; padding: 3rem var(--gutter) 2rem; display: grid; grid-template-columns: 1.3fr 1fr .8fr 1.2fr; gap: 2rem; }
.site-foot h2 { color: var(--white); font-size: 1.15rem; }
.site-foot a { color: var(--white); }
.site-foot a:hover { color: var(--gold); }
.foot-name { font: 900 2rem/1 var(--display); font-stretch: 65%; text-transform: uppercase; color: var(--white); }
.foot-name span { display: block; font-size: 1.1rem; color: var(--red); background: none; margin-top: .2rem; font-stretch: 80%; }
.foot-links, .social { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.social { grid-auto-flow: column; justify-content: start; gap: 1rem; margin-top: 1rem; }
.subscribe .row { display: flex; gap: .5rem; margin-top: .3rem; }
.subscribe input { border-color: transparent; }
.subscribe .form-msg { margin-top: .5rem; }
.subscribe .form-msg.ok { background: rgba(255,255,255,.1); color: var(--white); }
.subscribe .form-msg.bad { color: #ffb3ba; }
.site-foot .sub { color: #9eaad3; }
.foot-base { max-width: var(--wrap); margin: 0 auto; padding: 1rem var(--gutter) 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.foot-base p { margin: 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.link-list { padding-left: 1.2rem; }

/* ---------- small screens ---------- */
@media (max-width: 1130px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); flex-direction: column; align-items: stretch; padding: .5rem var(--gutter) 1.25rem; gap: 1rem; border-bottom: 4px solid var(--red); }
  .site-head.open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.05rem; }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--gold); }
  .nav-actions { justify-content: space-between; }
  .doors { grid-template-columns: 1fr 1fr; grid-template-areas: "big big" "a b" "c d"; }
  .door-big { min-height: 320px; }
  .split, .page-head.with-photo, #sponsor-form { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder img { width: 180px; height: 180px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sponsor-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .bar { gap: .45rem; }
  .brand { font-size: 1rem; gap: .4rem; }
  .brand img { width: 40px; height: 34px; }
  .staff-access { padding: .45rem .55rem; font-size: .79rem; min-height: 38px; }
  .staff-link-full { display: none; }
  .staff-link-short { display: inline; }
  .menu-toggle { padding: .4rem .55rem; font-size: .85rem; }
  body { font-size: 16px; }
  .doors { grid-template-columns: 1fr; grid-template-areas: none; }
  .door-big { grid-area: auto; }
  .door { min-height: 150px; }
  .sponsor-strip { grid-template-columns: 1fr 1fr; }
  .sponsor-strip strong { font-size: 1.4rem; }
  .grid { grid-template-columns: 1fr; }
  .features { columns: 1; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 1.75rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .rates td { white-space: normal; }
}
/* Visitors who ask for less motion see the video's first frame, still. */

/* ---------- flyers (graphics with their own text: shown whole, never cropped) ---------- */
.flyer { display: block; }
.flyer img, .page-head.with-photo .flyer img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 10px; box-shadow: 0 10px 28px rgba(10,26,82,.18); }
/* Home tiles cut from flyers: keep the photo part in view, under the tile's own words. */
.door-flyer { background-position: center 62%; }
.door-hall { background-position: 78% center; }

/* Home: gear band */
.gear-band .slogan { display: grid; gap: .1em; font-size: clamp(2rem, 4.4vw, 3.1rem); font-stretch: 78%; text-transform: uppercase; line-height: .98; }
.gear-band .slogan span:nth-child(2) { color: var(--red); }
.gear-band .slogan span:nth-child(3) { color: var(--royal); }
.gear-flyer { display: block; border-radius: 10px; transition: transform .2s ease; }
.gear-flyer:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .gear-flyer { transition: none; } .gear-flyer:hover { transform: none; } }

/* MSBC: booking form beside the "Book the space" flyer */
.book-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); gap: 2rem; align-items: start; }
@media (max-width: 980px) { .book-split { grid-template-columns: 1fr; } .book-split .flyer { max-width: 480px; } }

/* Our team: departments */
.dept h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-stretch: 80%; text-transform: uppercase; }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.person { display: flex; align-items: center; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--red); border-radius: 10px; padding: 1rem 1.1rem; color: var(--muted); }
.person strong { display: block; color: var(--navy); font: 800 1.2rem/1.15 var(--display); font-stretch: 85%; margin-bottom: .2rem; }
.person img, .person .avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--gold); object-fit: cover; }
.person .avatar { display: grid; place-items: center; background: var(--navy); color: var(--white); font: 850 1.5rem var(--display); font-stretch: 80%; letter-spacing: .03em; }
/* Apprenticeships tile: keep the crew member at the saw in view when the tall tile crops the wide photo. */
.door-crew { background-position: 38% center; }
/* DFS seal: small, slightly see-through, centered at the top of the home page video. */
.hero-seal { position: absolute; top: clamp(8px, 1.6vw, 18px); left: 50%; transform: translateX(-50%); z-index: 2;
  width: clamp(54px, 8vw, 104px); opacity: .9; pointer-events: none; filter: drop-shadow(0 4px 10px rgba(0,0,0,.45)); }
.hero-seal img { display: block; width: 100%; height: auto; }
/* Shop gear tile: a Do For Self tee on the gold, words stay on the left. */
.door-shop { align-items: flex-end; }
.door-shirt { position: absolute; top: 12px; right: -4px; width: 48%; max-width: 210px; transform: rotate(7deg);
  filter: drop-shadow(0 8px 14px rgba(10,26,82,.35)); pointer-events: none; transition: transform .2s ease; }
.door-shirt img { display: block; width: 100%; height: auto; }
.door-shop:hover .door-shirt { transform: rotate(3deg) translateY(-3px); }
.door-shop .door-copy { max-width: 56%; }
@media (prefers-reduced-motion: reduce) { .door-shirt { transition: none; } }
@media (max-width: 760px) { .door-shop { min-height: 190px; } .door-shirt { width: 40%; max-width: 170px; top: 14px; } .door-shop .door-copy { max-width: 58%; } }
/* Round DFS seal in the header (replaces the rectangular script logo). */
.brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 50%; }
/* About: founder section is text only now (no photo, no video). */
.founder.founder-text { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
/* Business membership tile: the laptop photo, face kept in view. */
.door-laptop { background-position: 62% 30%; }
/* Seal in the video's upper-left corner. The video is 2:1 and at most 78vh tall, so on wide screens it is centered with
   black bars; the left offset follows the picture's own edge, not the screen's. */
.hero-seal { left: calc((100% - min(100%, 156vh)) / 2 + clamp(10px, 1.6vw, 22px)); transform: none; }
/* MSBC page: the studio video on its own, centered. */
.photo-row.video-solo { grid-template-columns: minmax(0, 860px); justify-content: center; }
/* About: founder paragraph with the video beside it (stacks on phones). */
.founder.founder-video { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; }
@media (max-width: 760px) { .founder.founder-video { grid-template-columns: minmax(0, 1fr); } }

/* ---------- custom sections (written in the website editor) ---------- */
.custom-body { overflow-wrap: anywhere; }
.custom-body img, .custom-body video { max-width: 100%; height: auto; }
.custom-body > :first-child { margin-top: 0; }

/* ---------- website editor preview: click any text to ask for a change ---------- */
body[data-preview] main :is(h1, h2, h3, p, li, figcaption, .door-copy, .btn, img, figure, picture):hover { outline: 2px dashed var(--gold); outline-offset: 2px; cursor: pointer; }
