/* ============================================================
   DEMESQUITA DESIGN — PORTFOLIO BASE STYLES
   One stylesheet for all pages. No inline styles. No <style> blocks.
   <link rel="stylesheet" href="portfolio.css">
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700;900&family=Fira+Sans:wght@300;400;500;600;700&display=swap');

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design tokens ───────────────────────────────────────── */
:root {
  --gold:         #C9A84C;
  --gold-dim:     #2A1E08;
  --gold-border:  #2A2218;
  --bg:           #0D0D0D;
  --bg-2:         #141414;
  --bg-3:         #1A1A1A;
  --border:       #1C1C1C;
  --border-mid:   #2A2A2A;
  --white:        #FFFFFF;
  --text-white:   #FFFFFF;
  --text-mid:     #888888;
  --text-muted:   #555555;
  --text-ghost:   #2E2E2E;

  /* Compass Brazil palette — inside slide mockups only */
  --cb-green:     #005c53;
  --cb-yellow:    #faa431;
  --cb-dark:      #2f3b40;
  --cb-white:     #ffffff;
  --cb-light:     #f5f5f5;
  --cb-border:    #e0e0e0;

  /* Typography */
  --fs-tag:       10px;
  --fs-label:     11px;
  --fs-body:      14px;
  --fs-body-lg:   15px;
  --fs-stat:      32px;
  --fs-h2:        22px;
  --fs-h1:        38px;

  /* Spacing */
  --pad-page-v:   3%;
  --pad-page-h:   6%;
  --pad-page-l:   7%;
  --gold-bar-w:   4px;
}

body { background: var(--bg); font-family: 'Inter', sans-serif; }

/* ── Page wrapper ─────────────────────────────────────────── */
/*
  Default (flex-direction: column): case study pages — header / content / gallery stack.
  .page-wrap--row: About page — two side-by-side panels.
  .page-wrap--auto: Brand Identity — scrollable, no fixed aspect ratio.
*/
.page-wrap {
  background: var(--bg); width: 100%;
  aspect-ratio: 16 / 9; min-height: 520px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: 6px;
}
.page-wrap--row  { flex-direction: row; }
.page-wrap--auto { aspect-ratio: unset; min-height: unset; height: auto; }

/* ── Shared decorative elements ───────────────────────────── */
.noise { position: absolute; inset: 0; background-image: radial-gradient(circle, #1a1a1a 1px, transparent 1px); background-size: 28px 28px; opacity: 0.28; pointer-events: none; z-index: 0; }
.gold-bar { position: absolute; top: 0; left: 0; width: var(--gold-bar-w); height: 100%; background: var(--gold); z-index: 3; }
.line-right { position: absolute; right: 0; top: 0; width: 1px; height: 100%; background: var(--border); z-index: 1; }

/* ── Section label ────────────────────────────────────────── */
.section-label { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 12px; }
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--gold); flex-shrink: 0; }

/* ── Tag pill ─────────────────────────────────────────────── */
.tag { font-size: 9px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-ghost); border: 1px solid var(--border-mid); border-radius: 20px; padding: 4px 10px; }

