/* ============================================================
   TRACEY POSEY — V1 EDITORIAL MAGAZINE DESIGN
   ============================================================ */

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

:root {
  /* Light theme (default) */
  --bg-primary: #faf7f2;
  --bg-secondary: #f0ebe3;
  --bg-card: #ffffff;
  --bg-nav: rgba(250, 247, 242, 0.92);
  --accent: #a0785a;
  --accent-hover: #8a6548;
  --accent-light: rgba(160, 120, 90, 0.1);
  --text-primary: #1a1a1a;
  --text-secondary: #6b6259;
  --text-muted: #9e958b;
  --border: rgba(26, 26, 26, 0.1);
  --border-strong: rgba(26, 26, 26, 0.2);
  --overlay: rgba(26, 26, 26, 0.5);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
  --radius: 2px;
}

[data-theme="dark"] {
  --bg-primary: #111110;
  --bg-secondary: #1a1918;
  --bg-card: #222120;
  --bg-nav: rgba(17, 17, 16, 0.92);
  --accent: #c9a07a;
  --accent-hover: #d4b08e;
  --accent-light: rgba(201, 160, 122, 0.1);
  --text-primary: #ede8e1;
  --text-secondary: #a09889;
  --text-muted: #6b6259;
  --border: rgba(237, 232, 225, 0.08);
  --border-strong: rgba(237, 232, 225, 0.15);
  --overlay: rgba(0, 0, 0, 0.7);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.3);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background 0.5s ease, color 0.5s ease;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; object-position: top; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 1000px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-primary);
}

.editorial-heading {
  font-size: clamp(3rem, 8vw, 7rem);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.editorial-heading em {
  font-style: italic;
  font-weight: 300;
}

.label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s ease;
  background: transparent;
}

.nav--scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.nav__logo span {
  font-weight: 300;
  color: var(--text-secondary);
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav__links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.5rem 0.9rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.9rem;
  right: 0.9rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text-primary);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Nav Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.nav__toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translateY(4.5px) translateX(4.5px);
}
.nav__toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-4.5px) translateX(4.5px);
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.theme-toggle:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-lg);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: var(--text-primary);
  transition: fill 0.3s ease;
}

.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ============================================================
   HERO — Split layout with overlapping text
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero__media {
  position: relative;
  overflow: hidden;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero__media img.is-active {
  opacity: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 6rem 5rem;
  position: relative;
}

.hero__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero__title {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 0.3rem;
}

.hero__title em {
  font-style: italic;
  display: block;
  color: var(--text-secondary);
  font-size: 0.85em;
}

.hero__tagline {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  font-weight: 300;
  max-width: 320px;
  line-height: 1.7;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--accent);
  transition: all 0.3s ease;
}

.hero__cta:hover {
  gap: 1rem;
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.hero__cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero__scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: var(--border-strong);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

/* ============================================================
   PORTFOLIO CATEGORIES — Asymmetric editorial grid
   ============================================================ */
.categories {
  padding: 8rem 0;
}

.categories__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.categories__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

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

.categories__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.categories__grid--two {
  grid-template-columns: 1fr 1fr;
}

.categories__grid--two .category-card:nth-child(1) {
  grid-row: span 1;
}

.categories__grid--two .category-card {
  min-height: 450px;
}

.categories__grid--two .category-card .category-card__img {
  aspect-ratio: auto;
  position: absolute;
  inset: 0;
}

.categories__grid .category-card:nth-child(1) {
  grid-row: span 2;
}

.category-card {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: var(--radius);
}

.category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:first-child .category-card__img {
  aspect-ratio: auto;
  position: absolute;
  inset: 0;
}

.category-card:not(:first-child) .category-card__img {
  aspect-ratio: 4/3;
}

.category-card:first-child {
  min-height: 500px;
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.1) 40%,
    transparent 100%
  );
  transition: opacity 0.5s ease;
}

.category-card__content {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: auto;
  padding: 0.7rem 2rem 0.7rem 1.5rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0 var(--radius) var(--radius) 0;
  transform: translateX(-0.5rem);
  transition: transform 0.5s ease;
}

[data-theme="dark"] .category-card__content {
  background: rgba(17, 17, 16, 0.65);
}

.category-card:hover .category-card__img {
  transform: scale(1.04);
}

.category-card:hover .category-card__content {
  transform: translateX(0);
}

.category-card__label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.category-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.2;
}

.category-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease 0.1s;
}

.category-card:hover .category-card__arrow {
  opacity: 0.8;
  transform: translateY(0);
}

