/* =========================================================================
   LETZOLAB — SHARED STYLESHEET
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. CONFIG — brand colours, type, spacing, motion
   Edit values in this block to reskin the site. Nothing below this block
   should need to change for a colour or type update.
   ------------------------------------------------------------------------- */
:root{
  /* --- surfaces ---
     Softer deep navy-charcoal base (was near-black graphite), with a
     gentler step up to card surfaces so contrast feels calm, not harsh. */
  --bg:            #12151D; /* page base, soft navy-charcoal */
  --bg-elevated:   #1A1E29; /* nav, footer, cards */
  --bg-elevated-2: #20242F; /* bento tile / alt row */
  --bg-elevated-3: #262B38; /* hover state on elevated surfaces */

  /* --- text --- */
  --text:        #ECEDF1; /* near-white, slightly softened off pure white */
  --text-muted:  #949AA8; /* secondary grey */
  --text-faint:  #6E7480; /* tertiary grey, footnotes */

  /* --- borders / chrome --- */
  --border:      #2A2F3B; /* hairline edges */
  --border-soft: rgba(236,237,241,0.07);
  --chrome-hi:   #E8ECFF; /* cool highlight used at low opacity */
  --chrome-lo:   #C9D3FF;

  /* --- signature accent gradient (the entire colour budget) ---
     Slightly desaturated from the original so it glows rather than shouts. */
  --accent-cobalt: #4A63E8;
  --accent-violet: #9557D9;
  --gradient-accent: linear-gradient(115deg, var(--accent-cobalt) 0%, var(--accent-violet) 100%);
  --gradient-accent-soft: linear-gradient(115deg, rgba(74,99,232,0.16) 0%, rgba(149,87,217,0.16) 100%);
  --gradient-mesh: radial-gradient(circle at 30% 30%, rgba(74,99,232,0.5), transparent 60%),
                    radial-gradient(circle at 70% 60%, rgba(149,87,217,0.5), transparent 60%),
                    radial-gradient(circle at 50% 90%, rgba(74,99,232,0.32), transparent 55%);

  /* --- feedback colour, kept inside the palette on purpose (no green) --- */
  --accent-solid: #6E7BFF; /* used sparingly for focus rings on dark chrome buttons */

  /* --- star rating gold, used only for testimonial stars --- */
  --star-gold: #E3B341;

  /* --- type families ---
     Clash Display + Satoshi load from Fontshare. Fontshare does not publish
     a monospace family, so JetBrains Mono (Google Fonts) fills that role. */
  --font-display: "Clash Display", "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* --- type scale (fluid, clamps for 360px up) --- */
  --fs-eyebrow: 0.75rem;
  --fs-body:    1rem;
  --fs-lg:      1.125rem;
  --fs-h3:      clamp(1.35rem, 1.1rem + 1.1vw, 1.9rem);
  --fs-h2:      clamp(1.9rem, 1.5rem + 2vw, 2.75rem);
  --fs-h1:      clamp(2.5rem, 1.9rem + 3.2vw, 4.5rem);
  --fs-display: clamp(3rem, 2.1rem + 4.6vw, 6.25rem);

  /* --- spacing scale --- */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 7rem;

  /* --- shape / elevation --- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-card: 0 20px 60px -30px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.04), 0 30px 80px -40px rgba(59,91,255,0.35);

  /* --- motion --- */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur-base: 320ms;
  --dur-slow: 560ms;

  /* --- layout --- */
  --container-w: 1240px;
  --nav-h: 92px;

  /* --- light-section palette (used only inside .section-light) ---
     Same accent gradient and fonts, softer surfaces, dark text. Keeps the
     hero and comparison table on the dark graphite base untouched. */
  --bg-light:            #F6F4F1;
  --bg-light-elevated:   #FFFFFF;
  --bg-light-elevated-2: #F0EEE9;
  --bg-light-elevated-3: #E9E6DF;
  --text-on-light:       #191B20;
  --text-muted-on-light: #5B5F6B;
  --text-faint-on-light: #8B8E98;
  --border-on-light:     #E3E0D9;
  --border-soft-on-light: rgba(25,27,32,0.08);
}

