/* =====================================================================
   Hashtag Orange — shared global layer (loaded last on every page)
   Typography, reveal timing, image holders and responsive safety nets.
   Page-specific design stays in each page; this file only standardises.
   ===================================================================== */

/* ---------- 1. Plus Jakarta Sans, self-hosted (no render-blocking Google Fonts request) ---------- */
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:200 800;font-display:swap;
  src:url(/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:200 800;font-display:swap;
  src:url(/assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  --ho-font:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --ho-ease:cubic-bezier(.22,.8,.2,1);
  --ho-dur:.7s;          /* opacity */
  --ho-dur-move:.85s;    /* transform */
  --ho-dist:28px;        /* reveal distance */
  --ho-lh-body:1.65;
  --ho-lh-head:1.15;
}

/* ---------- 2. Typography ---------- */
html,body{font-family:var(--ho-font)}
body :where(h1,h2,h3,h4,h5,h6,p,li,a,button,input,textarea,select,label,blockquote,figcaption,td,th,span,small,strong,b,em){font-family:var(--ho-font)}
.fa,.fas,.far,.fab,.fa-solid,.fa-regular,.fa-brands,[class^="fa-"],[class*=" fa-"]{font-family:var(--fa-style-family,"Font Awesome 6 Free")}
.fa-brands,.fab{font-family:"Font Awesome 6 Brands"}
:where(main) :where(h1,h2,h3,h4){line-height:var(--ho-lh-head);text-wrap:balance}
:where(main) :where(p,li){line-height:var(--ho-lh-body);text-wrap:pretty}
/* never let body copy drop below a readable size on phones */
@media (max-width:600px){
  :where(main) :where(p,li){font-size:max(15px,1em)}
}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}

/* ---------- 3. Reveal standard (SEO subpages = reference) ---------- */
.rv2{transform:translateY(var(--ho-dist))}
html.ho-safe .rv2:not(.in){opacity:1!important;transform:none!important}  /* fail-safe if a page's observer never runs */
.pt.rv2{transform:translateY(calc(var(--ho-dist) * 2))}
/* while the heading intro is running, items that were already triggered wait (hidden) and then animate in */
html.intro main .rv2.in:not(#hero .rv2){opacity:0!important;transform:translateY(var(--ho-dist))!important;transition:none!important}

/* Heading first, then its paragraph — section heads (Performance overview, Paid Media, Video Production, Blog, Newsletter) */
.ho-seq .work-head > .rv2:not(h1):not(h2):not(h3){transition-delay:.12s!important}
.ho-seq .work-head > .rv2:not(h1):not(h2):not(h3).in{transition:opacity var(--ho-dur) ease .18s,transform var(--ho-dur-move) var(--ho-ease) .18s!important}
.ho-seq .work-head > :is(h1,h2,h3).rv2.in{transition:opacity var(--ho-dur) ease 0s,transform var(--ho-dur-move) var(--ho-ease) 0s!important}
/* ...except where heading + paragraph must land together (Case Studies) */
.ho-seq .ho-together .work-head > .rv2.in{transition:opacity var(--ho-dur) ease 0s,transform var(--ho-dur-move) var(--ho-ease) 0s!important}

@media (prefers-reduced-motion:reduce){
  .rv2,.rv2.in{transition:none!important;transform:none!important;opacity:1!important}
}

/* ---------- 4. Images and image holders ---------- */
img,video{max-width:100%}
img{height:auto}
:where(.card-media,.loc-media,.st-media,.px-media,.shot-img,.wy-img,.ct-photo,.cs-top) img{object-fit:cover}
:where(.card.is-logo .card-media,.st-media.logo,.cs-top) img{object-fit:contain}
/* decorative letters/names painted inside empty holders are not shown any more — images fill them */
.card-name,[class*="letter-bg"],[class*="bg-letter"],[class*="image-letter"],[class*="visual-letter"],[class*="media-letter"],[class*="watermark-letter"],[data-letter],[data-bg-letter]{display:none!important}
.card.noimg.is-logo .card-media{display:grid;place-items:center}
.ho-fallback-logo{position:absolute;inset:0;display:grid;place-items:center;padding:10%;text-align:center;font-weight:500;font-size:clamp(1.1rem,2vw,1.6rem);color:inherit}

/* ---------- 5. Responsive safety nets ---------- */
html,body{max-width:100%;overflow-x:clip}
@supports not (overflow:clip){html,body{overflow-x:hidden}}
main,section{min-width:0}
:where(main) :where(table){display:block;max-width:100%;overflow-x:auto}
:where(main) :where(pre,code){white-space:pre-wrap;word-break:break-word}
:where(main) :where(h1,h2,h3){overflow-wrap:break-word}
iframe{max-width:100%}
/* comfortable tap targets for small inline links and buttons */
@media (pointer:coarse){
  :where(main,footer) :where(button,.cl-btn,.svc-go,.st-link,.loc-go){min-height:44px}
}

/* ---------- 6. Menu (navbar.html) ---------- */
.group.ho-main{border-top-color:#e8e2db}
.group a.ho-strong{font-weight:500!important}

/* ---------- 7. About: key locations ---------- */
#locGrid.loc-grid{grid-template-columns:repeat(2,minmax(0,460px));justify-content:center;
  max-width:1080px;margin-inline:auto;padding-inline:clamp(16px,4vw,56px)}
@media (max-width:900px) and (min-width:641px){#locGrid.loc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
#locGrid .loc-media{position:relative;overflow:hidden;padding:0;background:#f6e4d6}
#locGrid .loc-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ho-ease)}
#locGrid .loc:hover .loc-media img{transform:scale(1.04)}
@media (max-width:640px){
  #locGrid.loc-grid{grid-template-columns:minmax(0,1fr);max-width:520px;padding-inline:0}
}

/* ---------- 8. SEO overview: larger logos in Success Stories ---------- */
#stGrid .ss-logo{height:clamp(76px,7vw,100px)!important;max-width:min(270px,100%)!important}
#stGrid .ss-name{height:clamp(76px,7vw,100px)}
/* "Empowering growth across industries": larger client logos, with room reserved so they never cover the text */
#industries .ind-logo{height:clamp(60px,5vw,80px)!important;max-width:min(220px,70%)!important}
#industries .svc.ind{padding-bottom:calc(clamp(60px,5vw,80px) + clamp(30px,3vw,44px))!important}

/* ---------- 9. SEO subpages: paragraph after "Our Process" spans the full width ---------- */
.ho-full-copy{max-width:none!important;width:100%!important;text-align:left!important;margin-left:0!important;margin-right:0!important;grid-column:1/-1}
.ho-full-copy p{max-width:none!important;text-align:left!important}
.ho-full-copy br{display:none}
