/*!***************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./node_modules/sass-loader/dist/cjs/index.js!./src/scss/frontend.scss ***!
  \***************************************************************************************************************************************************/
/* ==========================================================================
   SCSS Reset / Preflight (Tailwind-independent)
   ========================================================================== */
/*
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
  2. Remove default margins and padding.
  3. Reset all borders.
*/
*,
::after,
::before,
::backdrop,
::file-selector-button {
  box-sizing: border-box; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 2 */
  border: 0 solid; /* 3 */
}

/*
  1. Use a consistent sensible line-height in all browsers.
  2. Prevent adjustments of font size after orientation changes in iOS.
  3. Use a more readable tab size.
  4. Use the default sans-serif font stack.
  5. Use default font-feature-settings.
  6. Use default font-variation-settings.
  7. Disable tap highlights on iOS.
*/
html,
:host {
  line-height: var(--line-height, 1.5); /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  tab-size: var(--tab-size, 4); /* 3 */
  font-family: var(--font-sans, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Noto Sans, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji); /* 4 */
  font-feature-settings: var(--font-feature-settings, normal); /* 5 */
  font-variation-settings: var(--font-variation-settings, normal); /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
  1. Add the correct height in Firefox.
  2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
  3. Reset the default border style to a 1px solid border.
*/
hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
  Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

/*
  Remove the default font size and weight for headings.
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
  Reset links to optimize for opt-in styling instead of opt-out.
*/
a {
  color: inherit;
  -webkit-text-decoration: inherit;
  text-decoration: inherit;
}

/*
  Add the correct font weight in Edge and Safari.
*/
b,
strong {
  font-weight: bolder;
}

/*
  1. Use the default monospace font stack.
  2. Use default monospace font-feature-settings.
  3. Use default monospace font-variation-settings.
  4. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace); /* 1 */
  font-feature-settings: var(--font-feature-settings-mono, normal); /* 2 */
  font-variation-settings: var(--font-variation-settings-mono, normal); /* 3 */
  font-size: 1em; /* 4 */
}

/*
  Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}

/*
  Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
  1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088)
  2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.webkit.org/show_bug.cgi?id=195016)
  3. Remove gaps between table borders by default.
*/
table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
  Use modern Firefox focus style for all focusable elements.
*/
:-moz-focusring:where(:not(iframe)) {
  outline: auto;
}

/*
  Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
  vertical-align: baseline;
}

/*
  Add the correct display in Chrome and Safari.
*/
summary {
  display: list-item;
}

/*
  Make lists unstyled by default.
*/
ol,
ul,
menu {
  list-style: none;
}

/*
  1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
  2. Add `vertical-align: middle` to align replaced elements more sensibly by default.
*/
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
  Constrain images and videos to parent width and preserve intrinsic aspect ratio.
*/
img,
video {
  max-width: 100%;
  height: auto;
}

/*
  1. Inherit font styles in all browsers.
  2. Remove border radius in all browsers.
  3. Remove background color in all browsers.
  4. Ensure consistent opacity for disabled states in all browsers.
*/
button,
input,
select,
optgroup,
textarea,
::file-selector-button {
  font: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  border-radius: 0; /* 2 */
  background-color: transparent; /* 3 */
  opacity: 1; /* 4 */
}

/*
  Restore default font weight for optgroup in select menus.
*/
:where(select:is([multiple], [size])) optgroup {
  font-weight: bolder;
}

/*
  Restore indentation for options in select optgroups.
*/
:where(select:is([multiple], [size])) optgroup option {
  padding-inline-start: 20px;
}

/*
  Restore space after button in file inputs.
*/
::file-selector-button {
  margin-inline-end: 4px;
}

/*
  Reset the default placeholder opacity in Firefox.
*/
::placeholder {
  opacity: 1;
}

/*
  Set placeholder color to a semi-transparent version of the current text color
  for modern browsers supporting `color-mix()`.
*/
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
  ::placeholder {
    color: color-mix(in oklab, currentcolor 50%, transparent);
  }
}
/*
  Prevent resizing textareas horizontally by default.
*/
textarea {
  resize: vertical;
}

/*
  Remove inner padding in search inputs in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
  1. Ensure date/time inputs have the same height when empty in iOS Safari.
  2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
*/
::-webkit-date-and-time-value {
  min-height: 1lh; /* 1 */
  text-align: inherit; /* 2 */
}

/*
  Prevent height change on date/time inputs in macOS Safari when set to `display: block`.
*/
::-webkit-datetime-edit {
  display: inline-flex;
}

/*
  Remove excess padding from pseudo-elements in date/time inputs.
*/
::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

::-webkit-datetime-edit,
::-webkit-datetime-edit-year-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-minute-field,
::-webkit-datetime-edit-second-field,
::-webkit-datetime-edit-millisecond-field,
::-webkit-datetime-edit-meridiem-field {
  padding-block: 0;
}

/*
  Center dropdown marker on inputs with paired `<datalist>`s in Chrome.
*/
::-webkit-calendar-picker-indicator {
  line-height: 1;
}

/*
  Remove additional `:invalid` box shadow in Firefox.
*/
:-moz-ui-invalid {
  box-shadow: none;
}

/*
  Correct the inability to style border radius on button inputs in iOS Safari.
*/
button,
input:where([type=button], [type=reset], [type=submit]),
::file-selector-button {
  appearance: button;
}

/*
  Correct the cursor style of increment and decrement spin buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
  Make elements with the HTML hidden attribute stay hidden by default.
*/
[hidden]:where(:not([hidden=until-found])) {
  display: none !important;
}

:root {
  /* Scale Variables */
  --scale-font: 0.93;
  --scale-padding: 0.9;
  /* Brand & Colors */
  --brand-primary: #003874;
  --brand-primary-light: #99caea;
  --brand-secondary: #b49759;
  --color-white: #ffffff;
  --color-gray: #595959;
  --color-gray-light: #8c8c8c;
  /* Converted px -> rem measurements */
  --border-w: 0.0625rem; /* 1px */
  --border-w-thick: 0.125rem; /* 2px */
  --blur-sm: 0.5rem; /* 8px */
  --blur-md: 0.75rem; /* 12px */
  --blur-lg: 1rem; /* 16px */
  --container-max-w: 90rem; /* 1440px */
  --container-max-w-md: 70rem;
  --container-max-w-sm: 50rem;
  --stage-max-w: 31.25rem; /* 500px */
  --dropdown-mobile-max-h: 18.75rem; /* 300px */
  /* Spacing (Scaled with --scale-padding) */
  --space-xsm: calc(var(--scale-padding) * clamp(0.25rem, 0.22rem + 0.15vw, 0.375rem));
  --space-sm: calc(var(--scale-padding) * clamp(0.5rem, 0.44rem + 0.3vw, 0.75rem));
  --space-md: calc(var(--scale-padding) * clamp(1rem, 0.92rem + 0.4vw, 1.25rem));
  --space-lg: calc(var(--scale-padding) * clamp(1.25rem, 1.12rem + 0.65vw, 1.75rem));
  /* Padding (Scaled with --scale-padding) */
  --navbar-py: calc(var(--scale-padding) * clamp(0.375rem, 0.3rem + 0.2vw, 0.5rem));
  --navbar-h: 3.5rem;
  --nav-link-py: calc(var(--scale-padding) * clamp(0.3125rem, 0.28rem + 0.1vw, 0.4375rem));
  --nav-link-px: calc(var(--scale-padding) * clamp(0.5rem, 0.45rem + 0.2vw, 0.75rem));
  --btn-padding-y: calc(var(--scale-padding) * clamp(0.5625rem, 0.48rem + 0.35vw, 0.75rem));
  --btn-padding-x: calc(var(--scale-padding) * clamp(1rem, 0.82rem + 0.75vw, 1.5rem));
  --btn-sm-padding-y: calc(var(--scale-padding) * clamp(0.45rem, 0.41rem + 0.2vw, 0.53125rem));
  --btn-sm-padding-x: calc(var(--scale-padding) * clamp(0.75rem, 0.64rem + 0.45vw, 1rem));
  /* Layout & Decorative Dimensions */
  --nav-logo-h: clamp(2rem, 1.85rem + 0.4vw, 2.25rem);
  --radius: 0.75rem;
  /* Shadows */
  --shadow-glass: 0 0.625rem 1.875rem -0.625rem rgba(0, 56, 116, 0.18);
  --shadow-subtle: 0 0.5rem 1.5rem -0.25rem rgba(0, 56, 116, 0.15);
  --shadow-nav-mobile: 0 1rem 2rem -0.5rem rgba(0, 56, 116, 0.18);
  /* Font Sizes (Scaled with --scale-font) */
  --font-h1: calc(var(--scale-font) * clamp(1.625rem, 1.15rem + 2.1vw, 2.375rem));
  --font-h2: calc(var(--scale-font) * clamp(1.3rem, 1.05rem + 1.1vw, 1.75rem));
  --font-lg: calc(var(--scale-font) * clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem));
  --font-md: calc(var(--scale-font) * clamp(1rem, 0.96rem + 0.2vw, 1.09375rem));
  --font-sm: max(0.875rem, calc(var(--scale-font) * clamp(0.875rem, 0.84rem + 0.2vw, 0.95rem)));
  --font-brand-name: calc(var(--scale-font) * clamp(0.875rem, 0.82rem + 0.25vw, 0.9375rem)); /* 14px -> 15px */
  --font-tagline: calc(var(--scale-font) * clamp(0.6875rem, 0.63rem + 0.25vw, 0.75rem)); /* 11px -> 12px */
  --font-countdown: calc(var(--scale-font) * clamp(1.7rem, 1.35rem + 1.8vw, 2.375rem));
  --font-countdown-label: calc(var(--scale-font) * clamp(0.7rem, 0.65rem + 0.15vw, 0.8rem) * .85);
  --font-countdown-box: calc(var(--scale-font) * clamp(3.75rem, 3.1rem + 2.8vw, 5.5rem));
  --font-error: calc(var(--scale-font) * clamp(3.5rem, 2.2rem + 6vw, 5.5rem));
  --font-btn: calc(var(--scale-font) * clamp(0.875rem, 0.82rem + 0.25vw, 1rem));
  --font-btn-sm: calc(var(--scale-font) * clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem));
  /* Floating Console */
  --console-bg: #0f172a;
  --console-color: var(--color-white);
  --console-muted: #94a3b8;
  --console-radius: 9999px;
  --console-shadow: 0 0.25rem 0.875rem rgba(0, 0, 0, 0.25);
  --console-z: 9999;
  --console-offset: var(--space-md);
}

