﻿@charset "UTF-8";
/* Alan Köyü - premium yerel tanıtım sitesi */
:root {
  --green-ink: #12261b;
  --green-dark: #1b3c2a;
  --green: #2d5a38;
  --green-mid: #3d6e44;
  --green-leaf: #4b7d25;
  --cream: #fdf8e7;
  --cream-2: #f6efd8;
  --cream-3: #efe4c4;
  --white: #fffcf6;
  --earth: #6b4f3a;
  --earth-deep: #4a3426;
  --terracotta: #c05030;
  --gold: #eab543;
  --gold-deep: #c9942a;
  --sky: #a5c6d1;
  --text: #1a241c;
  --text-soft: #4f5d54;
  --line: rgba(27, 60, 42, 0.12);
  --shadow: 0 18px 40px rgba(18, 38, 27, 0.12);
  --shadow-sm: 0 8px 22px rgba(18, 38, 27, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --header: 84px;
  --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: "Playfair Display", "Palatino Linotype", Palatino, Georgia, serif;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 0.6em; color: var(--green-dark); }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--green-dark);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.container-wide { width: min(1280px, calc(100% - 32px)); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-mid);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--gold-deep);
}

.lead { font-size: 1.12rem; color: var(--text-soft); max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-primary { background: var(--gold); color: var(--green-ink); box-shadow: 0 10px 24px rgba(234, 181, 67, 0.28); }
.btn-primary:hover { background: #f0c25d; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-dark { background: var(--green-dark); color: var(--cream); }
.btn-dark:hover { background: var(--green); }
.btn-line { background: transparent; border-color: var(--green-dark); color: var(--green-dark); }
.btn-whatsapp {
  background: #128c7e;
  color: #fff;
}
.btn-whatsapp:hover { background: #075e54; color: #fff; }

.nav-link svg,
.socials svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  transition: height 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
  background: rgba(253, 248, 231, 0.96);
  overflow: visible;
}
.site-header.is-solid {
  background: rgba(253, 248, 231, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(18, 38, 27, 0.08);
  height: 72px;
}
.site-header.is-home:not(.is-solid) {
  position: fixed;
  width: 100%;
  background: transparent;
  box-shadow: none;
}
.header-inner {
  width: min(1280px, calc(100% - 28px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  overflow: visible;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 4px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.78);
}
.lang-switch a {
  min-width: 34px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--green-mid);
  transition: background 0.2s, color 0.2s;
}
.lang-switch a:hover { color: var(--green-dark); }
.lang-switch a.is-active {
  background: var(--green-dark);
  color: #fff;
}
.site-header.is-home:not(.is-solid) .lang-switch {
  border-color: rgba(255, 252, 246, 0.35);
  background: rgba(18, 38, 27, 0.28);
}
.site-header.is-home:not(.is-solid) .lang-switch a { color: rgba(255, 252, 246, 0.88); }
.site-header.is-home:not(.is-solid) .lang-switch a:hover { color: #fff; }
.site-header.is-home:not(.is-solid) .lang-switch a.is-active {
  background: rgba(255, 252, 246, 0.92);
  color: var(--green-dark);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-logo {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(18, 38, 27, 0.18);
  background: var(--cream);
  transition: width 0.3s, height 0.3s;
}
.site-header.is-solid .brand-logo { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--green-dark);
}
.brand-text span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.site-header.is-home:not(.is-solid) .brand-text strong,
.site-header.is-home:not(.is-solid) .nav-link,
.site-header.is-home:not(.is-solid) .nav-toggle { color: #fff; }
.site-header.is-home:not(.is-solid) .brand-text span { color: rgba(255,255,255,0.78); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--green-dark);
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-link:hover,
.nav-link.is-active { background: rgba(27, 60, 42, 0.08); }
.site-header.is-home:not(.is-solid) .nav-link:hover,
.site-header.is-home:not(.is-solid) .nav-link.is-active {
  background: rgba(255,255,255,0.12);
}

.has-sub { position: relative; }
.has-sub.is-open { z-index: 6; }
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: 0.18s var(--ease);
  list-style: none;
  margin: 0;
  z-index: 80;
}
.sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu,
.has-sub.is-open .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--green-dark);
  font-size: 0.92rem;
}
.sub-menu a:hover { background: var(--cream-2); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: var(--green-dark);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 20%, rgba(234, 181, 67, 0.28), transparent 36%),
    radial-gradient(circle at 80% 10%, rgba(165, 198, 209, 0.35), transparent 32%),
    linear-gradient(180deg, #1e4a32 0%, #163526 42%, #0f2419 100%);
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #12261b;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 8s ease;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 22, 16, 0.42) 0%, rgba(10, 22, 16, 0.28) 40%, rgba(10, 22, 16, 0.78) 100%);
  pointer-events: none;
}
.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(10, 22, 16, 0.35);
  color: #fff;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.hero-btn:hover { background: rgba(10, 22, 16, 0.6); }
.hero-dots {
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
}
.hero-dots button.is-active { background: var(--gold); width: 22px; border-radius: 99px; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 22, 16, 0.35) 0%, rgba(10, 22, 16, 0.28) 40%, rgba(10, 22, 16, 0.72) 100%);
}
.hero-art {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 18% 100%, #2f6a3a 0%, transparent 55%),
    radial-gradient(90% 70% at 72% 100%, #1b3c2a 0%, transparent 60%),
    radial-gradient(40% 50% at 50% 100%, #c05030 0 8%, transparent 9%);
  opacity: 0.85;
}
.hero-art::before {
  content: "";
  position: absolute;
  left: 8%;
  bottom: 18%;
  width: 220px;
  height: 220px;
  background: url("../images/logo.png") center / contain no-repeat;
  opacity: 0.16;
  filter: saturate(0.8);
}
.hero-content {
  text-align: center;
  padding: 140px 20px 90px;
  max-width: 860px;
  position: relative;
  z-index: 2;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin-bottom: 16px;
  text-shadow: 0 12px 40px rgba(0,0,0,0.28);
}
.hero .kicker {
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.hero p {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: rgba(255,255,255,0.9);
  font-family: var(--serif);
  font-style: italic;
  margin-bottom: 28px;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.scroll-indicator i {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 12px;
  position: relative;
}
.scroll-indicator i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: #fff;
  animation: wheel 1.6s infinite;
}
@keyframes wheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* Sections */
.section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-muted { background: var(--cream-2); }
.section-green {
  background: var(--green-dark);
  color: rgba(255,255,255,0.88);
}
.section-green h2, .section-green h3 { color: #fff; }
.section-green .eyebrow { color: var(--gold); }
.section-photo {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.section-photo h2,
.section-photo h3 {
  color: #fff;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.section-photo .eyebrow {
  color: var(--gold);
}
.section-photo p {
  color: rgba(255, 255, 255, 0.92);
}
.section-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12,24,18,0.78), rgba(12,24,18,0.28)),
    linear-gradient(180deg, #214e36, #163224);
}
.section-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.photo-frame {
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  background:
    linear-gradient(160deg, rgba(27,60,42,0.2), rgba(18,38,27,0.55)),
    url("../images/logo.png") center 32% / 70% no-repeat,
    linear-gradient(180deg, #d7e4c8, #8eae73 45%, #2d5a38);
  box-shadow: var(--shadow);
  position: relative;
}
.photo-frame.has-photo {
  background-color: #1b3c2a;
}
.photo-credit, .credit, .hero-credit {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.01em;
}
.credit { color: var(--text-soft); }
.photo-frame .photo-credit,
.photo-frame::after {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  font-size: 0.78rem;
  color: #fff;
  background: rgba(18, 38, 27, 0.45);
  padding: 8px 12px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
}
.photo-frame.has-photo::after { content: none; }

/* Cards */
.grid-4, .grid-3, .grid-2 { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--cream-2);
  color: var(--green);
  margin-bottom: 16px;
}
.icon-badge svg { width: 26px; height: 26px; }

.nature-card, .value-card, .person-card, .news-card, .event-card, .archive-card, .obit-card, .announce-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.value-card:hover, .nature-card:hover, .news-card:hover, .event-card:hover, .archive-card:hover, .person-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.value-card, .nature-card, .person-card, .event-card, .announce-card, .obit-card { padding: 24px; }
.nature-card { text-align: center; }
.news-card img, .archive-card img, .gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--cream-2);
  transition: transform 0.5s var(--ease);
}
.news-card:hover img, .gallery-item:hover img { transform: scale(1.05); }
.news-body, .archive-body { padding: 18px 20px 22px; }
.meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--green);
  font-weight: 600;
  font-size: 0.75rem;
}

