:root {
  --stone: #f1eee8;
  --stone-deep: #d8d3c9;
  --pale: #e5e1d9;
  --ink: #1d2328;
  --ink-soft: #34393c;
  --blue: #1267a8;
  --axis: #b8b7b2;
  --white: #fbfaf7;
  --side: clamp(1.5rem, 5vw, 5.75rem);
  --max: 90rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 3rem; }
body { margin: 0; background: var(--stone); color: var(--ink); font-family: Helvetica, Arial, sans-serif; font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 1rem; top: 1rem; padding: .7rem 1rem; background: var(--ink); color: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem var(--side); mix-blend-mode: difference; color: white; pointer-events: none; }
.brand, .mobile-nav-toggle { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; font-size: .68rem; font-weight: 700; letter-spacing: .22em; }
.brand img { width: 2.25rem; height: auto; object-fit: contain; filter: grayscale(1) brightness(4); }
.mobile-nav-toggle, .mobile-nav { display: none; }

.section-rail { position: fixed; z-index: 40; top: 50%; right: 1.7rem; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: .95rem; }
.section-rail a { position: relative; width: .7rem; height: .7rem; border: 1px solid currentColor; border-radius: 50%; color: var(--axis); text-decoration: none; transition: .25s; }
.section-rail a::after { content: ''; position: absolute; inset: 2px; border-radius: inherit; background: transparent; }
.section-rail a.active { border-color: var(--blue); }
.section-rail a.active::after { background: var(--blue); }
.section-rail a span { position: absolute; right: 1.3rem; top: 50%; width: max-content; transform: translate(.4rem,-50%); opacity: 0; color: var(--ink); background: var(--stone); padding: .2rem .45rem; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; transition: .2s; }
.section-rail a:hover span, .section-rail a:focus-visible span { transform: translate(0,-50%); opacity: 1; }

.section { position: relative; min-height: 100vh; padding: clamp(7rem, 12vw, 11rem) var(--side); }
.stone { background: var(--stone); }
.pale { background: var(--pale); }
.ink { background: var(--ink); color: var(--white); }
.eyebrow { margin: 0 0 2.1rem; font-size: .7rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
h1, h2, h3, p { max-width: 100%; }

.hero { display: grid; grid-template-columns: minmax(16rem, .8fr) minmax(28rem, 1.2fr); align-items: center; gap: clamp(3rem, 7vw, 9rem); overflow: hidden; }
.hero::after { content: ''; position: absolute; left: var(--side); right: var(--side); bottom: 3.75rem; height: 1px; background: var(--axis); }
.hero-mark { display: grid; place-items: center; min-height: 60vh; border-right: 1px solid var(--axis); }
.hero-mark img { width: min(22vw, 18rem); }
.hero-copy h1 { margin: 0; font-size: clamp(3.5rem, 7vw, 7.75rem); line-height: .9; letter-spacing: -.045em; font-weight: 400; }
.lede { margin: 3rem 0 0; max-width: 41rem; font-size: clamp(1.15rem, 1.7vw, 1.55rem); line-height: 1.55; }
.scroll-cue { position: absolute; left: var(--side); bottom: 1.6rem; display: flex; justify-content: space-between; width: 8rem; text-decoration: none; font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }

.content-section, .profile-section { display: grid; grid-template-columns: 8rem minmax(18rem, .75fr) minmax(22rem, 1fr); gap: clamp(2rem, 5vw, 7rem); align-content: center; }
.section-index { display: flex; gap: .75rem; align-items: flex-start; font-size: .68rem; letter-spacing: .16em; }
.section-index span { width: 3rem; height: 1px; margin-top: .5rem; background: var(--blue); }
.section-heading h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5.6rem); line-height: .96; letter-spacing: -.045em; font-weight: 400; }
.prose { max-width: 41rem; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.65; }
.prose p:first-child { margin-top: 0; }
.accent-sentence { margin-top: 3.25rem; font-size: clamp(1.45rem, 2.3vw, 2.25rem); line-height: 1.25; }
.accent-sentence::before { content: ''; display: block; width: 5rem; height: 2px; margin-bottom: 1.4rem; background: var(--blue); }

