/* ══════════════════════════════════════════════
   LUXURY GATEWAY — WHITE THEME
   Abitribe · Premium Hospitality & Lifestyle
══════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─── */
:root {
  --ink:        #0e0d0b;
  --ink-soft:   #1a1916;
  --ivory:      #f5f0e8;
  --ivory-soft: #ede7db;
  --cream:      #d4c9b0;
  --gold:       #5b7fa8;
  --gold-light: #8fa8c9;
  --gold-pale:  #e2e8f2;
  --bronze:     #26374d;
  --white:      #ffffff;
  --text-muted: rgba(245,240,232,0.55);

  /* White hero palette */
  --hero-bg:       #f0f2f7;
  --hero-bg-2:     #e8eaf2;
  --hero-text:     #1a1a2e;
  --hero-muted:    rgba(26,26,46,0.45);
  --hero-gold:     #6a8bb3;
  --hero-gold-alt: #587aa0;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-fine:    'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Jost', system-ui, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);

  --radius-card: 2px;
  --shadow-card: 0 32px 80px rgba(0,0,0,0.55);

  --z-canvas:   0;
  --z-svganim:  1;
  --z-grain:    2;
  --z-hero:     3;
  --z-float:    100;
  --z-cursor:   200;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: auto;
}

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--ff-body);
  font-weight: 300;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; }

::selection { background: rgba(91,127,168,0.25); color: var(--ivory); }


/* ══════════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════════ */

.section-label {
  font-family: var(--ff-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ivory);
}

.section-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-top: 0.8rem;
  opacity: 0.6;
}


/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: transparent;
  border: 1px solid rgba(245,240,232,0.3);
  color: var(--ivory);
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.4s var(--ease-out-expo), color 0.4s var(--ease-out-expo), border-color 0.4s, box-shadow 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo), letter-spacing 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out-expo);
}

.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary:hover {
  color: var(--ink);
  border-color: var(--gold);
  letter-spacing: 0.26em;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(91,127,168,0.45), 0 0 0 1px rgba(91,127,168,0.2);
}
.btn-primary:active { transform: translateY(-1px); }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; transition: letter-spacing 0.4s var(--ease-out-expo); }

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out-expo);
}
.btn-primary:hover .btn-arrow { transform: translate(3px, -3px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: transparent;
  border: 1px solid rgba(245,240,232,0.2);
  color: var(--text-muted);
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s;
  cursor: pointer;
}
.btn-ghost:hover {
  border-color: rgba(91,127,168,0.4);
  color: var(--gold-pale);
}


/* ══════════════════════════════════════════════
   HERO SECTION — WHITE THEME
══════════════════════════════════════════════ */

#hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* White layered background */
  /* background: linear-gradient(145deg, #eceef5 0%, #f4f5fa 40%, #ebebf3 70%, #e5e8f0 100%); */
  background: radial-gradient(ellipse 70% 60% at 50% 50%, #0a0d14 0%, #000 70%);
}

/* No WebGL canvas needed for hero */
#webgl-canvas { display: none; }

/* ── Animation Canvas ── */
#anim-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-svganim);
  pointer-events: none;
}

/* Very subtle grain on white bg */
.grain-overlay {
  position: absolute;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* No vignette for white theme */
.vignette { display: none; }

/* Hero content — scroll indicator only */
.hero-content {
  position: relative;
  z-index: var(--z-hero);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.hero-content > * { pointer-events: all; }

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  opacity: 0;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--hero-gold), transparent);
  animation: scrollDrop 2.4s ease-in-out infinite;
}
.scroll-indicator span {
  font-family: var(--ff-body);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--hero-gold);
  opacity: 0.7;
}
@keyframes scrollDrop {
  0%   { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
}

/* Corner ornaments — use gold-alt on white */
.corner-ornament {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: var(--z-hero);
  pointer-events: none;
  opacity: 0.3;
}
.corner-ornament::before,
.corner-ornament::after {
  content: '';
  position: absolute;
  background: var(--hero-gold);
}
.corner-ornament::before { width: 100%; height: 1px; }
.corner-ornament::after  { width: 1px; height: 100%; }

.corner-ornament.top-left     { top: 2rem; left: 2rem; }
.corner-ornament.top-right    { top: 2rem; right: 2rem; transform: scaleX(-1); }
.corner-ornament.bottom-left  { bottom: 2rem; left: 2rem; transform: scaleY(-1); }
.corner-ornament.bottom-right { bottom: 2rem; right: 2rem; transform: scale(-1); }
.corner-ornament.top-left::before,
.corner-ornament.top-right::before    { top: 0; left: 0; }
.corner-ornament.bottom-left::before,
.corner-ornament.bottom-right::before { bottom: 0; left: 0; }
.corner-ornament.top-left::after,
.corner-ornament.top-right::after    { top: 0; left: 0; }
.corner-ornament.bottom-left::after,
.corner-ornament.bottom-right::after  { bottom: 0; left: 0; }


/* ══════════════════════════════════════════════
   BRANDS GRID
══════════════════════════════════════════════ */

#brands {
  padding: clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 5vw, 5rem);
  background: var(--ink);
  height: 100svh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.section-header {
  text-align: center;
  margin-bottom: clamp(1rem, 2vw, 1.8rem);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.section-header.is-visible { opacity: 1; transform: none; }
.section-header .section-rule { margin: 1.5rem auto 0; }

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: clamp(0.6rem, 1.2vw, 1rem);
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  min-height: 0;
  height: 100%;
}

