/* =============================================================================
   NSTU Photography Portfolio — Main CSS Design System
   Author: Mehedi Hasan
   Design Language: Minimal · Luxury · Editorial · Modern
   ============================================================================= */

/* =============================================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ============================================================================= */
:root {
  /* Color Palette */
  --color-bg:          #FFFFFF;
  --color-bg-soft:     #F8F8F6;
  --color-bg-muted:    #F2F2EF;
  --color-text:        #111111;
  --color-text-secondary: #666666;
  --color-text-tertiary:  #999999;
  --color-accent:      #D4AF37;
  --color-accent-dark: #B8960C;
  --color-accent-light: rgba(212, 175, 55, 0.12);
  --color-border:      #E5E5E2;
  --color-border-light: #F0F0ED;
  --color-overlay:     rgba(10, 10, 10, 0.55);
  --color-overlay-deep: rgba(10, 10, 10, 0.82);
  --color-white:       #FFFFFF;
  --color-black:       #000000;

  /* Typography */
  --font-heading:  'Playfair Display', 'Georgia', serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:     'Fira Code', 'Courier New', monospace;

  /* Type Scale */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-md:    1.125rem;   /* 18px */
  --text-lg:    1.25rem;    /* 20px */
  --text-xl:    1.5rem;     /* 24px */
  --text-2xl:   2rem;       /* 32px */
  --text-3xl:   2.5rem;     /* 40px */
  --text-4xl:   3.5rem;     /* 56px */
  --text-5xl:   5rem;       /* 80px */
  --text-hero:  clamp(2.5rem, 7vw, 6rem);

  /* Spacing */
  --space-1:    0.25rem;
  --space-2:    0.5rem;
  --space-3:    0.75rem;
  --space-4:    1rem;
  --space-5:    1.25rem;
  --space-6:    1.5rem;
  --space-8:    2rem;
  --space-10:   2.5rem;
  --space-12:   3rem;
  --space-16:   4rem;
  --space-20:   5rem;
  --space-24:   6rem;
  --space-32:   8rem;

  /* Transitions */
  --ease-out:   cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast:    150ms;
  --duration-base:    300ms;
  --duration-slow:    600ms;
  --duration-slower:  900ms;

  /* Layout */
  --container-max:    1320px;
  --container-narrow: 800px;
  --nav-height:       70px;
}

/* =============================================================================
   2. RESET & BASE
   ============================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

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

ul,
ol {
  list-style: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* =============================================================================
   3. TYPOGRAPHY
   ============================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, var(--text-4xl)); }
h2 { font-size: clamp(1.5rem, 3.5vw, var(--text-3xl)); }
h3 { font-size: clamp(1.25rem, 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-md); }

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

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.lead {
  font-size: var(--text-md);
  line-height: 1.75;
  color: var(--color-text-secondary);
}

/* =============================================================================
   4. LAYOUT UTILITIES
   ============================================================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--space-24);
}

.section--large {
  padding-block: var(--space-32);
}

.section--sm {
  padding-block: var(--space-16);
}

.grid {
  display: grid;
  gap: var(--space-8);
}

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

.flex {
  display: flex;
  gap: var(--space-4);
}

.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--wrap { flex-wrap: wrap; }

/* =============================================================================
   5. NAVIGATION
   ============================================================================= */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--duration-slow) var(--ease-out),
              box-shadow var(--duration-slow) var(--ease-out);
}

.site-nav.nav--scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border);
}

.site-nav.nav--transparent {
  background: transparent;
}

.site-nav.nav--transparent .nav-logo,
.site-nav.nav--transparent .nav-link {
  color: #fff;
}

.site-nav.nav--transparent .nav-link::after {
  background: rgba(255,255,255,0.8);
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  transition: opacity var(--duration-base) var(--ease-out);
  text-decoration: none;
}

.nav-logo span {
  color: var(--color-accent);
}

.nav-logo:hover {
  opacity: 0.7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
  position: relative;
  transition: color var(--duration-base) var(--ease-out);
  padding-block: var(--space-2);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--duration-base) var(--ease-out);
}

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

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

.nav-link.active {
  color: var(--color-text);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-base) var(--ease-out);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--color-bg);
    border-left: 1px solid var(--color-border);
    padding: calc(var(--nav-height) + var(--space-8)) var(--space-8) var(--space-8);
    transition: right var(--duration-slow) var(--ease-expo);
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
    box-shadow: -20px 0 80px rgba(0,0,0,0.08);
  }

  .nav-link {
    width: 100%;
    padding-block: var(--space-4);
    font-size: var(--text-base);
    border-bottom: 1px solid var(--color-border-light);
  }

  .nav-link::after { display: none; }
}

/* =============================================================================
   6. HERO SECTION
   ============================================================================= */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

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

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 8s var(--ease-out);
  will-change: transform;
}

