@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@500;600;700;800;900&display=swap');

:root{
  --navy:#0B173D;
  --red:#ED1C24;
  --blue:#2EA8DB;
  --paper:#FBFCFF;
  --ink:#16203C;
  --muted:#53607B;
  --line:#D8E5F4;
  --shadow:0 18px 48px rgba(11,23,61,.13);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:#fff;
  font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;
}
img{display:block;max-width:100%}
a{color:inherit}

.site-header{
  height:112px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px clamp(48px,6vw,92px);
  background:#fff;
  border-bottom:1px solid var(--line);
  overflow:visible;
}
.brand{display:flex;align-items:center;width:198px;height:92px;text-decoration:none}
.brand img{
  width:186px;
  height:auto;
  max-height:92px;
  object-fit:contain;
}
.nav{
  display:flex;
  gap:clamp(42px,5vw,76px);
  color:var(--navy);
  font-weight:900;
  font-size:15px;
}
.nav a{text-decoration:none}
.nav a:hover{color:var(--red)}

.hero{
  position:relative;
  min-height:440px;
  padding:40px clamp(48px,6vw,92px) 0;
  overflow:hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(237,28,36,.055), transparent 32rem),
    radial-gradient(circle at 10% 88%, rgba(46,168,219,.08), transparent 30rem),
    linear-gradient(180deg,#fff,#FAFCFF);
  border-bottom:4px solid rgba(46,168,219,.18);
}
.hero::before{
  content:"";
  position:absolute;inset:0;
  background-image:radial-gradient(#0B173D 1px, transparent 1px);
  background-size:20px 20px;
  opacity:.04;
  pointer-events:none;
}
.hero-copy{
  position:relative;
  z-index:3;
  width:min(44vw, 570px);
  padding-bottom:42px;
}
.eyebrow{
  margin:0 0 14px;
  color:var(--blue);
  font-size:14px;
  font-weight:900;
  letter-spacing:.22em;
  text-transform:uppercase;
}
h1,h2,h3,p{margin-top:0}
h1{
  margin:0 0 22px;
  color:var(--navy);
  font-family:Anton, Impact, sans-serif;
  font-weight:400;
  letter-spacing:.01em;
  line-height:.88;
  text-transform:none;
  font-size:clamp(58px, 6.55vw, 104px);
}
h1 span{display:block}
h1 .line-two{
  color:var(--red);
  letter-spacing:-.015em;
}
.hero-text{
  max-width:570px;
  margin:0;
  color:#273149;
  font-size:clamp(17px,1.6vw,21px);
  line-height:1.48;
  font-weight:600;
}
.button-row{display:flex;gap:22px;flex-wrap:wrap;margin-top:28px}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:178px;
  min-height:50px;
  padding:0 24px;
  border-radius:5px;
  font-size:15px;
  font-weight:900;
  text-decoration:none;
}
.button::after{
  content:"›";
  margin-left:18px;
  font-size:1.9em;
  line-height:0;
}
.button-primary{background:var(--red);color:white}
.button-secondary{background:#fff;color:var(--navy);border:2px solid var(--blue)}
.button-dark{background:#07102D;color:#fff}

.hero-art{
  position:absolute;
  right:clamp(10px, 4vw, 58px);
  bottom:-4px;
  z-index:1;
  width:min(60vw, 840px);
  height:420px;
  background-image:url("assets/hero-background.webp");
  background-repeat:no-repeat;
  background-position:right bottom;
  background-size:100% auto;
  pointer-events:none;
}

.work{
  padding:28px clamp(48px,6vw,92px) 42px;
  background:#fff;
}
.section-heading{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  text-align:center;
  margin-bottom:8px;
}
.section-heading h2{
  margin:0;
  color:var(--navy);
  font-family:Anton, Impact, sans-serif;
  font-weight:400;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:clamp(30px,3.6vw,47px);
}
.section-heading.inverse h2{color:white}
.section-intro{
  max-width:750px;
  margin:0 auto 24px;
  color:var(--muted);
  text-align:center;
  font-size:16px;
  line-height:1.45;
  font-weight:700;
}
.bolt{
  display:inline-block;
  width:32px;height:22px;
  clip-path:polygon(42% 0,100% 0,60% 38%,100% 38%,28% 100%,50% 54%,0 54%);
}
.bolt.blue{background:var(--blue)}
.bolt.red{background:var(--red)}

.card-grid{
  max-width:1210px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.work-card{
  overflow:hidden;
  background:white;
  border:1px solid var(--line);
  border-radius:9px;
  box-shadow:0 12px 34px rgba(11,23,61,.10);
}
.work-card img{
  width:100%;
  aspect-ratio:1.72;
  object-fit:cover;
  background:white;
}
.card-label{
  display:flex;
  align-items:center;
  gap:11px;
  padding:10px 14px 0;
}
.icon{
  width:30px;height:30px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:900;
  flex:0 0 auto;
}
.icon.blue{background:var(--blue)}
.icon.red{background:var(--red)}
.card-label h3{
  margin:0;
  color:var(--navy);
  font-size:16px;
  line-height:1.1;
  text-transform:uppercase;
  letter-spacing:.02em;
  font-weight:900;
}
.work-card p{
  margin:0;
  padding:8px 14px 16px;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.42;
}
.soon{opacity:.86}

.process{
  position:relative;
  overflow:hidden;
  padding:34px clamp(48px,6vw,92px) 45px;
  color:white;
  background:
    radial-gradient(circle at 12% 18%, rgba(46,168,219,.26), transparent 20rem),
    radial-gradient(circle at 88% 48%, rgba(237,28,36,.18), transparent 22rem),
    linear-gradient(180deg,#0B173D,#07102D);
}
.process::before{
  content:"";
  position:absolute;inset:0;
  background:
    repeating-conic-gradient(from 0deg at 50% 45%, transparent 0 10deg, rgba(255,255,255,.05) 10deg 11deg),
    radial-gradient(white 1px, transparent 1px);
  background-size:auto,20px 20px;
  opacity:1;
}
.process > *{position:relative}
.steps{
  max-width:1210px;
  margin:24px auto 0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.steps article{
  min-height:142px;
  padding:25px 20px 20px;
  position:relative;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px 999px 18px 18px;
  text-align:center;
}
.step-number{
  position:absolute;
  top:-12px;left:20px;
  width:30px;height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--blue);
  color:white;
  font-weight:900;
}
.step-number.red{background:var(--red)}
.step-icon{
  width:58px;height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 11px;
  border:2px solid rgba(255,255,255,.85);
  border-radius:50%;
  font-size:27px;
}
.steps h3{
  margin:0 0 7px;
  color:var(--blue);
  font-size:13px;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.steps article:nth-child(n+3) h3{color:var(--red)}
.steps p{
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:12.5px;
  line-height:1.45;
}

.about{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:26px;
  align-items:center;
  padding:34px clamp(48px,6vw,92px);
  background:#fff;
  border-bottom:1px solid var(--line);
}
.about-copy{position:relative;z-index:2}
.about h2{
  color:var(--navy);
  max-width:620px;
  font-family:Anton, Impact, sans-serif;
  font-weight:400;
  letter-spacing:.03em;
  text-transform:uppercase;
  font-size:clamp(28px,3vw,40px);
  line-height:1.08;
  margin-bottom:14px;
}
.about p{
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
  font-weight:600;
}
.stats{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-top:22px;
}
.stats div{
  min-width:155px;
  display:grid;
  gap:4px;
}
.stats strong{color:var(--red);font-size:20px}
.stats span{color:var(--muted);font-size:13px;font-weight:700}
.sketch-panel{
  width:100%;
  min-height:240px;
  object-fit:cover;
}

.cta{
  display:grid;
  grid-template-columns:265px 1fr;
  align-items:center;
  gap:38px;
  padding:30px clamp(48px,6vw,92px);
  color:#fff;
  background:
    linear-gradient(90deg,rgba(46,168,219,.98),rgba(15,103,185,.98));
}
.burst{
  width:230px;height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:white;
  color:var(--navy);
  clip-path:polygon(50% 0,59% 22%,82% 9%,77% 35%,100% 43%,78% 56%,92% 79%,65% 73%,50% 100%,36% 73%,8% 79%,22% 56%,0 43%,23% 35%,18% 9%,42% 22%);
  transform:rotate(-5deg);
  font-family:Anton, Impact, sans-serif;
  font-size:26px;
  line-height:.95;
  letter-spacing:.03em;
  text-transform:uppercase;
  box-shadow:0 14px 34px rgba(11,23,61,.18);
}
.burst strong{color:var(--red)}
.cta h2{
  margin:0 0 15px;
  max-width:820px;
  font-size:clamp(24px,3vw,35px);
  line-height:1.13;
  font-weight:900;
}

.footer{
  position:relative;
  min-height:126px;
  display:grid;
  grid-template-columns:160px 1fr auto;
  gap:26px;
  align-items:center;
  padding:20px clamp(48px,6vw,92px);
  color:white;
  background:#07102D;
}
.footer img{width:150px;height:auto}
.footer p{margin:0;max-width:440px;color:rgba(255,255,255,.72);font-size:13.5px;line-height:1.45}
.footer a{color:white;text-decoration:none;font-weight:900}
.version{
  position:absolute;
  bottom:8px;
  right:12px;
  font-size:10px;
  color:rgba(255,255,255,.28);
}

@media (min-width:1500px){
  .hero{min-height:470px}
  .hero-art{width:820px;height:440px}
}

@media (max-width:1100px){
  .hero-copy{width:min(52vw,560px)}
  .hero-art{width:55vw;height:360px}
  h1{font-size:clamp(54px,6vw,88px)}
}

@media (max-width:900px){
  .site-header{height:auto;display:block;text-align:center;padding:16px 20px}
  .brand{margin:0 auto 12px;width:172px;height:auto}
  .brand img{width:172px;max-height:none}
  .nav{justify-content:center;gap:20px;flex-wrap:wrap}
  .hero{padding:34px 22px 0}
  .hero-copy{width:100%;max-width:650px}
  .hero-art{position:relative;right:auto;bottom:auto;width:100%;height:310px;margin-top:18px;background-position:center bottom}
  .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .about{grid-template-columns:1fr;padding:34px 22px}
  .cta{grid-template-columns:1fr;padding:30px 22px}
  .footer{grid-template-columns:1fr;padding:24px 22px}
}

@media (max-width:600px){
  .work,.process{padding-left:20px;padding-right:20px}
  .card-grid,.steps{grid-template-columns:1fr}
  .button{width:100%}
  .hero-art{height:240px;background-size:620px auto}
  h1{font-size:54px}
}


/* ---------- V10 user-supplied WebP hero art ---------- */
.hero-art{
  background-image:url("assets/hero-background.webp") !important;
  width:min(63vw, 880px) !important;
  height:430px !important;
  right:clamp(8px, 3vw, 54px) !important;
  bottom:-6px !important;
  background-size:100% auto !important;
  background-position:right bottom !important;
}

@media (min-width:1500px){
  .hero-art{
    width:920px !important;
    height:450px !important;
  }
}

@media (max-width:1100px){
  .hero-art{
    width:58vw !important;
    height:355px !important;
  }
}

@media (max-width:900px){
  .hero-art{
    width:100% !important;
    height:320px !important;
    background-position:center bottom !important;
    background-size:min(760px, 110%) auto !important;
  }
}

@media (max-width:600px){
  .hero-art{
    height:245px !important;
    background-size:680px auto !important;
  }
}


/* ---------- V11 right-anchored hero + v8-style type ---------- */
/* This is intentionally at the end so it overrides earlier v9/v10 rules cleanly. */

:root{
  --hero-section-height: 520px;
  --hero-art-height: 520px;
  --header-logo-width: 190px;
}

/* keep the header close to the proof */
.site-header{
  height:112px !important;
  padding:10px clamp(48px,6vw,92px) !important;
}
.brand{
  width:var(--header-logo-width) !important;
  height:94px !important;
}
.brand img{
  width:var(--header-logo-width) !important;
  max-height:94px !important;
  object-fit:contain !important;
}

/* proof-style hero section */
.hero{
  min-height:var(--hero-section-height) !important;
  height:var(--hero-section-height) !important;
  padding:38px 0 0 clamp(48px,6vw,92px) !important;
  overflow:hidden !important;
  position:relative !important;
}

/* keep copy in front of the right-side art */
.hero-copy{
  width:min(45vw, 610px) !important;
  max-width:610px !important;
  position:relative !important;
  z-index:3 !important;
}

/* Return to the v8-style headline: heavy clean sans, not condensed Anton */
h1{
  font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight:900 !important;
  line-height:.84 !important;
  letter-spacing:-.035em !important;
  font-size:clamp(68px, 7.25vw, 120px) !important;
  margin:0 0 26px !important;
  color:var(--navy) !important;
}
h1 span{
  display:block !important;
}
h1 .line-one{
  color:var(--navy) !important;
}
h1 .line-two,
h1 .line-three{
  color:var(--red) !important;
}

.hero-text{
  font-size:clamp(18px,1.6vw,22px) !important;
  line-height:1.48 !important;
  max-width:600px !important;
}

/*
  Key change: hero art is scaled by HEIGHT and locked to the right side.
  Since the WebP is 1400x700, height 520px = width 1040px.
*/
.hero-art{
  position:absolute !important;
  z-index:1 !important;
  top:0 !important;
  right:0 !important;
  bottom:auto !important;
  width:calc(var(--hero-art-height) * 2) !important;
  height:var(--hero-art-height) !important;
  background-image:url("assets/hero-background.webp") !important;
  background-repeat:no-repeat !important;
  background-position:right bottom !important;
  background-size:auto 100% !important;
  pointer-events:none !important;
}

/* keep the hero from hiding behind the work section */
.work{
  position:relative !important;
  z-index:2 !important;
  padding-top:32px !important;
}

/* desktop fine tuning */
@media (min-width:1500px){
  :root{
    --hero-section-height: 545px;
    --hero-art-height: 545px;
  }
}

/* mid-size desktops/laptops */
@media (max-width:1250px){
  :root{
    --hero-section-height: 500px;
    --hero-art-height: 500px;
  }
  .hero-copy{
    width:min(48vw, 585px) !important;
  }
  h1{
    font-size:clamp(62px, 7vw, 104px) !important;
  }
}

/* tablets/mobile: stack the art below copy */
@media (max-width:900px){
  :root{
    --hero-section-height:auto;
    --hero-art-height: 360px;
  }
  .hero{
    height:auto !important;
    min-height:0 !important;
    padding:34px 22px 0 !important;
  }
  .hero-copy{
    width:100% !important;
    max-width:680px !important;
  }
  .hero-art{
    position:relative !important;
    right:auto !important;
    top:auto !important;
    width:100% !important;
    height:var(--hero-art-height) !important;
    margin-top:18px !important;
    background-size:auto 100% !important;
    background-position:center bottom !important;
  }
}

@media (max-width:600px){
  :root{
    --hero-art-height: 260px;
  }
  h1{
    font-size:56px !important;
  }
}


/* ---------- V13 hero button visibility + cleaner process band ---------- */
/*
  The hero copy got longer, so the section needs more height.
  The hero art still scales by height and remains anchored to the right.
*/
:root{
  --hero-section-height: 600px;
  --hero-art-height: 600px;
}

.hero{
  min-height:var(--hero-section-height) !important;
  height:var(--hero-section-height) !important;
  padding-top:38px !important;
  padding-bottom:0 !important;
}

.hero-copy{
  padding-bottom:32px !important;
}

.button-row{
  margin-top:26px !important;
  position:relative !important;
  z-index:4 !important;
}

/* make sure the hero art still fills the hero section height */
.hero-art{
  height:var(--hero-art-height) !important;
  width:calc(var(--hero-art-height) * 2) !important;
  background-size:auto 100% !important;
}

/* remove the busy white dot texture from the dark process section; keep subtle rays only */
.process::before{
  background:repeating-conic-gradient(from 0deg at 50% 45%, transparent 0 10deg, rgba(255,255,255,.045) 10deg 11deg) !important;
  background-size:auto !important;
  opacity:1 !important;
}

/* process step title may be a touch longer now */
.steps h3{
  letter-spacing:.08em !important;
}

@media (min-width:1500px){
  :root{
    --hero-section-height: 620px;
    --hero-art-height: 620px;
  }
}

@media (max-width:1250px){
  :root{
    --hero-section-height: 580px;
    --hero-art-height: 580px;
  }
}

@media (max-width:900px){
  :root{
    --hero-section-height:auto;
    --hero-art-height:360px;
  }
  .hero{
    height:auto !important;
    min-height:0 !important;
  }
  .hero-art{
    width:100% !important;
    height:var(--hero-art-height) !important;
  }
}

@media (max-width:600px){
  :root{
    --hero-art-height:260px;
  }
}


/* ---------- V14 asset swap: real sketch panel + CTA burst ---------- */

/* Use the supplied truck sketch artwork cleanly in the about section */
.sketch-panel{
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  object-fit:contain !important;
  align-self:center !important;
}

/* Hide old CSS-burst styling if any old burst div remains */
.burst{
  display:none !important;
}

/* Real transparent burst asset */
.burst-image{
  width:260px;
  max-width:100%;
  height:auto;
  display:block;
  transform:rotate(-4deg);
  filter:drop-shadow(0 14px 28px rgba(11,23,61,.18));
}

/* Give CTA enough room for the larger artwork */
.cta{
  grid-template-columns:300px 1fr !important;
  gap:42px !important;
  min-height:210px !important;
  overflow:hidden !important;
}

.cta-copy{
  position:relative;
  z-index:2;
}

@media (max-width:900px){
  .cta{
    grid-template-columns:1fr !important;
  }
  .burst-image{
    width:230px;
  }
}

@media (max-width:600px){
  .burst-image{
    width:210px;
    margin:0 auto;
  }
}


/* ---------- V15 footer cleanup ---------- */
/* The logo is designed for a light background, so the final footer is now white instead of navy. */
.footer{
  min-height:112px !important;
  grid-template-columns:180px 1fr !important;
  gap:30px !important;
  align-items:center !important;
  background:#fff !important;
  color:var(--navy) !important;
  border-top:1px solid var(--line) !important;
  padding:22px clamp(48px,6vw,92px) !important;
}

.footer img{
  width:165px !important;
  height:auto !important;
  background:transparent !important;
}

.footer p{
  color:var(--muted) !important;
  max-width:520px !important;
  font-size:14px !important;
  line-height:1.45 !important;
  font-weight:700 !important;
}

.footer a{
  display:none !important;
}

.footer .version{
  color:rgba(11,23,61,.22) !important;
}

@media (max-width:900px){
  .footer{
    grid-template-columns:1fr !important;
    text-align:center !important;
    justify-items:center !important;
    padding:26px 22px !important;
  }
}


/* ---------- V16 cream footer ---------- */
.footer{
  background:#FFF7E4 !important;
  border-top:1px solid #E8DFC7 !important;
}

.footer p{
  color:#4F5C76 !important;
}

.footer .version{
  color:rgba(11,23,61,.24) !important;
}


/* ---------- V17 end on blue CTA + simplify About section ---------- */

/* No footer: the page ends on the blue CTA banner. */
.footer{
  display:none !important;
}

/* Remove the stats if any stale HTML/CSS remains */
.stats{
  display:none !important;
}

/* Give the About section more of a clean two-panel composition */
.about{
  grid-template-columns:0.82fr 1.18fr !important;
  gap:34px !important;
  align-items:stretch !important;
  padding-top:44px !important;
  padding-bottom:44px !important;
}

.about-copy{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}

.about p{
  margin-bottom:0 !important;
}

/* Let the supplied BIG IDEA image occupy the full visual height of the section */
.sketch-panel{
  width:100% !important;
  height:100% !important;
  min-height:285px !important;
  object-fit:cover !important;
  object-position:center center !important;
  align-self:stretch !important;
}

/* Make the blue CTA feel like the intentional endpoint */
.cta{
  border-bottom:0 !important;
  min-height:230px !important;
  padding-top:36px !important;
  padding-bottom:36px !important;
}

@media (max-width:900px){
  .about{
    grid-template-columns:1fr !important;
    align-items:center !important;
  }
  .sketch-panel{
    height:auto !important;
    min-height:0 !important;
    object-fit:contain !important;
  }
}


/* ---------- V18 project modal / deeper work view ---------- */
.project-card{
  cursor:pointer;
  position:relative;
}

.project-card:focus{
  outline:3px solid rgba(46,168,219,.45);
  outline-offset:4px;
}

.view-project{
  display:inline-flex;
  margin:0 14px 16px;
  color:var(--blue);
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.project-card:hover .view-project{
  color:var(--red);
}

body.modal-open{
  overflow:hidden;
}

.project-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:none;
}

.project-modal[aria-hidden="false"]{
  display:block;
}

.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(7,16,45,.78);
  backdrop-filter:blur(8px);
}

.modal-panel{
  position:relative;
  width:min(1120px, calc(100vw - 44px));
  max-height:calc(100vh - 44px);
  margin:22px auto;
  overflow:auto;
  background:#fff;
  border-radius:18px;
  box-shadow:0 30px 90px rgba(0,0,0,.32);
  border:1px solid rgba(255,255,255,.5);
}

.modal-close{
  position:sticky;
  top:16px;
  float:right;
  z-index:3;
  width:42px;
  height:42px;
  margin:14px 14px 0 0;
  border:0;
  border-radius:50%;
  background:var(--navy);
  color:white;
  font-size:30px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(11,23,61,.25);
}

.modal-content{
  padding:28px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:28px;
  align-items:start;
}

.modal-hero{
  background:
    radial-gradient(circle at 10% 10%, rgba(46,168,219,.12), transparent 18rem),
    radial-gradient(circle at 90% 40%, rgba(237,28,36,.08), transparent 16rem),
    #fff;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  min-height:360px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.modal-hero img{
  width:100%;
  height:100%;
  max-height:520px;
  object-fit:contain;
}

.modal-copy{
  padding:18px 8px 0;
}

.modal-eyebrow{
  margin:0 0 12px;
  color:var(--blue);
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.18em;
}

.modal-copy h2{
  margin:0 0 14px;
  color:var(--navy);
  font-size:clamp(36px,4vw,58px);
  line-height:.95;
  font-weight:900;
  letter-spacing:-.025em;
}

.modal-description{
  color:var(--muted);
  font-size:17px;
  line-height:1.6;
  font-weight:650;
}

.modal-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}

.modal-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:7px;
  background:var(--red);
  color:white;
  font-size:14px;
  font-weight:900;
  text-decoration:none;
}

.modal-button:nth-child(even){
  background:var(--navy);
}

.modal-gallery{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:4px;
}

.modal-gallery figure{
  margin:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  box-shadow:0 12px 28px rgba(11,23,61,.08);
}

.modal-gallery img{
  width:100%;
  aspect-ratio:1.42;
  object-fit:cover;
  background:white;
}

.modal-gallery figcaption{
  padding:10px 12px 12px;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}

@media (max-width:850px){
  .modal-content{
    grid-template-columns:1fr;
    padding:20px;
  }
  .modal-hero{
    min-height:260px;
  }
  .modal-gallery{
    grid-template-columns:1fr;
  }
}


/* ---------- V19 hybrid project details: desktop modal / mobile inline ---------- */

.mobile-project-detail{
  display:none;
}

.mobile-project-detail[aria-hidden="false"]{
  display:block;
}

.mobile-project-close{
  display:none;
}

@media (max-width:760px){
  /* On mobile, keep users in the normal page flow instead of opening a cramped overlay. */
  .project-modal{
    display:none !important;
  }

  .mobile-project-detail{
    margin:28px auto 0;
    padding:28px 0 0;
    border-top:1px solid var(--line);
  }

  .mobile-project-close{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 14px;
    margin:0 0 22px;
    border:1px solid var(--line);
    border-radius:999px;
    background:#fff;
    color:var(--navy);
    font-weight:900;
  }

  .mobile-project-content{
    text-align:left;
  }

  .inline-eyebrow{
    margin:0 0 12px;
    color:var(--blue);
    font-size:12px;
    font-weight:900;
    letter-spacing:.18em;
    text-transform:uppercase;
  }

  .mobile-project-content h2{
    margin:0 0 12px;
    color:var(--navy);
    font-size:clamp(34px,10vw,54px);
    line-height:.96;
    font-weight:900;
    letter-spacing:-.035em;
  }

  .inline-subtitle{
    margin:0 0 18px;
    color:#333;
    font-size:22px;
    line-height:1.3;
    letter-spacing:.08em;
    text-transform:uppercase;
    font-weight:500;
  }

  .inline-meta{
    display:grid;
    gap:8px;
    margin:0 0 22px;
    color:var(--muted);
    font-size:17px;
    line-height:1.45;
  }

  .inline-description{
    color:var(--muted);
    font-size:17px;
    line-height:1.55;
    font-weight:650;
    margin-bottom:22px;
  }

  .inline-actions{
    display:grid;
    gap:12px;
    margin:0 0 26px;
  }

  .inline-button{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:50px;
    padding:0 18px;
    border-radius:7px;
    background:var(--red);
    color:#fff;
    text-decoration:none;
    font-weight:900;
  }

  .inline-button:nth-child(even){
    background:var(--navy);
  }

  .inline-gallery{
    display:grid;
    gap:26px;
  }

  .inline-gallery figure{
    margin:0;
  }

  .inline-gallery img{
    width:100%;
    height:auto;
    display:block;
    border-radius:0;
    background:#fff;
  }

  .inline-gallery figcaption{
    padding:10px 0 0;
    color:var(--muted);
    font-size:13px;
    font-weight:800;
  }
}


/* ---------- V20 Grogu project gallery + mobile hero tune ---------- */

/* On mobile, remove the large superhero hero background for a cleaner/shorter homepage. */
@media (max-width:760px){
  .hero-art{
    display:none !important;
  }

  .hero{
    padding-bottom:34px !important;
  }
}

/* Slightly emphasize project credit/meta lines in modal + inline mobile project view. */
.modal-eyebrow::after{
  content:"";
}

.inline-meta span,
.modal-description + .modal-actions{
  position:relative;
}

/* Keep gallery images clean and product-photo friendly. */
.modal-gallery img{
  object-fit:contain !important;
  background:#fff !important;
}

@media (max-width:760px){
  .inline-gallery img{
    background:#fff !important;
  }
}


/* ---------- V21 Batman project ---------- */
.work-card[data-project="batman"] img{
  object-fit:contain !important;
  padding:10px;
  background:#fff;
}

.modal-hero img[src*="mattel.net"],
.inline-gallery img[src*="mattel.net"],
.modal-gallery img[src*="mattel.net"]{
  object-fit:contain !important;
  background:#fff !important;
}


/* ---------- V22 modal fix + cleaner coming soon art ---------- */

/* Coming Soon SVGs are now just abstract swoosh art, so keep card labels as the only text. */
.work-card.soon img{
  object-fit:cover !important;
  padding:0 !important;
  background:#fff !important;
}

/* Make clickable cards obviously interactive again. */
.project-card{
  cursor:pointer;
}

.project-card:hover{
  transform:translateY(-3px);
}

/* External product images can be tall; keep them contained. */
.work-card[data-project="batman"] img{
  object-fit:contain !important;
  padding:10px;
  background:#fff;
}

.modal-hero img[src*="mattel.net"],
.inline-gallery img[src*="mattel.net"],
.modal-gallery img[src*="mattel.net"]{
  object-fit:contain !important;
  background:#fff !important;
}


/* ---------- V23 clean Coming Soon cards + favicon ---------- */
.work-card.soon img{
  object-fit:cover !important;
  padding:0 !important;
  background:#fff !important;
}

/* The Coming Soon art is now intentionally quiet; keep the bottom text as the focus. */
.work-card.soon{
  opacity:.96 !important;
}


/* ---------- V24 copy refinements + local Batman image ---------- */
.work-card[data-project="batman"] img{
  object-fit:contain !important;
  padding:0 !important;
  background:#fff !important;
}

.modal-hero img[src*="batman-primary"],
.inline-gallery img[src*="batman-primary"],
.modal-gallery img[src*="batman-primary"]{
  object-fit:contain !important;
  background:#fff !important;
}
