/* ============================================================
   PORTFOLIO — CSS VARIABLES & THEMING
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200;0,6..12,300;0,6..12,400;0,6..12,600;0,6..12,700;1,6..12,300&display=swap');

:root {
  --bg:           #0a0a0a;
  --bg-secondary: #111111;
  --surface:      #161616;
  --border:       #222222;
  --text:         #f0ede8;
  --text-muted:   #666666;
  --text-dim:     #999999;
  --accent:       #e8d5b0;
  --accent-hover: #f5e8c8;
  --nav-bg:       rgba(10, 10, 10, 0.92);
  --overlay:      rgba(0,0,0,0.6);
  --font-display: 'Nunito Sans', 'Trebuchet MS', Arial, sans-serif;
  --font-body:    'Nunito Sans', 'Trebuchet MS', Arial, sans-serif;
  --nav-h:        64px;
  --gutter:       clamp(1.2rem, 4vw, 3rem);
  --t:            0.3s ease;
}

[data-theme="light"] {
  --bg:           #f7f4ef;
  --bg-secondary: #eeebe5;
  --surface:      #ffffff;
  --border:       #ddd9d1;
  --text:         #141414;
  --text-muted:   #888880;
  --text-dim:     #555550;
  --accent:       #7a5c2e;
  --accent-hover: #9a7a46;
  --nav-bg:       rgba(247, 244, 239, 0.92);
  --overlay:      rgba(0,0,0,0.35);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  transition: background var(--t), color var(--t);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ============================================================
   NAV
   ============================================================ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background var(--t), border-color var(--t);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  transition: color var(--t);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--t);
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-dim);
  cursor: pointer;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: border-color var(--t), color var(--t), transform 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(15deg);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HOME BANNER / HERO
   ============================================================ */

.banner {
  position: relative;
  height: 60vh;
  min-height: 340px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: calc(var(--nav-h) + var(--gutter) * 1.2) var(--gutter) var(--gutter);
  margin-top: var(--nav-h);
  overflow: hidden;
  background: var(--bg-secondary);
}

.banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
  transition: filter var(--t), transform 8s ease;
  transform: scale(1.05);
}
.banner:hover .banner-bg { transform: scale(1); }

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, transparent 65%);
}

.banner-content { position: relative; z-index: 2; }

.banner-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.banner-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text);
}

.banner-sub {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 300;
  max-width: 420px;
}

.banner--hero {
  height: 75vh;
  min-height: 440px;
}

/* ============================================================
   CATEGORY PAGE — FULL-SCREEN HERO
   ============================================================ */

.cat-hero {
  position: relative;
  height: calc(100vh - var(--nav-h) - 60px);
  min-height: 460px;
  margin-top: var(--nav-h);
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.cat-hero__bg-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cat-hero__bg {
  position: absolute;
  inset: -10% 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.45);
  will-change: transform;
}

.cat-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.05) 50%,
    rgba(0,0,0,0.75) 100%
  );
}

.cat-hero__title-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: 0 var(--gutter);
  pointer-events: none;
  overflow: visible;
}

.cat-hero__eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);   /* gold — matches nav accent */
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: block;
}

/* ── Hero title now uses the accent gold colour ── */
.cat-hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.88;
  color: #cfc8bc;   /* desaturated gold — 50% saturation */
  transform: translateY(55%);
  display: block;
}

.cat-hero__scroll-hint {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  z-index: 4;
  opacity: 0.45;
  animation: nudge 2.2s ease-in-out infinite;
}
.cat-hero__scroll-hint span {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}
.cat-hero__scroll-hint svg {
  width: 14px; height: 14px;
  stroke: #fff; fill: none;
  stroke-width: 1.5;
}

@keyframes nudge {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}

/* ============================================================
   CATEGORY PAGE — INTRO COPY
   ============================================================ */

.cat-intro {
  max-width: 860px;
  margin: 0 auto;
  padding: calc(clamp(3rem, 8vw, 7rem) + 1rem) var(--gutter) calc(var(--gutter) * 1.5);
}

.cat-intro__label {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.cat-intro__copy {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-dim);
  max-width: 600px;
}

.cat-intro__divider {
  width: 2rem;
  height: 1.5px;
  background: var(--border);
  margin: 1.8rem 0;
}

/* ============================================================
   SECTION — shared
   ============================================================ */

