/* ==========================================================================
   Karmatography - Editorial photography studio
   Design read: luxury/editorial portfolio + booking landing page
   Dials: variance 7, motion 6, density 3 | Theme lock: dark | Accent: gold
   Dependencies: none (vanilla CSS + system fonts via Google Fonts)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Surfaces (one dark theme, no mid-page inversions) */
  --bg: #08080a;
  --bg-elev: #101012;
  --bg-card: #141417;
  --bg-input: #1b1b1f;

  /* Single accent, desaturated gold */
  --gold: #c8a96a;
  --gold-soft: #d9c193;
  --gold-deep: #a98c52;
  --gold-glow: rgba(200, 169, 106, 0.14);

  /* Text */
  --text: #f4f2ec;
  --muted: #a6a199;
  --faint: #7d776e;

  /* Lines */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --maxw: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #26262b;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-deep);
}

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

/* ---------- Scroll progress bar (orientation; CSS scroll-driven) ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft));
  z-index: 200;
}

@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: progress-grow linear both;
    animation-timeline: scroll(root block);
  }

  @keyframes progress-grow {
    to {
      transform: scaleX(1);
    }
  }
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(5rem, 12vh, 9rem);
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: 0.5px;
}

.section-title em {
  font-style: italic;
  color: var(--gold-soft);
}

.section-lead {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 46ch;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: var(--pad-y) 2rem;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease);
  will-change: transform;
}

.btn-primary {
  background: var(--gold);
  color: #0a0a0a;
  border: 1px solid var(--gold);
  box-shadow: 0 10px 30px -12px var(--gold-glow);
}

.btn-primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
}

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

.btn .arrow {
  transition: transform 0.35s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: 78px;
  display: flex;
  align-items: center;
  transition: background-color 0.4s var(--ease-soft), backdrop-filter 0.4s,
    border-color 0.4s, height 0.4s var(--ease-soft);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  height: 64px;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: height 0.4s var(--ease-soft);
}

.site-header.is-stuck .brand img {
  height: 52px;
}

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

.nav a {
  position: relative;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 0.4rem 0;
  transition: color 0.3s var(--ease);
}

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

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

.nav a:hover::after {
  width: 100%;
}

.nav .btn {
  --pad-y: 0.6rem;
  padding: 0.6rem 1.4rem;
}

/* Keep the Book a session button text dark on gold (override .nav a color) */
.nav .btn-primary,
.nav .btn-primary:hover {
  color: #0a0a0a;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  width: 26px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  padding-top: clamp(7.5rem, 16vh, 11rem);
  padding-bottom: clamp(3rem, 9vh, 6rem);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  will-change: transform;
}

@supports (animation-timeline: scroll()) {
  .hero-media img {
    animation: hero-parallax linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 100vh;
  }

  @keyframes hero-parallax {
    to {
      transform: translateY(12%) scale(1.05);
    }
  }
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Scrim only where the nav and the text sit (top right); the photo stays visible */
  background:
    linear-gradient(0deg, rgba(8, 8, 10, 0.4) 0%, rgba(8, 8, 10, 0) 18%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.88) 0%, rgba(8, 8, 10, 0.6) 30%, rgba(8, 8, 10, 0.22) 54%, rgba(8, 8, 10, 0) 74%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.hero-inner h1 {
  max-width: 880px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 8.5vw, 6rem);
  line-height: 1.02;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}

.hero p {
  margin-top: 1.5rem;
  max-width: 38ch;
  color: #e6e2d9; /* lighter than --muted: sits on the photo, needs the headroom */
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

/* Word reveal for hero headline */
.reveal-words .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.reveal-words .word > span {
  display: inline-block;
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3rem, 9vh, 6rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.scroll-cue .mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  position: relative;
}

.scroll-cue .mouse::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scroll-dot 1.6s var(--ease) infinite;
}

@keyframes scroll-dot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* ---------- Marquee (single, kinetic service list) ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-elev);
  padding-block: 1.5rem;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  animation: marquee 28s linear infinite;
}

.marquee span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  color: var(--faint);
}

.marquee span.dot {
  color: var(--gold);
  font-style: normal;
}

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

/* ---------- Portfolio (asymmetric bento + filter) ---------- */
.portfolio-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

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

