@font-face {
  font-family: "DM Sans"; src: url("assets/fonts/dm-sans-400.ttf") format("truetype"); font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "DM Sans"; src: url("assets/fonts/dm-sans-600.ttf") format("truetype"); font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "Caveat"; src: url("assets/fonts/caveat.ttf") format("truetype"); font-weight: 400; font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbfaf6;
  --white: #fffefa;
  --ink: #17394f;
  --blue: #285779;
  --orange: #f69f5c;
  --moab-breeze: #cc7229;
  --sagebrush-drift: #a7ba93;
  --sage-text: #526748;
  --sand: #f7debd;
  --body: #344e5a;
  --blue-paper: #eaf1f2;
  --rule: #bccacb;
  --gutter: clamp(1.25rem, 5.7vw, 6.5rem);
  --serif: "Baskerville", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 "DM Sans", Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--moab-breeze); outline-offset: 4px;
}
[hidden] { display: none !important; }
figure, h1, h2, h3, p, dl, dd { margin: 0; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 82rem); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: 1rem; transform: translateY(-180%); z-index: 10; background: white; padding: .75rem 1.25rem; }
.skip:focus { transform: none; }
h1, h2 { letter-spacing: -.071em; font-weight: 600; }
h2 { font-size: clamp(3rem, 5.35vw, 5.2rem); line-height: 1.04; }
h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.061em; }
h2 em { color: var(--blue); }
.button, .header-wait {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .82rem 1.35rem;
  border: 1px solid transparent; border-radius: 2px; text-decoration: none; font-weight: 600; line-height: 1.15;
}
.button { color: #14232a; background: var(--moab-breeze); }
.button:hover { background: #db8740; }
.button:disabled { opacity: .67; cursor: wait; }
.ink-link {
  display: inline; border: none; border-bottom: 1px solid currentColor; border-radius: 0; background: transparent; padding: .1rem 0 .2rem;
  color: var(--ink); font-size: 1rem; font-weight: 600; line-height: 1.45; text-decoration: none;
}
.ink-link:hover { color: var(--moab-breeze); }

.masthead { position: relative; z-index: 3; }
.mast-row {
  min-height: 5.75rem; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem;
  border-bottom: 1px solid #c6d0ce;
}
.brand { display: inline-flex; align-items: center; justify-self: start; width: max-content; text-decoration: none; color: var(--ink); }
.brand img { width: 6.6rem; height: auto; }
#primary-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.75rem); }
#primary-nav a { font-size: .98rem; color: var(--ink); text-decoration: none; }
#primary-nav a:is(:hover, :focus-visible, :active) {
  text-decoration-line: underline; text-decoration-color: var(--moab-breeze);
  text-decoration-thickness: 2px; text-underline-offset: .32em;
}
.header-wait { justify-self: end; background: var(--sagebrush-drift); color: var(--ink); min-height: 2.25rem; padding: .45rem .75rem; font-size: .85rem; }
.compact-label { display: none; }
.header-wait:hover { background: #9bae88; }
.menu-toggle { border: 0; background: none; font-weight: 600; padding: .5rem 0; }

.hero { overflow: hidden; overflow: clip; }
.hero-inner { display: grid; grid-template-columns: .97fr 1.03fr; gap: clamp(1.5rem, 4.5vw, 5.5rem); align-items: stretch; padding-block: clamp(2.3rem, 4.08vw, 4rem) clamp(2.85rem, 4.5vw, 4.5rem); }
.hero-copy { display: flex; flex-direction: column; padding-top: clamp(.2rem, .4vw, .4rem); position: relative; z-index: 1; }
h1 { font-size: clamp(4.9rem, 7.85vw, 8.2rem); line-height: .96; }
.accent-type {
  display: inline-block; color: var(--moab-breeze);
  font-size: .46em; line-height: 1.12; font-weight: 400; letter-spacing: .24em;
  text-transform: uppercase; white-space: nowrap;
}
.hero-accent { display: block; margin-top: .08em; }
.hero-intro { max-width: 29rem; margin-block: 1.55rem 1.72rem; color: var(--body); font-size: clamp(1.07rem, 1.41vw, 1.36rem); line-height: 1.53; }
.hero-actions { display: flex; align-items: center; gap: 1.45rem; margin-top: auto; }
.hero-waitlist, .sage-button { color: var(--ink); background: var(--sagebrush-drift); }
.hero-waitlist:hover, .sage-button:hover { background: #9bae88; }
.photoboard { position: relative; isolation: isolate; aspect-ratio: 1.24; width: 100%; }
.main-print { position: absolute; top: 3%; bottom: 10%; left: 10%; right: 12%; margin: 0; overflow: hidden; background: #e2d5bf; }
.main-print img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 23%; }
.graph-sheet {
  position: absolute; top: 0; left: 22%; right: 5%; bottom: 13%; transform: rotate(2.5deg);
  background-color: #edf2ee; background-image: linear-gradient(to right, #30638830 1px, transparent 1px), linear-gradient(to bottom, #30638830 1px, transparent 1px);
  background-size: 15px 15px; border: 1px solid #7896a438;
}
.graph-sheet::after { content: ""; position: absolute; inset: 0; border-top: 1px solid #68849b; border-left: 1px solid #68849b; opacity: .3; }
.board-arc { position: absolute; top: 0; right: 2%; width: 22%; aspect-ratio: 1; border-radius: 0 100% 0 0; background: var(--orange); transform: rotate(5deg); }
.small-print {
  position: absolute; bottom: 0; right: 0; width: 36%; margin: 0; background: #fffdfa;
  padding: clamp(5px, .57vw, 9px);
  transform: rotate(7deg); box-shadow: 0 3px 10px #29353d38; border: 1px solid #e1ddd0;
}
.small-print img { width: 100%; height: auto; aspect-ratio: 1.38; object-fit: cover; object-position: 45% 45%; }
.bridge-drawing { position: absolute; bottom: -1.3%; left: -3%; width: 42%; height: auto; }

.program { background: var(--blue-paper); padding-top: clamp(2.2rem, 3.8vw, 3.9rem); border-block: 1px solid #d8e2e0; }
#program-title .accent-type { font-size: .54em; letter-spacing: .14em; vertical-align: .255em; }

.subject-icons {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: clamp(1.05rem, 1.8vw, 1.8rem) 0 0; padding: 0; list-style: none;
  border-block: 1px solid #a1b6bb;
}
.subject-icons li {
  position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(.35rem, 1vw, 1rem);
  padding: .72rem .4rem; text-align: center; font-size: clamp(.95rem, 1.3vw, 1.19rem); font-weight: 600;
}
.subject-icons li + li::before { content: ""; position: absolute; top: 29%; left: 0; height: 42%; border-left: 1px solid #a6b9bc; }
.subject-icons img { width: clamp(2.8rem, 4.55vw, 4.7rem); height: 3.55rem; object-fit: contain; }

.gallery { margin-top: clamp(1.45rem, 2.55vw, 2.85rem); }
.gallery h3 { font-size: 1rem; line-height: 1.4; font-weight: 600; }
.gallery-intro { margin-top: .2rem; font-size: .9375rem; color: var(--body); }
.gallery-grid {
  --gallery-standard-gap: clamp(.85rem, 2.4vw, 2.2rem);
  --gallery-photo-scale: .875;
  display: grid; grid-template-columns: repeat(3, calc((100% - 2 * var(--gallery-standard-gap)) / 3 * var(--gallery-photo-scale)));
  justify-content: space-between; row-gap: clamp(1.4rem, 2.55vw, 2.5rem);
  margin-top: clamp(1.15rem, 1.85vw, 1.9rem);
}
.gallery-link { display: block; overflow: hidden; aspect-ratio: 7 / 8; border-radius: .25rem; background: var(--white); cursor: zoom-in; }
.gallery-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out; }
.gallery-link:hover img { transform: scale(1.025); }
.gallery-grid figcaption { padding-top: .65rem; font-size: 1rem; font-weight: 600; }
.gallery-social {
  --gallery-social-padding: clamp(.8rem, 1.55vw, 1.4rem);
  margin-top: calc(clamp(1.25rem, 2.4vw, 2.25rem) - 10px);
  padding-block: var(--gallery-social-padding) calc(var(--gallery-social-padding) + 10px);
}
.gallery-social .sage-button { gap: .65rem; }
.gallery-social svg { flex-shrink: 0; }

.approach { background: var(--ink); color: #fffdf6; padding-block: clamp(2.15rem, 3.75vw, 4rem); }
.approach-spread {
  display: grid; grid-template-columns: .88fr 1.12fr; grid-template-areas: "title ." "story habits";
  gap: 1.2rem clamp(3rem, 8vw, 8.25rem); align-items: start;
}
.approach h2 { grid-area: title; font-size: clamp(3rem, 5.6vw, 5.75rem); }
.approach h2 .accent-type { display: block; margin-top: .15em; color: var(--orange); font-size: .44em; letter-spacing: .17em; white-space: normal; }
.approach-story { grid-area: story; }
.approach-story p { color: #fff; max-width: 29rem; font-size: 1.1rem; }
.approach-story p + p { margin-top: .85rem; }
.approach-art {
  width: min(100%, 33rem); height: auto; margin-top: 1.55rem;
  border: 1px solid #b6c9cd59;
}
.habits { grid-area: habits; border-top: 1px solid #9ab0b666; }
.habits > div { display: grid; grid-template-columns: 1fr 1.35fr; align-items: baseline; gap: 1.1rem; border-bottom: 1px solid #9ab0b666; padding: 1.05rem 0; }
.habits dt { color: var(--sagebrush-drift); font-size: clamp(1.22rem, 1.85vw, 1.85rem); font-weight: 600; line-height: 1.18; }
.habits dd { color: #e0ebec; font-size: .9rem; line-height: 1.48; }
.habits dd strong { display: block; color: #fffdf6; font-weight: 600; margin-bottom: .22rem; }
.philosophy { background: var(--blue-paper); }
.philosophy-spread {
  display: grid; grid-template-columns: 1.16fr .84fr; align-items: start; gap: clamp(1.6rem, 4.4vw, 4.5rem);
  padding-block: calc(clamp(1.4rem, 2.25vw, 2.4rem) + 10px) calc(clamp(1.8rem, 3.25vw, 3rem) + 10px);
}
.philosophy h2 { font-size: clamp(2.15rem, 4vw, 3.65rem); }
.philosophy h2 .accent-type { display: block; margin-top: .2em; letter-spacing: .19em; white-space: normal; }
.philosophy-subhead {
  margin-top: calc(clamp(.95rem, 1.65vw, 1.5rem) + 10px); padding-top: calc(clamp(.75rem, 1.4vw, 1.15rem) + 10px);
  border-top: .5px solid white; color: var(--sage-text); font-size: clamp(.92rem, 1.35vw, 1.12rem); line-height: 1.35; font-weight: 600;
}
.philosophy-copy p { max-width: 42rem; color: var(--body); margin-top: .72rem; font-size: clamp(.835rem, calc(1.35vw - 2pt), .85rem); line-height: 1.52; }
.philosophy-photo { width: min(93%, 27rem); justify-self: end; align-self: center; position: relative; isolation: isolate; padding: .65rem; background: #fff; border: 1px solid #d4dedf; }
.philosophy-photo::before {
  content: ""; position: absolute; z-index: -1; inset: -.85rem .8rem .95rem -.85rem;
  background-color: #f5ecdc;
  background-image: linear-gradient(to right, #94734929 1px, transparent 1px), linear-gradient(to bottom, #94734929 1px, transparent 1px);
  background-size: 15px 15px; border: 1px solid #94734938; transform: rotate(-2deg);
}
.philosophy-photo img { width: 100%; height: auto; background: white; }
.philosophy-band { border-bottom: 5px solid var(--sagebrush-drift); }
.philosophy-practices {
  --practice-spacing: clamp(.85rem, 1.55vw, 1.55rem);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 0;
  list-style: none; padding: 0 0 clamp(1.3rem, 2.6vw, 2.4rem);
}
.philosophy-practices li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start;
  gap: var(--practice-spacing); padding-inline: var(--practice-spacing);
}
.philosophy-practices li:first-child { padding-inline-start: 0; }
.philosophy-practices li + li { border-inline-start: 1px solid var(--rule); }
.philosophy-practices li:last-child { padding-inline-end: 0; text-align: end; }
.philosophy-practices img { width: 3.1rem; height: 3.1rem; object-fit: contain; }
.philosophy-practices h3 { font-size: 1rem; font-weight: 600; }
.philosophy-practices p { color: var(--body); font-size: .94rem; text-wrap: pretty; }

.questions { padding-block: clamp(2.15rem, 4.2vw, 4.5rem); }
.questions-layout { display: grid; grid-template-columns: .81fr 1.19fr; gap: clamp(2rem, 6vw, 7rem); }
.questions h2 { font-size: clamp(3rem, 5.3vw, 5rem); }
.questions h2 .accent-type {
  display: block; margin-top: .35em; font-size: clamp(1.05rem, .38em, 1.9rem); white-space: normal;
}
.question-list { border-top: 1px solid var(--rule); }
.question-list details { border-bottom: 1px solid var(--rule); }
.question-list summary { list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 1.1rem; padding-block: 1.1rem; font-size: 1.09rem; font-weight: 600; }
.question-list summary::-webkit-details-marker { display: none; }
.question-list summary::after { content: "+"; color: var(--moab-breeze); line-height: 1; font: 400 1.48rem/1 "DM Sans", sans-serif; }
.question-list details[open] summary::after { content: "−"; }
.question-list p { padding: 0 2rem 1.2rem 0; color: var(--body); }
.question-answer { padding: 0 2rem 1.2rem 0; color: var(--body); }
.question-answer p { padding: 0; }
.question-answer p + p, .question-answer ul + p { margin-top: .85rem; }
.question-answer ul { margin: .45rem 0 0; padding-inline-start: 1.25rem; }
.waitlist { position: relative; color: var(--ink); background: var(--sand); border-bottom: 5px solid var(--orange); padding-block: clamp(1.95rem, 3.75vw, 4rem); }
.waitlist-layout { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.waitlist h2 { font-size: clamp(3.2rem, 5.1vw, 5.35rem); }
.waitlist h2 .accent-type { display: block; margin-top: .15em; }
.waitlist-layout > div:first-child p { max-width: 31rem; margin-top: 1rem; font-size: 1.08rem; }
.signup-area label { display: block; font-weight: 600; margin-bottom: .45rem; }
.signup-fields { display: flex; gap: .55rem; }
.signup-fields input { color: var(--ink); background: var(--white); border: 1px solid #7b796b; border-radius: 0; padding: .8rem .85rem; min-width: 0; flex: 1; }
.signup-fields input::placeholder { color: #657078; }
.signup-status { margin-top: .65rem; font-weight: 600; }
.signup-help { font-size: .95rem; margin-top: .55rem; }
.footer { display: flex; align-items: center; gap: 1rem; justify-content: space-between; min-height: 6.7rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem clamp(1rem, 2.3vw, 2.1rem); }
.footer p { color: var(--body); font-size: .94rem; }
.footer .ink-link { font-size: .94rem; }
.photo-viewer { color: var(--paper); background: #152f40; padding: 1rem clamp(.9rem, 2vw, 1.6rem); max-width: min(57rem, 94vw); width: 100%; max-height: 94dvh; overflow: auto; border: 0; }
.photo-viewer::backdrop { background: #122b39db; }
.viewer-tools, .viewer-bottom, .viewer-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.viewer-tools { padding-bottom: .7rem; color: #dbe5e7; font-size: .95rem; }
.photo-viewer button { padding: .35rem .55rem; border: 1px solid #a8babf; background: transparent; color: var(--paper); font-size: .95rem; }
.photo-viewer button:hover { background: #30516a; }
.photo-viewer button:focus-visible { outline-color: var(--orange); }
#viewer-photo { margin-inline: auto; width: 100%; height: min(64dvh, 43rem); object-fit: contain; }
.viewer-bottom { padding-top: .85rem; }
#viewer-caption { text-wrap: pretty; }
.viewer-controls { gap: .4rem; }
@media (min-width: 1450px) {
  .hero-inner { gap: 3.9rem; }
}
@media (max-width: 1000px) {
  :root { --gutter: clamp(1.35rem, 4.7vw, 3rem); }
  .mast-row { gap: 1rem; }
  .hero-inner { grid-template-columns: .97fr 1.03fr; gap: 1rem; }
  h1 { font-size: clamp(4.35rem, 8.85vw, 5.65rem); }
  .hero-intro { font-size: 1.08rem; }
  .hero-actions { gap: 1rem; }
  .photoboard { aspect-ratio: 1.02; }
  .main-print { left: 7%; }
  .subject-icons li { flex-direction: column; gap: .2rem; }
  .subject-icons img { width: 3.6rem; height: 3rem; }
  .approach-spread { column-gap: 3rem; }
  .habits > div { grid-template-columns: .94fr 1.06fr; }
  .waitlist-layout { grid-template-columns: .94fr 1.06fr; gap: 2rem; }
}
@media (max-width: 760px) {
  :root { --gutter: clamp(1.2rem, 5.4vw, 2.2rem); }
  .mast-row { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; min-height: 4.7rem; padding-block: .8rem; }
  .brand { margin-right: auto; }
  .brand img { width: 5.35rem; }
  .header-wait { min-height: 2.25rem; }
  .menu-toggle { order: 3; font-size: .94rem; }
  #primary-nav { order: 4; width: 100%; flex-wrap: wrap; gap: .3rem 1.2rem; padding-block: .55rem .15rem; }
  #primary-nav a { padding-block: .3rem; }
  .hero-inner { grid-template-columns: 1fr; align-items: start; gap: 1.7rem; padding-block: 2.2rem 2.75rem; }
  .hero-copy { max-width: 35rem; }
  h1 { font-size: clamp(4.55rem, 13.5vw, 6.1rem); }
  .hero-intro { max-width: 31rem; margin-block: 1.12rem 1.2rem; }
  .hero-actions { gap: 1.25rem; }
  .photoboard { width: min(96%, 31rem); margin: .1rem auto 0; aspect-ratio: 1.33; }
  .main-print { left: 9%; }
  h2 { font-size: clamp(2.9rem, 9vw, 4rem); }
  .philosophy-spread, .questions-layout, .waitlist-layout { grid-template-columns: 1fr; gap: 1.8rem; }
  .approach-spread { grid-template-columns: 1fr; grid-template-areas: "title" "story" "habits"; }
  .approach-story p { font-size: 1rem; max-width: 28rem; }
  .habits { margin-top: .6rem; }
  .subject-icons li { font-size: .7125rem; padding-inline: .15rem; }
  .subject-icons span { overflow-wrap: anywhere; }
  .habits > div { grid-template-columns: .9fr 1.1fr; }
  .philosophy-photo { justify-self: start; margin: .35rem 0 0 .5rem; }
  .philosophy-practices { grid-template-columns: 1fr; gap: var(--practice-spacing); }
  .philosophy-practices li { align-items: center; padding-inline: 0; }
  .philosophy-practices li + li { border-inline-start: 0; border-top: 1px solid var(--rule); padding-top: var(--practice-spacing); }
  .philosophy-practices li:last-child { text-align: start; }
  .philosophy-practices img { width: 2.55rem; height: 2.55rem; }
  .footer { flex-wrap: wrap; gap: .6rem 1rem; padding-block: 1.3rem; }
  .footer p { font-size: .89rem; }
}
@media (max-width: 600px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 1.6rem; }
  .hero-copy { display: contents; }
  .hero-copy h1 { grid-row: 1; font-size: clamp(3.1rem, 13.6vw, 5rem); white-space: nowrap; }
  .photoboard { grid-row: 2; width: min(94%, 28rem); aspect-ratio: 1.5; margin: 1.3rem auto 1.45rem; }
  .hero-intro { grid-row: 3; margin-top: 0; font-size: 1.04rem; }
  .hero-actions { grid-row: 4; }
}
@media (max-width: 480px) {
  .header-wait .full-label { display: none; }
  .header-wait .compact-label { display: inline; }
  .mast-row { gap: .5rem .9rem; min-height: 4.3rem; }
  .header-wait { padding-inline: .65rem; }
  .menu-toggle { min-height: 2.6rem; }
  .hero-actions { gap: 1.1rem; }
  .hero-actions .button { padding-inline: 1rem; }
  .hero-actions .ink-link { font-size: .94rem; }
  .subject-icons { margin-top: 1.25rem; }
  .subject-icons img { width: min(100%, 2.95rem); height: 2.65rem; }
  .gallery-grid { grid-template-columns: repeat(2, calc((100% - var(--gallery-standard-gap)) / 2 * var(--gallery-photo-scale))); }
  .gallery-grid figcaption { font-size: .9rem; }
  .signup-fields { flex-direction: column; align-items: stretch; }
  .viewer-bottom { display: block; }
  .viewer-controls { justify-content: flex-end; margin-top: .65rem; }
}
@media (max-width: 350px) {
  .mast-row { gap: .6rem; }
  .header-wait { padding-inline: .48rem; }
  h1 { font-size: 4.1rem; }
  .hero-actions { flex-wrap: wrap; gap: .7rem 1rem; }
  .habits > div { display: block; }
  .habits dd { margin-top: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
.signup-result { padding-block: clamp(3rem, 8vw, 8rem); }
.signup-result h1 { font-size: clamp(2.9rem, 7vw, 5.5rem); margin-top: 2rem; }
.signup-result p { margin-block: 1rem 2rem; }
