/*
Theme Name: Through Different Lenses
Theme URI: https://example.com/
Author: Pair Creative
Description: Cinematic British wildlife photography theme for three-generation storytelling.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: through-different-lenses
*/

:root {
  --tdl-bg: #f5f1e8;
  --tdl-dark: #111611;
  --tdl-green: #1b2a21;
  --tdl-gold: #b18a4c;
  --tdl-text: #222;
  --tdl-muted: #746d60;
  --tdl-serif: "Cormorant Garamond", Georgia, serif;
  --tdl-sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--tdl-bg);
  color: var(--tdl-text);
  font-family: var(--tdl-sans);
  line-height: 1.7;
}

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

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

.tdl-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.tdl-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  padding: 30px 0;
  color: #fff;
}

.tdl-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.tdl-logo {
  font-family: var(--tdl-serif);
  font-size: clamp(26px, 3vw, 42px);
  line-height: .85;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.tdl-nav {
  display: flex;
  gap: 30px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.tdl-hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.tdl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.22)),
    var(--tdl-hero-image, url('https://images.unsplash.com/photo-1511497584788-876760111969?q=80&w=1800&auto=format&fit=crop')) center/cover;
  transform: scale(1.02);
}

.tdl-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: 110px;
}

.tdl-kicker {
  color: var(--tdl-gold);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.tdl-hero h1 {
  font-family: var(--tdl-serif);
  font-size: clamp(54px, 8vw, 108px);
  line-height: .94;
  margin: 0 0 28px;
  font-weight: 500;
}

.tdl-hero p {
  max-width: 560px;
  font-size: 18px;
  opacity: .9;
}

.tdl-btn {
  display: inline-block;
  margin-top: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--tdl-gold);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.tdl-section {
  padding: 90px 0;
}

.tdl-section-dark {
  background: var(--tdl-green);
  color: var(--tdl-bg);
}

.tdl-title {
  font-family: var(--tdl-serif);
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  font-weight: 500;
  margin: 0 0 28px;
}

.tdl-perspectives {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.tdl-person img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 24px;
}

.tdl-person h3,
.tdl-story-card h3 {
  font-family: var(--tdl-serif);
  font-size: 34px;
  line-height: 1;
  font-weight: 500;
  margin: 0 0 10px;
}

.tdl-age {
  color: var(--tdl-gold);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.tdl-story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tdl-story-card {
  background: rgba(255,255,255,.06);
}

.tdl-story-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.tdl-story-content {
  padding: 22px;
}

.tdl-meta {
  color: var(--tdl-muted);
  font-size: 13px;
}

.tdl-section-dark .tdl-meta {
  color: rgba(245,241,232,.65);
}

.tdl-article {
  max-width: 860px;
  margin: 0 auto;
  font-size: 18px;
}

.tdl-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.tdl-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.tdl-footer {
  background: var(--tdl-dark);
  color: rgba(255,255,255,.75);
  padding: 38px 0;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .tdl-nav { display: none; }
  .tdl-perspectives,
  .tdl-story-grid,
  .tdl-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .tdl-perspectives,
  .tdl-story-grid,
  .tdl-gallery { grid-template-columns: 1fr; }
  .tdl-hero h1 { font-size: 48px; }
}
