/* Dominica flag palette and concise editorial refinements. */
:root {
  --bone: #ffffff;
  --blue: #006b3f;
  --ink: #151515;
  --red: #d21034;
  --green: #006b3f;
  --yellow: #fcd116;
  --line: rgba(0, 107, 63, .24);
  --white: #ffffff;
}

.site-header {
  background: rgba(255, 255, 255, .94);
}

.hero-image {
  background: linear-gradient(140deg, rgba(21, 21, 21, .2), rgba(0, 107, 63, .82)), url("assets/hero-crossing.jpg") center/cover, var(--green);
}

.crossing-map {
  background: var(--black, #151515);
}

.portrait {
  background: linear-gradient(130deg, var(--green), var(--black, #151515));
}

.athletes,
.about {
  background: #ffffff;
}

.start-grid .kicker,
.visual-caption span {
  color: var(--yellow);
}
.audience > span,
.sequence span,
.start-grid span {
  display: none;
}

.sequence {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 2.5rem;
}

.sequence .kicker {
  margin-top: 1rem;
}

.sequence strong {
  display: block;
  max-width: 15rem;
  font-size: 1.8rem;
  line-height: 1.05;
}

.athletes > .text-link {
  display: inline-block;
}

.start-grid h3 {
  margin-top: .75rem;
}

@media (max-width: 800px) {
  .sequence {
    grid-template-columns: 1fr;
  }

  .sequence article,
  .sequence article:nth-child(2),
  .sequence article:nth-child(3) {
    padding: 1.5rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* Equal Earth map inside the cultural positioning chapter. */
.francophone {
  text-align: left;
}

.francophone h2,
.francophone-intro {
  max-width: 48rem;
}

.francophone-intro {
  max-width: 42rem;
  margin-bottom: 0;
  color: #ffffff;
}

.equal-earth-figure {
  width: 100%;
  max-width: none;
  margin: clamp(48px, 7vw, 96px) 0;
}

.equal-earth-map {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) sepia(.18) saturate(.7) brightness(1.35);
}

.francophone .places {
  max-width: 42rem;
  margin: 0;
  text-align: left;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.2;
}

.francophone strong {
  margin-top: var(--space-stack);
  text-align: left;
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
}

@media (min-width: 1025px) {
  .equal-earth-figure {
    position: relative;
    left: 50%;
    width: min(calc(100vw - 80px), 84rem);
    margin-block: clamp(56px, 8vw, 112px);
    transform: translateX(-50%);
  }
}

/* Shared editorial grid and responsive spacing system. */
:root {
  --page-gutter: max(clamp(24px, 4vw, 64px), calc((100vw - 1200px) / 2));
  --space-section: clamp(64px, 8vw, 120px);
  --space-group: clamp(48px, 6vw, 80px);
  --space-stack: clamp(24px, 3vw, 40px);
}

.container {
  width: min(calc(100% - (var(--page-gutter) * 2)), 1200px);
  margin-inline: auto;
}

.site-header,
.section,
.athletes,
.crossing,
.francophone,
.inquiry,
.final-cta,
footer {
  padding-inline: var(--page-gutter);
}

.site-header {
  padding-inline: var(--page-gutter);
}

.hero {
  gap: clamp(48px, 6vw, 88px);
  padding-inline: var(--page-gutter);
}

.hero-copy {
  padding: clamp(80px, 10vw, 144px) 0;
}

.hero-image {
  min-width: 0;
  min-height: min(44vw, 620px);
  margin-block: clamp(48px, 6vw, 80px);
}

.section,
.athletes,
.francophone,
.inquiry,
.final-cta {
  padding-block: var(--space-section);
}

.crossing {
  padding-block: 0;
}

.crossing-map,
.crossing-copy,
.positioning-copy,
.comparison,
.audience,
.method-list li > div,
.athlete-copy,
.sequence article,
.rhythm-grid article,
.about > div,
.proof-grid article,
.fit > div,
.fit aside,
.start-grid article,
.inquiry > div,
.inquiry form,
.faq > div,
footer > * {
  min-width: 0;
}

.hero h1 {
  max-width: 10ch;
}

.hero .lead {
  max-width: 38rem;
}

.positioning-copy p,
.crossing-copy > p:not(.eyebrow),
.athlete-copy > p,
.about > div:last-child > p:not(.founder-name),
.fit aside p {
  max-width: 60ch;
}

.positioning,
.faq {
  column-gap: clamp(48px, 6vw, 80px);
}

.positioning-copy,
.comparison {
  max-width: 68ch;
}

.audience-grid,
.rhythm-grid,
.proof-grid,
.start-grid {
  gap: clamp(24px, 3vw, 40px);
}

.audience,
.rhythm-grid article,
.proof-grid article,
.start-grid article {
  padding: clamp(24px, 3vw, 40px);
}

.audience:first-child,
.rhythm-grid article:first-child,
.proof-grid article:first-child,
.start-grid article:first-child {
  padding-left: clamp(24px, 3vw, 40px);
}

.sequence {
  gap: clamp(32px, 5vw, 72px);
  margin-top: var(--space-group);
}

.sequence article {
  min-height: auto;
  padding: clamp(24px, 3vw, 40px) 0;
  border-right: 0;
  border-top: 1px solid var(--line);
}

.sequence .kicker {
  margin-top: 0;
}

.inquiry {
  column-gap: clamp(48px, 8vw, 112px);
}

.inquiry form {
  max-width: 44rem;
  gap: clamp(16px, 2vw, 20px);
}

.inquiry .form-intro {
  max-width: 42rem;
  margin: 0 0 .25rem;
  color: #56534e;
  font-size: .9rem;
}

.inquiry label {
  font-size: .8rem;
}

.inquiry input,
.inquiry select,
.inquiry textarea {
  min-height: 44px;
  font-size: 1rem;
}

.faq-list {
  max-width: 55rem;
  margin-inline: auto;
}

.faq summary {
  padding-block: clamp(24px, 3vw, 32px);
}

footer {
  padding-block: clamp(48px, 6vw, 80px);
}

/* The homepage Method is a route: four editorial stages linked by a single line. */
.method#method .method-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  margin: var(--space-group) 0 0;
  padding: 0;
  border: 0;
}

.method#method .method-list::before {
  position: absolute;
  top: clamp(2.25rem, 4vw, 3rem);
  right: clamp(.75rem, 2vw, 1.5rem);
  left: clamp(.75rem, 2vw, 1.5rem);
  border-top: 1px solid var(--line);
  content: "";
}

.method#method .method-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
}

.method#method .method-list li > span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: clamp(4.5rem, 6vw, 5.75rem);
  aspect-ratio: 1;
  margin-bottom: clamp(20px, 3vw, 32px);
  background: var(--bone);
  color: var(--red);
  font: clamp(2.3rem, 4vw, 3.5rem)/1 var(--serif);
}