/* -------------------------------------------------------------------------
   2. RESET / BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body{
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video{ display: block; max-width: 100%; height: auto; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure{ margin: 0; }
button, input, select, textarea{ font: inherit; color: inherit; }
button{ background: none; border: none; cursor: pointer; }
::selection{ background: var(--accent-violet); color: #fff; }

.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link{
  position: absolute;
  left: var(--space-3);
  top: -60px;
  z-index: 1000;
  background: var(--text);
  color: var(--bg);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: top var(--dur-base) var(--ease);
}
.skip-link:focus{ top: var(--space-3); }

/* visible keyboard focus, everywhere */
:focus-visible{
  outline: 2px solid var(--chrome-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

/* -------------------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------------------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.eyebrow::before{
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient-accent);
  flex: none;
}

.h-display{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
h1, .h1{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 1.03;
  letter-spacing: -0.02em;
}
h2, .h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
h3, .h3{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.15;
}
.lede{
  font-size: var(--fs-lg);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 46ch;
}
p{ color: var(--text-muted); }
p.on-dark-strong{ color: var(--text); }

.mono{ font-family: var(--font-mono); }
.gradient-text{
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Gradient text is reserved for short runs (headline emphasis, prices) —
   never body paragraphs, to keep contrast strong on graphite. */

/* -------------------------------------------------------------------------
   4. LAYOUT UTILITIES
   ------------------------------------------------------------------------- */
.container{
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 640px){
  .container{ padding-inline: var(--space-6); }
}

section{ padding-block: var(--space-8); }
.section-head{
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  max-width: 62ch;
}
.section-head.center{ margin-inline: auto; text-align: center; align-items: center; }

.grid{ display: grid; gap: var(--space-4); }
@media (min-width: 860px){
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
  .grid-2{ grid-template-columns: repeat(2, 1fr); }
}

/* asymmetric bento for "what you get" */
.bento{
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 860px){
  .bento{
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: auto auto;
  }
  .bento .bento-item:first-child{ grid-row: span 2; }
}

.stack{ display: flex; flex-direction: column; gap: var(--space-3); }
.cluster{ display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }

/* -------------------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.btn-primary{
  background: var(--gradient-accent);
  color: #ffffff;
  box-shadow: 0 12px 30px -12px rgba(107,80,255,0.6);
  border: 1px solid transparent;
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(107,80,255,0.75); }
.btn-primary:active{ transform: translateY(0); }

.btn-secondary{
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-soft);
}
.btn-secondary:hover{ border-color: var(--chrome-lo); background: rgba(255,255,255,0.03); }

.btn-ghost{
  color: var(--text-muted);
  padding-inline: 0;
  font-weight: 600;
  position: relative;
}
.btn-ghost::after{
  content: "\2192";
  transition: transform var(--dur-base) var(--ease);
}
.btn-ghost:hover{ color: var(--text); }
.btn-ghost:hover::after{ transform: translateX(4px); }

.btn-block{ width: 100%; }
.btn[disabled]{ opacity: 0.6; pointer-events: none; }

/* -------------------------------------------------------------------------
   6. CHROME EDGE — fine gradient hairline used on cards / panels
   ------------------------------------------------------------------------- */
.chrome-edge{
  position: relative;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
}
.chrome-edge::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--chrome-hi) 0%, transparent 30%, transparent 70%, var(--chrome-lo) 100%);
  opacity: 0.16;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* -------------------------------------------------------------------------
   7. NAV
   ------------------------------------------------------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--nav-h);
  padding-block: var(--space-2);
  display: flex;
  align-items: center;
  background: rgba(11,13,18,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.brand{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-mark{
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--gradient-accent);
  flex: none;
}
.nav-links{
  display: none;
  align-items: center;
  gap: var(--space-5);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a{
  color: var(--text-muted);
  position: relative;
  padding-block: 4px;
  transition: color var(--dur-base) var(--ease);
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gradient-accent);
  transition: right var(--dur-base) var(--ease);
}
.nav-links a:hover{ color: var(--text); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after{ right: 0; }
.nav-links a[aria-current="page"]{ color: var(--text); }

.nav-cta{ display: none; }
.nav-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
}
.nav-toggle span{
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  position: relative;
  transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after{
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 2px;
  background: var(--text);
  transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
}
.nav-toggle span::before{ top: -6px; }
.nav-toggle span::after{ top: 6px; }
.nav-toggle[aria-expanded="true"] span{ background: transparent; }
.nav-toggle[aria-expanded="true"] span::before{ transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after{ transform: translateY(-6px) rotate(-45deg); }

.mobile-panel{
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  z-index: 90;
  padding: var(--space-6) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.mobile-panel.is-open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-panel a{
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
}
body.nav-open{ overflow: hidden; }

@media (min-width: 960px){
  .nav-links{ display: flex; }
  .nav-cta{ display: inline-flex; }
  .nav-toggle{ display: none; }
  .mobile-panel{ display: none; }
}

/* -------------------------------------------------------------------------
   8. HERO + SIGNATURE MESH
   ------------------------------------------------------------------------- */
.hero{
  position: relative;
  padding-top: clamp(var(--space-6), 8vw, var(--space-8));
  padding-bottom: var(--space-7);
  overflow: clip;
}
.hero-grid{
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 960px){
  .hero-grid{ grid-template-columns: 1.15fr 0.85fr; }
}
.hero-grid--single{ grid-template-columns: 1fr; max-width: 62ch; }
.hero--photo{
  background-image: url("assets/sydney-harbour.jpg");
  background-size: cover;
  background-position: center;
}
.hero--photo::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,13,18,0.86), rgba(11,13,18,0.92));
  z-index: 1;
}
.hero-copy{ position: relative; z-index: 2; }
.hero-copy .eyebrow{ margin-bottom: var(--space-4); }
.hero-copy h1{ margin-bottom: var(--space-4); }
.hero-copy .lede{ max-width: 52ch; margin-bottom: var(--space-5); }
.hero-actions{ display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; margin-bottom: var(--space-5); }
.hero-counter{
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid var(--border);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
}
.hero-counter strong{ color: var(--text); font-weight: 700; }
.hero-counter .dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--gradient-accent); }

