@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Mono:wght@300;400&family=Jost:wght@200;300;400&display=swap');

/* ─── Variables ────────────────────────────────────────── */
:root {
  --bg:        #0d0d0b;
  --bg2:       #131310;
  --bg3:       #1a1a16;
  --border:    #2a2a24;
  --text:      #d4cfc4;
  --text-dim:  #7a7568;
  --text-faint:#3d3c36;
  --accent:    #c8a96e;
  --accent2:   #8aad7a;
  --white:     #edeae2;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --nav-h: 64px;
  --max-w: 1320px;
  --gap:   clamp(1.5rem, 4vw, 3rem);
}

/* ─── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ─── Navigation ───────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 var(--gap);
  background: rgba(13,13,11,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-right: auto;
  transition: color 0.2s;
}
.nav-logo:hover { color: var(--accent); }

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

/* Photography dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }
.nav-dropdown > a::after {
  content: '▾';
  font-size: 0.6rem;
  opacity: 0.6;
  transition: transform 0.2s;
  vertical-align: middle;
  margin-left: 0.3em;
}
.nav-dropdown:hover > a::after { transform: rotate(180deg); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 1rem 0;
  min-width: 240px;
  columns: 2;
  column-gap: 0;
}
.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-section {
  break-inside: avoid;
  padding: 0.2rem 0;
}
.dropdown-section h4 {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 0.6rem 1.2rem 0.3rem;
}
.dropdown-menu a {
  display: block;
  padding: 0.35rem 1.2rem;
  font-size: 0.72rem;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.dropdown-menu a:hover {
  color: var(--accent);
  background: var(--bg3);
}

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text-dim);
  transition: all 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem var(--gap) 2rem;
  z-index: 99;
  overflow-y: auto;
  max-height: calc(100vh - var(--nav-h));
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.6rem 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .mobile-section-title {
  font-size: 0.6rem;
  color: var(--text-faint);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 0 0.3rem;
}
.mobile-nav .mobile-genus {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.35rem 0 0.35rem 1rem;
  border-bottom: none;
}

/* ─── Page wrapper ─────────────────────────────────────── */
.page-wrap {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* ─── Hero (homepage) ──────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: calc(100vh - var(--nav-h));
  border-bottom: 1px solid var(--border);
}
.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
  filter: brightness(0.75) saturate(0.8);
  transition: transform 8s ease, filter 1s;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
  color: #e8e0d0;
  margin-bottom: 1rem;
}
.hero:hover .hero-image img { transform: scale(1.04); }
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--bg) 100%);
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 6rem);
  padding-left: clamp(6rem, 15vw, 14rem);
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}
.hero-body {
  font-size: 0.95rem;
  color: var(--text-dim);
  max-width: 38ch;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.75rem 1.4rem;
  transition: background 0.2s, color 0.2s;
  width: fit-content;
}
.btn:hover { background: var(--accent); color: var(--bg); }
.btn-ghost {
  border-color: var(--border);
  color: var(--text-dim);
}
.btn-ghost:hover { background: var(--border); color: var(--white); }

/* ─── Section layout ───────────────────────────────────── */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) var(--gap);
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.02em;
}
.section-link {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}
.section-link:hover { color: var(--accent); }

/* ─── Blog grid ────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: #d4cfc4;
}
.blog-card {
  background: #f5f2ec;
  overflow: hidden;
  transition: background 0.2s;
}
.blog-card:hover { background: #ede9e1; }
.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
  filter: saturate(0.9) brightness(0.95);
}
.blog-card-body { padding: 1.5rem; }
.blog-card-meta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9488;
  margin-bottom: 0.6rem;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: #1a1a16;
  line-height: 1.3;
  margin-bottom: 0.7rem;
  transition: color 0.2s;
}
.blog-card:hover .blog-card-title { color: var(--accent); }
.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt { color: #5a5650; }

.blog-list-page {
  background: #f5f2ec;
}

.blog-list-page .page-title-block h1 {
  color: #1a1a16;
}

.blog-list-page .section-title {
  color: #1a1a16;
}

.blog-list-page .section-header {
  border-bottom-color: #d4cfc4;
}

.blog-post-page {
  background: #f5f2ec;
}

.blog-post-page .post-header {
  background: #f5f2ec;
}

.blog-post-page .post-title {
  color: #1a1a16;
}

.blog-post-page .post-meta {
  color: #9a9488;
}

.blog-post-page .post-body {
  color: #3a3a36;
}

.blog-post-page .post-body h2 {
  color: #1a1a16;
}

/* ─── Photography family index ─────────────────────────── */
.family-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #f5f2ec;
  margin-top: 2rem;
}
.family-card {
  background: #888;
  padding: 2rem;
  border-left: 2px solid transparent;
  transition: border-color 0.2s;
  position: relative;
  overflow: hidden;
  min-height: 180px;
}
.family-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
  transition: opacity 0.2s;
}
.family-card:hover::before {
  background: rgba(0,0,0,0.35);
}
.family-card:hover {
  border-left-color: var(--accent);
}
.family-card-name,
.family-card-common {
  position: relative;
  z-index: 1;
}
.family-card-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}
.family-card:hover .family-card-name { color: var(--accent); }
.family-card-common {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}
.family-card:last-child:nth-child(3n - 2) {
  grid-column: 2;
}