.method#method .method-list .kicker {
  margin: 0 0 .7rem;
  color: var(--green);
}

.method#method .method-list h3 {
  max-width: 12ch;
  margin: 0 0 .75rem;
  font-size: clamp(1.75rem, 2.4vw, 2.65rem);
}

.method#method .method-list p:last-child {
  max-width: 24ch;
  margin-bottom: 0;
  font-size: .9rem;
}

/* The learning rhythm is a calm schedule, not a set of feature cards. */
.rhythm .rhythm-grid {
  gap: clamp(32px, 5vw, 72px);
  margin-top: var(--space-group);
  border: 0;
}

.rhythm .rhythm-grid article,
.rhythm .rhythm-grid article:first-child {
  min-height: 0;
  padding: 0;
  border: 0;
}

.rhythm .rhythm-frequency {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rhythm .rhythm-grid h3 {
  margin: 0 0 .75rem;
  color: var(--blue);
  font-size: clamp(2rem, 3vw, 3.25rem);
}

.rhythm .rhythm-grid p:last-child {
  max-width: 24ch;
  margin-bottom: 0;
  color: #57544f;
}

.rhythm .rhythm-note {
  max-width: 54rem;
  margin: var(--space-stack) 0 0;
  color: var(--green);
  font: clamp(1.25rem, 2vw, 1.75rem)/1.2 var(--serif);
}

/* Keep embedded media and long editorial content inside their responsive columns. */
img,
svg,
video,
iframe {
  max-width: 100%;
}

img,
svg,
video {
  height: auto;
}

main,
section,
header,
footer {
  max-width: 100%;
}

h1,
h2,
h3,
.sequence strong {
  overflow-wrap: break-word;
  text-wrap: balance;
}

button,
.button {
  min-height: 44px;
}

.menu-button {
  min-width: 44px;
  min-height: 44px;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr);
    min-height: auto;
  }

  .hero-copy {
    padding-block: clamp(72px, 9vw, 112px);
  }

  .hero h1 {
    font-size: clamp(3.5rem, 7vw, 5.75rem);
  }

  .hero-image {
    min-height: min(52vw, 520px);
  }

  .comparison > div {
    padding-right: clamp(16px, 3vw, 32px);
  }

  .comparison-focus {
    padding-left: clamp(16px, 3vw, 32px) !important;
  }

  .audience-grid,
  .rhythm-grid,
  .proof-grid,
  .start-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience:last-child,
  .rhythm-grid article:last-child,
  .proof-grid article:last-child {
    grid-column: 1 / -1;
  }

  .athletes .sequence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .athletes .sequence article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  :root {
    --page-gutter: clamp(20px, 5vw, 32px);
  }

  .hero {
    gap: 0;
    padding-inline: var(--page-gutter);
  }

  .hero-copy {
    padding-block: var(--space-section) var(--space-stack);
  }

  .hero-image {
    min-height: 22rem;
    margin-block: var(--space-stack) var(--space-section);
  }

  .crossing-copy {
    padding: var(--space-section) 0;
  }

  .crossing-map {
    min-height: 20rem;
  }

  .about > div:last-child {
    padding: var(--space-section) 0;
  }

  .audience-grid,
  .rhythm-grid,
  .proof-grid,
  .start-grid,
  .athletes .sequence {
    grid-template-columns: 1fr;
  }

  .audience:last-child,
  .rhythm-grid article:last-child,
  .proof-grid article:last-child,
  .athletes .sequence article:last-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    max-width: 11ch;
    font-size: clamp(3.1rem, 13vw, 4.6rem);
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .actions .button {
    width: 100%;
    min-height: 44px;
  }

  .actions .text-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  input,
  select,
  textarea {
    min-height: 44px;
    font-size: 1rem;
  }
}

