@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('cormorant-garamond-v21-latin_latin-ext-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('cormorant-garamond-v21-latin_latin-ext-300italic.woff2') format('woff2');
}

:root {
  --bg: #FAF7F2;
  --text: #3A3530;
  --text-muted: #7A7068;
  --accent-coral: #E89B8F;
  --accent-peach: #F2B58D;
  --accent-gold: #E8C794;
  --line-color: #5C544D;
  --max-width: 760px;
}

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

html {
  font-size: 18px;
  overflow-y: scroll;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

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


/* ─── Navigation ─── */

.site-nav {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.site-nav a {
  color: var(--text-muted);
  transition: color 0.4s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  cursor: default;
  pointer-events: none;
}

.site-nav .sep {
  display: inline-block;
  margin: 0 0.65rem;
  color: var(--accent-peach);
  opacity: 0.75;
}


/* ─── Footer ─── */

.site-footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--text-muted);
  transition: color 0.4s ease;
}

.site-footer a:hover {
  color: var(--text);
}


/* ══════════════════════════════════════
   HOMEPAGE
══════════════════════════════════════ */

body.home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

.home-nav {
  margin-top: 1.4rem;
  text-align: center;
}

.home-header {
  text-align: center;
  padding-top: 3rem;
}

.home-header img {
  height: 3rem;
  width: auto;
  display: inline-block;
}

.home-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem;
}

.home-hero-wrap {
  position: relative;
  width: 420px;
  max-width: 100%;
  flex-shrink: 0;
}

.home-flower {
  width: 100%;
  height: auto;
  display: block;
}

#phosphene-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tagline {
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--text);
  opacity: 0.82;
}


/* ══════════════════════════════════════
   INTERIOR PAGES
══════════════════════════════════════ */

body.interior {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.interior-header {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  text-align: center;
  padding: 3rem 2rem 0;
}

.interior-header a {
  display: inline-block;
}

.interior-header img {
  height: 3rem;
  width: auto;
}

.interior-nav {
  margin-top: 1.4rem;
}

.interior-content {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem 2rem 4rem;
  width: 100%;
}

.interior-content h1 {
  font-size: 1.55rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.interior-content h2 {
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.interior-content p {
  margin-bottom: 1.4rem;
  font-size: 1rem;
}

.subtitle {
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.divider {
  border: none;
  border-top: 1px solid rgba(92, 84, 77, 0.15);
  margin: 3.5rem 0;
}

.signature {
  font-style: italic;
  color: var(--text-muted);
  margin-top: 0.25rem;
}


/* ─── Books page ─── */

.book-cover {
  width: 220px;
  height: auto;
  display: block;
  margin-bottom: 3rem;
}

.coming-soon {
  display: block;
  margin-top: 2.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}


/* ─── About page — vessel video + word entry ─── */

.vessel-video {
  margin: 3rem 0 0;
  width: 100%;
}

.vessel-video video {
  width: 100%;
  max-width: 100%;
  display: block;
}

.word-entry {
  margin: 0;
  padding: 1.5rem 0 0;
}

.word-pronunciation {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  color: var(--text);
}

.word-definitions {
  font-size: 0.92rem;
  line-height: 1.85;
  padding-left: 1.2rem;
  margin: 0 0 1.25rem 0;
  color: var(--text);
}

.word-definitions li {
  margin-bottom: 0.5rem;
}

.word-summary {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0;
}

.tailpiece {
  text-align: center;
  margin: 2rem 0 2rem;
}

.tailpiece img {
  display: block;
  margin: 0 auto;
  max-width: 420px;
  width: 100%;
  height: auto;
  opacity: 0.88;
}

.tailpiece + h2 {
  margin-top: 0;
}


/* ─── Field Notes ─── */

.notes-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}

.notes-item a {
  display: block;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(92, 84, 77, 0.1);
  transition: opacity 0.3s ease;
}

.notes-item a:hover {
  opacity: 0.65;
}

.notes-title {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.notes-desc {
  display: block;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-muted);
}

.entry-back {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.entry-back a,
.entry-back-bottom a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.entry-back a:hover,
.entry-back-bottom a:hover {
  color: var(--text);
}

.entry-back-bottom {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 3rem;
}

.notes-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0.5rem 0 0;
}


/* ─── Contact page ─── */

.contact-address {
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.contact-address a {
  color: var(--text);
  border-bottom: 1px solid rgba(232, 155, 143, 0.35);
  padding-bottom: 1px;
  transition: border-color 0.35s ease;
}

.contact-address a:hover {
  border-color: var(--accent-coral);
}


/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

@media (max-width: 600px) {
  .home-header {
    padding-top: 1.75rem;
  }

  .home-header img {
    height: 2.4rem;
  }

  .home-flower {
    width: 280px;
  }

  .interior-header {
    padding-top: 2rem;
  }

  .interior-content {
    padding: 3rem 1.5rem 3rem;
  }

  .book-cover-placeholder {
    width: 180px;
    height: 240px;
  }
}