.category-card__arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ============================================================
   BIO / ABOUT — Overlapping editorial layout
   ============================================================ */
.bio {
  padding: 10rem 0 8rem;
}

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

.bio__photo {
  position: relative;
}

.bio__photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
}

.bio__photo::after {
  content: '';
  position: absolute;
  top: 2rem;
  left: -2rem;
  right: 2rem;
  bottom: -2rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  z-index: -1;
}

.bio__content {
  padding: 2rem 0;
}

.bio__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.bio__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.bio__title em {
  font-style: italic;
  color: var(--text-secondary);
}

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

.bio__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--accent);
  transition: all 0.3s ease;
}

.bio__cta:hover {
  gap: 1rem;
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.bio__cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ============================================================
   CONTACT & STATS
   ============================================================ */
.stats-section {
  padding: 10rem 0 4rem;
}

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

.stats__photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
}

.stats__content {
  padding: 2rem 0;
}

.stats__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.stats__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-item {
  background: var(--bg-primary);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: background 0.3s ease;
}

.stat-item:hover {
  background: var(--bg-secondary);
}

.stat-item__label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.stat-item__value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-primary);
}

/* Contact Section */
.contact-section {
  padding: 4rem 0 8rem;
}

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

.contact__info {
  padding: 2rem 0;
}

.contact__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.contact__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.contact__text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  padding: 1rem 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.contact-links a:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

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

.contact__photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ============================================================
   GALLERY PAGES — Masonry-inspired grid
   ============================================================ */
.gallery-header {
  padding: 10rem 0 3rem;
  text-align: center;
}

.gallery-header__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.gallery-header__title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.gallery-header__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
}

.gallery-section {
  padding: 0 0 6rem;
}

.gallery__grid {
  columns: 3;
  column-gap: 1.25rem;
}

.gallery__item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery__item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.gallery__item img {
  width: 100%;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.03);
}

.gallery__item:hover::after {
  background: rgba(0,0,0,0.08);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.is-active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(0.95);
  transition: transform 0.4s ease;
}

.lightbox.is-active .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease;
}

.lightbox__nav:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox__nav--prev { left: 2rem; }
.lightbox__nav--next { right: 2rem; }

.lightbox__nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.lightbox__counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   FOOTER — Minimal editorial
   ============================================================ */
.footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-primary);
}

.footer__logo span {
  font-weight: 300;
  color: var(--text-secondary);
}

.footer__links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
}

.footer__links a {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

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

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

/* ============================================================
   COOKIE NOTICE
   ============================================================ */
.cookie-notice {
  position: fixed;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 998;
  box-shadow: var(--shadow-lg);
  transition: bottom 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 600px;
  width: calc(100% - 2rem);
}

.cookie-notice.is-visible {
  bottom: 5rem;
}

.cookie-notice__text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cookie-notice__btn {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.cookie-notice__btn:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__media {
    height: 60vh;
  }

  .hero__content {
    padding: 4rem 2rem;
  }

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

  .categories__grid .category-card:nth-child(1) {
    grid-row: span 1;
  }

  .category-card:first-child {
    min-height: 280px;
  }

  .category-card:not(:first-child) .category-card__img {
    aspect-ratio: 3/4;
  }

  .bio__inner,
  .stats__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .bio__photo::after {
    display: none;
  }

  .gallery__grid {
    columns: 2;
  }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 0;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }

  .nav__links.is-open {
    right: 0;
  }

  .nav__links a {
    padding: 0.85rem 0;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--border);
  }

  .nav__links a::after {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__content {
    padding: 3rem 1.5rem;
  }

  .hero__scroll {
    display: none;
  }

  .categories__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .categories__grid--two .category-card {
    min-height: 280px;
  }

  .category-card:first-child {
    min-height: 250px;
  }

  .categories__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

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

  .gallery__grid {
    columns: 2;
    column-gap: 0.75rem;
  }

  .gallery__item {
    margin-bottom: 0.75rem;
  }

  .container {
    padding: 0 1.25rem;
  }

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

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .lightbox__nav--prev { left: 1rem; }
  .lightbox__nav--next { right: 1rem; }
}

@media (max-width: 480px) {
  .hero__media {
    height: 50vh;
  }

  .hero__title {
    font-size: 2.8rem;
  }

  .gallery__grid {
    columns: 1;
  }

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

  .category-card__name {
    font-size: 1.4rem;
  }

  .cookie-notice {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* Mobile overlay for nav */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}
