/*
Theme Name: Trushkina Theme
Theme URI: http://localhost:8080
Author: Codex
Description: Custom WordPress theme based on the Vite design for Irina Trushkina volleyball camps.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: trushkina-theme
*/

:root {
  --font-heading: 'Unbounded', sans-serif;
  --font-body: 'Inter', sans-serif;
  --brand-gold: #d4af37;
  --brand-creme: #fdf5e6;
  --brand-gray: #4b5563;
  --brand-dark: #1f2937;
  --brand-slate: #64748b;
  --brand-white: #ffffff;
  --surface: rgba(255, 255, 255, 0.9);
  --border-soft: rgba(212, 175, 55, 0.2);
  --shadow-strong: 0 24px 70px rgba(15, 23, 42, 0.18);
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(100% - 40px, 1200px);
}

.site-shell {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--brand-dark);
  background: var(--brand-creme);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  overflow-x: hidden;
  width: 100%;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 112px 0;
}

/* Headings - Modern Gen-Z Style */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  line-height: 1.2;
}

h1 { font-weight: 900; }
h2 { font-weight: 900; }
h3 { font-weight: 800; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand-gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.display-title,
.section-title,
.site-brand,
.stat-value,
.camp-price,
.contact-title {
  font-family: 'Unbounded', sans-serif;
}

.section-title,
.display-title,
.contact-title {
  margin: 0 0 24px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.display-title {
  font-size: clamp(2.5rem, 8vw, 6rem);
  color: var(--brand-white);
  line-height: 1.1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.display-title .accent,
.section-title .accent,
.contact-title .accent {
  color: var(--brand-gold);
  font-style: italic;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
}

.lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 620px;
  line-height: 1.5;
}

.btn,
.button,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
  cursor: pointer;
}

.btn:hover,
.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
}

.btn-primary,
button[type="submit"],
input[type="submit"] {
  background: var(--brand-gold);
  color: var(--brand-white);
  box-shadow: 0 18px 32px rgba(212, 175, 55, 0.26);
}

.btn-secondary {
  background: var(--brand-gray);
  color: var(--brand-white);
  box-shadow: 0 18px 32px rgba(75, 85, 99, 0.22);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--brand-white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--brand-white);
  color: var(--brand-dark);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 18px 0;
  transition: background 200ms ease, box-shadow 200ms ease, padding 200ms ease;
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.site-header.is-scrolled .site-brand-text,
.site-header.is-scrolled .primary-nav a,
.site-header.is-scrolled .menu-toggle {
  color: var(--brand-dark);
}

.site-header-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-gold);
  color: var(--brand-white);
  font-family: "Oswald", sans-serif;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 800;
}

.site-brand-text {
  color: var(--brand-white);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 200ms ease;
}

.site-brand-text span {
  color: var(--brand-gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  color: var(--brand-white);
  font-weight: 700;
  transition: color 180ms ease, opacity 180ms ease;
}

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

/* Primary Menu - Dropdown Support */
.primary-menu,
.primary-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-menu > li {
  position: relative;
}

.primary-menu > li > a {
  color: var(--brand-white);
  font-weight: 700;
  padding: 8px 0;
  display: block;
  transition: color 180ms ease;
}

.primary-menu > li > a:hover {
  color: var(--brand-gold);
}

/* Submenu (dropdown) */
.primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--brand-dark);
  border-radius: 8px;
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 200ms ease;
  z-index: 1000;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-menu .sub-menu li {
  position: relative;
}

.primary-menu .sub-menu a {
  color: var(--brand-white);
  padding: 10px 20px;
  display: block;
  font-weight: 500;
  transition: all 180ms ease;
}

.primary-menu .sub-menu a:hover {
  color: var(--brand-gold);
  background: rgba(255, 255, 255, 0.05);
}

/* Submenu arrow indicator */
.primary-menu .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

