/* ===============================================================
   Theme: GITAM greens on dark sections, cream on light sections,
   gold accent lines as in the shared design
   =============================================================== */
:root {
  --g: #007367;
  /* GITAM Green */
  --g-dark: #004740;
  /* Dark Green */
  --g-light: #8bcbb7;
  /* Light Green */
  --ivory: #f4e4c9;
  /* Antique White */
  --cream: #fbf7ee;
  /* light section background (from design) */
  --gold: #e3b04b;
  /* accent lines and labels (from design) */
  --white: #ffffff;

  --ink: #004740;
  --muted: rgba(0, 71, 64, 0.72);
  --line: rgba(0, 71, 64, 0.14);
  --line-d: rgba(139, 203, 183, 0.24);

  --dark-bg:
    radial-gradient(
      55% 45% at 50% 0%,
      rgba(0, 115, 103, 0.3) 0%,
      rgba(0, 115, 103, 0) 70%
    ),
    radial-gradient(
      40% 50% at 100% 100%,
      rgba(0, 115, 103, 0.12) 0%,
      rgba(0, 115, 103, 0) 70%
    ),
    #07120e;
  --glass: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.075) 0%,
    rgba(255, 255, 255, 0.035) 100%
  );
  --glass-line: rgba(255, 255, 255, 0.09);

  --wrap: 1260px;
  --pad: clamp(18px, 4vw, 40px);
  /* --font:
    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  font-family: var(--font-body) !important;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  letter-spacing: 1.5px !important;
  line-height: 1.2;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* .wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
} */
.label {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g);
}

.dark .label {
  color: var(--gold);
}

/* .dash {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  margin-top: 10px;
}
h1 + .dash,
h2 + .dash {
  margin-top: 16px;
  width: 36px;
}
.al .dash {
  margin-bottom: 26px;
} */
.arrow {
  width: 20px;
  height: 20px;
  flex: none;
}

.dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  /* background: var(--dark-bg); */
  background:
    radial-gradient(
      120% 85% at 50% -10%,
      rgba(0, 115, 103, 0.26) 0%,
      transparent 55%
    ),
    radial-gradient(
      70% 60% at 92% 108%,
      rgba(0, 145, 120, 0.16) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, #06140f 0%, #03100c 100%);
}

.circ {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(var(--gd-rgb), 0.06);
  border: 1px solid rgba(var(--gd-rgb), 0.18);
  color: var(--ink);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.circ svg {
  width: 16px;
  height: 16px;
}

/* .circ:hover:not(:disabled) {
  background: var(--g-dark);
  border-color: var(--g-dark);
  color: #fff;
} */
.dark .circ,
.m-ctrl .circ {
  background: rgba(var(--aw-rgb), 0.06);
  border: 1px solid rgba(var(--aw-rgb), 0.24);
  color: #fff;
}

/* .dark .circ:hover:not(:disabled) {
  background: #fff;
  color: var(--g-dark);
  border-color: #fff;
} */
.circ:disabled {
  opacity: 0.35;
  cursor: default;
}

.pill-wrap {
  padding: 8px 0;
}

.pill {
  display: block;
  width: 28px;
  height: 4px;
  border-radius: 4px;
  background: rgba(0, 71, 64, 0.15);
  transition:
    width 0.35s var(--ease),
    background 0.35s;
}

.pill[aria-current="true"] {
  width: 36px;
  background: var(--g-dark);
}

.dark .pill {
  background: rgba(255, 255, 255, 0.14);
}

.dark .pill[aria-current="true"] {
  background: var(--g-light);
}

/* ===============================================================
   Sticky bar
   =============================================================== */
.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1;
  padding-top: env(safe-area-inset-top, 0px);
  background: #007367;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease);
  border-bottom: 1px solid var(--line-d);
}

.bar.show {
  transform: none;
  top: 84px;
}

.bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.bar-brand {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.bar-brand:hover {
  color: #fff;
}

.bar-brand span {
  font-weight: 400;
  opacity: 0.7;
  margin-left: 8px;
}

.bar nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bar nav a {
  text-decoration: none;
  font-size: 13.5px;
  opacity: 0.78;
  position: relative;
  transition: opacity 0.2s;
}

.bar nav a:hover,
.bar nav a.on {
  opacity: 1;
}

.bar nav a.on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-d);
  align-items: center;
  justify-content: center;
}

.burger i,
.burger i::before,
.burger i::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  position: relative;
}

.burger i::before,
.burger i::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger i::before {
  top: -5px;
}

.burger i::after {
  top: 5px;
}

@media (max-width: 900px) {
  .burger {
    display: inline-flex;
  }

  .bar nav ul {
    position: fixed;
    left: 0;
    right: 0;
    top: calc(62px + env(safe-area-inset-top, 0px));
    flex-direction: column;
    gap: 0;
    background: #07120e;
    padding: 6px var(--pad) 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
  }

  .bar nav ul.open {
    opacity: 1;
    pointer-events: auto;
  }

  .bar nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-d);
    font-size: 16px;
  }

  .bar nav a.on::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .bar-brand span {
    display: none;
  }
}

/* ===============================================================
   Hero
   =============================================================== */
.hero {
  position: relative;
  height: clamp(540px, 40vw, 640px);
  overflow: hidden;
  background: #004740;
  color: var(--ivory);
}

