/* Lola Guimaraes — Portfolio
   Acid & Charcoal: paper background, charcoal type, acid #DFFF00 for the bold moments. Bricolage Grotesque throughout. */

:root {
  /* Acid & Charcoal */
  --acid: #DFFF00;
  --charcoal: #242424;
  --stone: #9B9E95;
  --paper: #F2F2E8;
  --bg: var(--paper);
  --bg-elev: #E9E9DE;
  --bg-card: #E6E6DA;
  --fg: var(--charcoal);
  --fg-muted: #66685F;
  --fg-faint: var(--stone);
  --rule: #D6D6CA;
  --accent: var(--acid);
  --accent-dim: rgba(223, 255, 0, 0.35);
  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --font-sans: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --hw: 700; --hw-strong: 800; --hls: -0.035em;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }

/* Layout wrapper */
.wrap {
  width: 100%;
  padding-left: max(32px, env(safe-area-inset-left, 0px));
  padding-right: max(32px, env(safe-area-inset-right, 0px));
}
@media (max-width: 640px) {
  .wrap {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
}

/* HEADER */
.header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 20px;
}
.brand { display: flex; align-items: baseline; gap: 20px; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.brand-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav { display: flex; gap: 24px; align-items: center; }
.nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav a:hover, .nav a.active { color: var(--fg); }
.nav a.active { box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }
@media (max-width: 640px) {
  .brand-role { display: none; }
  .nav { gap: 16px; }
}

/* HERO */
.hero {
  padding-block: clamp(80px, 14vw, 180px) clamp(60px, 10vw, 120px);
  position: relative;
}
.hero-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-meta span::before { content: '→ '; color: var(--fg-faint); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 9.5vw, 156px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
  color: var(--fg);
}
.hero-title .dim { color: var(--fg-faint); }
.hero-title .line { display: block; overflow: hidden; padding-block: 0.06em 0.12em; margin-block: -0.06em -0.12em; }
.hero-title .line > span { display: inline-block; animation: rise 0.9s cubic-bezier(.2,.7,.1,1) both; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.24s; }
.hero-title .outline { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.lime { color: var(--accent); }
.cursor { animation: blink 1.1s steps(1) infinite; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  max-width: 1200px;
}
.hero-tag {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.7vw, 22px);
  color: var(--fg-muted);
  max-width: 40ch;
  line-height: 1.45;
}
.hero-tag strong { color: var(--fg); font-weight: 500; }
.hero-scroll {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .hero-sub { grid-template-columns: 1fr; }
  .hero-scroll { text-align: left; }
}

/* SECTION HEAD */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  border-top: 1px solid var(--rule);
  margin-bottom: 48px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
  font-weight: 400;
}
.section-head .count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* WORK GRID */
.work { padding-bottom: 100px; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px 20px;
}
.work-item { grid-column: span 6; display: flex; flex-direction: column; cursor: pointer; }
.work-item.feature { grid-column: span 12; }
.work-item.half { grid-column: span 6; }
.work-item.third { grid-column: span 4; }
@media (max-width: 900px) {
  .work-item, .work-item.half, .work-item.third { grid-column: span 12; }
}
.thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  overflow: hidden;
  border: 1px solid var(--rule);
  transition: border-color 0.2s ease;
}
.work-item:hover .thumb { border-color: var(--accent); }
.thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.work-item:hover .thumb img { transform: scale(1.02); }
.thumb.feature { aspect-ratio: 1.9 / 1; }
.thumb.square { aspect-ratio: 4 / 5; }
.thumb-play {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--rule);
}
.work-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  gap: 16px;
}
.work-title {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  color: var(--fg);
  margin: 0;
}
.work-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  white-space: nowrap;
}
.work-desc {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--fg-muted);
  margin-top: 4px;
  line-height: 1.45;
}
.thumb.placeholder {
  display: grid;
  place-items: center;
  background: var(--bg-card);
  background-image: repeating-linear-gradient(
    -45deg, transparent 0 10px, color-mix(in srgb, var(--fg-faint) 40%, transparent) 10px 11px
  );
}
.placeholder-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: var(--bg);
  padding: 8px 14px;
  border: 1px solid var(--rule);
}

/* ABOUT */
.about {
  padding-block: 100px;
  border-top: 1px solid var(--rule);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}
.about-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.about-text {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin: 0;
  color: var(--fg);
  text-wrap: balance;
}
.about-text .dim { color: var(--fg-faint); }
.about-list {
  margin-top: 24px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.about-list li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.about-list li span { color: var(--fg); }
@media (max-width: 500px) { .about-list { grid-template-columns: 1fr; } }

.cv-link {
  display: inline-block;
  margin-top: 32px;
  color: var(--fg);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--fg-muted);
  padding-bottom: 2px;
}
.cv-link:hover { border-color: var(--fg); }

/* CONTACT */
.contact {
  border-top: 1px solid var(--rule);
  padding-block: 80px 60px;
}
.contact-grid-v2 {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 820px) {
  .contact-grid-v2 { grid-template-columns: 1fr; gap: 48px; }
}
.contact-head {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 84px);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.contact-head .dim { color: var(--fg-faint); }
.contact-intro {
  color: var(--fg-muted);
  max-width: 42ch;
  margin: 0 0 32px;
}