/* ─── Light theme overrides ────────────────────────────── */
.photo-list-page {
  background: #f5f2ec;
}

.photo-list-page .page-title-block h1 {
  color: #1a1a16;
}

.photo-list-page .page-title-block {
  border-bottom-color: #d4cfc4;
}

.photo-list-page .family-index {
  background: #f5f2ec;
}

.photo-list-page .family-card-name { color: #ffffff; }
.photo-list-page .family-card-common { color: rgba(255,255,255,0.6); }

/* ─── Gallery page ─────────────────────────────────────── */
.gallery-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gap) 2rem;
  border-bottom: 1px solid var(--border);
}
.gallery-breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.gallery-breadcrumb a { color: var(--text-dim); }
.gallery-breadcrumb a:hover { color: var(--accent); }
.gallery-breadcrumb span { margin: 0 0.5em; }
.gallery-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: #1a1a16;
  margin-bottom: 0.5rem;
}
.gallery-family-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Genus sub-nav on family pages */
.genus-subnav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem var(--gap);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.genus-subnav a {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.genus-subnav a:hover,
.genus-subnav a.active {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(200,169,110,0.06);
}

/* Photo masonry grid */
.photo-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--gap) 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.photo-item {
  break-inside: avoid;
  margin-bottom: 1px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #f5f2ec;
}
.photo-item img {
  width: 100%;
  display: block;
  transition: transform .5s ease;
}
.photo-item:hover img {
  transform: scale(1.04);
}
.photo-caption {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.78rem;
  color: #1a1a16;
  padding: 0.4rem 0 0.8rem;
  text-align: center;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5,5,4,0.96);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
  animation: fadeIn 0.25s ease;
}
.lightbox-caption {
  font-family: var(--font-display);
  font-style: normal;
  color: #d4cfc4;
}
.lightbox-close {
  position: fixed;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  cursor: pointer;
  background: none;
  border: 1px solid var(--border);
  padding: 0.5rem 0.8rem;
  transition: all 0.2s;
}
.lightbox-close:hover { color: var(--white); border-color: var(--text-dim); }
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--text-dim);
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  transition: color 0.2s;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--white); }

.gallery-page {
  background: #f5f2ec;
}

.gallery-page .gallery-header {
  border-bottom-color: #d4cfc4;
}

.gallery-page .gallery-title {
  color: #1a1a16;
}

.gallery-page .gallery-family-label {
  color: #8a6d3b;
}

.gallery-page .gallery-breadcrumb {
  color: #9a9488;
}

.gallery-page .gallery-breadcrumb a {
  color: #5a5650;
}

.gallery-page .genus-subnav {
  border-bottom-color: #d4cfc4;
}

.gallery-page .genus-subnav a {
  color: #5a5650;
  border-color: #d4cfc4;
}

.gallery-page .genus-subnav a:hover {
  color: #8a6d3b;
  border-color: #8a6d3b;
}

.gallery-page .photo-grid {
  background: #f5f2ec;
}

