/* v2-home — MARK 38 · Angel's homepage design (ref/home-reference.png). Loads last. */
@import url("https://fonts.googleapis.com/css2?family=Kalam:wght@300;400&display=swap");

:root {
  --hm-black: #0b0b0b; --hm-cream: #F4EEE2; --hm-orange: #FC5A02; --hm-yellow: #F7BC0A;
  --hm-card: #FBE3C6; --hm-ink: #1d1a16;
  --hm-pad: max(20px, calc((100vw - 1153px) / 2 + 8px));
  --hm-pad-r: max(20px, calc((100vw - 1153px) / 2 - 8px));
  --hm-hand: "Kalam", "Caveat", cursive;
  --hm-mono: "IBM Plex Mono", "Courier Prime", ui-monospace, monospace;
}

/* =================================================================== LOGO (site-wide) */
.brand-word .brand-arches { width: 1.9em !important; gap: .07em !important; align-items: flex-end !important; overflow: visible; }
.brand-word .brand-arches i { position: relative; flex: none !important; border-radius: 50% 50% 0 0 / 62% 62% 0 0 !important; aspect-ratio: auto !important; }
.brand-word .brand-arches i:nth-child(1) { background: #F11C1F !important; width: .62em !important; height: .40em !important; }
.brand-word .brand-arches i:nth-child(2) { background: #F7BC0A !important; width: .5em !important; height: .52em !important; }
.brand-word .brand-arches i:nth-child(3) { background: #038176 !important; width: .63em !important; height: .68em !important; }
.brand-word .brand-arches i:nth-child(2)::before {
  content: ""; position: absolute; left: 50%; bottom: calc(100% + .07em); width: .62em; height: .34em; transform: translateX(-50%);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 62 34'><g stroke='%23F7BC0A' stroke-width='5' stroke-linecap='round'><line x1='9' y1='12' x2='19' y2='30'/><line x1='31' y1='3' x2='31' y2='28'/><line x1='53' y1='9' x2='43' y2='29'/></g></svg>") center / 100% 100% no-repeat;
}

/* =================================================================== NAV on home (dark) */

body.nav-dark #nav, body.nav-dark #nav.v2nav, body.nav-dark.nav-scrolled #nav.v2nav {
  background: var(--hm-black) !important; background-image: none !important; border-bottom-color: transparent !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important; color: var(--hm-cream);
  height: 82px;
}
body.nav-dark #nav .nav-inner { position: relative; max-width: none; padding-inline: var(--hm-pad) var(--hm-pad-r); }
body.nav-dark #nav .nav-inner::after { content: ""; position: absolute; left: var(--hm-pad); right: var(--hm-pad-r); bottom: 0; height: 1px; background: rgba(244, 238, 226, .62); }
body.nav-dark #nav .brand, body.nav-dark #nav .brand:hover { color: var(--hm-cream); }
body.nav-dark #nav .brand-word { font-size: 23px; }
body.nav-dark #nav .nav-links a { color: var(--hm-cream); opacity: .95; font-size: 15px; font-family: "Instrument Sans", system-ui, sans-serif; font-weight: 500; letter-spacing: -.005em; }
body.nav-dark #nav .nav-links a::after { background: var(--hm-yellow); }
body.nav-dark #nav .nav-burger span, body.nav-dark #nav .nav-burger span::before, body.nav-dark #nav .nav-burger span::after { background: var(--hm-cream); }
body.nav-dark #footer { border-top: 1px solid rgba(244, 238, 226, .12); }

/* =================================================================== PAGE */
.view.route-home { background: var(--hm-black); color: var(--hm-cream); padding: 0; }
.hm { background: var(--hm-black); color: var(--hm-cream); overflow-x: clip; }
.hm a { text-decoration: none; }

/* ---------------------------------------------------------------- HERO (one slide) */
.hh-wrap {
  display: grid; grid-template-columns: minmax(0, 403fr) minmax(0, 750fr); align-items: start;
  padding: 26px var(--hm-pad-r) 16px var(--hm-pad); min-height: calc(100svh - 82px);
}
.hh-text { padding: clamp(35px, calc(6vw - 13px), 73px) 0 0 4px; position: relative; z-index: 2; }
.hh-title { margin: 0; font-family: "Newsreader", Georgia, serif; font-weight: 700; color: var(--hm-cream);
  font-size: clamp(40px, 5vw, 78px); line-height: 1.0; letter-spacing: -.012em; font-variation-settings: "opsz" 60; }
.hh-title > span { display: block; }
.hh-other { position: relative; width: max-content; font-family: var(--hm-hand); font-weight: 300; font-size: 1.2em; line-height: 1.0;
  letter-spacing: -.02em; margin: .02em 0 0 -.03em; transform: skewX(-8deg); transform-origin: left bottom; }
.hh-brush { position: absolute; left: 15%; width: 82%; bottom: -.26em; height: .26em; overflow: visible; transform: skewX(6deg); }
.hh-brush path { fill: none; stroke: var(--hm-yellow); stroke-width: 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hh-q { font-family: var(--hm-mono); font-size: clamp(14px, 1.52vw, 22px); line-height: 1.24; color: var(--hm-cream); margin: clamp(30px, 3.6vw, 52px) 0 0; width: 20.8em; max-width: calc(100vw - 40px); letter-spacing: -.01em; }
.hh-welcome { font-family: var(--hm-mono); font-size: clamp(14px, 1.52vw, 22px); color: var(--hm-cream); margin: clamp(18px, 2.2vw, 30px) 0 0; letter-spacing: -.01em; }
.hh-welcome b { font-family: "Instrument Sans", system-ui, sans-serif; font-weight: 700; font-size: 1.12em; margin-left: .35em; letter-spacing: -.01em; }
.hh-ctas { display: flex; flex-wrap: nowrap; width: max-content; gap: 12px; margin-top: clamp(28px, 3.3vw, 46px); }
.hh-btn { display: inline-flex; align-items: center; gap: .9em; height: clamp(44px, 4vw, 54px); padding: 0 1.25em 0 1.3em; border-radius: 8px;
  background: var(--hm-orange); color: #1a1205 !important; font-family: "Instrument Sans", system-ui, sans-serif; font-weight: 500;
  font-size: clamp(15px, 1.48vw, 20px); letter-spacing: -.01em; white-space: nowrap;
  transition: translate 220ms var(--v2-ease, ease-out), box-shadow 220ms var(--v2-ease, ease-out), background-color 220ms; }
.hh-btn .arr { font-size: 1.15em; transition: translate 220ms var(--v2-ease, ease-out); }
.hh-ghost { background: var(--hm-black); color: var(--hm-cream) !important; box-shadow: inset 0 0 0 1.5px rgba(244, 238, 226, .7);
  font-size: clamp(13px, 1.13vw, 15.5px); padding: 0 1em; gap: .5em; }
@media (hover: hover) and (pointer: fine) {
  .hh-btn:hover { translate: 0 -3px; box-shadow: 0 12px 26px -14px rgba(252, 90, 2, .8); }
  .hh-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--hm-cream), 0 12px 26px -16px rgba(0, 0, 0, .9); }
  .hh-btn:hover .arr { translate: 4px 0; }
}
.hh-btn:focus-visible { outline: 2px solid var(--hm-yellow); outline-offset: 3px; }

/* ---------------------------------------------------------------- COLLAGE
   HULKBUSTER: one fixed-ratio box (750×615 = x475–1225 / y90–705 of Angel's 1280 reference). Pieces are
   absolutely placed in % with transform-origin at their top-left corner, so the pile scales as ONE unit. */
.hh-art { position: relative; z-index: 1; }
.hc { position: relative; width: 100%; aspect-ratio: 750 / 615; container-type: inline-size; }
.hc-paper, .hc-p { position: absolute; display: block; z-index: var(--z); transform-origin: 0 0; transform: rotate(var(--r)) skewX(var(--s)); }
.hc-drift { display: block; width: 100%; height: 100%; animation: hc-drift var(--dur) ease-in-out var(--del) infinite alternate; }
@keyframes hc-drift {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(calc(var(--dx) * .6), calc(var(--dy) * -.5)) rotate(calc(var(--dr) * -.4)); }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--dr)); }
}
.hc.is-off .hc-drift { animation-play-state: paused; }
.hc-paper img { display: block; width: 100%; height: 100%; object-fit: fill; }

