/* =========================================================================
   WHTC 2027 – single stylesheet
   1. Tokens          5. Components (header, nav, hero, buttons, cards, modal, footer)
   2. Reset / base    6. Home sections
   3. Typography      7. Utilities  (Tailwind-like: flex, grid, gap-4, mt-6, md:grid-cols-3 ...)
   4. Layout          Breakpoints: md = 768px, lg = 1000px
   ========================================================================= */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --c-primary: #0db7f9;
  --c-navy: #273067;
  --c-text: #3a4f66;
  --c-heading: #192a3d;
  --c-border: #e1e8ed;
  --c-light: #f2f5f7;
  --c-lighter: #fafbfc;
  --c-white: #fff;
  --c-deep: #003c64;
  --c-dark: #000220;
  --c-muted: #69727d;
  --c-sky: #9fdde9;
  --c-mist: #c8d5dc;

  --f-body: Helvetica, Arial, sans-serif;
  --f-nav: Akshar, sans-serif;
  --f-display: Anuphan, sans-serif;
  --f-alt: Roboto, sans-serif;
  --f-footer: Poppins, sans-serif;

  --container: 1290px;
  --container-md: 1140px;
  --container-narrow: 750px;
  --gutter: 5vw;
  --header-h: 157px;
  --radius: 5px;
  --shadow: 0 0 10px rgba(0, 0, 0, .5);
  --shadow-soft: 0 10px 20px rgba(41, 51, 61, .1);
  --ease: .2s ease;
}