.section {
  padding: calc(var(--gutter) * 1.5) var(--gutter);
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-count {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   HOME — CATEGORY CARDS
   ============================================================ */

.categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
}

.cat-card {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  display: block;
}
.cat-card img {
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.55) saturate(0.7);
}
.cat-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.7) saturate(1);
}
.cat-card-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1rem 1.1rem;
  color: #fff;
}
.cat-card-title {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1.2vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}
.cat-card-arrow {
  margin-top: 0.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.cat-card:hover .cat-card-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HOME — SNAPSHOT GRID (mixed aspect)
   ============================================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5px;
}

.grid-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
}

.grid-item img {
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
  filter: saturate(0.85) brightness(0.9);
}
.grid-item:hover img {
  transform: scale(1.04);
  filter: saturate(1) brightness(1);
}

.grid-item-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.grid-item:hover .grid-item-overlay { opacity: 1; }

.grid-item-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
}

.grid--feature .grid-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

/* ============================================================
   SQUARE GRID — category pages
   ============================================================ */

.sq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2px;
  padding: 0 var(--gutter) 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sq-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
}

.sq-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.88);
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}
.sq-item:hover img {
  transform: scale(1.06);
  filter: saturate(1) brightness(1);
}

.sq-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.sq-item:hover .sq-item__overlay { opacity: 1; }

.sq-item__label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
}

.sq-grid--hidden { display: none; }

/* ============================================================
   VIDEO GRID — 16:9 ratio
   ============================================================ */

.vid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
  padding: 0 var(--gutter) calc(var(--gutter) * 2);
  max-width: 1400px;
  margin: 0 auto;
}

.vid-item {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface);
  display: block;
  cursor: pointer;
}

.vid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.75);
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}
.vid-item:hover img {
  transform: scale(1.04);
  filter: saturate(1) brightness(0.9);
}

.vid-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.vid-item__play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  flex-shrink: 0;
}
.vid-item:hover .vid-item__play {
  background: rgba(255,255,255,0.28);
  transform: scale(1.1);
}
.vid-item__play svg {
  width: 20px; height: 20px;
  fill: #fff;
  margin-left: 3px; /* optical centre for triangle */
}

.vid-item__label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  text-align: center;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.vid-item:hover .vid-item__label {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   BIO SECTION
   ============================================================ */

.bio {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding: calc(var(--gutter) * 2) var(--gutter);
  max-width: 1200px;
  margin: 0 auto;
}

.bio-image-wrap { max-width: 200px; }

.bio-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%);
  transition: filter var(--t);
}
.bio-image:hover { filter: grayscale(0%); }

.bio-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.bio-name {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 0.4rem;
}

.bio-title {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 1.8rem;
}

.bio-divider {
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.8rem;
}

.bio-text {
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--text-dim);
  font-weight: 300;
  margin-bottom: 1.2rem;
}

.bio-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}

.bio-skill-tag {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.32rem 0.8rem;
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: border-color var(--t), color var(--t);
}
.bio-skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.bio-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color var(--t), gap var(--t);
}
.bio-cta:hover { color: var(--accent); gap: 0.9rem; }

/* ============================================================
   CONTACT
   ============================================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding-top: calc(clamp(3rem, 8vw, 7rem) + 1rem);
}

.contact-info p {
  color: var(--text-dim);
  margin-bottom: 1.4rem;
  line-height: 1.8;
  font-size: 0.95rem;
}

.contact-detail { display: flex; flex-direction: column; gap: 0.3rem; margin-top: 1.2rem; }

.contact-detail-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-detail-value { color: var(--accent); font-size: 0.92rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input, .form-textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color var(--t);
  border-radius: 0;
  width: 100%;
  -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent); }
.form-textarea { min-height: 130px; resize: vertical; }

.btn {
  background: var(--accent);
  color: var(--bg);
  border: none;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  cursor: pointer;
  align-self: flex-start;
  transition: background var(--t), transform 0.2s;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }

.form-note {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 0.3rem;
}


/* ============================================================
   FOOTER
   ============================================================ */

footer {
  border-top: 1px solid var(--border);
  padding: 2rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

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

.footer-links a {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t);
}
.footer-links a:hover { color: var(--accent); }

/* ============================================================
   CAROUSEL POPUP
   ============================================================ */

.carousel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.carousel-backdrop.open { opacity: 1; pointer-events: all; }

.carousel-shell {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 2rem;
}

.carousel-close {
  position: absolute;
  top: 1.4rem; right: 1.8rem;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1rem;
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, transform 0.2s;
  z-index: 10;
}
.carousel-close:hover { border-color: rgba(255,255,255,0.7); transform: rotate(90deg); }

