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

/* ─── tokens ─── */
:root {
  --black:      #07090d;
  --deep:       #0c111a;
  --blue-dim:   #1a2a3f;
  --blue-mid:   #2c4a6e;
  --blue-cool:  #5b84b1;
  --blue-pale:  #a8c0d6;
  --text-muted: #3d5570;
  --text-soft:  #7a9ab8;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--blue-pale);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* ─── nav ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 4rem;
  background: linear-gradient(to bottom, rgba(7,9,13,0.95) 0%, rgba(7,9,13,0.0) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.25em;
  color: var(--blue-pale);
  text-decoration: none;
  text-transform: lowercase;
}

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

.nav-links a {
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: lowercase;
  transition: color 0.4s ease;
}

.nav-links a:hover,
.nav-links a.nav-active {
  color: var(--blue-pale);
}

/* ─── hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 0;
}

.hero--short {
  min-height: 60vh;
  padding-top: 10rem;
  justify-content: flex-end;
  padding-bottom: 4rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(4.5rem, 11vw, 10rem);
  line-height: 0.95;
  color: #c5d5e8;
  letter-spacing: 0.04em;
  margin-bottom: 3rem;
}

.hero-title em {
  font-style: italic;
  color: var(--blue-cool);
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.95;
  color: #c5d5e8;
  letter-spacing: 0.04em;
  margin-bottom: 3rem;
}

.page-title em {
  font-style: italic;
  color: var(--blue-cool);
}

.hero-rule {
  width: 1px;
  height: 60px;
  background: var(--blue-dim);
  margin-bottom: 2.5rem;
}

.hero-tagline {
  font-size: 0.6rem;
  font-weight: 200;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: lowercase;
}

/* ─── sections ─── */
.section {
  padding: 8rem 4rem;
  border-top: 1px solid var(--blue-dim);
}

.section-label {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: lowercase;
  margin-bottom: 4rem;
}

/* ─── about ─── */
.about-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.6;
  color: #8aaac4;
  max-width: 600px;
}

.about-text em {
  font-style: italic;
  color: var(--blue-cool);
}

/* ─── gallery (renderings + exposures) ─── */
.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  filter: saturate(0.7) brightness(0.85);
  transition: filter 0.5s ease;
}

.gallery-item img:hover {
  filter: saturate(1) brightness(1);
}

/* ─── fragments ─── */
.fragments-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 640px;
}

.fragment {
  border-left: 1px solid var(--blue-dim);
  padding-left: 2rem;
}

.fragment-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.6;
  color: #8aaac4;
  margin-bottom: 1rem;
}

.fragment-date {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: lowercase;
}

/* ─── empty state ─── */
.empty-state {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-muted);
}

.empty-state em {
  font-style: italic;
  color: var(--blue-dim);
}

/* ─── footer ─── */
footer {
  padding: 2.5rem 4rem;
  border-top: 1px solid var(--blue-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer span {
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* ─── responsive ─── */
@media (max-width: 768px) {
  nav             { padding: 1.5rem 2rem; }
  .nav-links      { gap: 2rem; }
  .hero           { padding: 0 2rem; }
  .section        { padding: 5rem 2rem; }
  footer          { padding: 2rem; flex-direction: column; gap: 1rem; text-align: center; }
  .grid-gallery   { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

@media (max-width: 480px) {
  .nav-links      { display: none; }
  .hero           { padding: 0 1.5rem; }
  .section        { padding: 4rem 1.5rem; }
  footer          { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}