.brand-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--ink-soft);
  cursor: pointer;
  min-height: 220px;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s var(--ease-out-expo),
    transform 0.9s var(--ease-out-expo),
    box-shadow 0.5s ease;
}
.brand-card.is-visible { opacity: 1; transform: none; }
.brand-card:hover { box-shadow: var(--shadow-card), 0 0 60px rgba(91,127,168,0.12); }

.card-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 0.9s var(--ease-out-expo);
  filter: brightness(0.85) saturate(0.7);
}
.brand-card:hover .card-image {
  transform: scale(1.12);
  filter: brightness(0.65) saturate(0.75);
}

.card-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(91,127,168,0.04) 100%);
  opacity: 0;
  transition: opacity 0.5s;
}
.brand-card:hover .card-shimmer { opacity: 1; }

.card-glow {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(91,127,168,0);
  transition: border-color 0.5s, box-shadow 0.5s;
  pointer-events: none;
  z-index: 3;
}
.brand-card:hover .card-glow {
  border-color: rgba(91,127,168,0.6);
  box-shadow: 
    inset 0 0 60px rgba(91,127,168,0.12),
    0 0 40px rgba(91,127,168,0.15);
}

.card-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(1.2rem, 3vw, 2rem) clamp(1.2rem, 3vw, 2rem) clamp(1.8rem, 3.5vw, 2.5rem);
  z-index: 4;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.25) 55%, transparent 100%);
}

.card-number {
  position: absolute;
  top: clamp(1rem, 2.5vw, 1.5rem);
  right: clamp(1rem, 2.5vw, 1.5rem);
  font-family: var(--ff-fine);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  color: rgba(91,127,168,0.15);
  line-height: 1;
  transition: color 0.4s;
  pointer-events: none;
}
.brand-card:hover .card-number { color: rgba(91,127,168,0.3); }

.card-text { margin-bottom: 1.2rem; }

.card-category {
  display: inline-flex;
  align-items: center;
  padding: 0.32em 0.75em;
  border-radius: 999px;
  background: rgba(10, 10, 15, 0.5);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--ff-body);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  margin-bottom: 0.7rem;
  transition: border-color 0.4s, background 0.4s;
}
.brand-card:hover .card-category {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(10, 10, 15, 0.62);
}

.card-title {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 0.7rem;
}

.card-desc {
  font-family: var(--ff-fine);
  font-size: clamp(0.65rem, 1vw, 0.78rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s 0.05s var(--ease-out-expo), transform 0.45s 0.05s var(--ease-out-expo);
  max-width: 38ch;
}
.brand-card:hover .card-desc { opacity: 1; transform: none; }

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  /* True frosted glass — blurs whatever is behind the button */
  background: rgba(255, 248, 230, 0.10);
  backdrop-filter: blur(20px) saturate(160%) brightness(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(160%) brightness(1.1);
  /* Thin bright border like the reference — top is lightest (light source above) */
  border: 1px solid rgba(255, 248, 220, 0.22);
  border-top-color: rgba(255, 248, 220, 0.42);
  border-radius: 6px;
  outline: none;
  color: rgba(255, 242, 190, 0.92);
  font-family: var(--ff-body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  width: fit-content;
  min-width: 180px;
  max-width: 220px;
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  /* Outer shadow for depth + inner top highlight */
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 248, 220, 0.20),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  transition:
    background 0.4s var(--ease-out-expo),
    box-shadow 0.4s var(--ease-out-expo),
    border-color 0.4s,
    color 0.3s,
    transform 0.3s;
}
/* Diagonal shine streak — sweeps across on hover */
.card-btn::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -80%;
  width: 50%;
  height: 120%;
  background: linear-gradient(
    110deg,
    transparent 25%,
    rgba(255, 248, 220, 0.18) 50%,
    transparent 75%
  );
  transform: skewX(-15deg);
  transition: left 0.6s var(--ease-out-expo);
  pointer-events: none;
}
.card-btn:hover::before { left: 150%; }
.card-btn:hover {
  background: rgba(91, 127, 168, 0.18);
  border-color: rgba(255, 248, 220, 0.38);
  border-top-color: rgba(255, 248, 220, 0.60);
  color: #fff8dc;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(91, 127, 168, 0.22),
    inset 0 1px 0 rgba(255, 248, 220, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.20);
  transform: translateY(-1px);
}

