/* FBK theme — design system, ported from the approved static preview.
   Design tokens live in tokens.css. Components only here. */

/* ============================================================
   FBK — Làn C "Bầy Ong Vui"  ·  mockup preview (not production)
   Palette locked to logo. Grandstander (VN) + Be Vietnam Pro.
   Container 1440 + full-bleed bands. 1px honeycomb (SVG stroke).
   ============================================================ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: clamp(15px, 1vw, 16.5px);
  line-height: 1.7;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.18;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.section {
  padding-block: var(--section-y);
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  background: var(--color-bg-alt);
}

.band-cream3 {
  background: var(--cream-3);
}

.band-leaf {
  background: var(--leaf-bg);
}

.hex-flat {
  aspect-ratio: 1.1547;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.hex-pointy {
  aspect-ratio: 0.866;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.phex {
  aspect-ratio: 16/9 !important;
  border: 6px solid #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  clip-path: none !important;
  overflow: hidden;
}

.phex img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.kicker {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.kicker::before {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--honey);
  content: "";
}

.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 14px 30px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s;
  cursor: pointer;
}

.btn--cta {
  background: var(--honey);
  box-shadow: 0 7px 0 #d99500;
  color: var(--cocoa);
}

.btn--cta:hover {
  box-shadow: 0 9px 0 #d99500;
  transform: translateY(-2px);
}

.btn--ghost {
  border: 2.5px solid var(--cocoa);
  background: #fff;
  color: var(--cocoa);
}

.btn--ghost:hover {
  background: var(--cocoa);
  color: var(--cream);
}

.shead {
  max-width: 680px;
  margin: 0 auto clamp(34px, 4vw, 54px);
  text-align: center;
}

.shead .kicker {
  margin-bottom: 14px;
}

.shead h2 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
}

.shead p {
  margin-top: 14px;
  font-size: 17px;
  color: var(--color-text-dim);
}

/* accessibility: skip link is off-screen until keyboard-focused */
.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 1000;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  background: var(--cocoa);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--cream);
}

.skip-link:focus {
  left: 0;
}

/* registration form — submit-state notices + spam honeypot */
.form__note {
  margin: 0 0 6px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
}

.form__note--ok {
  background: var(--leaf-bg);
  color: var(--color-success);
}

.form__note--err {
  background: rgb(192 40 60 / 10%);
  color: var(--color-danger);
}

.fbk-hp {
  position: absolute !important;
  left: -9999px !important;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgb(255 249 239 / 90%);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--color-border);
}

.hd {
  display: flex;
  gap: 28px;
  align-items: center;
  height: 78px;
}

.brand {
  margin-right: auto;
}

.brand img {
  width: auto;
  height: 46px;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav ul {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav li {
  list-style: none;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--cocoa);
}

.nav a:hover,
.nav a[aria-current] {
  color: var(--amber);
}

.nav a[aria-current]::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--honey);
  content: "";
}

.nav .caret::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  opacity: 0.7;
  transform: translateY(-2px) rotate(45deg);
  border-bottom: 2px solid currentcolor;
  border-right: 2px solid currentcolor;
  content: "";
}

.site-header .btn {
  padding: 11px 22px;
  font-size: 15px;
}

/* On desktop the wrapper is transparent: nav + CTA flow as flex children of
   .hd exactly as before. On mobile it becomes a dropdown panel (see @media). */
.hd__nav {
  display: contents;
}

.burger {
  display: none;
  font-size: 22px;
  line-height: 1;
}

/* hero */
.hero {
  position: relative;
  background: radial-gradient(1200px 620px at 78% 6%, #fff5df 0%, var(--cream) 62%);
  overflow: hidden;
}

.hero__hc {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  color: #ecd693;
  mask-image: linear-gradient(120deg, #000 8%, transparent 64%);
  pointer-events: none;
}

.hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 76px);
}

.hero__eyebrow {
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(50px, 7.6vw, 108px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--cocoa);
}

.hero h1 .hl {
  color: var(--amber);
}

