/* =====================================================================
   SECTIONS — mobile-first; larger layouts added with min-width queries
   ===================================================================== */

/* ============================ NAV ============================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo {
  font: 600 .9rem/1 var(--font-mono); letter-spacing: .14em;
  text-decoration: none; color: var(--white);
}
.nav-links { display: flex; gap: clamp(20px, 3vw, 40px); }
.nav-links a {
  font: 500 .8rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--white);
  padding-block: 8px; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover, .nav-links a[aria-current] { color: var(--blue-text); border-bottom-color: var(--blue); }
.nav-toggle { display: none; }

@media (max-width: 699px) {
  .nav-toggle {
    order: 3;
    display: grid; place-items: center; width: 44px; height: 44px;
    background: none; border: 1.5px solid var(--line); border-radius: 50%;
  }
  .bars, .bars::before, .bars::after {
    display: block; width: 16px; height: 2px; background: var(--white); position: relative; transition: transform .2s;
  }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -5px; } .bars::after { top: 5px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }
  .nav-links {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px;
    background: var(--ink); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding-block: 14px; font-size: .95rem; }
}

/* ============================ HERO ============================ */
/* Phone: name → handwritten note (arrow points up at the name) → photo → everything else.
   Tablet: photo sits to the right of the name.
   Desktop: copy on the left, photo on the right, top-aligned with the name. */
.hero { padding-block: clamp(32px, 6vw, 72px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid {
  display: grid; column-gap: 32px;
  grid-template-columns: 1fr;
  grid-template-areas: "eye" "name" "note" "media" "tag" "facts" "actions";
}
.h-eye { grid-area: eye; } .h-name { grid-area: name; } .h-media { grid-area: media; }
.h-note { grid-area: note; } .h-tag { grid-area: tag; } .h-facts { grid-area: facts; }
.h-actions { grid-area: actions; }

.hero .sec-label .line { width: 32px; height: 1.5px; background: var(--blue); }
.hero-name { font-size: clamp(2.9rem, 13.4vw, 5rem); line-height: .88; margin-bottom: 18px; }
.hero-first { display: block; }
.hero-note { display: flex; align-items: flex-end; gap: 4px; margin: -4px 0 22px 18px; }
.hero-note .arrow { width: 60px; height: 46px; margin-bottom: 10px; }
.hero-note .hand { max-width: 22ch; }
.hero-tagline { max-width: 36ch; margin-bottom: 32px; }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  padding-block: 20px; margin-bottom: 28px;
  border-block: 1px solid var(--line);
}
.hero-facts dt { color: var(--fg-muted); font-size: .68rem; margin-bottom: 6px; }
.hero-facts dd { margin: 0; font-weight: 600; font-size: clamp(.85rem, 1.4vw, 1rem); line-height: 1.3; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; }
.socials { display: flex; gap: 10px; margin-left: 4px; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue-text); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.text-link svg { width: 14px; height: 14px; }
.text-link:hover { color: var(--white); }

.hero-media {
  position: relative; background: var(--ink-lift); border-radius: var(--radius);
  padding: clamp(16px, 3vw, 40px); margin-bottom: 28px;
  display: grid; place-items: center; overflow: hidden;
}
.watermark {
  position: absolute; top: -.18em; right: -.04em;
  font: 700 clamp(7rem, 22vw, 15rem)/1 var(--font-display);
  color: rgba(229, 224, 213, .05); pointer-events: none; user-select: none;
}
.portrait { position: relative; width: 100%; max-width: 440px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 600px) and (max-width: 899px) {
  .hero-grid {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "eye eye" "name media" "note media" "tag tag" "facts facts" "actions actions";
    align-items: start;
  }
  .h-media { margin-bottom: 32px; }
  .hero-name { font-size: 6.6vw; }
  .h-media { align-self: start; }
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.08fr .92fr; column-gap: clamp(32px, 5vw, 80px);
    grid-template-rows: auto auto auto auto auto 1fr;
    grid-template-areas: "eye media" "name media" "note media" "tag media" "facts media" "actions media";
  }
  .hero-name { font-size: clamp(4.4rem, 7.4vw, 6.5rem); }  /* capped so the surname + square always fit the column */
  .h-media { align-self: start; margin-bottom: 0; margin-top: 4px; }
}