html {
  font-family: "Google Sans", sans-serif;
  font-size: 1rem;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "GRAD" 0;
  word-break: break-word;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  font-size: var(--font-md);
}
@media (display-mode: standalone) {
  body {
    min-height: 100vh;
  }
}

main {
  display: flex;
  flex-direction: column;
  flex: 1;
}

h1 {
  font-size: var(--font-h1);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--space-sm);
  color: var(--brand-primary);
}

h2 {
  font-size: var(--font-h2);
  font-weight: 600;
  line-height: 1.3;
  color: var(--brand-primary);
  margin: var(--space-md) 0 var(--space-sm);
}
h2:first-child {
  margin-top: 0;
}

ul {
  list-style: disc;
  margin: 0 0 var(--space-md);
  padding-left: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.6;
}
ul li {
  margin-bottom: var(--space-xsm);
  padding-left: var(--space-xsm);
}
ul li::marker {
  color: var(--brand-secondary);
}
ul li:last-child {
  margin-bottom: 0;
}
ul ul,
ul ol {
  margin: var(--space-xsm) 0 var(--space-xsm) var(--space-sm);
}

img {
  max-width: 100%;
  height: auto;
}

.bg-img {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-fixed .bg-img {
  position: fixed;
}

.container {
  width: 100%;
  max-width: var(--container-max-w);
  margin-inline: auto;
  padding-inline: var(--space-sm);
}
.container--md, .container-md {
  padding-inline: var(--space-md);
}
.container--lg, .container-lg {
  padding-inline: var(--space-md);
  max-width: var(--container-max-w-md);
}

.page-pd {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-md);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: calc(-1 * var(--navbar-h)); /* Pulls hero under the navbar */
  padding-top: var(--navbar-h); /* Prevents content from being hidden */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-section > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-stage {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: flex-start;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-md);
}
@media (min-width: 48rem) {
  .hero-stage {
    justify-content: flex-start;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }
}
@media (min-width: 48rem) {
  .hero-stage--center {
    justify-content: center;
    align-items: center;
  }
}
@media (min-width: 48rem) {
  .hero-stage--md-width {
    max-width: var(--stage-max-w);
  }
}
@media (min-width: 48rem) {
  .hero-stage--bottom-desktop {
    justify-content: center;
    align-items: flex-end;
    padding-bottom: var(--space-lg);
  }
}

.glass-card {
  display: inline-block;
  padding: var(--space-lg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-glass);
  background: linear-gradient(135deg, oklab(from var(--color-white) l a b/0.78) 0%, oklab(from var(--color-white) l a b/0.56) 100%);
  backdrop-filter: blur(var(--blur-sm));
  -webkit-backdrop-filter: blur(var(--blur-sm));
  border: var(--border-w) solid oklab(from var(--color-white) l a b/0.45);
}
.glass-card--md, .glass-card.max-w-md {
  max-width: 36rem;
  width: 100%;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  user-select: none;
  background: linear-gradient(310deg, oklab(from var(--brand-primary-light) calc(l + 0.12) a b/0.12) 0%, oklab(from var(--brand-primary-light) calc(l + 0.08) a b/0.02) 100%);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  border-bottom: var(--border-w) solid oklab(from var(--brand-secondary) l a b/0.08);
}
.navbar ul,
.navbar ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar li {
  margin: 0;
  padding: 0;
}
.navbar li::marker {
  content: none;
}

.navbar-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--navbar-py);
  padding-top: calc(var(--navbar-py) + env(safe-area-inset-top, 0rem));
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1.2;
  height: 2.5rem;
}
.brand .logo {
  height: var(--nav-logo-h);
  width: auto;
  padding-inline: var(--space-sm);
}
.brand .name {
  color: var(--brand-primary);
  font-size: var(--font-brand-name);
  font-weight: 500;
  user-select: none;
}
.brand .tagline {
  color: var(--color-gray);
  font-size: var(--font-tagline);
  user-select: none;
}

.nav-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 50;
}
@media (min-width: 48rem) {
  .nav-toggle {
    display: none;
  }
}
.nav-toggle .nav-toggle-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.375rem;
  height: var(--border-w-thick);
  margin-left: -0.6875rem;
  margin-top: -0.0625rem;
  background-color: var(--brand-primary);
  border-radius: var(--border-w-thick);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  transform-origin: center;
}
.nav-toggle .nav-toggle-bar:nth-child(1) {
  transform: translateY(-0.375rem);
}
.nav-toggle .nav-toggle-bar:nth-child(2) {
  transform: translateY(0);
}
.nav-toggle .nav-toggle-bar:nth-child(3) {
  transform: translateY(0.375rem);
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: translateY(0) scaleX(0);
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

.nav-list {
  display: flex;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 400;
  font-size: var(--font-btn);
  color: var(--brand-primary);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding-block: var(--nav-link-py);
  padding-inline: var(--nav-link-px);
  border-radius: var(--radius);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-link:hover, .nav-link:focus-visible {
  color: var(--brand-secondary);
}
.nav-link .dropdown-chevron {
  transition: transform 0.25s ease;
}

.dropdown-link {
  display: block;
  font-size: var(--font-btn);
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

@media (min-width: 48rem) {
  .nav-menu {
    display: flex;
    align-items: center;
  }
  .nav-list {
    align-items: center;
    gap: clamp(0.25rem, 1vw, 1rem);
  }
  .nav-dropdown {
    position: relative;
  }
  .nav-dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    min-width: 12.5rem;
    padding: var(--space-xsm);
    border-radius: var(--radius);
    box-shadow: var(--shadow-glass);
    background: linear-gradient(135deg, oklab(from var(--color-white) l a b/0.88) 0%, oklab(from var(--color-white) l a b/0.68) 100%);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    border: var(--border-w) solid oklab(from var(--color-white) l a b/0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
  }
  .nav-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-dropdown.is-open .dropdown-chevron {
    transform: rotate(180deg);
  }
  .dropdown-link {
    padding: 0.5rem 0.75rem;
    color: var(--brand-primary);
    border-radius: calc(var(--radius) * 0.7);
  }
  .dropdown-link:hover, .dropdown-link:focus-visible {
    background: oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.35);
    color: var(--brand-primary);
  }
}
@media (max-width: 47.9375rem) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: var(--space-md);
    border-bottom: var(--border-w) solid oklab(from var(--color-white) l a b/0.3);
    background: linear-gradient(145deg, oklab(from var(--color-white) l a b/0.965) 0%, oklab(from var(--color-white) l a b/1) 100%);
    backdrop-filter: blur(var(--blur-lg));
    -webkit-backdrop-filter: blur(var(--blur-lg));
    box-shadow: var(--shadow-nav-mobile);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
  }
  .nav-menu.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-list {
    flex-direction: column;
    gap: var(--space-xsm);
  }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.65rem 0.5rem;
  }
  .nav-dropdown .dropdown-menu {
    padding-left: var(--space-md);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease, opacity 0.2s ease;
  }
  .nav-dropdown.is-open .dropdown-menu {
    max-height: var(--dropdown-mobile-max-h);
    visibility: visible;
    opacity: 1;
  }
  .nav-dropdown.is-open .dropdown-chevron {
    transform: rotate(180deg);
  }
  .dropdown-link {
    padding: 0.55rem 0.5rem;
    color: var(--color-gray);
  }
  .dropdown-link:hover, .dropdown-link:active {
    color: var(--brand-primary);
  }
  .nav-item--cta {
    margin-top: var(--space-sm);
  }
  .nav-item--cta .btn {
    width: 100%;
  }
}
.resize-active * {
  transition: none !important;
}

.sponsor-logos .kma {
  width: 2.8rem;
}
.sponsor-logos .soe {
  width: 3.5rem;
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.2rem, 1vw, var(--space-sm));
  margin-block: var(--space-md);
  user-select: none;
}
.countdown-timer.is-expired {
  opacity: 0.6;
  filter: grayscale(0.5);
}

.countdown-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--font-countdown-box);
}