/* 2. Reset / base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 14px/1.65 var(--f-body);
  color: var(--c-text);
  background: var(--c-lighter);
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; }
iframe { border: 0; }
a { color: var(--c-primary); transition: color var(--ease); }
a:hover { color: var(--c-navy); }
button { font: inherit; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
::selection { color: #fff; background: var(--c-primary); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 8px 16px; background: #fff; }

/* 3. Typography ------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--c-heading); font-weight: 700; line-height: 1.5; }
h1 { font-size: 30px; }
h2 { font-size: 35px; line-height: 1.3; }
h3 { font-size: 30px; line-height: 1.35; }
h4 { font-size: 25px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }
p { margin: 0 0 1.5em; }
ul, ol { margin: 0 0 1.5em; padding-left: 35px; }
strong, b { font-weight: 700; }

/* .prose: plain HTML content (p, h2, ul, table, img ...) needs no classes */
.prose > :last-child { margin-bottom: 0; }
.prose :is(h1, h2, h3, h4, h5, h6) { margin-top: 1.2em; }
.prose > :is(h1, h2, h3, h4, h5, h6):first-child { margin-top: 0; }
.prose a { text-decoration: underline; }
.prose li + li { margin-top: .25em; }
.prose figure { margin: 0 0 1.5em; }
.prose table { margin-bottom: 1.5em; }
.prose :is(td, th) { padding: .55em .9em; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.prose tr:nth-child(odd) td { background: var(--c-light); }
.prose img { border-radius: var(--radius); }

/* 4. Layout ----------------------------------------------------------------- */
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.container-md { width: min(var(--container-md), 100% - var(--gutter) * 2); margin-inline: auto; }
.container-narrow { width: min(var(--container-narrow), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: 60px; }

/* Content + optional sidebar: <div class="layout has-sidebar"><div class="layout-main">…</div><aside class="layout-sidebar">…</aside></div> */
.layout { display: grid; gap: 50px; }
@media (min-width: 1000px) {
  .layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
  .layout.sidebar-left { grid-template-columns: 300px minmax(0, 1fr); }
  .layout.sidebar-left .layout-sidebar { order: -1; }
  .layout-sidebar .sticky { position: sticky; top: 30px; }
}
.widget { margin-bottom: 30px; }
.widget-title { margin: 0 0 .8em; font-size: 20px; }
.widget ul { list-style: none; padding: 0; }
.widget li { padding: .45em 0; border-bottom: 1px solid var(--c-border); }
.widget a { color: var(--c-text); text-decoration: none; }
.widget a:hover, .widget a[aria-current] { color: var(--c-primary); }

/* 5. Components ------------------------------------------------------------- */

/* Header */
.site-header { position: relative; z-index: 50; background: #fff; }
.site-header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); padding-inline: 23px; }
.site-logo img { display: block; width: auto; max-height: 107px; }

/* Desktop navigation (shown from 1280px, see media queries) */
.nav { display: none; height: 100%; }
.nav ul { margin: 0; padding: 0; list-style: none; }
.nav > ul { display: flex; gap: 2px; height: 100%; }
.nav li { position: relative; }
.nav > ul > li { display: flex; align-items: center; }
.nav > ul > li > a {
  display: flex; align-items: center; gap: 6px; padding: 9px 8px; border-radius: 6px;
  font: 600 14px/1.3 var(--f-nav); text-transform: capitalize; text-decoration: none; white-space: nowrap; color: var(--c-text);
  transition: color var(--ease), background var(--ease);
}
.nav > ul > li:hover > a, .nav > ul > li:focus-within > a { color: var(--c-primary); background: rgba(13, 183, 249, .08); }
.nav > ul > li.is-active > a { color: var(--c-primary); background: rgba(13, 183, 249, .12); }
.nav .chevron { width: 8px; height: 8px; fill: currentColor; opacity: .7; transition: transform var(--ease); }
.nav li:hover > a .chevron, .nav li:focus-within > a .chevron { transform: rotate(180deg); }

/* Dropdown: white panel with a small caret, centred under its item */
.nav .submenu {
  position: absolute; top: calc(50% + 26px); left: 50%; z-index: 10; min-width: 220px; width: max-content; max-width: 280px; padding: 8px;
  background: #fff; border: 1px solid var(--c-border); border-radius: 10px; box-shadow: 0 18px 40px rgba(0, 2, 32, .14);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}
.nav .submenu::before {
  content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; background: #fff;
  border-top: 1px solid var(--c-border); border-left: 1px solid var(--c-border); transform: translateX(-50%) rotate(45deg);
}
.nav li:hover > .submenu, .nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .submenu a {
  position: relative; display: block; padding: 9px 12px; border-radius: 6px;
  font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--c-text); text-decoration: none;
  transition: color var(--ease), background var(--ease), padding var(--ease);
}
.nav .submenu a:hover, .nav .submenu a:focus-visible { padding-left: 16px; color: var(--c-primary); background: var(--c-light); outline: none; }
.nav .submenu .is-active > a { font-weight: 700; color: var(--c-primary); background: rgba(13, 183, 249, .08); }
.nav .submenu .is-active > a::before { content: ""; position: absolute; top: 9px; bottom: 9px; left: 0; width: 3px; background: var(--c-primary); border-radius: 3px; }

/* Mobile menu trigger + off-canvas panel */
.menu-toggle { display: flex; padding: 10px; margin-right: -10px; color: var(--c-text); background: none; border: 0; }
.menu-toggle svg { width: 18px; height: 14px; fill: currentColor; }
.offcanvas { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.offcanvas.is-open { visibility: visible; }
.offcanvas-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .3s; }
.offcanvas-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(90vw, 500px); padding: 30px 35px; overflow-y: auto;
  background: rgba(18, 21, 25, .98); box-shadow: 0 0 70px rgba(0, 0, 0, .35); transform: translateX(100%); transition: transform .3s;
}
.offcanvas.is-open .offcanvas-backdrop { opacity: 1; }
.offcanvas.is-open .offcanvas-panel { transform: none; }
.offcanvas-close { display: flex; margin-left: auto; padding: 8px; color: #fff; background: none; border: 0; }
.offcanvas-close:focus:not(:focus-visible) { outline: none; }
.offcanvas-close:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; border-radius: 4px; }
.offcanvas-close svg { width: 12px; height: 12px; fill: currentColor; }
.mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.mobile-nav > ul { margin-top: 20px; }
.mobile-nav a { display: block; padding: 8px 12px; margin-inline: -12px; font-size: 20px; font-weight: 700; line-height: 1.4; color: #fff; text-decoration: none; border-radius: 6px; transition: color var(--ease), background var(--ease); }
.mobile-nav a:hover { background: rgba(255, 255, 255, .06); }
.mobile-nav a:hover, .mobile-nav .is-active > a, .mobile-nav .is-active > .mobile-nav-row > a { color: var(--c-primary); }
.mobile-nav-row { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav-row { gap: 8px; }
.mobile-nav-row a { flex: 1; }
.mobile-nav-row button { display: flex; padding: 10px; color: #fff; background: rgba(255, 255, 255, .06); border: 0; border-radius: 6px; }
.mobile-nav-row svg { width: 10px; height: 10px; fill: currentColor; transition: transform var(--ease); }
.mobile-nav .submenu { display: none; margin: 2px 0 8px 2px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .15); }
.mobile-nav .submenu a { font-size: 16px; font-weight: 500; }
.mobile-nav li.is-open > .submenu { display: block; }
.mobile-nav li.is-open > .mobile-nav-row svg { transform: rotate(180deg); }
body.no-scroll { overflow: hidden; }

/* Page title band */
.page-hero {
  display: flex; align-items: center; min-height: 93px; padding-block: 10px;
  background: var(--c-deep) url(../../wp-content/uploads/2026/03/footer.jpg) 37% 3% / cover no-repeat fixed;
}
.page-hero h1 { margin: 0; font-size: 30px; font-weight: 200; color: var(--c-sky); }

/* Buttons: .btn + .btn-primary | .btn-secondary | .btn-outline | .btn-light, sizes .btn-sm .btn-lg */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 10px 24px;
  font: 500 15px/1.2 var(--f-body); text-align: center; text-decoration: none !important; color: #fff;
  background: var(--c-primary); border: 1px solid transparent; border-radius: 3px; transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.btn:hover { color: #fff; background: var(--c-navy); }
.btn-secondary { background: var(--c-muted); }
.btn-secondary:hover { background: var(--c-text); }
.btn-outline { color: var(--c-primary); background: transparent; border-color: currentColor; }
.btn-outline:hover { color: #fff; background: var(--c-primary); border-color: var(--c-primary); }
.btn-light { color: var(--c-heading); background: #fff; }
.btn-light:hover { color: #fff; background: var(--c-primary); }
.btn-sm { min-height: 32px; padding: 6px 16px; font-size: 13px; }
.btn-lg { min-height: 50px; padding: 14px 32px; font-size: 17px; }

/* Cards */
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.card-soft { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: 0 12px 18px -6px rgba(34, 56, 101, .06); }
.card-body { padding: 10px; }

/* People (committee / speakers) */
.people { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-bottom: 40px; }
.people > .person { flex: 0 1 220px; min-width: min(100%, 190px); }
.people:last-child { margin-bottom: 0; }
.person {
  display: flex; flex-direction: column; padding: 8px 8px 12px; margin: 0; font: inherit; text-align: center; color: inherit;
  background: var(--c-light); border: 1px solid var(--c-border); border-radius: var(--radius); transition: transform var(--ease), box-shadow var(--ease);
}
.person-photo { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--c-border); border-radius: 3px; }
.person-name { display: block; margin-top: 12px; font-weight: 700; color: var(--c-heading); line-height: 1.4; }
.person-role { display: block; font-style: italic; font-size: 13px; }
.person-org { display: block; margin-top: 2px; font-size: 13px; color: var(--c-muted); }
.person-more { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 500; color: var(--c-primary); }
button.person { cursor: pointer; }
button.person:hover, button.person:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-soft); outline: none; }
.people-title { margin-bottom: 20px; font-size: 20px; text-align: center; }

/* Modal (native <dialog>) */
.modal { width: min(760px, 100% - 32px); max-height: calc(100% - 48px); padding: 0; color: var(--c-text); border: 0; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.modal::backdrop { background: rgba(0, 2, 32, .6); }
.modal[open] { animation: modal-in .25s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px); } }
.modal-head { display: flex; gap: 20px; align-items: center; padding: 24px 56px 20px 24px; background: var(--c-light); border-bottom: 1px solid var(--c-border); }
.modal-head img { width: 110px; height: 110px; flex: none; object-fit: cover; border-radius: 50%; }
.modal-head h3 { margin: 0; font-size: 22px; }
.modal-body { padding: 24px; }
.modal-close { position: absolute; top: 12px; right: 12px; display: flex; padding: 10px; color: var(--c-text); background: none; border: 0; border-radius: 50%; }
.modal-close:hover { background: var(--c-border); }
.modal-close svg { width: 14px; height: 14px; fill: currentColor; }
body.modal-open { overflow: hidden; }

/* Line icons + info cards (General Information: .card-soft.info-card) */
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-badge { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none; color: var(--c-primary); background: rgba(13, 183, 249, .1); border-radius: 50%; }
.icon-badge-lg { width: 72px; height: 72px; color: #fff; background: var(--c-primary); }
.icon-badge-lg .i { width: 32px; height: 32px; }
.info-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; transition: transform var(--ease), box-shadow var(--ease); }
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.info-card h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.info-card p { margin: 0; }
.info-card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-weight: 500; text-decoration: none; }
.info-card .card-link .i { width: 16px; height: 16px; transition: transform var(--ease); }
.info-card .card-link:hover .i { transform: translateX(3px); }

/* Lightbox: any link to an image (or <a data-lightbox="group">) opens it full screen */
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; color: #fff; background: rgba(0, 2, 32, .94); border: 0; }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: modal-in .25s ease; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { display: block; max-width: min(90vw, 1400px); max-height: 82vh; margin: auto; border-radius: 3px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox figcaption { min-height: 20px; margin-top: 12px; font-size: 13px; opacity: .8; }
.lightbox button { position: absolute; display: flex; padding: 12px; color: #fff; background: rgba(255, 255, 255, .1); border: 0; border-radius: 50%; transition: background var(--ease); }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox button svg:not(.i) { width: 14px; height: 14px; fill: currentColor; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { top: 50%; left: 16px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 16px; transform: translateY(-50%); }
.lightbox-count { position: absolute; top: 24px; left: 24px; font-size: 13px; opacity: .8; }
.lightbox.is-single :is(.lightbox-prev, .lightbox-next, .lightbox-count) { display: none; }
a[data-lightbox] { display: block; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; }
a[data-lightbox] img { transition: transform .4s ease; }
a[data-lightbox]:hover img { transform: scale(1.04); }

/* Footer */
.site-footer { padding-block: 50px; color: var(--c-border); background: #fff url(../../wp-content/uploads/2026/03/footer.jpg) bottom center / cover no-repeat; }
.footer-grid { display: grid; gap: 40px; justify-content: space-around; }
.footer-logos { display: flex; gap: 20px; align-items: center; margin-bottom: 29px; }
.footer-logos img { width: 78px; }
.social { display: flex; gap: 20px; }
.social a { display: flex; color: var(--c-border); }
.social a:hover { color: var(--c-mist); }
.social svg { width: 23px; height: 23px; fill: currentColor; }
.footer-map iframe { display: block; width: 100%; height: 245px; filter: saturate(0); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 20px; justify-content: flex-end; margin-top: 20px; font: 300 13px/1.5 var(--f-footer); }
.footer-bottom a { font-size: 12px; color: var(--c-border); text-decoration: none; }
.footer-bottom a:hover { color: var(--c-mist); }
.footer-bottom p { margin: 0; }

.to-top {
  position: fixed; right: 25px; bottom: 25px; z-index: 40; display: flex; padding: 12px; color: #fff; background: var(--c-text); border-radius: 2px;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; background: var(--c-navy); }
.to-top svg { width: 12px; height: 12px; fill: currentColor; }

/* Responsive embeds: <div class="embed"><iframe …></iframe></div> */
.embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; }
.embed iframe, .embed video { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 6. Home sections ---------------------------------------------------------- */
.home-hero {
  position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 670px; padding: 30px; overflow: hidden;
  background: var(--c-deep) url(../../wp-content/uploads/2026/03/footer.jpg) top center / cover;
}
.home-hero-video { position: absolute; inset: 0; pointer-events: none; }
.home-hero-video iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); transform: translate(-50%, -50%); }
.home-hero-content { position: relative; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: center; }
.welcome { padding-block: 68px; background: linear-gradient(180deg, #e7e7e7 0%, #daf4f5 100%); }
.welcome h2 { margin-bottom: 20px; font: 200 56px/1 var(--f-display); }
.intro {
  position: relative; display: flex; align-items: center; min-height: 648px; padding: 30px 30px 80px;
  background: url(../../wp-content/uploads/2026/03/hydrogen-02.jpg) center / cover;
}
.intro::before { content: ""; position: absolute; inset: 0; background: var(--c-dark); opacity: .73; }
.intro .container-md { position: relative; font: 400 29px/1.65 var(--f-alt); text-align: center; color: var(--c-border); }
.intro p { margin-bottom: 14px; }
.shape-bottom { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; fill: #fff; transform: rotate(180deg); }
.dates { position: relative; padding: 30px; background: #fff; }
.dates::before { content: ""; position: absolute; inset: 0; background: url(../../wp-content/uploads/2026/03/bg-2.jpg) center / cover; opacity: .15; }
.dates > * { position: relative; }
/* Important dates: banner + calendar tiles (includes/partials/important-dates.php) */
.event-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 40px; padding: 26px 32px; color: #fff;
  background: var(--c-deep) url(../../wp-content/uploads/2026/03/footer.jpg) center / cover; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 2, 32, .25);
}
.event-banner h2 { margin: 0; font-size: 35px; line-height: 1; color: #fff; }
.event-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font: 400 19px/1.4 var(--f-alt); }
.event-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.event-meta .i { color: var(--c-sky); }
.date-tiles { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.date-tile {
  display: flex; align-items: center; gap: 16px; padding: 18px; background: #fff; border-top: 3px solid var(--c-primary);
  border-radius: var(--radius); box-shadow: 0 6px 24px rgba(0, 2, 32, .12); transition: transform var(--ease), box-shadow var(--ease);
}
.date-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 2, 32, .18); }
.date-cal { flex: none; width: 66px; overflow: hidden; text-align: center; background: #fff; border: 1px solid var(--c-border); border-radius: 6px; }
.date-cal span { display: block; }
.date-cal .m { padding: 5px 0; font: 500 12px/1 var(--f-alt); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--c-primary); }
.date-cal .d { padding-top: 6px; font: 700 28px/1.1 var(--f-alt); color: var(--c-heading); }
.date-cal .y { padding-bottom: 6px; font-size: 11px; color: var(--c-muted); }
.date-tile h5 { margin: 0 0 4px; font-size: 16px; line-height: 1.3; }
.date-tile p { margin: 0; font: 400 15px/1.4 var(--f-alt); }
.date-tile.is-passed { border-top-color: var(--c-muted); opacity: .65; }
.date-tile.is-passed .date-cal .m { background: var(--c-muted); }
.chip { display: inline-block; margin-top: 6px; padding: 2px 9px; font-size: 11px; font-weight: 500; color: var(--c-muted); background: var(--c-light); border-radius: 99px; }

/* 7. Utilities -------------------------------------------------------------- */
.block { display: block; } .inline-block { display: inline-block; } .hidden { display: none; }
.flex { display: flex; } .inline-flex { display: inline-flex; } .grid { display: grid; }
.flex-col { flex-direction: column; } .flex-row { flex-direction: row; } .flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; } .flex-none { flex: none; } .grow { flex-grow: 1; }
.items-start { align-items: flex-start; } .items-center { align-items: center; } .items-end { align-items: flex-end; } .items-stretch { align-items: stretch; }
.justify-start { justify-content: flex-start; } .justify-center { justify-content: center; } .justify-end { justify-content: flex-end; } .justify-between { justify-content: space-between; } .justify-around { justify-content: space-around; }
.self-center { align-self: center; } .mx-auto { margin-inline: auto; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); } .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; } .col-span-full { grid-column: 1 / -1; }

