/*
  BurksUP Design — Social Media Package
  Shared visual system. Loaded by every page in this package.

  Real production fonts (self-hosted, licensed):
    display  : Lektorat Condensed Extrabold (Lineto)
    body     : PP Neue Montreal (Pangram Pangram)
    accent   : Tentang Nanti One

  WOFF2 files live in ./fonts/ — same set the burksup.com v2 site loads.
*/

/* ---------- self-hosted fonts ---------- */
@font-face {
  font-family: "Lektorat";
  src: url("./fonts/Lektorat-CondensedExtrabold-DSk2XJWP.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("./fonts/PPNeueMontreal-Regular-C0RgVexg.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tentang Nanti One";
  src: url("./fonts/tentang-nanti-one-C7wlalXw.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  /* brand palette (matches website-v2/DESIGN-SYSTEM/tokens.css) */
  --red:        #D72323;
  --red-hover:  #B91C1C;
  --canvas:     #EAE6DD;   /* primary cream page surface (v2 --bg-1) */
  --cream:      #EAE6DD;   /* alias: anything painted "cream" reads as page bg */
  --soft:       #F5EDED;   /* warm off-white, used for text-on-dark + lightest surfaces */
  --white:      #FFFFFF;
  --black:      #000000;
  --charcoal:   #3E3636;   /* body text on cream (v2 --fg-2) */
  --dark:       #1B1A18;   /* warm dark for authority (v2 --bg-3) */
  --gold:       #FFD880;   /* rare accent */

  /* typography */
  --font-display: 'Lektorat', Impact, sans-serif;
  --font-body:    'PP Neue Montreal', Arial, sans-serif;
  --font-accent:  'Tentang Nanti One', 'Palatino Linotype', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* spacing scale (native artboards) */
  --pad-xs: 12px;
  --pad-sm: 24px;
  --pad-md: 48px;
  --pad-lg: 96px;
  --pad-xl: 128px;

  /* safe-zone scaffold tokens — applied via .slide-frame / .feed-frame / .story-frame / .hero-frame */
  --frame-pad-x:       96px;
  --frame-pad-top:     96px;
  --frame-pad-bottom: 120px;
  --frame-gap:         48px;
}

/* ---------- page chrome (preview UI, not artwork) ---------- */
html, body {
  margin: 0;
  padding: 0;
  background: #F2EDE8;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 48px 128px;
}

.page__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(62,54,54,0.15);
  margin-bottom: 56px;
}

.page__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: var(--black);
  margin: 0;
}

.page__title em {
  font-style: normal;
  color: var(--red);
}

.page__sub {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.7;
}

.page__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  max-width: 540px;
}

.page__nav a {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid rgba(62,54,54,0.18);
  border-radius: 999px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.page__nav a:hover {
  border-color: var(--red);
  color: var(--red);
}

.page__nav a.is-active {
  background: var(--dark);
  color: var(--soft);
  border-color: var(--dark);
}

.section {
  margin-bottom: 96px;
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: 0.005em;
  line-height: 1;
  color: var(--black);
  margin: 0;
}

.section__meta {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.6;
}

.section__intro {
  font-size: 16px;
  line-height: 1.5;
  max-width: 720px;
  color: var(--charcoal);
  margin: 0 0 40px 0;
}

/* gallery layout */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 32px;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tile__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.tile__label strong {
  color: var(--black);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.tile__label span {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.55;
  letter-spacing: 0;
}

.tile__note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--charcoal);
  opacity: 0.75;
  max-width: 360px;
}

/* ---------- artboard scaler ---------- */
.thumb {
  position: relative;
  overflow: hidden;
  background: var(--canvas);
  box-shadow: 0 1px 0 rgba(62,54,54,0.05), 0 12px 28px -16px rgba(27,26,24,0.18);
}

.thumb__art {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top left;
}

/* ---------- canvas surfaces ---------- */
.canvas {
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
}