/* Third level menu */
.primary-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 8px;
}

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.news-card {
  background: var(--brand-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-content {
  padding: 24px;
}

.news-card-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.news-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.news-card-title a {
  color: var(--brand-dark);
  text-decoration: none;
  transition: color 180ms ease;
}

.news-card-title a:hover {
  color: var(--brand-gold);
}

.news-card-excerpt {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
}

.news-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-gold);
  text-decoration: none;
  transition: color 180ms ease;
}

.news-card-link:hover {
  color: var(--brand-dark);
}

.news-archive-link {
  text-align: center;
}

.news-archive-link .btn-outline {
  border: 2px solid var(--brand-dark);
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(31, 41, 55, 0.12);
}

.news-archive-link .btn-outline:hover {
  background: var(--brand-dark);
  color: var(--brand-white);
  box-shadow: 0 18px 34px rgba(31, 41, 55, 0.2);
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Archive Page */
.archive-header {
  margin-bottom: 48px;
  text-align: center;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.archive-card {
  background: var(--brand-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.archive-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.archive-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.archive-card:hover .archive-card-image img {
  transform: scale(1.05);
}

.archive-card-content {
  padding: 24px;
}

.archive-card-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.archive-card-meta a {
  color: var(--brand-gold);
  text-decoration: none;
}

.archive-card-meta a:hover {
  text-decoration: underline;
}

.archive-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.archive-card-title a {
  color: var(--brand-dark);
  text-decoration: none;
  transition: color 180ms ease;
}

.archive-card-title a:hover {
  color: var(--brand-gold);
}

.archive-card-excerpt {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
}

.archive-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-gold);
  text-decoration: none;
  transition: color 180ms ease;
}

.archive-card-link:hover {
  color: var(--brand-dark);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 180ms ease;
}

.pagination a {
  background: var(--brand-white);
  color: var(--brand-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pagination a:hover {
  background: var(--brand-gold);
  color: var(--brand-white);
}

.pagination .current {
  background: var(--brand-dark);
  color: var(--brand-white);
}

.no-posts {
  text-align: center;
  padding: 64px 0;
}

.no-posts h2 {
  margin-bottom: 16px;
}

.error-page {
  min-height: calc(100svh - 220px);
  display: flex;
  align-items: center;
}

.error-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 48px;
  border: 1px solid rgba(31, 41, 55, 0.08);
  border-radius: 40px;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.16), transparent 35%),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

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

  .error-panel {
    padding: 40px 24px;
    border-radius: 28px;
  }
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 12px;
  color: var(--brand-white);
  background: transparent;
  box-shadow: none;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 160px 0 80px;
  display: flex;
  align-items: center;
  background: var(--brand-dark);
  color: var(--brand-white);
  width: 100%;
  box-sizing: border-box;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 41, 55, 0.95) 0%, rgba(31, 41, 55, 0.82) 45%, rgba(31, 41, 55, 0.28) 100%),
    var(--hero-bg-image, url("https://images.unsplash.com/photo-1592656670411-2918d7db4b47?auto=format&fit=crop&q=80&w=2000")) center/cover;
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 8%, rgba(0, 0, 0, 0.55) 52%, transparent 100%);
  opacity: 0.45;
  pointer-events: none;
}

.hero-grid,
.about-grid,
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 10px 16px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--brand-gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 54px;
}

.stat-value {
  color: var(--brand-gold);
  font-size: 2.4rem;
  line-height: 1;
}

.stat-label {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-photo-wrap {
  position: relative;
}

.hero-photo {
  border: 8px solid rgba(212, 175, 55, 0.2);
  border-radius: 36px;
  overflow: hidden;
  transform: rotate(3deg);
  box-shadow: var(--shadow-strong);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.5;
}

.glow.gold {
  top: -18px;
  right: -28px;
  width: 220px;
  height: 220px;
  background: rgba(212, 175, 55, 0.42);
}

.glow.slate {
  bottom: -12px;
  left: -22px;
  width: 220px;
  height: 220px;
  background: rgba(75, 85, 99, 0.38);
}

.about {
  background: var(--brand-white);
}

.about-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.about-page {
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.16), transparent 24%),
    linear-gradient(180deg, #f7f1e3 0%, #fffdf8 38%, #eef2f7 100%);
}

