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

:root {
  --bg:      #0d0d0d;
  --surface: #161616;
  --border:  rgba(255,255,255,0.07);
  --text:    #e8e4dc;
  --muted:   #8f8a83;
  --accent:  #c9b89a;
  --nav-h:   72px;
  --ease:    cubic-bezier(0.4,0,0.2,1);
  --px:      clamp(20px, 5vw, 72px);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg:      #f5f2ec;
    --surface: #edeae3;
    --border:  rgba(0,0,0,0.08);
    --text:    #1a1814;
    --muted:   #6b665f;
    --accent:  #7a5c30;
  }
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* ── NAV ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--px);
  z-index: 100;
  background: var(--bg);
}

.nav-name {
  font-family: 'Inter', sans-serif; font-weight: 400;
  font-size: clamp(12px, 1.4vw, 15px);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text); text-decoration: none; cursor: pointer;
  white-space: nowrap;
}

.nav-links { display: flex; gap: clamp(16px, 2.5vw, 48px); list-style: none; }
.nav-links a {
  font-family: 'Inter', sans-serif; font-weight: 300;
  font-size: clamp(10px, 1.1vw, 13px);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.25s ease; position: relative; cursor: pointer;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 1px;
  background: var(--muted); transition: all 0.3s ease;
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--bg); z-index: 200;
  flex-direction: column; align-items: center; justify-content: center; gap: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Inter', sans-serif; font-weight: 300;
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; cursor: pointer;
}
.mobile-menu a:hover { color: var(--text); }
.mobile-close {
  position: absolute; top: 28px; right: var(--px);
  background: none; border: none; color: var(--muted);
  font-size: 22px; cursor: pointer;
}

/* ── PAGES ── */
.page {
  position: fixed; inset: 0;
  padding-top: var(--nav-h);
  display: flex; align-items: center; justify-content: center;
  padding-left: var(--px); padding-right: var(--px);
  opacity: 0; pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  overflow: hidden;
}
.page.active {
  opacity: 1; pointer-events: all; transform: translateY(0);
}

/* ── HOME ── */
#page-home { text-align: center; }
.quote-wrapper { max-width: min(820px, 100%); width: 100%; }
.quote-mark {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(56px, 8vw, 100px); font-weight: 300;
  color: var(--accent); line-height: 0.4; display: block;
  margin-bottom: 8px; opacity: 0.6;
}
.quote-text {
  font-family: 'Cormorant Garant', serif;
  font-style: italic; font-weight: 300;
  font-size: clamp(20px, 3.8vw, 48px);
  line-height: 1.5; color: var(--text);
}
.divider {
  width: 40px; height: 1px; background: var(--accent);
  margin: clamp(24px, 4vh, 48px) auto; opacity: 0.5;
}
.signature {
  font-family: 'Mr De Haviland', cursive;
  font-size: clamp(34px, 5vw, 62px);
  color: var(--accent); opacity: 0.85; line-height: 1.1;
}

/* ── ABOUT ── */
#page-about { align-items: center; }

.about-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  width: 100%;
  max-width: 960px;
}

.about-photo-col {
  flex: 0 0 auto;
  width: clamp(140px, 22vw, 280px);
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(15%);
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
}
.photo-placeholder svg { opacity: 0.35; }
.photo-placeholder span { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }

.about-text-col {
  flex: 1 1 0;
  min-width: 0;
}

.about-eyebrow {
  font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px; display: block;
}
.about-name {
  font-family: 'Cormorant Garant', serif; font-weight: 300;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.2; color: var(--text);
  margin-bottom: 18px;
}
.about-bio {
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.8; color: var(--muted);
  margin-bottom: 14px;
}
.about-ventures {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px;
}
.venture-tag {
  font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--muted);
  white-space: nowrap;
}

/* About — stack on small screens */
@media (max-width: 600px) {
  .about-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    overflow-y: auto;
    max-height: calc(100dvh - var(--nav-h));
    padding-bottom: 24px;
  }
  .about-photo-col { width: clamp(100px, 40vw, 160px); }
  .about-ventures { justify-content: center; }
  #page-about { align-items: flex-start; overflow: hidden; }
}

/* ── SHARED PAGE INNER ── */
.page-inner {
  width: 100%;
  max-width: 480px;
  text-align: center;
}
.page-eyebrow {
  font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px; display: block;
}
.page-title {
  font-family: 'Cormorant Garant', serif; font-weight: 300;
  font-size: clamp(26px, 4vw, 44px);
  color: var(--text); margin-bottom: 14px; line-height: 1.2;
}
.page-sub {
  font-size: clamp(12px, 1.2vw, 14px); color: var(--muted);
  line-height: 1.75; letter-spacing: 0.01em;
}

/* ── NEWS ── */
.search-btn {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px;
  padding: 13px 28px;
  border: 1px solid var(--border);
  background: none; color: var(--text);
  font-family: 'Inter', sans-serif; font-weight: 300;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.search-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── SOCIAL ── */
#page-social .page-inner { max-width: 420px; }

.social-grid {
  display: flex; flex-direction: column;
  margin-top: 28px;
  width: 100%;
}
.social-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--text);
  transition: color 0.2s ease;
}
.social-link:first-child { border-top: 1px solid var(--border); }
.social-link { text-align: left; }
.social-link:hover { color: var(--accent); }

.social-left { display: flex; align-items: center; gap: 14px; }
.social-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease;
}
.social-link:hover .social-icon { border-color: var(--accent); }
.social-name {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.social-handle { font-size: 10px; color: var(--muted); margin-top: 2px; }
.social-arrow { opacity: 0.3; flex-shrink: 0; transition: opacity 0.2s, transform 0.2s; }
.social-link:hover .social-arrow { opacity: 1; transform: translateX(4px); }

/* ── CONTACT ── */
.contact-email-wrap {
  margin-top: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.contact-label {
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
.contact-email {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(16px, 2.2vw, 26px); font-weight: 300;
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--border); padding-bottom: 4px;
  transition: border-color 0.25s ease, color 0.25s ease;
  word-break: break-all;
}
.contact-email:hover { color: var(--accent); border-color: var(--accent); }
.contact-note {
  font-size: 12px; color: var(--muted); line-height: 1.7;
}

/* ── NAV HAMBURGER ── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
.photo-placeholder[hidden] { display: none; }

/* ── HOME → JOURNAL LINK ── */
.home-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; margin-top: clamp(18px, 3vh, 32px); padding: 0 4px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.home-link:hover { color: var(--accent); border-color: var(--accent); }