.canvas--cream  { background: var(--canvas); color: var(--charcoal); }
.canvas--soft   { background: var(--soft);   color: var(--charcoal); }
.canvas--dark   { background: var(--dark);   color: var(--soft); }
.canvas--white  { background: var(--white);  color: var(--charcoal); }
.canvas--ink    { background: var(--black);  color: var(--soft); }
.canvas--red    { background: var(--red);    color: var(--soft); }

/* paper grain + warm corner vignette — sits BENEATH content */
.canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(140% 100% at 50% 110%, rgba(80,60,45,0.20) 0%, rgba(80,60,45,0) 55%),
    radial-gradient(80% 60% at 0% 0%, rgba(80,60,45,0.10) 0%, rgba(80,60,45,0) 55%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: auto, auto, 240px 240px;
  background-repeat: no-repeat, no-repeat, repeat;
  opacity: 0.12;
  mix-blend-mode: multiply;
  z-index: 0;
}
.canvas--dark::before { opacity: 0.18; }
.canvas--ink::before  { opacity: 0.20; }
.canvas--white::before { opacity: 0.06; }
.canvas--red::before { opacity: 0.10; }

/* ---------- SAFE-ZONE FRAMES — kill absolute-position drift ----------
   Every artboard (carousel slide, story, IG post, hero, banner) wraps content
   in one of these frames. They lay out as a 3-row grid: header band / hero
   block / footer chrome. The hero block centers in the remaining space, so
   headline + accent + supporting copy stay vertically consistent across siblings.

   The frame sits ABOVE the canvas grain (z-index 1).
*/
.slide-frame,
.feed-frame,
.story-frame,
.hero-frame {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: var(--frame-pad-top) var(--frame-pad-x) var(--frame-pad-bottom);
  z-index: 1;
}

/* story frames need taller safe zones for IG profile band (top) + caption band (bottom) */
.story-frame {
  --frame-pad-top:    180px;
  --frame-pad-bottom: 260px;
}

/* hero-frame for landscape banners (LinkedIn / FB / X / Bluesky covers) */
.hero-frame--banner {
  --frame-pad-top:    48px;
  --frame-pad-bottom: 48px;
  --frame-pad-x:      72px;
}

.slide-frame__head,
.feed-frame__head,
.story-frame__head,
.hero-frame__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.slide-frame__hero,
.feed-frame__hero,
.story-frame__hero,
.hero-frame__hero {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: var(--frame-gap);
  min-height: 0;
}

/* per-slide vertical-alignment overrides */
.slide-frame--top    > .slide-frame__hero,
.feed-frame--top     > .feed-frame__hero,
.story-frame--top    > .story-frame__hero,
.hero-frame--top     > .hero-frame__hero { align-self: start; padding-top: var(--frame-gap); }

.slide-frame--bottom > .slide-frame__hero,
.feed-frame--bottom  > .feed-frame__hero,
.story-frame--bottom > .story-frame__hero,
.hero-frame--bottom  > .hero-frame__hero { align-self: end; padding-bottom: var(--frame-gap); }

.slide-frame__foot,
.feed-frame__foot,
.story-frame__foot,
.hero-frame__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* hero block sub-stack — headline + accent + supporting + cta cluster vertically */
.frame-stack {
  display: flex;
  flex-direction: column;
  gap: var(--frame-gap);
}

.frame-stack--tight { gap: 24px; }
.frame-stack--loose { gap: 72px; }

/* ---------- typography on artboards ---------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.005em;
  line-height: 0.92;
  margin: 0;
}

.h-display em {
  font-style: normal;
  color: var(--red);
}

.h-display .ink-red {
  color: var(--red);
  font-style: normal;
}

.h-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: 0;
  margin: 0;
}

.p-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: 0;
  margin: 0;
}

.p-body--sm {
  font-size: 19px;
  line-height: 1.5;
}

.kicker {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0;
}

.kicker--mute { color: var(--charcoal); opacity: 0.7; }

.canvas--dark .kicker--mute,
.canvas--red  .kicker--mute,
.canvas--ink  .kicker--mute { color: var(--soft); opacity: 0.65; }

/* ---------- handwritten accent — canonical v2 recipe ----------
   Source: feedback_handwritten_headlines_uppercase.md + website-v2 visual brain.
   When used inline inside an .h-display, the accent renders as the same optical
   weight as the surrounding display word — uppercase Tentang Nanti One at 1.05em
   with a small baseline lift.
*/
.accent-hand {
  font-family: var(--font-accent);
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.05em;
  line-height: 0.9;
  display: inline-block;
  position: relative;
  top: 0.05em;
  color: var(--red);
}

