:root {
  --color-bg: #FFFFFF;
  --color-text: #1C1917;
  --color-text-secondary: #57534E;
  --color-accent: #1C1917;
  --color-accent-gold: #1C1917;
  --color-highlight: #F5F5F4;
  --color-cta: #1C1917;
  --color-cta-hover: #44403C;
  --color-border: #E7E5E4;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --font-accent: 'Jost', sans-serif;
  --transition: 250ms ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

/* ===== NAVIGATION ===== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 2rem;
  transition: background-color var(--transition), box-shadow var(--transition), padding var(--transition);
}

.nav.scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  padding: 0.75rem 2rem;
  backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo span {
  font-family: 'Jost', sans-serif;
  font-size: 0.45rem;
  color: var(--color-text-secondary);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

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

/* Dark Mode Toggle */
.theme-toggle {
  width: 3.5rem;
  height: 1.75rem;
  padding: 0.2rem;
  border-radius: 9999px;
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.theme-toggle-track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.theme-toggle-thumb {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--color-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.theme-toggle-thumb svg {
  width: 0.85rem;
  height: 0.85rem;
  stroke: var(--color-text-secondary);
}

.theme-toggle-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-icon svg {
  width: 0.85rem;
  height: 0.85rem;
  stroke: var(--color-text-secondary);
  opacity: 0.5;
}

body.dark-mode .theme-toggle {
  background: #18181b;
  border-color: #27272a;
}

body.dark-mode .theme-toggle-thumb {
  transform: translateX(1.75rem);
  background: #27272a;
}

body.dark-mode .theme-toggle-thumb svg {
  stroke: #fff;
}

/* Dark Mode Colors */
body.dark-mode {
  --color-bg: #0a0a0a;
  --color-text: #f5f5f4;
  --color-text-secondary: #a8a29e;
  --color-accent: #f5f5f4;
  --color-highlight: #1c1917;
  --color-cta: #f5f5f4;
  --color-cta-hover: #d6d3d1;
  --color-border: #27272a;
}

body.dark-mode .nav.scrolled {
  background-color: rgba(10, 10, 10, 0.97);
}

body.dark-mode .mobile-menu {
  background-color: rgba(10, 10, 10, 0.98);
}

body.dark-mode .card {
  background-color: #18181b;
}

body.dark-mode .hero {
  background: linear-gradient(170deg, #0a0a0a 0%, #1c1917 50%, #0a0a0a 100%);
}

body.dark-mode .page-header {
  background: linear-gradient(170deg, #0a0a0a 0%, #1c1917 100%);
}

body.dark-mode .bento-scroll-container {
  background: #0a0a0a;
}

body.dark-mode .divider::before,
body.dark-mode .divider::after {
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
}

body.dark-mode .divider-diamond {
  background-color: rgba(255,255,255,0.15);
}

body.dark-mode .modal-divider {
  background-color: rgba(255,255,255,0.1);
}

.nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  cursor: pointer;
}

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

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

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

.nav-hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  align-items: center;
  justify-content: center;
}

.nav-hamburger svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-text);
  transition: transform 0.6s ease;
}

.nav-hamburger.open svg {
  transform: rotate(-45deg);
}

.nav-hamburger .menu-path-animated {
  stroke-dasharray: 12 63;
  transition: stroke-dasharray 0.6s ease, stroke-dashoffset 0.6s ease;
}

.nav-hamburger.open .menu-path-animated {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 40;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  backdrop-filter: blur(10px);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-text);
  cursor: pointer;
}

.mobile-menu a:hover {
  color: var(--color-accent);
}

.mobile-menu a.mobile-menu-sub {
  font-size: 1.2rem;
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  padding-left: 1rem;
}