.hc-p { color: var(--hm-ink); cursor: pointer; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5));
  transition: transform 260ms var(--v2-ease, ease-out), filter 260ms var(--v2-ease, ease-out); }
.hc-in { display: block; width: 100%; height: 100%;
  -webkit-mask: url("../assets/home/torn-mask-a.svg") 0 0 / 100% 100% no-repeat; mask: url("../assets/home/torn-mask-a.svg") 0 0 / 100% 100% no-repeat; }
.hc-note .hc-in, .hc-cca .hc-in, .hc-quote .hc-in { -webkit-mask-image: url("../assets/home/torn-mask-b.svg"); mask-image: url("../assets/home/torn-mask-b.svg"); }

/* photo with torn cream border; the photo itself stays upright (counter-skewed) inside its window */
.hc-photo { display: block; width: 100%; height: 100%; padding: var(--pad, 6.4% 5.6% 7.6% 6.2%); background: #F6EBDA url("../assets/home/card-cream.webp") 0 0 / 260px; }
.hc-win { display: block; width: 100%; height: 100%; overflow: hidden; background: #161412; }
/* the photo assets are the parts of each print visible in Angel's design: fill the width, pin top (Bisi) / bottom (gallery) */
.hc-photo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% var(--oy, 50%);
  transform-origin: 50% var(--oy, 50%); transform: skewX(calc(var(--s) * -1)) scaleX(var(--ks, 1.03)); }
.hc-bisi { --pad: 6.6% 6.4% 8.4% 6.6%; --oy: 0%; }
.hc-cca { --pad: 5.4% 2.6% 7.2% 6.6%; --ks: 1.02; }
.hc-gallery { --pad: 8% 3.2% 4.8% 5.6%; --ks: 1; --oy: 100%; }
/* Angel's Website Edits (25 Nov): new photos (Bisi Silva / New CCA / Old CCA) are full prints, not design crops —
   fill each window (cover), frame the face/building, and give them the same B&W print treatment as the old ones */
.hc-bisi, .hc-cca, .hc-gallery { --ks: 1.02; }
.hc-photo img { object-fit: cover; object-position: var(--ox, 50%) var(--oy, 50%); filter: grayscale(1) contrast(1.06) brightness(.98); }
.hc-bisi { --oy: 26%; }
.hc-cca { --oy: 62%; }
/* Angel (call, 25 Nov): Old CCA is a PORTRAIT print — window ≈ 495:619, whole photo, tiny uniform zoom only to cover the skew */
.hc-gallery { --pad: 6.2% 5.8% 7.4% 6.4%; --oy: 50%; }
.hc-gallery img { transform: skewX(calc(var(--s) * -1)) scale(1.045); }
.hc-bisi img { filter: grayscale(1) contrast(1.06) brightness(.94); }
.hc-cca img { filter: grayscale(1) contrast(1.14) brightness(.88); } /* bright white façade: tone it down to sit with the other prints */

/* paper cards — text is counter-skewed and set at the angle it has in the reference */
.hc-card { display: block; width: 100%; height: 100%; background: var(--hm-card) url("../assets/home/card-cream.webp") 0 0 / 300px;
  font-family: var(--hm-mono); color: var(--hm-ink); }
.hc-txt { display: flex; flex-direction: column; width: 100%; height: 100%; transform-origin: 0 0; transform: skewX(calc(var(--s) * -1)) rotate(var(--tr, 0deg)); }
.hc-ul { background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'><path d='M1 3.6 C 30 2.4, 60 4.2, 99 2.6' fill='none' stroke='%231d1a16' stroke-width='1.6' stroke-linecap='round' vector-effect='non-scaling-stroke'/></svg>") 0 100% / 100% .3em no-repeat;
  padding-bottom: .16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hc-note { --tr: -3.4deg; }
.hc-note .hc-txt { padding: 9.6% 8% 4% 10.6%; }
.hc-note-k { font-size: 1.42cqw; letter-spacing: .02em; font-weight: 500; }
.hc-note-k b { font-weight: 500; letter-spacing: .04em; }
.hc-note-t { max-width: 25.6ch; margin: 3.4% 0 0 2cqw; font-size: 2.25cqw; line-height: 1.34; font-weight: 500; letter-spacing: 0; }
.hc-quote { --tr: -1.9deg; }
.hc-quote .hc-txt { padding: 9.4% 4% 4% 13.2%; }
.hc-quote-t { max-width: 30.5ch; text-indent: -.8ch; font-size: 1.78cqw; line-height: 1.28; font-weight: 500; letter-spacing: -.01em; }
.hc-quote-by { align-self: flex-end; margin: .4% 7.6% 0 0; font-size: 1.74cqw; font-weight: 500; }
.hc-hand { --tr: 0deg; }
.hc-handcard .hc-txt { padding: 12.8% 3% 3% 18.6%; font-family: var(--hm-hand); font-weight: 400; font-size: 3.8cqw; line-height: 1.27; }
.hc-handcard .hc-txt > span { display: block; width: max-content; white-space: nowrap; transform-origin: 0 70%; transform: rotate(-8deg) skewX(-7deg); }
.hc-handcard .hc-ul { padding-bottom: .1em; background-size: 100% .25em; }

/* hover: a 3px lift + deeper shadow, same angle — the overlaps never open up */
.hc-tip { position: absolute; left: 50%; top: -14px; translate: -50% 4px; z-index: 3; pointer-events: none; opacity: 0;
  background: var(--hm-cream); color: var(--hm-ink); font-family: "Instrument Sans", system-ui, sans-serif; font-size: 12px; font-weight: 600;
  padding: 4px 10px 5px; border-radius: 999px; white-space: nowrap; transform: skewX(calc(var(--s) * -1)) rotate(calc(var(--r) * -1));
  transition: opacity 200ms var(--v2-ease, ease-out), translate 200ms var(--v2-ease, ease-out); }
@media (hover: hover) and (pointer: fine) {
  .hc-p:hover { z-index: 30; transform: translateY(-3px) rotate(var(--r)) skewX(var(--s)); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .6)); }
  .hc-p:hover .hc-tip { opacity: 1; translate: -50% 0; }
}
.hc-p:focus-visible { z-index: 30; transform: translateY(-3px) rotate(var(--r)) skewX(var(--s)); outline: none; filter: drop-shadow(0 0 2px var(--hm-yellow)) drop-shadow(0 10px 14px rgba(0, 0, 0, .6)); }
.hc-p:focus-visible .hc-tip { opacity: 1; translate: -50% 0; }

