/* MacMillan, Muir & Associates — editorial site
   Built from design_handoff_macmillan_muir_site (2026-11-01). Values match the reference. */

:root {
  --purple: #2D174C;
  --cypress: #25473D;
  --chartreuse: #C5CB88;
  --bone: #FAF8F4;
  --graphite: #292331;
  --lavender: #8E7EAB;
  --warm: #f2efe9;
  --mauve: #e9e5ea;
  --muted: #4b4550;
  --line-24: #2D174C3c;
  --line-30: #2D174C4c;
  --line-40: #2D174C66;
  --display: 'Bodoni Moda', 'Bodoni Local', Georgia, 'Times New Roman', serif;
  --body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

/* Offline fallback: the bundled static Bodoni Moda Regular. Only fetched if Google Fonts is unavailable. */
@font-face {
  font-family: 'Bodoni Local';
  src: url('/assets/BodoniModa-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cypress);
  color: var(--graphite);
  font: 400 15px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--cypress); }
h1, h2, h3, p { margin-top: 0; }
img { max-width: 100%; }
::selection { background: var(--chartreuse); color: var(--purple); }

/* Display type: Bodoni Moda at its default optical size, matching the static Regular in the brand kit. */
h1, h2, h3, .numeral, .hero-index strong, .art-numeral, .art-name, .event-date, .quote-mark, .contact-email {
  font-family: var(--display);
  font-weight: 400;
  font-optical-sizing: none;
}

:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.contact :focus-visible, .footer :focus-visible { outline-color: var(--chartreuse); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--purple); color: var(--bone);
  padding: 10px 14px; font-size: 12px; letter-spacing: .1em; font-weight: 700;
}
.skip:focus { top: 24px; color: var(--bone); }

.frame {
  max-width: 1600px;
  margin: 16px auto;
  background: var(--bone);
  overflow: hidden;
}

/* ---------- Edition bar + header ---------- */
.edition {
  display: flex; justify-content: space-between; gap: 15px;
  padding: 11px 4%;
  border-bottom: 1px solid var(--line-24);
  font-size: 9px; font-weight: 700; letter-spacing: .17em;
  color: var(--cypress);
}

.header {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 24px 4%;
  position: relative; z-index: 5;
  border-bottom: 1px solid var(--line-24);
}
.brand { display: block; width: clamp(205px, 20vw, 275px); flex-shrink: 0; }
.brand img { display: block; width: 100%; height: auto; }

.menu-toggle {
  display: none;
  border: 0; background: transparent;
  font: 700 11px var(--body); letter-spacing: .1em;
  color: var(--purple); cursor: pointer; padding: 8px 0;
}

.nav {
  display: flex; align-items: center; gap: clamp(13px, 2vw, 29px);
  font-size: 10px; letter-spacing: .14em; font-weight: 700; text-transform: uppercase;
  color: var(--purple);
}
.nav a { color: var(--purple); transition: color .2s; }
.nav a:hover { color: var(--cypress); }
.nav .nav-contact {
  border: 1px solid var(--purple);
  padding: 12px 15px; white-space: nowrap;
  transition: .2s;
}
.nav .nav-contact:hover { background: var(--purple); color: var(--bone); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: clamp(70px, 7vw, 100px) minmax(0, 1fr) clamp(160px, 15vw, 225px);
  min-height: clamp(570px, 55vw, 760px);
  color: var(--purple);
}
.hero-rail {
  border-right: 1px solid var(--line-24);
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: 50px 0 37px;
}
.vertical {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 10px; font-weight: 700; letter-spacing: .2em;
}
.vertical-sm { font-size: 9px; letter-spacing: .13em; }

.hero-body {
  padding: clamp(60px, 8vw, 104px) 5.8% 45px 6.6%;
  display: flex; flex-direction: column; justify-content: space-between;
  min-width: 0;
}
.kicker {
  font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin: 0;
}
.hero h1 {
  font-size: clamp(49px, 7.8vw, 133px);
  letter-spacing: -.055em; line-height: .97;
  margin: 37px 0 clamp(40px, 5vw, 70px);
}
.hero h1 em { color: var(--cypress); }
.hero-bottom {
  border-top: 1px solid #2D174C60;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
  padding-top: 28px;
}
.hero-bottom p { font-size: clamp(14px, 1.4vw, 19px); line-height: 1.55; max-width: 520px; margin: 0; }
.round-link {
  display: grid; place-items: center;
  width: 62px; height: 62px;
  border: 1px solid var(--purple); border-radius: 50%;
  font-size: 26px; flex-shrink: 0; color: var(--purple);
  transition: .2s;
}
.round-link:hover { background: var(--purple); color: var(--bone); }