.about-page-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 41, 55, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 41, 55, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.4;
  pointer-events: none;
}

.about-page-hero-grid,
.about-page-bio-grid,
.about-page-philosophy-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.about-page-hero-copy .lead {
  color: rgba(31, 41, 55, 0.82);
  max-width: 680px;
}

.about-page-hero-copy .display-title {
  color: #2f3c4f;
}

.about-page-name {
  display: block;
  margin-bottom: 0.08em;
}

.about-page-name span {
  display: block;
}

.about-page-stat-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 560px;
  margin-top: 36px;
}

.about-page-stat-card {
  padding: 24px 24px 22px;
  border: 1px solid rgba(31, 41, 55, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.about-page-stat-number {
  display: block;
  color: var(--brand-gold);
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 0.95;
}

.about-page-stat-label {
  display: block;
  margin-top: 10px;
  color: var(--brand-dark);
  font-weight: 700;
}

.about-page-hero-visual {
  position: relative;
}

.about-page-photo-stack {
  position: relative;
  min-height: 660px;
}

.about-page-photo {
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow-strong);
}

.about-page-photo img,
.about-page-bio-shot img,
.about-page-quote-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-page-photo-main {
  width: min(100%, 420px);
  margin-left: auto;
  border: 8px solid rgba(255, 255, 255, 0.72);
}

.about-page-photo-main img {
  aspect-ratio: 4 / 5;
}

.about-page-photo-side {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: min(62%, 280px);
  border: 8px solid rgba(255, 255, 255, 0.72);
  transform: rotate(-7deg);
}

.about-page-photo-side img {
  aspect-ratio: 4 / 5;
}

.about-page-floating-note {
  position: absolute;
  right: -20px;
  bottom: 54px;
  max-width: 220px;
  padding: 18px 20px;
  border-radius: 24px;
  background: var(--brand-dark);
  color: var(--brand-white);
  box-shadow: var(--shadow-strong);
}

.about-page-floating-note span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-page-floating-note strong {
  display: block;
  line-height: 1.4;
}

.about-page-bio,
.about-page-philosophy {
  background: rgba(255, 255, 255, 0.66);
}

.about-page-bio-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.about-page-bio-shot,
.about-page-quote-photo {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.about-page-bio-shot img {
  aspect-ratio: 4 / 4.6;
}

.about-page-bio-shot.tall {
  transform: translateY(28px);
}

.about-page-bio-shot.tall img {
  aspect-ratio: 4 / 5.6;
}

.about-page-achievements {
  background: var(--brand-dark);
  color: var(--brand-white);
}

.about-page-achievements .copy,
.about-page-achievements .section-title {
  color: var(--brand-white);
}

.about-page-achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.about-page-achievement-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
}

.about-page-achievement-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.about-page-achievement-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(212, 175, 55, 0.14);
  font-size: 1.8rem;
}

.about-page-pillars {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.about-page-pillar {
  padding: 22px 24px;
  border-left: 4px solid var(--brand-gold);
  border-radius: 0 24px 24px 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.about-page-pillar h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.about-page-pillar p {
  margin: 0;
  color: var(--brand-gray);
}

.about-page-quote-panel {
  padding: 36px;
  border-radius: 32px;
  background: var(--brand-dark);
  color: var(--brand-white);
  box-shadow: var(--shadow-strong);
}

.about-page-quote {
  margin: 0 0 18px;
  color: var(--brand-gold);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.04;
  text-transform: uppercase;
}

.about-page-quote-panel .copy {
  color: rgba(255, 255, 255, 0.78);
}

.about-page-quote-photo {
  margin-top: 28px;
}

.about-page-quote-photo img {
  aspect-ratio: 4 / 4.2;
}

.about-page-camp-cta {
  padding-top: 0;
}

.about-page-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 42px;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--brand-dark) 0%, #314158 100%);
  color: var(--brand-white);
  box-shadow: var(--shadow-strong);
}