.hero-img {
  position: absolute;
  inset: 0;
  /* background: url(../images/banner-law1.webp) center 30% / cover no-repeat; */
  background: url(../images/banner-law.webp) center 0% / cover no-repeat;
  transform: scale(1.04);
  animation: kb 22s ease-out forwards;
}

.hero-overlay {
  background:
    radial-gradient(
      ellipse 82% 42% at 50% 60%,
      rgba(0, 15, 12, 0.4) 0,
      rgba(0, 28, 22, 0.3) 32%,
      rgba(0, 42, 32, 0.2) 55%,
      rgba(0, 60, 46, 0.1) 72%,
      transparent 100%
    ),
    linear-gradient(to top, rgba(0, 18, 14, 0.3) 0, transparent 40%),
    linear-gradient(to bottom, transparent 70%, #06140f 100%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

@keyframes kb {
  to {
    transform: scale(1);
  }
}

/* .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      48% 34% at 50% 52%,
      rgba(7, 18, 14, 0.5),
      rgba(7, 18, 14, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 18, 14, 0.35) 0%,
      rgba(0, 71, 64, 0.18) 45%,
      rgba(7, 18, 14, 0.92) 100%
    );
} */
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  text-align: center;
  padding: clamp(40px, 5vw, 72px);
}

.hero h1 {
  margin: 0;
  /* font-size:clamp(38px,5.2vw,72px); */
  font-size: clamp(32px, 4.8vw, 64px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: #fbf7ee;
  text-shadow: 0 2px 24px rgba(0, 71, 64, 0.5);
}

.tagline {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 14px 0 0;
  font-size: clamp(15px, 1.45vw, 20px);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #f4e4c9;
}

.tagline::before,
.tagline::after {
  content: "";
  width: clamp(26px, 3.2vw, 44px);
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.cue {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 28px;
  border-radius: 999px;
  background: #fbf7ee;
  color: var(--g-dark);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s;
}

.cue:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.55);
  color: var(--g-dark);
}

.cue svg {
  transition: transform 0.3s var(--ease);
}

.cue:hover svg {
  transform: translateY(3px);
}

.load > * {
  opacity: 0;
  transform: translateY(14px);
  animation: up 0.9s var(--ease) forwards;
}

.load > *:nth-child(2) {
  animation-delay: 0.14s;
}

.load > *:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes up {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 600px) {
  .tagline {
    gap: 10px;
    font-size: 14px;
  }
}

/* ===============================================================
   Intro
   =============================================================== */
.intro {
  background: #f4e4c9;
  /* border-bottom: 1px solid var(--line); */
}

.intro-top {
  border-bottom: 1px solid var(--line);
}

.intro-top p {
  margin: 0 auto;
  max-width: 1080px;
  text-align: center;
  /* font-size: clamp(18px, 1.7vw, 23px); */
  line-height: 1.6;
  color: var(--ink);
  /* padding-top: clamp(48px, 5.5vw, 72px); */
  padding-bottom: clamp(30px, 5.5vw, 40px);
}

.intro-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding-top: clamp(30px, 5.5vw, 40px);
  /* padding-bottom: clamp(48px, 5.5vw, 72px); */
}

.intro h2 {
  margin: 0;
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

.intro-row p {
  margin: 0;
  padding-left: clamp(24px, 4vw, 48px);
  border-left: 2px solid rgba(0, 71, 64, 0.25);
  /* font-size: clamp(17px, 1.5vw, 21px); */
  line-height: 1.6;
  color: var(--ink);
  max-width: 56ch;
}

@media (max-width: 760px) {
  .intro-row {
    grid-template-columns: 1fr;
  }

  .intro-row p {
    border-left: 0;
    padding-left: 0;
    /* border-top: 2px solid rgba(0, 71, 64, 0.2); */
    padding-top: 20px;
  }
}

/* ===============================================================
   Vision / Mission (dark)
   =============================================================== */
/* .vm {
  
  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(var(--gl-rgb), 0.18),
      transparent 34%
    ),
    linear-gradient(135deg, #003630 0%, #05271f 56%, #07150f 100%);
} */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(var(--gl-rgb), 0.18),
      transparent 34%
    ),
    linear-gradient(135deg, #003630 0%, #05271f 56%, #07150f 100%);
  border-radius: 16px;
}

.vm-col {
  /* padding-right: clamp(24px, 4vw, 56px); */
  padding: 46px 48px;
}

.vm-col + .vm-col {
  /* padding: 0 0 0 clamp(24px, 4vw, 56px); */
  border-left: 1px solid var(--glass-line);
  padding: 46px 48px;
}

.vision {
  margin: 24px 0 0;
  /* font-size: clamp(17px, 1.5vw, 20px); */
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  /* max-width: 46ch; */
}

.m-intro {
  margin: 20px 0 0;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 58ch;
}

.slide {
  margin-top: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 2.4vw, 30px);
  align-items: start;
  min-height: 242px;
  /* min-height: 205px; */
}

.slide .num {
  font-size: clamp(4rem, 6.5vw, 6rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: var(--g-light);
  font-variant-numeric: tabular-nums;
}

.slide .txt {
  line-height: 1.65;
  color: #fff;
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease);
  min-height: 5.2em;
}

.slide .txt b {
  display: block;
  color: var(--ivory);
  margin: 4px 0 16px;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  letter-spacing: 0;
  line-height: 1.08;
}

.slide .txt.out {
  opacity: 0;
  transform: translateX(10px);
}

.m-ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.m-ctrl .dots {
  display: flex;
  gap: 6px;
}

.m-ctrl .arrows {
  display: flex;
  gap: 12px;
}

