/* =========================================================
   Global Dronescapes — Cinematic Design System v2
   Editorial · Cinematic · Premium aerial cinematography portfolio
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--ink);
  color: var(--bone);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

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

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

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

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

/* ---------- Tokens ---------- */
:root {
  /* Golden hour palette — captured during the 30 min before sunset */
  --ink: #1a1208;          /* warm dusk shadow */
  --ink-soft: #251810;     /* warm soft dusk */
  --bone: #f7e6c8;         /* peachy sun-lit cream */
  --bone-dim: #e0c8a4;     /* wheat */
  --gold: #e8a560;         /* sunset amber — primary accent */
  --gold-bright: #f5ba75;  /* bright sunset glow */
  --rust: #c85a32;         /* burnt sienna */
  --rose: #d97a5e;         /* sunset salmon */
  --gray-1: #221810;       /* warm-tinted dark */
  --gray-2: #2e251a;       /* warm gray-brown */
  --gray-3: #5e5238;       /* warm gray */
  --gray-4: #948668;       /* warm wheat-gray */

  --font-sans: 'Inter', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  --container-max: 1600px;
  --container-padding: clamp(1.5rem, 4vw, 3rem);
  --nav-height: 84px;

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
}

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: width 0.3s var(--ease-out-quart),
              height 0.3s var(--ease-out-quart),
              opacity 0.3s var(--ease-out-quart);
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--bone);
  border-radius: 50%;
}

.cursor-drone {
  position: fixed;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  pointer-events: none;
  z-index: 9999;
  color: var(--bone);
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-out-quart),
              height 0.35s var(--ease-out-quart),
              color 0.3s ease,
              opacity 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(247, 230, 200, 0.4));
  animation: drone-bob 2.4s ease-in-out infinite;
}

.cursor-drone svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.cursor-drone.expand {
  width: 76px;
  height: 76px;
  color: var(--gold);
  filter: drop-shadow(0 0 14px rgba(232, 165, 96, 0.7));
}

@keyframes drone-bob {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(2px); }
}

@media (hover: none), (max-width: 900px) {
  .cursor, .cursor-drone { display: none; }
  body, button, a { cursor: auto; }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  background-color: var(--ink);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s var(--ease-out-expo);
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: clamp(110px, 22vw, 160px);
  height: clamp(110px, 22vw, 160px);
  opacity: 0;
  animation: loader-fade 0.9s var(--ease-out-expo) 0.1s forwards;
}

@keyframes loader-fade {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.loader-mark {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--bone);
  overflow: hidden;
  display: flex;
  gap: 0.05em;
}

.loader-mark span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 0.7s var(--ease-out-expo) forwards;
}

@keyframes rise {
  to { transform: translateY(0); }
}

.loader-progress {
  width: 240px;
  height: 1px;
  background-color: var(--gray-2);
  overflow: hidden;
  position: relative;
}

.loader-progress::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--gold);
  transform-origin: left;
  animation: progress 1.4s var(--ease-out-expo) forwards;
}

@keyframes progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--bone);
}

.h-mega {
  font-size: clamp(3.5rem, 11vw, 12rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.h-display {
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.022em;
}

.h-1 {
  font-size: clamp(2.25rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.h-2 {
  font-size: clamp(1.875rem, 3.75vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.018em;
}

.h-3 {
  font-size: clamp(1.375rem, 2.25vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.h-italic { font-style: italic; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
}

.eyebrow.gold { color: var(--gold); }

p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--bone);
  font-weight: 400;
}

p.lead {
  font-size: clamp(1.1875rem, 1.5vw, 1.4375rem);
  line-height: 1.55;
  color: var(--bone);
  font-weight: 400;
  letter-spacing: -0.003em;
  max-width: 52ch;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
}

.container-narrow {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.section-tight {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.full-bleed {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: 100;
  transition: transform 0.4s var(--ease-out-expo),
              background-color 0.3s ease,
              backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background-color: rgba(26, 18, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-2);
}

.nav.hidden {
  transform: translateY(-100%);
}

.nav-inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.008em;
  color: var(--bone);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-shadow: 0 1px 12px rgba(26, 18, 8, 0.6);
}

.nav-brand-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.nav-brand-mark {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--bone-dim);
  text-transform: uppercase;
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  text-shadow: 0 1px 12px rgba(26, 18, 8, 0.6);
}

.nav-links a::before {
  content: '— ';
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: inline-block;
  margin-right: 0;
}

.nav-links a:hover::before,
.nav-links a.active::before {
  opacity: 1;
  margin-right: 0.25rem;
}

.nav-links a.active {
  color: var(--gold);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  width: 32px;
  align-items: flex-end;
}

.nav-toggle span {
  height: 1px;
  background-color: var(--bone);
  transition: transform 0.3s var(--ease-out-quart), opacity 0.3s ease, width 0.3s ease;
}

.nav-toggle span:nth-child(1) { width: 100%; }
.nav-toggle span:nth-child(2) { width: 60%; }

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 100%;
}

.nav-toggle.open span:nth-child(2) {
  transform: translateY(-7px) rotate(-45deg);
  width: 100%;
}

.nav-mobile {
  position: fixed;
  inset: 0;
  background-color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 300;
  color: var(--bone);
  letter-spacing: -0.03em;
}

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

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease-out-quart);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--gold-bright);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out-quart);
  z-index: -1;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--ink);
}

