/* The published homepage uses the editorial content at tablet and phone widths. */
body.index-responsive .editorial-sidenote,
body.index-responsive .editorial-location { align-self:flex-end; }
body.index-responsive .editorial-location { margin:0 0 clamp(4px,.8vw,10px); padding-left:9px; }
body.index-responsive .editorial-role { column-gap:clamp(10px,1.2vw,16px); }
body.index-responsive .editorial-sidenote { left:0; margin:0 0 clamp(4px,.8vw,10px); }

@media (max-width:1100px) {
  html, body.index-responsive { overflow-x:clip; }
  body.index-responsive .paper-section { overflow:visible; background:#fff url("assets/paper-texture-2x.jpg") center top / 100% auto repeat-y; }
  body.index-responsive .paper-section::before { display:none; }

  body.index-responsive .hero-v2-stage { height:auto; }
  body.index-responsive .hero-v2 { position:relative; width:100%; max-width:none; height:auto; margin:0; padding:0 0 clamp(48px,7vw,80px); overflow:visible; }
  body.index-responsive .hero-v2 .hero-nav { position:relative; left:auto; width:calc(100% - 48px); max-width:900px; margin:0 auto; padding:18px 0; transform:none; }
  body.index-responsive .hero-v2 .hero-brand { flex:none; }
  body.index-responsive .hero-v2 .hero-bento,
  body.index-responsive .editorial-travel-photo { display:none; }

  body.index-responsive .editorial-prelude { position:relative; inset:auto; display:flex; justify-content:center; align-items:center; width:100%; max-width:none; min-height:0; height:auto; margin:0; padding:clamp(22px,5vw,46px) 24px 18px; }
  body.index-responsive .editorial-prelude-photo { width:clamp(155px,24vw,250px); height:clamp(205px,32vw,330px); transform:none; border-radius:18px; background:url("assets/editorial-opening-portrait.jpg") center 43% / cover no-repeat; }
  body.index-responsive .editorial-intro { position:relative; z-index:1; display:flex; flex-direction:column; gap:clamp(3px,.7vw,9px); top:auto; left:auto; right:auto; width:fit-content; max-width:calc(100% - 48px); margin:0 auto; font-family:"Figtree",sans-serif; font-weight:700; line-height:1.06; letter-spacing:-.06em; transform:none; container-type:normal; }
  body.index-responsive .editorial-row { display:flex; flex-wrap:wrap; align-items:center; gap:0 .18em; min-height:0; width:100%; margin:0; color:#050706; font-size:clamp(38px,6.3vw,68px); font-weight:700; line-height:1.06; letter-spacing:-.06em; white-space:normal; transform:none!important; }
  body.index-responsive .editorial-name { color:#002d29; }
  body.index-responsive .editorial-name { margin-left:5%; }
  body.index-responsive .editorial-name .editorial-portrait { display:none; }
  body.index-responsive .editorial-sidenote { position:static; align-self:flex-end; width:auto; margin:0 0 clamp(4px,.8vw,10px); font:500 clamp(12px,1.5vw,16px)/1.25 "SFMono-Regular",Consolas,monospace; letter-spacing:0; text-align:left; }
  body.index-responsive .editorial-company { column-gap:.095em; }
  body.index-responsive .editorial-company { margin-left:8%; }
  body.index-responsive .editorial-location { align-self:flex-end; margin:0 0 clamp(4px,.8vw,10px); padding-left:clamp(4px,.54vw,6px); font:500 clamp(10px,1.3vw,14px)/1.25 "SFMono-Regular",Consolas,monospace; letter-spacing:.04em; text-transform:uppercase; }
  body.index-responsive .editorial-logo { width:.8em; height:.8em; }
  body.index-responsive .editorial-phone { width:.8em; height:.8em; font-size:.72em; }
  body.index-responsive .editorial-ai { margin-left:5%; }
  body.index-responsive .editorial-consumer { margin-left:9%; }
  body.index-responsive .editorial-consumer { top:auto; }
  body.index-responsive .editorial-word > span,
  body.index-responsive .editorial-artifact { opacity:1!important; animation:none!important; }

  body.index-responsive .v2-projects-window { overflow:visible; background:transparent; }
  body.index-responsive .v2-projects-window > .paper-artboard { display:none; }
  body.index-responsive .editorial-pinned-projects { display:block; width:100%; height:auto; background:transparent; }
  body.index-responsive .editorial-pinned-stage { position:relative; display:flex; flex-direction:column; gap:clamp(24px,4vw,48px); width:min(calc(100% - 48px),900px); height:auto; margin:0 auto; overflow:visible; background:transparent; }
  body.index-responsive .pinned-project-panel { position:relative; left:auto; top:auto; display:flex; flex-direction:column; align-items:stretch; gap:clamp(16px,3vw,28px); width:100%; height:auto; min-width:0; margin:0; padding:clamp(20px,4vw,42px); opacity:1!important; filter:none!important; transform:none!important; pointer-events:auto; border-radius:24px; isolation:isolate; }
  body.index-responsive .pinned-project-visual,
  body.index-responsive .pinned-meta-visuals { flex:none; width:100%; min-width:0; min-height:0; height:auto; }
  body.index-responsive .pinned-project-visual { position:relative; }
  body.index-responsive .pinned-project-copy { position:relative; z-index:2; display:flex; flex-direction:column; align-items:flex-start; width:100%; min-width:0; padding:0; color:#002d29; }
  body.index-responsive .pinned-project-copy h2 { margin:0; font:800 clamp(38px,6.1vw,64px)/.98 "Figtree",sans-serif; letter-spacing:-.055em; text-wrap:balance; }
  body.index-responsive .pinned-project-copy p { width:100%; max-width:none; margin:16px 0 0; color:#4d6965; font:400 clamp(16px,2.2vw,20px)/1.42 "Figtree",sans-serif; }
  body.index-responsive .pinned-project-copy a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; margin-top:22px; padding:12px 18px; border-radius:7px; background:#002d29; color:#fff; font:600 13px/1.2 "Figtree",sans-serif; letter-spacing:.06em; text-transform:uppercase; }

  body.index-responsive .pinned-project-tiktok { background:#071011; }
  body.index-responsive .pinned-project-tiktok::before,
  body.index-responsive .pinned-project-tiktok::after { display:none; }
  body.index-responsive .pinned-tiktok-trails { display:none; }
  body.index-responsive .pinned-tiktok-visual { aspect-ratio:1; max-width:620px; margin:0 auto; transform:none!important; }
  body.index-responsive .pinned-tiktok-visual .pinned-media-fill { position:absolute; inset:0; background-position:center; background-size:contain; background-repeat:no-repeat; }
  body.index-responsive .pinned-tiktok-mark { position:absolute; top:35%; right:10%; width:13%; aspect-ratio:1; background-position:center; background-size:contain; background-repeat:no-repeat; }
  body.index-responsive .pinned-project-tiktok .pinned-project-copy,
  body.index-responsive .pinned-project-tiktok .pinned-project-copy h2 { color:#f7f7f5; }
  body.index-responsive .pinned-project-tiktok .pinned-project-copy p { color:#dce7e6; }
  body.index-responsive .pinned-project-tiktok .pinned-project-copy a { background:#fff; color:#050707; }

  body.index-responsive .pinned-project-facebook { background:#f9f7f4; }
  body.index-responsive .pinned-project-facebook .pinned-project-copy { order:2; }
  body.index-responsive .pinned-facebook-visual { order:1; height:clamp(420px,70vw,650px); overflow:hidden; }
  body.index-responsive .pinned-facebook-visual .pinned-media-fill { position:absolute; z-index:2; left:50%; top:50%; width:auto; height:90%; max-width:none; object-fit:contain; clip-path:inset(1% round 13% / 7%); transform:translate(-50%,-50%); }
  body.index-responsive .facebook-float { position:absolute; z-index:1; display:block; aspect-ratio:1; background-repeat:no-repeat; }
  body.index-responsive .facebook-avatar { border-radius:50%; }
  body.index-responsive .facebook-avatar-couple { top:38%; left:7%; width:22%; background-image:url("assets/facebook-profile-people-reference.png"); background-size:738.46% auto; background-position:27.93% 6.36%; }
  body.index-responsive .facebook-avatar-top { top:5%; right:8%; width:20%; background-image:url("assets/facebook-profile-layout-reference.png"); background-size:853.06% auto; background-position:93.16% 9.4%; }
  body.index-responsive .facebook-avatar-right { right:5%; bottom:14%; width:18%; background-image:url("assets/facebook-profile-layout-reference.png"); background-size:995.24% auto; background-position:93.68% 72.32%; }
  body.index-responsive .facebook-symbol { top:9%; left:21%; width:12%; background-image:url("assets/facebook-profile-people-reference.png"); background-size:1352.11% auto; background-position:50% 35.61%; }
  body.index-responsive .facebook-heart { bottom:16%; left:14%; width:clamp(38px,5vw,60px); background-image:url("assets/facebook-profile-people-reference.png"); background-size:2181.82% auto; background-position:37.3% 85.6%; }
  body.index-responsive .pinned-project-facebook .pinned-project-copy h2 { color:#0866ff; }

  body.index-responsive .pinned-project-meta { background:linear-gradient(145deg,#f0f1ff,#f9fcff 58%,#e8faf5); }
  body.index-responsive .pinned-meta-visuals { display:grid; grid-template-columns:1fr .85fr; align-items:center; gap:clamp(8px,2vw,24px); max-width:680px; min-height:0; aspect-ratio:1.35; margin:0 auto; }
  body.index-responsive .pinned-meta-card { position:relative; width:100%; height:100%; min-width:0; background:transparent; transform:none!important; }
  body.index-responsive .pinned-meta-card > div { position:absolute; inset:0; background-position:center; background-size:contain; background-repeat:no-repeat; }
  body.index-responsive .pinned-meta-card-secondary { height:100%; align-self:center; transform:translateY(2%)!important; }
  body.index-responsive .pinned-meta-card-secondary > div { inset:auto; top:50%; left:50%; width:72%; height:auto; aspect-ratio:600/1299; overflow:hidden; border:clamp(3px,.5vw,5px) solid #17191b; border-radius:clamp(18px,2.6vw,32px); background-color:#fff; background-position:center top; background-size:cover; transform:translate(-50%,-50%); }
  body.index-responsive .pinned-meta-card-secondary > div::before { content:""; position:absolute; z-index:2; top:4px; left:50%; width:30%; height:6px; border-radius:99px; background:#0c0e0f; transform:translateX(-50%); }

  body.index-responsive .pinned-project-partner { border:1px solid rgba(0,45,41,.16); background:#f5f4f1 url("assets/paper-texture-2x.jpg") center / cover no-repeat; }
  body.index-responsive .pinned-partner-visual { max-width:680px; aspect-ratio:4/3; margin:0 auto; overflow:hidden; border-radius:16px; background:#edf3f6; }
  body.index-responsive .pinned-partner-visual .pinned-media-fill { position:absolute; inset:0; border-radius:inherit; background-position:center; background-size:contain; background-repeat:no-repeat; }
  body.index-responsive .portfolio-footer { background:#fff url("assets/paper-texture-2x.jpg") center / cover no-repeat; }
  body.index-responsive .portfolio-footer::before { display:none; }
}

/* At laptop half-window widths, match the TikTok artwork to the Facebook phone height. */
@media (min-width:601px) and (max-width:1100px) {
  body.index-responsive .pinned-project-copy {
    box-sizing:border-box;
    padding-left:16px;
  }
  body.index-responsive .pinned-tiktok-visual {
    width:min(100%,clamp(378px,63vw,585px));
  }
}

@media (max-width:600px) {
  body.index-responsive .hero-v2 .hero-nav { width:calc(100% - 32px); gap:6px; padding:10px 0; }
  body.index-responsive .hero-v2 .hero-brand { gap:6px; font-size:9px; }
  body.index-responsive .hero-v2 .hero-mark { width:20px; height:20px; }
  body.index-responsive .hero-v2 .hero-nav-links { gap:7px; font-size:9px; }
  body.index-responsive .editorial-prelude { padding:26px 16px 20px; }
  body.index-responsive .editorial-prelude-photo { width:clamp(155px,48vw,220px); height:clamp(205px,62vw,290px); }
  body.index-responsive .editorial-intro { max-width:calc(100% - 32px); gap:8px; }
  body.index-responsive .editorial-row { font-size:clamp(30px,8.5vw,48px); gap:0 .13em; }
  body.index-responsive .editorial-sidenote { font-size:12px; }
  body.index-responsive .editorial-location { font-size:9px; }
  body.index-responsive .editorial-location { padding-left:2px; }
  body.index-responsive .editorial-company { gap:0 .08em; }
  body.index-responsive .editorial-consumer { margin-top:-3px; }
  body.index-responsive .editorial-pinned-stage { width:calc(100% - 24px); gap:18px; }
  body.index-responsive .pinned-project-panel { gap:14px; padding:18px; border-radius:18px; }
  body.index-responsive .pinned-project-copy h2 { font-size:clamp(34px,10vw,48px); }
  body.index-responsive .pinned-project-copy p { font-size:16px; }
  body.index-responsive .pinned-facebook-visual { height:clamp(330px,105vw,520px); }
  body.index-responsive .pinned-facebook-visual .pinned-media-fill { height:88%; }
  body.index-responsive .pinned-meta-visuals { aspect-ratio:1.08; }
  body.index-responsive .pinned-meta-card-secondary > div { width:82%; }
}

@media (hover:hover) {
  body.index-responsive .pinned-project-copy a { transition:background-color 180ms ease,color 180ms ease,opacity 180ms ease; }
  body.index-responsive .pinned-project-copy a:hover { background:#0d6e62; color:#fff; opacity:1; }
  body.index-responsive .pinned-project-tiktok .pinned-project-copy a:hover { background:#002d29; color:#fff; }
}