.countdown-value-box {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: linear-gradient(145deg, oklab(from var(--brand-primary) calc(l + 0.85) a b/0.45) 0%, oklab(from var(--brand-primary) calc(l + 0.75) a b/0.22) 100%);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  border: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.5);
  box-shadow: var(--shadow-subtle), inset 0 var(--border-w) var(--border-w) 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.countdown-value-box:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.75rem 1.75rem -0.25rem rgba(0, 56, 116, 0.25), inset 0 var(--border-w) 0.125rem 0 rgba(255, 255, 255, 0.65);
}

.countdown-number {
  font-size: var(--font-countdown);
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1;
}
.countdown-number.is-updating {
  animation: digitPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.countdown-label {
  margin-top: var(--space-xsm);
  font-size: var(--font-countdown-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-block: var(--btn-padding-y);
  padding-inline: var(--btn-padding-x);
  font-family: inherit;
  font-size: var(--font-btn);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  border-radius: var(--radius);
  border: var(--border-w) solid transparent;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn--sm, .btn-sm {
  padding-block: var(--btn-sm-padding-y);
  padding-inline: var(--btn-sm-padding-x);
  font-size: var(--font-btn-sm);
  border-radius: calc(var(--radius) * 0.7);
}
.btn:focus-visible {
  outline: var(--border-w-thick) solid var(--brand-primary-light);
  outline-offset: var(--border-w-thick);
}
.btn:active {
  transform: scale(0.97);
}
.btn:disabled, .btn.disabled {
  opacity: 0.6;
  pointer-events: none;
}
.btn--primary, .btn-primary {
  background-color: var(--brand-primary);
  color: var(--color-white);
  border-color: var(--brand-primary);
  box-shadow: 0 0.25rem 0.875rem 0 oklab(from var(--brand-primary) l a b/0.3);
}
.btn--primary:hover, .btn-primary:hover {
  background-color: oklab(from var(--brand-primary) calc(l + 0.08) a b);
  border-color: oklab(from var(--brand-primary) calc(l + 0.08) a b);
  box-shadow: 0 0.375rem 1.25rem 0 oklab(from var(--brand-primary) l a b/0.45);
  transform: translateY(-0.0625rem);
}
.btn--primary:active, .btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 0.125rem 0.5rem 0 oklab(from var(--brand-primary) l a b/0.3);
}
.btn--secondary, .btn-secondary {
  background: linear-gradient(135deg, oklab(from var(--brand-secondary) calc(l + 0.04) a b) 0%, var(--brand-secondary) 100%);
  color: var(--color-white);
  border-color: var(--brand-secondary);
  box-shadow: 0 0.25rem 0.875rem 0 oklab(from var(--brand-secondary) l a b/0.3);
}
.btn--secondary:hover, .btn-secondary:hover {
  background: linear-gradient(135deg, oklab(from var(--brand-secondary) calc(l + 0.1) a b) 0%, oklab(from var(--brand-secondary) calc(l + 0.05) a b) 100%);
  border-color: oklab(from var(--brand-secondary) calc(l + 0.08) a b);
  box-shadow: 0 0.375rem 1.25rem 0 oklab(from var(--brand-secondary) l a b/0.45);
  transform: translateY(-0.0625rem);
}
.btn--secondary:active, .btn-secondary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 0.125rem 0.5rem 0 oklab(from var(--brand-secondary) l a b/0.3);
}
.btn--outline-primary, .btn-outline-primary, .btn--outline-secondary, .btn-outline-secondary {
  background: linear-gradient(135deg, oklab(from var(--color-white) l a b/0.5) 0%, oklab(from var(--color-white) l a b/0.2) 100%);
  backdrop-filter: blur(var(--blur-sm));
  -webkit-backdrop-filter: blur(var(--blur-sm));
}
.btn--outline-primary:hover, .btn-outline-primary:hover, .btn--outline-secondary:hover, .btn-outline-secondary:hover {
  background: linear-gradient(135deg, oklab(from var(--color-white) l a b/0.8) 0%, oklab(from var(--color-white) l a b/0.5) 100%);
  transform: translateY(-0.0625rem);
}
.btn--outline-primary:active, .btn-outline-primary:active, .btn--outline-secondary:active, .btn-outline-secondary:active {
  transform: translateY(0) scale(0.98);
}
.btn--outline-primary, .btn-outline-primary, .btn--outline.btn--primary, .btn-outline.btn-primary {
  color: var(--brand-primary);
  border-color: oklab(from var(--brand-primary) l a b/0.4);
  box-shadow: 0 0.25rem 0.75rem oklab(from var(--brand-primary) l a b/0.08);
}
.btn--outline-primary:hover, .btn-outline-primary:hover, .btn--outline.btn--primary:hover, .btn-outline.btn-primary:hover {
  border-color: var(--brand-primary);
}
.btn--outline-secondary, .btn-outline-secondary, .btn--outline.btn--secondary, .btn-outline.btn-secondary {
  color: var(--brand-secondary);
  border-color: oklab(from var(--brand-secondary) l a b/0.45);
  box-shadow: 0 0.25rem 0.75rem oklab(from var(--brand-secondary) l a b/0.12);
}
.btn--outline-secondary:hover, .btn-outline-secondary:hover, .btn--outline.btn--secondary:hover, .btn-outline.btn-secondary:hover {
  border-color: var(--brand-secondary);
}

.btn-back {
  position: fixed;
  bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0rem));
  right: calc(var(--space-md) + env(safe-area-inset-left, 0rem));
  z-index: 50;
  width: clamp(2.75rem, 2.5rem + 0.8vw, 3.125rem);
  height: clamp(2.75rem, 2.5rem + 0.8vw, 3.125rem);
  padding: 0;
  border-radius: 50%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, oklab(from var(--color-white) l a b/0.22) 0%, oklab(from var(--color-white) l a b/0.08) 100%);
  border: var(--border-w) solid oklab(from var(--color-white) l a b/0.4);
  color: var(--brand-primary);
  box-shadow: 0 0.25rem 1rem rgba(0, 56, 116, 0.06);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-back svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.btn-back:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, oklab(from var(--color-white) l a b/0.45) 0%, oklab(from var(--color-white) l a b/0.2) 100%);
  border-color: oklab(from var(--brand-primary) l a b/0.4);
  box-shadow: 0 0.375rem 1.25rem rgba(0, 56, 116, 0.12);
}
.btn-back:hover svg {
  transform: translateX(-0.125rem);
}
.btn-back:active {
  transform: scale(0.94);
  box-shadow: 0 0.125rem 0.5rem rgba(0, 56, 116, 0.08);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}

.site-footer {
  margin-top: calc(var(--space-lg) * 2);
  padding-top: var(--space-lg);
  padding-bottom: calc(var(--space-sm) + env(safe-area-inset-bottom, 0rem));
  font-size: var(--font-sm);
  backdrop-filter: blur(var(--blur-md));
}
.site-footer a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.site-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

.text-lg {
  font-size: var(--font-lg);
  line-height: 1.35;
}

.text-sm {
  font-size: var(--font-sm);
  line-height: 1.4;
}

.text-primary {
  color: var(--brand-primary);
}

.text-secondary {
  color: var(--brand-secondary);
}

.text-gray {
  color: var(--color-gray);
}

.error-code {
  font-size: var(--font-error);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand-secondary);
}

.m-0 {
  margin: 0;
}

.mt-xsm {
  margin-top: var(--space-xsm);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.ml-sm {
  margin-left: var(--space-sm);
}

.mr-sm {
  margin-right: var(--space-sm);
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.d-flex {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.flex-grow-1 {
  flex-grow: 1;
}

.flex-shrink-1 {
  flex-shrink: 1;
}

.text-end {
  text-align: end;
}

.text-center {
  text-align: center;
}

/* Login Section */
.login-wrapper {
  position: relative; /* Anchor for the pseudo-element */
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Full viewport height matching .hero-section */
  margin-top: calc(-1 * var(--navbar-h)); /* Pulls top to 0 behind the navbar */
  padding-top: var(--navbar-h); /* Offsets content so it's not obscured */
  padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0rem) + var(--navbar-h));
  overflow: hidden;
}
@media (display-mode: standalone) {
  .login-wrapper {
    min-height: 100vh;
  }
}
.login-wrapper {
  /* Ensure the card sits above the texture */
}
.login-wrapper > .container {
  position: relative;
  z-index: 1;
}

.login-stage {
  display: flex;
  justify-content: center;
}

.login-card {
  width: 100%;
  max-width: 25rem;
  padding: var(--space-lg);
  margin-block: var(--space-md);
}

.login-logo {
  margin-bottom: var(--space-sm);
}

.login-title {
  font-size: var(--font-h2);
  margin-bottom: var(--space-xsm);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.login-form .btn {
  margin-top: calc(var(--font-sm) + 0.35rem);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--brand-primary);
}

.form-control {
  width: 100%;
  padding-block: var(--btn-padding-y); /* Matches button's fluid scaling */
  padding-inline: 0.85rem;
  font-family: inherit;
  font-size: var(--font-btn);
  line-height: 1.2;
  color: var(--brand-primary);
  background: oklab(from var(--color-white) l a b/0.7);
  border: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.5);
  border-radius: calc(var(--radius) * 0.75);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control::placeholder {
  color: var(--color-gray-light);
}
.form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px oklab(from var(--brand-primary-light) l a b/0.35);
}
.form-control:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.alert--danger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  margin-bottom: var(--space-md);
  font-size: var(--font-sm);
  color: #991b1b;
  background: #fee2e2;
  border: var(--border-w) solid #f87171;
  border-radius: calc(var(--radius) * 0.75);
}
.alert--danger svg {
  flex-shrink: 0;
}