.btn-primary:hover::before {
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  color: var(--bone);
  border-color: var(--gray-3);
}

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

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  background: none;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}

.btn-ghost::after {
  content: '→';
  font-family: var(--font-sans);
  font-size: 1.1em;
  transition: transform 0.3s var(--ease-out-quart);
}

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

.btn-ghost:hover::after {
  transform: translateX(8px);
}

.btn-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--gold);
  color: var(--ink);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.5s var(--ease-out-expo);
  line-height: 1.4;
}

.btn-circle:hover {
  transform: scale(1.05) rotate(3deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* dynamic viewport height — handles mobile browser chrome */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(3rem, 8vh, 6rem);
}

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

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(26, 18, 8, 0.2) 0%, rgba(26, 18, 8, 0.7) 100%),
    linear-gradient(180deg, rgba(26, 18, 8, 0.4) 0%, transparent 30%, transparent 60%, rgba(26, 18, 8, 0.95) 100%);
}

.hero-placeholder {
  position: absolute;
  inset: 0;
  /* Cinematic golden hour: sun glow lower-right, warm horizon, deepening dusk above */
  background:
    radial-gradient(ellipse at 75% 78%, rgba(245, 186, 117, 0.55) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 60%, rgba(217, 122, 94, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 30%, rgba(94, 58, 44, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, #2e1c14 0%, #4a2818 35%, #6e3820 65%, #2e1610 100%);
  animation: drift 20s ease-in-out infinite alternate;
}

@keyframes drift {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-2%, 2%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  gap: 1.5rem;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-meta-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 12rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.022em;
  color: var(--bone);
  text-shadow: 0 2px 30px rgba(26, 18, 8, 0.5);
}

.hero-headline em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-foot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 800px) {
  .hero-foot {
    grid-template-columns: 1fr auto;
    align-items: flex-end;
  }
}

.hero-foot p {
  max-width: 42ch;
}

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

.hero-controls {
  position: absolute;
  top: 50%;
  right: var(--container-padding);
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-control {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-3);
  border-radius: 50%;
  background-color: rgba(26, 18, 8, 0.5);
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.hero-control:hover {
  border-color: var(--bone);
  background-color: rgba(247, 230, 200, 0.12);
}

@media (max-width: 768px) {
  .hero-controls { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--gray-2);
  border-bottom: 1px solid var(--gray-2);
  padding: 1.5rem 0;
  overflow: hidden;
  white-space: nowrap;
  background-color: var(--ink);
}

.marquee-track {
  display: inline-flex;
  gap: 4rem;
  align-items: center;
  animation: scroll-left 40s linear infinite;
  padding-right: 4rem;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: 4rem;
}

.marquee-item span {
  font-style: italic;
  color: var(--gold);
}

.marquee-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section heading patterns ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  align-items: end;
}

@media (min-width: 900px) {
  .section-head {
    grid-template-columns: auto 1fr;
    gap: 4rem;
  }
}

.section-head-eyebrow {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 200px;
}

.section-head-title {
  max-width: 18ch;
}

.section-head-title.wide {
  max-width: 24ch;
}

/* ---------- Featured work — asymmetric grid ---------- */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--gray-2);
  border: 1px solid var(--gray-2);
}