/* ===== HERO ===== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5.5rem 2rem 4rem;
  background: linear-gradient(170deg, #FFFFFF 0%, var(--color-highlight) 50%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  right: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 25, 23, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.25;
  color: #1a1a1a;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
  text-align: center;
}

.hero h1 em {
  font-style: italic;
  color: #9B6B4A;
}

@keyframes shiny-text {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.shiny-hover {
  -webkit-text-fill-color: currentColor;
  transition: color 0.3s ease;
  cursor: pointer;
}

.shiny-hover:hover {
  background: linear-gradient(90deg, var(--color-text), #C9A96E, var(--color-text));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shiny-text 2s ease-in-out infinite alternate;
}

.hero-static {
  display: block;
}

.hero-rotating-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
  height: 1.25em;
  width: 100%;
}

.hero-rotating-word {
  position: absolute;
  font-weight: 600;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-rotating-word.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-rotating-word.exit-up {
  opacity: 0;
  transform: translateY(-100%);
}

.hero-subtitle {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #555555;
  max-width: 550px;
  margin: 0 auto 1.5rem;
}

/* ===== HORIZONTAL INFINITE STRIP ===== */

.hstrip-container {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 45vh;
  min-height: 300px;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.hstrip-container.dragging {
  cursor: grabbing;
}

.hstrip-track {
  display: flex;
  gap: 0.75rem;
  height: 100%;
  width: max-content;
  will-change: transform;
}

.hstrip-track img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
  pointer-events: none;
}

.hstrip-track .photo-credit-wrap {
  height: 100%;
  width: auto;
  flex-shrink: 0;
}

.hstrip-track .photo-credit-wrap > img {
  height: 100%;
  width: auto;
  object-fit: cover;
}

/* ===== PHOTO CREDIT OVERLAY ===== */

.photo-credit-wrap {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.photo-credit-wrap > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-credit {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  line-height: 1.4;
  z-index: 5;
  color: rgba(255, 255, 255, 0.85);
  background-color: rgba(0, 0, 0, 0.4);
}

.photo-credit-wrap:hover .photo-credit {
  opacity: 1;
}

.hero-qualifications {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-qualification {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 0.4rem 1rem;
  border: 1px solid var(--color-accent);
  border-radius: 2px;
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid #000;
  border-radius: 0;
  cursor: pointer;
  background: #000;
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

body.dark-mode .btn {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.btn:hover {
  background: #fff;
  color: #000;
}

body.dark-mode .btn:hover {
  background: #000;
  color: #fff;
  border-color: #fff;
}

.btn:active {
  transform: scale(0.97);
}

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

.btn-primary {
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #000;
}

body.dark-mode .btn-outline {
  background: transparent;
  color: #fff;
}

.btn-outline:hover {
  background: #000;
  color: #fff;
}

body.dark-mode .btn-outline:hover {
  background: #fff;
  color: #000;
}

/* ===== SECTION DIVIDER ===== */

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4rem auto;
}

.divider::before {
  content: '';
  width: 40px;
  height: 1px;
  background-color: var(--color-accent);
}

.divider-diamond {
  display: none;
}

/* ===== SECTIONS ===== */

.section {
  padding: 5rem 2rem;
}

.section-narrow {
  max-width: 900px;
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-secondary);
  max-width: 550px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ===== CARDS ===== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-gold));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 30px rgba(28, 25, 23, 0.08);
  transform: translateY(-3px);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  color: var(--color-accent);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
}

.card:hover .card-link {
  color: var(--color-cta);
}

/* Cards with background image */
.card-with-bg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  padding: 0;
  border: none;
  aspect-ratio: 2/3;
  display: flex;
  align-items: flex-end;
}

.card-with-bg::before {
  display: none;
}

.card-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  border-radius: inherit;
  transition: background var(--transition);
}

.card-with-bg:hover .card-bg-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.card-bg-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  width: 100%;
}

.card-bg-content h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.card-bg-content p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}

.card-bg-content .card-link {
  color: rgba(255,255,255,0.7);
}

.card-with-bg:hover .card-bg-content .card-link {
  color: #fff;
}

/* Full-width card */
.card-fullwidth {
  width: 100%;
  margin-top: 2rem;
}

/* ===== ABOUT SECTION (Homepage Teaser) ===== */

.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-placeholder {
  border-radius: 0;
  overflow: hidden;
}

.about-image-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* ===== PORTFOLIO COLLAGE (Startseite) ===== */

@keyframes collage-float {
  0%   { transform: translateY(0px); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.2); }
  50%  { transform: translateY(-15px); box-shadow: 0 35px 60px -15px rgba(0,0,0,0.25); }
  100% { transform: translateY(0px); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.2); }
}