.card-btn span, .card-btn svg { position: relative; z-index: 1; }
.card-btn svg { width: 14px; height: 14px; transition: transform 0.3s; }
.card-btn:hover svg { transform: translate(3px, -3px); }


/* ══════════════════════════════════════════════
   ENQUIRY SECTION
══════════════════════════════════════════════ */

#enquiry {
  padding: clamp(6rem, 10vw, 10rem) clamp(1.5rem, 5vw, 5rem);
  background: var(--ink);
  position: relative;
}

#enquiry::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.15;
}

.enquiry-inner { max-width: 720px; margin: 0 auto; }

.enquiry-header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 4rem);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.enquiry-header.is-visible { opacity: 1; transform: none; }
.enquiry-header .section-rule { margin: 1.5rem auto 0; }

.enquiry-sub {
  margin-top: 1rem;
  font-family: var(--ff-fine);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
}

.enquiry-form {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s 0.1s var(--ease-out-expo), transform 0.9s 0.1s var(--ease-out-expo);
}
.enquiry-form.is-visible { opacity: 1; transform: none; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.form-field label {
  font-family: var(--ff-body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245,240,232,0.15);
  color: var(--ivory);
  font-family: var(--ff-body);
  font-size: 0.92rem;
  font-weight: 300;
  padding: 0.7rem 0;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.form-field textarea { resize: none; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--gold); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(245,240,232,0.25); }
.form-field input.invalid,
.form-field select.invalid { border-color: rgba(220,80,80,0.6); }

.field-error {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: rgba(220,80,80,0.7);
  display: none;
}
.form-field.has-error .field-error { display: block; }

.select-wrapper { position: relative; }
.select-wrapper select {
  cursor: pointer;
  color: var(--ivory);
  background: transparent;
  padding-right: 1.5rem;
}
.select-wrapper select option { background: var(--ink); color: var(--ivory); }
.select-chevron {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--gold);
  pointer-events: none;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 1.1rem 2rem;
  margin-top: 0.5rem;
  font-size: 0.7rem;
}
.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(91,127,168,0.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn-submit.loading .btn-label,
.btn-submit.loading .btn-arrow { display: none; }
.btn-submit.loading .btn-spinner { display: inline-block; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  text-align: center;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.success-icon { width: 56px; height: 56px; color: var(--gold); }
.success-title {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ivory);
}
.success-body {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--text-muted);
}


/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */

#footer {
  background: var(--ink-soft);
  border-top: 1px solid rgba(91,127,168,0.1);
  padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 5vw, 5rem) 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(245,240,232,0.07);
}

.footer-logo {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-style: italic;
  color: rgba(245, 240, 232, 0.8);
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-family: var(--ff-fine);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-link {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.footer-link:hover { color: var(--gold); }

.footer-social { display: flex; gap: 1rem; align-items: center; }
.social-icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(245,240,232,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease-out-expo);
}
.social-icon:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.social-icon svg { width: 16px; height: 16px; }
.social-whatsapp:hover { border-color: #25D366; color: #25D366; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 1.5rem auto 0;
}
.footer-legal,
.footer-links {
  font-family: var(--ff-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(245,240,232,0.25);
}
.footer-links { display: flex; gap: 0.7rem; align-items: center; }
.footer-links a:hover { color: var(--gold); }

.footer-powered {
  font-family: var(--ff-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(245,240,232,0.25);
}
.footer-powered-link { color: rgba(245, 240, 232, 0.8); opacity: 0.7; transition: opacity 0.3s; }
.footer-powered-link:hover { opacity: 1; }

.footer-insta-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-family: var(--ff-body);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: rgba(245,240,232,0.22);
}
.footer-insta-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(245,240,232,0.30);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-insta-link:hover { color: var(--gold); }


/* ══════════════════════════════════════════════
   FLOATING ENQUIRY BUTTON
══════════════════════════════════════════════ */

.float-enquiry {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--z-float);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.3rem;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0;
  box-shadow: 0 8px 30px rgba(91,127,168,0.35);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out-expo);
  transform: translateY(80px);
  opacity: 0;
  cursor: pointer;
}
.float-enquiry svg { width: 15px; height: 15px; }
.float-enquiry:hover {
  background: var(--gold-light);
  box-shadow: 0 12px 40px rgba(91,127,168,0.5);
  transform: translateY(-2px) !important;
}
.float-enquiry.visible { transform: translateY(0); opacity: 1; }


