:root {
  --accent: #b5886c;
  --text: rgba(250, 249, 246, 0.7);
  --text-full: rgba(250, 249, 246, 0.96);
  --text-muted: rgba(250, 249, 246, 0.35);
  --hairline: rgba(250, 249, 246, 0.15);
  --font: 'Cormorant Garamond', Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
html { overflow-x: clip; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #1d1d1b;
  position: relative;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
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.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}
.content, footer { position: relative; z-index: 2; }

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 24px;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes breathe {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.55; }
}
.logo-dark { width: 180px; opacity: 0.9; }
.logo {
  width: 52px;
  border-radius: 6px;
  transition: opacity 0.4s ease;
}
.logo:hover { opacity: 0.7; }
.divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  animation: breathe 6s ease-in-out infinite;
}
.tagline {
  color: var(--text);
  font-family: var(--font);
  font-size: 20px;
  font-weight: 300;
  text-align: center;
  max-width: 360px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.philosophy {
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  text-align: center;
  max-width: 300px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

/* Contact page */
h1.page-title {
  color: var(--text-full);
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
}
.contact-details .label {
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-details .value {
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.contact-details .value a { border-bottom: 1px solid var(--accent); transition: color 0.3s ease; }
.contact-details .value a:hover { color: var(--text-full); }

/* Header on inner pages */
.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 28px 24px 20px;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}
.site-header .home-link img { width: 40px; border-radius: 5px; opacity: 0.9; transition: opacity 0.4s ease; }
.site-header .home-link img:hover { opacity: 0.6; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.site-nav a { color: var(--text-muted); transition: color 0.3s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

/* Home hero fills the first viewport; bands follow */
body.home .hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
}
.band {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 72px 24px 96px;
  text-align: center;
  font-family: var(--font);
}
.band h2 {
  color: var(--text-full);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.band p {
  color: var(--text);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.band-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 36px;
  font-size: 15px;
  letter-spacing: 0.06em;
}
.band-links a {
  color: var(--text-muted);
  border-bottom: 1px solid var(--hairline, rgba(250, 249, 246, 0.15));
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.band-links a:hover { color: var(--text-full); border-color: var(--accent); }

/* Prose pages: sans title column left, serif copy column right */
body.page main {
  flex: 1;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 620px);
  justify-content: space-between;
  column-gap: 72px;
  align-items: start;
  font-family: var(--font);
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}
body.page .page-head { position: sticky; top: 40px; }
body.page h1 {
  color: var(--text-full);
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
body.page .lede {
  color: var(--text-muted);
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.03em;
}
body.page .page-body > :first-child { margin-top: 6px; }
body.page .page-body > h2:first-child { margin-top: 6px; }
body.page h2 {
  color: var(--text-full);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 44px 0 16px;
}
body.page p, body.page li {
  color: var(--text);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
body.page ul { list-style: none; }
body.page ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 12px;
}
body.page ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
body.page a { border-bottom: 1px solid rgba(250, 249, 246, 0.2); transition: color 0.3s ease, border-color 0.3s ease; }
body.page a:hover { color: var(--text-full); border-color: var(--accent); }
body.page .meta {
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

/* Journal index */
.journal-list { list-style: none; }
.journal-list li { padding: 0; margin-bottom: 36px; }
.journal-list li::before { display: none; }
.journal-list .date {
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 4px;
}
.journal-list a {
  color: var(--text-full);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-bottom: none;
}
.journal-list a:hover { color: var(--accent); }
.journal-list .summary {
  color: var(--text);
  font-size: 16px;
  margin-top: 6px;
  margin-bottom: 0;
}

footer {
  width: 100%;
  text-align: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.15);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeIn 1.2s ease 0.6s forwards;
}
footer .footer-nav { margin-top: 10px; }
footer a {
  color: rgba(250, 249, 246, 0.4);
  transition: color 0.3s ease;
}
footer a:hover { color: var(--accent); }
footer span { margin: 0 12px; }

@media (max-width: 760px) {
  body.page main {
    display: block;
    max-width: 620px;
  }
  body.page .page-head { position: static; margin-bottom: 40px; }
  body.page h1 { font-size: 28px; }
}
@media (max-width: 480px) {
  .content { gap: 36px; }
  .tagline { font-size: 18px; max-width: 280px; }
  .philosophy { font-size: 14px; max-width: 260px; }
}