.about-page-cta-card .copy {
  color: rgba(255, 255, 255, 0.8);
}

.about-page-cta-actions {
  display: grid;
  gap: 14px;
}

@media (max-width: 1024px) {
  .about-page-hero-grid,
  .about-page-bio-grid,
  .about-page-philosophy-grid,
  .about-page-cta-card,
  .about-page-achievement-grid {
    grid-template-columns: 1fr;
  }

  .about-page-hero {
    min-height: auto;
  }

  .about-page-photo-stack {
    min-height: 0;
    padding-bottom: 140px;
  }

  .about-page-photo-main {
    margin: 0 auto;
  }

  .about-page-photo-side {
    left: 24px;
    bottom: 0;
  }

  .about-page-floating-note {
    right: 18px;
    bottom: 28px;
  }

  .about-page-cta-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .about-page-stat-strip,
  .about-page-bio-gallery,
  .about-page-cta-actions {
    grid-template-columns: 1fr;
  }

  .about-page-photo-stack {
    padding-bottom: 0;
  }

  .about-page-photo-side {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 18px;
    transform: none;
  }

  .about-page-floating-note {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: 18px;
  }

  .about-page-bio-shot.tall {
    transform: none;
  }

  .about-page-achievement-card {
    grid-template-columns: 1fr;
  }

  .about-page-quote-panel,
  .about-page-cta-card {
    padding: 28px 24px;
  }
}

.about-collage {
  position: relative;
}

.about-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.about-images img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.about-images img:first-child {
  transform: translateY(-16px);
}

.about-images img:last-child {
  transform: translateY(16px);
}

.trophy-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border: 5px solid var(--brand-white);
  border-radius: 999px;
  background: var(--brand-gold);
  color: var(--brand-white);
  box-shadow: var(--shadow-strong);
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  text-align: center;
  line-height: 1.2;
}

.copy {
  color: var(--brand-slate);
  font-size: 1.08rem;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 34px 0 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}

.feature-dot {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(75, 85, 99, 0.1);
  color: var(--brand-gray);
  flex: 0 0 28px;
}

.feature-dot::before {
  content: "✓";
}

.camps {
  background: #f8fafc;
}

.section-intro {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-intro .copy {
  margin: 0;
}

.camp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.camp-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius-xl);
  background: var(--brand-white);
  box-shadow: var(--shadow-soft);
}

.camp-card-header,
.camp-card-body {
  padding: 32px;
}

.camp-card-header {
  color: var(--brand-white);
}

.camp-card-header.gray {
  background: var(--brand-gray);
}

.camp-card-header.gold {
  background: var(--brand-gold);
}

.camp-card-header.dark {
  background: var(--brand-dark);
}

.camp-price {
  font-size: 2.4rem;
  line-height: 1;
}

.camp-title {
  margin: 18px 0 4px;
  font-size: 1.55rem;
  font-weight: 800;
}

.camp-subtitle,
.camp-location {
  color: rgba(255, 255, 255, 0.8);
}

.camp-location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.camp-location::before {
  content: "•";
  color: var(--brand-gold);
  font-size: 1.4rem;
  line-height: 1;
}

.camp-features {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: var(--brand-slate);
}

.camp-features li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.camp-features li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand-gold);
  flex: 0 0 7px;
}

.camp-button {
  width: 100%;
  min-height: 58px;
  border-radius: 20px;
}

.camp-button.gray {
  background: var(--brand-gray);
}

.camp-button.gold {
  background: var(--brand-gold);
}

.camp-button.dark {
  background: var(--brand-dark);
}

.gallery {
  background: var(--brand-dark);
  color: var(--brand-white);
}

.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}

.gallery-link {
  flex-shrink: 0;
  white-space: nowrap;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.gallery-item-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.24), rgba(31, 41, 55, 0.92)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 55%);
}

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