/* ══════════════════════════════════════════════
   CUSTOM CURSOR
══════════════════════════════════════════════ */

.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  top: 0;
  left: 0;
  will-change: transform;
  transition: opacity 0.3s, width 0.3s, height 0.3s, border-color 0.3s;
  /* Inverts against whatever sits underneath, so the cursor stays
     visible even over gold buttons, images, or light panels. */
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--ivory);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--ivory);
  background: transparent;
}

.cursor-expanded .cursor-ring { width: 50px; height: 50px; border-width: 1px; opacity: 0.85; }
.cursor-expanded .cursor-dot  { width: 5px; height: 5px; }

@media (pointer: coarse) {
  html { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  button { cursor: pointer; }
  a { cursor: pointer; }
}


/* ══════════════════════════════════════════════
   SCROLL-REVEAL UTILITY
══════════════════════════════════════════════ */

[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
[data-scroll-reveal][data-delay="100"] { transition-delay: 0.1s; }
[data-scroll-reveal][data-delay="150"] { transition-delay: 0.15s; }
[data-scroll-reveal][data-delay="200"] { transition-delay: 0.2s; }
[data-scroll-reveal][data-delay="300"] { transition-delay: 0.3s; }
[data-scroll-reveal].is-visible { opacity: 1; transform: none; }


/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

@media (max-width: 640px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    flex: none;
  }
  #brands { height: auto; overflow: visible; }
  .brand-card { aspect-ratio: 3/4; }
  .card-desc { display: none; }
  .card-title { font-size: 0.95rem; }
  .card-category { font-size: 0.5rem; }
  .card-number { font-size: 2rem; }
  .card-btn { font-size: 0.55rem; padding: 0.5rem 0.8rem; }
  .card-body { padding: 0.9rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .float-enquiry span { display: none; }
  .float-enquiry { padding: 0.9rem; border-radius: 50%; bottom: 1.2rem; right: 1.2rem; }
  .float-enquiry svg { width: 18px; height: 18px; }
  .corner-ornament { width: 24px; height: 24px; }
}

@media (max-width: 380px) {
  .brands-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .brand-card { aspect-ratio: 5/4; }
  .card-desc { display: block; }
}


/* ══════════════════════════════════════════════
   SCROLL SNAP
══════════════════════════════════════════════ */

html, body { height: 100%; overflow: hidden; }

.snap-container {
  height: 100svh;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
}

.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  width: 100%;
  height: 100svh;
  position: relative;
  flex-shrink: 0;
}

.snap-section--scroll { overflow-y: auto; height: 100svh; }

#hero { height: 100svh; min-height: unset; }

#brands {
  height: 100svh;
  padding: clamp(1.2rem, 2.5vw, 2.5rem) clamp(1.5rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;   /* ADD THIS */
  gap: 0; 
}

#brands .section-header {
  text-align: center;
  margin-bottom: clamp(0.8rem, 1.5vw, 1.5rem);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
#brands.section-entered .section-header { opacity: 1; transform: none; }

.brand-card {
  opacity: 0;
  transform: translateY(50px) scale(0.97);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo),
    box-shadow 0.5s ease;
}

#brands.section-entered .brand-card[data-card-index="0"] { opacity: 1; transform: none; transition-delay: 0.15s; }
#brands.section-entered .brand-card[data-card-index="1"] { opacity: 1; transform: none; transition-delay: 0.28s; }
#brands.section-entered .brand-card[data-card-index="2"] { opacity: 1; transform: none; transition-delay: 0.41s; }
#brands.section-entered .brand-card[data-card-index="3"] { opacity: 1; transform: none; transition-delay: 0.54s; }