/* Gallery */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green-dark);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  min-height: 40px;
}
.filter-btn.is-active,
.filter-btn:hover { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 0;
  padding: 0;
  width: 100%;
  background: none;
  display: block;
}
.gallery-item img {
  height: 240px;
  min-height: 0;
  aspect-ratio: 4 / 3;
}
.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(128px, 18vh);
  gap: 14px;
}
.photo-mosaic .gallery-item {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 0;
  position: relative;
}
.photo-mosaic .gallery-item.is-wide {
  grid-column: span 8;
  grid-row: span 3;
}
.photo-mosaic .gallery-item.is-tall {
  grid-column: span 4;
  grid-row: span 3;
}
.photo-mosaic .gallery-item.is-banner {
  grid-column: span 12;
  grid-row: span 2;
}
.photo-mosaic .gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
}
.gallery-item figcaption,
.gallery-item .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  color: #fff;
  background: linear-gradient(transparent, rgba(10,20,14,0.75));
  text-align: left;
  font-size: 0.9rem;
  z-index: 1;
}

/* Timeline */
.timeline { position: relative; max-width: 760px; margin-inline: auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 108px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--cream-3);
}
.tl-item { display: grid; grid-template-columns: 96px 1fr; gap: 36px; padding-bottom: 32px; position: relative; }
.tl-year {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--green);
  text-align: right;
}
.tl-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.tl-item::after {
  content: "";
  position: absolute;
  left: 102px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--green-dark);
}