@media (max-width: 860px) {
  .vm-grid {
    grid-template-columns: 1fr;
  }

  .vm-col {
    padding: 0;
  }

  .vm-col + .vm-col {
    border-left: 0;
    border-top: 1px solid var(--glass-line);
    padding: 32px 0 0;
    margin-top: 32px;
  }

  .slide {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ===============================================================
   Objective (light)
   =============================================================== */
.objective {
  background: var(--cream);
  /* padding: clamp(56px, 6vw, 84px) 0; */
}

.obj-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.obj-head h2 {
  margin: 0;
  font-size: clamp(36px, 3.6vw, 50px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
}

.obj-head > p {
  margin: 0;
  padding-left: clamp(24px, 3.6vw, 48px);
  border-left: 1px solid var(--line);

  line-height: 1.6;
  color: var(--ink);
  max-width: 48ch;
}

.obj-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(32px, 4vw, 48px);
}

.obj-grid > div {
  padding: 0 22px;
  border-left: 1px solid var(--line);
}

.obj-grid > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.obj-grid b {
  display: block;
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 700;
  line-height: 1;
  color: var(--g);
}

/* .obj-grid .dash {
  width: 22px;
  margin-top: 12px;
} */
.obj-grid span {
  display: block;
  margin-top: 14px;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

@media (max-width: 980px) {
  .obj-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }

  .obj-grid > div:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 620px) {
  .obj-head {
    grid-template-columns: 1fr;
  }

  .obj-head > p {
    border-left: 0;
    padding-left: 0;
  }

  .obj-grid {
    grid-template-columns: 1fr 1fr;
  }

  .obj-grid > div {
    border-left: 0;
    padding: 0 10px 0 0;
  }

  .obj-grid > div:last-child {
    grid-column: 1/-1;
  }
}

/* ===============================================================
   Principles (dark)
   =============================================================== */
.principles {
  /* padding: clamp(56px, 6vw, 84px) 0; */
  background: #004740;
}

.pr-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) 2fr;
  gap: clamp(24px, 4vw, 56px);
}

.pr-intro h2 {
  margin: 0;
  font-size: clamp(36px, 3.6vw, 50px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #fff;
}

.pr-intro p:not(.label) {
  margin: 18px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 30ch;
}

.pr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  column-gap: clamp(28px, 4.5vw, 64px);
}

.pr-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-line);
  font-size: 15.5px;
  color: #fff;
  transition: padding 0.3s var(--ease);
}

.pr-list li:hover {
  padding-left: 6px;
}

.pr-list li:nth-child(5),
.pr-list li:nth-child(10) {
  border-bottom: 0;
}

.pr-list b {
  flex: none;
  width: 34px;
  font-size: 22px;
  font-weight: 700;
  color: var(--g-light);
  font-variant-numeric: tabular-nums;
}

.pr-list i {
  flex: none;
  width: 1.5px;
  height: 20px;
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 900px) {
  .pr-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .pr-list {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-template-rows: none;
  }

  .pr-list li:nth-child(5) {
    border-bottom: 1px solid var(--glass-line);
  }
}

/* ===============================================================
   Events (light) â€” image + title only
   =============================================================== */
.events {
  background: var(--cream);
  /* padding: clamp(48px, 5vw, 72px) 0 clamp(32px, 4vw, 48px); */
}

.events .wrap {
  max-width: 1340px;
}

.sec-head {
  display: flex;
  align-items: flex-end !important;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.sec-head h2 {
  margin: 6px 0 0;
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}

.tools {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.text-link .arrow {
  transition: transform 0.25s var(--ease);
}

.text-link:hover .arrow {
  transform: translateX(4px);
}

.track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  margin-top: 22px;
  padding: 2px 2px 10px;
  scrollbar-width: none;
  cursor: grab;
}

.track::-webkit-scrollbar {
  display: none;
}

.track.drag {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.ev {
  flex: 0 0 calc((57% - 60px) / 3);
  scroll-snap-align: start;
  text-align: left;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 71, 64, 0.08);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  text-decoration: none;
}

.ev.feature {
  flex-basis: 43%;
}

.ev:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 36px -24px rgba(0, 71, 64, 0.5);
}

.ev-img {
  aspect-ratio: 225/146;
  overflow: hidden;
  background: var(--g-dark);
}

.ev.feature .ev-img {
  aspect-ratio: 556/206;
}

.ev-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.ev:hover .ev-img img {
  transform: scale(1.05);
}

.ev-title {
  padding: 16px 18px 20px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

/* .ev.feature .ev-title {
  font-size: clamp(16px, 1.6vw, 18px); 
  font-size: 13.5px;
  padding: 16px 18px 22px;
} */
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

@media (max-width: 1000px) {
  .ev {
    flex-basis: 44%;
  }

  .ev.feature {
    flex-basis: 78%;
  }

  .ev.feature .ev-img {
    aspect-ratio: 16/8;
  }
}

@media (max-width: 600px) {
  .ev {
    flex-basis: 78%;
  }

  .ev.feature {
    flex-basis: 88%;
  }

  .text-link {
    margin-right: 4px;
  }
}

/* ===============================================================
   Numbers (dark card on light)
   =============================================================== */
.numbers-band {
  background: var(--cream);
  /* padding: clamp(28px, 3.5vw, 48px) 0 clamp(56px, 6vw, 84px); */
}

.numbers-band .wrap {
  max-width: 1360px;
}

.numbers {
  background: #004740;
  border-radius: 22px;
  border: 1px solid var(--glass-line);
  padding: clamp(30px, 3.6vw, 52px) clamp(26px, 3.6vw, 52px);
  box-shadow: 0 30px 50px -36px rgba(0, 71, 64, 0.7);
}

.n-title {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}

/* .numbers .dash {
  width: 44px;
} */
.n-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: clamp(22px, 2.6vw, 32px);
}

