/* ==========================================================================
   Akmal — Creative Producer portfolio
   Dark & cinematic. Tokens first, mobile first.
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/SpaceGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro";
  src: url("assets/fonts/SF-Pro.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* color */
  --ink: #030303;        /* page base — near-black */
  --ink-2: #0d0c0b;      /* raised panels */
  --surface: #151412;    /* cards */
  --line: rgba(237, 232, 223, 0.14);
  --bone: #ede8df;       /* primary text */
  --bone-dim: #a89f92;   /* secondary text */
  --accent: #ca0000;     /* single accent — deep red */
  --accent-deep: #9e0000;

  /* type */
  --font-display: "Space Grotesk", "Arial Black", sans-serif;
  --font-body: "SF Pro", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* scale */
  --text-xs: 0.75rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: 1.375rem;

  --space-gutter: clamp(1.25rem, 4vw, 4rem);
  --space-section: clamp(4.5rem, 10vw, 9rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset-ish ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem; /* clear the sticky header on anchor jumps */
  background: var(--ink);
}

/* When JS inertia scrolling is active, hand scroll control to the rAF loop
   so native smooth-scroll doesn't fight the lerp. */
html.has-smooth-scroll { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; }
p, dl, dd, figure, ol { margin: 0; }

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection { background: var(--accent); color: var(--bone); }

/* ---------- slate / timecode labels (signature motif) ---------- */

.slate {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.slate-dot {
  display: inline-block;
  width: 0.5em; height: 0.5em;
  margin: 0 0.35em;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.6s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0.15; } }

.accent { color: var(--accent); }

/* two-tone copy: sentence starts in bone, trails off dim */
.dim { color: var(--bone-dim); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.5rem;
  border: 1px solid var(--bone);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-solid {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bone);
}

.btn-solid:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.btn-ghost { background: transparent; color: var(--bone); border-color: var(--line); }

.btn-ghost:hover { border-color: var(--bone); }

.btn-lg { padding: 0.9rem 2.2rem; font-size: var(--text-md); }

/* sticky mobile CTA — hidden on desktop */
.mobile-cta-group { display: none; }

@media (max-width: 767px) {
  .mobile-cta-group {
    display: flex;
    gap: 0.6rem;
    position: fixed;
    right: var(--space-gutter);
    bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    /* revealed once the user scrolls past the Short Films section */
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .mobile-cta-group.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .mobile-cta {
    display: flex;
    padding: 0.85rem 1.6rem;
    font-size: var(--text-md);
    /* glassy, red-tinted */
    background: rgba(255, 69, 58, 0.22);
    border: 1px solid rgba(255, 69, 58, 0.5);
    color: var(--bone);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    backdrop-filter: blur(14px) saturate(1.3);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  }

  .mobile-cta:hover,
  .mobile-cta:active {
    background: rgba(255, 69, 58, 0.34);
    border-color: rgba(255, 69, 58, 0.7);
  }

  /* square "back to top" button — matches CTA height */
  .mobile-cta-top {
    flex: none;
    width: 3.5rem;
    height: 3.5rem;
    min-height: 0;
    padding: 0;
    font-size: 1.25rem;
    line-height: 1;
  }

  /* keep footer clear of the floating buttons */
  .site-footer { padding-bottom: 5rem; }
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--space-gutter);
  background: rgba(3, 3, 3, 0.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-role {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a:not(.btn) {
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--bone-dim);
  transition: color 0.2s var(--ease);
}

.site-nav a:not(.btn):hover { color: var(--bone); }

.nav-cta { min-height: 40px; padding: 0.4rem 1.1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
}

.nav-toggle-line {
  width: 20px; height: 2px;
  background: var(--bone);
  transition: transform 0.25s var(--ease);
}

@media (max-width: 767px) {
  .brand-role { display: none; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem var(--space-gutter) 1.5rem;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a:not(.btn) {
    width: 100%;
    padding: 0.9rem 0;
    font-size: var(--text-lg);
    font-family: var(--font-display);
    border-bottom: 1px solid var(--line);
  }

  .nav-cta { margin-top: 1.25rem; width: 100%; }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 12vh, 8rem) var(--space-gutter) var(--space-section);
}

.hero > :not(.hero-bg) {
  position: relative;
  z-index: 1;
}

/* placeholder for a looping background reel — dimmed so text stays legible */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ink);
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* anchor to the top of the frame so heads/subjects in the reel don't get cropped */
  object-position: center top;
  filter: brightness(0.35);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 3, 3, 0.35) 0%, rgba(3, 3, 3, 0.9) 100%);
}