@media (max-width: 430px) {
  :root {
    --page-gutter: 20px;
    --space-section: clamp(52px, 15vw, 64px);
  }

  .site-header {
    height: 68px;
  }

  .brand {
    font-size: .72rem;
  }

  .brand small {
    font-size: .52rem;
  }

  .main-nav {
    top: 67px;
    padding-inline: var(--page-gutter);
  }

  .hero-copy {
    padding-top: clamp(52px, 16vw, 72px);
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14vw, 3.9rem);
  }

  .hero-image {
    min-height: 18rem;
    margin-block: var(--space-stack) var(--space-section);
  }

  .section,
  .athletes,
  .francophone,
  .inquiry,
  .final-cta {
    padding-block: var(--space-section);
  }

  main .button:not(.button-small) {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 800px) {
  .method#method .method-list {
    display: block;
    margin-top: var(--space-stack);
  }

  .method#method .method-list::before {
    top: 2rem;
    bottom: 2rem;
    left: 2rem;
    right: auto;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .method#method .method-list li {
    display: grid;
    grid-template-columns: 4.75rem minmax(0, 1fr);
    gap: clamp(16px, 4vw, 28px);
    padding-bottom: clamp(32px, 6vw, 48px);
  }

  .method#method .method-list li:last-child {
    padding-bottom: 0;
  }

  .method#method .method-list li > span {
    width: 4rem;
    margin: 0;
  }

  .method#method .method-list li > div {
    padding-top: .45rem;
  }

  .rhythm .rhythm-grid {
    gap: 0;
    margin-top: var(--space-stack);
  }

  .rhythm .rhythm-grid article + article {
    margin-top: clamp(28px, 6vw, 40px);
    padding-top: clamp(28px, 6vw, 40px);
    border-top: 1px solid var(--line);
  }
}