.hero__lead {
  max-width: 35ch;
  margin: 24px 0 32px;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--color-text-dim);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 34px;
}

.hero__trust b {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--amber);
}

.hero__trust span {
  font-size: 13.5px;
  color: var(--color-text-muted);
}

.hero__art {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}

.hero__big {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__big img {
  object-position: center 40%;
}

.hero__acc {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.hero__acc--1 {
  top: -24px;
  left: -26px;
  width: 108px;
  background: var(--honey);
}

.hero__acc--2 {
  right: -22px;
  bottom: -26px;
  width: 94px;
  background: var(--amber);
}

.hero__acc svg {
  width: 44px;
  height: 44px;
}

/* intro */
.intro {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.intro__media {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}

.intro__media .phex {
  aspect-ratio: 0.866;
}

.intro__media img {
  object-position: center 30%;
}

.intro__badge {
  position: absolute;
  right: -6px;
  bottom: 34px;
  padding: 14px 20px;
  border-radius: 22px;
  background: var(--honey);
  box-shadow: var(--shadow);
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.05;
  color: var(--cocoa);
  transform: rotate(-4deg);
}

.intro__badge small {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  opacity: 0.75;
}

.intro h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
}

.intro h2 em {
  color: var(--amber);
  font-style: normal;
}

.intro p + p {
  margin-top: 16px;
}

.intro p {
  color: var(--color-text-dim);
}

.intro .kicker {
  margin-bottom: 16px;
}

.intro__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.chip {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 9px 18px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--cocoa);
}

.chip svg {
  width: 18px;
  height: 18px;
  color: var(--amber);
}

/* values */
.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 54px);
  align-items: stretch;
}

.values__vm {
  display: grid;
  gap: 20px;
  align-content: center;
}

.vcard {
  padding: 26px 28px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.vcard .kicker {
  margin-bottom: 10px;
}

.vcard h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--cocoa);
}

.vcard p {
  font-size: 15px;
  color: var(--color-text-dim);
}

.vcore {
  padding: clamp(28px, 3vw, 42px);
  border-radius: var(--radius-lg);
  background: var(--cocoa);
  box-shadow: var(--shadow-lg);
  color: var(--cream);
}

.vcore > .kicker {
  margin-bottom: 14px;
  color: var(--honey);
}

.vcore h3 {
  margin-bottom: 22px;
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  color: #fff;
}

.vcore__row {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}

.vcore__hex {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 50px;
  background: var(--honey);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.vcore__hex svg {
  width: 22px;
  height: 22px;
}

.vcore__row b {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--honey);
}

.vcore__row p {
  font-size: 14.5px;
  color: #e7d8bd;
}

/* age bands */
.ages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.age {
  padding: 28px 26px 30px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease);
}

.age:hover {
  transform: translateY(-6px);
}

.age:nth-child(2) {
  margin-top: 28px;
}

.age__tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: var(--honey);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--cocoa);
}

.age:nth-child(2) .age__tag {
  background: var(--amber);
  color: #fff;
}

.age:nth-child(3) .age__tag {
  background: var(--leaf);
  color: #fff;
}

.age h3 {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 700;
}

.age ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.age li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--color-text-dim);
}

.age li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 12px;
  height: 11px;
  background: var(--honey);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  content: "";
}

/* 5 fields — interlocking honeycomb, labels inside the cells */
.comb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 600px;
  margin-inline: auto;
}

.cell {
  position: relative;
  display: grid;
  gap: 8px;
  width: 190px;
  aspect-ratio: 0.866;
  padding: 0 22px;
  border: 3px solid var(--honey);
  background: #fff;
  text-align: center;
  transition:
    transform 0.25s var(--ease),
    background 0.25s;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  justify-items: center;
  place-content: center;
}

.cell:nth-child(n + 4) {
  margin-top: -52px;
}

.cell:hover {
  z-index: 2;
  background: #fff6dc;
  transform: scale(1.05);
}

.cell:nth-child(2) {
  border-color: var(--amber);
}

