/* ============================================================
   BrandAxis 2026 — v13 "Premium Minimal" revamp
   Design system: Exaggerated Minimalism (ui-ux-pro-max)
   Type: Playfair Display (display) + Inter (body)
   Palette: warm off-white / ink navy / restrained teal
   ============================================================ */

:root {
  --bg: #FAF9F6;
  --bg-alt: #F3F1EB;
  --bg-cream: #EFECE4;
  --ink: #131F33;
  --ink-soft: #45506B;
  --ink-mute: #8A93A6;
  --teal: #2BAE9E;
  --teal-deep: #14776C;   /* CTA — white text 4.6:1 */
  --hairline: rgba(19,31,51,0.14);
  --white: #FFFFFF;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 3px; }

/* ---------- Shared ---------- */
.section { padding: clamp(96px, 12vw, 160px) 0; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-alt { background: var(--bg-alt); }
.section-cream { background: var(--bg-cream); }
.section-ink { background: var(--ink); color: var(--white); }

.dia { width: 8px; height: 8px; background: var(--teal); transform: rotate(45deg); display: inline-block; flex-shrink: 0; }
.dia-light { background: #fff; width: 7px; height: 7px; }

.sec-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 22px;
}
.section-ink .sec-label { color: rgba(255,255,255,0.7); }

.sec-h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 24px;
}
.sec-h2 em { font-style: italic; font-weight: 400; }
.sec-head { margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head-center { text-align: center; }
.sec-note { color: var(--ink-soft); font-size: 15px; margin: 0; }
.body-lg { color: var(--ink-soft); font-size: 17px; line-height: 1.75; margin: 0 0 18px; }
.body-lg strong { color: var(--ink); font-weight: 600; }

/* ---------- Buttons & links ---------- */
.btn-primary {
  display: inline-block; background: var(--teal-deep); color: #fff;
  padding: 18px 40px; font-size: 15px; font-weight: 600; letter-spacing: 0.3px;
  text-decoration: none; border: none; border-radius: 2px; cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-primary:hover { background: #0F5F56; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-ink {
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 12px 26px; font-size: 13.5px; font-weight: 600; border-radius: 2px;
  transition: background 0.25s ease;
}
.btn-ink:hover { background: #23324e; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none;
  border-bottom: 1px solid var(--teal); padding-bottom: 4px;
  transition: gap 0.25s ease, border-color 0.25s ease;
}
.link-arrow:hover { gap: 16px; border-color: var(--ink); }
.link-arrow-light { color: #fff; border-color: var(--teal); }
.link-arrow-light:hover { border-color: #fff; }
.arr { transition: transform 0.25s ease; }
.link-underline { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--teal); }

/* ---------- Nav ---------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,249,246,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-link {
  color: var(--ink-soft); text-decoration: none; font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.2px; transition: color 0.2s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-desktop { display: none; }
.nav-hamburger { background: none; border: none; cursor: pointer; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.ham-line { width: 22px; height: 2px; background: var(--ink); display: block; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open .ham-line:nth-child(2) { opacity: 0; }
.nav-hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-menu {
  display: flex; flex-direction: column; gap: 4px; padding: 8px 32px 24px;
  max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-6px);
  transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.3s ease;
  border-top: 1px solid var(--hairline);
}
.nav-mobile-menu.open { max-height: 520px; opacity: 1; transform: translateY(0); }
.nav-mobile-link { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 0; border-bottom: 1px solid rgba(19,31,51,0.06); }
.nav-mobile-cta { background: var(--teal-deep); color: #fff; text-align: center; border-radius: 2px; margin-top: 14px; padding: 14px; border-bottom: none; font-weight: 600; }
@media (min-width: 920px) {
  .nav-hamburger { display: none; }
  .nav-desktop { display: flex; align-items: center; gap: 32px; }
  .nav-mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner {
  max-width: 1200px; margin: 0 auto; position: relative; z-index: 2;
  padding: clamp(90px, 13vw, 170px) 32px clamp(80px, 10vw, 140px);
}
.hero-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 36px;
}
.hero-h1 {
  font-family: var(--serif); font-weight: 500; margin: 0 0 34px;
  font-size: clamp(52px, 9.5vw, 118px);
  line-height: 1.02; letter-spacing: -0.015em; color: var(--ink);
}
.hero-h1 .h-line { display: block; }
.hero-h1 em { font-style: italic; font-weight: 400; }
.h-dot { color: var(--teal); }
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 560px; line-height: 1.7; margin: 0 0 40px; }
.hero-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px;
  font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 48px;
  padding: 18px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.meta-sep { width: 6px; height: 6px; background: var(--teal); transform: rotate(45deg); flex-shrink: 0; }
.hero-count { color: var(--ink-soft); font-weight: 500; }
.hero-count b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-ctas { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.hero-orn {
  position: absolute; top: -140px; right: -140px; width: 480px; height: 480px;
  border: 1px solid var(--hairline); transform: rotate(45deg); border-radius: 48px;
  z-index: 1; pointer-events: none;
}
.hero-orn::after {
  content: ""; position: absolute; inset: 60px; border: 1px solid rgba(43,174,158,0.3); border-radius: 32px;
}

/* ---------- Ticker ---------- */
.ticker { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); overflow: hidden; background: var(--bg); }
.tick-track { display: flex; width: max-content; animation: tickScroll 60s linear infinite; }
.ticker:hover .tick-track { animation-play-state: paused; }
.tick-set { display: flex; align-items: center; }
.tick-item {
  padding: 18px 28px; font-size: 13px; font-weight: 500; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--ink-soft); white-space: nowrap;
}
.tick-dot { width: 5px; height: 5px; background: var(--teal); transform: rotate(45deg); flex-shrink: 0; }
@keyframes tickScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { padding: clamp(70px, 8vw, 110px) 0; }
.stats-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px;
}
.stat { border-top: 2px solid var(--ink); padding-top: 26px; }
.stat-num {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(48px, 6vw, 76px); line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-word { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; padding-top: 10px; }
.stat-label { color: var(--ink-mute); font-size: 13px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 14px; }

/* ---------- Why Exhibit ---------- */
.why-list { border-top: 1px solid var(--hairline); }
.why-row {
  display: grid; grid-template-columns: 80px 1fr; gap: 8px 32px;
  padding: 36px 0; border-bottom: 1px solid var(--hairline);
  transition: padding-left 0.3s ease;
}
.why-row:hover { padding-left: 12px; }
.why-num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--teal); grid-row: span 2; padding-top: 4px; }
.why-row h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); margin: 0; letter-spacing: -0.01em; }
.why-row p { color: var(--ink-soft); font-size: 15.5px; margin: 0; max-width: 640px; }
@media (min-width: 800px) {
  .why-row { grid-template-columns: 80px 1fr 1fr; align-items: baseline; }
  .why-num { grid-row: auto; }
}

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 24px; }
.cat-tile { margin: 0; }
.cat-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-cream); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.cat-tile:hover .cat-img img { transform: scale(1.06); }
.cat-tile figcaption {
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink); margin-top: 14px; padding-left: 2px;
}

