/* =============================================================
   ALAMI STUDIOS · styles.css
   Brand Manual v1.0 · Locked May 2026
   ============================================================= */

/* ---------- Google Fonts ---------- */

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

/* ---------- Design Tokens ---------- */
:root {
  /* Studio Alpine palette */
  --paper:    #FAFAFA;
  --ink:      #0A0A0A;
  --fog:      #8A8A8A;
  --rule:     #E5E5E5;
  --glacier:  #3B5260;
  --stone:    #D4D4D4;
  --signal:   #E8FF3A;

  /* Typography stacks */
  --display:  'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --body:     'Inter', 'Helvetica Neue', Arial, sans-serif;
  --mono:     'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  /* Layout */
  --nav-h:    72px;
  --max-w:    1440px;
  --pad-x:    56px;
  --ease:     0.25s ease;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a    { color: inherit; text-decoration: none; }
img  { display: block; max-width: 100%; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

/* ---------- Typography utilities ---------- */
.kicker,
.caption {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
}

.rule {
  display: block;
  height: 1px;
  background: var(--rule);
  width: 100%;
  border: 0;
}

/* ---------------------------------------------------------------
   NAVBAR · Aperture mark + wordmark + mono nav links
   Page-load entrance: aperture fades in, wordmark clip-wipes,
   nav links cascade in. Animation-fill-mode: both keeps the
   pre-animation state on the first paint so there is no flash.
--------------------------------------------------------------- */
@keyframes navMarkIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes navWordmarkWipe {
  from { clip-path: inset(0 100% 0 0); -webkit-clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0);    -webkit-clip-path: inset(0 0 0 0); }
}

.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
  gap: 24px;
}

/* Logo lockup (aperture + wordmark) */
.navbar__logo {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}

.navbar__logo svg {
  width: 38px;
  height: 38px;
  display: block;
  animation: navMarkIn 0.45s ease-out both;
}

.navbar__logo svg polygon,
.navbar__logo svg line {
  stroke: var(--ink);
}

.navbar__wordmark {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  animation: navWordmarkWipe 0.65s cubic-bezier(0.85, 0, 0.15, 1) 0.25s both;
}

/* Centre nav links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.navbar__links a {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
  transition: opacity var(--ease);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width var(--ease);
}

.navbar__links a:hover::after,
.navbar__links a.active::after { width: 100%; }

/* Reel CTA · yellow accent on website only, sparingly */
.navbar__reel {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.navbar__reel a {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity var(--ease);
}

.navbar__reel a .arrow { color: var(--signal); }
.navbar__reel a:hover { opacity: 0.65; }

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: all var(--ease);
}

.navbar__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.navbar__mobile {
  position: fixed;
  top: var(--nav-h);
  inset-inline: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 28px var(--pad-x) 40px;
  display: none;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar__mobile.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.navbar__mobile a {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------------------------------------------------------------
   PAGE WRAPPER
--------------------------------------------------------------- */
.page-content { padding-top: var(--nav-h); flex: 1; }

/* ---------------------------------------------------------------
   HOME · HERO  (stacked wordmark over cinematic still)
--------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  background: #050709;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* Ken Burns: the drift runs CONTINUOUSLY on every slide, fully
   decoupled from the crossfade. is-active only changes opacity, so
   there is never a transform snap or animation restart mid-fade. */
@keyframes heroDrift {
  from { transform: scale(1.04) translate(0, 0); }
  to   { transform: scale(1.11) translate(-1.2%, 0.8%); }
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero__bg.is-active { opacity: 0.85; }

/* Stagger phases and alternate direction so no two slides move in
   sync. Negative delays start each one mid-cycle. */
.hero__bg--2, .hero__bg--4, .hero__bg--6, .hero__bg--8 {
  animation-direction: alternate-reverse;
}
.hero__bg--1 { animation-delay: 0s; }
.hero__bg--2 { animation-delay: -3s; }
.hero__bg--3 { animation-delay: -6s; }
.hero__bg--4 { animation-delay: -9s; }
.hero__bg--5 { animation-delay: -12s; }
.hero__bg--6 { animation-delay: -15s; }
.hero__bg--7 { animation-delay: -5s; }
.hero__bg--8 { animation-delay: -10s; }

@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; transform: none; }
}

/* Each slide gets its own image */
/* Horizontal / landscape devices: use the main hero folder (7 photos) */
.hero__bg--1 { background-image: url('assets/images/hero/hero-1.jpg'); }
.hero__bg--2 { background-image: url('assets/images/hero/hero-2.jpg'); }
.hero__bg--3 { background-image: url('assets/images/hero/hero-3.jpg'); }
.hero__bg--4 { background-image: url('assets/images/hero/hero-4.jpg'); }
.hero__bg--5 { background-image: url('assets/images/hero/hero-5.jpg'); }
.hero__bg--6 { background-image: url('assets/images/hero/hero-6.jpg'); }
.hero__bg--7 { background-image: url('assets/images/hero/hero-7.jpg'); }

/* Slots 8 and 9 only exist for portrait mode: hide them everywhere else
   so the JS slideshow skips them on landscape. */
.hero__bg--vertical-only { display: none; }

/* Vertical devices (phones held upright, tablets in portrait): swap in
   the hero-vertical folder photos and reveal slots 8 and 9. */
@media (orientation: portrait) {
  .hero__bg--1 { background-image: url('assets/images/hero-vertical/hero-1.jpg'); }
  .hero__bg--2 { background-image: url('assets/images/hero-vertical/hero-2.jpg'); }
  .hero__bg--3 { background-image: url('assets/images/hero-vertical/hero-3.jpg'); }
  .hero__bg--4 { background-image: url('assets/images/hero-vertical/hero-4.jpg'); }
  .hero__bg--5 { background-image: url('assets/images/hero-vertical/hero-5.jpg'); }
  .hero__bg--6 { background-image: url('assets/images/hero-vertical/hero-6.jpg'); }
  .hero__bg--7 { background-image: url('assets/images/hero-vertical/hero-7.jpg'); }
  .hero__bg--8 { background-image: url('assets/images/hero-vertical/hero-8.jpg'); }
  .hero__bg--vertical-only { display: block; }
}

.hero__gradient-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1a2530 0%, #0f1a22 35%, #0a1218 60%, #050709 100%);
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.20) 0%,
    rgba(0,0,0,0.00) 30%,
    rgba(0,0,0,0.00) 60%,
    rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad-x) 56px;
  width: 100%;
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.hero__title {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(64px, 9.5vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--paper);
}