.hero__img.loaded {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.40) 45%,
    rgba(10, 10, 10, 0.05) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 0 var(--space-20);
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  opacity: 0;
  transform: translateY(20px);
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-accent);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 780px;
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(30px);
}

.hero__subtitle {
  font-size: clamp(var(--text-sm), 1.5vw, var(--text-md));
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: var(--space-10);
  opacity: 0;
  transform: translateY(20px);
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0.6;
}

.hero__scroll-hint span {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { opacity: 1; transform: scaleY(1); }
  50%  { opacity: 0.4; }
  100% { opacity: 1; transform: scaleY(1); }
}

/* =============================================================================
   7. BUTTONS
   ============================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.8em 1.8em;
  border-radius: 2px;
  cursor: pointer;
  transition:
    background var(--duration-base) var(--ease-out),
    color var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

/* Primary */
.btn--primary {
  background: var(--color-accent);
  color: #111;
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* Ghost */
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Ghost dark */
.btn--ghost-dark {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--ghost-dark:hover {
  border-color: var(--color-text);
  background: var(--color-text);
  color: var(--color-white);
}

/* Icon button */
.btn--icon {
  padding: 0.6em;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  justify-content: center;
}

/* =============================================================================
   8. SECTION TITLES
   ============================================================================= */
.section-header {
  margin-bottom: var(--space-12);
}

.section-header--center {
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  position: relative;
  display: inline-block;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

.section-divider__line {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.section-divider__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* =============================================================================
   9. PHOTO CARDS
   ============================================================================= */
.photo-card {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-muted);
  cursor: pointer;
}

.photo-card__img-wrap {
  overflow: hidden;
  position: relative;
}

.photo-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-expo);
  display: block;
}

.photo-card:hover .photo-card__img {
  transform: scale(1.06);
}

.photo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0) 55%
  );
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
}

.photo-card:hover .photo-card__overlay {
  opacity: 1;
}

.photo-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-1);
  transform: translateY(8px);
  transition: transform var(--duration-base) var(--ease-out);
}

.photo-card:hover .photo-card__title {
  transform: translateY(0);
}

.photo-card__meta {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.06em;
  transform: translateY(8px);
  transition: transform var(--duration-base) var(--ease-out) 50ms;
}

.photo-card:hover .photo-card__meta {
  transform: translateY(0);
}

/* Featured (large) card */
.photo-card--featured .photo-card__img-wrap {
  aspect-ratio: 4/3;
}

/* Grid card */
.photo-card--grid .photo-card__img-wrap {
  aspect-ratio: 3/2;
}

/* =============================================================================
   10. HOME SECTIONS
   ============================================================================= */

/* Featured grid: 1 large + 3 smaller */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: var(--space-3);
}

.featured-grid__main {
  grid-column: span 8;
  grid-row: span 2;
}

.featured-grid__main .photo-card__img-wrap {
  aspect-ratio: 4/3;
  height: 100%;
}

.featured-grid__sub {
  grid-column: span 4;
}

.featured-grid__sub .photo-card__img-wrap {
  aspect-ratio: 16/10;
}

@media (max-width: 900px) {
  .featured-grid__main { grid-column: span 12; grid-row: span 1; }
  .featured-grid__sub  { grid-column: span 6; }
}

@media (max-width: 600px) {
  .featured-grid__main { grid-column: span 12; }
  .featured-grid__sub  { grid-column: span 12; }
}

/* Latest / Most Viewed horizontal grid */
.photos-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.photos-row .photo-card__img-wrap {
  aspect-ratio: 3/4;
}

@media (max-width: 1024px) {
  .photos-row { grid-template-columns: repeat(3, 1fr); }
}

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

/* Scrolling strip (Swiper) */
.strip-section {
  overflow: hidden;
  padding-block: var(--space-12);
  background: var(--color-bg-soft);
}

.strip-swiper {
  overflow: visible !important;
}

.strip-swiper .swiper-wrapper {
  align-items: center;
}

.strip-slide {
  width: 280px;
}

.strip-slide .photo-card__img-wrap {
  aspect-ratio: 3/4;
}

/* =============================================================================
   11. STORY CARDS
   ============================================================================= */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

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

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

.story-card {
  display: block;
  cursor: pointer;
  text-decoration: none;
}

.story-card__img-wrap {
  aspect-ratio: 3/2;
  overflow: hidden;
  margin-bottom: var(--space-5);
}

.story-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-expo);
}

.story-card:hover .story-card__img {
  transform: scale(1.05);
}

.story-card__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.story-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  transition: color var(--duration-base);
}

.story-card:hover .story-card__title {
  color: var(--color-accent-dark);
}

.story-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =============================================================================
   12. FOOTER
   ============================================================================= */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-16) var(--space-8);
  margin-top: var(--space-32);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

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

