/* =========================================================
   TOKENS — classic editorial, muted earth tones
   ========================================================= */
:root{
  --sand:       #EFE7D6;
  --sand-alt:   #E7DFCC;
  --umber:      #3B352A;
  --umber-soft: #6b6250;
  --clay:       #A9663F;
  --olive:      #5C6444;
  --line:       rgba(59,53,42,0.18);

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Libre Baskerville', Georgia, serif;

  --max-width: 720px;
  --radius: 2px;
}

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

html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  background: var(--sand);
  color: var(--umber);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; }

:focus-visible{
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.kicker{
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--clay);
  margin: 0 0 16px;
}

.rule{
  width: 60px;
  height: 1px;
  background: var(--clay);
  margin: 0 auto 30px;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  padding: 18px 6vw;
  display: flex;
  justify-content: center;
}

.site-nav{
  display: flex;
  gap: 34px;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.92rem;
}

.site-nav a{
  text-decoration: none;
  color: var(--umber-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.site-nav a:hover{
  color: var(--umber);
  border-color: var(--clay);
}

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  left: 6vw;
}
.nav-toggle span{
  width: 22px;
  height: 2px;
  background: var(--umber);
  display: block;
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  max-width: 680px;
  margin: 0 auto;
  padding: 14vh 6vw 12vh;
  text-align: center;
}

.hero-photo{
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 28px;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 6px var(--sand), 0 0 0 7px var(--line);
}

.hero-title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 26px;
}

.hero-sub{
  font-size: 1.05rem;
  color: var(--umber-soft);
  max-width: 48ch;
  margin: 0 auto 44px;
}

.hero-meta{
  display: flex;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
}
.hero-meta div{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.hero-meta strong{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--umber);
}
.hero-meta span{
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--umber-soft);
}

/* =========================================================
   SECTION SHELLS
   ========================================================= */
.entry-section{
  padding: 9vh 6vw;
  max-width: var(--max-width);
  margin: 0 auto;
}
.entry-section.alt{
  background: var(--sand-alt);
  max-width: none;
}
.entry-section.alt > *{
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.section-head{
  text-align: center;
  margin-bottom: 56px;
}
.section-head h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.3rem);
  margin: 0;
}
.section-note{
  color: var(--umber-soft);
  font-size: 0.95rem;
  margin: 14px auto 0;
  max-width: 52ch;
}

/* =========================================================
   TIMELINE ENTRIES (education / work)
   ========================================================= */
.timeline{
  display: flex;
  flex-direction: column;
  gap: 46px;
}

.entry{
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.entry:last-child{ border-bottom: none; padding-bottom: 0; }

.entry-when{
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--clay);
  margin-bottom: 10px;
}

.entry-head{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.entry-crest{
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.entry-crest img,
.entry-crest svg{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.entry-body h3{
  font-family: var(--font-display);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}
.entry-role{
  margin: 0 0 14px;
  font-style: italic;
  color: var(--umber-soft);
  font-size: 0.98rem;
}
.entry-desc{
  margin: 0 0 14px;
  color: var(--umber-soft);
}
.entry-highlights{
  margin: 0;
  padding-left: 20px;
  color: var(--umber-soft);
}
.entry-highlights li{ margin-bottom: 6px; }

.entry-note-link{ margin: 14px 0 0; }
.entry-note-link a{
  font-style: italic;
  font-size: 0.92rem;
  color: var(--umber);
  text-decoration: none;
  border-bottom: 1px solid var(--clay);
}
.entry-note-link a:hover{ color: var(--clay); }

/* =========================================================
   TRAVEL PHOTO GRID
   ========================================================= */
.photo-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 40px;
}

.photo-entry{ margin: 0; }

.photo-frame{
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sand-alt);
}
.photo-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption{
  padding-top: 14px;
  text-align: center;
}
figcaption .place{
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}
figcaption .when{
  display: block;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--clay);
  margin-top: 2px;
}
figcaption .note{
  margin: 10px 0 0;
  color: var(--umber-soft);
  font-size: 0.92rem;
}

/* =========================================================
   LIFE GRID
   ========================================================= */
.life-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 36px;
}
.life-card{
  text-align: center;
}
.life-card h3{
  font-family: var(--font-display);
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 600;
}
.life-card p{
  margin: 0;
  color: var(--umber-soft);
  font-size: 0.95rem;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-section{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 9vh 6vw 14vh;
  text-align: center;
}
.contact-section h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.3rem);
  margin: 0 0 10px;
}
.contact-lead{
  color: var(--umber-soft);
  font-style: italic;
  margin: 0 0 10px;
}
.contact-email{
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--clay);
}
.contact-links{
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 26px;
  font-style: italic;
  font-size: 0.9rem;
}
.contact-links a{ text-decoration: none; color: var(--umber-soft); }
.contact-links a:hover{ color: var(--clay); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  text-align: center;
  padding: 30px 6vw 50px;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--umber-soft);
}

/* =========================================================
   MOBILE NAV
   ========================================================= */
@media (max-width: 760px){
  .nav-toggle{ display: flex; }
  .site-nav{
    position: fixed;
    top: 61px;
    left: 0;
    right: 0;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav.open{ max-height: 320px; }
  .site-nav a{
    padding: 14px 6vw;
    border-bottom: 1px solid var(--line);
    width: 100%;
    text-align: center;
  }
}
