@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--ink:#142c3c;--blue:#2858a7;--pale:#e4eef7;--paper:#f6f9fc;--muted:#536c7b;--line:#cfdee9;--dark:#123652}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:'DM Sans',sans-serif;line-height:1.6}a{color:inherit}img,video{max-width:100%;display:block}button{font:inherit}nav{max-width:1500px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px clamp(22px,5vw,80px)}.brand{font:700 1.2rem 'Space Grotesk',sans-serif;letter-spacing:-.045em;text-decoration:none}.nav-links{display:flex;gap:clamp(16px,3vw,38px);font-size:.88rem}.nav-links a{text-decoration:none}.wrap{max-width:1500px;margin:auto;padding:0 clamp(22px,6.4vw,100px)}h1,h2,h3{font-family:'Space Grotesk',sans-serif;line-height:1.06;letter-spacing:-.045em;margin:0}h1{font-size:clamp(3.5rem,8.7vw,8.5rem)}h2{font-size:clamp(2.5rem,5.2vw,5.25rem)}h3{font-size:clamp(1.4rem,2.3vw,2.1rem)}p{margin:0}.eyebrow{font-size:.86rem;color:var(--blue);font-weight:700;margin-bottom:20px}.hero{background:var(--pale);overflow:hidden}.hero-copy{padding:clamp(55px,8vw,115px) 0 50px}.hero-copy h1{max-width:1000px}.hero-copy .lead{max-width:670px;font-size:clamp(1.08rem,1.7vw,1.35rem);margin-top:25px;color:#415d70}.meta{display:flex;flex-wrap:wrap;gap:12px 32px;margin-top:34px;font-size:.87rem;color:#4a6677}.hero-image{margin:0;position:relative}.hero-image img{width:100%;border-radius:10px 10px 0 0}.caption{font-size:.83rem;color:var(--muted);margin-top:12px}.section{padding:clamp(76px,9vw,140px) 0}.white{background:#fff}.dark{background:var(--dark);color:#fff}.dark .eyebrow{color:#b1d4ff}.dark .muted,.dark .caption{color:#c4d8e6}.split-head{display:grid;grid-template-columns:1fr .75fr;gap:5vw;align-items:end;margin-bottom:48px}.split-head p{color:var(--muted);font-size:1.12rem;max-width:550px}.dark .split-head p{color:#c4d8e6}.features{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--line)}.feature{background:#fff;padding:clamp(30px,4.3vw,65px);min-height:275px}.feature h3{margin:30px 0 16px}.feature p{max-width:440px;color:var(--muted)}.tag{font-size:.85rem;color:var(--blue);font-weight:700}.visual{margin:0}.visual img,.visual video{width:100%;border-radius:8px}.visual video{background:#0d1c27;aspect-ratio:16/9;object-fit:contain}.video-row{display:grid;grid-template-columns:1.25fr .75fr;gap:20px;align-items:start}.video-row .text{padding:clamp(15px,3vw,45px);align-self:center}.text p{margin-top:20px;color:var(--muted)}.button{display:inline-flex;align-items:center;gap:12px;text-decoration:none;border:1px solid #a9bfce;border-radius:100px;padding:12px 20px;font-weight:600;font-size:.9rem;margin-top:27px;transition:background .2s}.button:hover{background:#dcebf6}.dark .button{border-color:#7897af}.dark .button:hover{background:#234b69}.gallery-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:30px}.gallery-head p{max-width:520px;color:var(--muted)}.gallery{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(165px,20vw,245px);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 0 16px}.cap-card{margin:0;scroll-snap-align:start;min-width:0}.cap-card img{aspect-ratio:1;object-fit:contain;width:100%;background:#000;border-radius:5px}.cap-card figcaption{font-size:.82rem;margin-top:9px}.gallery-tools{display:flex;gap:8px}.round{border:1px solid #a8bfce;background:transparent;border-radius:50%;width:44px;height:44px;cursor:pointer}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center}.detail-grid img{border-radius:8px;width:100%}.detail-copy{padding:clamp(20px,4vw,65px)}.detail-copy p{color:var(--muted);margin-top:20px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;background:#9cbad1;margin-top:60px}.stat{padding:30px;background:var(--dark)}.stat strong{font:600 clamp(2rem,4vw,3.8rem) 'Space Grotesk',sans-serif;letter-spacing:-.05em}.stat span{display:block;color:#c4d8e6;font-size:.9rem}.closing{background:var(--pale)}.closing h2{max-width:850px}.closing p{max-width:650px;margin-top:22px;color:var(--muted);font-size:1.1rem}footer{padding:30px clamp(22px,6.4vw,100px);display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:.82rem}.deep-hero{background:var(--pale);padding:80px 0}.deep-hero h1{font-size:clamp(3.2rem,7vw,6.3rem);max-width:980px}.deep-hero p{font-size:1.2rem;max-width:700px;color:var(--muted);margin-top:25px}.reading{max-width:1150px}.reading section{padding:65px 0;border-bottom:1px solid var(--line)}.reading section:last-child{border:0}.reading h2{font-size:clamp(2.2rem,4vw,3.8rem);margin-bottom:20px}.reading h3{font-size:1.35rem;margin:28px 0 10px}.reading p{max-width:780px;color:var(--muted);margin-bottom:18px}.reading img{margin:30px 0 10px;border-radius:8px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:30px}.step{background:white;padding:22px}.step b{font-size:.85rem;color:var(--blue)}.step h3{margin:28px 0 10px}.step p{font-size:.93rem}.list{padding:0;list-style:none;margin:30px 0}.list li{border-top:1px solid var(--line);padding:18px 0;color:var(--muted)}.list b{color:var(--ink)}:focus-visible{outline:3px solid #e77835;outline-offset:4px}@media(max-width:760px){.nav-links{gap:14px;font-size:.76rem}.split-head,.features,.video-row,.detail-grid{grid-template-columns:1fr}.split-head p{margin-top:20px}.video-row .text,.detail-copy{padding:10px 0}.stats{grid-template-columns:1fr}.stat{padding:22px}.steps{grid-template-columns:1fr 1fr}.gallery-head{display:block}.gallery-tools{margin-top:20px}footer{display:block}footer span{display:block;margin-top:7px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}
/* Keep the supporting pages easy to read and let the visuals carry the story. */
.hero-copy h1{font-size:clamp(3rem,6vw,6rem)}.split-head h2,.closing h2{font-size:clamp(2.1rem,4vw,4rem)}.deep-hero h1{font-size:clamp(2.6rem,5vw,4.8rem)}.simple .reading section{padding:50px 0}.simple .reading p:not(.eyebrow):not(.caption){font-size:1.08rem;line-height:1.75}.simple .reading .eyebrow{margin-bottom:15px}.hero-image .caption{padding:0 0 22px}
/* Capbuilder case study — aligned with Mr. BT Studio */
:root{--ink:#eeeef0;--blue:#bbbfc6;--pale:#101113;--paper:#08090a;--muted:#a5a7ab;--line:#282a2d;--dark:#0d0e10}body{background:#08090a;color:#eeeef0;font-family:Arial,Helvetica,sans-serif}h1,h2,h3,.brand{font-family:Arial,Helvetica,sans-serif;letter-spacing:-.035em}nav{max-width:1500px;border-bottom:1px solid #26272a;padding-top:22px;padding-bottom:22px}.brand{font-size:1.05rem;font-weight:700;letter-spacing:-.04em}.brand span{font-size:.65rem;font-weight:400;color:#909196;margin-left:10px;padding-left:12px;border-left:1px solid #454545;letter-spacing:0}.nav-links{color:#b3b4b7}.nav-links a:hover,.text-link:hover{color:#fff}.hero{background:#08090a}.hero-grid{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:4vw;min-height:min(760px,calc(100vh - 84px));padding-top:40px;padding-bottom:75px}.hero-copy{padding:30px 0}.hero-copy h1{font-size:clamp(2.4rem,4.1vw,4.6rem);line-height:1.06;max-width:570px}.hero-copy .lead{color:#aaaeb4;max-width:490px;font-size:clamp(1rem,1.2vw,1.16rem);line-height:1.7}.eyebrow{font-size:.76rem;letter-spacing:.12em;color:#91959a;font-weight:600}.meta{font-size:.76rem;color:#85888c;gap:8px 20px}.hero-down,.text-link{display:inline-block;color:#e4e4e4;text-decoration:none;font-size:.84rem;border-bottom:1px solid #666;padding-bottom:5px;margin-top:28px}.hero-interactive{min-width:0}.cap-viewer{height:clamp(400px,54vw,690px);position:relative;background:radial-gradient(ellipse at 50% 50%,#25272a 0%,#121315 56%,#090a0b 100%);border-radius:4px;overflow:hidden;touch-action:pan-y}.cap-viewer canvas{position:absolute;inset:0;width:100%;height:100%;cursor:grab;touch-action:pan-y}.cap-viewer canvas:active{cursor:grabbing}.cap-viewer img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;opacity:.5}.cap-viewer img[hidden]{display:none}.viewer-status{position:absolute;left:18px;bottom:12px;margin:0;color:#bfc2c5;font-size:.73rem;pointer-events:none}.viewer-caption{font-size:.73rem;text-align:right;color:#83858a;margin:12px 0 0}.section{padding:clamp(75px,8vw,130px) 0;border-top:1px solid #292a2b;background:#08090a}.section.white,.section.dark,.section.closing{background:#08090a;color:#eeeef0}.story-row{display:grid;grid-template-columns:.72fr 1.28fr;gap:clamp(35px,7vw,110px);align-items:center}.story-copy{max-width:410px}.story-text{font-size:clamp(1.05rem,1.35vw,1.3rem);line-height:1.65;letter-spacing:-.015em}.story-text+.story-text{margin-top:22px}.muted,.detail-copy p,.caption{color:#999da1}.caption{font-size:.77rem}.text-link{margin-top:25px}.visual img,.visual video{border-radius:3px;background:#17191b}.gallery-head{margin-top:100px}.gallery-head p{color:#b5b5b5}.gallery-head .caption{font-size:.78rem;color:#888}.round{color:#ddd;border-color:#414346}.round:hover{background:#292a2c}.cap-card img{background:#080d12}.gallery{grid-auto-columns:clamp(170px,19vw,240px)}.deep-hero{background:#111214}.deep-hero h1{font-size:clamp(2.2rem,4vw,3.8rem)}.deep-hero p,.reading p:not(.eyebrow):not(.caption){color:#aeb1b5}.button{color:#eee;border-color:#494a4c}.button:hover{background:#252629}.reading section{border-color:#2c2d2e}.closing .caption{font-size:.95rem;max-width:430px;line-height:1.7}footer{border-top:1px solid #292a2b;color:#888}.simple footer{background:#08090a}@media(max-width:760px){.hero-grid,.story-row{grid-template-columns:1fr}.hero-grid{min-height:0;gap:20px;padding-top:15px}.hero-copy{padding:30px 0 0}.cap-viewer{height:420px}.story-row{gap:30px}.gallery-head{margin-top:60px}.nav-links{gap:12px}.nav-links a{font-size:.7rem}.hero-copy h1{font-size:clamp(2.5rem,11vw,4rem)}.story-copy{max-width:none}}

/* Match the portfolio's system typeface and heading scale. */
body, h1, h2, h3, .brand, .stat strong {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.hero-copy h1, .deep-hero h1, h1 {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -.035em;
}
.reading h2, h2 {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -.025em;
}
.reading h3, h3 {
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -.015em;
}