/* Contact form */
.contact-form { display: grid; gap: 28px; max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.field input,
.field textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 8px 0;
  outline: none;
  transition: border-color 0.2s ease;
  resize: none;
  width: 100%;
}
.field textarea { min-height: 80px; line-height: 1.5; }
.field input:focus,
.field textarea:focus { border-color: var(--accent); }
.field input::placeholder,
.field textarea::placeholder { color: var(--fg-faint); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: transparent;
  border: 1px solid var(--rule);
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.chip:hover { color: var(--fg); border-color: var(--accent); }
.chip[aria-pressed="true"] {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

.submit {
  justify-self: start;
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--bg);
  background: var(--accent);
  border: 0;
  padding: 18px 36px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
  margin-top: 8px;
}
.submit:hover { background: var(--fg); transform: translateY(-2px); }
.submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success {
  padding: 28px;
  border: 1px solid var(--accent);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
}
.form-success strong {
  font-family: var(--font-display);
  font-size: 24px;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.form-error {
  color: #E57C7C;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: -14px;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-items: flex-start;
}
.contact-links a { color: var(--fg-muted); text-decoration: none; }
.contact-links a:hover { color: var(--accent); }
.contact-email-small {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.contact-email-small a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--fg-faint);
}
.contact-email-small a:hover { border-color: var(--fg); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  animation: pulse 2s ease-in-out infinite;
}

.footer-meta {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
@media (max-width: 500px) {
  .footer-meta { flex-direction: column; gap: 8px; }
}

/* Desktop: lift the small mono labels and body copy so they read at a distance */
@media (min-width: 1024px) {
  body { font-size: 17px; }
  .brand-role, .nav a, .hero-meta, .hero-scroll, .section-head .count,
  .about-label, .about-list li, .cv-link, .contact-links,
  .contact-email-small, .placeholder-label { font-size: 13px; }
  .work-meta, .thumb-play, .field label, .chip, .status, .footer-meta { font-size: 12px; }
  .contact-intro { font-size: 18px; }
  .field input, .field textarea { font-size: 18px; }
}

/* ---------- Character layer ---------- */
::selection { background: var(--accent); color: var(--bg); }

/* Film grain */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Section index numbers */
.idx {
  font-family: var(--font-mono);
  font-size: 0.32em;
  color: var(--accent);
  vertical-align: super;
  margin-right: 0.6em;
  letter-spacing: 0.05em;
}
.about-label .idx { font-size: 1em; vertical-align: baseline; }

/* Editing timeline under the hero */
.timeline { margin-top: clamp(48px, 7vw, 88px); max-width: 1400px; }
.timeline-head {
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-muted); margin-bottom: 10px;
}
.timeline-head .tc { color: var(--accent); font-variant-numeric: tabular-nums; }
.timeline-track {
  position: relative; height: 38px;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 5%);
}
.clip {
  position: absolute; top: 6px; bottom: 6px;
  left: var(--l); width: var(--w);
  background: var(--bg-elev); border: 1px solid var(--fg-faint);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em;
  color: var(--fg-muted); padding: 0 8px;
  display: flex; align-items: center; overflow: hidden; white-space: nowrap;
}
.clip:first-child { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.clip.ghost { border-style: dashed; background: transparent; color: var(--fg-faint); }
.playhead {
  position: absolute; top: -8px; bottom: -8px; left: 0; width: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: scrub 14s linear infinite;
}
.playhead::before {
  content: ''; position: absolute; top: -2px; left: -5px;
  border: 6px solid transparent; border-top-color: var(--accent);
}
@keyframes scrub { from { left: 0; } to { left: 100%; } }

/* Skills ticker */
.ticker {
  border-block: 1px solid var(--rule);
  overflow: hidden; white-space: nowrap;
  padding-block: 18px;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.ticker-track { display: inline-flex; animation: marquee 32s linear infinite; }
.ticker span {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--fg);
  padding-right: 0.9em;
}
.ticker span::after { content: '✳'; color: var(--accent); padding-left: 0.9em; font-size: 0.7em; vertical-align: middle; }
.ticker span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--fg-muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Work cards */
.work-num {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.1em; display: block; margin-bottom: 6px;
}
.work-item:hover .work-title { color: var(--accent); }
.work-item:hover .thumb-play { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.work-title, .thumb-play { transition: color 0.2s ease, background 0.2s ease; }

@keyframes pulse { 50% { box-shadow: 0 0 0 6px transparent; } }

@media (max-width: 640px) {
  .timeline-head span:last-child { display: none; }
  .clip { font-size: 0; padding: 0; }
}

/* Video player overlay */
.work-item[data-video] .thumb::after {
  content: '▶';
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--bg);
  font-size: 20px; padding-left: 4px;
  opacity: 0; transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.work-item[data-video]:hover .thumb::after,
.work-item[data-video]:focus-visible .thumb::after { opacity: 1; transform: none; }
@media (hover: none) { .work-item[data-video] .thumb::after { opacity: 0.9; transform: none; width: 52px; height: 52px; } }
.work-item[data-video]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.player {
  position: fixed; inset: 0; z-index: 200;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  display: flex; flex-direction: column; justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
}
.player[hidden] { display: none; }
.player-bar {
  width: min(100%, 1280px); margin: 0 auto 12px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.player-title { color: var(--accent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-close {
  font: inherit; color: var(--fg); background: transparent;
  border: 1px solid var(--fg-faint); padding: 8px 14px; cursor: pointer;
}
.player-close:hover { border-color: var(--accent); color: var(--accent); }
.player video {
  width: min(100%, 1280px); max-height: calc(100vh - 120px);
  margin: 0 auto; display: block; background: #000; aspect-ratio: 16 / 9;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Multi-page layout ---------- */
.page-head { padding-block: clamp(64px, 10vw, 140px) clamp(40px, 6vw, 72px); }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 128px);
  line-height: 0.92; text-transform: uppercase; letter-spacing: -0.01em;
  margin: 0; font-weight: 400;
}
.page-title .line { display: block; overflow: hidden; padding-block: 0.06em 0.12em; margin-block: -0.06em -0.12em; }
.page-title .line > span { display: inline-block; animation: rise 0.9s cubic-bezier(.2,.7,.1,1) both; }
.page-sub {
  margin: 28px 0 0; max-width: 46ch;
  font-size: clamp(17px, 1.6vw, 21px); color: var(--fg-muted); line-height: 1.45;
}
a.hero-scroll, .section-link { text-decoration: none; transition: color 0.15s ease; }
a.hero-scroll:hover, .section-link:hover { color: var(--accent); }
.contact { border-top: 0; padding-top: clamp(64px, 10vw, 140px); }

/* Home: call-to-action band */
.cta-band {
  border-top: 1px solid var(--rule);
  padding-block: clamp(64px, 9vw, 120px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-text {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 80px);
  line-height: 0.95; text-transform: uppercase; margin: 0; max-width: 14ch;
}
.cta-btn { text-decoration: none; display: inline-block; margin: 0; }

/* About: toolkit */
.tools { padding-bottom: 100px; }
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tools-grid { grid-template-columns: 1fr; } }
.tool {
  border: 1px solid var(--rule); padding: 24px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.tool-name { font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); text-transform: uppercase; }
.tool-use { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }

/* Shared footer */
.site-footer { padding-bottom: 40px; }
.site-footer .footer-meta { margin-top: 0; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { color: var(--fg-muted); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }

/* Very small phones: keep name and menu from colliding */
@media (max-width: 400px) {
  .header-inner { gap: 12px; }
  .brand-name { font-size: 17px; }
  .nav { gap: 12px; }
  .nav a { font-size: 10px; letter-spacing: 0.06em; }
}

/* Brand identity mockups */
.brand-intro { max-width: 60ch; color: var(--fg-muted); margin: -24px 0 32px; font-size: clamp(15px, 1.2vw, 17px); }
figure.work-item { margin: 0; }
.thumb.mock { aspect-ratio: 4 / 3; }
.work-item[data-image] .thumb::after {
  content: '⤢';
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bg) 70%, transparent); color: var(--fg); border: 1px solid var(--rule);
  font-size: 16px; opacity: 0; transition: opacity 0.2s ease, background 0.2s ease;
}
.work-item[data-image]:hover .thumb::after,
.work-item[data-image]:focus-visible .thumb::after { opacity: 1; background: var(--accent); color: var(--bg); border-color: var(--accent); }
@media (hover: none) { .work-item[data-image] .thumb::after { opacity: 1; } }
.work-item[data-image]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.player-image[hidden], .player video[hidden] { display: none; }
.player-image {
  display: block; margin: 0 auto;
  max-width: min(100%, 1400px); max-height: calc(100vh - 120px);
  object-fit: contain;
}

@media (max-width: 340px) {
  .brand-name { font-size: 15px; }
  .nav { gap: 9px; }
  .nav a { font-size: 9px; letter-spacing: 0.04em; }
}

/* Home CTA band: solid lime block */
.cta-band { background: var(--accent); color: var(--bg); border-top: 0; margin-top: 40px; padding-inline: clamp(24px, 5vw, 64px); }
.cta-band .cta-text, .cta-band .cta-text .lime { color: var(--bg); }
.cta-band .cta-btn { background: var(--bg); color: var(--accent); }
.cta-band .cta-btn:hover { background: var(--fg); color: var(--bg); }

/* ---------- Home: showreel slot ---------- */
.reel-page { padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.reel-intro { margin-bottom: clamp(24px, 4vw, 40px); }
.reel-title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(40px, 7vw, 104px); line-height: 0.92; margin: 0;
}
.reel-role { margin: 12px 0 0; font-size: clamp(17px, 1.7vw, 22px); color: var(--fg-muted); }
.reel-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: var(--bg-card); border: 1px solid var(--rule); overflow: hidden;
}
.reel-frame video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; display: none; }
.reel-frame.has-reel video { display: block; }
.reel-frame.has-reel .reel-empty { display: none; }
.reel-empty {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px;
  text-align: center; padding: 24px;
  background-image: repeating-linear-gradient(-45deg, transparent 0 14px, color-mix(in srgb, var(--fg-faint) 25%, transparent) 14px 15px);
}
.reel-empty-icon {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--accent); color: var(--accent); font-size: 22px; padding-left: 4px; margin-bottom: 6px;
}
.reel-empty-title { font-family: var(--font-display); font-size: clamp(24px, 3vw, 40px); text-transform: uppercase; }
.reel-empty-sub { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }
.reel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }
.reel-cta { text-decoration: none; margin: 0; }
.reel-link { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--fg-muted); padding-bottom: 2px; }
.reel-link:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Work: brand card ---------- */
a.work-item { color: inherit; text-decoration: none; }
.brand-thumb { background: #F1E7D8; display: grid; place-items: center; }
.brand-thumb img { width: 86%; height: auto; object-fit: contain; }
.work-item:hover .brand-thumb img { transform: scale(1.03); }

/* ---------- COA brand page ---------- */
.crumb { color: inherit; text-decoration: none; border-bottom: 1px solid var(--fg-faint); }
.crumb:hover { color: var(--accent); }
.case { padding-bottom: clamp(48px, 6vw, 80px); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--rule); padding-top: 32px; }
@media (max-width: 820px) { .case-grid { grid-template-columns: 1fr; gap: 24px; } }
.case-item p { margin: 12px 0 0; color: var(--fg); line-height: 1.55; }
.coa-section { padding-bottom: clamp(56px, 7vw, 96px); }
.coa-motion video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #F1E7D8; border: 1px solid var(--rule); }
.coa-panel { background: #F1E7D8; padding: clamp(24px, 5vw, 64px); border: 1px solid var(--rule); }
.coa-panel img { width: 100%; height: auto; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 720px) { .swatches { grid-template-columns: repeat(2, 1fr); } }
.swatch {
  background: var(--c); aspect-ratio: 1 / 1.1; padding: 16px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; color: #F1E7D8;
}
.swatch.light { color: #2E1A0B; }
.swatch-name { font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 24px); text-transform: uppercase; }
.swatch-hex { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; }
.back-link { display: inline-block; margin-top: 40px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg); text-decoration: none; }
.back-link:hover { color: var(--accent); }
@media (max-width: 640px) {
  .reel-empty { gap: 8px; }
  .reel-empty-icon { width: 44px; height: 44px; font-size: 14px; margin: 0; }
  .reel-empty-title { font-size: 22px; }
  .reel-empty-sub { display: none; }
}