.n-grid > div {
  padding: 24px 22px 26px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  transition:
    border-color 0.3s,
    transform 0.3s var(--ease);
}

.n-ic {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: var(--g-light);
  background: rgba(139, 203, 183, 0.12);
  border: 1px solid rgba(139, 203, 183, 0.25);
}

.n-ic svg {
  width: 24px;
  height: 24px;
}

.n-grid > div:hover {
  border-color: rgba(139, 203, 183, 0.35);
  transform: translateY(-3px);
}

.n-grid b {
  display: block;
  font-size: clamp(48px, 4.6vw, 66px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.n-grid span {
  display: block;
  margin-top: 14px;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.35;
  color: #fff;
  max-width: 17ch;
}

@media (max-width: 960px) {
  .n-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .n-grid {
    grid-template-columns: 1fr 1fr;
  }

  .n-grid > div:last-child {
    grid-column: 1/-1;
  }

  .slide .txt b {
    font-size: 1.45rem;
    line-height: 1.2;
    margin: 0 0 8px;
  }

  .vm-col,
  .vm-col + .vm-col {
    padding: 20px 22px;
  }
}

/* ===============================================================
   Team (dark, single-row slider)
   =============================================================== */
/* .team {
  padding: clamp(40px, 4.5vw, 60px) 0 clamp(32px, 3.5vw, 44px);
} */
.team h2 {
  margin: 0;
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}

.team {
  padding-bottom: 60px;
}

.team-rail {
  position: relative;
  max-width: 1360px;
  margin: 26px auto;
  /* padding: 0 clamp(18px, 6.5vw, 96px); */
}

.team-rail > .circ {
  position: absolute;
  /* top: calc(50% - 40px); */
  bottom: -50px;

  z-index: 2;
}

.team-rail > .circ.prev {
  /* left: clamp(4px, 3.4vw, 54px); */
  left: calc(48% - 25px);
}

.team-rail > .circ.next {
  /* right: clamp(4px, 3.4vw, 54px); */
  right: calc(48% - 20px);
}

.t-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2px 2px 10px;
  scrollbar-width: none;
  cursor: grab;
}

.t-track::-webkit-scrollbar {
  display: none;
}

.t-track.drag {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.person {
  flex: 0 0 calc((100% - 4 * 14px) / 5);
  scroll-snap-align: start;
  border-radius: 18px;
  padding: 8px 8px 0;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s;
}

.person:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 203, 183, 0.4);
}

.photo {
  aspect-ratio: 225/220;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #007367;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* object-position: center 22%; */
  object-position: top;
  transition: transform 0.8s var(--ease);
}

.person:hover .photo img {
  transform: scale(1.05);
}

.photo.ph {
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #007367, #004740);
}

.photo.ph svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.photo.ph span {
  position: relative;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  color: var(--ivory);
}

.p-info {
  padding: 18px 6px 22px;
}

.p-info h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

/* .p-info .dash {
  width: 22px;
  margin: 12px 0;
} */
.p-info p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.team .dots {
  margin-top: 22px;
}

@media (max-width: 1200px) {
  .person {
    flex-basis: calc((100% - 3 * 14px) / 4.5);
  }

  .p-info h3 {
    margin: 0;
    font-size: 14.5px;
  }
}

@media (max-width: 1100px) {
  .person {
    flex-basis: calc((100% - 3 * 14px) / 3);
  }
}

@media (max-width: 860px) {
  .person {
    flex-basis: calc((100% - 2 * 14px) / 2);
  }
}

@media (max-width: 620px) {
  .person {
    flex-basis: calc((100% - 14px) / 1.6);
  }

  /* .team-rail > .circ {
    display: none;
  } */
  .team-rail {
    padding: 0 var(--pad);
  }
}

@media (max-width: 425px) {
  .person {
    flex-basis: calc((100% - 14px) / 1.3);
  }

  .p-info h3 {
    font-size: 13px;
    white-space: nowrap;
  }

  .p-info p {
    font-size: 11px;
  }
}

/* ===============================================================
   Closing (light, campus image)
   =============================================================== */
.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #faf3e9;
}

.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* background: url("../images/closing-background.jpg") center/cover no-repeat; */
}

.closing .wrap {
  max-width: 1340px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  /* min-height: clamp(260px, 22.5vw, 250px); */
  min-height: clamp(100px, 22.5vw, 150px);
  padding: 30px;
}

.c-brand {
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  padding-right: clamp(24px, 2.6vw, 36px);
}

.c-rule {
  align-self: stretch;
  width: 1.5px;
  background: rgba(0, 71, 64, 0.3);
  margin: clamp(30px, 3vw, 46px) 0;
}

.c-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-left: clamp(24px, 2.6vw, 36px);
  flex-wrap: wrap;
}

.c-main h2 {
  margin: 0;
  font-size: 20px !important;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 1.3px;
  color: var(--ink);
}

.c-act {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px 26px;
  border-radius: 4px;
  background: #004740;
  color: #fff !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition:
    background 0.25s,
    transform 0.25s;
}