/* ── Result bar ───────────────────────────────────────────── */
.result-bar { display: flex; align-items: center; gap: 14px; background: #111008; border: 1px solid var(--gold-dim); border-radius: 4px; padding: 10px 14px; }
.result-num { font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; color: var(--gold); letter-spacing: -0.02em; flex-shrink: 0; }
.result-text { font-size: clamp(10px, 0.95vw, 13px); font-weight: 300; color: var(--text-muted); line-height: 1.6; }

/* ── Info blocks (case studies + brand page) ──────────────── */
.info-label { font-size: 9px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.info-text { font-size: clamp(11px, 1.05vw, 14px); font-weight: 300; line-height: 1.75; color: var(--text-muted); }
.info-text strong { color: var(--text-mid); font-weight: 400; }
.tags-row { display: flex; flex-wrap: wrap; gap: 5px; }

/* ── Image placeholder ────────────────────────────────────── */
.img-ph { position: relative; width: 100%; height: 100%; background: #111; border: 1px dashed #2A2A2A; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.img-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.img-ph::before { content: attr(data-label); font-size: 8px; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; color: #2A2A2A; text-align: center; padding: 4px; pointer-events: none; z-index: 1; }
.img-ph:has(img)::before { display: none; }
.img-ph:has(img) { border: none; background: transparent; }

/* ── Compass Brazil slide base ────────────────────────────── */
.cb-slide { font-family: 'Fira Sans', sans-serif; background: var(--cb-white); color: var(--cb-dark); width: 100%; height: 100%; position: relative; overflow: hidden; }
.cb-slide * { font-family: 'Fira Sans', sans-serif; }

/* ── Base responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .page-wrap { aspect-ratio: auto; min-height: unset; }
}
@media (max-width: 600px) {
  .page-wrap      { border-radius: 0; }
  .page-wrap--row { flex-direction: column; }
  :root { --fs-label: 10px; --fs-body: 13px; }
}
@media (max-width: 380px) {
  :root { --fs-body: 12px; }
}


/* ============================================================
   PAGE 01 — COVER
   ============================================================ */

.cv-wrap { font-family: 'Inter', sans-serif; background: #0D0D0D; width: 100%; position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 6px; aspect-ratio: 16 / 9; min-height: 420px; }
.cv-noise { position: absolute; inset: 0; background-image: radial-gradient(circle, #1a1a1a 1px, transparent 1px); background-size: 28px 28px; opacity: 0.35; pointer-events: none; z-index: 0; }
.cv-gold-bar { position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--gold); z-index: 1; }
.cv-line-accent { position: absolute; right: 0; top: 0; width: 1px; height: 100%; background: #1A1A1A; z-index: 1; }
.cv-geo-element { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); opacity: 0.04; pointer-events: none; font-size: clamp(100px, 20vw, 220px); font-weight: 900; color: var(--gold); letter-spacing: -0.05em; line-height: 1; user-select: none; z-index: 1; }
.cv-content { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 5% 7%; }
.cv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.cv-tag { font-size: clamp(9px, 1.1vw, 13px); font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.cv-nav { font-size: clamp(8px, 0.9vw, 11px); font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: #444444; text-align: right; }
.cv-middle { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 4% 0 2%; }
.cv-role { font-size: clamp(9px, 1.1vw, 13px); font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 2.5%; display: flex; align-items: center; gap: 14px; }
.cv-role::before { content: ''; display: inline-block; width: clamp(20px, 3%, 36px); height: 1px; background: var(--gold); flex-shrink: 0; }
.cv-name { font-size: clamp(32px, 8.5vw, 84px); font-weight: 700; line-height: 0.95; color: #FFFFFF; letter-spacing: -0.02em; }
.g { color: var(--gold); }
.cv-divider { width: clamp(36px, 6%, 64px); height: 1px; background: #333; margin: 3% 0; }
.cv-sub { font-size: clamp(8px, 1.1vw, 13px); font-weight: 300; letter-spacing: 0.12em; color: #555555; text-transform: uppercase; }
.cv-bottom { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid #1C1C1C; padding-top: 2.5%; gap: 16px; }
.cv-contact { display: flex; flex-direction: column; gap: 5px; }
.cv-contact-item { font-size: clamp(8px, 0.95vw, 11px); font-weight: 300; letter-spacing: 0.12em; color: #444444; text-transform: lowercase; }
.cv-brand { text-align: right; flex-shrink: 0; }
.cv-brand-name { font-size: clamp(8px, 1.05vw, 12px); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #222222; }
.cv-brand-name span { color: var(--gold); }
.cv-year { font-size: clamp(7px, 0.85vw, 10px); letter-spacing: 0.2em; color: #2A2A2A; font-weight: 400; margin-top: 3px; }

@media (max-width: 900px) {
  .cv-wrap        { aspect-ratio: auto; min-height: unset; }
  .cv-content     { padding: 6% 8%; gap: 28px; }
  .cv-tag         { font-size: 11px; }
  .cv-nav         { font-size: 9px; letter-spacing: 0.1em; }
  .cv-role        { font-size: 10px; margin-bottom: 14px; }
  .cv-name        { font-size: clamp(40px, 9vw, 72px); }
  .cv-sub         { font-size: 10px; }
  .cv-contact-item { font-size: 9px; }
  .cv-brand-name  { font-size: 10px; }
  .cv-year        { font-size: 8px; }
  .cv-geo-element { font-size: clamp(80px, 18vw, 160px); opacity: 0.03; }
}
@media (max-width: 600px) {
  .cv-wrap        { border-radius: 0; }
  .cv-content     { padding: 9% 7% 8%; gap: 32px; }
  .cv-top         { flex-direction: column; gap: 8px; }
  .cv-nav         { text-align: left; font-size: 9px; }
  .cv-tag         { font-size: 10px; }
  .cv-middle      { padding: 0; }
  .cv-role        { font-size: 10px; letter-spacing: 0.2em; margin-bottom: 12px; }
  .cv-name        { font-size: clamp(38px, 12vw, 60px); line-height: 1; }
  .cv-divider     { margin: 16px 0; }
  .cv-sub         { font-size: 9px; letter-spacing: 0.1em; }
  .cv-bottom      { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 5%; }
  .cv-contact-item { font-size: 10px; }
  .cv-brand       { text-align: left; }
  .cv-brand-name  { font-size: 11px; }
  .cv-year        { font-size: 9px; }
  .cv-geo-element { display: none; }
}
@media (max-width: 380px) {
  .cv-name { font-size: 34px; }
  .cv-role { font-size: 9px; }
  .cv-sub  { font-size: 8px; }
}


/* ============================================================
   PAGE 02 — ABOUT
   Uses .page-wrap--row (side-by-side panels at desktop)
   ============================================================ */

.p2-left {
  width: 42%; flex-shrink: 0;
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border-right: 1px solid var(--border);
}

/* Bullseye mark — large, fills the left panel */
.geo { position: relative; width: min(86%, 290px); aspect-ratio: 1; }
.geo-ring       { position: absolute; inset: 0; border: 1px solid var(--border-mid); border-radius: 50%; }
.geo-ring-inner { position: absolute; inset: 15%; border: 1px solid #1E1E1E; border-radius: 50%; }
.geo-arc        { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--gold); border-right-color: var(--gold); transform: rotate(-20deg); }
.geo-cross-h    { position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: #1C1C1C; transform: translateY(-50%); }
.geo-cross-v    { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: #1C1C1C; transform: translateX(-50%); }
.geo-dot        { position: absolute; top: 11%; right: 11%; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.geo-mono       { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(28px, 5vw, 60px); font-weight: 900; letter-spacing: -0.04em; color: #1E1E1E; }
.geo-mono span  { color: var(--gold); }

/* Brand label — pinned to bottom of left panel */
.geo-label { position: absolute; bottom: 5%; left: 0; right: 0; text-align: center; font-size: 9px; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: #2A2A2A; }

/* Right content panel */
.p2-right { flex: 1; position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 5% 7% 5% 6%; }
.p2-headline { font-size: clamp(22px, 3.4vw, 42px); font-weight: 700; line-height: 1.1; color: var(--text-white); letter-spacing: -0.025em; margin-bottom: 20px; }
.p2-headline em { font-style: normal; color: var(--gold); }
.p2-bio { font-size: clamp(12px, 1.2vw, 15px); font-weight: 300; line-height: 1.8; color: var(--text-muted); margin-bottom: 28px; max-width: 94%; }
.p2-bio strong { color: var(--text-mid); font-weight: 400; }
.stats-row { display: flex; border-top: 1px solid var(--border); padding-top: 22px; }
.stat { flex: 1; display: flex; flex-direction: column; gap: 6px; padding-right: 16px; }
.stat + .stat { padding-left: 16px; border-left: 1px solid var(--border); }
.stat:last-child { padding-right: 0; }
.stat-num { font-size: clamp(18px, 2.8vw, 34px); font-weight: 700; color: var(--gold); letter-spacing: -0.02em; line-height: 1; }
.stat-label { font-size: clamp(9px, 0.85vw, 11px); font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-ghost); line-height: 1.5; }

@media (max-width: 900px) {
  .p2-left     { width: 36%; }
  .geo         { width: min(82%, 240px); }
  .p2-right    { padding: 6% 6% 6% 5%; }
  .p2-headline { font-size: 26px; margin-bottom: 14px; }
  .p2-bio      { font-size: 13px; margin-bottom: 20px; }
  .stat-num    { font-size: 24px; }
  .stat-label  { font-size: 9px; }
}
@media (max-width: 600px) {
  .p2-left     { width: 100%; border-right: none; border-bottom: 1px solid var(--border); padding: 8% 0; flex-direction: row; gap: 20px; justify-content: center; }
  .geo         { width: 80px; }
  .geo-mono    { font-size: 22px; }
  .geo-label   { position: static; margin-top: 0; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: 0.2em; font-size: 8px; }
  .p2-right    { padding: 7% 7%; }
  .p2-headline { font-size: 24px; margin-bottom: 12px; }
  .p2-bio      { font-size: 13px; line-height: 1.7; margin-bottom: 20px; max-width: 100%; }
  .stats-row   { flex-wrap: wrap; gap: 16px; padding-top: 16px; }
  .stat        { flex: 1 1 40%; padding: 0 !important; border: none !important; }
  .stat-num    { font-size: 26px; }
  .stat-label  { font-size: 10px; }
}
@media (max-width: 380px) {
  .p2-headline { font-size: 20px; }
  .p2-bio      { font-size: 12px; }
  .stat-num    { font-size: 22px; }
}


/* ============================================================
   IMAGE GALLERY & LIGHTBOX — Pages 03–05 + Brand page
   ============================================================ */

.img-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; width: 100%; height: 100%; }
.img-slot { position: relative; overflow: hidden; border-radius: 4px; border: 1px dashed var(--border-mid); background: #111; cursor: pointer; transition: border-color 0.2s, transform 0.2s; }
.img-slot:hover { border-color: var(--gold); transform: scale(1.01); }
.img-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.img-slot::before { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: #2A2A2A; text-align: center; padding: 8px; z-index: 1; }
.img-slot:has(img)::before { display: none; }
.img-slot:has(img) { border-style: solid; border-color: transparent; }
.img-slot::after { content: '⤢'; position: absolute; bottom: 8px; right: 8px; font-size: 14px; color: var(--gold); opacity: 0; transition: opacity 0.2s; z-index: 2; pointer-events: none; }
.img-slot:hover::after { opacity: 1; }

.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.94); z-index: 9999; align-items: center; justify-content: center; padding: 40px; }
.lightbox.active { display: flex; }
.lightbox-img { display: none; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 0 60px rgba(0,0,0,0.8); }
.lightbox-ph { width: min(80vw, 960px); aspect-ratio: 16/9; background: #111; border: 1px dashed var(--border-mid); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: #2A2A2A; }
.lightbox-close { position: fixed; top: 20px; right: 24px; font-size: 28px; color: #444; cursor: pointer; line-height: 1; transition: color 0.15s; background: none; border: none; padding: 0; }
.lightbox-close:hover { color: var(--gold); }
.lightbox-caption { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 400; letter-spacing: 0.25em; text-transform: uppercase; color: #444; }

.gallery-label { font-size: 9px; font-weight: 400; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-ghost); border-top: 1px solid var(--border); padding-top: 7px; flex-shrink: 0; }
.gallery-label--flush { border-top: none; padding-top: 0; margin-bottom: 4px; }

@media (max-width: 600px) {
  .img-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 1fr); }
  .lightbox { padding: 16px; }
}


/* ============================================================
   CASE STUDY LAYOUT — Pages 03–05
   Divider at true 50% (cs-col-brief width: 50%)
   ============================================================ */

.cs-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 2.8% var(--pad-page-h) 0 var(--pad-page-l); flex-shrink: 0; gap: 12px; }
.cs-content { position: relative; z-index: 2; display: flex; padding: 2% var(--pad-page-h) 1.5% var(--pad-page-l); flex-shrink: 0; gap: 0; }
.cs-col-brief { width: 50%; padding-right: 4%; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.cs-col-approach { flex: 1; padding-left: 4%; display: flex; flex-direction: column; gap: 8px; }
.cs-title { font-size: clamp(16px, 2.2vw, 26px); font-weight: 700; line-height: 1.15; color: var(--text-white); letter-spacing: -0.02em; }
.cs-title em { font-style: normal; color: var(--gold); }
.cs-sub { font-size: clamp(9px, 0.9vw, 11px); font-weight: 300; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.cs-gallery { position: relative; z-index: 2; flex: 1; padding: 0 var(--pad-page-h) 2.5% var(--pad-page-l); display: flex; flex-direction: column; gap: 6px; min-height: 0; }

@media (max-width: 900px) {
  .cs-header   { padding: 3.5% 5% 0 6%; }
  .cs-content  { padding: 2.5% 5% 2% 6%; flex-wrap: wrap; gap: 14px; }
  .cs-col-brief { width: 100%; border-right: none; padding-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
  .cs-col-approach { padding-left: 0; }
  .cs-title    { font-size: 22px; }
  .info-text   { font-size: 13px; }
  .cs-gallery  { padding: 0 5% 3% 6%; }
}
@media (max-width: 600px) {
  .cs-header   { padding: 5% 5% 0 6%; flex-direction: column; align-items: flex-start; gap: 5px; }
  .cs-content  { padding: 4% 5% 3% 6%; }
  .cs-title    { font-size: 19px; }
  .info-text   { font-size: 12px; }
  .cs-gallery  { padding: 0 5% 5% 6%; }
}
@media (max-width: 380px) {
  .cs-title  { font-size: 17px; }
  .info-text { font-size: 11px; }
}


/* ============================================================
   PAGE NAVIGATION
   ============================================================ */

.page-nav { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 0 8px; border-top: 1px solid var(--border); margin-top: 16px; }
.page-nav-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-decoration: none; cursor: pointer; background: none; border: 1px solid var(--border-mid); border-radius: 4px; padding: 10px 16px; min-width: 160px; transition: border-color 0.2s, background 0.2s; }
.page-nav-btn:hover { border-color: var(--gold); background: #111008; }
.page-nav-btn.next { align-items: flex-end; margin-left: auto; }
.page-nav-btn.disabled { opacity: 0.2; pointer-events: none; }
.page-nav-direction { font-size: 9px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }
.page-nav-title { font-size: 12px; font-weight: 500; color: var(--text-white); letter-spacing: 0.02em; }
.page-nav-desc  { font-size: 10px; font-weight: 300; color: var(--text-muted); letter-spacing: 0.05em; }

@media (max-width: 600px) {
  .page-nav { flex-direction: column; gap: 10px; }
  .page-nav-btn, .page-nav-btn.next { min-width: unset; width: 100%; align-items: flex-start; }
}


/* ============================================================
   BRAND IDENTITY PAGE — Page 06 + future brand pages
   All dividers at 50% for visual alignment
   ============================================================ */

.page-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 2.8% var(--pad-page-h) 2% var(--pad-page-l); gap: 12px; }
.page-header-meta { font-size: var(--fs-tag); font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-ghost); }
.brand-section { position: relative; z-index: 2; padding: 0 var(--pad-page-h) 0 var(--pad-page-l); }
.section-divider { border: none; border-top: 1px solid var(--border); margin: 0 var(--pad-page-h) 0 var(--pad-page-l); }

/* Hero layout — divider at 50% */
.brand-hero { display: flex; gap: 0; padding-bottom: 3%; }
.brand-hero-left { width: 50%; flex-shrink: 0; padding-right: 4%; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.brand-hero-right { flex: 1; padding-left: 4%; display: flex; flex-direction: column; gap: 10px; }

.brand-title { font-size: clamp(20px, 2.6vw, 32px); font-weight: 700; line-height: 1.1; color: var(--text-white); letter-spacing: -0.02em; }
.brand-title em { font-style: normal; color: var(--gold); }
.brand-title--sm { font-size: clamp(16px, 2vw, 24px); }
.brand-sub { font-size: clamp(9px, 0.9vw, 11px); font-weight: 300; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }

.asset-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.asset-row-lg { height: clamp(100px, 12vw, 160px); }
.asset-row-md { height: clamp(80px, 9vw, 120px); }

.asset-slot-wrap { display: flex; flex-direction: column; gap: 4px; }
.asset-slot-wrap .img-slot-brand { flex: 1; }
.img-slot-brand { position: relative; overflow: hidden; border-radius: 4px; border: 1px dashed var(--border-mid); background: #111; cursor: pointer; transition: border-color 0.2s, transform 0.2s; height: 100%; }
.img-slot-brand:hover { border-color: var(--gold); transform: scale(1.01); }
.img-slot-brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.img-slot-brand::before { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: #2A2A2A; text-align: center; padding: 8px; z-index: 1; }
.img-slot-brand:has(img)::before { display: none; }
.img-slot-brand:has(img) { border-style: solid; border-color: transparent; }
.img-slot-brand::after { content: '⤢'; position: absolute; bottom: 8px; right: 8px; font-size: 14px; color: var(--gold); opacity: 0; transition: opacity 0.2s; z-index: 2; pointer-events: none; }
.img-slot-brand:hover::after { opacity: 1; }

/* Thumbnail label — readable grey (was text-ghost / #2E2E2E, now text-muted / #555) */
.slot-caption { font-size: 8px; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; text-align: center; }

/* Condensed layout — divider at 50%, images vertically centred */
.brand-condensed { display: flex; gap: 0; padding: 3% 0; }
.brand-condensed-left { width: 50%; flex-shrink: 0; padding-right: 4%; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.brand-condensed-right { flex: 1; padding-left: 4%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; align-content: center; }
.brand-condensed-slot { height: clamp(90px, 11vw, 150px); }

/* Quick showcase — body text at 14px */
.quick-showcase { padding: 3% 0 3.5%; display: flex; flex-direction: column; gap: 16px; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quick-item { display: flex; flex-direction: column; gap: 8px; }
.quick-client { font-size: clamp(12px, 1.2vw, 15px); font-weight: 500; color: var(--text-white); margin-bottom: 3px; }
.quick-desc { font-size: clamp(12px, 1.05vw, 14px); font-weight: 300; line-height: 1.6; color: var(--text-muted); }
.quick-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: clamp(70px, 9vw, 120px); }

@media (max-width: 900px) {
  .page-header     { padding: 3.5% 5% 2% 6%; }
  .brand-section   { padding: 0 5% 0 6%; }
  .section-divider { margin: 0 5% 0 6%; }
  .brand-hero      { flex-wrap: wrap; }
  .brand-hero-left { width: 100%; border-right: none; padding-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 3%; }
  .brand-hero-right { padding-left: 0; padding-top: 3%; }
  .brand-title     { font-size: 24px; }
  .brand-condensed { flex-wrap: wrap; }
  .brand-condensed-left { width: 100%; border-right: none; padding-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 3%; margin-bottom: 3%; }
  .brand-condensed-right { padding-left: 0; }
  .quick-grid      { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .page-header     { padding: 5% 5% 3% 6%; flex-direction: column; align-items: flex-start; gap: 5px; }
  .asset-row-2     { grid-template-columns: 1fr; }
  .asset-row-lg, .asset-row-md { height: auto; }
  .asset-slot-wrap { height: clamp(80px, 25vw, 140px); }
  .brand-condensed-right { grid-template-columns: 1fr; }
  .brand-condensed-slot  { height: clamp(80px, 25vw, 140px); }
  .quick-imgs      { grid-template-columns: 1fr 1fr; height: auto; }
  .quick-imgs .asset-slot-wrap { height: clamp(70px, 20vw, 110px); }
  .brand-title     { font-size: 20px; }
}
@media (max-width: 380px) {
  .brand-title     { font-size: 18px; }
  .quick-imgs      { grid-template-columns: 1fr; }
  .quick-imgs .asset-slot-wrap { height: 90px; }
}


/* ============================================================
   SOCIAL MEDIA & MOTION PAGE — Page 07
   ============================================================ */

/* Portrait image grid — Instagram post format (4:5) */
.sm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.sm-slot {
  position: relative; overflow: hidden;
  border-radius: 4px;
  border: 1px dashed var(--border-mid);
  background: #111;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  aspect-ratio: 4 / 5;
}
.sm-slot:hover { border-color: var(--gold); transform: scale(1.01); }
.sm-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-slot::before { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: #2A2A2A; text-align: center; padding: 8px; z-index: 1; }
.sm-slot:has(img)::before { display: none; }
.sm-slot:has(img) { border-style: solid; border-color: transparent; }
.sm-slot::after { content: '⤢'; position: absolute; bottom: 8px; right: 8px; font-size: 14px; color: var(--gold); opacity: 0; transition: opacity 0.2s; z-index: 2; pointer-events: none; }
.sm-slot:hover::after { opacity: 1; }

/* Video showcase section */
.video-showcase { padding: 3% 0 3.5%; display: flex; flex-direction: column; gap: 16px; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.video-slot { display: flex; flex-direction: column; gap: 10px; }

/* 16:9 container — handles vertical & horizontal videos cleanly */
.video-wrapper {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #000; border-radius: 4px;
  border: 1px solid var(--border-mid); overflow: hidden;
}
.video-player {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; display: block;
}

.video-title { font-size: clamp(12px, 1.2vw, 15px); font-weight: 500; color: var(--text-white); }
.video-desc { font-size: clamp(11px, 1vw, 13px); font-weight: 300; line-height: 1.6; color: var(--text-muted); }

@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .sm-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .sm-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================
   CONTACT PAGE — Page 08
   Uses .page-wrap--row (split panels, viewport height)
   ============================================================ */

.contact-left {
  width: 55%; flex-shrink: 0;
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 7% 8% 6% var(--pad-page-l);
  border-right: 1px solid var(--border);
}

.contact-eyebrow {
  font-size: var(--fs-label);
  font-weight: 500; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 12px;
}
.contact-eyebrow::before {
  content: ''; width: 24px; height: 1px;
  background: var(--gold); flex-shrink: 0;
}

.contact-headline {
  font-size: clamp(28px, 4.5vw, 58px);
  font-weight: 700; line-height: 1.05;
  color: var(--text-white); letter-spacing: -0.03em;
  margin-top: 5%;
}
.contact-headline em { font-style: normal; color: var(--gold); }

.contact-manifesto {
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 300; line-height: 1.85;
  color: var(--text-muted); max-width: 78%;
  margin-top: 6%;
}

.contact-availability {
  margin-top: auto; padding-top: 8%;
  display: flex; flex-direction: column; gap: 6px;
}
.contact-avail-label {
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
}
.contact-avail-text {
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 300; letter-spacing: 0.08em;
  color: var(--text-muted); line-height: 1.6;
}

/* Right panel — contact items */
.contact-right {
  flex: 1; position: relative; z-index: 1;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 7% var(--pad-page-h) 6% 8%;
  gap: 0;
}

.contact-stack {
  display: flex; flex-direction: column;
}
.contact-item {
  display: flex; flex-direction: column; gap: 5px;
  padding: 5% 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s;
}
.contact-item:first-child { border-top: 1px solid var(--border); }
.contact-item:hover { border-color: var(--gold); }
.contact-item:hover .contact-item-value { color: var(--gold); }

.contact-item-label {
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-ghost);
}
.contact-item-value {
  font-size: clamp(12px, 1.3vw, 16px);
  font-weight: 300; color: var(--text-white);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

/* CV download button — distinct from contact items */
.contact-cv {
  margin-top: 10%;
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--border-mid);
  border-radius: 4px; padding: 14px 20px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  width: fit-content;
}
.contact-cv:hover { border-color: var(--gold); background: #111008; }
.contact-cv-label {
  display: flex; flex-direction: column; gap: 3px;
}
.contact-cv-eyebrow {
  font-size: 8px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
}
.contact-cv-text {
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 400; color: var(--text-white);
  letter-spacing: 0.02em;
}
.contact-cv-arrow {
  font-size: 18px; color: var(--gold);
  margin-left: auto; flex-shrink: 0;
}

/* Footer signature — bottom of right panel */
.contact-signature {
  margin-top: auto; padding-top: 8%;
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-ghost);
}

@media (max-width: 900px) {
  .contact-left  { width: 50%; padding: 6% 6% 6% 6%; }
  .contact-right { padding: 6% 5% 6% 6%; }
  .contact-headline { font-size: clamp(24px, 4vw, 42px); }
}
@media (max-width: 600px) {
  .contact-left  { width: 100%; border-right: none; border-bottom: 1px solid var(--border); padding: 10% 7%; justify-content: flex-start; gap: 24px; }
  .contact-availability { margin-top: 0; padding-top: 0; }
  .contact-right { padding: 8% 7%; }
  .contact-headline { font-size: clamp(26px, 8vw, 40px); }
  .contact-manifesto { max-width: 100%; }
  .contact-cv    { width: 100%; }
}
@media (max-width: 380px) {
  .contact-headline { font-size: 24px; }
}
