/* One Thousand Golden Highways — static rebuild
   Fonts: Cormorant Garamond (headings — recurring across Mary's builds),
   Jost (body/nav, same pairing as the Laura Crow site)
   Palette: warm ivory + charcoal, gold accent (nods to the old site's amber
   nav-active color), terracotta secondary (nods to the old coral CTA block
   and the travel/Mediterranean hero photography) */

:root {
  --cream: #faf6ef;
  --cream-dim: #f1e9db;
  --charcoal: #2b2622;
  --charcoal-soft: #55493f;
  --gold: #c9962c;
  --gold-dark: #a97c1f;
  --gold-light: #e9cd8f;
  --terracotta: #c1613d;
  --terracotta-dark: #a24d2f;
  --white: #ffffff;

  --shadow-sm: 0 2px 8px rgba(43, 38, 34, 0.08);
  --shadow-md: 0 10px 28px rgba(43, 38, 34, 0.10);
  --shadow-lg: 0 20px 48px rgba(43, 38, 34, 0.14);

  --radius: 4px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 19px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.6rem, 5vw + 1rem, 4.6rem); }
h2 { font-size: clamp(2rem, 3vw + 1rem, 2.8rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1.2em; }

a {
  color: inherit;
  text-decoration: none;
}

a, button, .btn, input, textarea {
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

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

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

.eyebrow {
  font-family: "Jost", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 1000;
  background: var(--charcoal);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 38px 40px;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
    box-shadow 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
}

.site-header.scrolled {
  background: rgba(250, 246, 239, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  padding: 18px 40px;
  border-bottom-color: rgba(43, 38, 34, 0.08);
}

.logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
  transition: color 0.4s var(--ease), font-size 0.4s var(--ease);
}

.site-header.scrolled .logo {
  color: var(--charcoal);
  font-size: 1.3rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 30px;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
  color: var(--white);
  transition: color 0.4s var(--ease);
}

.site-header.scrolled .main-nav a {
  color: var(--charcoal);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease), background-color 0.4s var(--ease);
}

.site-header.scrolled .main-nav a::after {
  background: var(--gold-dark);
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--gold-light);
}

.site-header.scrolled .main-nav a.active,
.site-header.scrolled .main-nav a:hover {
  color: var(--gold-dark);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  transform: scaleX(1);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--gold-dark);
  color: var(--white);
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 16px 34px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background: var(--charcoal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: linear-gradient(180deg, rgba(43,38,34,0.35) 0%, rgba(43,38,34,0.55) 100%),
    url("images/web/cropped-8_DSC0487.jpg") center/cover no-repeat;
  padding: 140px 40px 100px;
}

.hero-inner {
  max-width: 820px;
}

.hero .eyebrow {
  color: var(--gold-light);
}

.hero h1 {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-rule {
  width: 90px;
  height: 1px;
  background: var(--gold-light);
  margin: 28px auto;
}

.hero-tagline {
  font-family: "Jost", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--cream);
}

/* ---------- Sections ---------- */

section { padding: 100px 0; }

.section-cream { background: var(--cream-dim); }
.section-white { background: var(--white); }
.section-charcoal { background: var(--charcoal); color: var(--cream); }
.section-charcoal h2 { color: var(--white); }
.section-charcoal .eyebrow { color: var(--gold-light); }

.section-head {
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-head .eyebrow { display: block; margin-bottom: 14px; }

/* ---------- Pillar cards ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.pillar-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pillar-media {
  aspect-ratio: 4 / 3;
  background: var(--gold-light) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal-soft);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.pillar-body { padding: 30px 30px 34px; }

.pillar-body h3 { margin-bottom: 0.4em; }

.pillar-body p {
  font-size: 0.98rem;
  color: var(--charcoal-soft);
  margin-bottom: 1em;
}

.pillar-link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
  padding-bottom: 2px;
}

/* ---------- Thesis / intro ---------- */

.thesis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.thesis-media {
  aspect-ratio: 3 / 4;
  background: var(--gold-light) center/cover no-repeat;
  border-radius: var(--radius);
}

.thesis blockquote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  font-weight: 500;
  font-style: italic;
  color: var(--terracotta-dark);
  margin: 0 0 0.7em;
  line-height: 1.35;
}

/* ---------- Newsletter band ---------- */

.newsletter {
  background: var(--terracotta);
  color: var(--white);
  text-align: center;
}

.newsletter h2 { color: var(--white); }

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.newsletter-form input[type="email"] {
  font-family: "Jost", sans-serif;
  font-size: 1rem;
  padding: 15px 20px;
  border: none;
  border-radius: var(--radius);
  min-width: 300px;
}

.newsletter-form .btn {
  background: var(--charcoal);
}

.newsletter-form .btn:hover {
  background: var(--white);
  color: var(--terracotta-dark);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: var(--gold-light);
  padding: 60px 0 40px;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer .logo {
  color: var(--white);
  display: block;
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.footer-nav a:hover { color: var(--white); }

.footer-note {
  color: rgba(233, 205, 143, 0.6);
  font-size: 0.82rem;
}

/* ---------- Responsive ---------- */

/* ---------- Interior page hero ---------- */

.page-hero {
  padding: 170px 0 80px;
  text-align: center;
}

.page-hero .eyebrow { display: block; margin-bottom: 14px; }

.page-hero p.lede {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: var(--charcoal-soft);
}

/* ---------- Bio / About ---------- */

.bio-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.bio-media {
  aspect-ratio: 3 / 4;
  background: var(--gold-light) center/cover no-repeat;
  border-radius: var(--radius);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 8px;
}

.badge {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--gold-light);
  padding: 7px 16px;
  border-radius: 999px;
}

/* ---------- Discipline / niche grid (reuses .pillar-card) ---------- */

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.niche-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.niche-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(43, 38, 34, 0.12);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
}

/* ---------- Photography gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-grid a {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

.gallery-grid a:hover img {
  transform: scale(1.06);
}

.gallery-grid .tall { grid-row: span 2; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.contact-info a {
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
}

label {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.req { color: var(--terracotta); font-size: 0.78rem; }

input[type="text"], input[type="email"], textarea {
  width: 100%;
  font-family: "Jost", sans-serif;
  font-size: 1rem;
  padding: 13px 16px;
  border: 1px solid rgba(43, 38, 34, 0.2);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 22px;
}

textarea { min-height: 140px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 860px) {
  .bio-grid { grid-template-columns: 1fr; gap: 36px; }
  .discipline-grid { grid-template-columns: 1fr; }
  .niche-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .thesis { grid-template-columns: 1fr; gap: 36px; }
  .thesis-media { order: -1; aspect-ratio: 16/10; }
  .site-header { padding: 18px 24px; justify-content: center; text-align: center; }
  .main-nav { justify-content: center; }
  .container { padding: 0 24px; }
  section { padding: 70px 0; }
}
