/* ─── Custom Properties ─────────────────────────────────────── */
:root {
  --cream:       #F5F0E8;
  --ink:         #1C1C1C;
  --ink-light:   #4A4540;
  --gold:        #8B6F47;
  --gold-hover:  #6B5235;
  --rule:        #C8B99A;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'EB Garamond', Georgia, serif;
}

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

/* ─── Base ───────────────────────────────────────────────────── */
html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  -webkit-font-smoothing: antialiased;
}

/* ─── Page Layout ────────────────────────────────────────────── */
.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100dvh;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1.5rem, 8vw, 4rem);
  gap: clamp(1.25rem, 3vh, 2rem);
  text-align: center;
}

/* ─── Header ─────────────────────────────────────────────────── */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 640px;
}

.rule-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--rule) 20%,
    var(--gold) 50%,
    var(--rule) 80%,
    transparent
  );
}

.name {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--ink);
}

/* ─── Content ────────────────────────────────────────────────── */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  max-width: 560px;
}

.title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--ink-light);
}

.divider {
  width: 3rem;
  height: 1px;
  background-color: var(--rule);
  margin: clamp(0.75rem, 2vh, 1.25rem) 0;
}

.bio {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-light);
  max-width: 480px;
}

.bio a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.bio a:hover {
  color: var(--gold-hover);
  border-color: var(--gold-hover);
}

/* ─── Footer / Social ────────────────────────────────────────── */
.footer {
  display: flex;
  justify-content: center;
}

.social {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.icon {
  width: clamp(1.2rem, 2.5vw, 1.5rem);
  height: clamp(1.2rem, 2.5vw, 1.5rem);
}

.social-label {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 1.1vw, 0.75rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ─── Focus Styles (accessibility) ──────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ─── Fallback for very small screens ───────────────────────── */
@media (max-height: 480px) {
  .bio {
    display: none;
  }
  .divider {
    display: none;
  }
  .page {
    gap: 0.75rem;
  }
}