.hero-mesh-wrap{
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(100%, 460px);
  margin-inline: auto;
  z-index: 1;
}
.hero-mesh{
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: var(--gradient-mesh);
  filter: blur(2px) saturate(130%);
  transform: scale(0.6) rotate(0deg);
  opacity: 0;
}
.hero-mesh-ring{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
}
.hero-mesh-ring::before{
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  padding: 1px;
  background: linear-gradient(140deg, var(--chrome-hi), transparent 40%, transparent 60%, var(--chrome-lo));
  opacity: 0.25;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* headline word reveal targets, JS toggles .is-in */
.reveal-word{
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  filter: blur(6px);
}
.reveal-word.is-in{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease), filter 420ms var(--ease);
}

.hero-sheen{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  mix-blend-mode: overlay;
}
.hero-sheen.is-sweeping{
  animation: sheen-sweep 700ms var(--ease) forwards;
}
@keyframes sheen-sweep{
  to{ transform: translateX(120%); }
}

/* -------------------------------------------------------------------------
   9. SCROLL REVEALS (generic)
   ------------------------------------------------------------------------- */
.reveal{
  opacity: 0;
  transform: translateY(28px);
}
.reveal.is-in{
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

/* -------------------------------------------------------------------------
   10. CARDS — bento items, packages, lane chooser, portfolio
   ------------------------------------------------------------------------- */
.card{
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}
.card:hover{ transform: translateY(-4px); border-color: var(--border-soft); background: var(--bg-elevated-2); }
.card .icon-tile{
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gradient-accent-soft);
  border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--chrome-hi);
}
.card h3{ margin-bottom: var(--space-2); }

.bento-item.featured{
  background: linear-gradient(180deg, var(--bg-elevated-2), var(--bg-elevated));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* step list */
.steps{
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 860px){ .steps{ grid-template-columns: repeat(3, 1fr); } }
.step{
  position: relative;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}
.step-number{
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-faint);
  display: block;
  margin-bottom: var(--space-3);
}
.step-number span{
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* lane chooser */
.lane-grid{ display: grid; gap: var(--space-4); }
@media (min-width: 720px){ .lane-grid{ grid-template-columns: 1fr 1fr; } }
.lane-card{
  padding: var(--space-6) var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.lane-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-glow); }

/* portfolio placeholder grid */
.portfolio-grid{ display: grid; gap: var(--space-4); }
@media (min-width: 860px){ .portfolio-grid{ grid-template-columns: repeat(3, 1fr); } }
.portfolio-card{
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
}
.portfolio-card::before{
  content: "";
  position: absolute; inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.18;
  transform: scale(1.2);
  transition: transform 600ms var(--ease), opacity 600ms var(--ease);
}
.portfolio-card:hover::before{ transform: scale(1.4); opacity: 0.3; }
.portfolio-card span{ position: relative; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); }

/* -------------------------------------------------------------------------
   11. COMPARISON TABLE
   ------------------------------------------------------------------------- */