.btn:hover {
  background: #007367;
  transform: translateY(-2px);
}

.btn .arrow {
  width: 20px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.follow p {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--ink);
}

.follow ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.follow li + li::before {
  content: "|";
  margin: 0 12px;
  color: var(--ink);
}

.follow a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.follow a:hover {
  border-color: var(--gold);
}

@media (max-width: 1060px) {
  .closing .wrap {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 44px;
    padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px));
    padding-left: 30px;
    padding-right: 30px;
  }

  .c-rule {
    display: none;
  }

  .c-brand,
  .c-main {
    padding: 0;
  }

  .c-act {
    margin-left: 0;
  }

  .closing::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(250, 243, 233, 0.72);
  }
}

/* ===============================================================
   Event page (overlay): overview, speakers, date & location, gallery
   =============================================================== */
/* .ep{position:fixed;inset:0;z-index:100;visibility:hidden;pointer-events:none}  */
.ep.open {
  visibility: visible;
  pointer-events: auto;
}

/* .ep-scrim{position:absolute;inset:0;background:rgba(7,18,14,.8);opacity:0;transition:opacity .35s}  */
.ep.open .ep-scrim {
  opacity: 1;
}

.ep-page {
  /* position:absolute; */
  inset: 0;
  /* overflow-y:auto;
    overscroll-behavior:contain; */
  background: var(--cream);
  transform: translateY(36px);
  opacity: 0;
  transition:
    transform 0.5s var(--ease),
    opacity 0.4s var(--ease);
  padding-top: clamp(36px, 4vw, 56px);
}

.ep.open .ep-page {
  transform: none;
  opacity: 1;
}

.ep-page:focus {
  outline: none;
}

.ep-top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #07120e;
  color: #fff;
  padding: calc(12px + env(safe-area-inset-top, 0px)) var(--pad) 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line-d);
}

.ep-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.ep-back:hover {
  color: inherit;
}

.ep-back svg {
  transition: transform 0.25s var(--ease);
}

.ep-back:hover svg {
  transform: translateX(-3px);
}

.ep-head {
  padding-bottom: clamp(36px, 4vw, 56px);
  /* padding-bottom: clamp(24px, 3vw, 32px); */
}

.ep-head h1 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 40px);
  /* font-size: clamp(32px, 4.8vw, 64px);*/
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  /* max-width: 26ch; */
  color: var(--ink);
}

.ep-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.ep-sec {
  margin-bottom: clamp(36px, 4vw, 52px);
}

.ep-sec h2 {
  margin: 40px 0 14px;
  /* font-size: clamp(22px, 2.2vw, 28px); */
  font-size: clamp(22px, 2.2vw, 35px) !important;
  /* font-size: calc(1.2rem + 0.4vw) !important; */
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  /* margin-bottom: 14px; */
}

.ep-sec h3 {
  margin-top: 30px;
}

.ep-text {
  /* margin-top: 16px; */
  font-size: 16.5px;
  line-height: 1.8;
  /* max-width: 68ch; */
}

.ep-text p {
  margin: 0 0 16px;
  line-height: 1.5;
  font-size: 16px;
}

.todo {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1.5px dashed rgba(0, 115, 103, 0.4);
  border-radius: 10px;
  background: rgba(139, 203, 183, 0.12);

  line-height: 1.6;
  color: var(--muted);
}

.todo {
  overflow-wrap: anywhere;
}

.ep-body > * {
  min-width: 0;
}

.todo code {
  font-size: 13px;
  background: rgba(0, 71, 64, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--g-dark);
}

.speakers {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}

.spk {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}

.spk i {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(150deg, #007367, #004740);
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 700;
  color: var(--ivory);
}

.spk i img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spk b {
  display: block;
  font-size: 15.5px;
}

.spk small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

/* gallery slider */
/* .gs {
  margin-top: 18px;
} */

.gs-stage {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #004740;
}

.gs-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s var(--ease);
}

.gs-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gs-stage .circ {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 71, 64, 0.7);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.gs-stage .circ:hover {
  background: #fff;
  color: #004740;
}

.gs-prev {
  left: 14px;
}

.gs-next {
  right: 14px;
}

.gs-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 71, 64, 0.8);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.gs-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.gs-thumbs::-webkit-scrollbar {
  display: none;
}

.gs-thumbs button {
  flex: 0 0 104px;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.55;
  border: 2px solid transparent;
  transition:
    opacity 0.25s,
    border-color 0.25s;
}

.gs-thumbs button[aria-current="true"] {
  opacity: 1;
  border-color: var(--gold);
}

.gs-thumbs button:hover {
  opacity: 1;
}

.gs-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* right panel */
.aside {
  position: sticky;
  top: 96px;
  align-self: start;
}

.info-card {
  border-radius: 22px;
  padding: 26px 24px;
  border: 1px solid var(--glass-line);
}

.info-card .row {
  padding: 16px 0;
  border-top: 1px solid var(--glass-line);
}

.info-card .row:first-of-type {
  border-top: 0;
  padding-top: 18px;
}

.info-card dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.info-card dt svg {
  width: 16px;
  height: 16px;
}

.info-card dd {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
}

.info-card dd.empty {
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  font-size: 14px;
}

@media (max-width: 980px) {
  .ep-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .aside {
    position: static;
    order: -1;
  }
}

/* all events list */
.al h1 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.al {
  padding: clamp(36px, 4vw, 56px) 0 60px;
}