.filter-btn {
  padding: 0.55rem 1.15rem;
  border-radius: 2px;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.filter-btn.is-active {
  color: #0a0a0a;
  background: var(--gold);
  border-color: var(--gold);
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: dense;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.shot {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: #111;
  grid-column: span 2;
  aspect-ratio: 3 / 2;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

/* Asymmetric sizing for editorial rhythm */
.shot.wide { grid-column: span 4; }
.shot.tall { grid-column: span 2; aspect-ratio: 3 / 4; }
.shot.big  { grid-column: span 3; aspect-ratio: 4 / 5; }

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.02);
  transition: transform 0.9s var(--ease), filter 0.7s var(--ease);
}

.shot:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.shot-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0) 55%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.shot:hover .shot-overlay {
  opacity: 1;
}

.shot-overlay .tag {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.shot-overlay h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.55rem;
  margin-top: 0.2rem;
}

/* Filter hide state */
.shot.is-hidden {
  display: none;
}

/* ---------- About (editorial split) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%);
}

.about-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.about-body p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  margin-top: 1.25rem;
}

.about-body p.lede {
  color: var(--text);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.4;
}

.about-stats {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.about-stats .stat {
  display: flex;
  flex-direction: column;
}

.about-stats .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-soft);
  line-height: 1;
}

.about-stats .label {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- Services (sticky media + hover-swap list) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.services-media {
  position: sticky;
  top: 110px;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-card);
}

.services-media figure {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
}

.services-media figure.is-active {
  opacity: 1;
  transform: scale(1);
}

.services-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}

.services-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.9rem 0.5rem;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding-left 0.4s var(--ease), color 0.4s var(--ease);
}

.service-row:hover,
.service-row.is-active {
  padding-left: 1.25rem;
}

.service-row .idx {
  font-size: 0.8rem;
  color: var(--faint);
  letter-spacing: 0.1em;
}

.service-row h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  transition: color 0.4s var(--ease);
}

.service-row:hover h3,
.service-row.is-active h3 {
  color: var(--gold-soft);
}

.service-row p {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 44ch;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease),
    margin-top 0.5s var(--ease);
}

.service-row:hover p,
.service-row.is-active p {
  max-height: 80px;
  opacity: 1;
  margin-top: 0.6rem;
}

.service-row .plus {
  color: var(--gold);
  font-size: 1.4rem;
  transition: transform 0.4s var(--ease);
}

.service-row:hover .plus,
.service-row.is-active .plus {
  transform: rotate(90deg);
}

/* ---------- FAQ (accordion + FAQPage schema) ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 400;
  color: var(--text);
  transition: color 0.3s var(--ease);
}

.faq-q:hover {
  color: var(--gold-soft);
}

.faq-q .icon {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-q .icon::before,
.faq-q .icon::after {
  content: '';
  position: absolute;
  inset: 50% 0;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.4s var(--ease);
}

.faq-q .icon::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-q .icon::after {
  transform: rotate(0);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq-a p {
  padding-bottom: 1.6rem;
  color: var(--muted);
  max-width: 64ch;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-aside h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
}

.contact-aside p {
  margin-top: 1.25rem;
  color: var(--muted);
  max-width: 38ch;
}

.contact-points {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-points a,
.contact-points span {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.3s var(--ease);
}

.contact-points a:hover {
  color: var(--gold-soft);
}

.contact-points svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  flex: none;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(1.75rem, 4vw, 3rem);
}

.success-banner {
  display: none;
  background: var(--gold-glow);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 1.4rem;
  margin-bottom: 2rem;
  text-align: center;
}

.success-banner h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--gold-soft);
  margin-bottom: 0.35rem;
}

.success-banner p {
  font-size: 0.9rem;
  color: var(--muted);
}

.form-group {
  margin-bottom: 1.6rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.form-label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.form-label span {
  color: var(--gold);
}

.input-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--text);
  padding: 0.9rem 1.05rem;
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.input-control::placeholder {
  color: var(--faint);
}

.input-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
  background: #202024;
}

textarea.input-control {
  min-height: 120px;
  resize: vertical;
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.radio-option input[type='radio'] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-label {
  display: block;
  padding: 0.85rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg-input);
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.radio-label:hover {
  border-color: var(--line-strong);
}

.radio-option input[type='radio']:checked + .radio-label {
  border-color: var(--gold);
  background: var(--gold-glow);
  color: var(--gold-soft);
}

.radio-option input[type='radio']:focus-visible + .radio-label {
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.file-upload {
  position: relative;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  background: var(--bg-input);
  padding: 2rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.file-upload:hover,
.file-upload.is-drag {
  border-color: var(--gold);
  background: rgba(200, 169, 106, 0.04);
}

.file-upload input[type='file'] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload svg {
  width: 30px;
  height: 30px;
  stroke: var(--gold);
  margin: 0 auto 0.6rem;
}

.file-upload .hint {
  font-size: 0.9rem;
  color: var(--muted);
}

.file-upload .sub {
  font-size: 0.75rem;
  color: var(--faint);
  margin-top: 0.35rem;
}

.file-name {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--gold-soft);
  word-break: break-all;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  background: var(--gold);
  color: #0a0a0a;
  border: 1px solid var(--gold);
  padding: 1.05rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.btn-submit:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -10px var(--gold-glow);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #050506;
  padding-block: clamp(3rem, 8vw, 5rem);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand img {
  height: 116px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--muted);
  max-width: 34ch;
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  gap: 4rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.1rem;
  font-weight: 500;
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
}

.footer-bottom .copyright {
  font-size: 0.82rem;
  color: var(--faint);
}

.socials {
  display: flex;
  gap: 0.75rem;
}

.socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.socials a:hover {
  color: #0a0a0a;
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* ---------- Intro loader ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.45s var(--ease), visibility 0.45s;
  /* Failsafe: hides via CSS even if JS never runs, so the splash can't stick */
  animation: intro-failsafe 0.5s var(--ease) forwards 1.7s;
}