.hero__caption {
  margin-top: 24px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.9);
}

.hero__cta {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity var(--ease);
  white-space: nowrap;
}

.hero__cta .arrow { color: var(--signal); }
.hero__cta:hover { opacity: 0.7; }

/* ---------------------------------------------------------------
   SECTIONS · shared chrome
--------------------------------------------------------------- */
.section {
  padding: 96px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}

.section__label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
}

.section__count {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog);
}

.section__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 48px;
}

/* ---------------------------------------------------------------
   HOME · FEATURED WORK
--------------------------------------------------------------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ---------------------------------------------------------------
   WORK CARD  (shared: featured + portfolio grid)
--------------------------------------------------------------- */
.work-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #0a0a0a;
  aspect-ratio: 16 / 10;
  display: block;
}

.work-card__thumb {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: saturate(0.95) contrast(1.02);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.00) 35%,
    rgba(0,0,0,0.75) 100%);
  transition: background var(--ease);
  z-index: 1;
}

.work-card__border {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color var(--ease);
  z-index: 3;
  pointer-events: none;
}

.work-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.work-card__category {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250,250,250,0.7);
  margin-bottom: 6px;
}

.work-card__title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.work-card__meta {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,250,250,0.5);
  text-align: right;
  white-space: nowrap;
}

/* Play icon for video cards */
.work-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(250,250,250,0.5);
  background: rgba(10,10,10,0.35);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--paper);
  z-index: 3;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.work-card:hover .work-card__thumb {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.04);
}

.work-card:hover .work-card__overlay {
  background: linear-gradient(180deg,
    rgba(0,0,0,0.20) 0%,
    rgba(0,0,0,0.05) 35%,
    rgba(0,0,0,0.85) 100%);
}

.work-card:hover .work-card__border { border-color: rgba(250,250,250,0.25); }

.work-card[data-type="video"]:hover .work-card__play {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* ---------------------------------------------------------------
   HOME · VIEW ALL CTA
--------------------------------------------------------------- */
.cta-strip {
  text-align: center;
  padding: 24px var(--pad-x) 96px;
}

.cta-strip a {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  transition: background var(--ease), color var(--ease);
}

.cta-strip a:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ---------------------------------------------------------------
   HOME · SELECTED CLIENTS  (brand-style logo wall replacement)
--------------------------------------------------------------- */
.clients {
  padding: 48px var(--pad-x) 56px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

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

.clients__label,
.clients__count {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
}

.clients__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}

.clients__list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  padding-right: 24px;
}

.clients__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* ---------------------------------------------------------------
   FOOTER
--------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 72px var(--pad-x) 40px;
  margin-top: 0;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(250,250,250,0.12);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__lockup svg polygon,