.w-100 {
  width: 100%;
}

/* Helper display utility */
.d-none {
  display: none !important;
}

/* Warning alert for account lockout */
.alert--warning {
  display: flex;
  align-items: center;
  padding: 0.65rem 0.85rem;
  margin-bottom: var(--space-sm);
  font-size: var(--font-sm);
  color: #854d0e;
  background: #fef9c3;
  border: var(--border-w) solid #facc15;
  border-radius: calc(var(--radius) * 0.75);
}
.alert--warning a {
  text-decoration: underline;
  font-weight: 600;
}

.font-bold {
  font-weight: 600;
}

.btn-floating-console {
  position: fixed;
  bottom: calc(var(--console-offset) + env(safe-area-inset-bottom, 0rem));
  left: calc(var(--console-offset) + env(safe-area-inset-left, 0rem));
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--console-bg);
  color: var(--console-color);
  padding: 0.25rem 0.375rem 0.25rem 0.75rem;
  border-radius: var(--console-radius);
  box-shadow: var(--console-shadow);
  z-index: var(--console-z);
}
.btn-floating-console a {
  color: inherit;
  font-size: var(--font-sm);
  text-decoration: none;
  font-weight: 500;
}
.btn-floating-console span {
  opacity: 0.4;
}
.btn-floating-console form {
  margin: 0;
  display: flex;
}

.btn-floating-signout {
  background: none;
  border: none;
  color: var(--console-muted);
  cursor: pointer;
  padding: 0.25rem 0.375rem;
  display: flex;
  align-items: center;
  border-radius: var(--console-radius);
  transition: color 0.2s ease;
}
.btn-floating-signout:hover {
  color: var(--console-color);
}

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 48rem) {
  .contact-grid {
    grid-template-columns: 1fr 1.25fr;
    align-items: start;
  }
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius);
  background: oklab(from var(--color-white) l a b/0.6);
  border: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.3);
}
.info-block .info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  flex-shrink: 0;
  padding-top: 0.15rem;
}
.info-block .info-title {
  margin: 0 0 0.2rem;
  font-size: var(--font-btn);
  color: var(--brand-primary);
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.4);
}
.map-container iframe {
  display: block;
}

.contact-form-card {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
@media (min-width: 36rem) {
  .form-row {
    grid-template-columns: 1fr 1fr; /* Strict 50/50 columns */
    gap: var(--space-md);
  }
}

textarea.form-control {
  resize: vertical;
  min-height: 8rem;
  margin-bottom: 0;
}

.contact-form-actions {
  margin-top: var(--space-lg); /* Gives plenty of breathing room below textarea */
}

/* Hide Google's sticky badge (legal notice is visible inside the form) */
.grecaptcha-badge {
  visibility: hidden !important;
}

/* Style for the terms notice under the button */
.recaptcha-notice {
  font-size: calc(var(--font-sm) * 0.85);
  line-height: 1.4;
  opacity: 0.8;
}
.recaptcha-notice a {
  color: var(--brand-primary);
  text-decoration: underline;
}

/* 2. iOS Safari <select> normalization */
select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: oklab(from var(--color-white) l a b/0.7);
  /* Embedded SVG dropdown chevron matching brand color */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23003874' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 0.9rem 0.9rem;
  padding-right: 2.5rem; /* Prevent text overlapping with the arrow */
  cursor: pointer;
  /* Fix iOS font rendering and tap styling */
  border-radius: calc(var(--radius) * 0.75);
  line-height: normal;
}
select.form-control::-ms-expand {
  display: none; /* Hide default arrow in older Edge/IE */
}

/* Success Alert Styling */
.alert--success {
  display: flex;
  align-items: center;
  padding: 0.65rem 0.85rem;
  margin-bottom: var(--space-sm);
  font-size: var(--font-sm);
  color: #14532d;
  background: #dcfce7;
  border: var(--border-w) solid #86efac;
  border-radius: calc(var(--radius) * 0.75);
}

/* ==========================================================================
   About Page Components
   ========================================================================== */
.about-page .about-subtitle {
  letter-spacing: 0.02em;
}
.about-page .section-title-wrap {
  border-left: var(--border-w-thick) solid var(--brand-secondary);
  padding-left: var(--space-sm);
}

/* Badge pill */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  font-size: var(--font-sm);
  font-weight: 600;
  border-radius: 9999px;
}
.badge--pill {
  background: oklab(from var(--brand-primary) calc(l + 0.88) a b/0.5);
  color: var(--brand-primary);
  border: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.6);
}

/* Overview card with image */
.about-overview-card {
  width: 100%;
}

.about-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
}
@media (min-width: 48rem) {
  .about-overview-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

/* Card Image Wrapper (Matches the 16:9 'card' preset ratio) */
.card-media {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: calc(var(--radius) * 0.7);
  overflow: hidden;
  background: oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.25);
  box-shadow: 0 0.25rem 0.75rem -0.125rem rgba(0, 56, 116, 0.08);
}
.card-media picture,
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-media:hover img {
  transform: scale(1.04);
}

/* Mission & Vision split cards */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 48rem) {
  .mv-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mv-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.mv-card .mv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius);
  background: oklab(from var(--brand-primary) calc(l + 0.88) a b/0.6);
  color: var(--brand-primary);
  margin-bottom: var(--space-sm);
  border: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.4);
}
.mv-card .mv-title {
  font-size: var(--font-h2);
  margin: 0 0 var(--space-xsm);
}

/* Core Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
@media (min-width: 36rem) {
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.value-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius);
  background: oklab(from var(--color-white) l a b/0.55);
  border: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.3);
  backdrop-filter: blur(var(--blur-sm));
  -webkit-backdrop-filter: blur(var(--blur-sm));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover {
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-subtle);
}
.value-card .value-indicator {
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background-color: var(--brand-secondary);
  flex-shrink: 0;
}
.value-card .value-title {
  margin: 0 0 0.35rem;
  font-size: var(--font-btn);
}

/* Pillars Grid & Cards with Images */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 48rem) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--space-sm);
  gap: var(--space-sm);
}
.pillar-card .card-media {
  margin-bottom: 0;
}
.pillar-card .pillar-card-body {
  display: flex;
  flex-direction: column;
  padding: var(--space-xsm);
}
.pillar-card .pillar-index {
  font-size: var(--font-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.pillar-card .pillar-title {
  font-size: var(--font-lg);
  margin: 0 0 var(--space-xsm);
  line-height: 1.3;
}

/* Vertical Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  max-width: var(--container-max-w-sm);
  margin-inline: auto;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 0.625rem;
  width: var(--border-w-thick);
  background: linear-gradient(180deg, var(--brand-primary) 0%, oklab(from var(--brand-primary-light) calc(l + 0.1) a b) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-md);
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-item .timeline-dot {
  position: absolute;
  left: -2rem;
  top: 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 0.25rem solid var(--brand-primary);
  box-shadow: 0 0 0 2px oklab(from var(--brand-primary-light) l a b/0.5);
}
.timeline-item .timeline-content {
  width: 100%;
  padding: var(--space-md);
}
.timeline-item .timeline-year {
  display: inline-block;
  font-weight: 700;
  font-size: var(--font-sm);
  color: var(--brand-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.timeline-item .timeline-title {
  font-size: var(--font-lg);
  margin: 0 0 var(--space-xsm);
}

/* Synergy Highlight Card */
.synergy-card {
  padding: var(--space-lg);
  border-radius: var(--radius);
  background: linear-gradient(135deg, oklab(from var(--brand-primary) calc(l + 0.88) a b/0.5) 0%, oklab(from var(--brand-secondary) calc(l + 0.85) a b/0.25) 100%);
  border: var(--border-w) solid oklab(from var(--brand-secondary) calc(l + 0.1) a b/0.35);
  box-shadow: var(--shadow-subtle);
}
.synergy-card .synergy-highlight {
  font-weight: 600;
  font-size: var(--font-md);
}

/* Call to Action Card */
.about-cta-card {
  width: 100%;
  padding-block: var(--space-lg);
}

.justify-content-center {
  justify-content: center;
}

/* frontend.scss */
/* Imperative Detail Meta */
.imperative-detail {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.4rem 0.6rem;
  background: oklab(from var(--brand-primary-light) calc(l + 0.12) a b/0.3);
  border-radius: calc(var(--radius) * 0.5);
}
.imperative-detail .detail-label {
  font-size: calc(var(--font-sm) * 0.85);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-primary);
}
.imperative-detail .detail-value {
  font-size: var(--font-sm);
  color: var(--color-gray);
  line-height: 1.35;
}

/* Strategic Objectives Table */
.table-card {
  display: block; /* Overrides .glass-card's inline-block */
  width: 100%; /* Forces full container width */
  padding: 0;
  overflow: hidden;
  max-width: var(--container-max-w-sm);
  margin-inline: auto;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.kma-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--font-sm);
  line-height: 1.5;
}
.kma-table thead {
  background: oklab(from var(--brand-primary) calc(l + 0.88) a b/0.5);
  border-bottom: var(--border-w-thick) solid oklab(from var(--brand-primary-light) l a b/0.4);
}
.kma-table thead th {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-btn-sm);
  font-weight: 700;
  color: var(--brand-primary);
}
.kma-table tbody tr {
  border-bottom: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.25);
  transition: background-color 0.2s ease;
}
.kma-table tbody tr:last-child {
  border-bottom: none;
}
.kma-table tbody tr:hover {
  background-color: oklab(from var(--brand-primary-light) calc(l + 0.15) a b/0.15);
}
.kma-table tbody tr td {
  padding: var(--space-sm) var(--space-md);
  color: var(--color-gray);
  vertical-align: top;
}
.kma-table tbody tr td strong {
  color: var(--brand-primary);
}
.kma-table tbody tr td:first-child {
  padding-right: 0;
}