@media (min-width: 768px) {
  .featured-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 220px;
  }

  .featured-grid > *:nth-child(1) { grid-column: span 7; grid-row: span 2; }
  .featured-grid > *:nth-child(2) { grid-column: span 5; grid-row: span 1; }
  .featured-grid > *:nth-child(3) { grid-column: span 5; grid-row: span 1; }
  .featured-grid > *:nth-child(4) { grid-column: span 4; grid-row: span 2; }
  .featured-grid > *:nth-child(5) { grid-column: span 8; grid-row: span 2; }
  .featured-grid > *:nth-child(6) { grid-column: span 6; grid-row: span 2; }
  .featured-grid > *:nth-child(7) { grid-column: span 6; grid-row: span 2; }
}

.work-card {
  position: relative;
  overflow: hidden;
  background-color: var(--ink-soft);
  cursor: none;
  min-height: 320px;
}

.work-card-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease-out-expo), filter 0.6s ease;
  filter: saturate(0.85);
}

.work-card:hover .work-card-media {
  transform: scale(1.06);
  filter: saturate(1) brightness(1.05);
}

.work-card-media video,
.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 18, 8, 0.1) 0%, rgba(26, 18, 8, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 2vw, 2rem);
  z-index: 2;
}

.work-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.work-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.work-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--bone);
  line-height: 1;
}

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

.work-card-region {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.work-card-id {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
  text-align: right;
}

/* ---------- Statement section ---------- */
.statement {
  padding: clamp(6rem, 12vw, 12rem) 0;
  position: relative;
}

.statement-mark {
  position: absolute;
  top: clamp(2rem, 5vw, 4rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--bone-dim);
  text-transform: uppercase;
}

.statement-text {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.018em;
  color: var(--bone);
  text-align: center;
  max-width: 22ch;
  margin: 0 auto;
}

.statement-text em {
  font-style: italic;
  color: var(--gold);
}

/* ---------- Stats ticker ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-2);
  border-bottom: 1px solid var(--gray-2);
}

@media (min-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-cell {
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 2vw, 2rem);
  border-right: 1px solid var(--gray-2);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stat-cell:last-child { border-right: none; }

@media (max-width: 768px) {
  .stat-cell:nth-child(2n) { border-right: none; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--gray-2); }
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  color: var(--bone);
  line-height: 1;
  letter-spacing: -0.018em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* ---------- Split / Two-column ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
}

.split-image {
  aspect-ratio: 4 / 5;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26, 18, 8, 0.4) 100%);
}

/* ---------- Pricing tiers ---------- */
.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--gray-2);
}

@media (min-width: 900px) {
  .tiers {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tier {
  padding: clamp(2rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  background-color: var(--ink);
  border-right: 1px solid var(--gray-2);
  border-bottom: 1px solid var(--gray-2);
  position: relative;
  transition: background-color 0.4s ease;
}

.tier:last-child { border-right: none; }
.tier:nth-last-child(-n+1) { border-bottom: none; }

@media (min-width: 900px) {
  .tier { border-bottom: none; }
}

.tier:hover {
  background-color: var(--ink-soft);
}

.tier-featured {
  background-color: var(--ink-soft);
}

.tier-featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--gold);
}

.tier-head {
  margin-bottom: 2rem;
}

.tier-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--bone);
  margin-bottom: 0.25rem;
}

.tier-name em { font-style: italic; color: var(--gold); }

.tier-tagline {
  font-size: 0.95rem;
  color: var(--bone-dim);
  line-height: 1.5;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-2);
}

.tier-price-from {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.tier-price-amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--bone);
  line-height: 1;
  letter-spacing: -0.018em;
}

.tier-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--bone);
  line-height: 1.55;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--gray-2);
}

.tier-features li:last-child { border-bottom: none; }

.tier-features li::before {
  content: '+';
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.tier .btn { width: 100%; justify-content: center; }

/* ---------- Form ---------- */
.form {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.form-field input,
.form-field textarea,
.form-field select {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--gray-2);
  padding: 0.875rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--bone);
  transition: border-color 0.3s ease;
  cursor: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--gray-4);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23c8a878' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
}