.compare-wrap{
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-elevated);
}
.compare{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.compare thead th{
  text-align: left;
  padding: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.compare thead th.col-letzolab{
  background: var(--gradient-accent-soft);
  color: var(--text);
}
.compare tbody td{
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}
.compare tbody tr:last-child td{ border-bottom: none; }
.compare td.figure{
  font-family: var(--font-mono);
  color: var(--text);
  white-space: nowrap;
  text-align: right;
}
.compare td.col-letzolab{ background: rgba(155,77,255,0.04); text-align: center; }
.compare-row-label{ color: var(--text); }

.tick{
  display: inline-flex;
  width: 22px; height: 22px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.tick.is-in{ opacity: 1; transform: scale(1); }
.tick svg{ width: 12px; height: 12px; }

.compare-total-row td{
  font-weight: 700;
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}
.compare-total-row .figure{ font-size: 1.1rem; }
.compare-price-row td{
  padding-block: var(--space-5);
}
.compare-price{
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.compare-price.is-in{ opacity: 1; transform: translateY(0); }
.compare-foot{
  padding: var(--space-4);
  font-size: 0.82rem;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
}

@media (max-width: 720px){
  .compare-wrap{ overflow-x: auto; }
  .compare{ min-width: 620px; }
}

/* -------------------------------------------------------------------------
   12. PACKAGES / PRICING
   ------------------------------------------------------------------------- */
.pricing-grid{ display: grid; gap: var(--space-4); }
@media (min-width: 860px){ .pricing-grid{ grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.price-card{
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  position: relative;
}
.price-card.is-popular{
  border-color: transparent;
  background: linear-gradient(180deg, var(--bg-elevated-2), var(--bg-elevated));
  box-shadow: var(--shadow-glow);
}
.price-card.is-popular::before{
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-accent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.price-badge{
  position: absolute;
  top: -12px; left: var(--space-5);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gradient-accent);
  color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}
.price-name{ font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-2); }
.price-value{
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-2);
}
.price-value sup{ font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.price-outcome{ color: var(--text); font-weight: 600; margin-bottom: var(--space-4); }
.price-list{ display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-5); flex: 1; }
.price-list li{ display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text-muted); font-size: 0.92rem; }
.price-list li::before{
  content: "";
  flex: none;
  width: 6px; height: 6px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--gradient-accent);
}

.founding-panel{
  margin-top: var(--space-6);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--gradient-accent-soft);
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 860px){ .founding-panel{ grid-template-columns: 1fr 1fr; } }
.terms-list{ display: flex; flex-direction: column; gap: var(--space-2); }
.terms-list li{
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
}
.terms-list li::before{
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-faint);
}

/* -------------------------------------------------------------------------
   13. FORM
   ------------------------------------------------------------------------- */
.form-wrap{
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: var(--space-6);
}
.form-grid{
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 640px){
  .form-grid{ grid-template-columns: 1fr 1fr; }
  .form-grid .field-full{ grid-column: 1 / -1; }
}
.field{ display: flex; flex-direction: column; gap: 0.5rem; }
.field label{ font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.field label .opt{ color: var(--text-faint); font-weight: 400; }
.field input,
.field select,
.field textarea{
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text);
  transition: border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}
.field input::placeholder, .field textarea::placeholder{ color: var(--text-faint); }
.field input:hover, .field select:hover, .field textarea:hover{ border-color: var(--border-soft); }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--accent-cobalt);
  background: var(--bg-elevated-3);
}
.field textarea{ resize: vertical; min-height: 120px; }
.field select{ appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 15px) calc(50% - 3px); background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

