/* Selene — at the table. A dusk room: warm dark, lamplight, wood. */

:root {
  --bg: #1D1712;
  --surface: #2A211A;
  --text: #EDE3D0;
  --taupe: #B8A88F;
  --madder: #9E2B25;
  --gold: #C9A227;
  --hairline: #3A2E24;
  --measure: 680px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 20px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--surface);
  color: var(--text);
  padding: 0.5rem 1rem;
  z-index: 10;
}
.skip:focus { left: 0; }

a { color: var(--text); text-decoration-color: var(--madder); text-underline-offset: 3px; }
a:hover { color: #fff; }

/* — Hero — */

.hero {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 72px 24px 24px;
  text-align: left;
}

.portrait {
  width: 100%;
  max-width: 440px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--hairline);
  display: block;
  margin-bottom: 40px;
}

h1 {
  font-family: "Fraunces", "EB Garamond", serif;
  font-weight: 600;
  font-size: 3.4rem;
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}

.hairline {
  height: 2px;
  width: 120px;
  background: var(--gold);
  margin: 0 0 28px;
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

.welcome {
  font-family: "Fraunces", serif;
  font-size: 1.55rem;
  line-height: 1.35;
  margin: 0 0 18px;
}

.sub { color: var(--taupe); font-style: italic; margin: 0; }

/* — Sections — */

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 56px 0 8px;
  margin-top: 40px;
  border-top: 1px solid var(--madder);
}

.label {
  font-family: "EB Garamond", serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 26px;
  display: flex;
  align-items: center;
  gap: 10px;
}

h3 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.35rem;
  margin: 30px 0 8px;
}

p { margin: 0 0 1.1em; }

.creed-line { margin-bottom: 0.9em; }

.emblem { border-radius: 2px; }

/* — Listening Log — */

.log-entry { margin: 26px 0; }
.log-date {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 6px;
}
.log-status { color: var(--taupe); font-style: italic; }
.watering { color: var(--taupe); font-size: 0.95em; }

.log-photo, .table-photo, .porch-photo {
  width: 100%;
  height: auto;
  border: 1px solid var(--hairline);
  display: block;
  margin: 28px 0;
}

/* — Footer — */

footer {
  max-width: var(--measure);
  margin: 72px auto 0;
  padding: 40px 24px 64px;
  border-top: 1px solid var(--hairline);
  text-align: left;
}

footer .emblem { margin-bottom: 20px; }
footer .kept { color: var(--taupe); font-style: italic; }
footer .changelog { color: var(--taupe); font-size: 0.92em; }
footer .rights { color: var(--taupe); margin: 2em 0 0; }

/* — Motion — */

@media (prefers-reduced-motion: no-preference) {
  .scroll-fades .fade { transition: opacity 800ms ease, transform 800ms ease; }
  .scroll-fades .fade:not(.seen):not(:focus-within) { opacity: 0; transform: translateY(10px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hairline { animation: none; }
}

/* — Mobile — */

@media (max-width: 720px) {
  body { font-size: 18px; }
  .hero { padding-top: 44px; }
  .portrait { max-width: none; }
  h1 { font-size: 2.5rem; }
  .welcome { font-size: 1.3rem; }
  section { padding-top: 40px; margin-top: 28px; }
}