.footer__lockup svg line {
  stroke: var(--paper);
}

.footer__wordmark {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--paper);
}

.footer__tagline {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250,250,250,0.6);
  max-width: 280px;
}

.footer__col h4 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250,250,250,0.5);
  margin-bottom: 14px;
}

.footer__col a,
.footer__col span {
  display: block;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 400;
  color: var(--paper);
  padding: 4px 0;
  transition: opacity var(--ease);
}

.footer__col a:hover { opacity: 0.6; }

.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,250,250,0.45);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------------------------------------------------------------
   WORK PAGE
--------------------------------------------------------------- */
.work-header {
  padding: 80px var(--pad-x) 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.work-header__kicker {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 20px;
}

.work-header__title {
  font-family: var(--display);
  font-size: clamp(64px, 11vw, 168px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.work-header__lead {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.35;
  color: var(--ink);
  max-width: 720px;
  margin-top: 28px;
}

/* Filter tabs */
.filter-tabs {
  padding: 32px var(--pad-x) 0;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--rule);
}

.filter-tab {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
  padding: 12px 0 16px;
  position: relative;
  transition: color var(--ease);
}

.filter-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.filter-tab.active        { color: var(--ink); }
.filter-tab.active::after { transform: scaleX(1); }
.filter-tab:hover         { color: var(--ink); }

/* Portfolio grid */
.portfolio-grid {
  padding: 48px var(--pad-x) 120px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-grid .work-card {
  aspect-ratio: 4 / 3;
}

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

/* ---------------------------------------------------------------
   ABOUT PAGE
--------------------------------------------------------------- */
.about-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--pad-x) 120px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.about-portrait {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}

.about-portrait__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  filter: saturate(0.96) contrast(1.02);
}

.about-portrait__caption {
  margin-top: 14px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
}

.about-text__kicker {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 18px;
}

.about-text__name {
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 14px;
}

.about-text__role {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 48px;
}

.about-text__bio {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 56px;
  max-width: 620px;
}

.about-text__bio p + p { margin-top: 18px; }

/* Credentials block */
.about-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.about-cred__label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 12px;
}

.about-cred__item {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  padding: 12px 0;
  border-top: 1px solid var(--rule);
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.about-cred__item:first-of-type { border-top: 1px solid var(--ink); }

/* Location */
.about-location {
  padding-top: 32px;
  border-top: 1px solid var(--ink);
}

.about-location__label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 10px;
}

.about-location__value {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------------------------------------------------------------
   PROCESS PAGE · contact-sheet BTS
   Mixed-orientation dense grid. Portraits span 2 rows, landscapes
   span 1, occasional features span 2 cols. grid-auto-flow:dense
   packs the gaps automatically so the page reads as one continuous
   contact sheet regardless of orientation mix.
--------------------------------------------------------------- */
.process-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--pad-x) 24px;
  width: 100%;
}
.process-header__kicker {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 20px;
}
.process-header__title {
  font-family: var(--display);
  font-size: clamp(64px, 11vw, 168px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.process-header__lead {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.35;
  color: var(--ink);
  max-width: 720px;
  margin-top: 28px;
}

/* The contact sheet section */
.bts {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px var(--pad-x) 120px;
  width: 100%;
}
.bts__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 28px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.bts__head-label { color: var(--ink); }
.bts__head-meta  { color: var(--fog); }

.bts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 14px;
}

.bts__card {
  position: relative;
  overflow: hidden;
  background: #050709;
  border: 1px solid var(--ink);
}
.bts__card--portrait { grid-row: span 2; }
.bts__card--feature  { grid-column: span 2; }
.bts__card--tall     { grid-row: span 2; grid-column: span 2; }

/* Cinematic placeholder behind every image, shown when src is missing */
.bts__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, #1a242d 0%, #0f1820 55%, #050709 100%);
  z-index: 0;
}
.bts__card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: saturate(0.96) contrast(1.02);
  transition: transform 0.7s ease, filter 0.4s ease;
}
.bts__card:hover .bts__card__img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.05);
}

/* Top + bottom dark gradients to keep mono chrome legible over any frame */
.bts__card__chrome-top,
.bts__card__chrome-bot {
  position: absolute;
  left: 0; right: 0;
  height: 56px;
  z-index: 2;
  pointer-events: none;
}
.bts__card__chrome-top {
  top: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, transparent 100%);
}
.bts__card__chrome-bot {
  bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, transparent 100%);
}

.bts__card__index,
.bts__card__caption {
  position: absolute;
  z-index: 3;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.85);
}
.bts__card__index {
  top: 12px;
  right: 14px;
}
.bts__card__caption {
  bottom: 12px;
  left: 14px;
  right: 14px;
}

