.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.bg-pattern {
  background-image: radial-gradient(#0f4f3a 0.5px, transparent 0.5px);
  background-size: 24px 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.75;
}

::selection {
  background: #c7a35a;
  color: #10271f;
}

.hero-section {
  background: #08221c;
}

.hero-title {
  max-width: 12em;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.event-card {
  width: 100%;
}

.compact-nav a {
  transition: color 0.2s ease, background-color 0.2s ease;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.section-heading {
  margin-inline: auto;
  margin-bottom: clamp(2rem, 5vw, 3.75rem);
  max-width: 52rem;
}

.section-heading h2 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
}

.section-heading p:not(.eyebrow) {
  margin-top: 1.25rem;
  color: rgba(24, 35, 31, 0.68);
  font-size: 1rem;
  line-height: 2;
}

.eyebrow {
  color: #c62828;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.issue-card,
.future-card,
.process-grid article,
.meaning-item,
.network-card,
.schedule-row {
  border-radius: 22px;
}

.issue-card {
  border: 1px solid rgba(15, 79, 58, 0.12);
  background: #fbfaf6;
  padding: 1.75rem;
  box-shadow: 0 18px 45px rgba(15, 79, 58, 0.06);
}

.issue-card span {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(15, 79, 58, 0.09);
  color: #0f4f3a;
}

.issue-card h3 {
  margin-top: 1.25rem;
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.45;
}

.issue-card p {
  margin-top: 0.85rem;
  color: rgba(24, 35, 31, 0.66);
  font-size: 0.94rem;
  line-height: 1.9;
}

.issue-card.accent-card {
  border-color: rgba(198, 40, 40, 0.25);
  background: linear-gradient(145deg, rgba(198, 40, 40, 0.09), #fbfaf6 58%);
}

.future-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
}

.future-card h3 {
  color: #f4d994;
  font-size: 1.1rem;
  font-weight: 900;
}

.future-card p {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.9;
}

.process-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.process-grid article {
  position: relative;
  flex: 1 1 100%;
  border: 1px solid rgba(15, 79, 58, 0.12);
  background: #ffffff;
  padding: 1.7rem;
  box-shadow: 0 18px 50px rgba(15, 79, 58, 0.06);
}

.process-grid span {
  color: #c62828;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.process-grid h3 {
  margin-top: 0.7rem;
  font-size: 1.25rem;
  font-weight: 900;
}

.process-grid p {
  margin-top: 0.75rem;
  color: rgba(24, 35, 31, 0.66);
  font-size: 0.94rem;
  line-height: 1.9;
}

.meaning-item {
  border-left: 4px solid #c7a35a;
  background: #ffffff;
  padding: 1.25rem 1.35rem;
  color: #0f4f3a;
  font-weight: 900;
  box-shadow: 0 14px 38px rgba(15, 79, 58, 0.07);
}

.network-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
}

.check-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  border: 1px solid rgba(15, 79, 58, 0.1);
  border-radius: 20px;
  background: #fbfaf6;
  padding: 1.15rem 1.2rem;
}

.check-card span {
  color: #c62828;
  font-size: 1.25rem;
}

.check-card p {
  color: rgba(24, 35, 31, 0.78);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.8;
}

.schedule-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem;
  border: 1px solid rgba(15, 79, 58, 0.1);
  background: #fbfaf6;
  padding: 1rem 1.1rem;
}

.schedule-row span {
  color: #c62828;
  font-size: 0.95rem;
  font-weight: 900;
}

.schedule-row p {
  color: rgba(24, 35, 31, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.8;
}

.takeaway-item {
  position: relative;
  padding-left: 1.6rem;
}

.takeaway-item::before {
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #c7a35a;
  content: "";
}

.info-list > div {
  display: grid;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(15, 79, 58, 0.11);
  padding: 1.35rem;
}

.info-list > div:last-child {
  border-bottom: 0;
}

.info-list dt {
  color: #0f4f3a;
  font-size: 0.88rem;
  font-weight: 900;
}

.info-list dd {
  color: rgba(24, 35, 31, 0.76);
  font-weight: 700;
}

.info-list a {
  color: #c62828;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(15, 79, 58, 0.12);
  border-radius: 18px;
  background: #fbfaf6;
}

.faq-item summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  font-weight: 900;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  flex: 0 0 auto;
  color: #0f4f3a;
  transition: transform 0.2s ease;
}

.faq-item[open] summary span {
  transform: rotate(180deg);
}

.faq-item p {
  border-top: 1px solid rgba(15, 79, 58, 0.1);
  padding: 1.1rem 1.35rem 1.35rem;
  color: rgba(24, 35, 31, 0.68);
  font-size: 0.95rem;
  line-height: 1.95;
}

#site-header a {
  transition: color 0.2s ease, background-color 0.2s ease;
}

#floating-apply {
  display: block;
  left: auto;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  max-width: calc(100vw - 1.5rem);
}

#floating-apply a {
  display: inline-flex;
  max-width: min(calc(100vw - 1.5rem), 22rem);
  white-space: normal;
}

@media (min-width: 640px) {
  .hero-title {
    max-width: 12em;
  }

  .process-grid article {
    flex-basis: calc((100% - 1rem) / 2);
    max-width: calc((100% - 1rem) / 2);
  }
}

@media (min-width: 1024px) {
  .process-grid article {
    flex-basis: calc((100% - 2rem) / 3);
    max-width: calc((100% - 2rem) / 3);
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(22.75rem, 25rem);
    column-gap: clamp(4.5rem, 5vw, 6rem);
  }

  .hero-title {
    max-width: 11.2em;
  }

  .event-card {
    max-width: 25rem;
    margin-right: 0;
    justify-self: end;
  }
}

@media (min-width: 768px) {
  .info-list > div {
    grid-template-columns: 13rem minmax(0, 1fr);
    padding: 1.5rem 1.75rem;
  }
}

@media (max-width: 767px) {
  .event-card {
    margin-bottom: 1rem;
  }

  .hero-title {
    max-width: none;
  }

  .hero-title-line {
    display: inline;
    white-space: normal;
  }

  .hero-section a[href="#apply"],
  #apply a[href="https://forms.gle/wYVNBqurqSpKiFjF7"] {
    gap: 0.35rem;
    padding-inline: 1rem;
    font-size: 0.9rem;
  }

  .hero-section a[href="#apply"] .material-symbols-outlined,
  #apply a[href="https://forms.gle/wYVNBqurqSpKiFjF7"] .material-symbols-outlined {
    font-size: 1.15rem;
  }

  .section-heading {
    text-align: left;
  }

  .info-list dd {
    font-size: 0.95rem;
  }

  .schedule-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  #floating-apply {
    left: auto;
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  #floating-apply a {
    width: auto;
    max-width: min(calc(100vw - 1.5rem), 20rem);
    justify-content: center;
  }
}