/* ---------- Tariff ---------- */
.tariff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.tariff-card {
  background: var(--white); border: 1px solid var(--hairline); padding: 44px 36px;
  display: flex; flex-direction: column; position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tariff-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(19,31,51,0.08); }

/* Ascending emphasis A -> B -> C */
.tariff-mid { border-top: 2px solid var(--teal); padding-top: 42px; }

.tariff-feature {
  background: var(--ink); color: #fff; border-color: var(--ink);
  border-top: 3px solid var(--teal); padding: 48px 36px 44px;
  box-shadow: 0 20px 44px rgba(19,31,51,0.18);
  z-index: 2;
}
.tariff-feature:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(19,31,51,0.3); }
@media (min-width: 900px) {
  /* True staircase: A sits at baseline, B rises partway, C rises highest */
  .tariff-mid { margin-top: -10px; padding-top: 50px; padding-bottom: 46px; }
  .tariff-feature { margin-top: -24px; padding-top: 68px; padding-bottom: 52px; }
  .tariff-feature:hover { transform: translateY(-8px); }
}
.tariff-badge {
  position: absolute; top: 24px; right: 24px;
  background: var(--teal); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 13px; border-radius: 20px;
}
.tariff-feature .tariff-type { color: var(--teal); }
.tariff-feature .tariff-price { color: #fff; }
.tariff-feature .tariff-rs { color: rgba(255,255,255,0.6); }
.tariff-feature .tariff-gst { color: rgba(255,255,255,0.6); }
.tariff-feature .tariff-spec { border-top-color: rgba(255,255,255,0.16); }
.tariff-feature .tariff-spec span:first-child { color: rgba(255,255,255,0.55); }
.tariff-feature .tariff-spec span:last-child { color: #fff; }
.tariff-feature .tariff-cta { color: var(--teal); }

.tariff-type { font-size: 12.5px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 18px; }
.tariff-price { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.6vw, 46px); color: var(--ink); line-height: 1; }
.tariff-rs { font-size: 0.45em; font-weight: 400; color: var(--ink-mute); vertical-align: 0.5em; margin-right: 2px; }
.tariff-gst { color: var(--ink-mute); font-size: 13px; margin: 10px 0 30px; }
.tariff-spec {
  display: flex; justify-content: space-between; font-size: 14.5px;
  padding: 13px 0; border-top: 1px solid var(--hairline);
}
.tariff-spec span:first-child { color: var(--ink-mute); }
.tariff-spec span:last-child { font-weight: 600; }
.tariff-cta {
  margin-top: 28px; text-decoration: none; font-weight: 600; font-size: 14px;
  color: var(--teal-deep); transition: letter-spacing 0.25s ease;
}
.tariff-cta:hover { letter-spacing: 0.5px; }

/* ---------- Visitors statement ---------- */
.vis-statement { max-width: 900px; font-size: clamp(28px, 4vw, 48px); margin-bottom: 40px; }
.section-ink .vis-statement em { color: var(--teal); }

/* ---------- Organiser / Venue ---------- */
.org-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
@media (min-width: 900px) { .org-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.org-photo { overflow: hidden; }
.org-photo img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; display: block; }
.tag-row { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-mute); margin-top: 26px; }
.venue-facts { display: flex; flex-direction: column; gap: 14px; margin: 26px 0 32px; }
.venue-facts div { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.map-card { height: 400px; overflow: hidden; border: 1px solid var(--hairline); }

/* ---------- Floor plan ---------- */
.floor-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 28px; }
.floor-tabs { display: inline-flex; border-bottom: 1px solid var(--hairline); }
.floor-tab-btn {
  background: none; border: none; cursor: pointer; font-family: inherit;
  font-size: 14px; font-weight: 600; letter-spacing: 0.5px; color: var(--ink-mute);
  padding: 12px 24px; border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.floor-tab-btn.active { color: var(--ink); border-bottom-color: var(--teal); }
.floor-frame { background: var(--white); border: 1px solid var(--hairline); }
.floor-plan-pane img { width: 100%; height: auto; display: block; }

/* ---------- Associations (hidden) ---------- */
.lg-marquee { position: relative; overflow: hidden; margin-top: 40px; }
.lg-track { display: flex; gap: 20px; width: max-content; animation: tickScroll 30s linear infinite; }
.lg-marquee:hover .lg-track { animation-play-state: paused; }
.lg-set { display: flex; gap: 20px; }
.logo-slot {
  width: 200px; height: 100px; flex-shrink: 0;
  border: 1px dashed var(--hairline); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute); font-size: 12.5px; font-weight: 600;
}
.pending-note { color: var(--ink-mute); font-size: 13px; margin-top: 24px; text-align: center; }