.collage-section {
  padding: 2rem 2rem 5rem;
  overflow: hidden;
}

.collage-header {
  text-align: center;
  margin-bottom: 1rem;
}

.collage-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.collage-header p {
  color: var(--color-text-secondary);
  max-width: 550px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.collage-area {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collage-wrap {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.collage-img {
  position: absolute;
  object-fit: cover;
  border-radius: 0;
  animation: collage-float 6s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.collage-img:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  animation-play-state: paused;
}

.collage-center {
  left: 38%;
  top: 30%;
  width: 200px;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 20;
}

.collage-tl {
  left: 22%;
  top: 10%;
  width: 160px;
  z-index: 10;
}

.collage-tr {
  right: 22%;
  top: 5%;
  width: 155px;
  z-index: 10;
}

.collage-br {
  right: 8%;
  bottom: 10%;
  width: 165px;
  z-index: 10;
}

.collage-fr {
  right: 0%;
  top: 20%;
  width: 150px;
  z-index: 10;
}

.collage-bl {
  left: 8%;
  bottom: 5%;
  width: 155px;
  z-index: 10;
}

.collage-fl {
  left: 0%;
  top: 15%;
  width: 150px;
  z-index: 10;
}

/* ===== STICKY GALLERY (Portfolio-Seite) ===== */

.sticky-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
}

.sticky-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sticky-gallery-col figure {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
}

.sticky-gallery-scroll figure {
  aspect-ratio: 9/16;
}

.sticky-gallery-scroll figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.sticky-gallery-scroll figure:hover img {
  transform: scale(1.03);
}

.sticky-gallery-center {
  position: sticky;
  top: 5rem;
  align-self: start;
  height: calc(100vh - 6rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sticky-gallery-center figure {
  flex: 1 1 0;
  min-height: 0;
}

.sticky-gallery-center figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.sticky-gallery-center figure:hover img {
  transform: scale(1.03);
}

/* ===== ANIMATED BENTO PORTFOLIO ===== */

.bento-scroll-container {
  position: relative;
  height: 350vh;
  background: #FFFFFF;
}

.bento-grid-sticky {
  position: sticky;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  padding: 1rem;
  z-index: 0;
}

/* Beams Background (Dark Mode) */
.beams-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  filter: blur(15px);
  display: none;
}

body.dark-mode .beams-canvas {
  display: block;
}

body.dark-mode .aurora-wrap {
  display: none;
}

/* Aurora Background */
.aurora-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.aurora-layer {
  --aurora-1: #0B6623;
  --aurora-2: #2E8B57;
  --aurora-3: #5B8FB9;
  --aurora-4: #7B68EE;
  --aurora-5: #20B2AA;
  position: absolute;
  inset: -10px;
  opacity: 0.3;
  will-change: transform;
  filter: blur(10px) invert(1);
  background-image:
    repeating-linear-gradient(100deg, #fff 0%, #fff 7%, transparent 10%, transparent 12%, #fff 16%),
    repeating-linear-gradient(100deg, var(--aurora-1) 10%, var(--aurora-3) 15%, var(--aurora-2) 20%, var(--aurora-4) 25%, var(--aurora-5) 30%);
  background-size: 300% 100%, 200% 100%;
  background-position: 50% 50%, 50% 50%;
  animation: aurora 60s linear infinite;
  mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
}

.aurora-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(100deg, #fff 0%, #fff 7%, transparent 10%, transparent 12%, #fff 16%),
    repeating-linear-gradient(100deg, var(--aurora-1) 10%, var(--aurora-3) 15%, var(--aurora-2) 20%, var(--aurora-4) 25%, var(--aurora-5) 30%);
  background-size: 200% 100%, 100% 100%;
  background-attachment: fixed;
  animation: aurora 60s linear infinite;
  mix-blend-mode: difference;
}

@keyframes aurora {
  from { background-position: 50% 50%, 50% 50%; }
  to { background-position: 350% 50%, 350% 50%; }
}

/* Hero Grid: 1 Portrait + 2 Landscape, calculated from viewport */
.bento-hero-grid {
  --nav-h: 5rem;
  --pad: 1.5rem;
  --gap: 0.75rem;
  --avail-h: calc(100vh - var(--nav-h) - var(--pad) * 2);
  --portrait-h: var(--avail-h);
  --portrait-w: calc(var(--avail-h) * 9 / 16);
  --land-h: calc((var(--avail-h) - var(--gap)) / 2);
  --land-w: calc(var(--land-h) * 16 / 9);

  display: flex;
  gap: var(--gap);
  width: calc(var(--portrait-w) + var(--gap) + var(--land-w));
  height: var(--avail-h);
  margin: 0 auto;
  position: absolute;
  top: calc(var(--nav-h) + var(--pad));
  left: 50%;
  transform: translateX(-50%);
}

.bento-cell {
  overflow: hidden;
  border-radius: 0;
  will-change: transform;
  flex-shrink: 0;
}

.bento-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.bento-cell .photo-credit-wrap {
  width: 100%;
  height: 100%;
}

.bento-hero-portrait {
  width: var(--portrait-w);
  height: var(--portrait-h);
}

.bento-hero-landscapes {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  width: var(--land-w);
  height: var(--portrait-h);
}

.bento-hero-landscape {
  width: var(--land-w);
  height: var(--land-h);
}

/* Parallax Floating Gallery */
.parallax-floating-section {
  position: relative;
  background: var(--color-text);
  overflow: hidden;
}

.parallax-floating-container {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: hidden;
}

.parallax-floating-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
}

.parallax-floating-title h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #FFFFFF;
  font-weight: 400;
}

.parallax-float-el {
  position: absolute;
  will-change: transform;
  transition: transform 0.1s linear;
}

.parallax-float-el img {
  object-fit: cover;
  display: block;
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.parallax-float-el img:hover {
  transform: scale(1.05);
}

.pf-portrait-sm { width: 100px; height: 178px; }
.pf-portrait-md { width: 140px; height: 249px; }
.pf-portrait-lg { width: 180px; height: 320px; }
.pf-landscape-sm { width: 178px; height: 100px; }
.pf-landscape-md { width: 250px; height: 141px; }
.pf-landscape-lg { width: 320px; height: 180px; }

@media (min-width: 768px) {
  .parallax-floating-container { height: 700px; }
  .pf-portrait-sm { width: 130px; height: 231px; }
  .pf-portrait-md { width: 180px; height: 320px; }
  .pf-portrait-lg { width: 220px; height: 391px; }
  .pf-landscape-sm { width: 200px; height: 113px; }
  .pf-landscape-md { width: 280px; height: 158px; }
  .pf-landscape-lg { width: 360px; height: 203px; }
}

/* ===== GALLERY GRID ===== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

body.dark-mode .gallery-item {
  border-color: rgba(255, 255, 255, 0.08);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 0.4s ease;
}

.gallery-item img.loaded {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

/* ===== PORTFOLIO ROWS ===== */

.portfolio-rows {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.portfolio-row {
  display: flex;
  gap: 0.4rem;
}

.pf-item {
  flex-grow: var(--ratio, 0.667);
  flex-basis: 0;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  line-height: 0;
  font-size: 0;
}

body.dark-mode .pf-item {
  border-color: rgba(255, 255, 255, 0.08);
}

.pf-item img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 0.4s ease;
}

.pf-item .photo-credit-wrap {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
  font-size: 0;
}

.pf-item .photo-credit-wrap > img {
  width: 100%;
  height: auto;
  object-fit: initial;
}

.pf-item img.loaded {
  opacity: 1;
}

.pf-item:hover img {
  transform: scale(1.02);
}

@media (max-width: 480px) {
  .portfolio-row {
    flex-direction: column;
  }

  .pf-item {
    flex-basis: auto;
  }
}

/* ===== FAN CAROUSEL ===== */

/* ===== PORTFOLIO TEASER ===== */

.pt.section { padding-top: 4rem; padding-bottom: 4rem; }

.pt .pt-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 3.5rem;
  align-items: center;
}

.pt-text { max-width: 30rem; }

.pt-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 0.6rem;
}

.pt-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--color-text);
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin-bottom: 1rem;
}

