/* melissakatsakos.com
   Palette (2026-11-05, Melissa confirms in daylight): the guide's brand colors for the design,
   navy, blue radiance and cream, with warm, rich photography inside it. "The guide branding
   colors likely go well with the warm, rich palette of the old website for photos."            */
:root {
  --cream: #FDFAF2;   /* page */
  --ivory: #F7F1E4;   /* quiet sections */
  --navy: #0C2C46;    /* headings, footer */
  --ink: #42525D;     /* body text */
  --link: #1D5C87;    /* links */
  --gold: #C4A05A;    /* rules, glyphs, lotus */
  --radiance: radial-gradient(ellipse 120% 95% at 50% 20%, #1D5C87 0%, #0C2C46 55%, #081F33 100%); /* guide cover */
  --rule: rgba(12, 44, 70, 0.12);

  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --sans: 'Figtree', 'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --measure: 40rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.2rem);
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

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

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter); }
.band > .wrap { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.band.wide > .wrap { max-width: 72rem; }
.band.wide > .wrap > h2, .band.wide > .wrap > p, .band.wide > .wrap > .pull, .band.wide > .wrap > ul { max-width: var(--measure); }
.wrap.narrow { max-width: 50rem; text-align: center; }
.wrap.narrow > * { margin-left: auto; margin-right: auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--cream); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* ---------- type ---------- */
h1, h2 { text-wrap: balance; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 500; letter-spacing: .01em; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.6rem, 1.9rem + 3.2vw, 4.4rem); letter-spacing: .02em; }
h2 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); margin-top: 0; }
h3 { font-size: clamp(1.45rem, 1.3rem + .6vw, 1.8rem); margin-top: 1.8em; }
h4 { font-size: 1.35rem; margin: .2em 0 .4em; }
p { margin: 0 0 1.1em; }
strong { color: var(--navy); font-weight: 600; }
ul { padding-left: 1.2em; margin: 0 0 1.2em; }
li { margin: .35em 0; }
li::marker { color: var(--gold); }

a { color: var(--link); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 70%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--link); }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }

.eyebrow { font-family: var(--sans); font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--link); margin-bottom: 1.1rem; }
.subline { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); color: var(--navy); max-width: 34rem; }

.pull { margin: 1.6em 0; padding: 0; border: 0; }
.pull .cite { margin-top: .7rem; font-size: .88rem; letter-spacing: .02em; color: var(--ink); }
.pull p { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--navy); font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.3; margin: 0; }
.pull::before { content: ''; display: block; width: 3rem; height: 1px; background: var(--gold); margin-bottom: 1rem; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--rule); background: var(--cream); }
.header-inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.header-inner > * { max-width: none; }
.wordmark { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; letter-spacing: .05em; color: var(--navy); text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; font-size: .95rem; }
.site-nav a { color: var(--navy); text-decoration: none; padding: .2rem 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }

/* ---------- sections ---------- */
.band { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
.band.quiet { background: var(--ivory); }
.band + .band:not(.quiet):not(.closing) { border-top: 1px solid var(--rule); }
.band.quiet + .band, .band + .band.quiet { border-top: 0; }

.hero { padding: clamp(3.5rem, 2.5rem + 5vw, 7rem) 0 clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.hero h1 { margin-bottom: .45em; }
.hero .subline { margin-bottom: 0; }

.photo-band { line-height: 0; }
.photo-band img { width: 100%; height: clamp(16rem, 42vw, 34rem); object-fit: cover; object-position: 62% 45%; }

.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.6rem; margin-top: 2rem; font-size: .95rem; letter-spacing: .04em; }
.jump a { text-decoration: none; color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: .1rem; }

.closing { background: var(--navy); background-image: var(--radiance); }
.closing .pull, .closing p { margin: 0 auto; max-width: 34rem; }
.closing .pull::before { margin: 0 auto 1.2rem; }
.closing .pull p, .closing p { color: var(--cream); }
.closing-soft { background: var(--ivory); }

/* about */
.couplet { display: flex; flex-direction: column; gap: .15em; }
.couplet span { font-style: italic; font-weight: 400; }
.portrait-wrap { max-width: 62rem; }
.portrait-wrap > * { max-width: none; }
.portrait img { width: 100%; border-radius: 3px; }
.lower { text-transform: none; }
.purpose { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--gold); }
.purpose h3 { margin-top: 0; font-size: 1rem; font-family: var(--sans); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--link); }
.purpose p { font-family: var(--serif); font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); color: var(--navy); line-height: 1.3; font-style: italic; }
.credentials { font-size: .92rem; }
.credentials .wrap > .creds { max-width: none; }
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.2rem 2.5rem; }
.cred-group h3 { font-family: var(--sans); font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--link); margin: 0 0 .5rem; }
.cred-group ul { list-style: none; padding: 0; margin: 0; }
.cred-group li { margin: .25em 0; line-height: 1.45; }
.find p { font-size: 1.05rem; }

