/* ============================================================
   VARIANT 01 — OAXACA DUSK
   Warm editorial magazine. Terracotta sunset + burnished gold.
   Playfair Display (display) + Cormorant Garamond (body)
   ============================================================ */

:root {
  --clay-deep: #4a1a0c;
  --clay: #6b2713;
  --clay-warm: #8b3a1f;
  --cream: #f3ebe0;
  --cream-soft: #e8ddc9;
  --cream-dim: rgba(243, 235, 224, 0.72);
  --gold: #d4a259;
  --gold-soft: #b88744;
  --ink: #2a1408;
  --rule: rgba(243, 235, 224, 0.18);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 64px; }

body {
  background: var(--clay);
  color: var(--cream);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 70% 0%, rgba(212, 162, 89, 0.18), transparent 60%),
    radial-gradient(ellipse 80% 50% at 0% 100%, rgba(74, 26, 12, 0.9), transparent 70%),
    var(--clay);
  background-attachment: scroll;
}

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

/* ---------- Top nav ---------- */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(42, 20, 8, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.top-nav a { color: var(--cream); text-decoration: none; transition: color 0.3s; }
.top-nav a:hover { color: var(--gold); }
.top-nav .variant-label { color: var(--gold); font-style: italic; text-transform: none; letter-spacing: 0.08em; font-size: 13px; }
.top-nav .cta {
  padding: 8px 18px;
  border: 1px solid var(--gold);
  color: var(--gold);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.top-nav .cta:hover { background: var(--gold); color: var(--clay-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 60px 80px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url("../../images/anna-photo-2.jpg");
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(42, 20, 8, 0.55) 0%,
    rgba(74, 26, 12, 0.35) 40%,
    rgba(107, 39, 19, 0.85) 85%,
    var(--clay) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
}

h1 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(72px, 13vw, 200px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 32px;
}
.name-line-1 { display: block; }
.name-line-2 { display: block; padding-left: 0.4em; }
h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--cream);
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}

.hero-tagline {
  max-width: 640px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  color: var(--cream-dim);
  font-style: italic;
  border-left: 1px solid var(--gold);
  padding-left: 24px;
}

.hero-scroll {
  position: absolute;
  right: 60px;
  bottom: 40px;
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero-scroll::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 48px;
  background: var(--gold);
  margin-bottom: 14px;
  vertical-align: middle;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Credential strip ---------- */
.credential {
  background: var(--clay-deep);
  padding: 56px 60px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.cred-inner { max-width: 900px; margin: 0 auto; }
.cred-stars {
  color: var(--gold);
  font-size: 22px;
  letter-spacing: 0.6em;
  margin-bottom: 18px;
  padding-left: 0.6em;
}
.cred-line {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.4;
  color: var(--cream);
}
.cred-line em { font-style: italic; color: var(--gold); }
.cred-line strong { font-weight: 600; }

/* ---------- Shared section head ---------- */
.eyebrow {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.section-head {
  max-width: 1100px;
  margin: 0 auto 64px;
  padding: 0 60px;
}
.section-head.center {
  text-align: center;
}
.section-head.center .eyebrow {
  justify-content: center;
}
.section-head h2 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--cream);
}
.section-head h2 em { font-style: italic; color: var(--gold); font-weight: 400; }

section { padding: 120px 0; }

/* ---------- Philosophy ---------- */
.philosophy { padding: 140px 60px; }
.philo-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.philo-left h2 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 0.95;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.philo-left h2 em { font-style: italic; color: var(--gold); }
.philo-right p {
  margin-bottom: 24px;
  color: var(--cream);
  font-size: 20px;
  line-height: 1.65;
}
.philo-right p em { font-style: italic; color: var(--gold); }
.philo-right .lede {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1.4;
  color: var(--cream);
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}

/* ---------- Services ---------- */
.services { padding: 120px 0; background: rgba(42, 20, 8, 0.35); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.service-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
}
.service {
  background: var(--clay);
  padding: 56px 48px;
  position: relative;
  transition: background 0.5s ease;
}
.service:hover { background: var(--clay-warm); }

.s-num {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 56px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
}
.service h3 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 28px;
  color: var(--cream);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.service p {
  color: var(--cream-dim);
  font-size: 18px;
  line-height: 1.65;
}

/* ---------- Experience / Timeline ---------- */
.experience { padding: 120px 0 140px; }
.timeline {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: calc(60px + 180px);
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: var(--rule);
}
.tl-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 80px;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.tl-item:last-child { border-bottom: none; }
.tl-item::after {
  content: "";
  position: absolute;
  left: 180px;
  top: 54px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-4px);
  z-index: 1;
}
.tl-years {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
  padding-top: 46px;
  text-align: right;
}
.tl-body { padding-left: 40px; }
.tl-body h3 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 26px;
  color: var(--cream);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.tl-place {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 500;
  font-style: italic;
}
.tl-star { color: var(--gold); letter-spacing: 0.2em; margin-left: 8px; font-style: normal; }
.tl-body p {
  color: var(--cream-dim);
  font-size: 18px;
  line-height: 1.65;
}

/* ---------- Gallery ---------- */
.gallery { padding: 100px 0 140px; }

.gallery-chapter {
  max-width: 1400px;
  margin: 0 auto 80px;
  padding: 0 60px;
}
.gallery-chapter:last-child { margin-bottom: 0; }

.gallery-chapter-label {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.gallery-chapter-label::before,
.gallery-chapter-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.gallery-chapter-label span {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  font-weight: 500;
}

/* Masonry-style grid using CSS columns */
.gallery-grid {
  columns: 3;
  column-gap: 12px;
}

.gg-item {
  break-inside: avoid;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
  cursor: default;
  filter: saturate(0.88) contrast(1.06);
  transition: filter 0.5s ease;
}
.gg-item:hover { filter: saturate(1) contrast(1.05); }

/* Hero items span 2 columns */
.gg-item.gg-hero {
  column-span: all;
  max-height: 520px;
}
.gg-item.gg-hero img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

/* Wide items span all columns for a full-bleed moment */
.gg-item.gg-wide {
  column-span: all;
  max-height: 460px;
}
.gg-item.gg-wide img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.gg-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s ease;
}
.gg-item:hover img { transform: scale(1.03); }

.gg-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 18px 14px;
  background: linear-gradient(transparent, rgba(42, 20, 8, 0.72));
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gg-item:hover figcaption { opacity: 1; }
/* Always show captions that have text on touch devices */
.gg-item figcaption:empty { display: none; }

/* ---------- Contact ---------- */
.contact {
  padding: 140px 60px;
  background: var(--clay-deep);
  text-align: center;
}
.contact-inner { max-width: 900px; margin: 0 auto; }
.contact .eyebrow { justify-content: center; }
.contact h2 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  color: var(--cream);
  margin-bottom: 32px;
  letter-spacing: -0.015em;
}
.contact h2 em { font-style: italic; color: var(--gold); }
.contact-lede {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  color: var(--cream-dim);
  margin-bottom: 64px;
}
.contact-lede strong { color: var(--gold); font-weight: 400; }