/* ---------- Label font: DM Serif Display italic (replaces the mono caps) ---------- */
.brand-role, .nav a, .hero-meta, .hero-scroll, .section-head .count, .thumb-play, .work-meta,
.placeholder-label, .about-label, .about-list li, .cv-link, .field label, .chip, .form-error,
.contact-links, .contact-email-small, .status, .footer-meta, .idx, .work-num, .player-bar,
.tool-use, .reel-empty-sub, .reel-link, .swatch-hex, .back-link {
  font-style: italic; text-transform: none; letter-spacing: 0.005em; font-weight: 400;
}
.nav a, .brand-role, .hero-meta, .hero-scroll, .section-head .count, .about-label, .cv-link,
.contact-links, .contact-email-small, .reel-link, .back-link, .player-bar { font-size: 17px; }
.thumb-play, .work-meta, .field label, .chip, .status, .footer-meta, .work-num, .tool-use,
.swatch-hex, .placeholder-label, .form-error, .about-list li, .reel-empty-sub { font-size: 15px; }
.idx { font-size: 0.42em; margin-right: 0.45em; }
.about-label .idx { font-size: 1em; }
.hero-meta span::before { content: '— '; }
.nav { gap: 26px; }
@media (min-width: 1024px) {
  .nav a, .brand-role, .hero-meta, .hero-scroll, .section-head .count, .about-label, .cv-link,
  .contact-links, .contact-email-small, .reel-link, .back-link, .player-bar { font-size: 19px; }
  .thumb-play, .work-meta, .field label, .chip, .status, .footer-meta, .work-num, .tool-use,
  .swatch-hex, .placeholder-label, .form-error, .about-list li, .reel-empty-sub { font-size: 16px; }
}
@media (max-width: 640px) { .nav { gap: 16px; } .nav a { font-size: 16px; } }
@media (max-width: 400px) { .nav { gap: 12px; } .nav a { font-size: 15px; letter-spacing: 0; } }
@media (max-width: 340px) { .nav { gap: 9px; } .nav a { font-size: 14px; } }