.form-foot{ margin-top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.form-note{ font-size: 0.8rem; color: var(--text-faint); }

/* honeypot, kept in the accessibility tree but visually and pointer hidden */
.hp-field{
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* -------------------------------------------------------------------------
   14. FOOTER
   ------------------------------------------------------------------------- */
.site-footer{
  border-top: 1px solid var(--border-soft);
  background: var(--bg-elevated);
  padding-block: var(--space-6);
}
.footer-grid{
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 720px){
  .footer-grid{ grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand .brand{ margin-bottom: var(--space-3); }
.footer-brand p{ max-width: 34ch; }
.footer-col h4{
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--space-3);
}
.footer-col a{
  display: block;
  color: var(--text-muted);
  padding-block: 0.35rem;
  transition: color var(--dur-base) var(--ease);
}
.footer-col a:hover{ color: var(--text); }
.footer-bottom{
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* -------------------------------------------------------------------------
   15. PAGE-SPECIFIC HELPERS
   ------------------------------------------------------------------------- */
.page-hero{
  padding-top: clamp(var(--space-6), 8vw, var(--space-7));
  padding-bottom: var(--space-6);
}
.page-hero .eyebrow{ margin-bottom: var(--space-4); }
.page-hero h1{ max-width: 18ch; margin-bottom: var(--space-4); }

.badge-pill{
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
}

.divider{ height: 1px; background: var(--border); border: none; margin-block: var(--space-6); }

.center-cta{ text-align: center; max-width: 56ch; margin-inline: auto; }

/* thank-you page */
.thanks-panel{
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  padding: var(--space-7) var(--space-5);
}
.thanks-icon{
  width: 64px; height: 64px;
  margin-inline: auto var(--space-5);
  border-radius: 50%;
  background: var(--gradient-accent-soft);
  border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
}

/* -------------------------------------------------------------------------
   16. MOTION SAFETY — global override
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-word, .tick, .compare-price{
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .hero-mesh{ opacity: 0.6 !important; transform: none !important; }
  html{ scroll-behavior: auto; }
}

/* -------------------------------------------------------------------------
   17. PRICE WEEKLY SUB-LINE + TESTIMONIALS
   ------------------------------------------------------------------------- */
.price-sub{
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: -0.25rem;
  margin-bottom: var(--space-4);
}

.testimonial-card{ display: flex; flex-direction: column; }
.testimonial-stars{
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-3);
  color: var(--star-gold);
}
.testimonial-quote{ color: var(--text-muted); }
.testimonial-attribution{
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-top: var(--space-4);
}

/* -------------------------------------------------------------------------
   18. LIGHT SECTIONS
   Re-points the surface/text tokens for one section only, so every existing
   component (cards, badges, eyebrows, borders) re-colours itself for free.
   The accent gradient and fonts are never touched by this scope.
   ------------------------------------------------------------------------- */
.section-light{
  --bg: var(--bg-light);
  --bg-elevated: var(--bg-light-elevated);
  --bg-elevated-2: var(--bg-light-elevated-2);
  --bg-elevated-3: var(--bg-light-elevated-3);
  --text: var(--text-on-light);
  --text-muted: var(--text-muted-on-light);
  --text-faint: var(--text-faint-on-light);
  --border: var(--border-on-light);
  --border-soft: var(--border-soft-on-light);
  --chrome-hi: var(--accent-cobalt);
  --chrome-lo: var(--accent-violet);
  background: var(--bg);
  color: var(--text);
}

/* -------------------------------------------------------------------------
   19. TRUST BAR
   ------------------------------------------------------------------------- */
.trust-bar-section{
  padding-block: var(--space-4);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-elevated);
}
.trust-bar{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-6);
  list-style: none;
  padding: 0;
  margin: 0;
}
.trust-bar li{
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  position: relative;
  padding-left: 1rem;
}
.trust-bar li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gradient-accent);
}

/* -------------------------------------------------------------------------
   20. FAQ (native details/summary, no JS required)
   ------------------------------------------------------------------------- */
.faq-list{
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 760px;
  margin-inline: auto;
}
.faq-item{
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  padding: var(--space-4) var(--space-5);
}
.faq-item summary{
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  font-weight: 600;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text-faint);
  transition: transform var(--dur-base) var(--ease);
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item p{
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-soft);
}

/* -------------------------------------------------------------------------
   21. PHOTO SLOTS — ready for real photos, graceful fallback until then
   ------------------------------------------------------------------------- */
.photo-slot{
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background-color: var(--bg-elevated-2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
}
.photo-slot::before{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.12;
}
.photo-slot-label{
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.photo-slot--about{ background-image: url("assets/about.jpg"); }
.photo-slot--local{ background-image: url("assets/local.jpg"); }
.photo-slot.chrome-edge{ box-shadow: var(--shadow-card); }

/* -------------------------------------------------------------------------
   22. VERIFIED BADGE (header)
   ------------------------------------------------------------------------- */
.verified-badge{
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--gradient-accent);
  color: #ffffff;
  padding: 0.3rem 0.7rem 0.3rem 0.55rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.verified-badge svg{ flex: none;
}

/* -------------------------------------------------------------------------
   23. COMPARISON TABLE — one-off build line, LetzoLab price sub-line
   ------------------------------------------------------------------------- */
.compare-oneoff-row{
  background: rgba(47,174,107,0.07);
}
.compare-oneoff-row td{
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-faint);
  border-top: 1px dashed var(--border);
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}
.compare-oneoff-row td.figure{
  color: var(--text-muted);
  font-style: normal;
}
.compare-oneoff-row td.col-letzolab{ text-align: center; }
.free-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  background: #2FAE6B;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-style: normal;
}
.compare-price{ display: block; }
.compare-price-sub{
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: var(--space-2);
}