.section-scroll-hint {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.8s 1s var(--ease-out-expo);
  pointer-events: none;
}
#brands.section-entered .section-scroll-hint { opacity: 1; }
.section-scroll-hint .scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollDrop 2.4s ease-in-out infinite;
}
.section-scroll-hint span {
  font-family: var(--ff-body);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
}

/* Enquiry section */
#enquiry-section {
  background: var(--ink);
  display: flex;
  flex-direction: column;
}
#enquiry-section #enquiry {
  flex: 1;
  padding: clamp(2rem, 5vw, 6rem) clamp(1rem, 4vw, 5rem) 2rem;
  position: relative;
}
#enquiry-section #enquiry::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.15;
}

#enquiry-section .enquiry-header,
#enquiry-section .enquiry-form {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
#enquiry-section.section-entered .enquiry-header { opacity: 1; transform: none; transition-delay: 0.1s; }
#enquiry-section.section-entered .enquiry-form   { opacity: 1; transform: none; transition-delay: 0.25s; }

@media (max-width: 640px) {
  #brands { height: auto; min-height: 100svh; overflow-y: auto; scroll-snap-align: start; }
  .snap-section { height: auto; min-height: 100svh; }
  #hero { height: 100svh; }
  .form-row { grid-template-columns: 1fr; }
  #enquiry { padding: 3rem 1.2rem 2rem; }
  .enquiry-inner { padding: 0; }
}

@media (max-width: 400px) {
  .section-title { font-size: 1.5rem; }
  .section-label { font-size: 0.6rem; letter-spacing: 0.2em; }
  .card-title { font-size: 0.85rem; }
  .card-body { padding: 0.7rem; }
  .card-btn { font-size: 0.5rem; padding: 0.45rem 0.7rem; }
}

/* Hide scrollbars */
::-webkit-scrollbar { display: none; }
html { scrollbar-width: none; }
body { -ms-overflow-style: none; }
.hero-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.hero-about-btn {
  position: absolute;
  top: clamp(1.2rem, 3vw, 2rem);
  left: clamp(1.2rem, 3vw, 2.5rem);
  pointer-events: all;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 242, 190, 0.92);
  padding: 0.45rem 1.1rem;
  /* True frosted glass — blurs whatever is behind the button */
  background: rgba(255, 248, 230, 0.10);
  backdrop-filter: blur(20px) saturate(160%) brightness(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(160%) brightness(1.1);
  /* Thin bright border like the reference — top is lightest (light source above) */
  border: 1px solid rgba(255, 248, 220, 0.22);
  border-top-color: rgba(255, 248, 220, 0.42);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 248, 220, 0.20),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  transition:
    background 0.4s var(--ease-out-expo),
    box-shadow 0.4s var(--ease-out-expo),
    border-color 0.4s,
    color 0.3s,
    transform 0.3s;
}
/* Diagonal shine streak — sweeps across on hover */
.hero-about-btn::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -80%;
  width: 50%;
  height: 120%;
  background: linear-gradient(
    110deg,
    transparent 25%,
    rgba(255, 248, 220, 0.18) 50%,
    transparent 75%
  );
  transform: skewX(-15deg);
  transition: left 0.6s var(--ease-out-expo);
  pointer-events: none;
}
.hero-about-btn:hover::before { left: 150%; }
.hero-about-btn:hover {
  background: rgba(232, 213, 175, 0.18);
  border-color: rgba(255, 248, 220, 0.38);
  border-top-color: rgba(255, 248, 220, 0.60);
  color: #fff8dc;
  transform: translateY(-1px);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(232, 213, 175, 0.25),
    inset 0 1px 0 rgba(255, 248, 220, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.20);
}

/* ─── ABOUT MODAL ─── */
.about-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(14, 13, 11, 0.72);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out-expo), visibility 0.4s var(--ease-out-expo);
}

.about-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.about-modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--ink-soft);
  border: 1px solid rgba(255, 248, 220, 0.14);
  border-radius: 10px;
  padding: clamp(2.4rem, 6vw, 3.8rem) clamp(1.6rem, 5vw, 3.4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 248, 220, 0.08);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.45s var(--ease-out-expo), opacity 0.4s var(--ease-out-expo);
}

.about-modal-overlay.is-open .about-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.about-modal .about-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #c9a84c;
  margin: 0 0 1.2rem;
}