.carousel-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.carousel-image-wrap {
  flex: 1;
  max-width: min(80vw, 1000px);
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: block;
}
.carousel-img.loaded { opacity: 1; }

.carousel-arrow {
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}
.carousel-arrow svg { width: 18px; height: 18px; }
.carousel-arrow:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
}

.carousel-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  max-width: min(80vw, 1000px);
  margin-top: 1rem;
  gap: 1rem;
}

.carousel-caption {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  flex: 1;
  font-style: italic;
}

.carousel-counter {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  display: flex;
  gap: 0.4rem;
}
.carousel-sep { opacity: 0.4; }

.carousel-dots { display: flex; gap: 0.45rem; margin-top: 1rem; }

.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.carousel-dot.active { background: #fff; transform: scale(1.3); }

/* ============================================================
   LIGHTBOX
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; width: auto; }
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.6;
  transition: opacity 0.2s;
  font-family: var(--font-body);
}
.lightbox-close:hover { opacity: 1; }

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */

.page-fade { animation: fadeIn 0.45s ease forwards; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   MOBILE — comprehensive
   ============================================================ */

@media (max-width: 900px) {
  .grid--feature .grid-item:first-child {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4/3;
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 56px; }

  /* Nav */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.8rem var(--gutter);
    gap: 1.4rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 0.88rem; letter-spacing: 0.12em; }

  /* Hero */
  .cat-hero {
    height: calc(100svh - var(--nav-h) - 50px);
    min-height: 380px;
  }
  .cat-hero__bg { background-attachment: scroll; inset: 0; }
  .cat-hero__title {
    font-size: clamp(3rem, 14vw, 6rem);
    transform: translateY(48%);
  }

  /* Grids */
  .sq-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    padding: 0 var(--gutter) var(--gutter);
  }
  .vid-grid {
    grid-template-columns: 1fr;
    padding: 0 var(--gutter) var(--gutter);
  }
  .categories {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: calc(clamp(3rem, 8vw, 7rem) + 1rem);
  }

  /* Bio */
  .bio {
    grid-template-columns: 1fr;
  }
  .bio-image-wrap {
    max-width: 160px;
  }
  .bio-image { aspect-ratio: 1/1; }

  /* Footer */
  footer { flex-direction: column; align-items: flex-start; gap: 0.8rem; }

  /* Carousel */
  .carousel-stage { gap: 0.4rem; }
  .carousel-arrow { width: 36px; height: 36px; }
  .carousel-arrow svg { width: 14px; height: 14px; }
  .carousel-image-wrap { max-width: 92vw; }
  .carousel-footer { flex-direction: column; gap: 0.4rem; }
}

@media (max-width: 480px) {
  .sq-grid { grid-template-columns: repeat(2, 1fr); }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .banner-title { font-size: clamp(2rem, 10vw, 3.5rem); }
  .vid-item__play { width: 44px; height: 44px; }
}

/* ============================================================
   CONTACT CTA
   ============================================================ */

.contact-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding-top: 1rem;
}

.contact-cta__text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 420px;
}

.contact-cta__btn {
  display: inline-block;
  align-self: flex-start;
  text-decoration: none;
}

.contact-detail a {
  color: var(--accent);
  transition: color var(--t);
}
.contact-detail a:hover {
  color: var(--accent-hover);
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: var(--bg);
}

.copy-confirm {
  display: none;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-top: 0.5rem;
}

/* ============================================================
   BRANDING GROUPS
   ============================================================ */

.branding-group {
  margin-bottom: 0;
}

.branding-group__header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.5rem var(--gutter) 1rem;
  max-width: 1400px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2px;
}

.branding-group__title {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.branding-group__sub {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
}

/* ============================================================
   NATURAL ASPECT GRID — for non-square images (brand guidelines)
   ============================================================ */

.nat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  padding: 0 var(--gutter) 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Thumb shown in grid — natural height, image centred */
.nat-grid--thumb {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  /* No fixed aspect-ratio — image dictates height */
}

.nat-grid--thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: saturate(0.8) brightness(0.88);
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}

.nat-grid--thumb:hover img {
  transform: scale(1.03);
  filter: saturate(1) brightness(1);
}

.nat-grid--thumb .sq-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.nat-grid--thumb:hover .sq-item__overlay { opacity: 1; }

@media (max-width: 768px) {
  .nat-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    padding: 0 var(--gutter) var(--gutter);
  }
}