.gallery-page .photo-item img {
  filter: none;
}
/* ─── Blog post ────────────────────────────────────────── */
.post-header {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gap) 3rem;
}
.post-meta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.2rem;
}
.post-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.post-hero {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  aspect-ratio: 21/8;
  overflow: hidden;
}
.post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.85);
}
.post-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem var(--gap) 5rem;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}
.post-body p { margin-bottom: 1.5rem; }
.post-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: #1a1a16;
  margin: 1rem 0 0.3rem;
}
.post-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--accent);
  margin: 2rem 0 0.8rem;
}
.post-body img {
  width: 100%;
  margin: 2rem 0;
  transition: filter 0.3s;
}
.post-body img:hover { filter: saturate(1); }
.post-body em { font-style: italic; }
.post-body a { color: #2d5a8e; border-bottom: 1px solid rgba(45,90,142,0.3); }
.post-body a:hover { border-bottom-color: #2d5a8e; }
.blog-post-page .post-hero {
  margin-top: 0;
}

.blog-post-page .post-header {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.blog-post-page .post-title {
  color: #1a1a16;
}

.blog-post-page .post-body {
  color: #3a3a36;
}

.blog-post-page .post-body h2 {
  color: #1a1a16;
}

.blog-post-page .post-meta {
  color: #9a9488;
}

/* ─── Blog post photo blocks ───────────────────────────── */
.photo-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 1rem 0 0;
}
.photo-block-item {
  display: flex;
  flex-direction: column;
}
.photo-block-item img {
  width: 100%;
  cursor: pointer;
  margin: 0;
}
.photo-block-item p {
  font-size: 0.85rem;
  color: #5a5650;
  margin-top: 4px;
  margin-bottom: 3rem;
  text-align: center;
}
.photo-block-item.centred {
  grid-column: 1 / -1;
  max-width: 50%;
  margin: 0 auto;
  width: 100%;
}
.post-body .photo-block-item p {
  font-size: 0.85rem;
  color: #5a5650;
  margin-top: 2px;
  margin-bottom: 2rem;
  text-align: center;
}
.post-body .photo-block-item img {
  margin: 0;
}

/* ─── About page ───────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--gap);
}
.about-image {
  position: static;
}
.about-image img {
  width: 100%;
  filter: saturate(0.7);
}
.about-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: #1a1a16;
  margin-bottom: 0.5rem;
}
.about-content .tagline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}
.about-content p {
  font-size: 0.95rem;
  color: #3a3730;
  line-height: 1.85;
  margin-bottom: 1.4rem;
}
.contact-block {
  margin-top: 3rem;
  padding: 2rem;
  border: 1px solid #d4cfc4;
  background: #ede9e1;
}
.contact-block h3 {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a8478;
  margin-bottom: 1rem;
}
.contact-block a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
}
.contact-block a:hover { text-decoration: underline; }

/* ─── Publications ─────────────────────────────────────── */
.pub-list { max-width: 860px; margin: 0 auto; }
.pub-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.pub-item:first-child { border-top: 1px solid var(--border); }
.pub-journal {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.pub-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #1a1a16;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}
.pub-authors {
  font-size: 0.82rem;
  color: #5a5650;
  font-style: normal;
}

.blog-post-page .page-title-block h1 {
  color: #1a1a16;
}
.pub-year-heading {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: #1a1a16;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
}
.publications-page .section {
  background-image: url('/images/pubs.png');
  background-repeat: no-repeat;
  background-position: right 80px;
  background-size: 25%;
}
.pub-year-heading:first-of-type {
  margin-top: 0;
}
.pub-journal-link {
  font-style: italic;
  color: #4a7fa5;
  text-decoration: none;
}
.pub-journal-link:hover {
  text-decoration: underline;
}

/* ─── Footer ───────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--bg2);
  color: rgba(255, 255, 255, 0.5);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  width: 100%;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  width: 100%;
}

/* ─── Divider ──────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ─── Page title (inner pages) ─────────────────────────── */
.page-title-block {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--gap) 1.5rem;
  border-bottom: 1px solid var(--border);
}
.page-title-block h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
}

/* ─── Animations ───────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.6s ease both; }
.fade-in-2 { animation: fadeIn 0.6s 0.15s ease both; }
.fade-in-3 { animation: fadeIn 0.6s 0.3s ease both; }

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-image {
    height: 55vw;
    min-height: 260px;
  }
  .hero-image::after {
    background: linear-gradient(to bottom, transparent 50%, var(--bg) 100%);
  }
  .hero-content { padding: 2rem var(--gap); }

  .about-grid { grid-template-columns: 1fr; }
  .about-image { position: static; }

  .site-footer { flex-direction: column; }
}