.d-flex-between {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: var(--space-sm);
}

/* Award Card Layout */
.award-highlight-card .d-flex-between {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
@media (min-width: 48rem) {
  .award-highlight-card .d-flex-between {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.award-highlight-card .award-cta-wrap {
  flex-shrink: 0;
}

/* frontend.scss */
/* ==========================================================================
   Award Page Styles
   ========================================================================== */
/* Recognition Tiers Grid */
.tiers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 48rem) {
  .tiers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tier-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--space-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tier-card:hover {
  transform: translateY(-0.1875rem);
  box-shadow: var(--shadow-glass);
}
.tier-card .tier-header {
  text-align: center;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-sm);
  border-bottom: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.3);
}
.tier-card .tier-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  margin-bottom: var(--space-xsm);
}
.tier-card .tier-title {
  font-size: var(--font-h2);
  margin: 0 0 0.25rem;
}
.tier-card .tier-threshold {
  font-size: var(--font-btn-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tier-card .tier-label {
  display: block;
  font-size: calc(var(--font-sm) * 0.85);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-primary);
  margin-bottom: 0.2rem;
}
.tier-card {
  /* Tier Variants */
}
.tier-card--silver .tier-icon {
  background: oklab(from #94a3b8 l a b/0.15);
  color: #475569;
  border: var(--border-w) solid #94a3b8;
}
.tier-card--silver .tier-title,
.tier-card--silver .tier-threshold {
  color: #475569;
}
.tier-card--gold .tier-icon {
  background: oklab(from var(--brand-secondary) calc(l + 0.1) a b/0.2);
  color: var(--brand-secondary);
  border: var(--border-w) solid var(--brand-secondary);
}
.tier-card--gold .tier-title,
.tier-card--gold .tier-threshold {
  color: var(--brand-secondary);
}
.tier-card--diamond .tier-icon {
  background: oklab(from #38bdf8 l a b/0.2);
  color: #0284c7;
  border: var(--border-w) solid #38bdf8;
}
.tier-card--diamond .tier-title,
.tier-card--diamond .tier-threshold {
  color: #0284c7;
}

/* Service Grant 2-Column Grid */
.grant-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 48rem) {
  .grant-overview-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.grant-purpose-card {
  width: 100%;
}
.grant-purpose-card .grant-seed-amount {
  font-size: var(--font-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.grant-purpose-card .grant-criteria-list {
  padding-left: 1.2rem;
  font-size: var(--font-sm);
  line-height: 1.55;
}
.grant-purpose-card .grant-criteria-list li {
  margin-bottom: var(--space-xsm);
}

/* Grant Steps */
.grant-process-card {
  width: 100%;
}

.grant-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.grant-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}
.grant-step .step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: calc(var(--radius) * 0.5);
  background: oklab(from var(--brand-primary) calc(l + 0.88) a b/0.6);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: var(--font-sm);
  flex-shrink: 0;
  border: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.4);
}
.grant-step .step-title {
  font-size: var(--font-md);
  margin: 0 0 0.2rem;
}

/* Impact Flow Diagram */
.flow-card {
  width: 100%;
  padding: var(--space-lg);
}

.impact-flowchart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.impact-flowchart .flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  width: 100%;
  max-width: 24rem;
}
.impact-flowchart .flow-node--donor {
  background: oklab(from var(--brand-secondary) calc(l + 0.88) a b/0.45);
  border: var(--border-w) solid oklab(from var(--brand-secondary) l a b/0.35);
  color: var(--brand-primary);
}
.impact-flowchart .flow-node--trust {
  background: oklab(from var(--brand-primary) calc(l + 0.88) a b/0.6);
  border: var(--border-w) solid var(--brand-primary);
  color: var(--brand-primary);
}
.impact-flowchart .flow-tag {
  font-size: calc(var(--font-sm) * 0.8);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.75;
  margin-bottom: 0.15rem;
}
.impact-flowchart .flow-connector {
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}
.impact-flowchart .flow-branch-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  width: 100%;
  margin-top: var(--space-xsm);
}
@media (min-width: 48rem) {
  .impact-flowchart .flow-branch-container {
    grid-template-columns: 1fr 1fr;
  }
}
.impact-flowchart .flow-branch {
  padding: var(--space-md);
  border-radius: var(--radius);
  background: oklab(from var(--color-white) l a b/0.65);
  border: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.4);
}
.impact-flowchart .flow-branch .flow-branch-header {
  margin-bottom: var(--space-xsm);
  display: flex;
  flex-direction: column;
  color: var(--brand-primary);
}
.impact-flowchart .flow-branch .flow-branch-list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.5;
}

/* Dual Action Grid */
.action-dual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 48rem) {
  .action-dual-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.action-dual-grid .action-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.award-inquiry-box {
  padding: var(--space-md);
  border-radius: var(--radius);
  background: oklab(from var(--color-white) l a b/0.4);
  border: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.2);
}

/* frontend.scss */
/* ==========================================================================
   Events & SEN Symposium Styles
   ========================================================================== */
/* Featured Event Card */
.event-featured-card {
  width: 100%;
}

.event-featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: start;
}
@media (min-width: 48rem) {
  .event-featured-grid {
    grid-template-columns: 1.35fr 1fr;
    gap: var(--space-lg);
  }
}

.event-kicker {
  font-size: var(--font-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.event-title {
  font-size: var(--font-h1);
  line-height: 1.2;
}

.font-medium {
  font-weight: 500;
}

/* Event Meta Grid */
.event-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
@media (min-width: 32rem) {
  .event-meta-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.event-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.event-meta-item svg {
  color: var(--brand-secondary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.event-meta-item .meta-label {
  display: block;
  font-size: calc(var(--font-sm) * 0.85);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-primary);
}
.event-meta-item .meta-value {
  font-size: var(--font-sm);
  color: var(--color-gray);
  line-height: 1.3;
}

.countdown-title {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.event-hero-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.3);
}

.event-poster-media {
  height: 100%;
  min-height: 16rem;
}

/* Questions Card */
.questions-card {
  width: 100%;
}
.questions-card .questions-list {
  padding-left: 1.25rem;
  line-height: 1.6;
}
.questions-card .questions-list li {
  font-style: italic;
  color: var(--brand-primary);
  font-weight: 500;
  margin-bottom: var(--space-xsm);
}

/* Program Schedule Tables */
.schedule-header {
  padding: var(--space-md);
  border-bottom: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.3);
  background: oklab(from var(--brand-primary) calc(l + 0.88) a b/0.4);
}

.schedule-day-tag {
  font-size: var(--font-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--font-sm);
  line-height: 1.5;
}
.schedule-table thead {
  background: oklab(from var(--brand-primary) calc(l + 0.88) a b/0.3);
  border-bottom: var(--border-w-thick) solid oklab(from var(--brand-primary-light) l a b/0.4);
}
.schedule-table thead th {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-btn-sm);
  font-weight: 700;
  color: var(--brand-primary);
}
.schedule-table tbody tr {
  border-bottom: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.25);
  transition: background-color 0.2s ease;
}
.schedule-table tbody tr:last-child {
  border-bottom: none;
}
.schedule-table tbody tr:hover {
  background-color: oklab(from var(--brand-primary-light) calc(l + 0.15) a b/0.15);
}
.schedule-table tbody tr td {
  padding: var(--space-sm) var(--space-md);
  color: var(--color-gray);
  vertical-align: top;
}
.schedule-table tbody tr td strong {
  color: var(--brand-primary);
}
.schedule-table tbody tr .schedule-time {
  font-weight: 600;
  color: var(--brand-primary);
  white-space: nowrap;
}
.schedule-table .schedule-sublist {
  margin: var(--space-xsm) 0 0;
  padding-left: 1.1rem;
  line-height: 1.5;
}
.schedule-table .schedule-italic {
  font-style: italic;
}
.schedule-table .track-block {
  padding: 0.4rem 0.6rem;
  background: oklab(from var(--brand-primary-light) calc(l + 0.15) a b/0.3);
  border-radius: calc(var(--radius) * 0.5);
}

