/* Blog post base */
  :root{--bg:#8c8d93;--bg-2:#7f8086;--ink:#0b0b0e;--muted:#26262c;--line:rgba(0,0,0,.24);--panel:rgba(0,0,0,.06);--panel-strong:rgba(0,0,0,.1);--black:#0b0b0e;--white:#ffffff;
    --font-display:"Archivo", system-ui, sans-serif;
    --font-ui:"Archivo", system-ui, sans-serif;} 
  h1,h2,h3,.hero h1{font-family:var(--font-display) !important;font-weight:800 !important;letter-spacing:-.015em !important;}
  /* Hero title = "BUILT DIFFERENT." poster look: uppercase, massive, heavy Archivo */
  .hero h1{text-transform:uppercase;font-size:clamp(40px,6.6vw,92px);line-height:.92;letter-spacing:-.02em;font-weight:900;}
  /* short viewports (laptops): shrink hero so title+subhead+buttons+pills all fit in one screen */
  @media (min-width:901px) and (max-height:760px){
    .hero h1{font-size:min(6.6vw, 10.4vh);}
    .hero-cta{margin-top:20px !important;}
  }
  /* portrait removed → hero text spans full width */ /* LIGHT theme: light overlay tirando a blanco + dark titles */
  
  /* Phoenix on the LIGHT theme = NORMAL blend (keeps full warm detail), lifted by a CREAM gradient overlay. Gradient is heavier-left (protects text) → lighter-right (warm phoenix shows). */
  /* uniform white-gray light overlay ~25% over the phoenix — softens it evenly, no seam, keeps text readable */
  h1,h2,h3,.hero h1{color:#16161b;}
  /* FORCE the hero title to SOLID BLACK. Covers every possible cause: fill, gradient clip, opacity fade, blend. */
  .hero h1, .hero h1 span{
    color:#16161b;
    -webkit-text-fill-color:#16161b;
    opacity:1;
    background:none;
    -webkit-background-clip:border-box;
    background-clip:border-box;
    mix-blend-mode:normal;
    filter:none;
    text-shadow:none;
  }
  p,li{color:rgba(18,18,22,.82) !important;}
  .topbar{background:rgba(11,11,14,.94) !important;border-color:rgba(255,255,255,.12) !important;box-shadow:0 20px 60px rgba(0,0,0,.28) !important;}
  /* ===== Mobile/tablet hamburger menu ===== */
  @media (max-width: 820px){
    /* hamburger centered in the middle of the nav bar */
  }
  .work-card{background:rgba(255,255,255,.62) !important;border-color:rgba(0,0,0,.12) !important;}
  .work-card p{color:rgba(0,0,0,.82) !important;}
  .hero-btn{background:#16161b !important;color:#f2f3f5 !important;}
  .case{background:linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,.28));color:#16161b;}
  .work-card{min-height:auto !important;align-content:start !important;gap:16px !important;}
  .work-card h3{margin-top:16px !important;}
  /* section titles UPPERCASE to match the hero */
  h2{text-transform:uppercase;letter-spacing:-.012em !important;line-height:.98 !important;}
  /* Dagmar case: name = title, "needed trust..." = subheader below it */
  /* Dagmar case figure: HERO-IMAGE STYLE mirrored left.
     Desktop: figure LEFT, feet on the section bottom edge, ZERO gap between figure and text.
     Mobile: like the hero — figure anchored bottom-left, text layered over her ("behind a little" OK'd). */
  @media (min-width:740px){
    /* Whole case section fits ONE desktop screen + figure aligned EXACTLY to the text block top & bottom */
    .case{position:relative;overflow:hidden;min-height:100svh;height:auto;padding:44px 0 36px;display:block;}
    /* Image + text centered as ONE composition: in-flow flex — no absolute positioning, no containing-block traps.
       Figure taller than the text block (covers it top to bottom), feet on the section bottom edge, big type, one-line title. */
    .case h2{font-size:clamp(34px,4.5vw,64px);white-space:nowrap;}
    /* Column 2: website screenshot, SAME height as the Dagmar figure */
  }
  @media (max-width:739px){
    /* Mobile = SAME as desktop: image left, ALL text right, text may overlap the image.
       .case-visual collapses to 0 height (abs child) so the GSAP reveal never fires — force it visible. */
    .case{position:relative;overflow:hidden;min-height:100svh;padding:20px 0 32px;}
    /* nudged left + narrower (text readable) + raised so her head aligns with the CASE STUDY line (red-line mark) */
    /* Mobile: website screenshot UNDER everything */
  }
  
  @media (orientation:landscape) and (max-height:600px){
    .case{position:relative;overflow:hidden;min-height:100svh;padding:20px 0 0;}
    .case h2{white-space:normal;font-size:clamp(24px,5vw,44px);}
    /* Wide portal shot = full-bleed "desktop preview" band flush with the section bottom (covers the figure's feet = depth) */
  }
  /* TICKER stripe — bold dark band, max contrast (matches the black nav) */
  /* ===== Hero figure on the right ===== */
  .hero{overflow:hidden;}
  /* ROBUST containment: image must NEVER be cut off. Scales to fit within max-height (nav-safe: leaves room so the head clears the nav) AND max-width. Feet at hero bottom. Works portrait/landscape/desktop/tablet — never clips, head never behind nav. */ /* removed — dark bg makes the cream figure pop without a scrim box */ /* near-solid dark — crisp, not washed */
  @media (max-width: 900px){
    .hero h1{font-size:clamp(30px,9vw,72px);line-height:.94;}
    /* tablet/mobile: a bit smaller + shifted RIGHT (may go off-screen) so the phoenix shows behind */
  }
  @media (max-width: 560px){
    .hero h1{font-size:clamp(28px,8.6vw,64px);}
    /* nudged further right (mobile only) so more phoenix shows; 3 steps total */
  }
  /* landscape phones (wide + short): fill the short height, contained by max-width so it never clips */
  /* Landscape phone v3: her Pro Max landscape
     = 932px wide, so the ≤900px rule missed it. In landscape the hero grows TALLER than the viewport (stacked title
     + copy + buttons), so an svh-capped bottom-anchored figure sinks below the fold leaving the right side empty.
     Fix: size the figure to the SECTION — head under the nav, feet at section bottom, filling the marked zone. */
  @media (orientation:landscape) and (max-height:600px){
    /* portrait-proportioned type (the desktop clamp shrank the title at 932px — same ≤900px miss) */
    .hero h1{font-size:clamp(44px,7.5vw,80px);line-height:.94;}
  }
  /* ===== Footer (original site footer, restyled for dark theme) ===== */
  /* NEUTRALIZE the old Codex base rules (footer{...} + footer .shell{display:flex;border-top}) that were breaking the new footer layout */
  /* fade the phoenix cleanly into the solid footer (no abrupt crop) */
/* Blog post base */
/* unify section H2s to the hero's 900 weight (hero h1 untouched — approved composition) */
h2{font-weight:900 !important;}