.gap-0 { gap: 0; } .gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-5 { gap: 20px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; } .gap-10 { gap: 40px; } .gap-12 { gap: 48px; }

.m-0 { margin: 0; } .mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-5 { margin-bottom: 20px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; } .mb-12 { margin-bottom: 48px; }
.p-0 { padding: 0; } .p-2 { padding: 8px; } .p-4 { padding: 16px; } .p-6 { padding: 24px; } .p-8 { padding: 32px; }
.px-4 { padding-inline: 16px; } .px-6 { padding-inline: 24px; } .py-4 { padding-block: 16px; } .py-8 { padding-block: 32px; } .py-12 { padding-block: 48px; } .py-16 { padding-block: 60px; }

.w-full { width: 100%; } .h-full { height: 100%; } .max-w-sm { max-width: 320px; } .max-w-md { max-width: 480px; } .max-w-lg { max-width: 640px; }
.relative { position: relative; } .overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; } .aspect-square { aspect-ratio: 1; } .aspect-video { aspect-ratio: 16 / 9; }
.rounded { border-radius: var(--radius); } .rounded-full { border-radius: 9999px; } .shadow { box-shadow: var(--shadow); } .shadow-soft { box-shadow: var(--shadow-soft); }
.border { border: 1px solid var(--c-border); }