/* ---------- Footer (dramatic) ---------- */
.footer {
  border-top: 1px solid var(--gray-2);
  margin-top: clamp(5rem, 10vw, 9rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.footer-statement {
  text-align: center;
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.footer-statement-mark {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 1.5rem;
  display: block;
}

.footer-statement-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6.5vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1;
  color: var(--bone);
  margin-bottom: 2rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--gray-2);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand-logo {
  width: 96px;
  height: 96px;
  margin-bottom: 1rem;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 36ch;
  color: var(--bone-dim);
  line-height: 1.5;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col a {
  font-size: 0.95rem;
  color: var(--bone-dim);
  transition: color 0.3s ease;
}

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

.footer-base {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--gray-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--bone-dim);
  text-transform: uppercase;
}

@media (min-width: 600px) {
  .footer-base {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  padding-top: calc(var(--nav-height) + clamp(3rem, 8vw, 7rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--gray-2);
}

.page-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.page-header-tagline {
  max-width: 60ch;
  margin-top: 2rem;
}

/* ---------- Filter pills ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--gray-2);
  padding-bottom: 1.5rem;
}

.filter-pill {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--gray-2);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  color: var(--bone-dim);
  transition: all 0.3s ease;
  border-radius: 0;
}

.filter-pill:hover {
  color: var(--bone);
  border-color: var(--gray-3);
}

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

/* ---------- Portfolio grid ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--gray-2);
}

@media (min-width: 600px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  cursor: none;
  background-color: var(--ink-soft);
  transition: opacity 0.4s ease;
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-item-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease-out-expo);
  filter: saturate(0.9);
}

.portfolio-item:hover .portfolio-item-media {
  transform: scale(1.05);
  filter: saturate(1);
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 18, 8, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  z-index: 2;
}

.portfolio-item-id {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
  align-self: flex-start;
}

.portfolio-item-info { }

.portfolio-item-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--bone);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.portfolio-item-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* ---------- Locations (about page) ---------- */
.locations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: var(--gray-2);
  border: 1px solid var(--gray-2);
}

@media (min-width: 768px) {
  .locations { grid-template-columns: repeat(4, 1fr); }
}

.location-card {
  padding: clamp(1.25rem, 2vw, 2rem);
  background-color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background-color 0.3s ease;
  min-height: 140px;
  justify-content: space-between;
}

.location-card:hover { background-color: var(--ink-soft); }

.location-card-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--bone);
}

.location-card-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* ---------- Equipment ---------- */
.equipment {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--gray-2);
}

@media (min-width: 600px) {
  .equipment { grid-template-columns: repeat(2, 1fr); }
}

.equipment-item {
  border-bottom: 1px solid var(--gray-2);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

@media (min-width: 600px) {
  .equipment-item:nth-child(odd) { padding-right: 1.5rem; border-right: 1px solid var(--gray-2); }
  .equipment-item:nth-child(even) { padding-left: 1.5rem; }
}

.equipment-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--bone);
}

.equipment-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* ---------- Contact info ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 5vw, 5rem);
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.contact-item a {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--bone);
  display: inline-block;
  transition: color 0.3s ease;
}

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

.contact-item p {
  font-size: 0.85rem;
  color: var(--bone-dim);
  margin-top: 0.5rem;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Word/line reveal */
.split-text {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
}

.split-text > .line {
  display: block;
  overflow: hidden;
}

.split-text > .line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-out-expo);
  transition-delay: var(--delay, 0s);
}

.split-text.visible > .line > span {
  transform: translateY(0);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-mute { color: var(--bone-dim); }
.text-gold { color: var(--gold); }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 3rem; }
.mt-xl { margin-top: 5rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 3rem; }
.italic { font-style: italic; }

/* ---------- Cinematic gradient backgrounds — Golden Hour ---------- */
/* Each location captured during the 30 min before sunset.
   Shared warm sky glow + location-specific terrain tone + deep dusk base. */

