/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --bg:          #0D1117;
  --bg-alt:      #0A0D14;
  --text:        #C8C4BC;
  --text-muted:  #7A766E;
  --heading:     #EDE9E1;
  --accent:      #C4883A;
  --accent-warm: #D49A50;
  --border:      #1E2535;
  --footer-bg:   #0A0D14;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  --reading-width: 840px;
  --wide-width:    1080px;
  --nav-height:    60px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.18s;
}

a:hover {
  color: var(--accent-warm);
}

ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--heading);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }

p + p { margin-top: 1.2em; }

/* Inline text link — subtle underline */
.prose a,
.text-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  transition: color 0.18s, text-decoration-color 0.18s;
}

.prose a:hover,
.text-link:hover {
  color: var(--accent);
}

/* Arrow links — used for "More about me →" style CTA */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: gap 0.2s var(--ease), color 0.18s, border-color 0.18s;
}

.arrow-link:hover {
  color: var(--accent-warm);
  gap: 0.55rem;
  border-bottom-color: var(--accent-warm);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.reading {
  max-width: var(--reading-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.wide {
  max-width: var(--wide-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section + .section {
  padding-top: 0;
}

.section--ruled {
  border-top: 1px solid var(--border);
}

.section--alt {
  background: var(--bg-alt);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.site-nav.scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}

.nav-logo:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 3px;
  transition: color 0.18s, background 0.18s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--heading);
  background: rgba(237, 233, 225, 0.07);
}

.nav-links a.active {
  color: var(--accent);
  background: transparent;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.28s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   PHOTO PLACEHOLDER
   ============================================================ */
.photo {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--border);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.photo-label {
  color: var(--text-muted);
  opacity: 0.6;
}

/* ============================================================
   HOME — HERO
   ============================================================ */
.home-hero {
  padding-top: calc(var(--nav-height) + 5rem);
  padding-bottom: 4rem;
}

.home-hero-inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  align-items: center;
}

.home-hero-photo {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
}

.home-hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg) 0%, transparent 22%),
    linear-gradient(to left,  var(--bg) 0%, transparent 18%);
  pointer-events: none;
}

.home-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.home-hero-text h1 {
  margin-bottom: 1rem;
}

.home-hero-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 2rem;
}

/* ============================================================
   HOME — INTRO & QUOTE
   ============================================================ */
.home-intro {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.home-intro p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}

.home-quote {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.home-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.6;
  color: var(--heading);
  max-width: 58ch;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.page-header {
  padding-top: calc(var(--nav-height) + 4.5rem);
  padding-bottom: 3.5rem;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header .subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.about-story {
  padding-top: 0;
  padding-bottom: 4rem;
}

.about-story p {
  font-size: 1.05rem;
  line-height: 1.85;
}

.about-photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 3.5rem 0;
}

.about-photo-row .photo {
  aspect-ratio: 4/3;
  border-radius: 6px;
}

.credentials {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.credentials h2 {
  margin-bottom: 2rem;
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.credentials-list li {
  font-size: 0.97rem;
  color: var(--text);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.55;
}

.credentials-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.credentials-list li span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.appearances {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.appearances h2 {
  margin-bottom: 2rem;
}

.appearances-category {
  margin-bottom: 2rem;
}

.appearances-category:last-child {
  margin-bottom: 0;
}

.appearances-category-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.appearances-photo {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.appearances-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.appearances-list li {
  font-size: 0.97rem;
  color: var(--text);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

.appearances-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.appearances-list li .item-note {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.beliefs {
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.beliefs h2 {
  margin-bottom: 2rem;
}

.beliefs-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.beliefs-list li {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--heading);
  line-height: 1.55;
  padding-left: 1.5rem;
  position: relative;
}

.beliefs-list li::before {
  content: '"';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-style: normal;
}

/* ============================================================
   WHAT I DO PAGE
   ============================================================ */
.what-intro {
  padding-top: 0;
  padding-bottom: 3rem;
}

.what-intro p {
  font-size: 1.05rem;
  line-height: 1.85;
}

.what-block {
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--border);
}

.what-block:last-of-type {
  padding-bottom: 5rem;
}

.what-block h2 {
  margin-bottom: 1.25rem;
}

.what-block p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}

.what-closing {
  padding-top: 4rem;
  padding-bottom: 5rem;
  border-top: 1px solid var(--border);
}

.what-closing p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.what-closing p a {
  color: var(--accent);
  font-weight: 600;
}

.what-closing p a:hover {
  color: var(--accent-warm);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-intro {
  padding-top: 0;
  padding-bottom: 3.5rem;
}

.contact-intro p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.contact-form-section {
  padding-top: 0;
  padding-bottom: 3rem;
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--accent);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  display: block;
}

.form-submit {
  margin-top: 2.5rem;
}

.btn-send {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--heading);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-send:hover {
  background: var(--accent);
}

.contact-direct {
  padding-top: 3rem;
  padding-bottom: 5rem;
  border-top: 1px solid var(--border);
}

.contact-direct h3 {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-links a {
  font-size: 0.97rem;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: color 0.18s, text-decoration-color 0.18s;
}

.contact-links a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color 0.18s;
}

.linkedin-link:hover {
  color: var(--heading);
}

.linkedin-icon {
  width: 72px;
  height: 72px;
  fill: #0A66C2;
  flex-shrink: 0;
  transition: opacity 0.18s;
}

.linkedin-link:hover .linkedin-icon {
  opacity: 0.85;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.18s;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ============================================================
   FADE-IN ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 860px) {
  .home-hero-inner {
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 680px) {
  html { font-size: 17px; }

  :root { --nav-height: 54px; }

  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-hero-photo {
    max-width: 200px;
    aspect-ratio: 1/1;
  }

  .home-hero-photo::after {
    background: radial-gradient(circle at 50% 38%, transparent 35%, var(--bg) 75%);
  }

  .about-photo-row {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 2rem 1.5rem;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .nav-links a:last-child { border-bottom: none; }

  .nav-toggle { display: flex; }

  .section { padding-top: 3.5rem; padding-bottom: 3.5rem; }

  .home-hero { padding-top: calc(var(--nav-height) + 3rem); }

  .footer-inner { gap: 0.5rem; }
}

@media (max-width: 400px) {
  .reading, .wide { padding-left: 1.25rem; padding-right: 1.25rem; }
}