.hero-headline {
  margin-top: 1.5rem;
  font-size: clamp(2.9rem, 9vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

/* ---------- client logo belt ---------- */

.logo-belt {
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
}

.belt-track {
  display: flex;
  width: max-content;
}

@media (prefers-reduced-motion: no-preference) {
  .belt-track { animation: belt 28s linear infinite; }
}

@keyframes belt {
  to { transform: translateX(-50%); }
}

.belt-group {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 8vw, 6rem);
  padding-right: clamp(3rem, 8vw, 6rem);
}

.belt-item {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.belt-item img {
  height: 30px;
  width: auto;
}

.belt-item img[src$="empire.png"] {
  height: 40px;
}

/* ---------- short films ---------- */

.shorts {
  display: grid;
  gap: clamp(3rem, 8vw, 5.5rem);
}

.short {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 768px) {
  .short { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-gutter); }
}

.short-media { min-width: 0; }

.short-embed {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #000;
}

.short-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.short-sub {
  margin-top: 0.4rem;
  font-size: var(--text-lg);
  color: var(--bone-dim);
}

.short-desc {
  margin-top: 1.25rem;
  font-size: var(--text-sm);
  line-height: 1.65;
  max-width: 44ch;
}

.short-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.short-meta dt {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 0.25rem;
}

.short-meta dd { font-size: var(--text-sm); }

.short-info .work-link { display: inline-block; margin-top: 1.5rem; text-decoration: none; }

.short-info .work-link:hover { color: var(--accent); }

/* the Name's Jordan poster is wider than 16:9 — slide it left so the
   right-side title art never gets cropped */
#shorts .work-poster { object-position: 100% 50%; }

/* in-post status pill above the film title */

.post-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.1rem;
  padding: 0.45em 1.1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--bone);
}

.post-pill .slate-dot { margin: 0; background: var(--accent); }

/* ---------- tools ---------- */

.tools {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .tools { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

.tool {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
}

.tool-chip {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.tool-name {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  line-height: 1.35;
}

.tool-name em {
  font-style: normal;
  font-weight: 400;
  font-size: var(--text-sm);
  color: var(--bone-dim);
}

.tool-note {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.hero-lower {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  gap: 2.5rem;
}

.hero-sub {
  max-width: 46ch;
  font-size: var(--text-md);
  line-height: 1.55;
  color: var(--bone);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-meta {
  display: grid;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.hero-meta dt {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 0.3rem;
}

.hero-meta dd { font-size: var(--text-sm); }

@media (min-width: 768px) {
  .hero-lower {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: end;
  }

  .hero-sub { grid-column: 1; font-size: var(--text-lg); }
  .hero-actions { grid-column: 1; }

  .hero-meta {
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: end;
    min-width: 260px;
  }
}

/* hero load reveal — one orchestrated moment */

@media (prefers-reduced-motion: no-preference) {
  .reveal-1, .reveal-2, .reveal-3, .reveal-4 {
    opacity: 0;
    transform: translateY(18px);
    animation: rise 0.8s var(--ease) forwards;
  }

  .reveal-2 { animation-delay: 0.12s; }
  .reveal-3 { animation-delay: 0.28s; }
  .reveal-4 { animation-delay: 0.42s; }
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* ---------- sections ---------- */

.section {
  padding: var(--space-section) var(--space-gutter);
  border-top: 1px solid var(--line);
  scroll-margin-top: 64px;
}

.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

.section-title {
  margin-top: 1rem;
  font-size: clamp(1.9rem, 4.5vw, 3.25rem);
  letter-spacing: -0.015em;
  line-height: 1.08;
}

.section-note {
  margin-top: 1rem;
  max-width: 52ch;
  color: var(--bone-dim);
}

/* scroll reveal (added by JS) */

.will-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.will-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- work ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.filter {
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--bone-dim);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.filter span { color: var(--accent); margin-left: 0.4em; }

.filter:hover { color: var(--bone); border-color: var(--bone-dim); }

.filter.is-active {
  background: var(--bone);
  border-color: var(--bone);
  color: var(--ink);
}

.filter.is-active span { color: inherit; }

.work-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .work-grid { grid-template-columns: 1fr 1fr; gap: 3rem var(--space-gutter); }
}

.work-card {
  display: block;
  text-decoration: none;
}

.work-card.is-hidden { display: none; }

.work-media {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

/* browser frame for website shots */

.browser-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s var(--ease);
}

a.work-card:hover .browser-frame img { transform: scale(1.02); }

.browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.55rem 0.8rem;
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}

.browser-bar i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.browser-bar em {
  margin-left: 0.6rem;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--bone-dim);
  letter-spacing: 0.05em;
}

/* typographic fallback when no screenshot exists */

.type-fallback { display: none; }

.browser-frame.no-shot .type-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bone);
}

/* film frame for video placeholders */

.film-frame {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-2);
}

.frame-mark {
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--bone-dim);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
  z-index: 2;
}