/* ============================ STATS ============================ */
.stats { border-block: 1px solid var(--line); background: #0B0B0B; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: clamp(28px, 4vw, 48px) 0; display: flex; flex-direction: column-reverse; gap: 10px; }
.stat:nth-child(odd) { padding-right: 16px; }
.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
.stat dd {
  margin: 0;
  font: 700 clamp(3rem, 9vw, 6rem)/.9 var(--font-display);
  font-variation-settings: "opsz" 144;
  color: var(--cream);      /* brief: big numbers in cream */
  letter-spacing: -.02em;
}
.stat .accent { color: var(--blue-display); }
.stat dt { color: var(--fg-muted); }
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(var(--cols, 4), 1fr); }
  .stat { padding-left: 28px; border-left: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 0; }
}

/* ============================ SHARED NOTES ============================ */
.risk { margin-top: 8px; font-size: .64rem; letter-spacing: .06em; color: var(--blue-text); line-height: 1.5; }
.spec-note {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  margin-top: 24px; font-size: .9rem; color: var(--fg-muted);
}
.chip {
  display: inline-block; padding: 6px 12px; border-radius: var(--pill);
  border: 1px solid var(--blue); color: var(--blue-text); font-size: .68rem;
}

/* ============================ 01 WORK ============================ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.pill {
  min-height: 42px; padding: 0 18px; border-radius: var(--pill);
  border: 1.5px solid var(--line); background: transparent;
  font: 500 .88rem/1 var(--font-body); color: var(--white);
  transition: border-color .2s, background-color .2s;
}
.pill:hover { border-color: var(--cream); }
.pill[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); }

.video-grid { display: grid; grid-template-columns: 1fr; gap: 32px 16px; }
@media (min-width: 340px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) { .video-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 20px; } }
@media (min-width: 1100px) { .video-grid { grid-template-columns: repeat(4, 1fr); } }

.vcard { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.vcard[hidden] { display: none; }
.vcard-media {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16;
  padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--ink-lift); margin-bottom: 14px;
}
.vcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); }
.vcard-media:hover img { transform: scale(1.035); }
.play {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: var(--white);
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
  transition: transform .25s var(--ease);
}
.play svg { width: 24px; height: 24px; margin-left: 3px; }
.vcard-media:hover .play, .vcard-media:focus-visible .play { transform: scale(1.1); }
.dur {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  padding: 4px 8px; border-radius: 4px; background: rgba(17,17,17,.82);
  color: var(--white); font-size: .7rem; letter-spacing: .06em;
}
.placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px;
  color: var(--fg-muted); border: 1.5px dashed var(--line); border-radius: var(--radius);
}
.vcard-title { font: 700 1rem/1.3 var(--font-body); }
.vcard-product { font-size: .85rem; color: var(--fg-muted); }
.vcard-tag { margin-top: 4px; font-size: .68rem; color: var(--blue-text); }

/* ============================ 03 CONTENT EXPERIENCE ============================ */
.organic { background: #0B0B0B; }
.organic-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px)  { .organic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .organic-grid { grid-template-columns: repeat(4, 1fr); } }
.opost a {
  height: 100%; display: flex; flex-direction: column; gap: 6px;
  padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ink-lift); text-decoration: none; color: var(--white);
  transition: border-color .25s, transform .25s var(--ease);
}
.opost a:hover { border-color: var(--blue); transform: translateY(-3px); }
.opost-top { display: flex; justify-content: space-between; gap: 12px; color: var(--fg-muted); font-size: .64rem; margin-bottom: 18px; }
.opost-views {
  font: 700 clamp(3rem, 6vw, 4.4rem)/.9 var(--font-display); font-variation-settings: "opsz" 144;
  letter-spacing: -.02em; color: var(--cream);
}
.opost-views .accent { color: var(--blue-display); }
.opost-label { color: var(--fg-muted); font-size: .68rem; margin-bottom: 14px; }
.opost-hook { font: italic 400 1.05rem/1.45 var(--font-display); font-variation-settings: "opsz" 24; flex: 1; }
.opost-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; padding-top: 14px; margin-top: 10px; border-top: 1px solid var(--line); color: var(--fg-muted); font-size: .64rem; letter-spacing: .06em; }
.opost-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--blue-text); font-weight: 600; font-size: .88rem; }
.opost-link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.opost a:hover .opost-link svg { transform: translateX(3px); }