.contact-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 48px;
  border-top: 1px solid var(--rule);
}
.cd-label {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.cd-val {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  color: var(--cream);
  text-decoration: none;
  display: block;
  transition: color 0.3s;
}
a.cd-val:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.foot {
  padding: 40px 60px;
  background: var(--clay-deep);
  border-top: 1px solid var(--rule);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--cream-dim);
}
.foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .top-nav { padding: 16px 24px; font-size: 12px; }
  .top-nav .variant-label { display: none; }
  .hero { padding: 100px 24px 60px; }
  .hero-scroll { display: none; }
  .credential { padding: 40px 24px; }
  .philosophy { padding: 80px 24px; }
  .philo-grid { grid-template-columns: 1fr; gap: 32px; }
  .philo-right .lede { font-size: 22px; }
  .section-head { padding: 0 24px; margin-bottom: 48px; }
  section { padding: 80px 0; }
  .service-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .service { padding: 40px 28px; }
  .timeline { padding: 0 24px; }
  .timeline::before { display: none; }
  .tl-item { grid-template-columns: 1fr; gap: 12px; }
  .tl-item::after { display: none; }
  .tl-years { text-align: left; padding-top: 0; }
  .tl-body { padding-left: 0; }
  .gallery-chapter { padding: 0 20px; margin-bottom: 56px; }
  .gallery-grid { columns: 2; column-gap: 8px; }
  .gg-item { margin-bottom: 8px; }
  .gg-item.gg-hero { max-height: 320px; }
  .gg-item.gg-hero img { max-height: 320px; }
  .gg-item.gg-wide { max-height: 280px; }
  .gg-item.gg-wide img { max-height: 280px; }
  .gg-item figcaption { opacity: 1; font-size: 12px; }
  .contact { padding: 80px 24px; }
  .contact-details { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .foot { padding: 24px; }
  .foot-inner { flex-direction: column; gap: 8px; }
}

/* ============================================================
   @media print — PDF resume stylesheet
   Collapses the site into a clean 1–2 page resume.
   ============================================================ */
