:root {
  --kayal: #12495A;
  --kayal-d: #0C3441;
  --kasavu: #C8962E;
  --mulaku: #B3362B;
  --pacha: #4C7A3F;
  --chunnam: #E9E6DA;
  --bg: #F7F8F6;
  --ink: #1B2A2F;
  --muted: #51636A;
  --line: #D8DDD9;
  --white: #fff;
  --f-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --f-body: 'Source Sans 3', system-ui, sans-serif;
  --r: 10px;
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--f-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

a {
  color: var(--kayal)
}

h1,
h2,
h3 {
  font-family: var(--f-display);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .6em
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  font-weight: 800
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700
}

h3 {
  font-size: 1.2rem;
  font-weight: 700
}

p {
  margin: 0 0 1em
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto
}

.narrow {
  max-width: 640px
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 100
}

.skip:focus {
  left: 0
}

:focus-visible {
  outline: 3px solid var(--kasavu);
  outline-offset: 3px;
  border-radius: 4px
}

/* header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--ink)
}

.chips {
  display: flex;
  gap: 2px;
  height: 34px
}

.chips i {
  width: 9px;
  border-radius: 2px
}

.chips i:nth-child(1) {
  background: var(--kayal)
}

.chips i:nth-child(2) {
  background: var(--kasavu)
}

.chips i:nth-child(3) {
  background: var(--mulaku)
}

.chips i:nth-child(4) {
  background: var(--pacha)
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1
}

.brand-text strong {
  font: 800 1.35rem var(--f-display);
  letter-spacing: .01em
}

.brand-text small {
  font-size: .8rem;
  color: var(--muted)
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: .3rem 0;
  border-bottom: 2px solid transparent
}

.nav a:hover,
.nav a[aria-current=page] {
  border-color: var(--kasavu)
}

.nav a.btn {
  border: 0;
  color: #fff;
  padding: .55rem 1.1rem
}

.menu-btn {
  display: none;
  font: 600 1rem var(--f-body);
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: .5rem .9rem;
  cursor: pointer
}

/* buttons */
.btn {
  display: inline-block;
  background: var(--kayal);
  color: #fff;
  text-decoration: none;
  font: 700 1rem var(--f-body);
  padding: .85rem 1.5rem;
  border-radius: var(--r);
  border: 2px solid var(--kayal);
  cursor: pointer;
  transition: background .15s, transform .15s
}

.btn:hover {
  background: var(--kayal-d);
  border-color: var(--kayal-d)
}

.btn:active {
  transform: translateY(1px)
}

.btn-small {
  padding: .55rem 1.1rem;
  font-size: .95rem
}

.btn-ghost {
  background: transparent;
  color: var(--kayal)
}

.btn-ghost:hover {
  background: var(--kayal);
  color: #fff
}

.btn-light {
  background: var(--white);
  color: var(--kayal-d);
  border-color: var(--white)
}

.btn-light:hover {
  background: var(--chunnam);
  border-color: var(--chunnam)
}

/* hero */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center
}

.lead {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 34em
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.8rem
}

.fan {
  position: relative;
  height: 420px;
  min-width: 0
}

.swatch {
  position: absolute;
  left: 8%;
  bottom: 0;
  width: 150px;
  height: 380px;
  background: var(--c);
  border-radius: 14px 14px 10px 10px;
  transform-origin: 50% 100%;
  transform: rotate(calc((var(--i) - 2) * 15deg));
  box-shadow: 0 8px 24px rgba(12, 52, 65, .18);
  border: 6px solid var(--white);
  animation: fan .9s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(var(--i) * 70ms)
}

.swatch::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3)
}

.swatch-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: .55rem .6rem;
  font-size: .78rem;
  line-height: 1.25;
  color: var(--muted);
  border-radius: 0 0 6px 6px
}

.swatch-label b {
  display: block;
  font: 700 .95rem var(--f-display);
  color: var(--ink)
}

@keyframes fan {
  from {
    transform: rotate(0)
  }
}

/* sections */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0
}

.tint {
  background: var(--chunnam)
}

.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 3rem;
  align-items: start
}

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem
}

.benefits article {
  border-top: 3px solid var(--kasavu);
  padding-top: 1rem
}

.benefits article:nth-child(2) {
  border-color: var(--mulaku)
}

.benefits article:nth-child(3) {
  border-color: var(--pacha)
}