.footer-brand p {
  font-size: var(--text-sm);
  max-width: 280px;
  margin-top: var(--space-3);
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.footer-col ul li {
  margin-bottom: var(--space-3);
}

.footer-col ul li a {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  transition: color var(--duration-base);
}

.footer-col ul li a:hover {
  color: var(--color-text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-light);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
}

.footer-social {
  display: flex;
  gap: var(--space-4);
}

.footer-social a {
  color: var(--color-text-tertiary);
  font-size: var(--text-sm);
  transition: color var(--duration-base);
}

.footer-social a:hover {
  color: var(--color-accent);
}

/* =============================================================================
   13. PHOTOGRAPHER PAGE
   ============================================================================= */
.photographer-hero {
  padding-top: calc(var(--nav-height) + var(--space-24));
  padding-bottom: var(--space-24);
}

.photographer-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: var(--space-16);
  align-items: start;
}

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

.photographer-portrait {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-8));
}

.photographer-portrait__img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: var(--space-6);
}

.photographer-portrait__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photographer-portrait__name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.photographer-portrait__role {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-5);
}

.social-links {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.4em 0.9em;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  transition: all var(--duration-base);
}

.social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.photographer-bio .section-title {
  font-size: var(--text-2xl);
}

.bio-text {
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.equipment-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.equipment-item {
  padding: var(--space-5);
  border: 1px solid var(--color-border);
}

.equipment-item__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.equipment-item__value {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* =============================================================================
   14. HOW TO USE PHOTOS PAGE
   ============================================================================= */
.license-page {
  padding-top: calc(var(--nav-height) + var(--space-24));
}

.license-hero-text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: var(--space-20);
}

.license-hero-text .section-title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  margin-bottom: var(--space-5);
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-16);
}

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

.license-card {
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  position: relative;
}

.license-card--allowed {
  border-left: 3px solid var(--color-accent);
}

.license-card--prohibited {
  border-left: 3px solid #E53E3E;
}

.license-card__icon {
  width: 36px;
  height: 36px;
  margin-bottom: var(--space-5);
  opacity: 0.7;
}

.license-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.license-card__list {
  list-style: none;
}

.license-card__list li {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  line-height: 1.5;
}

.license-card__list li::before {
  content: '';
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  margin-top: 0.5em;
}

.license-credit-box {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  padding: var(--space-10);
  text-align: center;
  margin: var(--space-16) auto;
  max-width: 600px;
}

.license-credit-box__label {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.license-credit-box__format {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-text);
}

/* =============================================================================
   15. CONTACT PAGE
   ============================================================================= */
.contact-page {
  padding-top: calc(var(--nav-height) + var(--space-24));
  padding-bottom: var(--space-32);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-16);
  align-items: start;
}

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

.contact-info__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-5);
}

.contact-info__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-8);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.contact-detail__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* Contact Form */
.contact-form {
  display: grid;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
}

.form-control {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0;
  outline: none;
  transition: border-color var(--duration-base) var(--ease-out);
  appearance: none;
}

.form-control:focus {
  border-color: var(--color-accent);
}

.form-control:invalid:not(:placeholder-shown) {
  border-color: #E53E3E;
}

textarea.form-control {
  resize: vertical;
  min-height: 160px;
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

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

/* Flash messages */
.flash {
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  border-left: 3px solid currentColor;
}

.flash--success {
  color: #2D6A4F;
  background: #D8F3DC;
  border-color: #2D6A4F;
}

.flash--error {
  color: #9B2226;
  background: #FFE8E8;
  border-color: #9B2226;
}

.flash--info {
  color: #1E3A5F;
  background: #E8F4FD;
  border-color: #1E3A5F;
}

/* =============================================================================
   16. PAGE HEADERS (inner pages)
   ============================================================================= */
.page-header {
  padding-top: calc(var(--nav-height) + var(--space-20));
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-16);
}

.page-header__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  display: block;
}

.page-header__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.page-header__subtitle {
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  max-width: 600px;
}

/* =============================================================================
   17. NOT FOUND PAGE
   ============================================================================= */
.not-found-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
}

.not-found-inner {
  text-align: center;
  padding: var(--space-32) 0;
}

.not-found-code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-6);
}

.not-found-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.not-found-text {
  margin-bottom: var(--space-8);
  max-width: 400px;
  margin-inline: auto;
}

/* =============================================================================
   18. LAZY LOADING
   ============================================================================= */
.lazyload,
.lazyloading {
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.lazyloaded {
  opacity: 1;
}

/* =============================================================================
   19. SCROLL REVEAL UTILITY
   ============================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity var(--duration-slow) var(--ease-expo),
    transform var(--duration-slow) var(--ease-expo);
}

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

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }

/* =============================================================================
   20. UTILITY CLASSES
   ============================================================================= */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-accent { color: var(--color-accent); }
.text-muted  { color: var(--color-text-secondary); }
.text-xs     { font-size: var(--text-xs); }
.text-sm     { font-size: var(--text-sm); }
.mt-auto     { margin-top: auto; }
.mb-0        { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-block: var(--space-12);
}

/* Loading spinner */
.spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-inline: auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
