/* Owner-Builder School, the new website, live as a preview at /new.
   3 Nov 2026 (MN: "you didn't use any of the visual design from this site"): every /new page now loads the live site's
   own /programs.css, /site-nav.css and /look-a.css first, exactly as the live home page does, and uses the live classes
   (the .sn menu, .hero, .eye, the yellow-underlined em, .btn-primary/.btn-ghost, .sec-head, .alt, .dark, .whyus,
   .stats4, .quote, .steps, .faq, .pics, .prog, .cta, footer). This file only adds what /new has and the live pages
   don't: the app demo in the hero, the step videos (course.html's "Short answers from the site" cards, copied as they
   are), the 3D model, the app screens, the example card and the Help page's code box. Same tokens, no new colours.
   Built by research/site-rebuild-nov02/live/build_new.py. */

.skip { position: absolute; left: -999px; top: 8px; z-index: 40; background: var(--ink); color: #FFFFFF; padding: 8px 12px; }
.skip:focus { left: 8px; }
.sn-menu > li > a[aria-current="page"] { border-bottom-color: var(--ink); }

/* Home hero: the words, then the app demo beside them; on a phone the demo comes after the words and before the
   buttons (MN 2 Nov). The headline is MN's (long), so it runs a size down from the live h1. */
.hero.nh .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); grid-template-areas: "copy media" "acts media"; row-gap: 0; }
.hero.nh .hero-copy { grid-area: copy; align-self: end; gap: 18px; }
.hero.nh .hero-media { grid-area: media; display: grid; justify-items: center; gap: 12px; }
.hero.nh .hero-acts { grid-area: acts; align-self: start; display: grid; gap: 14px; margin-top: 26px; }
.hero.nh h1 { font-size: clamp(32px, 3.5vw, 46px); line-height: 1.05; }
.hero .pain { font: 600 20px/1.45 var(--f-sans); color: var(--ink); max-width: 32em; text-wrap: pretty; }
@media (max-width: 900px) {
  .hero.nh .wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "media" "acts"; row-gap: 24px; }
  .hero.nh .hero-acts { margin-top: 0; }
  .hero .pain { font-size: 18px; }
}
.demo { width: min(360px, 100%); border-radius: 8px; overflow: hidden; background: var(--paper-2); border: 1.5px solid var(--line); }
.demo video { display: block; width: 100%; height: auto; aspect-ratio: var(--ar, 9 / 16); object-fit: contain; }
.sound { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 4px; border: 2px solid var(--ink);
  background: var(--paper); color: var(--ink); font: 700 15px/1 var(--f-sans); cursor: pointer;
  transition: background-color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.sound:hover { background: var(--paper-2); }
.sound:active { transform: scale(0.97); }
.sound svg { width: 18px; height: 18px; }

/* Page heads on the inner pages: the live hero's type, no picture */
.phd { padding-block: clamp(36px, 6vw, 72px) clamp(8px, 2vw, 16px); }
.phd .sec-head { margin-bottom: 0; }
.phd + section { padding-top: clamp(32px, 5vw, 56px); }

/* Where owner-builds go wrong: course.html's numbered costly list, two by two, on the dark band */
.leaks6 > div { grid-template-columns: 2.4ch minmax(0, 1fr); column-gap: 12px; }
.leaks6 .lk-n { grid-row: span 2; font: 800 30px/0.95 var(--f-display); color: var(--accent); font-variant-numeric: tabular-nums; }
.leaks6.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .leaks6.n2 { grid-template-columns: minmax(0, 1fr); } }
.verdict { margin-top: clamp(24px, 3vw, 34px); max-width: 26em; font: 800 clamp(24px, 2.6vw, 32px)/1.15 var(--f-display); color: #FFFFFF; text-wrap: balance; }
.dark .verdict { color: #FFFFFF; }
.verdict em { font-style: normal; color: var(--accent); }

/* Build photos with a caption under each: course.html's .pics, as it is */
.pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); margin-top: clamp(26px, 3.5vw, 40px); }
.pics.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pics figure { margin: 0; display: grid; gap: 7px; align-content: start; }
.pics img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; border: 1.5px solid var(--line); background: var(--paper-2); }
.pics figcaption { color: var(--muted); }
.dark .pics figcaption, .whyus .pics figcaption { color: var(--on-dark); }
.dark .pics img { border-color: var(--dark-line); }
@media (max-width: 760px) {
  .pics:not(.tall) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pics:not(.tall) figure:first-child { grid-column: 1 / -1; }
  .pics.n2 figure:first-child { grid-column: auto; }
}