.al-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.al-grid .ev {
  flex: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .load > * {
    opacity: 1;
    transform: none;
  }

  .hero-img {
    transform: none;
  }
}

h2 {
  font-size: clamp(28px, 3.4vw, 46px) !important;
}

@media screen and (max-width: 1000px) {
  .bar.show {
    top: 68px;
  }
}

@media (min-width: 1001px) and (max-width: 1300px) {
  .bar.show {
    transform: none;
    top: 68px;
  }
}

/* enquiry modal styles */
/* =========================================
   ENQUIRY MODAL
========================================= */

.enquiry-modal-dialog {
  max-width: 540px;
  margin: 1.75rem auto;
}

.enquiry-modal {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* =========================================
   HEADER
========================================= */

.enquiry-header {
  position: relative;
  background: #00564f;
  color: #ffffff;
  padding: 28px 32px 24px;
}

.enquiry-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 5px 13px;

  border-radius: 20px;

  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.enquiry-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9ed8cd;
}

.enquiry-header h1 {
  margin: 15px 0 2px;

  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;

  color: #ffffff;
}

.enquiry-header p {
  margin: 0;

  font-size: 13px;
  line-height: 1.5;

  color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   CLOSE BUTTON
========================================= */

.enquiry-close {
  position: absolute;
  top: 17px;
  right: 17px;

  width: 35px;
  height: 35px;

  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);

  background: rgba(255, 255, 255, 0.08);

  color: #ffffff;

  font-size: 27px;
  font-weight: 300;

  line-height: 28px;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.2s ease;
}

.enquiry-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* =========================================
   BODY
========================================= */

.enquiry-body {
  padding: 27px 32px 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;

  margin-bottom: 6px;

  font-size: 11px;
  line-height: 1.2;

  font-weight: 700;
  letter-spacing: 0.35px;

  color: #5b5f5e;
}

.form-group label span {
  font-weight: 500;
}

/* =========================================
   INPUTS
========================================= */

.enquiry-input {
  height: 41px !important;

  padding: 9px 14px !important;

  border: 1px solid #d8e4e1 !important;
  border-radius: 9px !important;

  background-color: #f8faf9 !important;

  color: #222 !important;

  font-size: 13px !important;

  box-shadow: none !important;
}

.enquiry-input::placeholder {
  color: #858c8a;
}

.enquiry-input:focus {
  border-color: #008b7d !important;

  background-color: #ffffff !important;

  box-shadow: 0 0 0 2px rgba(0, 139, 125, 0.08) !important;
}

/* =========================================
   SELECT
========================================= */

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "âŒ„";

  position: absolute;
  right: 13px;
  top: 50%;

  transform: translateY(-55%);

  color: #008b7d;

  font-size: 17px;
  pointer-events: none;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;

  padding-right: 35px !important;
}

/* =========================================
   TEXTAREA
========================================= */

.enquiry-textarea {
  width: 100%;

  min-height: 105px;

  resize: vertical;

  padding: 12px 14px;

  border: 1px solid #d8e4e1;
  border-radius: 9px;

  background: #f8faf9;

  font-size: 13px;

  box-shadow: none;
}

.enquiry-textarea:focus {
  border-color: #008b7d;

  background: #ffffff;

  outline: none;

  box-shadow: 0 0 0 2px rgba(0, 139, 125, 0.08);
}

/* =========================================
   CAPTCHA
========================================= */

.captcha-box {
  width: 302px;
  height: 76px;

  border: 1px solid #d5d5d5;

  background: #fafafa;

  display: flex;
  align-items: center;

  padding: 10px 12px;

  margin-top: 3px;
  margin-bottom: 9px;

  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.captcha-checkbox {
  width: 28px;
  height: 28px;

  border: 2px solid #555;

  background: #ffffff;

  margin-right: 13px;
}

.captcha-box > span {
  font-size: 14px;
  color: #333;
}

.captcha-logo {
  margin-left: auto;

  width: 48px;

  text-align: center;
}

.captcha-icon {
  color: #6056d9;

  font-size: 34px;

  height: 38px;
  line-height: 38px;
}

.captcha-logo small {
  display: block;

  font-size: 8px;

  color: #555;
}

/* =========================================
   SUBMIT BUTTON
========================================= */

.enquiry-submit {
  width: 100%;
  height: 46px;

  border: 0;
  border-radius: 9px;

  background: #008879;

  color: #ffffff;

  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  transition: all 0.2s ease;
}

.enquiry-submit:hover {
  background: #00776a;

  transform: translateY(-1px);
}

.enquiry-submit:active {
  transform: translateY(0);
}

/* =========================================
   CONTACT DETAILS
========================================= */

.enquiry-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 7px;

  margin-top: 15px;

  font-size: 12px;
  color: #5c6260;
}

.enquiry-contact a {
  color: #008879;

  text-decoration: none;

  font-weight: 500;
}

.enquiry-contact a:hover {
  text-decoration: underline;
}