.cell:nth-child(3) {
  border-color: var(--leaf);
}

.cell:nth-child(4) {
  border-color: var(--sky);
}

.cell:nth-child(5) {
  border-color: var(--amber);
}

.cell svg {
  width: 36px;
  height: 36px;
}

.cell b {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--cocoa);
}

/* daily activities (mốc hoạt động — không giờ giấc cố định) */
.acts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.act {
  padding: 28px 26px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease);
}

.act:hover {
  transform: translateY(-6px);
}

.act__ic {
  display: grid;
  place-items: center;
  width: 76px;
  height: 84px;
  margin-bottom: 18px;
  background: var(--honey);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.act:nth-child(2) .act__ic {
  background: var(--amber);
}

.act:nth-child(3) .act__ic {
  background: var(--leaf);
}

.act:nth-child(4) .act__ic {
  background: var(--sky);
}

.act:nth-child(5) .act__ic {
  background: var(--amber);
}

.act__ic svg {
  width: 38px;
  height: 38px;
}

.act h4 {
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
}

.act p {
  font-size: 14.5px;
  color: var(--color-text-dim);
}

/* methods */
.mcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mcard {
  padding: 30px 26px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease);
}

.mcard:hover {
  transform: translateY(-6px);
}

.mcard__ic {
  display: grid;
  place-items: center;
  width: 64px;
  height: 72px;
  margin-bottom: 18px;
  background: var(--cream-3);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.mcard:nth-child(2) .mcard__ic {
  background: #d7ebf0;
}

.mcard:nth-child(3) .mcard__ic {
  background: var(--leaf-bg);
}

.mcard__ic svg {
  width: 30px;
  height: 30px;
  color: var(--cocoa);
}

.mcard h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
}

.mcard p {
  font-size: 14.5px;
  color: var(--color-text-dim);
}

/* why */
.why {
  display: grid;
  gap: clamp(30px, 5vw, 58px);
}

.wrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.wrow:nth-child(even) .wrow__media {
  order: 2;
}

.wrow__media {
  max-width: 520px;
}

.wrow__media .phex {
  aspect-ratio: 1.1547;
}

.wrow__media img {
  object-position: center 35%;
}

.wrow__num {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.wrow h3 {
  margin: 6px 0 14px;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 700;
}

.wrow p {
  margin-bottom: 16px;
  color: var(--color-text-dim);
}

.wrow__link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--amber);
}

/* english pillars */
.eng {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.eng__media {
  position: relative;
  max-width: 520px;
}

.eng__media .phex {
  aspect-ratio: 1.1547;
}

.eng__media img {
  object-position: center 35%;
}

.eng h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
}

.eng h2 em {
  color: var(--amber);
  font-style: normal;
}

.eng p {
  color: var(--color-text-dim);
}