/* ---------- Enquiry ---------- */
.enquiry-inner { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.enquiry-form { background: var(--white); border: 1px solid var(--hairline); padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft); }
.form-input {
  padding: 15px 16px; border: 1px solid var(--hairline); border-radius: 2px;
  font-size: 15px; font-family: inherit; color: var(--ink); outline: none; background: var(--white);
  transition: border-color 0.2s ease;
}
.form-input:focus { border-color: var(--teal-deep); }
textarea.form-input { resize: vertical; }
.form-msg { text-align: center; color: var(--ink-mute); font-size: 13px; margin: 0; }
.thankyou { display: none; background: var(--white); border: 1px solid var(--hairline); padding: 64px 32px; text-align: center; }
.ty-mark { width: 52px; height: 52px; background: rgba(43,174,158,0.12); transform: rotate(45deg); margin: 0 auto 28px; display: flex; align-items: center; justify-content: center; }
.ty-mark span { width: 16px; height: 16px; background: var(--teal); transform: rotate(-45deg); }
.thankyou h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0 0 10px; }
.thankyou p { color: var(--ink-soft); margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: clamp(64px, 8vw, 100px) 0 36px; }
.ft-contacts h4 { font-size: 12.5px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.6); margin: 0 0 28px; }
.ft-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.ft-region { color: var(--teal); font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.ft-person { color: rgba(255,255,255,0.9); font-size: 14.5px; font-weight: 600; margin-top: 8px; }
.ft-tel { color: rgba(255,255,255,0.55); font-size: 13.5px; text-decoration: none; }
.ft-tel:hover { color: #fff; }
.ft-bottom { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding: 48px 0; }
.ft-logo-badge {
  display: inline-flex; align-items: center;
  background: #fff; padding: 12px 20px; border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  margin-bottom: 16px;
}
.ft-logo-badge img { height: 44px; width: auto; display: block; }
.ft-brand p { color: rgba(255,255,255,0.6); font-size: 14px; max-width: 260px; }
.ft-bottom h5 { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 14px; }
.ft-bottom p { color: rgba(255,255,255,0.75); font-size: 14.5px; line-height: 1.7; margin: 0; }
.ft-mail { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 15px; border-bottom: 1px solid var(--teal); padding-bottom: 2px; }
.ft-legal { color: rgba(255,255,255,0.4); font-size: 12.5px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12); }

/* ---------- Floating CTA ---------- */
#floatingCta {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  display: none; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 16px 28px; border-radius: 40px; font-size: 14px; font-weight: 600;
  box-shadow: 0 12px 32px rgba(19,31,51,0.35);
  transition: transform 0.25s ease;
}
#floatingCta:hover { transform: translateY(-3px); }
#floatingCta.visible { display: flex; }

/* ---------- Scroll reveal base state ----------
   Elements start hidden via CSS *before* GSAP ever runs, so there is
   no "visible -> snap hidden -> fade in" flash while GSAP's CDN
   scripts are still loading (the flash seen on slower mobile
   connections). script.js reveals everything immediately as a
   fallback if GSAP fails to load or reduced-motion is set. */
.fade-up, .anim-hero {
  opacity: 0;
  transform: translateY(28px);
}
/* No CSS transition here on purpose — GSAP animates opacity/transform
   directly via inline styles every frame, and a parallel CSS transition
   would fight it (each inline update re-triggering part of the CSS
   transition), making the reveal feel sluggish. */

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tick-track, .lg-track { animation: none; width: auto; flex-wrap: wrap; }
  .fade-up, .anim-hero { opacity: 1; transform: none; }
  * { transition-duration: 0.01ms !important; }
}

/* No-JS fallback: never leave content permanently invisible */
.no-js .fade-up, .no-js .anim-hero { opacity: 1; transform: none; }