.pt-body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.pt-btn { margin-top: 1.5rem; }

.pt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  width: 460px;
  flex-shrink: 0;
}

.pt-tile-wrapper {
  aspect-ratio: 1 / 1;
  perspective: 700px;
  overflow: hidden;
}

.pt-tile {
  position: relative;
  width: 100%;
  height: 100%;
  will-change: transform;
  transform-origin: center center;
  background: var(--color-highlight);
}

.pt-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 35%, transparent 40%, rgba(0,0,0,0.28) 100%);
  pointer-events: none;
}

@media (max-width: 820px) {
  .pt .pt-inner {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
  }
  .pt-grid {
    width: min(460px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .pt-grid { gap: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pt-tile, .pt-tile-wrapper {
    transition: none !important;
    transform: none !important;
  }
}

/* ===== INSTAGRAM CAROUSEL ===== */

.insta-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.insta-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0;
  flex: 1;
}

.insta-carousel::-webkit-scrollbar {
  display: none;
}

.insta-slide {
  flex: 0 0 min(100%, 350px);
}

.insta-arrow {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .insta-carousel-wrap {
    flex-direction: column;
  }

  .insta-arrow {
    display: none;
  }

  .insta-slide {
    flex: 0 0 100%;
  }
}

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

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  list-style: none;
  padding: 0.5rem 0;
  margin: 0.5rem 0 0;
  background: var(--color-bg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 100;
}

body.dark-mode .nav-dropdown-menu {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu li {
  padding: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  color: var(--color-text);
  background-color: rgba(0, 0, 0, 0.04);
}

.nav-dropdown-menu a::after {
  display: none;
}

body.dark-mode .nav-dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

/* Lightbox Overlay */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}

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

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox-overlay.open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover {
  opacity: 0.7;
}

.lightbox-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}



/* ===== ABOUT PAGE ===== */

.about-page {
  padding-top: 8rem;
}

.about-hero {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

.about-portrait {
  position: sticky;
  top: 6rem;
  border-radius: 0;
  overflow: hidden;
}

.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.about-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
}

.about-content .tagline {
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 2rem;
}

.about-content p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.qualifications {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.5rem 0;
}

.qualification-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
}