.eng .kicker {
  margin-bottom: 14px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar {
  padding: 26px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.pillar__n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--amber);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.pillar h4 {
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.pillar p {
  font-size: 14px;
  color: var(--color-text-dim);
}

/* facilities gallery — even 3-up grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery a {
  display: block;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 100%;
  transition: transform 0.45s var(--ease);
  object-fit: cover;
}

.gallery a:hover img {
  transform: scale(1.06);
}

/* testimonials */
.quote {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.quote .mark {
  display: block;
  height: 60px;
  font-family: var(--font-heading);
  font-size: 110px;
  font-weight: 800;
  line-height: 0.6;
  color: var(--honey);
}

.quote blockquote {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(23px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.34;
  color: var(--cocoa);
}

.quote figcaption {
  margin-top: 26px;
  color: var(--color-text-dim);
}

.quote figcaption b {
  color: var(--cocoa);
}

.tgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.tcard {
  padding: 26px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.tcard__stars {
  margin-bottom: 12px;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--honey);
}

.tcard p {
  margin-bottom: 16px;
  font-size: 14.5px;
  color: var(--color-text-dim);
}

.tcard b {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--cocoa);
}

.tcard span {
  display: block;
  font-size: 12.5px;
  color: var(--color-text-muted);
}

/* admissions */
.adm {
  position: relative;
  background: linear-gradient(135deg, var(--honey) 0%, var(--amber) 100%);
  overflow: hidden;
}

.adm::before {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='108' height='62.35'%3E%3Cg fill='none' stroke='%2343120d' stroke-width='1' opacity='0.5'%3E%3Cpolygon points='36,0 18,-31.18 -18,-31.18 -36,0 -18,31.18 18,31.18'/%3E%3Cpolygon points='36,62.35 18,31.18 -18,31.18 -36,62.35 -18,93.53 18,93.53'/%3E%3Cpolygon points='90,31.18 72,0 36,0 18,31.18 36,62.35 72,62.35'/%3E%3Cpolygon points='144,0 126,-31.18 90,-31.18 72,0 90,31.18 126,31.18'/%3E%3Cpolygon points='144,62.35 126,31.18 90,31.18 72,62.35 90,93.53 126,93.53'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.22;
  content: "";
  mask-image: linear-gradient(300deg, #000 0%, transparent 58%);
}

.adm__in {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.adm__intro h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  color: var(--cocoa);
}

.adm__intro p {
  max-width: 42ch;
  margin-top: 14px;
  font-weight: 500;
  color: #5a2a12;
}

.adm__note {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 55%);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--cocoa);
}

.form {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.form h3 {
  margin-bottom: 18px;
  font-size: 23px;
  font-weight: 700;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-dim);
}

.field input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--color-border);
  border-radius: 14px;
  background: var(--cream);
  font-family: inherit;
  font-size: 15px;
}

.field input:focus {
  border-color: var(--amber);
  outline: none;
}

.form .btn--cta {
  justify-content: center;
  width: 100%;
  margin-top: 6px;
}

/* events */
.events {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
}

.ev {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease);
  overflow: hidden;
}

.ev:hover {
  transform: translateY(-6px);
}

.ev__img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.ev--lead .ev__img {
  aspect-ratio: 16/12;
}

.ev__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ev__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.ev__date {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
}

.ev h3 {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--cocoa);
}

.ev--lead h3 {
  font-size: 24px;
}

.ev__excerpt {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-dim);
}

.ev__more {
  display: inline-flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--amber);
}

.events__foot {
  margin-top: 36px;
  text-align: center;
}

/* footer */
.foot {
  position: relative;
  padding-block: clamp(52px, 6vw, 84px) 30px;
  background: var(--cocoa);
  color: #f3e6cf;
  overflow: hidden;
}

.foot__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr;
  gap: 44px;
}

.foot__brand img {
  height: 56px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.foot__brand p {
  max-width: 36ch;
  font-size: 14.5px;
  color: #c9b79a;
}

.foot h4 {
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--honey);
}

.foot a,
.foot li {
  font-size: 14.5px;
  line-height: 2;
  color: #e7d8bd;
}

.foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot a:hover {
  color: var(--honey);
}

.foot__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 22px;
  font-size: 13px;
  color: #b09a7c;
  border-top: 1px solid rgb(255 255 255 / 14%);
}

.foot__comb {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 240px;
  height: 240px;
  opacity: 0.09;
}