/* ---------------------------------------------------------------- TRAILER */
.ht { background: var(--hm-black); padding: clamp(56px, 8vw, 120px) var(--hm-pad) clamp(64px, 9vw, 130px); }
.ht-wrap { max-width: 1040px; margin: 0 auto; }
.ht-title { font-family: "Newsreader", Georgia, serif; font-weight: 600; color: var(--hm-cream); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.012em; margin: 0; }
.ht-line { font-family: var(--hm-mono); font-size: clamp(13px, 1.1vw, 15px); color: rgba(244, 238, 226, .75); margin: 14px 0 0; max-width: 68ch; line-height: 1.6; }
.ht-frame { position: relative; margin-top: clamp(24px, 3vw, 36px); aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #151515; display: grid; place-items: center; }
.ht-poster { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.ht-poster img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.42) contrast(1.05); }
.ht-poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.15), rgba(0,0,0,.6)); }
.ht-play { position: relative; z-index: 1; width: clamp(68px, 9vw, 112px); aspect-ratio: 1; border-radius: 50%; background: var(--hm-cream); display: grid; place-items: center;
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .9); transition: transform 220ms var(--v2-ease, ease-out); }
.ht-play i { display: block; width: 0; height: 0; margin-left: 9%; border-style: solid; border-width: .9em 0 .9em 1.5em; border-color: transparent transparent transparent var(--hm-black); font-size: clamp(14px, 1.7vw, 22px); }
a.ht-play:hover { transform: scale(1.05); }
/* MARK 50 — YouTube facade (button) + the player that replaces it; the frame keeps its 16:9 box */
button.ht-play { -webkit-appearance: none; appearance: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ht-frame.is-facade { cursor: pointer; }
.ht-frame.is-facade:hover .ht-play { transform: scale(1.05); }
.ht-play:focus-visible { outline: 3px solid var(--hm-yellow); outline-offset: 4px; }
.ht-frame.is-playing { background: #000; }
.ht-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.ht-cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(14px, 3vw, 32px); text-align: center; font-family: var(--hm-mono); font-size: clamp(12px, 1.1vw, 15px); letter-spacing: .06em; text-transform: uppercase; color: var(--hm-cream); }
.ht-more { margin: 20px 0 0; }
.ht-more a { color: var(--hm-cream); font-family: "Instrument Sans", system-ui, sans-serif; font-weight: 600; font-size: 16px; border-bottom: 1px solid rgba(244, 238, 226, .4); padding-bottom: 2px; }
.ht-more a .arr { display: inline-block; transition: translate 220ms var(--v2-ease, ease-out); }
.ht-more a:hover .arr { translate: 4px 0; }

/* ---------------------------------------------------------------- RESPONSIVE */
@media (max-width: 900px) {
  body.nav-dark #nav, body.nav-dark #nav.v2nav { height: 64px; }
  .hh-wrap { grid-template-columns: 1fr; min-height: 0; padding-bottom: 8px; }
  .hh-text { padding: 36px 0 0; }
  .hh-title { font-size: clamp(40px, 9vw, 66px); }
  .hh-q, .hh-welcome { font-size: clamp(15px, 2.6vw, 20px); }
  .hh-btn { font-size: 16px; }
  .hh-ghost { font-size: 15px; }
  .hh-art { margin-top: 44px; }
  .hh-ctas { flex-wrap: wrap; width: auto; }
}
@media (max-width: 480px) {
  .hh-ctas .hh-btn { flex: 1 1 100%; justify-content: space-between; }
  .hc-tip { font-size: 10px; padding: 3px 8px 4px; top: -10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hc-drift { animation: none; }
  .hc-p, .hc-tip, .hh-btn { transition: none; }
}