body.dark-mode .qualification-badge {
  background-color: #000;
  border-color: rgba(255, 255, 255, 0.12);
}

.qualification-badge svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent-gold);
  flex-shrink: 0;
}

.qualification-badge .badge-title {
  font-weight: 500;
  font-size: 0.95rem;
}

.qualification-badge .badge-detail {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

/* ===== MODALS / OVERLAYS ===== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: background-color 0.4s ease, opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(0px);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
}

body.dark-mode .modal-overlay.open {
  background-color: rgba(0, 0, 0, 0.5);
}

.modal {
  background-color: var(--color-bg);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 3rem;
  position: relative;
  border-radius: 0;
  transform: scale(0.4);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s ease;
  transform-origin: center center;
}

.modal-overlay.open .modal {
  transform: scale(1);
  opacity: 1;
}

.modal-split {
  max-width: 1100px;
  max-height: none;
  padding: 0;
  display: flex;
  overflow: hidden;
  border-radius: 0;
}

.modal-image {
  flex: 0 0 45%;
  display: flex;
  overflow: hidden;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-text {
  flex: 1;
  padding: 2.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.modal-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.modal-text p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.modal-text h3 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 1rem 0 0.75rem;
  color: var(--color-text);
}

.modal-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0.5rem;
}

.modal-text ul li {
  padding: 0.35rem 0;
  padding-left: 1rem;
  position: relative;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.modal-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  background-color: var(--color-text);
  border-radius: 50%;
  transform: translateY(-50%);
}

.modal-divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-border);
  margin: 1.25rem 0;
}

.modal-text .btn {
  margin-top: auto;
  align-self: flex-start;
}

.btn-dark {
  background: #000;
  color: #fff;
  border-color: #000;
}

.btn-dark:hover {
  background: #fff;
  color: #000;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-secondary);
  transition: color var(--transition);
  padding: 4px;
}

.modal-close:hover {
  color: var(--color-text);
}

.modal-close:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.modal h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.modal .modal-tagline {
  font-family: var(--font-body);
  color: var(--color-accent);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.modal p {
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.modal h3 {
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
  color: var(--color-text);
}

.modal ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.modal ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text-secondary);
}

.modal ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent-gold);
  transform: rotate(45deg) translateY(-50%);
}

.modal .btn {
  margin-top: 1.5rem;
}

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

.contact-page {
  padding-top: 2rem;
  margin-top: 2rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-detail span {
  color: var(--color-text-secondary);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(28, 25, 23, 0.12);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
  border-radius: 0;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2357534E' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-accent);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.form-checkbox label a {
  color: var(--color-accent);
  text-decoration: underline;
}

.dynamic-fields {
  display: none;
  animation: fadeIn 0.3s ease;
}

.dynamic-fields.visible {
  display: block;
}

/* ===== FAQ ===== */

.faq-section {
  margin-top: 5rem;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--color-accent);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--color-text-secondary);
  line-height: 1.8;
}

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