/* The programme: four real app screens, each with a line under it */
.tour { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 28px); }
.tour figure { margin: 0; display: grid; gap: 12px; align-content: start; }
.tour img { width: 100%; height: auto; border-radius: 10px; border: 1.5px solid var(--line); background: #FFFFFF; }
.tour figcaption { font: 400 16px/1.45 var(--f-sans); letter-spacing: 0; color: var(--muted); }
.tour figcaption b { display: block; margin-bottom: 3px; font: 800 20px/1.15 var(--f-display); color: var(--ink); }
@media (max-width: 900px) {
  .tour { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; overflow-x: auto; scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 6px;
    margin-inline: calc(-1 * clamp(18px, 4vw, 40px)); padding-inline: clamp(18px, 4vw, 40px); scroll-padding-inline: clamp(18px, 4vw, 40px); }
  .tour::-webkit-scrollbar { display: none; }
  .tour figure { scroll-snap-align: start; }
}

/* Step videos: course.html's "Short answers from the site" cards and player, copied as they are. Each card names
   the step the video sits on in the programme. */
.ans .sec-head { margin-bottom: 28px; }
.ans-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.ans-card { all: unset; box-sizing: border-box; display: grid; gap: 10px; width: 100%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ans-thumb { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: #2A2A2A; container-type: inline-size;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 10px 24px -14px rgba(22,22,22,.55); transition: transform 180ms cubic-bezier(.23,1,.32,1), box-shadow 180ms ease; }
.ans-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ans-h { position: absolute; top: 7cqw; left: 5cqw; right: 5cqw; text-align: center; text-wrap: balance; pointer-events: none;
  color: #161616; font: 800 24px/1.24 var(--f-display); font-size: 12.5cqw; letter-spacing: -.005em; }
.ans-h.s { font-size: 13.5cqw; }
.ans-h.l { font-size: 11cqw; }
.ans-h > span { background: #FFFFFF; padding: .03em .2em .07em; border-radius: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ans-h mark { background: #FFC20E; color: inherit; padding: .03em .08em .07em; margin: 0 -.08em; border-radius: .1em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* the small "Step" sign above the step's name */
.ans-h > .ans-k { display: inline-block; margin-bottom: .45em; padding: .22em .5em .18em; border-radius: .14em; background: #161616; color: #FFC20E;
  font-size: .5em; line-height: 1; letter-spacing: .1em; text-transform: uppercase; }
.ans-play { position: absolute; left: 50%; top: 77%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: #FFC20E; box-shadow: 0 6px 18px -6px rgba(0,0,0,.6); transition: transform 180ms cubic-bezier(.23,1,.32,1); }
.ans-play::after { content: ""; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 11px 0 11px 17px;
  border-color: transparent transparent transparent #161616; }
.ans-len { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px 3px; border-radius: 4px; background: rgba(22,22,22,.86); color: #FFFFFF;
  font: 700 13px/1.4 var(--f-display); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.ans-card:focus-visible .ans-thumb { outline: 3px solid #FFC20E; outline-offset: 3px; }
@media (hover: hover) {
  .ans-card:hover .ans-thumb { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 16px 30px -14px rgba(22,22,22,.6); }
  .ans-card:hover .ans-play { transform: scale(1.06); }
}
.ans-card:active .ans-thumb { transform: scale(.98); }
.ans-more { margin-top: 22px; }
@media (max-width: 1100px) { .ans-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .ans-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * clamp(18px, 4vw, 40px)); padding-inline: clamp(18px, 4vw, 40px); scroll-padding-inline: clamp(18px, 4vw, 40px);
    scrollbar-width: none; padding-bottom: 6px; }
  .ans-row::-webkit-scrollbar { display: none; }
  .ans-row > li { flex: 0 0 66%; scroll-snap-align: start; }
}
.ans-dlg { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; overflow: hidden; }
.ans-dlg::backdrop { background: rgba(12,12,12,.97); }
.ans-dlg[open] { display: grid; place-items: center; }
.ans-box { position: relative; display: grid; gap: 12px; justify-items: center;
  width: min(calc(100vw - 32px), calc((100dvh - 120px) * 9 / 16), 480px); }
.ans-v { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 10px; background: #000; }
.ans-x { position: absolute; top: -6px; right: -6px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #FFFFFF;
  color: #161616; font: 700 26px/44px var(--f-sans); cursor: pointer; transform: translate(40%, -40%); }
.ans-bar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; width: 100%; }
.ans-bar button { width: 44px; height: 44px; border: 1px solid #4A4A4A; border-radius: 50%; background: transparent; color: #FFFFFF;
  font: 700 20px/1 var(--f-sans); cursor: pointer; }
.ans-bar button:hover { border-color: #FFC20E; color: #FFC20E; }
.ans-x:focus-visible, .ans-bar button:focus-visible { outline: 3px solid #FFC20E; outline-offset: 2px; }
.ans-title { margin: 0; text-align: center; color: #FFFFFF; font: 700 17px/1.3 var(--f-display); text-wrap: balance; }
.ans-title small { display: block; margin-bottom: 2px; color: #FFC20E; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 760px) { .ans-x { transform: none; top: 8px; right: 8px; background: rgba(255,255,255,.92); } }
@media (prefers-reduced-motion: reduce) { .ans-thumb, .ans-play { transition: none; } }

/* Your job in 3D: the words beside the model */
.m3d { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.m3d .sec-head { margin-bottom: 0; }
.m3d-media { margin: 0; display: grid; gap: 8px; justify-items: center; }
.m3d-media video { display: block; width: 100%; height: auto; aspect-ratio: var(--ar, 16 / 9); object-fit: cover; border-radius: 6px;
  border: 1.5px solid var(--line); background: #E6ECEF; }
.m3d-media.tall video { width: min(360px, 100%); }
.m3d-media figcaption { justify-self: stretch; text-align: center; }
@media (max-width: 900px) { .m3d { grid-template-columns: minmax(0, 1fr); } }

/* What you get: the live "What you get" table (.quote), then the offer and the one button */
.offer { margin-top: 20px; max-width: 46em; font-size: 17px; color: var(--ink); }
.offer b { font-weight: 700; }
.offer-acts { margin-top: 18px; }

/* Who's behind it, on the live site-photo band (.whyus) */
.behind { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: center; }
.behind img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; border: 1.5px solid rgba(255,255,255,.25); }
.behind .sec-head { margin-bottom: 14px; }
.behind p { color: #FFFFFF; font-size: 18px; max-width: 40em; }
.behind p a { color: #FFFFFF; font-weight: 700; }
.whyus .stats4 { margin-top: clamp(30px, 4vw, 44px); border-top: 1px solid var(--dark-line); padding-top: clamp(22px, 3vw, 30px); }
@media (max-width: 640px) { .behind { grid-template-columns: minmax(0, 1fr); } .behind img { max-width: 160px; } }

/* How it works: the live numbered steps, two of them, beside the example card */
.steps.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .steps.n2 { grid-template-columns: minmax(0, 1fr); } }
.hiw { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ex-card { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 20px; align-items: center; padding: 22px; border: 2px solid var(--ink);
  border-radius: 4px; background: var(--paper); }
.ex-card h3 { margin-bottom: 14px; }
.ex-card img { width: 100%; height: auto; border-radius: 10px; border: 1.5px solid var(--line); }
@media (max-width: 900px) { .hiw { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .ex-card { grid-template-columns: minmax(0, 1fr); } .ex-card img { max-width: 170px; } }
.faq-head p { color: var(--muted); }

/* Certificate: a yellow note with two links */
.cert { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 28px; align-items: center; padding: 20px 24px;
  border: 2px solid var(--ink); border-radius: 4px; background: #FFF6D6; }
.cert p { max-width: 44em; }
.cert .links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; }
@media (max-width: 760px) { .cert { grid-template-columns: minmax(0, 1fr); } }
section.tight { padding-block: clamp(24px, 4vw, 40px); }

/* The closing yellow sign: one dark button and one outlined */
.cta .btn.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.cta .btn.btn-ghost:hover { background: rgba(255, 255, 255, .35); border-color: var(--ink); }
.cta .ctas .tel { font-weight: 700; }
@media (max-width: 560px) { .cta .ctas { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; } .cta .ctas .btn { width: 100%; } }

/* Example projects: the live course cards (.prog) under the New Build / Renovation heads */
.trackhead h2.trk { margin: 0; }   /* the track names are the headings over their cards */
.prog .body .btn { justify-self: start; }

/* Prices: the live table, one per group */
.pr-group + .pr-group { margin-top: clamp(36px, 5vw, 56px); }
.pr-group .sec-head { margin-bottom: 20px; }

/* Help: the code from a letter */
.code-form { display: grid; gap: 8px; max-width: 34em; }
.code-form label { font-weight: 700; }
.code-row { display: flex; flex-wrap: wrap; gap: 10px; }
.code-row input[type=text] { flex: 1 1 12em; width: auto; min-width: 0; min-height: 56px; border: 2px solid var(--ink);
  font: 800 22px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; }
.code-row input::placeholder { color: #9A9A9A; }
.form-msg { min-height: 1.4em; font-weight: 600; }

footer .legal { max-width: 70em; font-size: 12.5px; line-height: 1.5; }