.text-left { text-align: left; } .text-center { text-align: center; } .text-right { text-align: right; }
.text-xs { font-size: 12px; } .text-sm { font-size: 13px; } .text-base { font-size: 14px; } .text-lg { font-size: 17px; } .text-xl { font-size: 20px; } .text-2xl { font-size: 25px; } .text-3xl { font-size: 30px; } .text-4xl { font-size: 35px; }
.font-light { font-weight: 300; } .font-normal { font-weight: 400; } .font-medium { font-weight: 500; } .font-bold { font-weight: 700; }
.italic { font-style: italic; } .uppercase { text-transform: uppercase; } .leading-tight { line-height: 1.25; } .leading-none { line-height: 1; } .no-underline { text-decoration: none; }
.font-alt { font-family: var(--f-alt); } .font-display { font-family: var(--f-display); }

.text-primary { color: var(--c-primary); } .text-navy { color: var(--c-navy); } .text-heading { color: var(--c-heading); } .text-muted { color: var(--c-muted); } .text-white { color: #fff; }
.bg-white { background: #fff; } .bg-light { background: var(--c-light); } .bg-lighter { background: var(--c-lighter); } .bg-primary { background: var(--c-primary); } .bg-deep { background: var(--c-deep); }

.compact p { margin-bottom: 10px; line-height: 1.3; }

/* Responsive variants */
@media (min-width: 768px) {
  .md\:flex { display: flex; } .md\:grid { display: grid; } .md\:hidden { display: none; } .md\:block { display: block; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:text-left { text-align: left; } .md\:items-center { align-items: center; }
}
@media (min-width: 1000px) {
  .lg\:flex { display: flex; } .lg\:grid { display: grid; } .lg\:hidden { display: none; } .lg\:block { display: block; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; } .lg\:col-span-3 { grid-column: span 3 / span 3; }

  .footer-grid { grid-template-columns: 192px minmax(0, 396px) minmax(0, 374px); }
}

/* Desktop navigation breakpoint */
@media (min-width: 1280px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}
@media (min-width: 1280px) and (max-width: 1439.98px) {
  .site-logo img { max-height: 86px; }
}

/* Small screens */
@media (max-width: 999.98px) {
  :root { --header-h: 100px; }
  .site-logo img { max-height: 70px; }
  .page-hero { background-attachment: scroll; }
  .welcome h2 { font-size: 40px; }
  .intro { min-height: 0; padding-block: 60px 90px; }
  .intro .container-md { font-size: 22px; }
}
@media (max-width: 767.98px) {
  .section { padding-block: 40px; }
  h2 { font-size: 28px; } h3 { font-size: 24px; } h4 { font-size: 21px; } h5 { font-size: 18px; }
  .page-hero h1 { font-size: 26px; }
  .home-hero { min-height: 520px; }
  .home-hero-video { display: none; }
  .welcome { padding-block: 40px; }
  .welcome h2 { font-size: 32px; }
  .intro .container-md { font-size: 19px; }
  .footer-grid, .footer-logos, .social, .footer-bottom { justify-content: center; text-align: center; }
  .modal-head { flex-direction: column; text-align: center; padding-right: 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