/* Attendee 3-Column Grid */
.attendee-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
@media (min-width: 36rem) {
  .attendee-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 48rem) {
  .attendee-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Pricing / Ticket Pass Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 58rem;
  margin-inline: auto;
}
@media (min-width: 40rem) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--space-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pricing-card:hover {
  transform: translateY(-0.1875rem);
  box-shadow: var(--shadow-glass);
}
.pricing-card .pricing-card-header {
  text-align: center;
  padding-bottom: var(--space-md);
  border-bottom: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.3);
}
.pricing-card .pricing-tag {
  font-size: calc(var(--font-sm) * 0.85);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pricing-card .pricing-title {
  font-size: var(--font-h2);
}
.pricing-card .pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-top: var(--space-sm);
  color: var(--brand-primary);
}
.pricing-card .pricing-amount .currency {
  font-size: var(--font-lg);
  font-weight: 600;
  margin-right: 0.2rem;
}
.pricing-card .pricing-amount .amount {
  font-size: var(--font-h1);
  font-weight: 800;
  line-height: 1;
}
.pricing-card .pricing-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: var(--space-md);
}
.pricing-card .pricing-features {
  padding-left: 1.25rem;
  line-height: 1.6;
  margin-top: 0;
  flex: 1;
}
.pricing-card .pricing-features li {
  margin-bottom: var(--space-xsm);
}
.pricing-card .pricing-features li.disabled {
  opacity: 0.5;
  text-decoration: line-through;
}
.pricing-card--featured {
  border-color: var(--brand-secondary);
  background: linear-gradient(145deg, oklab(from var(--color-white) l a b/0.75) 0%, oklab(from var(--brand-secondary) calc(l + 0.88) a b/0.4) 100%);
  box-shadow: var(--shadow-glass);
}

.pricing-notice {
  max-width: 48rem;
  margin-inline: auto;
}

/* frontend.scss */
/* ==========================================================================
   Event Registration & Checkout Styles
   ========================================================================== */
.registration-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: start;
}
@media (min-width: 48rem) {
  .registration-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-lg);
  }
}

/* Radio Cards for Pass Selection */
.pass-select-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.pass-radio-card {
  display: flex;
  align-items: flex-start;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  background: oklab(from var(--color-white) l a b/0.6);
  border: var(--border-w-thick) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}
.pass-radio-card input[type=radio] {
  margin-top: 0.25rem;
  margin-right: var(--space-sm);
  accent-color: var(--brand-primary);
  cursor: pointer;
}
.pass-radio-card:hover {
  background: oklab(from var(--color-white) l a b/0.85);
  border-color: var(--brand-primary-light);
}
.pass-radio-card:has(input[type=radio]:checked) {
  border-color: var(--brand-primary);
  background: oklab(from var(--brand-primary-light) calc(l + 0.18) a b/0.35);
  box-shadow: 0 0.25rem 0.75rem -0.125rem rgba(0, 56, 116, 0.12);
}

.pass-radio-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.pass-radio-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.15rem;
}
.pass-radio-header .pass-name {
  font-size: var(--font-btn);
}
.pass-radio-header .pass-price {
  font-size: var(--font-btn);
  font-weight: 700;
}

/* Summary Sidebar */
.summary-card {
  width: 100%;
}
.summary-card .summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.35rem;
}
.summary-card .summary-divider {
  border: 0;
  border-top: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.4);
  margin-block: var(--space-sm);
}
.summary-card .summary-total {
  font-size: var(--font-lg);
}
.summary-card .summary-security-note {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: var(--space-sm);
  background: oklab(from var(--color-white) l a b/0.4);
  border-radius: calc(var(--radius) * 0.5);
}
.summary-card .summary-security-note svg {
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Success Card */
.success-card {
  display: block; /* Overrides inline-block so margin-inline: auto works */
  width: 100%;
  max-width: 38rem;
  margin-inline: auto; /* Centers the card horizontally on the page */
  padding: var(--space-lg);
  text-align: center; /* Centers all contents inside */
}
.success-card .success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  border: var(--border-w-thick) solid #86efac;
  margin-inline: auto;
}
.success-card .booking-ref-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius);
  background: oklab(from var(--brand-primary) calc(l + 0.88) a b/0.5);
  border: var(--border-w-thick) dashed var(--brand-primary);
  margin-inline: auto;
}
.success-card .booking-ref-box .ref-code {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* frontend.scss */
/* ==========================================================================
   Donation Page Styles
   ========================================================================== */
.donation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: start;
}
@media (min-width: 48rem) {
  .donation-grid {
    grid-template-columns: 1.45fr 1fr;
    gap: var(--space-lg);
  }
}

/* Amount Preset Buttons */
.amount-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xsm);
}
@media (max-width: 30rem) {
  .amount-presets {
    grid-template-columns: repeat(2, 1fr);
  }
}

.btn-preset {
  padding: 0.6rem 0.4rem;
  font-family: inherit;
  font-size: var(--font-btn-sm);
  font-weight: 700;
  color: var(--brand-primary);
  background: oklab(from var(--color-white) l a b/0.7);
  border: var(--border-w-thick) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.4);
  border-radius: calc(var(--radius) * 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-preset:hover {
  background: oklab(from var(--brand-primary-light) calc(l + 0.15) a b/0.35);
  border-color: var(--brand-primary-light);
}
.btn-preset.active {
  color: var(--color-white);
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  box-shadow: 0 0.25rem 0.75rem -0.125rem rgba(0, 56, 116, 0.25);
}

/* Tax Exemption Toggle Box */
.tax-exempt-toggle-box {
  padding: var(--space-sm);
  background: oklab(from var(--brand-primary-light) calc(l + 0.15) a b/0.25);
  border: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.5);
  border-radius: var(--radius);
}
.tax-exempt-toggle-box .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}
.tax-exempt-toggle-box input[type=checkbox] {
  margin-top: 0.25rem;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--brand-primary);
  cursor: pointer;
}

.tax-fields-subbox {
  padding-top: var(--space-sm);
  border-top: var(--border-w) dashed oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.5);
}

/* Impact Sidebar */
.impact-tiers {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.impact-item {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.75rem;
  background: oklab(from var(--color-white) l a b/0.5);
  border-radius: calc(var(--radius) * 0.5);
}
.impact-item strong {
  font-size: var(--font-btn-sm);
}

.tax-info-callout {
  padding: var(--space-sm);
  background: oklab(from var(--brand-primary) calc(l + 0.88) a b/0.4);
  border-radius: calc(var(--radius) * 0.5);
  border: var(--border-w) solid oklab(from var(--brand-primary-light) l a b/0.3);
}

.d-block {
  display: block;
}

/* frontend.scss */
/* ==========================================================================
   KDSF Centres Page Styles
   ========================================================================== */
.kdsf-portal-link-wrap {
  display: flex;
  justify-content: center;
}
.kdsf-portal-link-wrap .btn {
  gap: 0.4rem;
}

/* Programmes 2x2 Grid */
.programmes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 36rem) {
  .programmes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.prog-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--space-md);
}
.prog-card .prog-age {
  font-size: var(--font-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}
.prog-card .prog-title {
  font-size: var(--font-lg);
  margin: 0 0 var(--space-xsm);
}
.prog-card .prog-highlight {
  margin-top: auto;
  padding: 0.5rem 0.65rem;
  background: oklab(from var(--brand-primary-light) calc(l + 0.15) a b/0.25);
  border-radius: calc(var(--radius) * 0.5);
}

/* 4 Centres 2x2 Grid */
.centres-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 48rem) {
  .centres-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.centre-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--space-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.centre-card .card-media {
  margin-bottom: 0; /* Aligns neatly above the header */
}
.centre-card:hover {
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-glass);
}
.centre-card .centre-card-header {
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-sm);
  border-bottom: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.3);
}
.centre-card .centre-est {
  font-size: var(--font-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.centre-card .centre-name {
  font-size: var(--font-lg);
  margin: 0.25rem 0 0;
}
.centre-card .centre-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.centre-card .centre-meta-line {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--font-sm);
  color: var(--color-gray);
  line-height: 1.45;
}
.centre-card .centre-meta-line svg {
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.centre-card .centre-meta-line a {
  color: var(--brand-primary);
  text-decoration: underline;
  font-weight: 500;
}
.centre-card .centre-meta-line a:hover {
  color: var(--brand-secondary);
}

.action-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  /* Automatically pushes the button to the bottom of the card */
}
.action-card .btn {
  margin-top: auto;
}

/* frontend.scss */
/* ==========================================================================
   News & Media Page Styles
   ========================================================================== */
/* Featured Lead Story */
.news-featured-card {
  width: 100%;
}

.news-featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
}
@media (min-width: 48rem) {
  .news-featured-grid {
    grid-template-columns: 1.35fr 1fr;
    gap: var(--space-lg);
  }
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.news-meta .news-date {
  font-size: var(--font-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-title {
  font-size: var(--font-h2);
  line-height: 1.3;
}

/* 2-Column News Grid */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 48rem) {
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.news-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--space-md);
  gap: var(--space-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card .card-media {
  margin-bottom: 0;
}
.news-card:hover {
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-glass);
}

.news-card-body {
  display: flex;
  flex-direction: column;
}

.news-card-title {
  font-size: var(--font-lg);
  margin: 0.15rem 0 0.5rem;
  line-height: 1.35;
}

/* Press Contact Details */
.press-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 36rem) {
  .press-contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.press-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: var(--space-sm);
  background: oklab(from var(--color-white) l a b/0.65);
  border-radius: var(--radius);
  border: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.3);
}

/* frontend.scss */
/* ==========================================================================
   Home Page Components
   ========================================================================== */