.gallery-item::after {
  content: "Instagram";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.42);
  color: var(--brand-white);
  font-weight: 800;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Gallery Item Overlay */
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
  color: var(--brand-white);
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-item-overlay.is-visible {
  opacity: 1;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.gallery-card-date,
.gallery-card-location,
.gallery-card-count {
  font-size: 0.875rem;
  margin: 0 0 4px 0;
  opacity: 0.9;
}

.gallery-card-count {
  font-weight: 600;
  color: var(--accent);
}

.gallery-archive-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.gallery-archive-page {
  min-height: 100svh;
  display: flex;
  align-items: stretch;
}

.gallery-archive-layout {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
}

.gallery-grid-archive {
  margin-bottom: 48px;
}

.gallery-archive-layout .no-posts {
  display: grid;
  flex: 1;
  place-items: center;
  align-content: center;
}

.no-galleries-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.contact {
  background: var(--brand-white);
}

.contact-card {
  overflow: hidden;
  border: 1px solid rgba(31, 41, 55, 0.06);
  border-radius: 48px;
  background: var(--surface);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(12px);
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.contact-panel {
  padding: 56px;
}

.contact-panel.dark {
  background: var(--brand-dark);
  color: var(--brand-white);
}

.contact-panel.light {
  background: var(--brand-white);
}

.contact-copy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.contact-items {
  display: grid;
  gap: 26px;
  margin-top: 42px;
}

.contact-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
}

.contact-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-icon.gold {
  background: rgba(212, 175, 55, 0.18);
  color: var(--brand-gold);
}

.contact-icon.gray {
  background: rgba(75, 85, 99, 0.2);
  color: #cbd5e1;
}

.contact-icon.white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--brand-white);
}

.contact-kicker {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-value {
  font-size: 1.15rem;
  font-weight: 800;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 44px;
}

.social-link {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--brand-white);
}

.social-link:hover {
  border-color: transparent;
  background: var(--brand-gold);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.field {
  display: grid;
  gap: 10px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #f8fafc;
  color: var(--brand-dark);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--brand-gold);
}

.notice {
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 16px;
  font-weight: 700;
}

.notice-success {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
}

.notice-error {
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--brand-dark);
  color: var(--brand-white);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 28px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--brand-white);
}

.footer-meta {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.92rem;
}

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .camp-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo-wrap {
    max-width: 560px;
    margin: 0 auto;
  }

  .gallery-head,
  .site-footer-inner {
    align-items: start;
    flex-direction: column;
  }
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: none;
    width: var(--container);
    margin: 16px auto 0;
    padding: 20px;
    border-radius: 24px;
    background: var(--brand-white);
    box-shadow: var(--shadow-soft);
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 12px;
  }

  .mobile-nav a {
    font-weight: 800;
  }

  .hero {
    padding-top: 120px;
  }

  .contact-panel {
    padding: 40px 28px;
  }

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

  /* Increase padding for mobile sections */
  .section {
    padding: 80px 0;
  }

  .display-title {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .hero-tag {
    font-size: 0.75rem;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .display-title {
    font-size: clamp(1.8rem, 12vw, 2.8rem);
    letter-spacing: -0.01em;
  }

  .section-title {
    font-size: clamp(1.6rem, 10vw, 2.2rem);
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-value {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .display-title {
    font-size: clamp(2.2rem, 11vw, 3.8rem);
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

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

  .hero-photo-wrap {
    display: none;
  }

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

  .contact-panel {
    padding: 32px 20px;
  }

  .contact-card {
    border-radius: 28px;
  }

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

/* Utility Classes - Modern Gen-Z Fonts */
.font-heading { font-family: 'Unbounded', sans-serif; }
.font-body { font-family: 'Inter', sans-serif; }
.text-black { font-weight: 900; }
.text-extrabold { font-weight: 800; }

/* Button font update */
.btn,
.button,
button[type="submit"],
input[type="submit"] {
  font-family: 'Unbounded', sans-serif;
  letter-spacing: -0.02em;
}