/* People */
.person-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--cream-3), var(--green-mid));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 14px;
  overflow: hidden;
}
.person-photo.has-img { padding: 0; background: var(--cream-2); }
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person-portrait {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  margin-bottom: 16px;
}
.person-role { color: var(--gold-deep); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Map / contact */
.map-wrap {
  border-radius: 28px;
  overflow: hidden;
  min-height: 450px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.map-wrap iframe { width: 100%; height: 450px; border: 0; }
.address-block { margin-top: 18px; font-size: 1.05rem; }
.route-box {
  margin-top: 28px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.route-box .btn { margin: 8px 8px 0 0; }
.pop-chart-wrap { margin-top: 48px; }
.pop-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  overflow-x: auto;
  padding: 16px 8px 8px;
  min-height: 240px;
}
.pop-col {
  flex: 1 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 48px;
}
.pop-bar {
  width: 100%;
  max-width: 36px;
  background: linear-gradient(180deg, var(--green-mid), var(--green-dark));
  border-radius: 8px 8px 2px 2px;
}
.pop-col b { font-size: 0.72rem; color: var(--green-dark); }
.pop-col span { font-size: 0.68rem; color: var(--text-soft); }
.archive-empty { max-width: 52ch; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form {
  display: grid;
  gap: 14px;
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form label { font-size: 0.88rem; font-weight: 600; color: var(--green-dark); }
.form input, .form textarea, .form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--white);
}
.form textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--text-soft); }

/* Page hero */
.page-hero {
  padding: 48px 0 56px;
  background:
    radial-gradient(circle at 80% 0%, rgba(234,181,67,0.18), transparent 32%),
    linear-gradient(180deg, #1b3c2a, #244a33);
  color: #fff;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 58ch; }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.88rem; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.breadcrumb a { color: var(--gold); }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.source { font-size: 0.82rem; color: var(--text-soft); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.stat {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  border: 1px solid var(--line);
}
.stat b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--green-dark); }
.stat span { font-size: 0.82rem; color: var(--text-soft); }

.obit-card { border-left: 4px solid var(--earth); }
.announce-card.pinned { border-left: 4px solid var(--gold-deep); }

.placeholder-note {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--earth);
  font-style: italic;
}

/* Footer */
.site-footer {
  background: var(--green-ink);
  color: rgba(253,248,231,0.82);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: var(--cream);
}
.site-footer h3 { color: #fff; font-size: 1.15rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0 28px;
  font-size: 0.88rem;
  color: rgba(253,248,231,0.65);
}
.footer-bottom a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(920px, 92vw);
}
.lightbox::backdrop { background: rgba(8, 16, 12, 0.84); }
.lightbox-inner {
  background: #111;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
}
.lightbox img { width: 100%; max-height: 72vh; object-fit: contain; background: #000; }
.lightbox-caption { padding: 16px 18px 18px; }
.lightbox-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.16);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.gallery-item .cap small {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  opacity: 0.85;
  font-family: var(--font);
}
.hero-credit {
  position: absolute;
  left: 20px;
  right: auto;
  bottom: 24px;
  max-width: 42%;
  text-align: left;
}