/* Impact Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 32rem) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 48rem) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-md);
  width: 100%;
}
.stat-card .stat-number {
  font-size: clamp(2rem, 1.8rem + 1vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--space-xsm);
  letter-spacing: -0.02em;
}
.stat-card .stat-label {
  font-size: var(--font-sm);
  line-height: 1.4;
}

/* Home Bottom CTA Banner */
.home-cta-banner {
  width: 100%;
  padding: var(--space-lg);
  background: linear-gradient(135deg, oklab(from var(--color-white) l a b/0.85) 0%, oklab(from var(--brand-primary-light) calc(l + 0.18) a b/0.4) 100%);
  border: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.5);
}

.home-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
}
@media (min-width: 48rem) {
  .home-cta-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}
@media (min-width: 48rem) {
  .home-cta-actions {
    justify-content: flex-end;
  }
}

.pt-0 {
  padding-top: 0 !important;
}

/* ==========================================================================
   Multi-Column Footer
   ========================================================================== */
.site-footer {
  background: oklab(from var(--brand-primary) calc(l + 0.88) a b/0.35);
  border-top: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.4);
  padding-top: var(--space-lg);
  padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0rem));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.3);
}
@media (min-width: 36rem) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 48rem) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-brand {
  height: auto;
  margin-bottom: var(--space-xsm);
}
.footer-brand .logo {
  padding-inline: 0;
  margin-right: var(--space-sm);
}

.footer-tax-badge {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  background: oklab(from var(--brand-secondary) calc(l + 0.88) a b/0.5);
  border: var(--border-w) solid oklab(from var(--brand-secondary) l a b/0.4);
  border-radius: calc(var(--radius) * 0.5);
  color: var(--brand-primary);
}

.footer-heading {
  font-size: var(--font-btn);
  font-weight: 700;
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links li {
  margin: 0;
  padding: 0;
}
.footer-links li::marker {
  content: none;
}
.footer-links a {
  color: var(--color-gray);
  text-decoration: none;
  font-size: var(--font-sm);
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

/* Footer Bottom Bar */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  text-align: center;
}
@media (min-width: 48rem) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-legal-links .divider {
  color: var(--color-gray-light);
  opacity: 0.6;
}
.footer-legal-links a {
  color: var(--color-gray);
  text-decoration: none;
}
.footer-legal-links a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}
.footer-legal-links .text-muted {
  opacity: 0.5;
}
.footer-legal-links .text-muted:hover {
  opacity: 1;
}

/* Floating Admin Pill */
.btn-floating-console {
  position: fixed;
  bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0rem));
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #0f172a;
  padding: 0.35rem 0.5rem 0.35rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.25);
  z-index: 9999;
  color: #fff;
  font-size: var(--font-sm);
}
.btn-floating-console a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.btn-floating-console span {
  opacity: 0.3;
}
.btn-floating-console .btn-floating-signout {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  display: flex;
  align-items: center;
  border-radius: 9999px;
  transition: color 0.2s ease;
}
.btn-floating-console .btn-floating-signout:hover {
  color: #f87171;
}

/* frontend.scss */
/* ==========================================================================
   Tan Sri Khir Johari Biography Styles
   ========================================================================== */
.bio-page .portfolio-title {
  font-size: var(--font-md);
  line-height: 1.3;
}
.bio-page .portfolio-desc {
  line-height: 1.45;
}
.bio-page .bio-highlight-card {
  padding: var(--space-md);
  width: 100%;
}
.bio-page .bio-highlight-card h3 {
  font-size: var(--font-lg);
  margin-top: 0;
}
.bio-page .bio-list {
  padding-left: 1.25rem;
  line-height: 1.6;
}
.bio-page .bio-list li {
  margin-bottom: var(--space-xsm);
}
.bio-page .bio-list li:last-child {
  margin-bottom: 0;
}

/* frontend.scss */
/* ==========================================================================
   Admin Console Layout & Components
   ========================================================================== */
.console-body {
  background-color: #f1f5f9;
  min-height: 100vh;
}

.console-navbar {
  background: #ffffff;
  border-bottom: var(--border-w) solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.console-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.65rem;
}

.console-nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.console-nav-links .console-link {
  text-decoration: none;
  color: var(--color-gray);
  font-weight: 500;
  font-size: var(--font-btn-sm);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}
.console-nav-links .console-link:hover, .console-nav-links .console-link.active {
  color: var(--brand-primary);
  background: oklab(from var(--brand-primary-light) calc(l + 0.15) a b/0.35);
}

.console-user-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.console-main {
  padding-block: var(--space-lg);
  flex: 1;
}

.console-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.console-footer {
  padding-block: var(--space-md);
  background: #ffffff;
  border-top: var(--border-w) solid #e2e8f0;
}

/* KPI Cards Grid */
/* frontend.scss */
/* ==========================================================================
   Responsive Console KPI Grid (Mobile & Tablet)
   ========================================================================== */
.console-kpi-grid {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 1fr; /* Single column on small phones */
}
@media (min-width: 30rem) {
  .console-kpi-grid { /* 480px+: 2x2 Grid on Mobile/Phablet */
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
}
@media (min-width: 58rem) {
  .console-kpi-grid { /* 928px+: 4 Columns on Tablet & Desktop */
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
  }
}

.kpi-card {
  padding: 0.85rem 1rem; /* Compact padding for small screens */
  width: 100%;
}
.kpi-card .kpi-label {
  font-size: calc(var(--font-sm) * 0.9);
  font-weight: 600;
}
.kpi-card .kpi-value {
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.85rem);
  margin-block: 0.2rem;
  word-break: break-word;
}
.kpi-card .kpi-sub {
  font-size: calc(var(--font-sm) * 0.9);
  line-height: 1.35;
}

/* ==========================================================================
   Mobile-Friendly Stacked Transactions Table (< 640px)
   ========================================================================== */
@media (max-width: 40rem) {
  .tx-compact-table {
    display: block;
    width: 100%;
  }
  .tx-compact-table thead {
    display: none; /* Hide desktop header row */
  }
  .tx-compact-table tbody,
  .tx-compact-table tr,
  .tx-compact-table td {
    display: block;
    width: 100%;
  }
  .tx-compact-table tr {
    padding: var(--space-sm);
    border-bottom: var(--border-w) solid #e2e8f0;
    background: #ffffff;
  }
  .tx-compact-table td {
    padding: 0 !important;
    border: none !important;
  }
  .tx-compact-table {
    /* Transform right column to bottom flex row on mobile */
  }
  .tx-compact-table td.text-end {
    text-align: left !important;
    margin-top: var(--space-xsm);
    padding-top: var(--space-xsm) !important;
    border-top: 1px dashed #e2e8f0 !important;
  }
  .tx-compact-table td.text-end .tx-item-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
  }
  .tx-compact-table td.text-end .tx-item-right .tx-amount {
    order: 1;
  }
  .tx-compact-table td.text-end .tx-item-right div:nth-child(2) { /* Status pill */
    order: 2;
  }
  .tx-compact-table td.text-end .tx-item-right div:nth-child(3) { /* Date */
    order: 3;
    width: 100%;
    font-size: 12px;
    color: var(--color-gray);
  }
}
.tax-exempt-tag {
  display: inline-block;
  padding: 0.1rem 0.35rem;
  font-size: 11px;
  font-weight: 700;
  background: #fef3c7;
  color: #92400e;
  border-radius: 3px;
  border: 1px solid #fde68a;
}

/* Status Badges */
.status-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 12px;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.status-pill--paid {
  background: #dcfce7;
  color: #166534;
}
.status-pill--pending {
  background: #fef9c3;
  color: #854d0e;
}
.status-pill--refunded {
  background: #e0e7ff;
  color: #3730a3;
}
.status-pill--failed {
  background: #fee2e2;
  color: #991b1b;
}

.tx-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}
.tx-badge--donation {
  background: #e0f2fe;
  color: #0369a1;
}
.tx-badge--symposium {
  background: #f3e8ff;
  color: #7e22ce;
}

.btn-delete-icon {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.btn-delete-icon:hover {
  background: #fee2e2;
}

/* Console Modals */
.console-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.console-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}

.console-modal-card {
  position: relative;
  z-index: 101;
  width: 100%;
  max-width: 32rem;
  background: #ffffff;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.btn-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-gray);
}
.btn-close:hover {
  color: var(--brand-primary);
}

/* frontend.scss */
/* Chart Header & Timeframe Buttons */
.chart-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.chart-timeframe-btns {
  display: inline-flex;
  background: #f1f5f9;
  padding: 0.25rem;
  border-radius: var(--radius);
  border: var(--border-w) solid #e2e8f0;
}
.chart-timeframe-btns .tf-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: var(--font-btn-sm);
  font-weight: 600;
  color: var(--color-gray);
  padding: 0.35rem 0.75rem;
  border-radius: calc(var(--radius) * 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
}
.chart-timeframe-btns .tf-btn:hover {
  color: var(--brand-primary);
}
.chart-timeframe-btns .tf-btn.active {
  background: #ffffff;
  color: var(--brand-primary);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08);
}

/* 2-Column Compact Recent Transactions */
.tx-compact-table tr td {
  padding: 0.75rem var(--space-md);
}
.tx-compact-table .tx-headline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tx-compact-table .tx-amount {
  font-size: var(--font-md);
}

.font-mono {
  font-family: monospace;
}