/* Playable TikTok embeds: same 9:16 frame as the spec video cards */
.sub-head { margin: clamp(40px, 6vw, 64px) 0 20px; font-size: inherit; }
.embed {
  position: relative; width: 100%; aspect-ratio: 9 / 16; margin-bottom: 14px;
  border-radius: var(--radius); overflow: hidden; background: var(--ink-lift);
}
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 1099px) { .embed-grid { justify-content: center; } }
@media (max-width: 759px)  { .embed-grid { grid-template-columns: minmax(0, 340px); } }
@media (min-width: 760px)  { .embed-grid { grid-template-columns: repeat(2, minmax(0, 340px)); } }
@media (min-width: 1100px) { .embed-grid { grid-template-columns: repeat(3, minmax(0, 340px)); } }

/* ============================ 02 WHY WORK WITH ME (cream) ============================ */
.anatomy-grid { display: grid; gap: 40px; align-items: start; }
.phone { max-width: 340px; width: 100%; margin-inline: auto; }
.phone video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink);
  border-radius: 18px; border: 6px solid var(--ink);
  box-shadow: 0 30px 60px -30px rgba(17,17,17,.55);
}
.phone figcaption { margin-top: 14px; text-align: center; color: var(--fg-muted); font-size: .68rem; }

.beats-note { display: flex; align-items: flex-start; gap: 4px; margin-bottom: 4px; }
.beats-note .hand { color: var(--blue); max-width: 20ch; }
.beats-note .arrow { color: var(--blue); width: 76px; height: 46px; margin-top: 18px; }
.beats { border-top: 1px solid var(--rule); counter-reset: none; }
.beat { border-bottom: 1px solid var(--rule); }
.beat button {
  width: 100%; text-align: left; background: none; border: 0; padding: 18px 12px 18px 0;
  display: grid; grid-template-columns: 1fr; gap: 4px; color: var(--fg);
  transition: background-color .2s, padding .2s;
}
.beat button:hover, .beat button[aria-current] { background: rgba(36, 89, 176, .08); padding-left: 12px; }
.beat-time { font-size: .7rem; color: var(--blue); }
.beat-label {
  font: 700 1.35rem/1.1 var(--font-display); font-variation-settings: "opsz" 72;
  text-transform: uppercase; letter-spacing: -.01em;
}
.beat-line { font: italic 400 1.05rem/1.45 var(--font-display); font-variation-settings: "opsz" 24; }
.beat-job { font-size: .88rem; color: var(--fg-muted); }
.beat:first-child .beat-label { color: var(--blue); }

@media (min-width: 900px) {
  .anatomy-grid { grid-template-columns: minmax(280px, 380px) 1fr; gap: clamp(40px, 6vw, 96px); }
  .phone { position: sticky; top: calc(var(--nav-h) + 24px); margin: 0; }
  .beat button { grid-template-columns: 120px 1fr; column-gap: 24px; }
  .beat-time { grid-row: 1 / span 3; padding-top: 6px; }
}