.bg-mexicocity {
  /* Cathedral spires against burning sunset */
  background:
    radial-gradient(ellipse at 70% 70%, rgba(245, 186, 117, 0.55) 0%, transparent 50%),
    radial-gradient(ellipse at 35% 30%, rgba(217, 122, 94, 0.45) 0%, transparent 55%),
    linear-gradient(180deg, #5e2818 0%, #3e1a14 55%, #1a0808 100%);
}
.bg-malaga {
  /* Mediterranean turning gold */
  background:
    radial-gradient(ellipse at 55% 65%, rgba(245, 186, 117, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 92%, rgba(74, 134, 174, 0.3) 0%, transparent 40%),
    linear-gradient(180deg, #4a1e18 0%, #3e2820 55%, #1a2438 100%);
}
.bg-chicago {
  /* Lake Michigan at sunset, skyline silhouette */
  background:
    radial-gradient(ellipse at 60% 35%, rgba(245, 186, 117, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 78%, rgba(74, 92, 124, 0.45) 0%, transparent 50%),
    linear-gradient(180deg, #4a2818 0%, #2e2418 55%, #14181e 100%);
}
.bg-scottsdale {
  /* Sonoran desert at sunset — saturated sienna */
  background:
    radial-gradient(ellipse at 50% 45%, rgba(245, 186, 117, 0.6) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 88%, rgba(184, 75, 50, 0.5) 0%, transparent 45%),
    linear-gradient(180deg, #5e2818 0%, #2e1208 100%);
}
.bg-altadv {
  /* Alpenglow on snow — pink mountain light */
  background:
    radial-gradient(ellipse at 50% 30%, rgba(245, 186, 137, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 65%, rgba(217, 142, 134, 0.45) 0%, transparent 55%),
    linear-gradient(180deg, #3e2818 0%, #2a1e2e 55%, #181828 100%);
}
.bg-guatemala {
  /* Volcanic peaks against orange sky */
  background:
    radial-gradient(ellipse at 50% 28%, rgba(245, 186, 117, 0.55) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 75%, rgba(58, 110, 80, 0.45) 0%, transparent 45%),
    linear-gradient(180deg, #5e3818 0%, #2e2818 55%, #14180e 100%);
}
.bg-ireland {
  /* Atlantic coast at sunset — gold sky over green cliffs */
  background:
    radial-gradient(ellipse at 60% 30%, rgba(245, 186, 117, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 72%, rgba(74, 110, 80, 0.45) 0%, transparent 50%),
    linear-gradient(180deg, #4a2818 0%, #2e2818 55%, #181c14 100%);
}
.bg-amsterdam {
  /* Canal reflections at dusk */
  background:
    radial-gradient(ellipse at 50% 28%, rgba(245, 186, 117, 0.55) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 75%, rgba(160, 100, 58, 0.45) 0%, transparent 50%),
    linear-gradient(180deg, #4a2818 0%, #2e1e10 60%, #14080a 100%);
}
.bg-france {
  /* Côte d'Azur — pink sky over blue Mediterranean */
  background:
    radial-gradient(ellipse at 50% 30%, rgba(245, 166, 137, 0.55) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 78%, rgba(74, 110, 144, 0.35) 0%, transparent 45%),
    linear-gradient(180deg, #4a2818 0%, #3e2828 55%, #1a1428 100%);
}

/* Legacy gradients kept for any future use */
.bg-iceland {
  background:
    radial-gradient(ellipse at 30% 40%, #2a4a6e 0%, transparent 60%),
    linear-gradient(160deg, #0e1c2e 0%, #050a14 100%);
}
.bg-patagonia {
  background:
    radial-gradient(ellipse at 70% 30%, #4a3a5e 0%, transparent 60%),
    linear-gradient(160deg, #1a1428 0%, #050308 100%);
}
.bg-morocco {
  background:
    radial-gradient(ellipse at 50% 30%, #c8773e 0%, transparent 55%),
    linear-gradient(160deg, #5e2f1a 0%, #2a1408 100%);
}
.bg-indonesia {
  background:
    radial-gradient(ellipse at 40% 60%, #2a6e5e 0%, transparent 55%),
    linear-gradient(160deg, #0a2a1e 0%, #04140c 100%);
}
.bg-norway {
  background:
    radial-gradient(ellipse at 30% 30%, #5a7a9e 0%, transparent 55%),
    linear-gradient(160deg, #1a2a3e 0%, #0a1424 100%);
}
.bg-jordan {
  background:
    radial-gradient(ellipse at 50% 40%, #c8923e 0%, transparent 55%),
    linear-gradient(160deg, #5e2e14 0%, #2a1408 100%);
}
.bg-japan {
  background:
    radial-gradient(ellipse at 60% 40%, #8e3a5e 0%, transparent 55%),
    linear-gradient(160deg, #2e0e1e 0%, #14040a 100%);
}
.bg-newzealand {
  background:
    radial-gradient(ellipse at 50% 50%, #3a6e5a 0%, transparent 55%),
    linear-gradient(160deg, #0e2a1e 0%, #04140a 100%);
}
.bg-greece {
  background:
    radial-gradient(ellipse at 50% 30%, #5e8eb8 0%, transparent 55%),
    linear-gradient(160deg, #1a3a5e 0%, #08182a 100%);
}
.bg-peru {
  background:
    radial-gradient(ellipse at 50% 40%, #8e6e3e 0%, transparent 55%),
    linear-gradient(160deg, #3e2e1a 0%, #14140a 100%);
}
.bg-namibia {
  background:
    radial-gradient(ellipse at 50% 50%, #d49c5c 0%, transparent 55%),
    linear-gradient(160deg, #5e3818 0%, #2a1808 100%);
}
.bg-faroe {
  background:
    radial-gradient(ellipse at 40% 40%, #4e6e7e 0%, transparent 55%),
    linear-gradient(160deg, #14242e 0%, #08141c 100%);
}

/* =========================================================
   Mobile responsiveness — < 768px
   Tap targets, stacking, font scaling, touch ergonomics
   ========================================================= */

@media (max-width: 768px) {

  /* Hero meta — stack both blocks left-aligned */
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .hero-meta-block,
  .hero-meta-block[style] {
    text-align: left !important;
  }

  /* Hero foot — keep CTAs accessible */
  .hero-foot {
    gap: 1.5rem;
  }
  .hero-actions .btn {
    flex: 1;
    min-width: 0;
    padding: 1rem 1.25rem;
  }

  /* Page header meta — stack both blocks left-aligned on interior pages */
  .page-header-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .page-header-meta > div[style*="text-align: right"],
  .page-header-meta > div[style] {
    text-align: left !important;
  }

  /* Section heads — stack heading under eyebrow, drop large gap */
  .section-head {
    gap: 1rem;
  }

  /* Tap targets — bigger pill padding, more readable text */
  .filter-pill {
    padding: 0.75rem 1.25rem;
    font-size: 0.7rem;
  }

  /* Form fields — bigger tap area + iOS-zoom-safe font size */
  .form-field input,
  .form-field textarea,
  .form-field select {
    padding: 1rem 0;
    font-size: 1rem; /* keep at 16px to prevent iOS auto-zoom on focus */
  }

  /* Buttons — comfortable tap target */
  .btn {
    padding: 1.05rem 1.5rem;
    min-height: 48px;
  }
  .btn-circle {
    width: 160px;
    height: 160px;
  }

  /* Marquee — slightly smaller items on phones, less gap */
  .marquee-item {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    gap: 2rem;
  }
  .marquee-track {
    gap: 2.5rem;
    padding-right: 2.5rem;
  }

  /* Stats — make sure 2-column layout uses full available width */
  .stat-cell {
    padding: 1.5rem 1rem;
  }
  .stat-number {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  /* Tier cards — featured badge fits in narrower space */
  .tier-featured::before {
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.55rem;
    padding: 0.2rem 0.4rem;
  }

  /* Loader — smaller wordmark on tiny screens, allow wrap if needed */
  .loader-mark {
    font-size: clamp(1.5rem, 7vw, 2.25rem);
    flex-wrap: nowrap;
    padding: 0 1rem;
  }
  .loader-progress {
    width: 60%;
    max-width: 240px;
  }

  /* Footer dramatic statement — easier to read */
  .footer-statement-title {
    font-size: clamp(2rem, 9vw, 3.5rem);
    line-height: 1.05;
  }

  /* Featured grid — single column, taller cards for visual weight */
  .work-card {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }
  .work-card-title {
    font-size: clamp(1.375rem, 5vw, 2rem);
  }

  /* Portfolio item titles — slightly bigger on mobile for readability */
  .portfolio-item-title {
    font-size: 1.375rem;
  }

  /* Contact item links — smaller scale, still readable + tappable */
  .contact-item a {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    padding: 0.25rem 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Nav brand — slightly tighter on phones */
  .nav-brand {
    font-size: 1rem;
  }
  .nav-brand-mark {
    display: none; /* Hide "Est. 22" tag on tightest screens */
  }

  /* Mobile nav — properly fills the screen */
  .nav-mobile {
    padding: 4rem 1.5rem;
  }
  .nav-mobile a {
    padding: 0.5rem 0;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
  }
  .nav-toggle {
    padding: 0.75rem 0.5rem;
    width: 40px;
  }

  /* Footer grid — keep readable on phone */
  .footer-grid {
    gap: 2rem;
  }
  .footer-base {
    font-size: 0.6rem;
    gap: 0.5rem;
  }
}

/* Tightest phone screens (< 380px — older phones, narrow widths) */
@media (max-width: 380px) {
  .h-display {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }
  .hero-headline {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }
  .container,
  .container-narrow {
    padding: 0 1.25rem;
  }
  .nav-inner {
    padding: 0 1.25rem;
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-placeholder,
  .marquee-track {
    animation: none !important;
  }
}