.enquiry-contact i {
  width: 1px;
  height: 14px;

  background: #b9c3c0;

  margin: 0 2px;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {
  .enquiry-modal-dialog {
    margin: 10px;
  }

  .enquiry-header {
    padding: 24px 22px 21px;
  }

  .enquiry-header h1 {
    font-size: 21px;
  }

  .enquiry-body {
    padding: 23px 20px 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .captcha-box {
    width: 100%;
  }

  .enquiry-contact {
    font-size: 11px;
  }
}

/* Scroll-to-top progress indicator */
.g-scrolltop {
  position: fixed;
  right: 55px;
  bottom: 13px;
  width: var(--space-10);
  height: var(--space-10);
  place-items: center;
  padding: 5px;
  border-radius: var(--radius-circle);
  transition: 0.3s all ease-in-out;
  cursor: pointer;
  z-index: 1000;
  display: none;
}

.g-scrolltop--progress {
  transform: rotate(270deg);
  display: grid;
  place-items: center;
  height: calc(100% - 13px);
  width: calc(100% - 13px);
  border-radius: var(--radius-circle);
}

.g-scrolltop img {
  width: 100%;
  height: 100%;
}

.g-scrolltop.active {
  display: grid;
}

@media only screen and (max-width: 1023px) {
  .g-scrolltop {
    width: var(--space-10);
    height: var(--space-10);
    right: 10px;
    bottom: 58px;
  }
}

@media only screen and (max-width: 767px) {
  .g-scrolltop {
    bottom: 125px;
  }

  .breadcrumb__item {
    font-size: 14px;
  }

  .hero-img {
    background: url(../images/banner-law-mobile.webp) center 0% / cover
      no-repeat;
  }
}

/* Alternate circular progress scroll-top button */
#scroll-top-btn {
  --stb-progress: 0;
  position: fixed;
  bottom: 38px;
  right: 28px;
  z-index: 290;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: var(--radius-circle);
  border: none;
  cursor: pointer;
  background: conic-gradient(
    var(--gold) calc(var(--stb-progress) * 1%),
    var(--g) 0
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.9);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.18s ease;
}

#scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

#scroll-top-btn.is-visible:hover {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
  transform: translateY(-2px) scale(1.05);
}

#scroll-top-btn.is-visible:active {
  transform: translateY(0) scale(0.96);
}

#scroll-top-btn svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}

@media (max-width: 1024px) {
  #scroll-top-btn {
    right: 16px;
    bottom: 196px;
  }
}

@media screen and (max-width: 991px) {
  .team-rail > .circ.next {
    right: calc(48% - 40px);
  }

  .team-rail > .circ.prev {
    left: calc(48% - 40px);
  }
}

@media (min-width: 992px) and (max-width: 1399px) {
  .team-rail > .circ.next {
    right: calc(48% - 30px);
  }

  .team-rail > .circ.prev {
    left: calc(48% - 30px);
  }
}

.g-footer__brand-link {
  display: block;
  width: 164px;
}

.dots {
  display: none !important;
}

.gss-menu a:hover {
  color: #fff;
}

section {
  padding: clamp(30px, 6vw, 40px) 0;
}

h2 span {
  color: #007367;
}

h2.sec-title {
  color: #111110;
}

.g-light {
  color: var(--g-light);
}

/* breadcrumb */

.breadcrumbSec {
  position: absolute;
  top: 30px;
}

.breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: auto;
  margin-bottom: 8px;
}

.breadcrumb__item:not(:first-child)::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url("../images/greaterthan-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 3px;
  left: 5px;
  filter: brightness(0) invert(1);
}

.breadcrumb__item {
  text-decoration: none;
  padding-left: 25px;
  position: relative;
  line-height: 1.2;
  color: #fff;
  /* color: #000; */
  white-space: nowrap;
}

.breadcrumb__item a:hover,
.breadcrumb__item.active {
  color: var(--ivory);
  /* color: var(--g); */
}

a {
  text-decoration: none;
}

/*NEW SECTION VARIANT: Vision & Mission  */
.gss-vision-mission3-section {
  background: var(--bg-paper);
  color: #ffffff;
}

/* .gss-vision-mission3-scroll-area {
  position: relative;
  min-height: 130vh;
  padding: 24px 0 0;
} */

/* .gss-vision-mission3-sticky-wrap {
  position: sticky;
  top: max(96px, calc(50vh - 190px));
  z-index: 2;
} */

.gss-vision-mission3-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 376px;
  overflow: hidden;
  border: 1px solid rgba(var(--aw-rgb), 0.16);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(var(--gl-rgb), 0.18),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      var(--color-primary-mid) 0%,
      #05271f 56%,
      #07150f 100%
    );
  box-shadow: 0 26px 70px rgba(0, 36, 30, 0.24);
}

.gss-vision-mission3-vision-panel,
.gss-vision-mission3-mission-panel {
  position: relative;
  padding: 46px 48px;
}

.gss-vision-mission3-vision-panel {
  display: flex;
  flex-direction: column;
  /* justify-content: flex-start; */
  justify-content: center;
  border-right: 1px solid rgba(var(--aw-rgb), 0.16);
}

.gss-vision-mission3-mission-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 46px 48px;
}

.gss-vision-mission3-kicker {
  display: block;
  margin-bottom: var(--space-4);
  color: var(--gl);
  font-family: var(--font-body);
  font-size: var(--fs-legacy-78);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gss-vision-mission3-title,
.gss-vision-mission3-mission-title {
  max-width: 620px;
  margin: 0 0 22px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: var(--fs-h2) !important;
  font-weight: var(--fw-bold);
  letter-spacing: 0;
  line-height: 1.08;
}

.gss-vision-mission3-title {
  margin-top: 40px;
}

.gss-vision-mission3-vision-text {
  max-width: 430px;
  margin: 0;
  color: rgba(var(--aw-rgb), 0.84);
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
}

.gss-vision-mission3-mission-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  /* margin-bottom: 40px; */
}