.practice-section { min-height: auto; }
.practice-section > .section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 6rem; padding-left: calc(8rem + clamp(2rem, 5vw, 7rem)); }
.practice-section > .section-index { position: absolute; left: var(--side); top: clamp(7rem, 12vw, 11rem); }
.section-intro { margin: 0; max-width: 29rem; font-size: 1.15rem; }
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.practice-grid article { min-height: 31rem; padding: 2rem clamp(1.25rem, 2.5vw, 3rem) 2rem 0; border-right: 1px solid var(--axis); }
.practice-grid article + article { padding-left: clamp(1.25rem, 2.5vw, 3rem); }
.practice-grid article:last-child { border-right: 0; }
.practice-number { color: var(--blue); font-size: .68rem; letter-spacing: .16em; }
.practice-grid h3 { min-height: 5rem; margin: 4rem 0 3rem; font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.1; letter-spacing: .08em; }
.practice-grid article > p:not(.practice-number) { max-width: 23rem; }

.principle-section { display: grid; place-content: center; text-align: center; overflow: hidden; }
.principle-section h2 { margin: 0; font-size: clamp(2.4rem, 5.8vw, 6.6rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 400; }
.principle-section h2 span { color: #9da3a6; font-size: .68em; }
.axis-graphic { display: flex; align-items: center; width: min(28rem, 70vw); margin: 0 auto 5rem; }
.axis-graphic span { flex: 1; height: 1px; background: #717679; }
.axis-graphic i, .contact-axis i { width: .72rem; height: .72rem; border-radius: 50%; background: var(--blue); }

.two-column-prose { max-width: 50rem; }
.two-column-prose blockquote { margin: 3.5rem 0; padding: 0 0 0 2rem; border-left: 2px solid var(--blue); font-size: clamp(1.6rem, 2.5vw, 2.5rem); line-height: 1.24; }

.meaning-section { display: flex; flex-direction: column; justify-content: center; }
.meaning-title { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 3vw; padding-bottom: 2.5rem; border-bottom: 1px solid var(--ink); font-size: clamp(2.5rem, 7.2vw, 8rem); letter-spacing: -.045em; line-height: .9; }
.meaning-title span:last-child { text-align: right; }
.meaning-title i { width: 1.15rem; height: 1.15rem; border-radius: 50%; overflow: hidden; color: transparent; background: var(--blue); }
.meaning-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2rem; }
.meaning-grid article { padding: 1.5rem 3rem 3rem 0; border-right: 1px solid var(--axis); }
.meaning-grid article + article { padding-left: 3rem; }
.meaning-grid article:last-child { border-right: 0; }
.meaning-grid h3 { font-size: 1.1rem; letter-spacing: .04em; }
.meaning-close { margin: 4rem 0 0 auto; max-width: 45rem; font-size: clamp(1.45rem, 2.3vw, 2.4rem); line-height: 1.35; }
.meaning-close strong { font-weight: 400; color: var(--blue); }

.connect-section { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.connect-section h2 { margin: 0 0 2rem; font-size: clamp(4rem, 9vw, 10rem); line-height: .85; letter-spacing: -.05em; font-weight: 400; }
.connect-section > div:first-child > p:last-child { max-width: 34rem; font-size: 1.2rem; color: #b9bdbe; }
.contact-actions { border-top: 1px solid #6e7375; }
.contact-actions a { display: flex; justify-content: space-between; gap: 1rem; padding: 1.45rem 0; border-bottom: 1px solid #6e7375; text-decoration: none; font-size: clamp(1rem, 1.5vw, 1.3rem); }
.contact-actions a:hover span { color: var(--blue); }
.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; padding: 2.5rem var(--side); background: var(--stone); font-size: .62rem; font-weight: 700; letter-spacing: .18em; }
.site-footer img { width: 2.75rem; }
.site-footer p { margin: 0; }
.site-footer span { color: var(--blue); }

/* Digital contact card */
.connect-page { min-height: 100vh; background: var(--ink); }
.contact-card-shell { min-height: 100vh; display: grid; place-items: center; padding: clamp(1rem, 4vw, 4rem); }
.digital-card { width: min(100%, 46rem); min-height: min(52rem, calc(100vh - 3rem)); display: flex; flex-direction: column; padding: clamp(1.5rem, 5vw, 4rem); background: var(--stone); box-shadow: 0 2rem 7rem rgba(0,0,0,.3); }
.digital-card header { display: flex; align-items: center; gap: 1rem; padding-bottom: 2rem; border-bottom: 1px solid var(--axis); }
.digital-card header img { width: 4.3rem; }
.digital-card header p { margin: 0; font-size: .7rem; font-weight: 700; letter-spacing: .24em; }
.digital-card-main { margin: auto 0; padding: 4rem 0; }
.digital-card-main h1 { margin: 0; font-size: clamp(3rem, 9vw, 6rem); line-height: .88; letter-spacing: -.04em; font-weight: 400; }
.contact-axis { display: flex; align-items: center; width: 100%; margin: 3rem 0; }
.contact-axis span { flex: 1; height: 1px; background: var(--axis); }
.digital-details { display: flex; flex-direction: column; gap: .35rem; }
.digital-details a { width: fit-content; text-decoration: none; }
.digital-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; align-items: center; }
.primary-button { grid-row: span 2; display: grid; place-items: center; min-height: 4.4rem; background: var(--ink); color: white; text-decoration: none; font-size: .75rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.primary-button:hover { background: var(--blue); }
.text-link { display: flex; justify-content: space-between; text-decoration: none; padding: .5rem 0; border-bottom: 1px solid var(--axis); font-size: .85rem; }
.digital-card footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--axis); font-size: .58rem; font-weight: 700; letter-spacing: .17em; }
.digital-card footer span { color: var(--blue); }

/* Centurions */
.centurions-page { min-height: 100vh; background: var(--stone); }
.centurions-page main { min-height: calc(100vh - 5rem); }
.event-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem var(--side); border-bottom: 1px solid var(--axis); }
.event-header img { width: 3rem; }
.event-header p { margin: 0; font-size: .65rem; font-weight: 700; letter-spacing: .19em; }
.event-header p span { color: var(--blue); }
.event-holding, .event-content { padding: clamp(5rem, 9vw, 9rem) var(--side); }
.event-holding { display: grid; grid-template-columns: 1.2fr .8fr; column-gap: 8vw; }
.event-holding > .eyebrow { grid-column: 1 / -1; }
.event-holding h1, .event-content h1 { margin: 0; font-size: clamp(3.7rem, 8vw, 9rem); line-height: .86; letter-spacing: -.05em; font-weight: 400; }
.event-intro { align-self: end; margin: 0; max-width: 34rem; font-size: 1.15rem; }
.event-forms { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; margin-top: 7rem; padding-top: 2.5rem; border-top: 1px solid var(--ink); }
.event-forms label { display: block; min-height: 3.4rem; margin-bottom: 1.5rem; max-width: 37rem; font-size: .85rem; }
.event-forms form > div { display: flex; }
.event-forms input { min-width: 0; flex: 1; padding: 1rem 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font: inherit; }
.event-forms button { border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-size: .65rem; font-weight: 700; letter-spacing: .14em; cursor: pointer; }
.event-forms button:hover { color: var(--blue); }
.form-status, .form-error { font-size: .8rem; }
.form-error { color: #8d2020; }
.hp { position: absolute !important; left: -10000px !important; }
.event-content h1 { max-width: 75rem; }
.event-content-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 6rem; border-top: 1px solid var(--ink); }
.event-content-grid article { min-height: 17rem; padding: 1.5rem 1.5rem 1.5rem 0; border-right: 1px solid var(--axis); }
.event-content-grid article + article { padding-left: 1.5rem; }
.event-content-grid article:last-child { border-right: 0; }
.event-content-grid article > p { color: var(--blue); font-size: .65rem; }
.event-content-grid h2 { min-height: 5rem; margin: 2.5rem 0; font-size: 1rem; letter-spacing: .1em; }
.event-content-grid span, .event-content-grid a { color: #777; font-size: .85rem; }
.event-footer { display: flex; justify-content: space-between; padding: 2rem var(--side); background: var(--ink); color: white; font-size: .62rem; font-weight: 700; letter-spacing: .18em; }

@media (max-width: 900px) {
  .site-header { mix-blend-mode: normal; background: rgba(241,238,232,.94); color: var(--ink); border-bottom: 1px solid rgba(184,183,178,.6); }
  .brand img { filter: none; }
  .section-rail { display: none; }
  .mobile-nav-toggle { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; background: transparent; }
  .axis-control { display: flex; align-items: center; width: 2rem; }
  .axis-control::before, .axis-control::after { content: ''; flex: 1; height: 1px; background: var(--ink); }
  .axis-control i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--blue); }
  .mobile-nav { position: fixed; inset: 4.8rem 0 auto; display: flex; flex-direction: column; padding: 1rem var(--side) 2rem; background: var(--stone); border-bottom: 1px solid var(--axis); transform: translateY(-140%); opacity: 0; pointer-events: none; transition: .25s ease; }
  .mobile-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-nav a { padding: .85rem 0; border-bottom: 1px solid var(--axis); text-decoration: none; font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-top: 9rem; }
  .hero-mark { min-height: auto; justify-content: start; border: 0; }
  .hero-mark img { width: 8rem; }
  .hero-copy h1 { font-size: clamp(3.25rem, 13vw, 6rem); }
  .content-section, .profile-section { grid-template-columns: 1fr; }
  .section-index { margin-bottom: 1rem; }
  .practice-section > .section-heading { grid-template-columns: 1fr; padding-left: 0; margin-top: 3rem; }
  .practice-section > .section-index { position: static; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-grid article, .practice-grid article + article { min-height: auto; padding: 2rem 0 3rem; border-right: 0; border-bottom: 1px solid var(--axis); }
  .practice-grid h3 { min-height: auto; margin: 2rem 0; }
  .meaning-title { gap: 1rem; font-size: clamp(2.1rem, 10vw, 4.5rem); }
  .meaning-title i { width: .75rem; height: .75rem; }
  .meaning-grid { grid-template-columns: 1fr; }
  .meaning-grid article, .meaning-grid article + article { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--axis); }
  .connect-section { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: auto 1fr; }
  .site-footer p:last-child { grid-column: 1 / -1; }
  .event-holding { grid-template-columns: 1fr; }
  .event-intro { margin-top: 3rem; }
  .event-forms { grid-template-columns: 1fr; }
  .event-content-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .section { min-height: auto; padding-top: 7.5rem; padding-bottom: 7.5rem; }
  .hero { min-height: 100svh; }
  .hero::after { bottom: 2.8rem; }
  .scroll-cue { bottom: .9rem; }
  .principle-section { min-height: 100svh; }
  .principle-section h2 { font-size: 10vw; }
  .digital-card { min-height: calc(100svh - 2rem); }
  .digital-actions { grid-template-columns: 1fr; }
  .primary-button { grid-row: auto; }
  .event-header { align-items: flex-start; }
  .event-header p { max-width: 12rem; text-align: right; }
  .event-holding h1, .event-content h1 { font-size: 13vw; }
  .event-forms form > div { flex-direction: column; }
  .event-forms button { padding: 1rem 0; text-align: left; }
  .event-content-grid { grid-template-columns: 1fr; }
  .event-content-grid article, .event-content-grid article + article { min-height: auto; padding: 1.5rem 0 2.5rem; border-right: 0; border-bottom: 1px solid var(--axis); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
