/* brockdouglas.net: brand type, nav, and the calm sections after the film. Layout of the film itself is in kit.css. */
/* The live site's type: Bebas Neue for display, Barlow for reading, Barlow Condensed for small labels. Self-hosted; fallbacks are sized to the same advance widths, so lines break in the same places before and after the fonts arrive. */
@font-face{font-family:"Bebas Neue";src:url(fonts/bebas-neue-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Barlow";src:url(fonts/barlow-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Barlow";src:url(fonts/barlow-500.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Barlow";src:url(fonts/barlow-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Barlow";src:url(fonts/barlow-700.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url(fonts/barlow-condensed-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Bebas Neue Fallback";src:local("Arial");size-adjust:58.3%;ascent-override:154%;descent-override:51%;line-gap-override:0%}
@font-face{font-family:"Barlow Fallback";src:local("Arial");size-adjust:95.6%;ascent-override:104.6%;descent-override:20.9%;line-gap-override:0%}

.hl{color:var(--accent)}
.eyebrow{font:600 15px/1.2 var(--label);letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
h3{margin:0;font:400 clamp(26px,2.1vw,34px)/1 var(--display);letter-spacing:.02em}
.btn{transition:transform .25s var(--ease),background-color .25s}.btn:active{transform:scale(.98)}
.btn:not(.line):hover{background:var(--hot)}

/* ---- nav ---- */
.nav{gap:24px}
.logo{margin-right:auto;display:flex;align-items:center;min-height:44px}
.mark{display:block;height:26px;width:auto;aspect-ratio:6.314;overflow:visible}.mark-hot{fill:var(--brand)}
[data-tone=dark] .mark-hot,.foot .mark-hot{fill:var(--hot-lit)} /* the BD logo, Dec 4: ink follows the text colour, the D is terracotta, lit on dark */
.foot-mark{height:22px}
.nav-links{display:flex;gap:4px}.nav-links a{padding:0 12px;font-weight:550;font-size:15px}
.nav .nav-cta{min-height:44px;padding:0 20px;font-size:15px}
.menu-open{display:none;position:relative;border:0;background:none;color:inherit;width:44px}.menu-open i{position:absolute;left:11px;right:11px;height:2px;border-radius:2px;background:currentColor}.menu-open i:first-of-type{top:17px}.menu-open i:last-of-type{top:25px}
.menu{position:fixed;inset:0;z-index:40;background:var(--paper);color:var(--on-paper);padding:calc(var(--nav) + 8px) var(--pad) 40px}
.menu nav{display:grid}.menu nav a{display:flex;align-items:center;min-height:64px;border-bottom:1px solid #1f242e1a;font:400 36px/1 var(--display);letter-spacing:.02em;text-decoration:none}
.menu-close{position:absolute;top:12px;right:calc(var(--pad) - 10px);border:0;background:none;color:inherit;font-size:34px;line-height:1}
.js .menu-open{display:none}
@media(max-width:899px){.nav-links{display:none}.js .menu-open{display:inline-flex}.nav .nav-cta{min-height:44px;padding:0 16px}}
@media(max-width:380px){.nav .nav-cta{display:none}}

/* ---- the film's words ---- */
.hero h1{max-width:16ch}
.hero .copy{gap:clamp(12px,2svh,22px)}
.beat .lede{max-width:31em}
.close h2{font-size:clamp(44px,min(8vw,15svh),140px)}
@media(max-aspect-ratio:1/1){.hero .lede{font-size:16px;line-height:1.5}}
@media(max-aspect-ratio:1/1) and (max-height:700px){.hero .eyebrow{display:none}}

/* ---- demo window ---- */
@media(min-aspect-ratio:1/1){.demo-beat .beat-in{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr)}}
@media(max-aspect-ratio:1/1){.demo-beat .beat-in{grid-template-rows:auto minmax(0,1fr);align-content:start}}
.win{border:1px solid #1f242e14;box-shadow:0 30px 80px -40px #1f242e80}
.win{display:grid;min-height:0;padding:clamp(16px,2vw,22px)}.win-view{display:grid;gap:12px;align-content:start;min-height:480px} /* the tallest step, so nothing below the window moves */
.app-tag{font-size:13px;color:#5f6776}
.app-name{display:grid;gap:6px;font-size:14px;font-weight:600}.app-name input{min-height:46px;padding:0 14px;border:1px solid #1f242e26;border-radius:10px;font:500 16px var(--sans);color:#1f242e;background:#fff}
.pipe{list-style:none;padding:0;margin:2px 0 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.pipe li{padding:7px 4px 0;border-top:3px solid #1f242e1a;font-size:13px;font-weight:600;color:#5f6776;text-align:center;transition:border-color .4s,color .4s}
.pipe li.done{border-color:#bb524480;color:#1f242e}.pipe li.now{border-color:var(--brand);color:#1f242e}
.screen{display:grid;gap:12px;justify-items:start}
.card{width:100%;border-radius:14px;background:#f3f1ea;padding:14px 16px;display:grid;gap:8px}
.win button{font-size:15px}.win button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.say{font-size:15px;color:#1f242e}
.ad-who{display:grid;font-weight:650}.ad-who small{font-size:13px;font-weight:500;color:#5f6776}
.ad-head{font-size:17px;font-weight:620;letter-spacing:-.01em}.ad-photo{height:64px;border-radius:10px;background:linear-gradient(135deg,#bb5244 0%,#de8070 55%,#f3d9cf 100%)}
.ad-cta{justify-self:start;font-size:14px;font-weight:600;padding:6px 12px;border-radius:8px;background:#fff}
.lead-new{font-size:13px;font-weight:650;color:#a8473a}.lead-name{font-size:20px;font-weight:650;letter-spacing:-.02em}
.lead dl{display:grid;gap:4px;margin:0}.lead dl div{display:flex;justify-content:space-between;gap:12px;font-size:15px}.lead dt{color:#5f6776}.lead dd{margin:0;font-weight:550}
.bubble{max-width:86%;padding:10px 13px;border-radius:16px;font-size:15px;line-height:1.4}.bubble.out{justify-self:end;background:#1f242e;color:#f3f1ea;border-bottom-right-radius:5px}.bubble.in{justify-self:start;background:#fff;border-bottom-left-radius:5px}
.chat{gap:10px}.sent{font-size:13px;color:#5f6776;justify-self:end}
.cal-day{font-weight:650}.times{display:flex;flex-wrap:wrap;gap:8px}
.win .time-btn{background:#fff;color:#1f242e;box-shadow:inset 0 0 0 1.5px #1f242e26}.win .picked{background:var(--brand);color:#fff;box-shadow:none}
.booked{font-weight:600}.booked.muted{font-weight:500;color:#5f6776}
.checks{list-style:none;padding:0;margin:0;display:grid;gap:8px}.checks li{position:relative;padding-left:24px;font-size:15px}.checks li::before{content:"";position:absolute;left:2px;top:.45em;width:11px;height:6px;border-left:2px solid var(--brand);border-bottom:2px solid var(--brand);transform:rotate(-45deg)}
.tour{background:var(--night)}.tour-go{background:var(--hot-lit);color:var(--night)}
.film.live .tour{opacity:var(--in,0)}.film.live .win.live~.tour{opacity:1}

/* ---- calm sections ---- */
.plain{gap:clamp(28px,5vh,56px);max-width:1440px;margin-inline:auto}
.sec-head{display:grid;gap:14px;max-width:46em}
.plain h2{font-size:clamp(34px,min(5vw,10svh),80px)}
.rows,.cases,.chapters,.ticks,.stats,.clips,.socials{list-style:none;padding:0;margin:0}

.about-head{display:grid;gap:clamp(24px,4vh,40px)}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #1f242e1f}
.stats li{display:grid;gap:4px;padding:18px 16px 0 0}.stats b{font:400 clamp(40px,5.2vw,76px)/1 var(--display);letter-spacing:.01em;color:var(--accent)}.stats span{font-size:15px;color:var(--fg2)}
.about-body{display:grid;gap:clamp(28px,4vw,72px);align-items:start}
@media(min-width:900px){.about-body{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}.portrait{position:sticky;top:calc(var(--nav) + 24px)}}
.portrait{margin:0}.portrait img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 0;border-radius:22px}
@media(min-width:900px){.portrait img{max-height:calc(100svh - var(--nav) - 48px)}} /* the sticky portrait stays whole in a laptop window */
.chapters li{display:grid;gap:10px;padding:26px 0;border-top:1px solid #1f242e1f}
.chapters p{color:var(--fg2);max-width:38em}

.rows .venture{display:grid;gap:10px;padding:30px 0;border-top:1px solid #1f242e1f}
.venture h3{font-size:clamp(34px,3.4vw,52px)}
.tag{font-weight:600;color:var(--fg)}
.venture p:not(.tag):not(.proofline){color:var(--fg2);max-width:40em}
.proofline{font-weight:620;color:var(--accent)}
.go{display:inline-flex;align-items:center;min-height:44px;font-weight:600;text-underline-offset:4px}
@media(min-width:900px){.rows .venture{grid-template-columns:minmax(0,4fr) minmax(0,7fr) 210px;column-gap:40px;align-items:baseline}.venture h3{grid-row:1/4}.venture .go{grid-column:3;grid-row:1}}

.spotlight .panel{display:grid;gap:18px;padding:clamp(28px,5vw,72px);border-radius:28px;background:var(--night) var(--night-glow);color:var(--on-night);--fg:var(--on-night);--fg2:var(--on-night-2);--accent:var(--hot-lit)}
.spotlight h2{max-width:18ch}
.ticks{display:grid;gap:10px}.ticks li{position:relative;padding-left:26px}.ticks li::before{content:"";position:absolute;left:2px;top:.62em;width:12px;height:2px;background:var(--brand)}
@media(min-width:900px){.spotlight .ticks{grid-template-columns:1fr 1fr;column-gap:40px}}
.role{color:var(--fg2)}.spotlight .btn{justify-self:start}

.cases{display:grid}
.case{display:grid;gap:18px;padding:34px 0;border-top:1px solid #1f242e1f}
.case-who{display:grid;gap:8px;align-content:start}.case-who p{color:var(--fg2);max-width:36em}
.case-logo{height:26px;width:auto;max-width:200px}.case-logo.crunchy{height:16px}
.past{display:inline-block;margin-left:8px;font-size:13px;font-weight:600;letter-spacing:0;color:var(--fg2);vertical-align:middle}
.figs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}
.figs div{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:4px}
.figs dd{margin:0;font:400 clamp(32px,3.4vw,52px)/1 var(--display);letter-spacing:.01em;color:var(--accent)}.figs dt{font-size:14px;color:var(--fg2);line-height:1.35}
.case blockquote{margin:0;display:grid;gap:12px;max-width:44em}.case blockquote p{font-size:clamp(17px,1.3vw,20px)}
.case blockquote footer{display:flex;align-items:center;gap:10px;font-weight:600}.case blockquote img{border-radius:50%}
@media(min-width:900px){.case{grid-template-columns:minmax(0,5fr) minmax(0,6fr);column-gap:56px}.case blockquote{grid-column:2}}

.clips{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
.clip{flex:0 0 min(78vw,320px);display:grid;gap:8px;align-content:start;scroll-snap-align:start;transition:flex-basis .5s var(--ease)}
.clip video{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:18px;background:#1f242e}
.who{font-weight:620}.said{color:var(--fg2)}
@media(min-width:900px){.clips{overflow:visible}.clip{flex:1 1 0}@media(hover:hover){.clips:hover .clip{flex-grow:.8}.clips .clip:hover,.clips .clip:focus-within{flex-grow:1.4}}}

.paths{display:grid;gap:20px}
@media(min-width:900px){.paths{grid-template-columns:1fr 1fr}}
.path{display:grid;gap:16px;align-content:start;padding:clamp(26px,3.4vw,48px);border-radius:24px;background:#f3f1ea;box-shadow:inset 0 0 0 1px #dedcd3}
.path p{color:var(--fg2)}.path .btn{justify-self:start;margin-top:8px}
.path.featured{background:var(--night);color:var(--on-night);--fg2:var(--on-night-2);--accent:var(--hot-lit)}
.badge{justify-self:start;font-size:13px;font-weight:650;color:var(--hot-lit)!important}

.contact{max-width:none;padding-inline:max(var(--pad),calc((100vw - 1440px)/2 + var(--pad)))}
.contact-copy{display:grid;gap:18px;align-content:start}
.reach{display:grid;gap:14px;margin:8px 0 0}.reach dt{font-size:14px;color:var(--fg2)}.reach dd{margin:0;font-weight:600}.reach a{text-underline-offset:4px}
.follow{color:var(--fg2)}.socials{display:flex;flex-wrap:wrap;gap:4px 18px}.socials a{font-weight:600;text-decoration:none}
.booking{display:grid;gap:6px;align-content:start}.booking p{color:var(--fg2)}
.booking iframe{width:100%;height:760px;border:0;border-radius:18px;background:#fff;margin-top:12px}
@media(min-width:1000px){.contact{grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:64px}}

.foot{display:grid;gap:18px;padding:48px var(--pad) 40px;border-top:1px solid #ffffff14}
.foot img{height:32px;width:auto}.foot nav{display:flex;flex-wrap:wrap;gap:0 14px}.foot nav a{font-size:15px;text-decoration:none;color:var(--on-night-2)}
.legal{font-size:13px;line-height:1.5;color:var(--on-night-2);max-width:70em}

/* Words come into focus once, as each row reaches the middle of the screen, and never fade again (motion/calm.js). Default: finished. */
.dim{opacity:.3;transition:opacity .45s var(--ease)}
@media(prefers-reduced-motion:reduce){.dim{opacity:1}}

/* ---- the demo on a phone: the whole window and its walkthrough button fit one 650px screen under the heading ---- */
@media(max-width:600px){
  .win{padding:12px}.win-view{gap:8px}
  .app-name{grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:10px}.app-name input{min-height:44px}
  .pipe li{padding-top:5px;white-space:nowrap}
  .card{padding:10px 12px;gap:6px}.screen{gap:8px}
  .ad-photo{height:38px}.ad-head{font-size:16px}.ad-cta{padding:4px 10px}
  .bubble{font-size:14px;padding:8px 11px}.say{font-size:14px;line-height:1.4}
  .win button{min-height:44px}
  .tour:not(.on):not(.seen) .tour-say{display:none}
}
@media(max-aspect-ratio:1/1) and (max-height:760px){.film .demo-beat .lede{display:none}}
@media(max-width:600px){.win-view{min-height:380px}.demo-beat .tour-box{align-self:start}.bubble{max-width:94%}}
@media(max-width:360px){.win-view{min-height:424px}}
@media(max-aspect-ratio:1/1) and (max-height:620px){.film .demo-beat .copy{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}} /* a short phone gives the window the whole screen; the heading stays for screen readers */

/* ---- sizes the gate caught ---- */
@media(max-width:420px){
  .stats b{font-size:clamp(26px,8vw,34px)}.stats span{font-size:13px}.stats li{padding-right:8px}
  .figs{grid-template-columns:1fr 1fr}.figs div:first-child{grid-column:1/-1}
}
/* a phone on its side gets the plain page; its first screen still holds the headline and the main button */
@media(max-height:500px) and (min-aspect-ratio:1/1){
  :root{--nav:56px}.hero .eyebrow{display:none}
  .hero h1{font-size:clamp(30px,8.6svh,44px);max-width:none}
  .hero .lede{font-size:15px;line-height:1.45}.hero .copy{gap:10px}
  .hero .beat-in .rig{height:min(84svh,52vw)} /* a phone on its side: the big photo would push the buttons off the first screen */
  .beat-in{padding-top:calc(var(--nav) + 4px)}
}
@media(min-aspect-ratio:1/1){.hero .beat-in{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}.hero h1{font-size:clamp(52px,min(8.6vw,17svh),168px)}}
.hero h1 .ln{display:block}

/* ---- hero hold: 2.6 screens on landscape, 2.2 on upright ---- */
.hero{--hold:1.6}
@media(max-aspect-ratio:1/1){.hero{--hold:1.2}}
/* ---- laptop progress through the film: a thin line in the left gutter, no numbers ---- */
.progress{display:none}
@media(min-aspect-ratio:1/1) and (min-width:1100px){
  .film .progress{display:block;position:fixed;z-index:15;left:calc(var(--pad) / 2 - 1px);top:calc(var(--nav) + 40px);bottom:56px;width:2px;border-radius:2px;background:color-mix(in srgb,currentColor 14%,transparent);pointer-events:none;transition:opacity .3s}
  .film .progress i{position:absolute;inset:0;border-radius:2px;background:var(--brand);transform-origin:50% 0;transform:scaleY(var(--film,0))}
  .film .progress.done{opacity:0}
}
@media(min-aspect-ratio:1/1){#demo .copy .tour{width:100%;max-width:420px;margin-top:8px}#demo .copy .tour-map{display:flex}}
.film.live #demo .copy .tour{opacity:1}
/* short laptop windows (600 to 700px tall): the compact window, so window and heading share one screen */
@media(min-aspect-ratio:1/1) and (max-height:700px){
  .win{padding:12px 16px}.win-view{gap:8px;min-height:396px}
  .card{padding:10px 12px;gap:6px}.screen{gap:8px}.ad-photo{height:38px}.ad-head{font-size:16px}.ad-cta{padding:4px 10px}
  .bubble{font-size:14px;padding:8px 11px}.say{font-size:14px;line-height:1.4}.app-name{grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:10px}
}
/* the smallest phones: drop what only decorates; the walkthrough speaks the narration */
@media(max-aspect-ratio:1/1) and (max-height:600px){.ad-photo,.sent{display:none}.film .win .say{display:none}.win-view{min-height:340px}}
.film .slot>img{width:100%;height:100%;max-height:none;object-fit:contain} /* the still is the same size as the picture that replaces it */
/* beside the window the bar is narrow: button above, step map below, so no label leaves the dark bar */
@media(min-aspect-ratio:1/1){#demo .copy .tour{grid-template-columns:minmax(0,1fr);gap:10px;padding:12px 14px}#demo .copy .tour-go{grid-row:auto;justify-self:start}#demo .copy .tour-map span{font-size:13px;white-space:nowrap}}

/* ---- hero: Brock on his stool beside the amp. The amp's slot sits a little behind him, so he stands in front of the rig the way he would on stage ---- */
.rig{position:relative;min-width:0;min-height:0;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:minmax(0,1fr);align-items:end}
.rig .slot{order:0;height:66%;min-height:0;margin-right:-24%}
.me{order:1;position:relative;z-index:1;display:block;width:100%;height:100%;min-height:0;object-fit:contain;object-position:50% 100%;-webkit-mask-image:linear-gradient(#000 84%,transparent);mask-image:linear-gradient(#000 84%,transparent)}
@media(min-aspect-ratio:1/1){.hero .rig{height:min(94svh,60vw);align-self:end;margin-bottom:calc(-1 * clamp(20px,4svh,56px))}}
@media(max-aspect-ratio:1/1){.hero .beat-in{grid-template-rows:auto minmax(0,1fr);align-content:stretch}.hero .rig{order:1;height:100%;min-height:30svh;margin-bottom:calc(-1 * clamp(20px,4svh,56px))}}
.film .me{opacity:var(--o,1)} /* he goes in and out with the words, never under a turn */
/* a phone: words across the top, then the buttons stacked with the amp beneath them on the left, and Brock large on the right */
@media(max-aspect-ratio:1/1) and (max-width:600px){
  .hero .beat-in{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);grid-template-rows:auto auto auto auto minmax(0,1fr);row-gap:clamp(10px,1.8svh,16px);column-gap:6px;align-content:stretch}
  .hero .copy,.hero .rig{display:contents}
  .film .hero .copy>*{opacity:var(--o,1);transform:translateY(calc((1 - var(--o,1))*10px))}
  .film .hero .beat-in:not(.up) .copy>*{pointer-events:none}
  .hero .eyebrow,.hero h1,.hero .lede{grid-column:1/-1}
  .hero .actions{grid-column:1;grid-row:4;flex-direction:column;align-items:stretch;gap:8px}.hero .actions .btn{justify-content:center;padding:0 10px;white-space:nowrap}
  .hero .rig .slot{grid-column:1;grid-row:5;height:100%;margin:0;align-self:stretch}
  @media(max-width:370px){.hero .actions .btn{font-size:15px}}
  .hero .me{grid-column:1/-1;grid-row:4/6;justify-self:end;align-self:end;width:auto;max-width:74%;height:100%;margin-bottom:calc(-1 * clamp(20px,4svh,56px));object-position:100% 100%} /* on a tall phone he grows past his column and stands just in front of the amp */
}
@media(max-aspect-ratio:1/1) and (max-width:600px) and (max-height:620px){.hero h1{font-size:44px}.hero .lede{font-size:15px;line-height:1.4}} /* the smallest phones: tighter words so the amp keeps a real size */
/* the flat page (no film): the hero and the stage are both dark and touch, so the hero's glow settles into plain night at its foot and the stage carries on from it with no seam */
html:not(.film) .hero{background:linear-gradient(180deg,#1f242e00 55%,var(--night)),var(--night-glow)}
html:not(.film) #stage{background:var(--night)}
@media(max-width:420px){.mark{height:19px}.nav .btn{white-space:nowrap}} /* a phone: the full name still fits beside "Let's Talk" on one line */