/* -------------------------------------------------------------------------
   24. INCLUDED LIST (everything handled for you)
   ------------------------------------------------------------------------- */
.included-list{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3) var(--space-6);
  max-width: 720px;
  margin-inline: auto;
}
@media (min-width: 640px){
  .included-list{ grid-template-columns: 1fr 1fr; }
}
.included-list li{
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 500;
  color: var(--text);
}
.included-list .tick{ flex: none; }

/* -------------------------------------------------------------------------
   25. GUARANTEE BADGE / CALLOUT
   ------------------------------------------------------------------------- */
.guarantee-callout{
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  background: var(--gradient-accent-soft);
  border: 1px solid var(--border);
}
.guarantee-callout .icon-tile{ margin-bottom: 0; }
.guarantee-callout p{ color: var(--text); font-size: 0.92rem; margin: 0; }
.guarantee-callout strong{
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------------------------------------------------------------
   26. ICON TILE COLOUR VARIANTS — a small tasteful set, used on feature
   cards. Solid colour on the icon itself, a soft tint behind it.
   ------------------------------------------------------------------------- */
.icon-tile--cobalt{ background: rgba(74,99,232,0.14); color: var(--accent-cobalt); }
.icon-tile--violet{ background: rgba(149,87,217,0.14); color: var(--accent-violet); }
.icon-tile--teal{ background: rgba(63,168,160,0.14); color: #3FA8A0; }
.icon-tile--warm{ background: rgba(217,139,74,0.14); color: #D98B4A; }

/* -------------------------------------------------------------------------
   27. BRAND LOGO — text and dot wordmark by default; swaps to the real
   image automatically once assets/logo-light.png or logo-dark.png exists
   (see initLogoSwap in script.js). Header and footer are both dark, so
   both use the light wordmark; the dark variant is ready for any future
   light-background instance.
   ------------------------------------------------------------------------- */
.brand-logo{
  display: none;
  height: 36px;
  width: auto;
}
.brand-logo.is-loaded{ display: block; }
.footer-brand .brand-logo{ height: 64px; }
@media (min-width: 720px){
  .footer-brand .brand-logo{ height: 96px; }
}
@media (min-width: 960px){
  .brand-logo{ height: 64px; }
  .footer-brand .brand-logo{ height: 112px; }
}

/* -------------------------------------------------------------------------
   28. LOCAL PLAN BLOCK — self-contained price and inclusions, no link back
   to a plans section.
   ------------------------------------------------------------------------- */
.local-plan{
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 720px){ .local-plan{ grid-template-columns: auto 1fr; gap: var(--space-6); } }
.local-plan-price{
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3rem);
  color: var(--text);
  white-space: nowrap;
}
.local-plan-price sup{ font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.local-plan-sub{ font-size: 0.85rem; color: var(--text-faint); margin-top: var(--space-1); }

/* -------------------------------------------------------------------------
   29. PORTFOLIO VIDEO
   ------------------------------------------------------------------------- */
.portfolio-video-wrap{
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-4);
  background: var(--bg-elevated-2);
}
.portfolio-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* -------------------------------------------------------------------------
   30. SALE BADGE — "End of summer sale", styled as a promotional tag
   wherever it appears, distinct from the plain mono eyebrow label.
   ------------------------------------------------------------------------- */
.sale-badge{
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  background: #2FAE6B;
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.hero-copy .sale-badge{ margin-bottom: var(--space-4); }

/* -------------------------------------------------------------------------
   32. PAGE HERO PHOTO — packages page hero background image with a dark
   overlay so text keeps strong contrast on top of the photo.
   ------------------------------------------------------------------------- */
.page-hero--photo{
  position: relative;
  background-image: url("assets/hongkong.jpg");
  background-size: cover;
  background-position: center;
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.page-hero--photo::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,13,18,0.82), rgba(11,13,18,0.9));
}
.page-hero--photo .container{ position: relative; z-index: 1; }