/* Transactions Filter Bar & Pagination */
.tx-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}
.tx-filter-bar .filter-item {
  min-width: 10rem;
}
.tx-filter-bar .filter-actions {
  display: flex;
  gap: 0.35rem;
}

.pagination-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  padding-block: var(--space-sm);
}

.pagination-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.pagination-links .page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0.25rem;
  border-radius: var(--radius);
  font-size: var(--font-btn-sm);
  text-decoration: none;
  color: var(--color-gray);
  border: var(--border-w) solid #e2e8f0;
  background: #ffffff;
  transition: all 0.2s ease;
}
.pagination-links .page-num:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.pagination-links .page-num.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
  font-weight: 700;
}

.text-xs {
  font-size: 11px;
}

input[type=password] {
  /* Verdana forces clean, uniform circular dots on iOS/macOS Safari */
  font-family: Verdana, sans-serif;
  /* Adds breathing room between the dots */
  letter-spacing: 0.15em;
}

@keyframes digitPop {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
html[data-no-vt]::view-transition-group(*), html[data-no-vt]::view-transition-old(*), html[data-no-vt]::view-transition-new(*),
html[data-vt=false]::view-transition-group(*),
html[data-vt=false]::view-transition-old(*),
html[data-vt=false]::view-transition-new(*),
html.no-vt::view-transition-group(*),
html.no-vt::view-transition-old(*),
html.no-vt::view-transition-new(*),
body[data-no-vt]::view-transition-group(*),
body[data-no-vt]::view-transition-old(*),
body[data-no-vt]::view-transition-new(*),
body.no-vt::view-transition-group(*),
body.no-vt::view-transition-old(*),
body.no-vt::view-transition-new(*) {
  animation: none !important;
}

@view-transition {
  navigation: auto;
}
.site-header {
  view-transition-name: site-header;
}

.site-footer {
  view-transition-name: site-footer;
}

html[data-dir=forward]::view-transition-old(root),
html:active-view-transition-type(forward)::view-transition-old(root) {
  animation: 0.4s cubic-bezier(0.25, 1, 0.5, 1) both slideOutLeft;
}
html[data-dir=forward]::view-transition-new(root),
html:active-view-transition-type(forward)::view-transition-new(root) {
  animation: 0.4s cubic-bezier(0.25, 1, 0.5, 1) both slideInFromRight;
}

html[data-dir=back]::view-transition-old(root),
html:active-view-transition-type(back)::view-transition-old(root) {
  animation: 0.4s cubic-bezier(0.25, 1, 0.5, 1) both slideOutRight;
}
html[data-dir=back]::view-transition-new(root),
html:active-view-transition-type(back)::view-transition-new(root) {
  animation: 0.4s cubic-bezier(0.25, 1, 0.5, 1) both slideInFromLeft;
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes slideOutRight {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}
@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}
/* frontend.scss */
/* ==========================================================================
   1. Complete View-Transition Disable for /console
   ========================================================================== */
.no-vt,
[data-no-vt],
.console-body,
.console-body * {
  view-transition-name: none !important;
  animation: none !important;
  transition-duration: 0s !important;
}

/* ==========================================================================
   2. Responsive Console Navbar (No squeezing / no hiding)
   ========================================================================== */
.console-navbar {
  background: #ffffff;
  border-bottom: var(--border-w) solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.console-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-block: 0.65rem;
}

.console-brand {
  flex-shrink: 0;
}

.console-nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.console-nav-links::-webkit-scrollbar {
  display: none;
}

.console-user-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* On tablets and mobile, arrange navbar into 2 tidy rows instead of squishing */
@media (max-width: 58rem) {
  .console-brand .tagline {
    display: none; /* Save space on mobile/tablet */
  }
  .console-nav-links {
    order: 3;
    width: 100%;
    padding-top: 0.4rem;
    border-top: 1px solid #f1f5f9;
    justify-content: flex-start;
  }
  .console-user-actions {
    order: 2;
  }
}
/* ==========================================================================
   3. Inline KPI Cards (Tablet & Mobile Optimized)
   ========================================================================== */
.console-kpi-grid {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 1fr;
}
@media (min-width: 32rem) {
  .console-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 62rem) {
  .console-kpi-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.kpi-card {
  padding: 0.85rem 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
}
.kpi-card .kpi-inline-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: nowrap;
}
.kpi-card .kpi-label {
  font-size: var(--font-sm);
  font-weight: 600;
  white-space: nowrap;
}
.kpi-card .kpi-value {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.kpi-card .kpi-sub {
  font-size: 12px;
  line-height: 1.3;
}

/* ==========================================================================
   4. Responsive Chart Container
   ========================================================================== */
.chart-card-wrapper {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden;
}

.chart-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 320px;
}
.chart-container canvas {
  width: 100% !important;
  max-width: 100% !important;
}

/* ==========================================================================
   5. Fluid 2-Column Transactions (Resizes smoothly from 320px to 4K)
   ========================================================================== */
.tx-compact-table {
  width: 100%;
  table-layout: fixed; /* Enforces strict percentages so it shrinks on resize */
  min-width: 0;
  border-collapse: collapse;
}
.tx-compact-table td, .tx-compact-table th {
  overflow-wrap: break-word;
  word-break: break-word;
}
.tx-compact-table tr td {
  padding: 0.75rem var(--space-md);
}

/* Below 768px (Tablet & Mobile): Morphs into responsive stacked card row */
@media (max-width: 48rem) {
  .tx-compact-table {
    display: block;
    width: 100%;
  }
  .tx-compact-table thead {
    display: none; /* Hide header */
  }
  .tx-compact-table tbody,
  .tx-compact-table tr,
  .tx-compact-table td {
    display: block;
    width: 100%;
  }
  .tx-compact-table tr {
    padding: var(--space-sm);
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
  }
  .tx-compact-table td {
    padding: 0 !important;
    border: none !important;
  }
  .tx-compact-table td.text-end {
    text-align: left !important;
    margin-top: 0.4rem;
    padding-top: 0.4rem !important;
    border-top: 1px dashed #e2e8f0 !important;
  }
  .tx-compact-table td.text-end .tx-item-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
  }
  .tx-compact-table td.text-end .tx-item-right .tx-amount {
    order: 1;
  }
  .tx-compact-table td.text-end .tx-item-right div:nth-child(2) {
    order: 2;
  }
  .tx-compact-table td.text-end .tx-item-right div:nth-child(3) {
    order: 3;
    width: 100%;
    font-size: 12px;
    color: var(--color-gray);
  }
}
/* frontend.scss */
/* Day 2 Breakout Session Selection */
.day2-tracks-box {
  padding: var(--space-md);
  background: oklab(from var(--brand-primary-light) calc(l + 0.16) a b/0.3);
  border: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.5);
  border-radius: var(--radius);
}
.day2-tracks-box .tracks-header {
  border-bottom: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.4);
  padding-bottom: var(--space-xsm);
}

.track-options-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.track-radio-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  background: oklab(from var(--color-white) l a b/0.85);
  border: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.4);
  border-radius: calc(var(--radius) * 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}
.track-radio-item input[type=radio] {
  margin-top: 0.2rem;
  accent-color: var(--brand-primary);
  flex-shrink: 0;
  cursor: pointer;
}
.track-radio-item .track-text {
  font-size: var(--font-sm);
  line-height: 1.4;
  color: var(--brand-primary);
  font-weight: 500;
}
.track-radio-item:hover {
  background: #ffffff;
  border-color: var(--brand-primary-light);
}
.track-radio-item:has(input[type=radio]:checked) {
  background: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 0.125rem 0.5rem -0.0625rem rgba(0, 56, 116, 0.15);
}
.track-radio-item:has(input[type=radio]:checked) .track-text {
  font-weight: 700;
}

/* frontend.scss */
/* ==========================================================================
   Full-Screen Payment Processing Overlay & Spinner
   ========================================================================== */
.payment-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.payment-loading-card {
  width: 100%;
  max-width: 27rem;
  padding: var(--space-lg);
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.3);
  border: var(--border-w) solid oklab(from var(--brand-primary-light) calc(l + 0.1) a b/0.5);
}

.payment-spinner-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.payment-spinner {
  width: 3.75rem;
  height: 3.75rem;
  border: 4px solid oklab(from var(--brand-primary-light) calc(l + 0.15) a b/0.35);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: paymentSpin 0.75s linear infinite;
}

@keyframes paymentSpin {
  to {
    transform: rotate(360deg);
  }
}
.payment-loading-warning {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  border-radius: calc(var(--radius) * 0.6);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  line-height: 1.4;
}
.payment-loading-warning svg {
  flex-shrink: 0;
  color: #d97706;
}

/* frontend.scss */
/* Clickable Transaction Reference Link */
.tx-ref-link {
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}
.tx-ref-link:hover {
  color: var(--brand-secondary) !important;
}

/* Modal Details Grid & Strip */
.tx-details-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: #f8fafc;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
}

.tx-section-box {
  padding: var(--space-sm);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: var(--space-sm);
}

.detail-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 2px;
}

.detail-val {
  font-size: var(--font-sm);
  color: #1e293b;
  word-break: break-word;
}

/* Live Razorpay Results Container */
.rzp-live-box {
  margin-top: var(--space-xsm);
  padding: var(--space-sm);
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: calc(var(--radius) * 0.6);
}

/*# sourceMappingURL=frontend.fcd86583.css.map*/