.gss-vision-mission3-slides {
  position: relative;
  flex: 1 1 auto;
  min-height: 172px;
  overflow: hidden;
  padding-top: 6px;
}

/* Horizontal slide track */
.gss-vision-mission3-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.gss-vision-mission3-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.gss-vision-mission3-slide,
.gss-vision-mission3-slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.gss-vision-mission3-num {
  color: var(--gl);
  font-family: var(--font-display);
  font-size: clamp(4rem, 6.5vw, 6rem);
  font-weight: var(--fw-bold);
  line-height: 0.92;
  padding-top: 6px;
}

.gss-vision-mission3-mission-title {
  /* max-width: 360px; */
  margin: 4px 0 16px;
}

.gss-vision-mission3-mission-text {
  /* max-width: 420px; */
  margin: 0;
  color: rgba(var(--aw-rgb), 0.82);
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
}

.gss-vision-mission3-dots {
  position: relative;
  top: auto;
  right: auto;
  transform: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: var(--space-2);
  margin-top: 24px;
}

.gss-vision-mission3-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(var(--aw-rgb), 0.32);
  cursor: pointer;
  transition:
    width 0.25s ease,
    background 0.25s ease;
}

.gss-vision-mission3-dot.is-active {
  width: 28px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--gl);
}

.gss-vision-mission3-scroll-steps {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  pointer-events: none;
}

.gss-vision-mission3-step {
  min-height: 1px;
}

@media (max-width: 900px) {
  .gss-vision-mission3-scroll-area {
    min-height: auto;
    padding: 56px 0;
  }

  .gss-vision-mission3-sticky-wrap {
    position: relative;
    top: auto;
  }

  .gss-vision-mission3-shell {
    grid-template-columns: 1fr;
  }

  .gss-vision-mission3-vision-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(var(--aw-rgb), 0.16);
  }

  /* Dots switch from a vertical column pinned to the right edge (a fine
     "scroll progress" indicator when the section was scroll-driven) to a
     horizontal row under the slide Ã¢â‚¬â€ client feedback 2026-09-29: the
     vertical dots read as a plain progress bar and didn't signal that the
     mission card itself slides sideways. A horizontal row of dots reads as
     the carousel-position indicator it actually is. Same breakpoint the
     swipe/tap interaction switches on in shared/js/page-scripts.js. */
  .gss-vision-mission3-mission-panel {
    padding-right: 22px;
  }

  .gss-vision-mission3-dots {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    flex-direction: row;
    justify-content: center;
    margin-top: 16px;
  }

  .gss-vision-mission3-dot.is-active {
    width: 22px;
    height: 8px;
  }
}

@media (max-width: 560px) {
  /* Tightened 2026-09-28 (client feedback: "have this complete section in
     one view" on mobile) Ã¢â‚¬â€ with the fixed header (~68px) and fixed bottom
     mob-nav bar (~136px) both eating into the viewport, the pre-existing
     32px panel padding + full-size (--fs-h2, 36px) mission sub-heading +
     an unclamped mission paragraph made the shell taller (~745px) than the
     actual visible window (~648px on a 852px-tall phone). Every value below
     is reduced only at this breakpoint; the >560px layout is untouched. */
  .gss-vision-mission3-vision-panel,
  .gss-vision-mission3-mission-panel {
    padding: 20px 22px;
  }

  .gss-vision-mission3-kicker {
    margin-bottom: var(--space-2);
  }

  .gss-vision-mission3-title,
  .gss-vision-mission3-mission-title {
    font-size: 1.45rem !important;
    line-height: 1.2;
  }

  .gss-vision-mission3-title {
    margin-top: 0;
    margin-bottom: 12px;
  }

  .gss-vision-mission3-vision-text {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .gss-vision-mission3-mission-head {
    margin-bottom: 14px;
  }

  .gss-vision-mission3-slide {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
  }

  .gss-vision-mission3-num {
    font-size: 2rem;
    line-height: 1;
  }

  .gss-vision-mission3-mission-title {
    margin: 0 0 8px;
  }

  .gss-vision-mission3-mission-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .gss-vision-mission3-slides {
    min-height: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gss-vision-mission3-slide,
  .gss-vision-mission3-dot {
    transition: none;
  }
}

@media (min-width: 561px) AND (max-width: 900px) {
  .gss-vision-mission3-vision-text {
    max-width: 100%;
  }
}

.ss-section-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

/* end vision mission styles */

/* Test: render hero content immediately */
.hero-img {
  animation: none;
  transform: none;
}

.load > * {
  animation: none;
  opacity: 1;
  transform: none;
}
/* new */
.team .photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team .photo {
  aspect-ratio: 225 / 220;
  overflow: hidden;
}
.team .t-track {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
}

.team .person {
  min-width: 0;
}

.team .photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

@supports (content-visibility: auto) {
  .team {
    content-visibility: auto;
    contain-intrinsic-size: auto 550px;
  }
}
.event-image-placeholder {
  width: 100%;
  height: 100%;
  background: #004740;
}

/* TEMPORARY PERFORMANCE TEST */

#evTrack {
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
}

#evTrack .ev {
  scroll-snap-align: none !important;
}

.g-footer__list a {
  padding-bottom: 3px;
}
.g-footer__list a {
  color: #ffffff96;
}
.g-footer__tagline {
  color: #ffffff96;
}

.g-footer__copyright-text {
  color: #ffffff96;
}

@media (max-width: 1024px) {
    .mnav-tab span {
        color: #5d5454;
    }
}