.intro.is-done {
  animation: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes intro-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.intro img {
  max-width: 380px;
  opacity: 0;
  transform: scale(0.86);
  filter: blur(6px);
  animation: intro-logo 0.9s var(--ease) forwards;
}

.intro .line {
  width: 0;
  height: 1px;
  background: var(--gold);
  animation: intro-line 0.7s var(--ease) forwards 0.15s;
}

@keyframes intro-logo {
  20% { opacity: 1; filter: blur(0); transform: scale(1); }
  100% { opacity: 1; filter: blur(0); transform: scale(1.04); }
}

@keyframes intro-line {
  to { width: 140px; }
}

body.intro-lock {
  overflow: hidden;
  height: 100svh;
}

/* ==========================================================================
   Scroll reveal (JS-gated so content stays visible without JS / reduced motion)
   ========================================================================== */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

html.js .reveal-words .word > span {
  transform: translateY(110%);
  transition: transform 0.9s var(--ease);
  transition-delay: var(--word-delay, 0ms);
}

html.js .reveal-words.is-visible .word > span {
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
  }

  .shot,
  .shot.tall { grid-column: span 2; }
  .shot.wide { grid-column: span 4; }
  .shot.big  { grid-column: span 2; aspect-ratio: 3 / 4; }

  .services-media {
    position: relative;
    top: 0;
    aspect-ratio: 16 / 10;
    margin-bottom: 1.5rem;
  }

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

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.75rem;
    padding: 2rem 2.5rem;
    background: rgba(10, 10, 12, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav a {
    font-size: 1.1rem;
  }

  .menu-toggle {
    display: flex;
    z-index: 130;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 440px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 3rem;
  }
}

@media (max-width: 560px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row;
  }

  .shot,
  .shot.wide,
  .shot.tall,
  .shot.big {
    grid-column: span 2;
    aspect-ratio: 3 / 2;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .scroll-cue {
    display: none;
  }

  .service-row p {
    display: none;
  }
}

/* ==========================================================================
   Reduced motion: disable all motion, keep everything visible and usable
   ========================================================================== */
/* ---------- Press feedback + touch hover-gating (Emil's rules) ---------- */
.btn:active,
.btn-submit:active,
.filter-btn:active,
.socials a:active,
.radio-label:active {
  transform: scale(0.97);
}

@media (hover: none) {
  /* Don't leave hover transforms stuck after a tap on touch devices */
  .shot:hover img { transform: none; }
  .socials a:hover { transform: none; }
  .btn:hover .arrow { transform: none; }
  .btn-submit:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  html.js [data-reveal],
  html.js .reveal-words .word > span {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-media img,
  .marquee-track {
    animation: none !important;
  }
}