.hero-index {
  background: var(--chartreuse);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 42px 20px 28px;
  color: var(--purple);
  border-left: 1px solid var(--purple);
}
.hero-index span, .hero-index small {
  font-size: 10px; letter-spacing: .15em; line-height: 1.8; font-weight: 700;
}
.hero-index strong {
  font-size: clamp(29px, 2.8vw, 45px); line-height: 1.15;
  overflow-wrap: break-word;
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--cypress); color: var(--bone);
  padding: 16px 5%;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; align-items: center;
  font-size: 10px; font-weight: 700; letter-spacing: .18em;
}
.ticker i { font-size: 14px; font-style: normal; color: var(--chartreuse); }

/* ---------- Shared section pieces ---------- */
.section-label {
  display: flex; flex-direction: column; gap: 12px;
  color: var(--cypress);
  font-size: 9px; letter-spacing: .16em; font-weight: 700; line-height: 1.5;
  margin-bottom: 45px;
}
.numeral { font-size: 36px; line-height: 1; color: var(--purple); }

.overline {
  font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cypress); margin: 0;
}
h2 {
  line-height: 1.02;
  font-size: clamp(50px, 6vw, 95px);
  letter-spacing: -.038em;
  color: var(--purple);
}
h2 em { color: var(--cypress); }
h3 {
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--purple);
}
.indent { margin-left: 27%; }

.editorial-link {
  display: inline-flex; justify-content: space-between; gap: 30px;
  border-bottom: 1px solid var(--purple); padding-bottom: 9px;
  color: var(--purple);
  font-size: 10px; letter-spacing: .14em; font-weight: 700;
  transition: .2s;
}
.editorial-link:hover { color: var(--cypress); border-color: var(--cypress); }

/* ---------- 01 Perspective ---------- */
.perspective {
  display: grid; grid-template-columns: 23% 1fr; gap: 5%;
  padding: clamp(75px, 8vw, 115px) 7% 100px;
  border-bottom: 1px solid var(--line-30);
}
.perspective .section-label { margin-bottom: 40px; }
.perspective-copy { max-width: 980px; }
.perspective h2 { max-width: 900px; margin: 27px 0 32px; text-wrap: pretty; }
.perspective .lede {
  font-size: clamp(16px, 1.3vw, 18px); max-width: 690px; line-height: 1.7; margin-bottom: 50px;
}
.wave { width: 420px; max-width: 70%; height: auto; opacity: .7; display: block; }

/* ---------- 02 People ---------- */
.people { padding: clamp(75px, 8vw, 105px) 7% 90px; }
.people-heading { margin-bottom: 60px; }
.people-heading h2 { margin: 18px 0 0; }

.people-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--purple); border-bottom: 1px solid var(--purple);
}
.person-one { border-right: 1px solid var(--purple); }

.person-art {
  height: clamp(340px, 36vw, 480px);
  position: relative; overflow: hidden;
  display: grid;
}
.person-one .person-art { background: var(--cypress); grid-template-columns: 38% 1fr; }
.person-two .person-art { background: var(--purple); grid-template-columns: 1fr 38%; }

.art-numeral {
  display: flex; flex-direction: column; justify-content: space-between;
  z-index: 2; color: var(--bone);
  font-size: 60px;
}
.person-one .art-numeral { padding: 24px 0 24px 28px; }
.person-two .art-numeral { padding: 24px 28px 24px 0; align-items: flex-end; text-align: right; }

.person-art picture, .person-art img {
  display: block; width: 100%; height: 100%; min-height: 0;
}
.person-art img { object-fit: cover; }
.person-one .person-art img { object-position: 50% 18%; }
.person-two .person-art img { object-position: 50% 22%; }