/* spiral */
.spiral-hero { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.spiral-hero > * { max-width: none; }
.spiral-text { text-align: center; }
.spiral-text .subline { margin: 0 auto; }
.spiral-art { margin: clamp(2rem, 1.5rem + 2vw, 3rem) auto 0; max-width: 64rem; }
.spiral-art img, .chart img { width: 100%; border-radius: 3px; }
.lake-band img { object-position: 50% 62%; }
.wrap > .chart { max-width: 60rem; margin: 1.5rem auto 2.5rem; }
.chart a { display: block; }
.chart img { box-shadow: 0 1px 12px rgba(12, 44, 70, .08); }
@media (min-width: 860px) {
  .spiral-hero { grid-template-columns: 1.1fr .9fr; }
  .spiral-text { text-align: left; }
  .spiral-text .subline { margin: 0; }
}
.cards { display: grid; gap: 1.25rem; margin: 2rem 0; }
.wrap > .cards, .wrap > .movement { max-width: none; }
.cards.dimensions { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.cards.phases { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card { background: var(--cream); border-top: 2px solid var(--gold); padding: 1.3rem 1.4rem 1.1rem; border-radius: 0 0 3px 3px; }
.band:not(.quiet) .card { background: var(--ivory); }
.card h3 { margin-top: 0; font-size: 1.6rem; }
.card p { font-size: .98rem; line-height: 1.6; }
.card p:last-child { margin-bottom: 0; }
.glyph { color: var(--gold); margin-right: .15em; }
.movement { margin-top: 3.2rem; }
.movement h3 { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); margin: 0 0 .3rem; }
.movement-intro p { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); line-height: 1.4; max-width: 40rem; }
.phase-num { font-family: var(--serif); color: var(--gold); font-size: 1.5rem; line-height: 1; margin: 0 0 .3rem; }
.steps p strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }

.link-list { list-style: none; padding: 0; margin: 2rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.8rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(253, 250, 242, .82); padding: 3.5rem 0 3rem; font-size: .88rem; text-align: center; }
.footer-inner > * { margin-left: auto; margin-right: auto; }
.lotus { margin: 0 auto 1.4rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.6rem; font-size: .95rem; margin-bottom: 1.6rem; }
.footer-links a { color: var(--cream); text-decoration-color: var(--gold); }
.notice { margin-bottom: .8rem; }
.legal { font-size: .78rem; line-height: 1.6; color: rgba(253, 250, 242, .62); margin: 0 auto; }

@media (max-width: 900px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .wordmark { font-size: 1.5rem; }
  .site-nav { gap: .2rem 1.2rem; font-size: .9rem; }
}
@media (max-width: 600px) {
  .site-nav { gap: .2rem 1.1rem; font-size: .92rem; }
  .wrap.narrow { text-align: left; }
  .wrap.narrow > * { margin-left: 0; }
  .jump { justify-content: flex-start; }
  .link-list { justify-content: flex-start; }
}
