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

:root {
  --bg:         #121212;
  --bg-raised:  #1a1a1a;
  --bg-card:    #1e1e1e;
  --border:     rgba(255,255,255,0.08);
  --text:       #E0E0E0;
  --muted:      #888;
  --accent:     #7B9EBE;
  --accent-dim: rgba(123,158,190,0.15);
  --radius:     10px;
  --radius-lg:  16px;
  --nav-h:      72px;
  --ease:       0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

/* noise texture */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.35;
}

/* ─── TYPOGRAPHY ───────────────────────────────────── */
.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 300; }

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

/* ─── LAYOUT ───────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-section {
  padding: 120px 0;
}

.divider {
  width: 48px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
  margin: 1.5rem 0;
}

/* ─── NAVIGATION ───────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(18,18,18,0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.9;
  transition: opacity var(--ease);
}
.nav-logo:hover { opacity: 1; }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--ease);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
}

/* mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 850;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--text);
  transition: color var(--ease);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-close {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--ease);
}
.mobile-close:hover { color: var(--text); }

/* ─── SOCIAL ICONS ─────────────────────────────────── */
.social-row {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  transition: all var(--ease);
}
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}
.social-link svg { width: 18px; height: 18px; fill: currentColor; }

/* ─── FOOTER ───────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ─── REVEAL ANIMATION ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HERO (index) ─────────────────────────────────── */
.hero-section {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-image-wrap {
  position: relative;
}
.hero-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -24px; left: -24px;
  width: 100%; height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.hero-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: grayscale(10%);
  transition: filter var(--ease);
}
.hero-img:hover { filter: grayscale(0%); }
.hero-greeting {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}
.hero-greeting em { font-style: italic; color: var(--accent); }
.hero-bio {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

/* ─── ABOUT ────────────────────────────────────────── */
.about-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
}
.about-heading { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1.5rem; }
.about-body p {
  color: #BDBDBD;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.4rem;
}
.about-body p:last-child { margin-bottom: 0; }

/* ─── EVENTS ───────────────────────────────────────── */
.events-heading { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.events-header  { margin-bottom: 60px; }
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  border-color: var(--accent);
}
.event-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.event-body { padding: 28px; }
.event-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.event-meta { display: flex; flex-direction: column; gap: 0.6rem; }
.event-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.event-row svg {
  flex-shrink: 0;
  width: 15px; height: 15px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.event-card-hint {
  margin-top: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
}

/* ─── EVENT MODAL ──────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.open { display: flex; }

.modal-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 660px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}
.modal-card::-webkit-scrollbar { width: 4px; }
.modal-card::-webkit-scrollbar-track { background: transparent; }
.modal-card::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.modal-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-body { padding: 36px; }

.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--ease);
  z-index: 2;
}
.modal-close:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.modal-meta { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }

.modal-section-head {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
  margin-top: 1.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-desc {
  color: #BDBDBD;
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}
.modal-desc em { font-style: italic; color: var(--text); }

.modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn-modal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--ease);
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  text-decoration: none;
}
.btn-modal:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(123,158,190,0.2);
}

/* ─── PHOTOGRAPHY ──────────────────────────────────── */
.photo-heading { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.photo-header  { margin-bottom: 60px; }
.photo-sub     { color: var(--muted); font-size: 1rem; margin-top: 0.75rem; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.photo-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.photo-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--ease);
}
.photo-item:hover::after { opacity: 1; }
.photo-item:hover .photo-img { transform: scale(1.04); }
.photo-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.photo-item-1 { grid-column: 1 / 8;  grid-row: 1; height: 380px; }
.photo-item-2 { grid-column: 8 / 13; grid-row: 1; height: 380px; }
.photo-item-3 { grid-column: 1 / 5;  grid-row: 2; height: 280px; }
.photo-item-4 { grid-column: 5 / 13; grid-row: 2; height: 280px; }

/* ─── CONTACT ──────────────────────────────────────── */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-heading { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1rem; }
.contact-sub { color: var(--muted); font-size: 0.97rem; line-height: 1.8; margin-bottom: 2.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
.contact-item { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-item-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.contact-item-value { font-size: 0.95rem; color: var(--text); transition: color var(--ease); }
a.contact-item-value:hover { color: var(--accent); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field.span-2 { grid-column: 1 / -1; }

label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
input, textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.875rem 1rem;
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  width: 100%;
  resize: none;
}
input::placeholder, textarea::placeholder { color: #444; }
input:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
textarea { height: 140px; }

.btn-send {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.875rem 2.25rem;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--ease);
}
.btn-send:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(123,158,190,0.25);
}
.btn-send svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--ease);
}
.btn-send:hover svg { transform: translateX(3px); }

/* ─── PAGE HERO BANNER ─────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 60px;
}
.page-hero-title {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.05;
}
.page-hero-title em { font-style: italic; color: var(--accent); }

/* ─── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner     { grid-template-columns: 1fr; gap: 48px; }
  .hero-image-wrap { max-width: 360px; margin: 0 auto; }
  .hero-bio        { margin: 0 auto 2.5rem; }
  .about-inner     { grid-template-columns: 1fr; gap: 32px; }
  .contact-inner   { grid-template-columns: 1fr; gap: 48px; }
  .photo-item-1    { grid-column: 1 / -1; height: 260px; }
  .photo-item-2    { grid-column: 1 / -1; height: 260px; }
  .photo-item-3    { grid-column: 1 / -1; height: 220px; }
  .photo-item-4    { grid-column: 1 / -1; height: 220px; }
  .nav-links       { display: none; }
  .hamburger       { display: flex; }
  .hero-inner      { text-align: center; }
  .social-row      { justify-content: center; }
  .about-heading,
  .events-heading,
  .photo-heading,
  .contact-heading,
  .page-hero-title { text-align: center; }
  .section-label   { text-align: center; }
  .divider         { margin-left: auto; margin-right: auto; }
  .events-header,
  .photo-header    { text-align: center; }
}

@media (max-width: 600px) {
  .page-section { padding: 80px 0; }
  .form-grid    { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .modal-body   { padding: 24px; }
  .modal-actions { flex-direction: column; }
}