.about-modal .about-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--ivory);
  margin: 0 0 1.5rem;
  max-width: 20ch;
}

.about-modal .about-rule {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, #c9a84c, transparent);
  margin: 0 0 2rem;
  opacity: 0.8;
}

.about-modal .about-desc {
  font-family: var(--ff-fine);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.7);
  max-width: 56ch;
  margin: 0;
}

.about-modal .about-desc strong {
  color: var(--ivory);
  font-weight: 500;
}

.about-modal-close {
  position: absolute;
  top: clamp(0.9rem, 2vw, 1.4rem);
  right: clamp(0.9rem, 2vw, 1.4rem);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 248, 230, 0.08);
  border: 1px solid rgba(255, 248, 220, 0.18);
  border-radius: 50%;
  color: var(--ivory);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, color 0.3s;
}

.about-modal-close svg {
  width: 16px;
  height: 16px;
}

.about-modal-close:hover {
  background: rgba(232, 213, 175, 0.18);
  border-color: rgba(255, 248, 220, 0.4);
  color: var(--gold-light);
  transform: rotate(90deg);
}

body.about-modal-lock {
  overflow: hidden;
}

.hero-tagline {
  position: absolute;
  bottom: clamp(1.2rem, 3vw, 2rem);
  right: clamp(1.2rem, 3vw, 2.5rem);
  left: auto;
  transform: none;
  text-align: right;
  white-space: normal;
  max-width: 280px;
  font-family: var(--ff-fine);
  font-size: clamp(0.75rem, 1.3vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(245,240,232,0.8);
  text-transform: uppercase;
  pointer-events: none;
}
.hero-since {
  position: absolute;
  bottom: clamp(1.2rem, 3vw, 2rem);
  left: clamp(1.2rem, 3vw, 2.5rem);
  font-family: var(--ff-fine);
  font-size: clamp(0.65rem, 1vw, 0.8rem);
  letter-spacing: 0.2em;
  color: rgba(232, 213, 175, 0.9);
  font-weight: 400;
  text-transform: uppercase;
  pointer-events: none;
}

/* On narrow screens .hero-tagline (bottom-right, up to 2 lines) and
   .hero-since (bottom-left, single line) share the same baseline and
   collide into one jumbled line. Stack them instead. */
@media (max-width: 560px) {
  .hero-tagline {
    left: 1.2rem;
    right: 1.2rem;
    bottom: 3.4rem;
    max-width: none;
    text-align: center;
  }
  .hero-since {
    left: 0;
    right: 0;
    bottom: 1.2rem;
    text-align: center;
  }
}

/* ══════════════════════════════════════════════
   BRAND CARDS — MOBILE POLISH
   Fixes: card-btn overflowing its card, category
   badges wrapping into an ugly pill, weak text
   legibility over busy photos, and the large dead
   gap between the grid and the "Continue" hint.
══════════════════════════════════════════════ */
@media (max-width: 640px) {
  #brands {
    justify-content: flex-start;
    padding-top: clamp(3.25rem, 11vw, 4.5rem);
    padding-bottom: 1.5rem;
  }

  .brands-grid {
    flex: none;
    height: auto;
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 0.7rem;
  }

  .brand-card { min-height: 0; }

  /* Stronger, more even gradient so titles stay legible over any photo */
  .card-body {
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 42%, rgba(0,0,0,0.08) 100%);
    padding: 0.85rem 0.9rem 1rem;
  }

  .card-text { margin-bottom: 0.75rem; }

  /* Compact, single-line-friendly category badge instead of a stretched pill */
  .card-category {
    display: block;
    width: fit-content;
    max-width: 100%;
    border-radius: 4px;
    padding: 0.3em 0.6em;
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-align: left;
  }

  /* Button sized to actually fit inside a half-width mobile card */
  .card-btn {
    min-width: 0;
    max-width: 100%;
    width: fit-content;
    box-sizing: border-box;
    padding: 0.55rem 0.75rem;
    font-size: 0.52rem;
    letter-spacing: 0.12em;
    gap: 0.4rem;
  }
  .card-btn svg { width: 11px; height: 11px; flex-shrink: 0; }

  /* Bring the scroll hint close to the grid instead of pinned far below it */
  .section-scroll-hint {
    position: static;
    transform: none;
    margin: 1.5rem auto 0;
  }
}

@media (max-width: 380px) {
  .card-category { font-size: 0.48rem; }
  .card-btn { font-size: 0.5rem; padding: 0.5rem 0.65rem; }
}