/*
 * layout.css — Page shell, header, hero, section nav, footer
 *
 * Structural elements shared across home.html.
 * Does not include section content — see components.css and pages/home.css.
 */

/* ── App shell ── */
.app {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad-v) var(--pad-h) 80px;
}

/* ── Site header ── */
.site-header { margin-bottom: 12px; }
.site-header .rule { margin-top: 12px; }

/* ── Hero ── */
.hero {
  padding-top: 22px;
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: var(--text-display);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
}

/* The & glyph — italic, smaller, accent color, nudged up */
.hero-title .accent {
  font-style: italic;
  font-weight: 400;
  font-size: var(--text-display-accent);
  color: var(--accent);
  position: relative;
  top: -2px;
  margin: 0 8px;
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: var(--muted);
  max-width: 280px;
}

/* ── Section nav (tab switcher) ── */
.section-nav {
  display: flex;
  padding-top: 30px;
}

.section-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 0 0 10px;
  background: none;
  border-radius: 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.section-tab.active       { border-bottom-color: var(--text); }
.section-tab.active .tab-label { color: var(--text); }

.tab-label {
  font-family: var(--font-sans);
  font-size: var(--text-eyebrow);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.tab-sub {
  font-family: var(--font-sans);
  font-size: var(--text-eyebrow);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Site footer ── */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 14px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.settings-link {
  font-family: var(--font-sans);
  font-size: var(--text-eyebrow);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.15s;
}
.settings-link:hover { color: var(--text); }

/* Hide settings link on mobile — settings are desktop-only */
@media (max-width: 768px) {
  .site-footer { display: none; }
}