/* when the accent runs as its own block, size sensibly; parent stack handles spacing. */
p.accent-hand,
.accent-hand--block {
  display: block;
  font-size: 44px;
  line-height: 1;
  top: 0;
}

.accent-hand--md { font-size: 48px; }
.accent-hand--lg { font-size: 56px; }
.accent-hand--xl { font-size: 64px; }

.accent-hand--ink {
  color: var(--charcoal);
}

.canvas--dark .accent-hand--ink,
.canvas--red  .accent-hand--ink,
.canvas--ink  .accent-hand--ink { color: var(--soft); }

/* ---------- brand marks ---------- */
.handle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: inherit;
  opacity: 0.55;
}

.handle--strong {
  opacity: 1;
  font-weight: 700;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-family: var(--font-body);
  font-size: 18px;
}

.brand-row .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
}

.progress {
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.04em;
  opacity: 0.65;
}

.logo-mark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: inherit;
}

.logo-mark .dot {
  width: 10px;
  height: 10px;
  background: var(--red);
  display: inline-block;
  margin-left: 6px;
  border-radius: 50%;
  transform: translateY(-2px);
}

/* ---------- emphasis primitives ---------- */
.u-red {
  position: relative;
  display: inline-block;
}

.u-red::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  height: 0.18em;
  background: var(--red);
  z-index: -1;
  opacity: 0.85;
}

.u-red--strike::after {
  bottom: 0.40em;
  height: 0.16em;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
}

.tag-pill--ghost {
  background: transparent;
  color: currentColor;
  border: 1.5px solid currentColor;
}

.tag-pill--dark {
  background: var(--dark);
  color: var(--soft);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 36px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: 0.01em;
  border-radius: 8px;
}

.cta-btn--sm { font-size: 26px; padding: 18px 30px; }
.cta-btn--lg { font-size: 38px; padding: 26px 42px; }

.cta-btn .arrow {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 18px;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--red);
  text-decoration: none;
}

.cta-link::after {
  content: "→";
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1;
}

/* ---------- stat / data callout ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 220px;
  line-height: 0.85;
  letter-spacing: -0.015em;
  color: var(--black);
}

.canvas--dark .stat__num,
.canvas--ink  .stat__num,
.canvas--red  .stat__num { color: var(--soft); }

.stat__num em {
  font-style: normal;
  color: var(--red);
}

.stat__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.35;
  max-width: 720px;
}

/* split a big stat into digit + unit on a shared baseline.
   Both share the same line-height; the unit can be smaller via --sm modifier. */
.stat-split {
  display: inline-flex;
  align-items: baseline;
  gap: 0.04em;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.015em;
}

.stat-split__digit { color: var(--red); }
.stat-split__unit  { color: inherit; }
.stat-split__unit--sm { font-size: 0.18em; padding-left: 0.06em; letter-spacing: 0; }

/* ---------- founder card ---------- */
.founder {
  display: flex;
  align-items: center;
  gap: 24px;
}

.founder__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background:
    linear-gradient(155deg, rgba(27,26,24,0.35) 0%, rgba(27,26,24,0) 55%),
    linear-gradient(155deg, #2a221c 0%, #0f0c0a 100%);
  position: relative;
  flex: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.founder__avatar::after {
  content: "NB";
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
  z-index: 1;
}

.founder__avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(215,35,35,0.18) 0%, transparent 50%),
    radial-gradient(80% 60% at 0% 100%, rgba(245,237,237,0.10) 0%, transparent 55%);
  z-index: 0;
}

.founder__avatar--large {
  width: 320px;
  height: 320px;
  border-radius: 50%;
}
.founder__avatar--large::after { font-size: 132px; }