@media print {
  @page { margin: 0.5in; size: letter; }

  body {
    background: white !important;
    color: #1a0f08 !important;
    font-size: 11pt;
    line-height: 1.4;
  }

  .top-nav, .hero-photo, .hero-scroll, .gallery, .foot { display: none !important; }

  .hero {
    background: white !important;
    padding: 0 !important;
    min-height: auto !important;
    margin-bottom: 18pt;
    border-bottom: 1pt solid #c9a961;
    padding-bottom: 14pt !important;
  }
  .hero-inner { animation: none; }
  .hero-meta { color: #6b2713 !important; margin-bottom: 6pt; font-size: 8pt; }
  h1 {
    color: #1a0f08 !important;
    font-size: 32pt !important;
    line-height: 1 !important;
    margin-bottom: 4pt !important;
  }
  .name-line-1, .name-line-2 { display: inline; padding: 0; }
  .name-line-2 { padding-left: 0.2em; }
  h1 em { color: #6b2713 !important; }
  .hero-title { color: #1a0f08 !important; font-size: 13pt !important; margin-bottom: 6pt !important; }
  .hero-tagline {
    color: #444 !important;
    border-left: 2pt solid #d4a259;
    font-size: 10pt !important;
    padding-left: 10pt;
    max-width: none;
  }

  .credential {
    background: white !important;
    padding: 12pt 0 !important;
    border-color: #d4a259 !important;
    text-align: left;
  }
  .cred-stars { color: #d4a259 !important; font-size: 10pt; margin-bottom: 4pt; letter-spacing: 0.4em; }
  .cred-line { color: #1a0f08 !important; font-size: 13pt !important; }
  .cred-line em, .cred-line strong { color: #6b2713 !important; }

  section { padding: 14pt 0 !important; }
  .philosophy { padding: 14pt 0 !important; }
  .services, .experience { background: white !important; border: none !important; }

  .section-head { padding: 0 !important; margin-bottom: 10pt !important; }
  .section-head h2 {
    color: #1a0f08 !important;
    font-size: 16pt !important;
    border-bottom: 0.5pt solid #d4a259;
    padding-bottom: 4pt;
    margin-bottom: 8pt;
  }
  .section-head h2 em { color: #6b2713 !important; }
  .eyebrow { color: #6b2713 !important; font-size: 8pt; margin-bottom: 4pt; }
  .eyebrow::before { background: #6b2713 !important; width: 20pt; }

  .philo-grid { display: block !important; }
  .philo-left h2 { font-size: 16pt !important; color: #1a0f08 !important; margin-bottom: 8pt; }
  .philo-left h2 em { color: #6b2713 !important; }
  .philo-right p { color: #1a0f08 !important; font-size: 10pt; margin-bottom: 6pt; }
  .philo-right .lede { font-size: 11pt !important; padding-bottom: 6pt; border-color: #ccc; }

  .service-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8pt !important; background: white !important; padding: 0 !important; }
  .service { background: white !important; padding: 6pt 8pt !important; border: 0.5pt solid #ddd; }
  .service:hover { background: white !important; }
  .s-num { font-size: 16pt !important; color: #6b2713 !important; margin-bottom: 4pt; }
  .service h3 { color: #1a0f08 !important; font-size: 12pt !important; margin-bottom: 3pt; }
  .service p { color: #333 !important; font-size: 9pt !important; }

  .timeline { padding: 0 !important; }
  .timeline::before { display: none !important; }
  .tl-item {
    display: grid !important;
    grid-template-columns: 90pt 1fr !important;
    gap: 12pt !important;
    padding: 6pt 0 !important;
    border-color: #ddd !important;
    page-break-inside: avoid;
  }
  .tl-item::after { display: none !important; }
  .tl-years { color: #6b2713 !important; font-size: 10pt !important; padding-top: 2pt !important; text-align: right; }
  .tl-body { padding-left: 0 !important; }
  .tl-body h3 { color: #1a0f08 !important; font-size: 11pt !important; }
  .tl-place { color: #6b2713 !important; font-size: 9pt !important; margin-bottom: 3pt; }
  .tl-body p { color: #333 !important; font-size: 9pt !important; }

  .contact { background: white !important; padding: 14pt 0 !important; text-align: left; border-top: 1pt solid #d4a259; page-break-before: avoid; }
  .contact h2 { color: #1a0f08 !important; font-size: 16pt !important; margin-bottom: 6pt; }
  .contact h2 em { color: #6b2713 !important; }
  .contact-lede { color: #333 !important; font-size: 10pt !important; margin-bottom: 10pt; }
  .contact-lede strong { color: #6b2713 !important; }
  .contact-details { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 10pt !important; padding-top: 6pt !important; border-top: 0.5pt solid #ddd; }
  .cd-label { color: #6b2713 !important; font-size: 8pt !important; }
  .cd-val { color: #1a0f08 !important; font-size: 11pt !important; }
}