.benefits article:nth-child(4) {
  border-color: var(--kayal)
}

.benefits p {
  color: var(--muted);
  margin: 0
}

.districts {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem
}

.districts li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: .4rem .9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem
}

.head-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem
}

.head-row h2 {
  margin: 0
}

.events {
  display: grid;
  gap: 1rem
}

.event {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.1rem 1.4rem
}

.event time {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  padding-right: 1.25rem;
  border-right: 1px solid var(--line);
  font-size: .85rem;
  color: var(--muted);
  text-align: center
}

.event time b {
  font: 800 2rem/1 var(--f-display);
  color: var(--mulaku)
}

.event h3 {
  margin: 0 0 .2rem
}

.event p {
  margin: 0;
  color: var(--muted)
}

.cta {
  background: var(--kayal-d);
  color: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) 0
}

.cta .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: center;
  justify-content: space-between
}

.cta h2 {
  margin: 0;
  max-width: 22em
}

/* inner pages */
.page-head {
  background: var(--chunnam);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 4px solid var(--kasavu)
}

.page-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: .3em
}

.page-head .lead {
  margin: 0
}

.prose {
  max-width: 46rem
}

.prose h2 {
  margin-top: 1.8em
}

.prose h2:first-child {
  margin-top: 0
}

.prose li {
  margin-bottom: .4em
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem
}

.gallery img {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r)
}

.gallery figcaption {
  font-size: .9rem;
  color: var(--muted);
  margin-top: .4rem
}

.empty {
  border: 2px dashed var(--line);
  border-radius: var(--r);
  padding: 2.5rem;
  text-align: center;
  color: var(--muted)
}

/* forms */
.form {
  display: grid;
  gap: 1.1rem
}

.form label {
  display: grid;
  gap: .35rem;
  font-weight: 600;
  font-size: .97rem
}

.form input,
.form select,
.form textarea {
  font: 400 1rem var(--f-body);
  padding: .75rem .9rem;
  border: 1.5px solid #AEB8B3;
  border-radius: var(--r);
  background: var(--white);
  color: var(--ink);
  width: 100%
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 3px solid rgba(200, 150, 46, .45);
  border-color: var(--kasavu)
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden
}

.form .btn {
  justify-self: start
}

.errors {
  background: #FBEAE8;
  border-left: 4px solid var(--mulaku);
  padding: .9rem 1.2rem;
  border-radius: 6px;
  margin-bottom: 1.2rem
}

.errors ul {
  margin: 0;
  padding-left: 1.1rem
}

.flash {
  padding: .9rem 0;
  font-weight: 600
}

.flash-ok {
  background: #E6F0E2;
  color: #27481F;
  border-bottom: 2px solid var(--pacha)
}

.flash-err {
  background: #FBEAE8;
  color: #7C1F17
}

.tablewrap {
  overflow-x: auto
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: .95rem
}

th,
td {
  padding: .6rem .8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top
}

th {
  background: var(--chunnam)
}

/* footer */
.site-footer {
  background: #10252D;
  color: #C9D4D6;
  padding-top: 3rem
}

.site-footer a {
  color: #fff;
  display: block;
  text-decoration: none;
  margin-bottom: .4rem
}

.site-footer a:hover {
  text-decoration: underline
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem
}

.foot-brand {
  font: 700 1.15rem var(--f-display);
  color: #fff;
  margin-bottom: .4rem
}

.foot-title {
  font-weight: 600;
  color: var(--kasavu);
  margin-bottom: .5rem
}

.legal {
  border-top: 1px solid #24414B;
  padding: 1.2rem 0;
  font-size: .9rem
}

/* responsive */
@media (max-width:860px) {

  .hero-grid,
  .split,
  .foot-grid {
    grid-template-columns: 1fr
  }

  .fan {
    height: 340px;
    order: -1
  }

  .swatch {
    width: 110px;
    height: 290px;
    left: calc(50% - 55px)
  }

  .benefits {
    grid-template-columns: 1fr
  }

  .menu-btn {
    display: block
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
    gap: 1rem
  }

  .nav.open {
    display: flex
  }
}

@media (max-width:560px) {
  .two {
    grid-template-columns: 1fr
  }

  .event {
    flex-direction: column;
    align-items: flex-start
  }

  .event time {
    flex-direction: row;
    gap: .5rem;
    border: 0;
    padding: 0;
    align-items: baseline
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }
}