.founder__avatar--square {
  border-radius: 18px;
  width: 360px;
  height: 360px;
}
.founder__avatar--square::after { font-size: 150px; }

.founder__avatar--photo {
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.founder__avatar--photo::after { content: ""; }
.founder__avatar--photo::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.20) 100%),
    linear-gradient(155deg, rgba(215,35,35,0.06) 0%, rgba(0,0,0,0) 55%);
}

/* contractor photo treatments */
.photo-hvac      { background: url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?w=1080&q=80&auto=format&fit=crop') center/cover no-repeat; }
.photo-plumber   { background: url('https://images.unsplash.com/photo-1607472586893-edb57bdc0e39?w=1080&q=80&auto=format&fit=crop') center/cover no-repeat; }
.photo-electric  { background: url('https://images.unsplash.com/photo-1565608087341-404b25492fee?w=1080&q=80&auto=format&fit=crop') center/cover no-repeat; }
.photo-roofer    { background: url('https://images.unsplash.com/photo-1622372738946-62e02505feb3?w=1080&q=80&auto=format&fit=crop') center 30%/cover no-repeat; }
.photo-crew      { background: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?w=1080&q=80&auto=format&fit=crop') center/cover no-repeat; }
.photo-tools     { background: url('https://images.unsplash.com/photo-1530124566582-a618bc2615dc?w=1080&q=80&auto=format&fit=crop') center/cover no-repeat; }
.photo-workshop  { background: url('https://images.unsplash.com/photo-1572297862112-72a0c3a59ce1?w=1080&q=80&auto=format&fit=crop') center/cover no-repeat; }
.photo-coffee    { background: url('https://images.unsplash.com/photo-1481349518771-20055b2a7b24?w=1080&q=80&auto=format&fit=crop') center/cover no-repeat; }
.photo-truck     { background: url('https://images.unsplash.com/photo-1486006920555-c77dcf18193c?w=1080&q=80&auto=format&fit=crop') center/cover no-repeat; }
.photo-handshake { background: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1080&q=80&auto=format&fit=crop') center/cover no-repeat; }

.photo-tint::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,12,10,0.10) 0%, rgba(15,12,10,0.42) 100%),
    linear-gradient(140deg, rgba(215,35,35,0.10) 0%, rgba(215,35,35,0) 55%);
  pointer-events: none;
}

.founder__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.founder__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0;
  color: inherit;
  margin: 0;
}

.founder__role {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0;
}