.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.video-card.is-current {
  box-shadow: 0 0 0 2px var(--gold-deep), var(--shadow-sm);
}
.video-stage {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 8px;
}
.video-now { padding: 20px 22px 24px; }
.video-now h3 { margin: 10px 0 8px; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #111;
}
.video-thumb img,
.video-fallback img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  height: auto;
  display: block;
}
.video-thumb .play,
.video-fallback .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(234,181,67,0.92);
  box-shadow: var(--shadow);
  pointer-events: none;
}
.video-thumb .play::after,
.video-fallback .play::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 22px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--green-ink);
}
.video-body { padding: 14px 16px 18px; }
.video-body h3 { font-size: 1rem; margin: 0; }
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-fallback {
  position: relative;
  display: block;
  color: #fff;
  text-decoration: none;
}
.video-fallback b {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(18,38,27,.72);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
}
.video-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); animation: fadeup 0.8s var(--ease) forwards; }
.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.2s; }
.reveal-delay-3 { animation-delay: 0.3s; }
@keyframes fadeup { to { opacity: 1; transform: none; } }

.js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal-on-scroll.is-in { opacity: 1; transform: none; }

/* Utilities */
.muted { color: var(--text-soft); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .section-split, .contact-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-mosaic { grid-auto-rows: minmax(110px, 14vh); }
  .brand-text strong { font-size: 1rem; }
}

@media (max-width: 1180px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
  }
  .brand {
    min-width: 0;
    max-width: 100%;
    grid-column: 1;
  }
  .lang-switch {
    position: static;
    transform: none;
    margin: 0;
    padding: 2px;
    z-index: 6;
    grid-column: 2;
  }
  .nav-toggle {
    display: grid;
    place-items: center;
    margin-left: 0;
    width: 42px;
    height: 42px;
    grid-column: 3;
    justify-self: end;
  }
  .brand-text {
    min-width: 0;
    overflow: hidden;
  }
  .brand-text strong,
  .brand-text span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nav { display: none; margin-left: 0; }
  .nav.is-open {
    display: block;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: var(--cream);
    padding: 12px 16px 20px;
    box-shadow: var(--shadow);
    z-index: 40;
  }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link { white-space: normal; }
  .has-sub:hover .sub-menu {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    pointer-events: none;
  }
  .sub-menu {
    position: static;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 12px;
    pointer-events: none;
  }
  .sub-menu::before { display: none; }
  .has-sub.is-open .sub-menu {
    opacity: 1;
    visibility: visible;
    max-height: 320px;
    pointer-events: auto;
    padding: 4px 0 8px 12px;
  }
  .lang-switch a {
    min-width: 28px;
    padding: 3px 6px;
    font-size: 0.64rem;
  }
  .site-header.is-home:not(.is-solid) .nav.is-open .nav-link,
  .site-header.is-home:not(.is-solid) .nav.is-open .sub-menu a { color: var(--green-dark); }
}

@media (max-width: 720px) {
  .header-inner {
    width: min(1280px, calc(100% - 16px));
    gap: 6px;
  }
  .brand { gap: 8px; }
  .brand-logo,
  .site-header.is-solid .brand-logo {
    width: 42px;
    height: 42px;
  }
  .brand-text span { display: none; }
  .brand-text strong { font-size: 0.92rem; }
  .lang-switch a {
    min-width: 26px;
    padding: 2px 5px;
    font-size: 0.6rem;
  }
  .nav-toggle { width: 40px; height: 40px; }
  .grid-4, .grid-3, .grid-2, .section-split, .contact-grid, .footer-grid, .stat-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .photo-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 132px;
  }
  .photo-mosaic .gallery-item,
  .photo-mosaic .gallery-item.is-tall {
    grid-column: span 1;
    grid-row: span 2;
  }
  .photo-mosaic .gallery-item.is-wide {
    grid-column: span 2;
    grid-row: span 2;
  }
  .photo-mosaic .gallery-item.is-banner {
    grid-column: span 2;
    grid-row: span 2;
  }
  .photo-mosaic .gallery-item img { min-height: 0; }
  .timeline::before { left: 16px; }
  .tl-item { grid-template-columns: 1fr; padding-left: 36px; }
  .tl-year { text-align: left; }
  .tl-item::after { left: 10px; }
  .section { padding: 64px 0; }
  .hero-content { padding-top: 120px; }
  .page-hero { padding-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal-on-scroll { opacity: 1; transform: none; }
}