@media (max-width: 1024px) {
  .bts__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .bts__card--tall { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bts__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bts__card { grid-row: span 1 !important; grid-column: span 1 !important; }
  .bts__card--portrait { aspect-ratio: 3 / 4; }
  .bts__card:not(.bts__card--portrait) { aspect-ratio: 16 / 10; }
}

/* ---------------------------------------------------------------
   CONTACT PAGE
--------------------------------------------------------------- */
.contact-layout {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px var(--pad-x) 120px;
}

.contact-intro__kicker {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 20px;
}

.contact-intro__title {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 28px;
}

.contact-intro__lead {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  max-width: 480px;
  margin-bottom: 48px;
}

.contact-detail {
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: baseline;
}

.contact-detail:first-of-type { border-top: 1px solid var(--ink); }

.contact-detail__label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
}

.contact-detail__value {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.contact-detail__value a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: border-color var(--ease);
}

.contact-detail__value a:hover { border-bottom-color: var(--ink); }

/* Form column */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-form__head {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 16px;
}

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

.form-group label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  outline: none;
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--ease);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%230A0A0A' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 20px;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--ink); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--stone); }

.form-submit {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  padding: 16px 32px;
  align-self: flex-start;
  transition: opacity var(--ease);
}

.form-submit:hover { opacity: 0.85; }

/* ---------------------------------------------------------------
   LIGHTBOX MODAL
--------------------------------------------------------------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10, 10, 10, 0.96);
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox__close {
  position: fixed;
  top: 22px;
  right: 28px;
  font-family: var(--mono);
  font-size: 24px;
  line-height: 1;
  color: var(--paper);
  z-index: 9001;
  transition: opacity var(--ease);
}

.lightbox__close:hover { opacity: 0.6; }

.lightbox__content {
  position: relative;
  width: 90vw;
  max-width: 1200px;
  z-index: 9000;
}

.lightbox__video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}

.lightbox__video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.lightbox__photo {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
}

.lightbox__meta {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 4px;
}

.lightbox__meta-title {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -0.005em;
}

.lightbox__meta-cat {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250,250,250,0.55);
}

.lightbox__arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 28px;
  color: rgba(250,250,250,0.5);
  z-index: 9001;
  padding: 16px;
  transition: color var(--ease);
}

.lightbox__arrow:hover { color: var(--paper); }
.lightbox__arrow--prev { left: 12px; }
.lightbox__arrow--next { right: 12px; }

/* Photo grid lightbox */
.lightbox__grid-wrap {
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.lightbox__grid-wrap::-webkit-scrollbar       { width: 4px; }
.lightbox__grid-wrap::-webkit-scrollbar-track { background: transparent; }
.lightbox__grid-wrap::-webkit-scrollbar-thumb { background: rgba(250,250,250,0.18); border-radius: 2px; }

.lightbox__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.lightbox__grid-item {
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #0a0a0a;
}

.lightbox__grid-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.25s ease;
}

.lightbox__grid-item:hover img {
  transform: scale(1.04);
  opacity: 0.78;
}

.lightbox__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 80px 0;
}
.lightbox__loading-mark {
  display: block;
  width: 56px;
  height: 56px;
  stroke: var(--paper);
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.lightbox__loading-mark line,
.lightbox__loading-mark polygon {
  vector-effect: non-scaling-stroke;
  stroke-width: 4;
}
.lightbox__loading-label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,250,250,0.5);
}

/* Respect reduced-motion users for the page-load entrance */
@media (prefers-reduced-motion: reduce) {
  .navbar__logo svg,
  .navbar__wordmark {
    animation: none;
  }
}

/* ---------------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------------- */

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
  :root { --pad-x: 32px; }

  .footer__inner { grid-template-columns: 1fr 1fr; }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px var(--pad-x) 80px;
  }

  .about-portrait { position: static; max-width: 420px; }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 60px var(--pad-x) 80px;
  }
}

/* Tablet narrow ≤ 860px */
@media (max-width: 860px) {
  .navbar__links,
  .navbar__reel { display: none; }
  .navbar__hamburger { display: flex; }

  .hero__content { flex-direction: column; align-items: flex-start; gap: 24px; padding: 0 var(--pad-x) 48px; }

  .featured-grid { grid-template-columns: 1fr; }
}