.frame-mark.tl { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; }
.frame-mark.tr { top: 10px; right: 10px; border-top-width: 1px; border-right-width: 1px; }
.frame-mark.bl { bottom: 10px; left: 10px; border-bottom-width: 1px; border-left-width: 1px; }
.frame-mark.br { bottom: 10px; right: 10px; border-bottom-width: 1px; border-right-width: 1px; }

.play-mark {
  position: relative;
  z-index: 2;
  width: 0; height: 0;
  border-left: 22px solid var(--accent);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  opacity: 0.9;
  transition: transform 0.2s var(--ease);
}

.frame-label {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: var(--bone-dim);
  white-space: nowrap;
  z-index: 2;
}

/* clickable poster + play trigger for real work videos */

.work-play {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.work-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity 0.2s var(--ease);
}

.work-play:hover .work-poster { transform: scale(1.02); opacity: 0.75; }
.work-play:hover .play-mark { transform: scale(1.12); }
.work-play:focus-visible .play-mark { transform: scale(1.12); }

.play-ring {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid var(--bone);
  background: rgba(3, 3, 3, 0.65);
  box-shadow: 0 0 0 1px rgba(3, 3, 3, 0.4);
}

.play-ring .play-mark {
  margin-left: 5px;
  border-left-width: 26px;
  border-top-width: 16px;
  border-bottom-width: 16px;
  opacity: 1;
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 5vw, 4rem);
  background: rgba(3, 3, 3, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-video,
.lightbox-embed {
  width: 100%;
  max-width: 1120px;
  max-height: 85vh;
  aspect-ratio: 16 / 9;
  background: #000;
  outline: none;
  border: 0;
}

.lightbox-video[hidden],
.lightbox-embed[hidden] { display: none; }

.lightbox-close {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  z-index: 101;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border: none;
  color: var(--bone);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover { background: var(--bone); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .lightbox { transition: none; }
}

/* card text */

.work-info { padding-top: 1.1rem; }

.work-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.work-info h3 {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.work-desc {
  margin-top: 0.4rem;
  font-size: var(--text-sm);
  color: var(--bone-dim);
  max-width: 44ch;
}

.work-link {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--bone);
}

a.work-card:hover .work-link { color: var(--accent); }

/* ---------- services ---------- */

.services {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  gap: 0.75rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.service h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em; }

.service p { color: var(--bone-dim); max-width: 56ch; }

@media (min-width: 768px) {
  .service { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: start; }
}

.pipeline-note {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 3px solid var(--accent);
  background: var(--ink-2);
}

.pipeline-note p {
  max-width: 62ch;
  font-size: var(--text-lg);
  line-height: 1.5;
  font-weight: 500;
}

/* ---------- process ---------- */

.process {
  list-style: none;
  counter-reset: step;
  padding: 0;
  display: grid;
  gap: 2rem;
}

.process li {
  counter-increment: step;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.process li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: var(--accent);
}

.process h3 { margin-top: 0.5rem; font-size: 1.4rem; }

.process p { margin-top: 0.5rem; color: var(--bone-dim); font-size: var(--text-sm); }

@media (min-width: 768px) {
  .process { grid-template-columns: repeat(3, 1fr); gap: var(--space-gutter); }
}

/* ---------- about ---------- */

.about {
  display: grid;
  gap: 2rem;
}

.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 340px;
  background: var(--ink-2);
  border: 1px solid var(--line);
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-photo .frame-label { display: none; }

.about-photo.no-shot .frame-label { display: block; }

.about-text {
  display: grid;
  gap: 1.25rem;
  align-content: center;
  max-width: 58ch;
  font-size: var(--text-lg);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: var(--space-gutter); }
}

/* ---------- contact ---------- */

.contact { text-align: left; }

.contact-headline {
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 16ch;
}

.contact-sub {
  margin-top: 1.25rem;
  color: var(--bone-dim);
  font-size: var(--text-lg);
  max-width: 44ch;
}

.contact-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* keep all three contact buttons on one strip on phones */
@media (max-width: 767px) {
  .contact-actions {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .contact-actions .btn {
    flex: 1;
    min-width: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: var(--text-sm);
    white-space: nowrap;
  }
}

/* ---------- footer ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1.5rem var(--space-gutter) 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--bone-dim);
}

.site-footer a { color: var(--bone-dim); }
.site-footer a:hover { color: var(--bone); }

.brand-caps { text-transform: uppercase; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .slate-dot { animation: none; }

  .will-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