/* ---------- before/after compare ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.compare__panel {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.compare__panel--bad {
  background: #C9BFB1;
}

.compare__panel--good {
  background: var(--white);
}

.compare__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 4px;
}

.compare__tag--bad {
  background: var(--red);
  color: var(--white);
}

.compare__tag--good {
  background: var(--dark);
  color: var(--soft);
}

/* ---------- audit-style screenshot frame ---------- */
.screen {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.screen__chrome {
  height: 28px;
  background: #ECE6DF;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}

.screen__chrome .b {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C7BFB6;
}

.screen__body {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screen__h {
  height: 16px;
  background: #DAD2C9;
  border-radius: 2px;
  width: 60%;
}

.screen__h--bad { background: #C9B8B8; opacity: 0.7; }

.screen__line {
  height: 8px;
  background: #ECE6DF;
  border-radius: 2px;
}

.screen__line--80 { width: 80%; }
.screen__line--60 { width: 60%; }
.screen__line--45 { width: 45%; }

.screen__btn {
  margin-top: auto;
  height: 36px;
  width: 140px;
  background: var(--red);
  border-radius: 4px;
}

.screen__btn--weak {
  background: #B6ADA3;
  width: 100px;
  height: 28px;
}

.audit-mark {
  position: absolute;
  font-family: var(--font-accent);
  color: var(--red);
  font-size: 28px;
  line-height: 1;
  pointer-events: none;
  padding: 4px 10px;
  background: rgba(255,255,255,0.92);
  border-radius: 6px;
  box-shadow: 0 2px 6px -2px rgba(27,26,24,0.18);
}

.audit-arrow {
  position: absolute;
  color: var(--red);
  pointer-events: none;
}

/* ---------- polaroid moment ---------- */
.polaroid {
  background: var(--white);
  padding: 18px 18px 56px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 18px 36px -18px rgba(27,26,24,0.55),
    0 2px 4px -2px rgba(27,26,24,0.20);
  transform: rotate(-2.5deg);
  position: relative;
}

.polaroid__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: url('https://images.unsplash.com/photo-1530124566582-a618bc2615dc?w=1080&q=80&auto=format&fit=crop') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.polaroid__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,12,10,0) 55%, rgba(15,12,10,0.30) 100%),
    linear-gradient(140deg, rgba(215,35,35,0.08) 0%, rgba(215,35,35,0) 55%);
  pointer-events: none;
}

.polaroid__photo--tools     { background-image: url('https://images.unsplash.com/photo-1530124566582-a618bc2615dc?w=1080&q=80&auto=format&fit=crop'); background-position: center; background-size: cover; }
.polaroid__photo--crew      { background-image: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?w=1080&q=80&auto=format&fit=crop'); background-position: center 30%; background-size: cover; }
.polaroid__photo--coffee    { background-image: url('https://images.unsplash.com/photo-1481349518771-20055b2a7b24?w=1080&q=80&auto=format&fit=crop'); background-position: center; background-size: cover; }
.polaroid__photo--hvac      { background-image: url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?w=1080&q=80&auto=format&fit=crop'); background-position: center; background-size: cover; }
.polaroid__photo--workshop  { background-image: url('https://images.unsplash.com/photo-1572297862112-72a0c3a59ce1?w=1080&q=80&auto=format&fit=crop'); background-position: center; background-size: cover; }
.polaroid__photo--truck     { background-image: url('https://images.unsplash.com/photo-1486006920555-c77dcf18193c?w=1080&q=80&auto=format&fit=crop'); background-position: center; background-size: cover; }

.polaroid__caption {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-accent);
  color: var(--charcoal);
  font-size: 22px;
}

/* ---------- progress dots ---------- */
.dot-progress {
  display: flex;
  gap: 6px;
  align-items: center;
}

.dot-progress span {
  width: 6px;
  height: 6px;
  background: currentColor;
  opacity: 0.25;
  border-radius: 50%;
}

.dot-progress span.is-active {
  opacity: 1;
}

/* ---------- platform tag ---------- */
.plat-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background: rgba(27,26,24,0.06);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--charcoal);
}

/* ---------- palette swatch ---------- */
.swatch-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.swatch {
  aspect-ratio: 1 / 1.05;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: inherit;
  border: 1px solid rgba(62,54,54,0.06);
}

.swatch strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  margin-bottom: 3px;
}

/* ---------- file map grid ---------- */
.filemap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.filemap a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(62,54,54,0.08);
  border-radius: 8px;
  text-decoration: none;
  color: var(--charcoal);
  transition: border-color 0.15s, transform 0.15s;
}

.filemap a:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.filemap__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.55;
}

.filemap__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: var(--black);
}

.filemap__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--charcoal);
}

.filemap__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* ---------- divider ---------- */
.rule {
  border: 0;
  border-top: 1px solid rgba(62,54,54,0.12);
  margin: 48px 0;
}

/* ---------- bio card (used in bios.html) ---------- */
.bio {
  background: var(--white);
  border: 1px solid rgba(62,54,54,0.08);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bio__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(62,54,54,0.08);
}

.bio__plat {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0;
  color: var(--black);
  margin: 0;
}

.bio__meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  opacity: 0.7;
}

.bio__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bio__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.65;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.bio__label .count {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0;
  color: var(--red);
}

.bio__value {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--charcoal);
  white-space: pre-wrap;
  margin: 0;
}

.bio__value strong {
  color: var(--black);
}

/* ---------- IG feed mosaic ---------- */
.feed-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
}

.feed-mosaic .cell {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}

/* ---------- footer ---------- */
.page__foot {
  margin-top: 96px;
  padding-top: 32px;
  border-top: 1px solid rgba(62,54,54,0.12);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--charcoal);
  opacity: 0.6;
  letter-spacing: 0.04em;
}
