/* ============================================================
   Atlas Reverie — shared site styles
   Soft luxury, editorial, unhurried.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  --bg-cream:     #F9F6F2;   /* primary page background */
  --bg-warm:      #FAF8F5;   /* alternating section background */
  --bg-linen:     #EDE7DF;   /* hero / footer / linen sections */
  --bg-sage:      #7E8C7B;   /* sage pull-quote band */
  --bg-rose-deep: #9E7B6E;   /* accent rose: eyebrows, buttons */
  --bg-rose-soft: #C4A99E;   /* CTA band background, borders */

  --ink:        #2E2E2E;     /* primary text */
  --ink-mid:    #6B6560;     /* secondary text */
  --ink-soft:   #8A8278;     /* tertiary text / placeholders */

  --rule:        #E2DDD7;    /* thin 0.5px borders */
  --rule-strong: #D6CFC6;    /* slightly stronger separators */

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:  'Jost', 'Helvetica Neue', sans-serif;

  --tracking-wide:  0.22em;
  --tracking-wider: 0.32em;

  --container:        1240px;
  --container-narrow: 760px;
}

* { box-sizing: border-box; }

/* ---------- Global no-italics rule (with one explicit override) ---------- */
em, i { font-style: normal; }
*, *::before, *::after { font-style: normal !important; }
/* The single permitted exception: the word "somewhere" in the homepage CTA. */
.italic-somewhere { font-style: italic !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================================
   Typography
   ============================================================ */

.serif { font-family: var(--serif); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--bg-rose-deep);
  margin: 0;
}

.eyebrow-soft {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin: 0;
}

h1.display { font-size: 56px; }
h2.display { font-size: 42px; }
h3.display { font-size: 26px; font-weight: 400; }

.lede {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-mid);
  max-width: 540px;
  margin: 28px auto 0;
}

.body-text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-mid);
}

.rule {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.55);
  border: 0;
  margin: 32px auto;
}

/* ============================================================
   Layout
   ============================================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 100px 0; }

.section-cream { background: var(--bg-cream); }
.section-warm  { background: var(--bg-warm); }
.section-linen { background: var(--bg-linen); }
.section-sage  { background: var(--bg-sage); color: #F0EDE8; }
.section-rose  { background: var(--bg-rose-soft); color: #F9F6F2; }

.center { text-align: center; }

/* ============================================================
   Nav
   ============================================================ */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 48px;
  background: var(--bg-cream);
  border-bottom: 0.5px solid var(--rule);
  position: relative;
  z-index: 5;
}

.nav-links {
  display: flex;
  gap: 44px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 200ms ease;
}
.nav-links a:hover { color: var(--bg-rose-deep); }
.nav-links a.active { color: var(--bg-rose-deep); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 0.5px;
  background: var(--bg-rose-deep);
}

/* ============================================================
   Logo
   ============================================================ */

.logo-mini {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-mini .globe { width: 28px; height: 28px; flex-shrink: 0; }
.logo-mini .wm-stack { display: flex; flex-direction: column; line-height: 1; }
.logo-mini .wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.logo-mini .tag {
  margin-top: 5px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 8px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* large logo lockup (homepage hero) */
.logo-full {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #F9F6F2;
  text-align: left;
}
.logo-full .globe {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  margin: 0;
}
.logo-full .wm-stack {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-full .globe circle,
.logo-full .globe ellipse,
.logo-full .globe line { stroke: #F9F6F2; }
.logo-full .wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  letter-spacing: 0.02em;
  color: #F9F6F2;
  line-height: 1;
}
.logo-full .tag {
  display: block;
  margin-top: 11px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(249,246,242,0.78);
}

/* ============================================================
   Buttons + links
   ============================================================ */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 18px 38px;
  border: 0.5px solid transparent;
  cursor: pointer;
  transition: all 250ms ease;
  background: var(--bg-rose-deep);
  color: #F9F6F2;
}
.btn:hover { background: #8a6a5e; }

.btn-light {
  background: #F9F6F2;
  color: var(--ink);
  border: 0.5px solid var(--rule);
}
.btn-light:hover { background: #fff; }

.btn-outline {
  background: transparent;
  color: var(--bg-rose-deep);
  border: 0.5px solid var(--bg-rose-deep);
  padding: 16px 30px;
}
.btn-outline:hover { background: var(--bg-rose-deep); color: #F9F6F2; }

.link-inline {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--bg-rose-deep);
  border-bottom: 0.5px solid var(--bg-rose-deep);
  padding-bottom: 5px;
  transition: color 200ms ease;
}
.link-inline:hover { color: #8a6a5e; }

/* ============================================================
   Full-bleed photo bands
   ============================================================ */

.photo-band {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.photo-band.with-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.4);
}
.photo-band > .container,
.photo-band > .container-narrow {
  position: relative;
  z-index: 1;
}

/* ============================================================
   Page hero (linen) — used by Journeys / About / Connect
   ============================================================ */

.page-hero {
  background: var(--bg-linen);
  padding: 130px 0 140px;
  text-align: center;
  border-bottom: 0.5px solid var(--rule);
}
.page-hero .eyebrow { margin-bottom: 28px; }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 60px;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.005em;
}
.page-hero p.lede {
  margin-top: 30px;
  max-width: 580px;
}

/* ============================================================
   Footer
   ============================================================ */

footer.site-footer {
  background: var(--bg-linen);
  border-top: 0.5px solid var(--rule);
  padding: 80px 48px 36px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.footer-inner h5 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.footer-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-inner ul li {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-inner ul li a:hover { color: var(--bg-rose-deep); }
.footer-blurb {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12.5px;
  color: var(--ink-mid);
  line-height: 1.8;
  max-width: 280px;
  margin: 28px 0 0;
}
.ig-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink);
}
.ig-row svg { width: 16px; height: 16px; flex-shrink: 0; }

.footer-bottom {
  max-width: var(--container);
  margin: 64px auto 0;
  padding-top: 28px;
  border-top: 0.5px solid var(--rule);
  display: flex;
  justify-content: center;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================
   Utility margins
   ============================================================ */

.mt-xs { margin-top: 8px; }
.mt-s  { margin-top: 16px; }
.mt-m  { margin-top: 28px; }
.mt-l  { margin-top: 44px; }
.mt-xl { margin-top: 64px; }
.mb-s  { margin-bottom: 16px; }
.mb-m  { margin-bottom: 28px; }
.mb-l  { margin-bottom: 44px; }
.mb-xl { margin-bottom: 64px; }

/* ============================================================
   Responsive (light pass)
   ============================================================ */

@media (max-width: 980px) {
  section { padding: 72px 0; }
  .nav { padding: 20px 24px; flex-wrap: wrap; gap: 20px; }
  .nav-links { gap: 28px; }
  .container, .container-narrow { padding: 0 24px; }
  h1.display, .page-hero h1 { font-size: 38px; }
  h2.display { font-size: 30px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  footer.site-footer { padding: 56px 24px 28px; }
}