/* Editorial polish: let measure, spacing, and hierarchy do the work of cards. */
.positioning-copy h2,
.audiences > h2,
.method > h2,
.rhythm > h2,
.athlete-copy h2,
.about h2 {
  max-width: 13ch;
}

.audience-grid {
  align-items: start;
  border-top: 0;
}

.audience,
.audience:first-child {
  min-height: 0;
  padding: 0;
  border-right: 0;
}

.audience .kicker {
  margin: 0 0 .65rem;
}

.audience h3 {
  margin-bottom: 1rem;
}

.sequence {
  max-width: 75rem;
  margin: var(--space-group) auto 0;
  padding-top: var(--space-stack);
  border-top: 1px solid var(--line);
}

.sequence article {
  padding: 0;
  border: 0;
}

.sequence strong {
  max-width: 18ch;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.faq details p {
  max-width: 65ch;
}

@media (max-width: 800px) {
  .audience,
  .audience:first-child {
    padding: 0 !important;
    border: 0;
  }

  .sequence article,
  .sequence article:nth-child(2),
  .sequence article:nth-child(3) {
    padding: 0 !important;
    border: 0 !important;
  }
}

/* Keep the editorial desktop hero intact while giving narrow screens a true reading order. */
.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;
}

@media (max-width: 820px) {
  .site-header {
    height: 72px;
    gap: 16px;
    padding-inline: clamp(20px, 5vw, 24px);
  }

  .brand {
    min-width: 0;
  }

  .menu-button {
    flex: 0 0 auto;
    justify-items: center;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: auto;
  }

  .hero-copy {
    min-width: 0;
    padding-block: clamp(52px, 9vw, 72px) var(--space-stack);
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.6rem, 12vw, 4.25rem);
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .hero-image {
    grid-column: auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 4 / 3;
    margin-block: var(--space-stack) var(--space-section);
  }

  .audience-grid,
  .rhythm-grid,
  .proof-grid,
  .start-grid,
  .athletes .sequence {
    grid-template-columns: minmax(0, 1fr);
  }

  .audience:last-child,
  .rhythm-grid article:last-child,
  .proof-grid article:last-child,
  .athletes .sequence article:last-child {
    grid-column: auto;
  }

  .method#method .method-list {
    display: block;
    margin-top: var(--space-stack);
  }

  .method#method .method-list::before {
    top: 2rem;
    right: auto;
    bottom: 2rem;
    left: 2rem;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .method#method .method-list li {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: clamp(16px, 4vw, 28px);
    padding-bottom: clamp(32px, 6vw, 48px);
  }

  .method#method .method-list li:last-child {
    padding-bottom: 0;
  }

  .method#method .method-list li > span {
    width: 4rem;
    margin: 0;
  }

  .method#method .method-list li > div {
    padding-top: .45rem;
  }

  .about .portrait {
    min-height: clamp(20rem, 70vw, 30rem);
  }
}

@media (max-width: 800px) {
  .main-nav {
    top: 72px;
    padding-inline: clamp(20px, 5vw, 24px);
  }
}