.art-name {
  font-size: clamp(80px, 11vw, 190px); line-height: .8;
  position: absolute; bottom: -6px;
  color: var(--bone); letter-spacing: -.07em;
  z-index: 1; mix-blend-mode: difference; pointer-events: none;
}
.person-one .art-name { left: 18px; }
.person-two .art-name { right: 18px; }

.person-copy {
  padding: 42px 10% 48px 7%;
  min-height: 390px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.person-label { font-size: 10px; letter-spacing: .18em; font-weight: 700; color: var(--cypress); }
.person-copy h3 { font-size: clamp(52px, 5vw, 82px); margin: 22px 0 21px; }
.person-copy h3 i { font-size: .45em; }
.person-copy p { max-width: 430px; font-size: 14px; line-height: 1.8; margin-bottom: 30px; }
.person-copy .editorial-link { margin-top: auto; }

/* ---------- 03 Ways to engage ---------- */
.collaborate { padding: clamp(75px, 8vw, 110px) 7%; background: var(--warm); }
.collab-intro {
  margin-bottom: 65px;
  display: grid; grid-template-columns: 1.5fr 1fr;
  column-gap: 50px; row-gap: 24px; align-items: end;
}
.collab-intro .overline { grid-column: 1 / -1; }
.collab-intro h2 { margin: 0; }
.collab-intro p:not(.overline) { line-height: 1.8; font-size: 15px; max-width: 360px; margin: 0 0 6px; }

.op-list { border-top: 1px solid var(--purple); }
.op-row {
  display: grid; grid-template-columns: 8% minmax(0, 35%) 1fr;
  align-items: center; gap: 18px;
  border-bottom: 1px solid var(--line-40);
  min-height: 112px;
  padding: 12px 12px 12px 0;
  color: var(--purple);
}
.op-num { font-size: 10px; letter-spacing: .15em; color: var(--cypress); }
.op-row h3 { font-size: clamp(30px, 4vw, 57px); margin: 0; color: inherit; }
.op-row p { max-width: 300px; font-size: 13px; margin: 0; line-height: 1.6; color: var(--muted); }
.op-featured { background: var(--cypress); color: var(--bone); padding-left: 18px; }
.op-featured .op-num, .op-featured p { color: inherit; }

.op-inquiries {
  margin: 40px 0 0;
  font-size: 10px; letter-spacing: .14em; font-weight: 700; color: var(--cypress);
}
.op-inquiries a { color: var(--purple); border-bottom: 1px solid var(--purple); padding-bottom: 4px; transition: .2s; }
.op-inquiries a:hover { color: var(--cypress); border-color: var(--cypress); }

/* ---------- Interlude ---------- */
.interlude {
  background: var(--purple); color: var(--bone);
  padding: clamp(70px, 7vw, 90px) 7% 44px;
}
.interlude-label { font-size: 10px; letter-spacing: .2em; color: var(--chartreuse); font-weight: 700; }
.interlude h2 {
  color: inherit;
  font-size: clamp(67px, 9vw, 150px);
  line-height: .95;
  margin: 40px 0 80px;
}
.interlude h2 em { color: var(--chartreuse); }
.interlude-topics {
  border-top: 1px solid var(--lavender);
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between;
  padding-top: 24px;
  font-size: 10px; letter-spacing: .13em; color: #e1dbe7;
}

/* ---------- 04 Journal & events ---------- */
.journal { padding: clamp(75px, 8vw, 110px) 7%; }
.journal-top {
  margin: 0 0 60px 27%;
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: clamp(30px, 5vw, 70px); align-items: end;
}
.journal-top h2 { margin: 16px 0 0; }
.journal-top > p { font-size: 15px; line-height: 1.75; margin: 0; }

.journal-grid {
  display: grid; grid-template-columns: 1.2fr .8fr;
  gap: clamp(25px, 4vw, 55px);
  border-top: 1px solid var(--purple);
  padding-top: 28px;
}
.event-art {
  background: var(--chartreuse);
  height: clamp(270px, 25vw, 360px);
  position: relative; overflow: hidden;
  display: flex; align-items: start; justify-content: space-between;
  padding: 20px;
  color: var(--purple);
}
.event-date { font-size: 90px; line-height: .8; z-index: 1; }
.event-circle {
  position: absolute; width: 600px; height: 600px;
  border: 2px solid #2d174c4d; border-radius: 50%;
  left: 24%; top: -45%;
  box-shadow: 0 0 0 42px #c5cb8800, 0 0 0 43px #2d174c32, 0 0 0 92px #c5cb8800, 0 0 0 93px #2d174c25;
}
.event-place { align-self: end; font-size: 10px; letter-spacing: .15em; font-weight: 700; z-index: 1; }

.meta { font-size: 10px; letter-spacing: .18em; font-weight: 700; color: var(--cypress); margin: 24px 0 12px; }
.meta .dot { padding: 0 10px; }
.journal h3 { font-size: clamp(33px, 3.3vw, 52px); margin: 0 0 14px; text-wrap: pretty; }
.journal article p { font-size: 14px; line-height: 1.7; }
.journal .editorial-link { margin-top: 18px; }

.journal-secondary { border-left: 1px solid #2D174C44; padding-left: 40px; }
.quote-mark { display: block; font-size: 200px; line-height: .75; color: var(--lavender); margin: 30px 0; }
.journal-secondary hr { border: 0; border-top: 1px solid #2D174C77; margin: 55px 0 30px; }

/* ---------- 05 Press ---------- */
.press { padding: clamp(75px, 8vw, 100px) 7%; background: var(--mauve); }
.press-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.press-grid h2 { margin: 10px 0 26px; }
.press-grid p:not(.overline) { font-size: 14px; line-height: 1.8; max-width: 460px; margin-bottom: 35px; }
.press-panel {
  background: var(--purple);
  min-height: clamp(230px, 25vw, 310px);
  padding: 45px 25px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 30px;
}
.press-panel img { width: 100%; max-width: 440px; height: auto; }
.press-panel span { font-size: 9px; letter-spacing: .16em; color: var(--chartreuse); text-align: center; }

/* ---------- Contact ---------- */
.contact {
  background: var(--cypress); color: var(--bone);
  text-align: center;
  padding: clamp(80px, 8vw, 100px) 7% 120px;
}
.contact .overline { color: var(--chartreuse); }
.contact h2 {
  color: inherit;
  font-size: clamp(70px, 9vw, 140px);
  margin: 18px 0 25px;
}
.contact > p:not(.overline) { max-width: 460px; margin: 0 auto 40px; line-height: 1.8; }
.contact-email {
  font-size: clamp(22px, 3.5vw, 45px);
  border-bottom: 1px solid var(--chartreuse); padding-bottom: 10px;
  display: inline-flex; gap: clamp(15px, 4vw, 55px);
  color: var(--bone);
  transition: .2s;
}
.contact-email:hover { color: var(--chartreuse); }

/* ---------- Footer ---------- */
.footer {
  background: var(--cypress);
  border-top: 1px solid #faf8f450;
  color: var(--bone);
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 20px;
  padding: 25px 7%;
  font-size: 9px; letter-spacing: .15em; font-weight: 700;
}
.footer p {
  grid-column: 1 / -1;
  font-size: 10px; letter-spacing: 0; max-width: 740px; opacity: .65;
  margin: 15px 0 0; font-weight: 400;
}

/* ---------- Mobile ---------- */
@media (max-width: 850px) {
  .menu-toggle { display: block; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bone);
    padding: 25px 6%;
    box-shadow: 0 20px 40px #0002;
    flex-direction: column; align-items: flex-start; gap: 20px;
  }
  .hero { grid-template-columns: 45px minmax(0, 1fr); }
  .hero-index, .edition-mid { display: none; }
  .split, .perspective, .collab-intro, .journal-top, .press-grid { grid-template-columns: 1fr; }
  .indent, .journal-top { margin-left: 0; }
  .two, .people-grid, .journal-grid { grid-template-columns: 1fr; }
  .person-one { border-right: 0; border-bottom: 1px solid var(--purple); }
  .journal-secondary { border-left: 0; border-top: 1px solid #2D174C55; padding: 25px 0 0; }
  .footer { grid-template-columns: 1fr auto; }
}

@media (max-width: 520px) {
  .op-row { grid-template-columns: 10% 1fr; }
  .op-row p { grid-column: 2; max-width: none; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