/* "Every project includes" list (inside Why work with me) */
.why-includes { margin-top: 28px; }
.why-includes > .mono { margin-bottom: 14px; }
.gets-list { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.gets-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.gets-list li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ============================ CONTACT (blue) ============================ */
.contact { padding-block: clamp(80px, 12vw, 160px); }
.contact .sec-label { color: var(--white); }
.contact-title { font-size: clamp(3.4rem, 15vw, 11rem); line-height: .86; margin-bottom: 24px; }
.qmark { font-size: 1.15em; text-transform: none; margin-left: .04em; display: inline-block; transform: rotate(8deg); color: var(--cream); }
.contact-line { font-size: clamp(1.05rem, 2vw, 1.3rem); margin-bottom: 32px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.btn-lg { min-height: 56px; font-size: clamp(.9rem, 2.4vw, 1.05rem); padding-inline: 1.6em; max-width: 100%; }
.btn-lg svg { width: 20px; height: 20px; }
.contact-small { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em; color: var(--fg-muted); }

/* ============================ FOOTER ============================ */
.footer { padding-block: 40px; font-size: .9rem; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--blue-text); }
.footer-disclaimer { font-size: .78rem; color: var(--fg-muted); max-width: 70ch; }

/* ============================ LIGHTBOX ============================ */
.lightbox {
  width: min(1040px, 100vw - 24px); max-height: calc(100dvh - 24px);
  padding: 0; border: 1px solid var(--line); border-radius: 10px;
  overflow: auto; overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgba(5, 5, 5, .86); backdrop-filter: blur(4px); }
body.lb-open { overflow: hidden; }
.lb-inner { position: relative; display: grid; gap: 0; }
.lb-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(17,17,17,.7); }
.lb-media { background: #000; display: grid; place-items: center; }
.lb-media video, .lb-media .placeholder {
  position: relative; width: 100%; max-height: 72dvh; aspect-ratio: 9 / 16; object-fit: contain; background: #000;
}
.lb-info { padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.lb-tag { color: var(--blue-text); font-size: .7rem; }
.lb-brand { font: 700 clamp(2rem, 4vw, 3rem)/.95 var(--font-display); text-transform: uppercase; letter-spacing: -.02em; }
.lb-title { font: italic 400 1.15rem/1.4 var(--font-display); }
.lb-why { font-size: .95rem; color: var(--fg-muted); }
.lb-why .mono { display: block; font-size: .68rem; margin-bottom: 4px; }
.brief { border-top: 1px solid var(--line); }
.brief div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.brief dt { font-size: .66rem; color: var(--fg-muted); }
.brief dd { margin: 0; font-size: .92rem; line-height: 1.5; }
.spec { font-size: .64rem; color: var(--fg-muted); }
.lb-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.lb-nav .btn { min-height: 44px; padding: 0 1.2em; }
@media (min-width: 800px) {
  .lb-inner { grid-template-columns: minmax(300px, 420px) 1fr; }
  .lb-media video, .lb-media .placeholder { max-height: calc(100dvh - 26px); height: 100%; }
  .brief div { grid-template-columns: 110px 1fr; gap: 16px; }
}

/* ============================ EMAIL CHOOSER ============================ */
.email-toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 60; transform: translateX(-50%);
  width: max-content; max-width: calc(100vw - 32px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  padding: 14px 52px 14px 18px; border-radius: 14px;
  background: var(--ink); color: var(--white); border: 1px solid var(--blue);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45); font-size: .9rem;
}
.email-toast[hidden] { display: none; }
.email-toast strong { font-weight: 600; }
.email-toast-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.email-toast-link {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--pill);
  background: var(--blue); color: var(--white); border: 1.5px solid var(--blue);
  font: 600 .88rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
}
.email-toast-link:hover { background: #1E4C97; border-color: #1E4C97; }
.email-toast-link.alt { background: transparent; border-color: var(--cream); }
.email-toast-link.alt:hover { background: var(--cream); color: var(--ink); }
.email-toast-close {
  position: absolute; top: 8px; right: 8px;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: none; border: 0; color: var(--white); border-radius: 50%;
}
.email-toast-close svg { width: 16px; height: 16px; }