/* Mobile ≤ 600px */
@media (max-width: 600px) {
  :root { --pad-x: 20px; --nav-h: 64px; }

  .portfolio-grid { grid-template-columns: 1fr; padding: 32px var(--pad-x) 60px; }

  .section { padding: 64px var(--pad-x); }

  .clients__list { grid-template-columns: 1fr; }

  /* Compact mobile footer: brand block on top, then a 2-column grid of
     short link columns. Smaller type, tighter spacing. */
  .footer { padding: 36px var(--pad-x) 20px; }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    padding-bottom: 20px;
  }
  .footer__brand {
    grid-column: 1 / -1;
    gap: 10px;
    margin-bottom: 4px;
  }
  .footer__tagline { font-size: 11px; max-width: none; }
  .footer__col h4 {
    font-size: 10px;
    margin-bottom: 6px;
    letter-spacing: 0.14em;
  }
  .footer__col a,
  .footer__col span {
    font-size: 13px;
    padding: 2px 0;
  }
  .footer__bottom {
    padding-top: 14px;
    font-size: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .about-credentials { grid-template-columns: 1fr; gap: 32px; }

  .contact-detail { grid-template-columns: 1fr; gap: 6px; }

  .lightbox__grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox__arrow { font-size: 20px; padding: 10px; }
  .lightbox__arrow--prev { left: 4px; }
  .lightbox__arrow--next { right: 4px; }
}

/* Suppress iOS native video controls */
video::-webkit-media-controls                       { display: none !important; }
video::-webkit-media-controls-start-playback-button { display: none !important; }

.work-card img,
.work-card video { pointer-events: none; }

/* =================================================================
   REDESIGN 2026 · motion, persuasion, editorial layers
================================================================= */

/* ---------------------------------------------------------------
   HERO · booking status line
--------------------------------------------------------------- */
@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.8); }
}
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.85);
}
.hero__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  animation: statusPulse 2.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero__status-dot { animation: none; }
}

/* ---------------------------------------------------------------
   TICKER · slow mono marquee under the hero
--------------------------------------------------------------- */
.ticker {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker__track {
  display: inline-flex;
  animation: tickerScroll 38s linear infinite;
}
.ticker__group {
  display: inline-flex;
  align-items: center;
}
.ticker__group span {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
  padding: 0 28px;
  position: relative;
}
.ticker__group span::after {
  content: '·';
  position: absolute;
  right: -4px;
  color: var(--stone);
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* ---------------------------------------------------------------
   SCROLL REVEAL · elements rise in as they enter the viewport
--------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal--in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------
   SERVICES · what is for sale
--------------------------------------------------------------- */
.services {
  padding: 96px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.svc-row {
  display: grid;
  grid-template-columns: 110px 1fr 1.1fr 60px;
  align-items: center;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  transition: padding-left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-row:last-of-type { border-bottom: 1px solid var(--rule); }
.svc-row:hover { padding-left: 16px; }
.svc-row__num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--fog);
}
.svc-row__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.svc-row__desc {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.svc-row__arrow {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--stone);
  text-align: right;
  transition: color var(--ease), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-row:hover .svc-row__arrow {
  color: var(--ink);
  transform: translateX(6px);
}

/* ---------------------------------------------------------------
   TESTIMONIALS · quotes (scaffolded, enable when quotes are real)
--------------------------------------------------------------- */
.quotes {
  padding: 96px var(--pad-x);
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}
.quote {
  border-left: 3px solid var(--ink);
  padding-left: 28px;
  margin-top: 40px;
}
.quote__text {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--ink);
}
.quote__attr {
  margin-top: 16px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
}

/* ---------------------------------------------------------------
   CTA BAND · the ask, before the footer
--------------------------------------------------------------- */
.cta-band {
  border-top: 1px solid var(--rule);
  padding: 110px var(--pad-x);
  text-align: center;
}
.cta-band__kicker {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cta-band__kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  animation: statusPulse 2.2s ease-in-out infinite;
}
.cta-band__title {
  margin-top: 24px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 96px);
  /* Sentence case with descenders over ascenders needs more leading
     than the all-caps display lines elsewhere */
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.cta-band__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 18px 36px;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}
.cta-band__link .arrow { color: var(--signal); }
.cta-band__link:hover { background: var(--ink); color: var(--paper); }

/* ---------------------------------------------------------------
   PAGE TRANSITIONS · fade in on load, fade out on internal nav
--------------------------------------------------------------- */
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body {
  animation: pageIn 0.45s ease both;
  transition: opacity 0.18s ease;
}
body.page-exit { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  body { animation: none; transition: none; }
}

/* ---------------------------------------------------------------
   REDESIGN · responsive
--------------------------------------------------------------- */
@media (max-width: 860px) {
  .svc-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 0;
  }
  .svc-row__num { order: -1; }
  .svc-row__arrow { display: none; }
  .cta-band { padding: 80px var(--pad-x); }
}