.footer {
  background-color: #fff;
  color: rgba(0, 0, 0, 0.5);
  padding: 3rem 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.dark-mode .footer {
  background-color: #000;
  color: rgba(255, 255, 255, 0.5);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #000;
}

body.dark-mode .footer-logo {
  color: #fff;
}

.footer-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 0.5rem;
}

body.dark-mode .footer-subtitle {
  color: rgba(255, 255, 255, 0.45);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.5);
  transition: color var(--transition);
  cursor: pointer;
}

.footer-links a:hover {
  color: #000;
}

body.dark-mode .footer-links a {
  color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .footer-links a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  color: rgba(0, 0, 0, 0.5);
  transition: all var(--transition);
  cursor: pointer;
}

.footer-social a:hover {
  border-color: #000;
  color: #000;
}

body.dark-mode .footer-social a {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .footer-social a:hover {
  border-color: #fff;
  color: #fff;
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.35);
}

body.dark-mode .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.35);
}

/* ===== PAGE HEADER ===== */

.page-header {
  padding: 10rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(170deg, #FFFFFF 0%, var(--color-highlight) 100%);
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--color-text-secondary);
  max-width: 550px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ===== LEGAL PAGES ===== */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.legal-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
}

.legal-content h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
}

.legal-content p {
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

.legal-content ul li {
  margin-bottom: 0.5rem;
}

/* ===== ANIMATIONS ===== */

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

/* Blur Text Effect */
.blur-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
  white-space: pre;
}

.blur-char.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .about-teaser {
    gap: 3rem;
  }

  .about-hero {
    gap: 3rem;
  }
}

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

  .nav-hamburger {
    display: flex;
  }

  .collage-area {
    height: 400px;
  }

  .collage-center { width: 180px; }
  .collage-tl { width: 120px; left: 5%; }
  .collage-tr { width: 110px; right: 5%; }
  .collage-br { width: 140px; right: 5%; }
  .collage-fr { display: none; }
  .collage-bl { width: 130px; left: 5%; }
  .collage-fl { display: none; }

  .hstrip-container {
    height: 35vh;
    min-height: 220px;
  }

  .about-teaser {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-portrait {
    position: static;
    max-height: 400px;
  }

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

  .portfolio-item.wide {
    grid-column: span 1;
  }

  .sticky-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .sticky-gallery-center {
    position: static;
    height: auto;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .modal {
    padding: 2rem 1.5rem;
    max-height: 90vh;
  }

  .modal-split {
    flex-direction: column;
  }

  .modal-image {
    flex: 0 0 auto;
    max-height: 250px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-qualifications {
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 1.25rem;
  }

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

  .portfolio-item.tall {
    grid-row: span 1;
  }

  .sticky-gallery {
    grid-template-columns: 1fr;
  }

  .sticky-gallery-scroll figure img {
    aspect-ratio: 9/16;
  }

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

  .hero {
    padding: 6rem 1.25rem 3rem;
  }

  .hstrip-container {
    height: 28vh;
    min-height: 180px;
  }

  .page-header {
    padding: 8rem 1.25rem 3rem;
  }
}

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

  .fade-in {
    opacity: 1;
    transform: none;
  }
}
