:root {
  --living-ink: #0d1b2a;
  --living-crimson: #6b1423;
  --living-paper: #f8f4ee;
  --living-cream: #f2ede4;
  --living-gold: #c4a882;
  --living-slate: #46505c;
  --living-rule: rgba(13, 27, 42, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--living-paper);
  color: var(--living-ink);
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.55;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--living-ink);
  color: var(--living-paper);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header,
.hero,
.section,
.closing,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid var(--living-rule);
}

.brand img { display: block; width: min(320px, 38vw); }

.header-link,
.site-footer a {
  color: var(--living-crimson);
  font: 700 11px/1.3 "Space Mono", monospace;
  letter-spacing: 0.11em;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.hero {
  display: grid;
  min-height: min(740px, calc(100vh - 96px));
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(48px, 9vw, 150px);
  align-items: center;
  padding: clamp(72px, 10vw, 130px) 0;
}

.eyebrow,
.section-label,
.step-number,
.card-kicker,
.card-response {
  margin: 0;
  color: var(--living-crimson);
  font: 700 11px/1.4 "Space Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 750px;
  margin: 16px 0 26px;
  font-size: clamp(58px, 8vw, 108px);
  line-height: 0.89;
}

h1 em,
h2 em { color: var(--living-crimson); }

.hero-intro {
  max-width: 605px;
  color: var(--living-slate);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.5;
}

.button {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 34px;
  padding: 18px 22px;
  border: 1px solid transparent;
  font: 700 11px/1.2 "Space Mono", monospace;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-3px); }

.button-primary { background: var(--living-crimson); color: var(--living-paper); }
.button-light { background: var(--living-paper); color: var(--living-ink); }

.cta-note {
  max-width: 450px;
  margin: 18px 0 0;
  color: var(--living-slate);
  font-size: 13px;
}

.compass-portrait {
  position: relative;
  aspect-ratio: 1;
  max-width: 530px;
  justify-self: end;
  border: 1px solid var(--living-rule);
  background: radial-gradient(circle at center, #fffdf8 0 18%, transparent 18.4%), linear-gradient(135deg, #e7dcc9, #f8f4ee 57%, #dfe6ea);
  overflow: hidden;
}

.compass-portrait::after {
  position: absolute;
  inset: 0;
  content: "";
  background: repeating-linear-gradient(0deg, rgba(13, 27, 42, 0.025) 0 1px, transparent 1px 6px);
  pointer-events: none;
}

.compass-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(13, 27, 42, 0.27);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.compass-ring-outer { width: 82%; height: 82%; }
.compass-ring-inner { width: 63%; height: 63%; border-color: rgba(107, 20, 35, 0.35); }

.compass-card {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 55%;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(13, 27, 42, 0.22);
  background: rgba(248, 244, 238, 0.95);
  box-shadow: 0 26px 60px rgba(13, 27, 42, 0.17);
  transform: translate(-50%, -50%) rotate(-4deg);
}

.compass-card p {
  margin: 16px 0;
  font: italic clamp(24px, 3vw, 38px)/1.02 "Cormorant Garamond", Georgia, serif;
}

.card-rule { display: block; height: 1px; margin: 18px 0; background: var(--living-rule); }
.card-response { display: block; color: var(--living-slate); font-size: 9px; }

.direction {
  position: absolute;
  z-index: 1;
  color: var(--living-ink);
  font: 700 10px/1 "Space Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.direction-north { top: 8%; left: 50%; transform: translateX(-50%); }
.direction-east { top: 50%; right: 6%; transform: translateY(-50%); }
.direction-south { bottom: 8%; left: 50%; transform: translateX(-50%); }
.direction-west { top: 50%; left: 6%; transform: translateY(-50%); }

.section { padding: clamp(82px, 11vw, 150px) 0; }

.introduction {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: 24px;
  border-top: 1px solid var(--living-rule);
}

.section-copy { max-width: 780px; }

h2 {
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.92;
}

.section p { max-width: 690px; color: var(--living-slate); font-size: clamp(18px, 1.6vw, 22px); }

.rhythm { border-top: 1px solid var(--living-rule); }
.section-heading { max-width: 800px; }

.rhythm-list {
  display: grid;
  margin: 72px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.rhythm-list li { min-height: 290px; padding: 28px 30px 20px; border: 1px solid var(--living-rule); border-left: 0; }
.rhythm-list li:first-child { border-left: 1px solid var(--living-rule); }
.rhythm-list h3 { margin: 42px 0 20px; font-size: clamp(32px, 3vw, 44px); line-height: 0.96; }
.rhythm-list p { font-size: 16px; }

.companion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: center;
  border-top: 1px solid var(--living-rule);
}

.companion-image { min-height: 570px; background: var(--living-ink); overflow: hidden; }
.companion-image img { width: 100%; height: 100%; min-height: 570px; object-fit: cover; opacity: 0.86; }
.companion-copy .boundary { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--living-rule); font-size: 16px; }

.future-vision { border-top: 1px solid var(--living-rule); }
.future-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}
.future-path li { min-height: 315px; padding: 30px; border: 1px solid var(--living-rule); border-left: 0; }
.future-path li:first-child { border-left: 1px solid var(--living-rule); }
.future-path h3 { margin: 42px 0 20px; font-size: clamp(32px, 3vw, 44px); line-height: 0.96; }
.future-path p, .future-note { font-size: 16px; }
.future-note { max-width: 790px; margin: 28px 0 0; color: var(--living-slate); }

.closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: end;
  margin-bottom: 72px;
  padding: clamp(50px, 8vw, 94px);
  background: var(--living-crimson);
  color: var(--living-paper);
}

.closing .eyebrow { color: var(--living-gold); }
.closing h2 { max-width: 740px; margin: 14px 0 0; color: var(--living-paper); }
.closing-invitation { max-width: 660px; margin: 24px 0 0; color: rgba(248, 244, 238, 0.82); font-size: clamp(17px, 1.5vw, 20px); }
.closing .button { margin: 0; }

.site-footer { padding: 0 0 48px; text-align: center; }
.site-footer img { width: min(255px, 70vw); }
.site-footer p { margin: 24px 0 14px; font: 300 clamp(25px, 3vw, 44px)/1 "Cormorant Garamond", Georgia, serif; }
.site-footer p em { color: var(--living-crimson); }

@media (max-width: 760px) {
  .site-header, .hero, .section, .closing, .site-footer { width: min(100% - 32px, 1180px); }
  .site-header { min-height: 76px; }
  .brand img { width: 118px; }
  .header-link { font-size: 9px; letter-spacing: 0.06em; }
  .hero, .introduction, .companion, .closing { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 66px; }
  .compass-portrait { width: min(100%, 520px); justify-self: start; }
  .rhythm-list, .future-path { grid-template-columns: 1fr; margin-top: 42px; }
  .rhythm-list li, .rhythm-list li:first-child { min-height: 0; border-left: 1px solid var(--living-rule); border-bottom: 0; }
  .rhythm-list li:last-child { border-bottom: 1px solid var(--living-rule); }
  .future-path li, .future-path li:first-child { min-height: 0; border-left: 1px solid var(--living-rule); border-bottom: 0; }
  .future-path li:last-child { border-bottom: 1px solid var(--living-rule); }
  .rhythm-list h3 { margin-top: 26px; }
  .companion-image, .companion-image img { min-height: 390px; }
  .closing { margin-bottom: 44px; }
  .closing .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

/* Living Compass atlas treatment */
:root {
  --living-ink: #07141b;
  --living-crimson: #d6a55f;
  --living-paper: #0b1922;
  --living-cream: #10242c;
  --living-gold: #e5c17b;
  --living-slate: #bfd0ca;
  --living-rule: rgba(229, 193, 123, 0.28);
}

body { background: #07141b; color: #f5ead0; }
.site-header { min-height: 76px; border-color: var(--living-rule); }
.brand img, .site-footer img { filter: none; }
.site-footer img { width: min(330px, 72vw); }
.header-link, .site-footer a { color: var(--living-gold); }
.atlas-field {
  position: relative;
  isolation: isolate;
  min-height: min(790px, calc(100dvh - 76px));
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
  overflow: hidden;
  border-bottom: 1px solid var(--living-rule);
}
.atlas-field::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 20, 27, 0.96) 0%, rgba(7, 20, 27, 0.78) 42%, rgba(7, 20, 27, 0.15) 100%);
}
.atlas-field::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 5px);
  pointer-events: none;
}
.atlas-field-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.atlas-field .hero-copy { position: relative; z-index: 1; max-width: 595px; }
.atlas-field h1 { max-width: 600px; color: #f6ebd1; font-size: clamp(56px, 7vw, 100px); }
.atlas-field h1 em { color: var(--living-gold); }
.brand-by {
  display: block;
  margin-top: 12px;
  color: var(--living-gold);
  font: italic clamp(25px, 2.4vw, 38px)/1.1 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.atlas-field .hero-intro { max-width: 490px; color: #d3ddd6; }
.button-primary { border-color: #e5c17b; background: #d6a55f; color: #07141b; }
.atlas-compass {
  width: min(100%, 530px);
  border-color: rgba(229, 193, 123, 0.55);
  background: radial-gradient(circle at center, rgba(255, 248, 224, 0.96) 0 12%, transparent 12.3%), rgba(5, 19, 25, 0.36);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.38);
}
.atlas-compass .compass-card { background: rgba(10, 29, 35, 0.91); border-color: rgba(229, 193, 123, 0.62); box-shadow: none; }
.atlas-compass .compass-card p { color: #f5ead0; }
.atlas-compass .direction { color: #f5ead0; }
.atlas-signal {
  position: absolute;
  z-index: 1;
  width: 156px;
  padding: 12px 14px;
  border: 1px solid rgba(229, 193, 123, 0.5);
  background: rgba(7, 20, 27, 0.75);
  color: var(--living-gold);
  font: 700 10px/1.45 "Space Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.atlas-signal span { color: #d4ded6; font: 400 11px/1.5 "DM Sans", sans-serif; letter-spacing: 0; text-transform: none; }
.atlas-signal-one { top: 10%; right: 4%; }
.atlas-signal-two { right: 2%; bottom: 12%; }
.section { border-color: var(--living-rule); }
.section p { color: #bfd0ca; }
.introduction { grid-template-columns: minmax(170px, 0.3fr) minmax(0, 1fr); }
h2 { color: #f5ead0; }
.rhythm-list li, .future-path li { background: #0d2029; border-color: var(--living-rule); }
.rhythm-list li:nth-child(2), .future-path li:nth-child(2) { background: #112a2d; }
.rhythm-list li:nth-child(3), .future-path li:nth-child(3) { background: #13232f; }
.rhythm-list h3, .future-path h3 { color: #f5ead0; }
.companion-image { border: 1px solid var(--living-rule); }
.companion-copy .boundary { border-color: var(--living-rule); }
.future-vision { position: relative; }
.atlas-route { position: relative; margin-top: 82px; }
.atlas-route::before {
  position: absolute;
  top: 20px;
  right: 12%;
  left: 12%;
  z-index: 2;
  height: 1px;
  content: "";
  background: repeating-linear-gradient(90deg, var(--living-gold) 0 7px, transparent 7px 15px);
}
.atlas-route li { position: relative; }
.atlas-route li::before {
  position: absolute;
  top: 13px;
  left: 28px;
  z-index: 3;
  width: 14px;
  height: 14px;
  border: 3px solid #0d2029;
  border-radius: 50%;
  background: var(--living-gold);
  content: "";
}
.future-note { color: #d0ddd4; }
.closing { border: 1px solid rgba(229, 193, 123, 0.55); background: linear-gradient(135deg, #173237, #0a1921); }
.closing h2 { color: #f5ead0; }
.button-light { border-color: #d6a55f; background: #d6a55f; color: #07141b; }
.site-footer p { color: #d3ddd6; }

@media (prefers-reduced-motion: no-preference) {
  .atlas-compass { animation: atlas-float 7s ease-in-out infinite; }
  .atlas-signal { animation: atlas-reveal 800ms both; }
  .atlas-signal-two { animation-delay: 220ms; }
  .atlas-route::before { transform-origin: left; animation: route-draw 1.2s 400ms both; }
}
@keyframes atlas-float { 50% { transform: translateY(-10px); } }
@keyframes atlas-reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes route-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 760px) {
  .atlas-field { min-height: auto; grid-template-columns: 1fr; padding-bottom: 64px; }
  .atlas-field::before { background: linear-gradient(180deg, rgba(7, 20, 27, 0.9), rgba(7, 20, 27, 0.5) 55%, rgba(7, 20, 27, 0.9)); }
  .atlas-field .hero-copy { padding-top: 12px; }
  .atlas-compass { justify-self: center; margin-top: 4px; }
  .atlas-signal { display: none; }
  .atlas-route::before { top: 0; right: auto; bottom: 0; left: 22px; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--living-gold) 0 7px, transparent 7px 15px); }
  .atlas-route li::before { top: 24px; left: 15px; }
}

/* Decisive atlas amplification */
.atlas-field h1 { max-width: 650px; font-size: clamp(64px, 7.5vw, 96px); line-height: 0.86; }
.brand-by {
  margin-top: 20px;
  font: 700 12px/1.25 "Space Mono", monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.atlas-field .hero-intro { max-width: 430px; margin-top: 34px; color: #f5ead0; font-size: clamp(21px, 2vw, 28px); line-height: 1.22; }
.introduction { display: block; padding-block: clamp(110px, 15vw, 210px); }
.introduction .section-copy { max-width: 1000px; }
.introduction h2, .future-vision h2 { max-width: 950px; font-size: clamp(58px, 8vw, 96px); }
.introduction h2 em { display: block; }
.rhythm-list, .future-path { gap: 0; }
.rhythm-list li, .future-path li { min-height: 340px; background: transparent; border-color: var(--living-rule); }
.rhythm-list li:nth-child(2), .future-path li:nth-child(2), .rhythm-list li:nth-child(3), .future-path li:nth-child(3) { background: transparent; }
.rhythm-list .step-number, .future-path .step-number { display: block; color: var(--living-gold); font-size: 14px; }
.companion { grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr); }
.companion-image, .companion-image img { min-height: 660px; }
.companion-image img { object-position: 45% center; }
.adventure-threshold { position: relative; }
.adventure-threshold::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 40%, rgba(7, 20, 27, 0.32));
  pointer-events: none;
}
.adventure-route {
  background: linear-gradient(90deg, rgba(7, 20, 27, 0.96) 0%, rgba(7, 20, 27, 0.72) 44%, rgba(7, 20, 27, 0.34)), url("/assets/living-compass-hidden-route.png") center / cover no-repeat;
}
.adventure-route > * { position: relative; }
.adventure-observatory {
  background: linear-gradient(90deg, rgba(7, 20, 27, 0.9) 0%, rgba(7, 20, 27, 0.7) 49%, rgba(7, 20, 27, 0.2)), url("/assets/living-compass-observatory.png") center / cover no-repeat;
}
.adventure-observatory .closing-invitation { color: #f0eadc; }
.companion-copy h2 { font-size: clamp(54px, 5.8vw, 84px); }
.future-vision { padding-bottom: clamp(120px, 16vw, 220px); }
.future-vision .section-heading { max-width: 1040px; }
.closing { grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.35fr); }
.closing h2 { font-size: clamp(56px, 6.8vw, 92px); }

@media (max-width: 760px) {
  .atlas-field h1 { font-size: clamp(60px, 18vw, 82px); }
  .brand-by { margin-top: 16px; font-size: 10px; letter-spacing: 0.1em; }
  .companion-image, .companion-image img { min-height: 430px; }
  .closing { grid-template-columns: 1fr; }
}
