/* =========================================================
   DHANDANG STUDIO / FINAL LAUNCH POLISH
   Small, reversible enhancements loaded after the base + hero CSS.
   ========================================================= */

/* Hero actions */
.hero-actions{display:flex;align-items:center;gap:18px;margin-top:30px;flex-wrap:wrap}
.hero-actions .hero-cta{margin-top:0}
.button-ghost{background:rgba(255,250,242,.12);color:var(--ink);border-color:var(--ink);box-shadow:4px 4px 0 rgba(37,35,33,.24);backdrop-filter:blur(4px)}
.button-ghost:hover{background:rgba(255,250,242,.34);box-shadow:6px 6px 0 rgba(37,35,33,.26)}

/* Keep the cinematic controls present, but quieter than the artwork. */
.showcase-bar{background:rgba(26,24,22,.54);border-color:rgba(255,255,255,.13);box-shadow:0 10px 32px rgba(18,15,12,.11)}
.showcase-controls button{width:36px;height:36px;background:rgba(24,22,20,.52);border-color:rgba(255,255,255,.20)}
.showcase-dots i{height:2px;background:rgba(255,255,255,.27)}

/* Selected work now explains what the studio actually contributed. */
.work-section .section-head>p:last-child{max-width:690px}
.work-grid-context .work-meta{display:block;padding:20px 22px 23px}
.work-grid-context .work-meta-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px}
.work-grid-context .work-meta-head span{max-width:48%;font-family:var(--pixel);font-size:7px;line-height:1.7;color:#9b5a42;letter-spacing:.25px}
.work-grid-context .work-meta-head h3{margin:0;text-align:right;line-height:1.2;font-size:21px}
.work-grid-context .work-meta>p{margin-top:14px;padding-top:14px;border-top:1px solid #e5dacb;color:#6f6053;font-size:13.5px;line-height:1.62;font-weight:700;max-width:620px}

/* Why Dhandang: proof through process instead of marketing-heavy copy. */
.why-section{position:relative;background:#fffaf2;border-top:1px solid #e2d5c3;padding:clamp(78px,7vw,112px) var(--gutter) clamp(84px,7vw,118px)}
.why-section .section-index{display:block;width:min(var(--content),100%);margin:0 auto 18px}
.why-head>p:last-child{max-width:700px}
.why-grid{width:min(var(--content),100%);margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);border:2px solid var(--ink);background:var(--ink);gap:2px;box-shadow:8px 9px 0 rgba(68,42,17,.12)}
.why-grid article{min-width:0;background:#fffaf2;padding:28px 24px 30px;min-height:250px}
.why-grid article>span{display:inline-flex;align-items:center;justify-content:center;width:42px;height:28px;background:var(--orange);border:2px solid var(--ink);font-family:var(--pixel);font-size:7px;box-shadow:3px 3px 0 var(--red)}
.why-grid h3{font-size:19px;line-height:1.25;margin:34px 0 10px;color:var(--ink)}
.why-grid p{font-size:13.5px;line-height:1.68;font-weight:700;color:#746354}

/* The process section should explain what happens after a client starts. */
.process-section .process-head>p:last-child{color:#bdb5ae;max-width:720px}
.process-grid-v5 article{min-height:250px}
.process-grid-v5 p{max-width:260px;line-height:1.65}

/* Final CTA gets one sentence of useful context back. */
.final-cta .cta-support{display:block!important;font-size:16px!important;line-height:1.65!important;font-weight:800!important;color:#5b4028!important;max-width:650px!important;margin:0 auto 28px!important}

/* Footer completion */
.footer-links{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.site-footer a{color:#c9c0b7;text-decoration:none}
.site-footer a:hover{color:var(--orange);text-decoration:underline;text-underline-offset:3px}

/* Privacy page */
.legal-page{min-height:100vh;background:#fffaf2;color:var(--ink)}
.legal-page .site-header{position:relative}
.legal-shell{width:min(900px,calc(100% - 48px));margin:0 auto;padding:clamp(64px,8vw,110px) 0 clamp(80px,9vw,130px)}
.legal-kicker{font-family:var(--pixel);font-size:8px;line-height:1.7;color:var(--red);margin-bottom:18px}
.legal-shell h1{font-family:var(--pixel);font-size:clamp(28px,4.2vw,52px);line-height:1.35;max-width:760px}
.legal-updated{margin:18px 0 42px;color:#877466;font-size:13px;font-weight:800}
.legal-intro{font-size:17px;line-height:1.75;font-weight:800;color:#5f5146;max-width:760px;margin-bottom:48px}
.legal-content{display:grid;gap:34px}
.legal-content section{padding-top:28px;border-top:1px solid #dfd2c0}
.legal-content h2{font-size:21px;margin-bottom:12px}
.legal-content p,.legal-content li{font-size:14.5px;line-height:1.78;font-weight:700;color:#67584c}
.legal-content ul{padding-left:22px;margin-top:10px;display:grid;gap:7px}
.legal-contact{padding:22px!important;border:2px solid var(--ink)!important;background:#f5a313;box-shadow:5px 5px 0 var(--ink)}
.legal-contact p{color:#4d3927}

@media(max-width:1040px){
  .why-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:720px){
  .hero-actions{gap:13px;margin-top:25px}
  .hero-actions .button{width:100%}
  .work-grid-context .work-meta-head{display:block}
  .work-grid-context .work-meta-head span{display:block;max-width:none;margin-bottom:8px}
  .work-grid-context .work-meta-head h3{text-align:left;font-size:18px}
  .work-grid-context .work-meta>p{font-size:13px}
  .why-section{padding:64px 18px 70px}
  .why-grid{grid-template-columns:1fr;box-shadow:5px 6px 0 rgba(68,42,17,.11)}
  .why-grid article{min-height:0;padding:24px 20px 26px}
  .why-grid h3{margin-top:25px}
  .process-grid-v5 article{min-height:0}
  .footer-links{justify-content:flex-start}
  .legal-shell{width:calc(100% - 36px);padding-top:54px}
  .legal-shell h1{font-size:clamp(25px,8.5vw,36px)}
}

/* Process polish: numbers stand on their own without the decorative marker below. */
.process-grid-v5 article::before{
  content:none!important;
  display:none!important;
}

.process-grid-v5 h3{
  margin-top:16px;
}

/* Responsive navigation + hero CTA cleanup.
   Keep tablet/mobile navigation consistent and prevent oversized stacked hero buttons. */
@media(max-width:1120px){
  /* Once the hamburger appears, avoid showing a duplicate header CTA beside it. */
  .header-actions .button-small{
    display:none!important;
  }
}

/* Phones: keep the two main hero actions compact and balanced. */
@media(max-width:720px){
  .hero-actions{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr);
    gap:10px;
    margin-top:24px;
  }

  .hero-actions .button{
    width:100%!important;
    min-width:0;
    min-height:46px;
    padding:12px 10px;
    box-shadow:4px 4px 0 var(--ink);
  }

  .hero-actions .button:hover{
    box-shadow:5px 5px 0 var(--ink);
  }
}

/* Very narrow phones need the extra breathing room of a vertical stack. */
@media(max-width:360px){
  .hero-actions{
    grid-template-columns:1fr;
  }
}

/* Mobile CTA density polish */
@media(max-width:720px){
  .hero-actions{
    margin-top:20px;
    gap:9px;
    grid-template-columns:minmax(0,1.28fr) minmax(0,.72fr);
  }

  .hero-actions .button{
    min-height:43px;
    padding:10px 9px;
    font-size:7px;
  }

  .hero-actions .button-ghost{
    background:rgba(255,250,242,.20);
    box-shadow:3px 3px 0 rgba(37,35,33,.30);
  }
}

@media(max-width:360px){
  .hero-actions{
    grid-template-columns:1fr;
  }
}

/* Final CTA mascot ratio fix.
   The HTML image has width/height attributes while the stylesheet changed
   only the width, so the browser could render it at a non-square ratio. */
.final-cta img{
  display:block;
  width:92px;
  height:auto!important;
  aspect-ratio:1 / 1;
  object-fit:contain;
}

@media(max-width:720px){
  .final-cta img{
    width:82px;
    height:auto!important;
  }
}

/* Mobile header brand wordmark fix.
   The base responsive stylesheet hides `.brand > span` on narrow screens,
   leaving only the mascot. Keep the DHANDANG STUDIO wordmark visible. */
@media(max-width:720px){
  .site-header .brand > span,
  header .brand > span{
    display:inline-flex!important;
    flex-direction:column;
    justify-content:center;
    min-width:0;
  }

  .site-header .brand,
  header .brand{
    gap:9px;
  }

  .site-header .brand > span,
  header .brand > span{
    font-size:8px;
    line-height:1.15;
  }

  .site-header .brand > span small,
  header .brand > span small{
    margin-top:2px;
    font-size:5.5px;
    line-height:1;
  }
}

@media(max-width:360px){
  .site-header .brand,
  header .brand{
    gap:7px;
  }

  .site-header .brand > span,
  header .brand > span{
    font-size:7px;
  }

  .site-header .brand > span small,
  header .brand > span small{
    font-size:5px;
  }
}