/* COA page: logo, variants, stickers */
.coa-logo-hero {
  background: #F1E7D8; border: 1px solid var(--rule);
  padding: clamp(32px, 7vw, 96px) 24px;
  display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 1.5vw, 16px);
}
.coa-logo-main { width: min(60%, 420px); mix-blend-mode: multiply; }
.coa-logo-sub { width: min(34%, 240px); mix-blend-mode: multiply; }
.coa-note { color: var(--fg-muted); margin: 16px 0 0; max-width: 52ch; font-size: clamp(16px, 1.3vw, 18px); }
.coa-section .section-head + .coa-note { margin: -24px 0 28px; }
.coa-variants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 720px) { .coa-variants { grid-template-columns: 1fr; } }
.variant { margin: 0; background: var(--bg); border: 1px solid var(--rule); padding: 32px 24px 16px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.variant img { width: 78%; }
.variant figcaption { font-family: var(--font-mono); font-style: italic; font-size: 15px; color: #2E1A0B; align-self: flex-start; }
.variant.dark figcaption { color: #F1E7D8; }
.stickers {
  background: #FFFFFF; border: 1px solid var(--rule);
  padding: clamp(20px, 4vw, 48px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 3vw, 36px); align-items: center; justify-items: center;
}
@media (max-width: 720px) { .stickers { grid-template-columns: repeat(2, 1fr); } }
.stickers img { width: 100%; max-width: 200px; }
.swatch-use { font-size: 14px; opacity: 0.8; }

/* ================= Theme: Midnight lilac ================= */
/* Headlines: Syne in sentence case (replaces the condensed all-caps look) */
.brand-name, .hero-title, .page-title, .section-head h2, .reel-title, .contact-head, .cta-text,
.about-text, .ticker span, .tool-name, .swatch-name, .reel-empty-title, .form-success strong {
  text-transform: none; font-weight: 700; letter-spacing: -0.02em;
}
.brand-name { font-size: clamp(17px, 1.6vw, 21px); letter-spacing: -0.01em; }
.hero-title { font-size: clamp(38px, 7.5vw, 120px); line-height: 0.98; font-weight: 800; }
.page-title { font-size: clamp(40px, 6.5vw, 104px); line-height: 0.98; font-weight: 800; }
.section-head h2 { font-size: clamp(24px, 2.8vw, 36px); }
.reel-title { font-size: clamp(36px, 6vw, 88px); line-height: 0.98; font-weight: 800; }
.contact-head { font-size: clamp(34px, 5.5vw, 76px); line-height: 0.98; font-weight: 800; }
.cta-text { font-size: clamp(28px, 4.5vw, 60px); line-height: 1; }
.about-text { font-size: clamp(22px, 2.5vw, 34px); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }
.ticker span { font-size: clamp(20px, 2.2vw, 30px); font-weight: 600; }
.tool-name { font-size: clamp(19px, 1.7vw, 23px); }
.swatch-name { font-size: clamp(16px, 1.5vw, 20px); }
.reel-empty-title { font-size: clamp(22px, 2.6vw, 34px); }

/* Hero: the coloured word replaces the outline */
.hero-title .outline { color: var(--accent); -webkit-text-stroke: 0; }
.hero-title .lime { color: var(--fg); }
.ticker span:nth-child(even) { color: var(--fg-muted); -webkit-text-stroke: 0; }
.ticker span::after { content: '•'; color: var(--accent); font-size: 0.8em; }

/* Labels and menu: Space Grotesk, normal case (replaces the italic serif) */
.brand-role, .nav a, .hero-meta, .hero-scroll, .section-head .count, .thumb-play, .work-meta,
.placeholder-label, .about-label, .about-list li, .cv-link, .field label, .chip, .form-error,
.contact-links, .contact-email-small, .status, .footer-meta, .idx, .work-num, .player-bar,
.tool-use, .reel-empty-sub, .reel-link, .swatch-hex, .back-link, .variant figcaption {
  font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400;
}
.nav a, .brand-role, .hero-meta, .hero-scroll, .section-head .count, .about-label, .cv-link,
.contact-links, .contact-email-small, .reel-link, .back-link, .player-bar { font-size: 15px; }
.thumb-play, .work-meta, .field label, .chip, .status, .footer-meta, .work-num, .tool-use,
.swatch-hex, .placeholder-label, .form-error, .about-list li, .reel-empty-sub, .variant figcaption { font-size: 14px; }
.nav a { font-weight: 500; }
.idx { font-size: 0.5em; font-weight: 500; }
.hero-meta span::before { content: ''; }
.hero-meta span + span::before { content: '·  '; color: var(--fg-faint); }
.nav { gap: 22px; }
@media (min-width: 1024px) {
  .nav a, .brand-role, .hero-meta, .hero-scroll, .section-head .count, .about-label, .cv-link,
  .contact-links, .contact-email-small, .reel-link, .back-link, .player-bar { font-size: 16px; }
  .thumb-play, .work-meta, .field label, .chip, .status, .footer-meta, .work-num, .tool-use,
  .swatch-hex, .placeholder-label, .form-error, .about-list li, .reel-empty-sub { font-size: 15px; }
}
@media (max-width: 640px) { .nav { gap: 14px; } .nav a { font-size: 14px; } }
@media (max-width: 400px) { .nav { gap: 10px; } .nav a { font-size: 13px; } }
@media (max-width: 340px) { .nav { gap: 8px; } .nav a { font-size: 12px; } }

/* Buttons: softer, rounded, normal case */
.submit { font-family: var(--font-sans); font-weight: 500; font-size: 17px; text-transform: none; letter-spacing: 0; padding: 16px 28px; border-radius: 999px; }
.chip { border-radius: 999px; padding: 8px 14px; }
.reel-toggle, .player-close { border-radius: 999px; }
.thumb, .reel-frame, .coa-logo-hero, .coa-panel, .stickers, .variant, .tool, .coa-motion video { border-radius: 10px; }
.thumb-play { border-radius: 999px; }
.status .dot { background: var(--accent); }
.about-list { grid-template-columns: 1fr; }
@media (min-width: 1200px) { .about-list { grid-template-columns: repeat(2, 1fr); } }
.about-list li { gap: 16px; }

/* ---------- Work: filters, tags, short-form ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter {
  font-family: var(--font-sans); font-size: 15px; color: var(--fg-muted);
  background: transparent; border: 1px solid var(--rule); border-radius: 999px;
  padding: 9px 16px; cursor: pointer;
}
.filter:hover { color: var(--fg); border-color: var(--fg-muted); }
.filter.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
#workGrid .is-hidden { display: none; }
.tags { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-size: 13px; color: var(--fg-muted);
  border: 1px solid var(--rule); border-radius: 999px; padding: 3px 10px;
}
.work-item .work-desc { max-width: 52ch; }
.work-row-head { grid-column: span 12; margin-top: 40px; }
.work-row-head .work-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; }
.work-row-head .work-desc { margin-top: 6px; }
.work-item.vertical { grid-column: span 3; }
.thumb.vertical { aspect-ratio: 9 / 16; }
@media (max-width: 900px) {
  .work-item.vertical { grid-column: span 6; }
}
.work-item:hover .work-title { color: var(--fg); }

.work-kind { display: block; font-size: 14px; color: var(--fg-muted); margin-bottom: 4px; }


/* ---------- No bubbles: flat text filters and tags, square buttons ---------- */
.filters { gap: 0 26px; margin-bottom: 40px; border-bottom: 1px solid var(--rule); }
.filter {
  border: 0; border-radius: 0; background: transparent; padding: 0 0 12px;
  font-size: 16px; color: var(--fg-muted); box-shadow: none;
}
.filter:hover { color: var(--fg); border: 0; }
.filter.is-on { background: transparent; color: var(--fg); box-shadow: inset 0 -2px 0 var(--accent); }
.tags { gap: 0; margin-top: 10px; }
.tags li { border: 0; border-radius: 0; padding: 0; font-size: 14px; }
.tags li + li::before { content: '·'; margin: 0 8px; color: var(--fg-faint); }
.submit, .chip, .reel-toggle, .player-close, .thumb-play { border-radius: 2px; }
.thumb, .reel-frame, .coa-logo-hero, .coa-panel, .stickers, .variant, .tool, .coa-motion video { border-radius: 0; }

/* COA card: the main logo, big and centred */
.brand-thumb { background: #F1E7D8; }
.brand-mark { display: flex; flex-direction: column; align-items: center; gap: 4%; width: 100%; }
.brand-mark img { mix-blend-mode: multiply; height: auto; }
.brand-mark img:first-child { width: 46%; }
.brand-mark img:last-child { width: 26%; }
.work-item:hover .brand-mark img { transform: none; }


/* ================= Technical / professional layer ================= */
body::after { display: none; }
body { font-weight: 300; }
strong, b { font-weight: 500; }

/* Small tracked capitals for every label */
.brand-role, .nav a, .hero-meta, .hero-scroll, .section-head .count, .thumb-play, .work-meta,
.placeholder-label, .about-label, .about-list li, .cv-link, .field label, .chip, .contact-links,
.contact-email-small, .status, .footer-meta, .idx, .work-num, .player-bar, .tool-use,
.reel-empty-sub, .reel-link, .swatch-hex, .back-link, .variant figcaption, .work-kind, .credits dt, .submit {
  font-family: var(--font-sans); font-style: normal; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 11px;
}
@media (min-width: 1024px) {
  .brand-role, .nav a, .hero-meta, .hero-scroll, .section-head .count, .thumb-play, .work-meta,
  .placeholder-label, .about-label, .about-list li, .cv-link, .field label, .chip, .contact-links,
  .contact-email-small, .status, .footer-meta, .idx, .work-num, .player-bar, .tool-use,
  .reel-empty-sub, .reel-link, .swatch-hex, .back-link, .variant figcaption, .work-kind, .credits dt { font-size: 12px; }
}
.nav { gap: 28px; }
.nav a { color: var(--fg-muted); }
.nav a.active, .nav a:hover { color: var(--fg); }
.nav a.active { box-shadow: none; padding-bottom: 0; }
.hero-meta span + span::before { content: '–'; margin: 0 0.8em 0 0; color: var(--fg-faint); }
.hero-meta { gap: 0.8em; }
.brand-name { font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 640px) { .nav { gap: 16px; } .nav a { font-size: 10px; letter-spacing: 0.14em; } }
@media (max-width: 400px) { .nav { gap: 12px; } .nav a { letter-spacing: 0.08em; } }

/* Headlines: Outfit semibold, sentence case */
.hero-title, .page-title, .reel-title, .contact-head { font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
.page-title { font-size: clamp(40px, 6vw, 88px); }
.hero-title { font-size: clamp(40px, 7vw, 112px); }
.page-title .lime, .contact-head .lime, .hero-title .outline { color: var(--fg-muted); }
.section-head h2, .work-row-head .work-title { font-weight: 500; letter-spacing: -0.02em; }
.about-text { font-weight: 400; }
.page-sub, .reel-role, .contact-intro, .hero-tag { font-weight: 300; }
.page-sub { border-left: 0; padding-left: 0; }

/* Buttons: outlined, small radius, tracked caps */
.submit { background: var(--fg); color: var(--bg); border-radius: 4px; padding: 16px 26px; font-size: 12px; }
.submit:hover { background: #FFFFFF; transform: none; }
.chip { border-radius: 4px; }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* Work: every card the same size, credits table under each */
.work-item.half, .work-item.feature { grid-column: span 6; }
@media (max-width: 900px) { .work-item.half, .work-item.feature { grid-column: span 12; } }
.work-grid { gap: 56px 24px; }
.thumb, .thumb.feature { aspect-ratio: 16 / 9; border-radius: 6px; }
.thumb.vertical { aspect-ratio: 9 / 16; }
.thumb.square { aspect-ratio: 1 / 1; }
.work-item:hover .thumb { border-color: var(--fg-faint); }
.work-kind { color: var(--fg-muted); margin: 6px 0 10px; }
.work-title { font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -0.02em; }
.work-desc { font-weight: 300; font-size: 15px; margin-top: 8px; }
.credits { margin: 18px 0 0; border-top: 1px solid var(--rule); }
.credits div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.credits dt { color: var(--fg-muted); }
.credits dd { margin: 0; text-align: right; font-size: 14px; font-weight: 400; color: var(--fg); }
.thumb-play { border-radius: 4px; background: color-mix(in srgb, var(--bg) 70%, transparent); }
.work-item[data-video] .thumb::after { background: var(--fg); color: var(--bg); }
.work-row-head { margin-top: 24px; }
.cta-band { background: var(--bg-elev); color: var(--fg); border: 1px solid var(--rule); border-radius: 6px; }
.cta-band .cta-text, .cta-band .cta-text .lime { color: var(--fg); }
.cta-band .cta-text .lime { color: var(--fg-muted); text-decoration: none; }
.cta-band .cta-btn { background: var(--fg); color: var(--bg); }
.reel-frame, .coa-logo-hero, .coa-panel, .stickers, .variant, .tool, .coa-motion video { border-radius: 6px; }
.status .dot { background: #4ADE80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18); }

/* ---------- About: hero with photos, skills list ---------- */
.about-hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  padding-block: clamp(56px, 8vw, 120px) clamp(48px, 7vw, 100px);
}
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } }
.about-hero .hero-tag { margin-top: 28px; }
.about-hero .hero-scroll { display: inline-block; margin-top: 12px; text-align: left; }
.about-photos { position: relative; padding: 0 0 18% 18%; }
.about-photos img { display: block; width: 100%; height: auto; border-radius: 6px; object-fit: cover; }
.photo-main { aspect-ratio: 3 / 4; }
.photo-small {
  position: absolute; left: 0; bottom: 0; width: 46% !important; aspect-ratio: 3 / 4;
  border: 6px solid var(--bg);
}
@media (max-width: 860px) { .about-photos { max-width: 460px; } }

.skills { padding-bottom: clamp(64px, 8vw, 110px); }
.skill-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.skill {
  display: grid; grid-template-columns: 64px 1.1fr 1.4fr 0.8fr; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--rule);
}
.skill-num, .skill-tools {
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-muted);
}
.skill-tools { text-align: right; }
.skill-name { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; }
.skill-desc { margin: 0; color: var(--fg-muted); font-weight: 300; font-size: 16px; line-height: 1.5; }
@media (max-width: 820px) {
  .skill { grid-template-columns: 44px 1fr; gap: 6px 16px; }
  .skill-desc, .skill-tools { grid-column: 2; text-align: left; }
}

/* ================= Acid & Charcoal ================= */
::selection { background: var(--acid); color: var(--charcoal); }
body { font-weight: 400; }

/* Headlines: Bricolage, heavy and tight */
.hero-title, .page-title, .reel-title, .contact-head { font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; color: var(--charcoal); }
.page-title { font-size: clamp(44px, 7vw, 108px); }
.hero-title { font-size: clamp(44px, 7.5vw, 120px); }
.section-head h2, .work-row-head .work-title, .skill-name, .work-title, .brand-name { font-weight: 700; letter-spacing: -0.03em; }
.section-head h2 { font-size: clamp(26px, 3vw, 40px); }
.about-text { font-weight: 500; letter-spacing: -0.02em; }
.about-text .dim { color: var(--fg-muted); }

/* The acid highlighter on the bold words */
.page-title .lime, .contact-head .lime, .hero-title .outline, .cta-text .lime {
  color: var(--charcoal);
  background: var(--acid);
  padding: 0 0.12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-title .line { overflow: visible; }
.hero-title .lime { color: var(--charcoal); }

/* Labels: charcoal tracked caps; numbers sit on acid */
.idx, .skill-num {
  background: var(--acid); color: var(--charcoal);
  padding: 0.25em 0.5em; letter-spacing: 0.1em; font-weight: 700;
  vertical-align: middle; margin-right: 0.7em;
}
.idx { font-size: 12px; }
.about-label .idx { font-size: 11px; }
.skill-num { justify-self: start; font-size: 12px; }
.work-kind {
  display: inline-block; background: var(--charcoal); color: var(--acid);
  padding: 4px 8px; margin: 10px 0 10px; letter-spacing: 0.18em;
}
.hero-meta, .section-head .count, .about-label, .footer-meta, .credits dt, .skill-tools, .status { color: var(--fg-muted); }

/* Navigation */
.header { background: color-mix(in srgb, var(--paper) 90%, transparent); border-bottom-color: var(--rule); }
.nav a { color: var(--fg-muted); }
.nav a:hover { color: var(--charcoal); }
.nav a.active { color: var(--charcoal); box-shadow: inset 0 -3px 0 var(--acid); padding-bottom: 3px; }

/* Buttons */
.submit { background: var(--acid); color: var(--charcoal); font-weight: 700; border: 2px solid var(--charcoal); border-radius: 0; }
.submit:hover { background: var(--charcoal); color: var(--acid); }
.chip { color: var(--charcoal); border-color: var(--charcoal); border-radius: 0; }
.chip:hover { background: var(--acid); border-color: var(--charcoal); color: var(--charcoal); }
.chip[aria-pressed="true"] { background: var(--charcoal); color: var(--acid); border-color: var(--charcoal); }
.field input, .field textarea { border-bottom-color: var(--stone); }
.field input:focus, .field textarea:focus { border-bottom-color: var(--charcoal); box-shadow: 0 2px 0 var(--acid); }
.field input::placeholder, .field textarea::placeholder { color: var(--stone); }
.cv-link, .reel-link { border-bottom: 3px solid var(--acid); color: var(--charcoal); }
.contact-links a, .back-link, .hero-scroll, .section-link { color: var(--charcoal); }
.contact-links a:hover, .back-link:hover, a.hero-scroll:hover { background: var(--acid); color: var(--charcoal); }
.contact-email-small a { border-bottom: 3px solid var(--acid); }
.status .dot { background: var(--acid); box-shadow: 0 0 0 2px var(--charcoal); }

/* Work cards */
.thumb { border: 2px solid var(--charcoal); border-radius: 0; background: var(--bg-card); }
.work-item:hover .thumb { border-color: var(--charcoal); box-shadow: 6px 6px 0 var(--acid); }
.thumb img { transition: transform 0.4s ease; }
.thumb-play { background: var(--charcoal); color: var(--acid); border: 0; border-radius: 0; }
.work-item:hover .thumb-play { background: var(--acid); color: var(--charcoal); }
.work-item[data-video] .thumb::after { background: var(--acid); color: var(--charcoal); border: 2px solid var(--charcoal); }
.work-item:hover .work-title { color: var(--charcoal); }
.credits, .credits div { border-color: var(--rule); }
.thumb.placeholder { background-color: var(--bg-card); }
.placeholder-label { background: var(--paper); border: 2px solid var(--charcoal); color: var(--charcoal); }

/* Dark charcoal blocks for rhythm */
.cta-band { background: var(--charcoal); color: var(--paper); border: 0; border-radius: 0; }
.cta-band .cta-text { color: var(--paper); }
.cta-band .cta-btn { background: var(--acid); color: var(--charcoal); border-color: var(--acid); }
.cta-band .cta-btn:hover { background: var(--paper); color: var(--charcoal); }
.reel-frame { background: var(--charcoal); border: 2px solid var(--charcoal); border-radius: 0; }
.reel-empty { background-image: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(223,255,0,0.07) 14px 15px); }
.reel-empty-icon { border-color: var(--acid); color: var(--charcoal); background: var(--acid); }
.reel-empty-title { color: var(--paper); }
.reel-empty-sub { color: var(--stone); }
.site-footer { background: var(--charcoal); padding-top: 28px; }
.site-footer .footer-meta { border-top: 0; color: var(--stone); }
.footer-nav a { color: var(--paper); }
.footer-nav a:hover { color: var(--acid); }

/* Video / image viewer stays dark */
.player { background: rgba(36, 36, 36, 0.97); }
.player-title { color: var(--acid); }
.player-close { color: var(--paper); border-color: var(--stone); }
.player-close:hover { color: var(--charcoal); background: var(--acid); border-color: var(--acid); }

/* About */
.about-photos img { border-radius: 0; border: 2px solid var(--charcoal); }
.photo-main { box-shadow: 10px 10px 0 var(--acid); }
.photo-small { border: 2px solid var(--charcoal) !important; outline: 6px solid var(--paper); }
.skill { border-color: var(--rule); }
.skill-list { border-top: 2px solid var(--charcoal); }
.skill:hover .skill-name { background: var(--acid); }
.about-list li { border-bottom-color: var(--rule); }

/* COA brand page panels keep their own coffee colours */
.coa-logo-hero, .coa-panel, .stickers, .variant, .coa-motion video { border-radius: 0; border: 2px solid var(--charcoal); }
.crumb { border-bottom: 2px solid var(--acid); }
/* Acid is never used as text on paper: it becomes a highlighter block */
.lime { color: var(--charcoal); background: var(--acid); padding: 0 0.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-title .lime { background: none; padding: 0; }
.reel-role .lime { font-weight: 700; }

/* ---------- Light / night toggle button ---------- */
.header-inner { gap: 20px; }
.nav { margin-left: auto; }
.mode-toggle {
  flex: none; width: 36px; height: 36px; display: grid; place-items: center;
  background: transparent; color: var(--charcoal); border: 2px solid var(--charcoal);
  border-radius: 0; cursor: pointer; font-size: 16px; line-height: 1; padding: 0;
}
.mode-toggle:hover { background: var(--acid); }
.mode-sun { display: none; }
:root[data-mode="night"] .mode-moon { display: none; }
:root[data-mode="night"] .mode-sun { display: inline; }
@media (max-width: 400px) { .mode-toggle { width: 30px; height: 30px; font-size: 14px; } .header-inner { gap: 10px; } }

/* ================= Night mode: charcoal + paper + acid ================= */
:root[data-mode="night"] {
  --bg: #1A1A1A; --bg-elev: #212121; --bg-card: #262626;
  --fg: #F2F2E8; --fg-muted: #A5A79E; --fg-faint: #5F615A; --rule: #333333;
  color-scheme: dark;
}
:root[data-mode="night"] .header { background: color-mix(in srgb, var(--bg) 90%, transparent); }
:root[data-mode="night"] .hero-title, :root[data-mode="night"] .page-title,
:root[data-mode="night"] .reel-title, :root[data-mode="night"] .contact-head,
:root[data-mode="night"] .work-title, :root[data-mode="night"] .work-item:hover .work-title { color: var(--fg); }
:root[data-mode="night"] .nav a:hover, :root[data-mode="night"] .nav a.active { color: var(--fg); }
:root[data-mode="night"] .mode-toggle { color: var(--fg); border-color: var(--fg-faint); }
:root[data-mode="night"] .mode-toggle:hover { background: var(--acid); color: var(--charcoal); border-color: var(--acid); }

/* cards, borders, links */
:root[data-mode="night"] .thumb { border-color: #3A3A3A; }
:root[data-mode="night"] .work-item:hover .thumb { border-color: var(--fg); }
:root[data-mode="night"] .work-kind { background: #333333; }
:root[data-mode="night"] .placeholder-label { background: var(--bg); border-color: var(--fg-faint); color: var(--fg); }
:root[data-mode="night"] .cv-link, :root[data-mode="night"] .reel-link,
:root[data-mode="night"] .contact-links a, :root[data-mode="night"] .back-link,
:root[data-mode="night"] .hero-scroll, :root[data-mode="night"] .section-link { color: var(--fg); }
:root[data-mode="night"] .submit:hover { border-color: var(--acid); }
:root[data-mode="night"] .chip { color: var(--fg); border-color: var(--fg-faint); }
:root[data-mode="night"] .chip:hover { color: var(--charcoal); border-color: var(--acid); }
:root[data-mode="night"] .chip[aria-pressed="true"] { background: var(--acid); color: var(--charcoal); border-color: var(--acid); }
:root[data-mode="night"] .field input, :root[data-mode="night"] .field textarea { border-bottom-color: var(--fg-faint); }
:root[data-mode="night"] .field input:focus, :root[data-mode="night"] .field textarea:focus { border-bottom-color: var(--fg); }
:root[data-mode="night"] .status .dot { box-shadow: 0 0 0 2px var(--bg); }
:root[data-mode="night"] .skill-list { border-top-color: var(--fg); }

/* dark panels go one step darker; the CTA band turns acid */
:root[data-mode="night"] .reel-frame { background: #111111; border-color: #333333; }
:root[data-mode="night"] .site-footer { background: #111111; }
:root[data-mode="night"] .cta-band { background: var(--acid); }
:root[data-mode="night"] .cta-band .cta-text { color: var(--charcoal); }
:root[data-mode="night"] .cta-band .cta-text .lime { background: var(--charcoal); color: var(--acid); }
:root[data-mode="night"] .cta-band .cta-btn { background: var(--charcoal); color: var(--acid); border-color: var(--charcoal); }
:root[data-mode="night"] .cta-band .cta-btn:hover { background: var(--paper); color: var(--charcoal); }

/* photos and brand panels */
:root[data-mode="night"] .about-photos img { border-color: var(--fg-faint); }
:root[data-mode="night"] .photo-small { border-color: var(--fg-faint) !important; outline-color: var(--bg); }
:root[data-mode="night"] .coa-logo-hero, :root[data-mode="night"] .coa-panel, :root[data-mode="night"] .stickers,
:root[data-mode="night"] .variant, :root[data-mode="night"] .coa-motion video { border-color: #3A3A3A; }
/* The COA card always keeps the brand's milk colour behind the logo */
.thumb.brand-thumb { background: #F1E7D8; }

/* ================= Round 2: personality + consistency ================= */

/* Highlighter: a marker stroke under the lower half of the word (lighter than a full block) */
.lime, .page-title .lime, .contact-head .lime, .hero-title .outline, .cta-text .lime {
  background: linear-gradient(transparent 55%, var(--acid) 55%, var(--acid) 92%, transparent 92%);
  color: inherit; padding: 0 0.06em;
}
.hero-title .lime { background: none; color: inherit; padding: 0; }
.cta-band .cta-text .lime { color: var(--paper); background: none; box-shadow: inset 0 -0.18em 0 var(--acid); }

/* Section numbers: one size everywhere, and clearly bigger than list numbers */
.section-head h2 .idx { font-size: 0.45em; padding: 0.3em 0.55em; vertical-align: 0.35em; margin-right: 0.6em; }
.skill-num { background: none; padding: 0; color: var(--fg-muted); font-size: 13px; letter-spacing: 0.14em; }

/* ---------- Home ---------- */
.home-hero { padding-block: clamp(56px, 8vw, 120px) clamp(28px, 4vw, 48px); }
.home-name {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.055em; line-height: 0.88;
  font-size: clamp(56px, 13vw, 210px); margin: 0;
}
.home-role {
  margin: clamp(14px, 2vw, 24px) 0 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 3.4vw, 52px); letter-spacing: -0.03em; line-height: 1.05; color: var(--fg);
}
.reel-page { padding-block: 0 clamp(56px, 8vw, 110px); }
.reel-empty { background: var(--charcoal); overflow: hidden; }
.reel-empty-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; filter: grayscale(1) contrast(1.1); }
.reel-empty-label, .reel-empty-title { position: relative; }
.reel-empty-label {
  background: var(--acid); color: var(--charcoal); font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; padding: 6px 10px;
}
.reel-empty-title { color: var(--paper); font-weight: 800; font-size: clamp(34px, 6vw, 96px); letter-spacing: -0.045em; text-transform: none; }
.home-work { padding-bottom: clamp(64px, 8vw, 110px); }
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 820px) { .home-grid { grid-template-columns: 1fr; } }
.home-card { color: inherit; text-decoration: none; display: block; }
.home-card .thumb { aspect-ratio: 4 / 3; }
.home-card:hover .thumb { box-shadow: 6px 6px 0 var(--acid); }
.home-card .work-title { margin-top: 2px; }
.home-actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 40px; }
.home-actions .submit { text-decoration: none; }

/* ---------- Work: page head uses the empty right side ---------- */
.page-head-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.page-head-split .page-sub { margin: 0 0 18px; font-size: clamp(17px, 1.5vw, 21px); max-width: 36ch; color: var(--fg); }
.page-head-split .reel-link { display: inline-block; text-decoration: none; }
@media (max-width: 820px) { .page-head-split { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- About: profile with consistent sizes ---------- */
.about { border-top: 0; padding-top: 0; }
.about .about-grid { grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); }
@media (max-width: 820px) { .about .about-grid { grid-template-columns: 1fr; } }
.about-text { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.2; margin: 0; }
.about-list { margin: 0; grid-template-columns: 1fr !important; gap: 0; border-top: 2px solid var(--fg); }
.about-list li {
  font-size: 15px; letter-spacing: 0.12em; padding: 14px 0; color: var(--fg-muted);
}
.about-list li span { font-weight: 600; letter-spacing: 0.06em; color: var(--fg); }
.about-hero .hero-title .lime { color: var(--fg); }

/* Skills hover: readable in both modes */
.skill:hover .skill-name { background: linear-gradient(transparent 60%, var(--acid) 60%); color: var(--charcoal); }

/* ---------- Night mode: brighter, more contrast, acid as text ---------- */
:root[data-mode="night"] {
  --bg: #141414; --bg-elev: #1C1C1C; --bg-card: #212121;
  --fg: #FAFAF2; --fg-muted: #C4C6BC; --fg-faint: #7A7C74; --rule: #383838;
}
:root[data-mode="night"] .lime, :root[data-mode="night"] .page-title .lime,
:root[data-mode="night"] .contact-head .lime, :root[data-mode="night"] .hero-title .outline {
  background: none; color: var(--acid); padding: 0;
}
:root[data-mode="night"] .home-role, :root[data-mode="night"] .page-sub, :root[data-mode="night"] .hero-tag,
:root[data-mode="night"] .work-desc, :root[data-mode="night"] .contact-intro { color: var(--fg-muted); }
:root[data-mode="night"] .hero-meta, :root[data-mode="night"] .section-head .count,
:root[data-mode="night"] .section-link, :root[data-mode="night"] .skill-tools { color: var(--acid); }
:root[data-mode="night"] .work-kind { background: transparent; color: var(--acid); padding: 0; border-left: 3px solid var(--acid); padding-left: 8px; }
:root[data-mode="night"] .thumb { border-color: #4A4A4A; }
:root[data-mode="night"] .work-item:hover .thumb, :root[data-mode="night"] .home-card:hover .thumb { border-color: var(--acid); box-shadow: 6px 6px 0 var(--acid); }
:root[data-mode="night"] .credits dt { color: var(--fg-faint); }
:root[data-mode="night"] .nav a.active { color: var(--acid); }
:root[data-mode="night"] .skill:hover .skill-name { background: none; color: var(--acid); }
:root[data-mode="night"] .skill-num { color: var(--fg-faint); }
:root[data-mode="night"] .about-list { border-top-color: var(--acid); }
:root[data-mode="night"] .photo-main { box-shadow: 10px 10px 0 var(--acid); }
:root[data-mode="night"] .cv-link, :root[data-mode="night"] .reel-link { border-bottom-color: var(--acid); }
:root[data-mode="night"] .cta-band .cta-text .lime { color: var(--charcoal); box-shadow: inset 0 -0.18em 0 var(--charcoal); }
:root[data-mode="night"] .reel-empty-bg { opacity: 0.45; }

/* ---------- Footer: the big closing section on every page ---------- */
.site-footer { background: var(--charcoal); color: var(--paper); padding-top: clamp(56px, 7vw, 96px); padding-bottom: 28px; margin-top: clamp(40px, 6vw, 80px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 80px); padding-bottom: clamp(40px, 6vw, 72px); }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr; } }
.footer-title {
  margin: 0 0 20px; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95;
  font-size: clamp(36px, 5.5vw, 80px); color: var(--paper);
}
.footer-title .lime { background: none; color: var(--acid); padding: 0; }
.footer-email {
  font-size: clamp(17px, 1.6vw, 22px); font-weight: 500; color: var(--paper); text-decoration: none;
  border-bottom: 3px solid var(--acid); padding-bottom: 2px; word-break: break-all;
}
.footer-email:hover { color: var(--acid); }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-content: start; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-label { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--acid); margin-bottom: 6px; }
.footer-col a { color: var(--paper); text-decoration: none; font-size: 17px; width: fit-content; }
.footer-col a:hover { color: var(--acid); }
.site-footer .footer-meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid #3A3A3A; padding-top: 22px; margin: 0; color: var(--stone);
}
.footer-top-link { color: var(--paper); text-decoration: none; }
.footer-top-link:hover { color: var(--acid); }
:root[data-mode="night"] .site-footer { background: #0D0D0D; border-top: 1px solid #2A2A2A; }
.contact { padding-bottom: 0; }

/* ================= Signature: the acid brushstroke ================= */
/* A painted stroke under the key title of each page */
.home-name, .page-title, .contact-head, .about-hero .hero-title { position: relative; isolation: isolate; }
.home-name::after, .page-title::after, .contact-head::after, .about-hero .hero-title::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: -1.5%; right: 18%; bottom: -0.28em; height: 0.42em;
  background: url("../images/brand/stroke.svg") center / 100% 100% no-repeat;
}
.home-name::after { right: 6%; bottom: -0.2em; height: 0.36em; }
.about-hero .hero-title::after { right: 30%; }
/* the old flat highlighter goes: the stroke is the highlight now */
.page-title .lime, .contact-head .lime { background: none; padding: 0; }
.home-name { padding-bottom: 0.12em; }

/* A swipe of paint behind the photo on About */
.about-photos { isolation: isolate; }
.about-photos::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  right: -10%; top: -8%; width: 80%; height: 112%;
  background: url("../images/brand/swipe.svg") center / 100% 100% no-repeat;
}
.photo-main { box-shadow: none !important; }

/* A stroke slicing across the corner of the showreel */
.reel-page { position: relative; isolation: isolate; }
.reel-page::before {
  content: ''; position: absolute; z-index: 2; pointer-events: none;
  right: -1%; top: -26px; width: min(46%, 520px); height: 74px; transform: rotate(-4deg);
  background: url("../images/brand/stroke.svg") center / 100% 100% no-repeat;
}

/* Night mode leans into it: paper text, acid strokes, stone for detail */
:root[data-mode="night"] .page-title .lime, :root[data-mode="night"] .contact-head .lime { color: var(--fg); }
:root[data-mode="night"] .home-role { color: var(--acid); }
:root[data-mode="night"] .header { border-bottom: 1px solid #2E2E2E; }
/* stroke sizing: thicker, and sitting under the title instead of on the next line */
.home-name::after { left: -1%; right: 4%; bottom: -0.34em; height: 0.44em; }
.page-title::after, .contact-head::after, .about-hero .hero-title::after { bottom: -0.36em; height: 0.4em; }
.home-role { margin-top: clamp(30px, 4.2vw, 64px); }
.page-head .page-title, .contact-head { margin-bottom: 0.45em; }
.reel-page::before { height: 64px; top: -22px; }
.about-hero .hero-tag { margin-top: clamp(40px, 4.5vw, 64px); }
.contact-head { margin-bottom: 0.7em !important; }
.page-head .page-title { margin-bottom: 0.55em; }
.about-photos::before { right: -16%; top: -14%; width: 96%; height: 124%; }

/* ================= Round 3: playful accents ================= */
/* Paint splatters, placed on a few key spots */
.splat {
  position: absolute; z-index: -1; pointer-events: none; display: block;
  background: url("../images/brand/splatter.svg") center / contain no-repeat;
}
.home-hero, .page-head, .skills, .contact-form, .photo-head { position: relative; isolation: isolate; }
.splat-hero   { width: clamp(160px, 22vw, 320px); aspect-ratio: 1; right: 2%; top: 4%; opacity: 0.95; }
.splat-head   { width: clamp(120px, 15vw, 220px); aspect-ratio: 1; right: 4%; top: -4%; }
.splat-skills { width: clamp(110px, 12vw, 180px); aspect-ratio: 1; right: 0; top: -40px; }
.splat-form   { width: 120px; aspect-ratio: 1; left: -38px; bottom: -42px; }
.splat-photo  { width: clamp(90px, 10vw, 150px); aspect-ratio: 1; left: -30px; top: -26px; }
.page-head-split .splat-head { right: 38%; top: 10%; }
@media (max-width: 820px) { .splat-hero { right: -6%; top: 0; } .page-head-split .splat-head { right: -4%; top: 0; } }

/* Home: the round stamp, and a bold acid offset behind the showreel */
.stamp {
  position: absolute; right: clamp(16px, 6vw, 110px); top: clamp(30px, 6vw, 90px);
  width: clamp(96px, 11vw, 160px); height: auto; transform: rotate(-12deg); z-index: 2;
}
@media (max-width: 640px) { .stamp { top: 12px; width: 84px; } }
.reel-frame { box-shadow: 12px 12px 0 var(--acid); }
.home-role { max-width: 18ch; }

/* Cenô: a header that stands out */
.photo-head { margin-top: 56px; padding-top: 40px; border-top: 2px solid var(--fg); }
.photo-title {
  margin: 4px 0 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95;
  font-size: clamp(56px, 9vw, 140px); position: relative; display: inline-block; isolation: isolate;
}
.photo-title::after {
  content: ''; position: absolute; z-index: -1; left: -3%; right: -6%; bottom: -0.18em; height: 0.36em;
  background: url("../images/brand/stroke.svg") center / 100% 100% no-repeat;
}
.photo-desc { margin: 18px 0 8px; max-width: 46ch; font-size: clamp(17px, 1.6vw, 21px); color: var(--fg); }
:root[data-mode="night"] .photo-head { border-top-color: var(--acid); }

/* COA: logo variations in one row, no dead space */
.variations-row { grid-template-columns: repeat(7, 1fr) !important; gap: clamp(8px, 1.6vw, 20px); padding: clamp(20px, 3vw, 36px); }
@media (max-width: 900px) {
  .variations-row { display: flex !important; flex-wrap: wrap; justify-content: center; }
  .variations-row img { width: calc(25% - 16px); }
}
@media (max-width: 520px) { .variations-row img { width: calc(33% - 12px); } }
.home-role { max-width: none; }
.stamp { top: clamp(16px, 3vw, 44px); }
.photo-head .work-kind { display: table; margin-bottom: 14px; }
.splat-photo { left: auto; right: 6%; top: 30px; width: clamp(110px, 13vw, 190px); }
/* Photography header: the discipline is the title, the client is a detail */
.photo-head { margin-top: 48px; padding-top: 32px; }
.photo-title { font-size: clamp(36px, 5vw, 72px); }
.photo-desc { font-size: clamp(16px, 1.3vw, 19px); color: var(--fg-muted); margin-top: 16px; }
.photo-client {
  display: inline-block; margin-right: 10px; padding: 3px 8px;
  background: var(--charcoal); color: var(--acid);
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; vertical-align: 2px;
}
:root[data-mode="night"] .photo-client { background: #333333; }
.splat-photo { width: clamp(80px, 9vw, 130px); top: 20px; right: 8%; }

/* ---------- Hover contrast: never acid text on the light background ---------- */
.reel-link:hover, .section-link:hover, .crumb:hover, a.hero-scroll:hover, .back-link:hover, .contact-links a:hover {
  color: var(--charcoal); background: var(--acid); border-color: var(--charcoal);
}
.work-item[data-image]:hover .thumb::after, .work-item[data-image]:focus-visible .thumb::after {
  color: var(--charcoal); border: 2px solid var(--charcoal);
}
/* in night mode the background is dark, so acid text reads well */
:root[data-mode="night"] .reel-link:hover, :root[data-mode="night"] .section-link:hover,
:root[data-mode="night"] .crumb:hover, :root[data-mode="night"] a.hero-scroll:hover,
:root[data-mode="night"] .back-link:hover, :root[data-mode="night"] .contact-links a:hover {
  color: var(--acid); background: none; border-color: var(--acid);
}
.footer-email { word-break: normal; }

/* Phones: keep the location line clear of the stamp */
@media (max-width: 640px) {
  .home-hero .hero-meta { padding-right: 112px; }
}

/* Home name: big but not edge to edge on desktop (phones unchanged) */
.home-name { font-size: clamp(56px, 10.4vw, 150px); }

/* Showreel: a cinema screen, not a wall */
.reel-page .reel-frame { max-width: 1100px; box-shadow: 8px 8px 0 var(--acid); }
.reel-page { --gutter: 32px; }
@media (max-width: 640px) { .reel-page { --gutter: 20px; } }
.reel-page::before {
  right: auto; width: min(40vw, 480px);
  left: calc(var(--gutter) + min(100% - 2 * var(--gutter), 1100px) - min(40vw, 480px) + 16px);
}
.home-actions { max-width: 1100px; }