@media (max-width: 900px) {
  .burger {
    display: inline-flex;
  }

  .hd__nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
    padding: 10px var(--gutter) 20px;
    background: var(--color-bg);
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--color-border);
  }

  .site-header.is-open .hd__nav {
    display: flex;
  }

  .nav {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .nav a {
    display: flex;
    padding: 15px 4px;
    font-size: 17px;
    border-bottom: 1px solid var(--color-border);
  }

  .nav a[aria-current]::after {
    display: none;
  }

  .hd__cta {
    justify-content: center;
    margin-top: 12px;
  }

  .hero__in,
  .intro,
  .values,
  .adm__in,
  .wrow,
  .eng {
    grid-template-columns: 1fr;
  }

  .hero__art {
    max-width: 400px;
    order: -1;
  }

  .ages,
  .mcards,
  .pillars,
  .tgrid,
  .acts {
    grid-template-columns: 1fr;
  }

  .age:nth-child(2) {
    margin-top: 0;
  }

  .wrow:nth-child(even) .wrow__media {
    order: 0;
  }

  .eng__media {
    order: -1;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .hero__trust {
    gap: 20px;
  }

  .cell {
    width: 46%;
  }

  .cell:nth-child(4),
  .cell:nth-child(5) {
    margin-top: 0;
  }

  .acts .act {
    padding: 24px 22px;
  }

  .foot__grid {
    grid-template-columns: 1fr;
  }
}

/* tablet: multi-card grids get 2 columns (561–900) instead of a tall stack */
@media (min-width: 561px) and (max-width: 900px) {
  .ages,
  .mcards,
  .pillars,
  .tgrid,
  .acts,
  .egrid {
    grid-template-columns: 1fr 1fr;
  }
}

/* small phones: shorter header, let the hero headline shrink so it never
   overflows a ~360px viewport */
@media (max-width: 480px) {
  .hd {
    height: 64px;
  }

  .brand img {
    height: 40px;
  }

  .hero h1 {
    font-size: clamp(36px, 12vw, 58px);
  }

  .phero h1 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .hero__trust b {
    font-size: 28px;
  }
}

/* faq */
.faq {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin-inline: auto;
}

.faq details {
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq summary {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--cocoa);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  font-size: 26px;
  line-height: 1;
  color: var(--amber);
  transition: transform 0.2s;
  content: "+";
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-dim);
}

/* ==== page hero (inner pages) ==== */
.phero {
  position: relative;
  background: radial-gradient(1000px 520px at 82% -12%, #fff5df 0%, var(--cream) 60%);
  border-bottom: 2px solid var(--color-border);
  overflow: hidden;
}

.phero__hc {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  color: #ecd693;
  mask-image: linear-gradient(150deg, #000 6%, transparent 66%);
  pointer-events: none;
}

.phero__in {
  position: relative;
  z-index: 1;
  padding-block: clamp(46px, 6vw, 84px);
}

.phero .crumb {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.phero .crumb a {
  color: var(--amber);
}

.phero h1 {
  max-width: 20ch;
  margin: 12px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.8vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cocoa);
}

.phero h1 .hl {
  color: var(--amber);
}

.phero p {
  max-width: 58ch;
  margin-top: 16px;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--color-text-dim);
}

/* ==== contact NAP + map ==== */
.nap {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nap li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--color-border);
}

.nap b {
  font-family: var(--font-heading);
  color: var(--cocoa);
}

.mapbox {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  margin-top: 22px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #eee7d0;
  overflow: hidden;
}

.mapbox iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==== events listing ==== */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}

.fchip {
  padding: 9px 20px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #fff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--cocoa);
  cursor: pointer;
}

.fchip.is-on {
  border-color: var(--honey);
  background: var(--honey);
}

.egrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pager {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 44px;
}

.pager a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--cocoa);
}

.pager a.is-on {
  border-color: var(--honey);
  background: var(--honey);
}

.ev {
  position: relative;
}

.ev__more::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
}

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

/* ==== article prose ==== */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 2px;
}

.post-cat {
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--amber);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.post-date {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.post-lead-img {
  max-width: 940px;
  margin: 0 auto clamp(28px, 4vw, 44px);
}

.post-lead-img img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.prose {
  max-width: var(--reading);
  margin-inline: auto;
}

.prose > p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--color-text-dim);
}

.prose h2 {
  margin: 34px 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(23px, 2.8vw, 30px);
  font-weight: 700;
  color: var(--cocoa);
}

.prose ul {
  margin: 0 0 18px;
  padding-left: 22px;
  line-height: 1.8;
  color: var(--color-text-dim);
}

.prose li {
  margin-bottom: 8px;
}

.prose figure {
  margin: 26px 0;
}

.prose img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.prose figcaption {
  margin-top: 8px;
  font-size: 13px;
  text-align: center;
  color: var(--color-text-muted);
}
