/* ============================================================
   Labaih Homepage — style-home.css
   Premium, minimal, editorial. Light bg, dark type.
   ============================================================ */

:root {
  --bg: #fafaf9;
  --bg-alt: #f3f1ee;
  --text: #000000;
  --text-muted: #5a5a58;
  --text-subtle: #8a8a86;
  --accent: #000000;
  --brand-blue: #01004a; /* nautical blue — the single signature accent */
  --line: #e7e4df;
  --line-strong: #1a1a1a;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.04);
  --shadow-md: 0 8px 24px rgba(17, 17, 17, 0.08);
  --shadow-lg: 0 24px 60px rgba(17, 17, 17, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --transition: 200ms ease;
  --max-w: 1200px;
  --container-pad: clamp(20px, 4vw, 56px);
  --section-pad-y: clamp(72px, 9vw, 140px);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition), color var(--transition);
}

:where(a:not(.primary-cta):not(.header-cta):not(.sticky-cta):not(.nav-toggle):not(.btn):not(.btn-primary):not(.btn-light)):hover {
  opacity: 0.75;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- Global focus styles ---------- */
:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
  border-radius: 4px;
}

.primary-cta:focus-visible,
.header-cta:focus-visible,
.sticky-cta:focus-visible,
.btn-primary:focus-visible,
.btn-light:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 6px #111;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 18px;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.78);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  color: var(--text);
}

.section-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0;
  line-height: 1.55;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dot {
  color: var(--text-subtle);
  margin: 0 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: #222;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-light {
  background: var(--white);
  color: var(--text);
}

.btn-light:hover {
  background: var(--bg-alt);
}

.btn-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 4px;
  letter-spacing: 0.03em;
  transition: border-color var(--transition);
}

.btn-link:hover {
  border-color: rgba(255, 255, 255, 0.9);
}

.btn-link-dark {
  color: var(--text);
  border-bottom-color: rgba(17, 17, 17, 0.25);
}

.btn-link-dark:hover {
  border-bottom-color: var(--text);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), padding var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.is-solid {
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  padding: 12px 0;
}

.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.header-logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

.site-header.is-solid .header-logo img {
  filter: none;
}

.header-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.header-nav a {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  transition: color var(--transition);
}

.site-header.is-solid .header-nav a {
  color: var(--text);
  text-shadow: none;
}

.header-nav a:hover {
  color: var(--white);
}

.site-header.is-solid .header-nav a:hover {
  color: var(--accent);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--white);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.header-cta-mobile {
  display: none;
}

/* The social-icon row belongs to the mobile menu only — keep it out of the desktop header */
.menu-foot {
  display: none;
}

/* ---------- Mobile nav toggle (hamburger) ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  justify-self: end;
  z-index: 105;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
  transform-origin: center;
}

.site-header.is-solid .nav-toggle span,
.site-header.nav-open .nav-toggle span {
  background: var(--text);
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

body.nav-locked {
  overflow: hidden;
}

.site-header.is-solid .header-cta {
  background: var(--accent);
  color: var(--white);
}

.header-cta:hover {
  transform: translateY(-1px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(96px, 13vh, 150px) var(--container-pad) clamp(28px, 5vh, 56px);
  background: var(--brand-blue);
  color: var(--white);
  overflow: hidden;
}

/* Full-bleed editorial hero photo */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  z-index: 0;
}

/* Legibility scrim — darkens the lower-left where the lockup sits */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(2, 3, 26, 0.66) 0%, rgba(2, 3, 26, 0.10) 38%, transparent 60%),
    linear-gradient(to right, rgba(2, 3, 26, 0.42) 0%, transparent 44%);
  pointer-events: none;
}

/* Technical corner marks (editorial framing) */
.hero-mark {
  position: absolute;
  z-index: 3;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
}
.hero-mark.tl { top: 96px; left: 18px; }
.hero-mark.tr { top: 96px; right: 18px; }
.hero-mark.bl { bottom: 16px; left: 18px; }
.hero-mark.br { bottom: 16px; right: 18px; }

.hero-lockup {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}

.hero-big {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(52px, 8.5vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: var(--white);
  text-shadow: 0 2px 30px rgba(0, 0, 10, 0.22);
}
.blue-dot { color: var(--white); }

.hero-sub {
  max-width: 40ch;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 26px;
}

/* Slim text-link CTA */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 6px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.85);
}
.hero-cta span { transition: transform var(--transition); }
.hero-cta:hover { opacity: 1; }
.hero-cta:hover span { transform: translateX(5px); }

.hero-foot {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: clamp(18px, 3.5vh, 36px) auto 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   STORY
   ============================================================ */
.story {
  padding: var(--section-pad-y) 0;
  background: var(--bg);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.story-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms ease;
}

.story-image:hover img {
  transform: scale(1.04);
}

.story-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.pill {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--white);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: var(--section-pad-y) 0;
  background: var(--bg-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  margin-bottom: 24px;
  color: var(--accent);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--text);
}

.feature-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.features-footer {
  text-align: center;
  margin-top: 56px;
}

/* ============================================================
   MID BANNER
   ============================================================ */
.banner {
  position: relative;
  padding: clamp(96px, 14vw, 180px) var(--container-pad);
  color: var(--white);
  text-align: center;
  overflow: hidden;
  background: var(--brand-blue);
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% -10%, rgba(255, 255, 255, 0.08), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.banner-headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  color: var(--white);
}

.banner-sub {
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 36px;
}

.banner-micro {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 20px 0 0;
  letter-spacing: 0.02em;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  padding: var(--section-pad-y) 0;
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.gallery-item {
  margin: 0;
  display: block;
  background: transparent;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  display: block;
}

.gallery-item figcaption {
  margin-top: 12px;
  padding: 0 2px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product {
  padding: var(--section-pad-y) 0;
  background: var(--bg-alt);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.product-specs {
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.product-specs > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--text);
  display: flex;
  gap: 12px;
}

.product-specs dt {
  min-width: 110px;
  font-weight: 600;
  color: var(--text);
}

.product-specs dd {
  margin: 0;
  color: var(--text-muted);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  padding: var(--section-pad-y) 0;
  background: var(--bg);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
  }
}

.step {
  position: relative;
  padding-top: 16px;
}

.step-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1;
  color: var(--text-subtle);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.step h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 14px;
}

.step p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.how-footer {
  text-align: center;
  margin-top: 64px;
  font-size: 14px;
  color: var(--text-subtle);
  letter-spacing: 0.02em;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: var(--section-pad-y) 0;
  background: var(--bg-alt);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.testimonial {
  background: var(--white);
  padding: 36px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 18px;
}

.stars {
  color: var(--brand-blue);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 24px;
  color: var(--text);
  flex-grow: 1;
}

.attribution {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 4px;
}

.location {
  font-size: 13px;
  color: var(--text-subtle);
  margin: 0;
}

.trust-line {
  text-align: center;
  margin-top: 56px;
  font-size: 14px;
  color: var(--text-subtle);
  letter-spacing: 0.02em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0e0e0d;
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(72px, 9vw, 110px) 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 56px;
  }
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 20px;
  font-weight: 500;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-col a {
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), opacity var(--transition);
}

.footer-col a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.footer-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-tag {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 260px;
}

/* Instagram link (footer + gallery) */
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.ig-icon { width: 18px; height: 18px; flex: 0 0 auto; }

/* Center the footer on the stacked mobile layout */
@media (max-width: 639px) {
  .footer-grid { text-align: center; }
  .footer-col { display: flex; flex-direction: column; align-items: center; }
  .footer-logo { margin-inline: auto; }
  .footer-tag { max-width: none; }
  .ig-link { justify-content: center; }
}

.muted {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.pricing-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  padding: 32px 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-links a.placeholder-link {
  opacity: 0.45;
  cursor: default;
}

.footer-links a.placeholder-link:hover {
  opacity: 0.45;
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  /* Sits ABOVE the WhatsApp FAB (60px + offset) so the two don't overlap. */
  bottom: calc(clamp(16px, 3vw, 28px) + 72px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  background: var(--white);
  color: var(--text);
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: none;
  transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
}

.sticky-cta:hover {
  transform: translateY(-2px);
}

.sticky-cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  pointer-events: none;
}

@media (max-width: 767px) {
  .sticky-cta {
    display: inline-flex;
  }
  body {
    padding-bottom: 88px;
  }
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   Brand-blue, bottom-LEFT so it clears the bottom-right "Start
   Designing" sticky CTA; z-index 80 keeps it under the header/menu.
   ============================================================ */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: calc(clamp(16px, 3vw, 28px) + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand-blue);
  /* White disc + navy glyph: pops on the dark hero, stays crisp on the light
     inner pages. Hairline + layered shadow define the disc on white. */
  border: 1px solid rgba(1, 0, 74, 0.12);
  box-shadow: 0 12px 28px rgba(1, 0, 30, 0.28), 0 4px 10px rgba(1, 0, 30, 0.16);
  transition: transform var(--transition), box-shadow var(--transition);
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42), 0 3px 8px rgba(0, 0, 0, 0.22);
}

.wa-float svg {
  width: 32px;
  height: 32px;
  display: block;
}

/* (No white pulse halo — kept clean per brand: solid navy disc only.) */

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet down */
@media (max-width: 1023px) {
  .header-nav {
    gap: 24px;
  }
  .header-nav a {
    font-size: 12px;
  }
}

/* Mobile: collapse two-column layouts */
@media (max-width: 767px) {
  .header-inner {
    grid-template-columns: 1fr auto 1fr;
  }

  .header-cta-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
    grid-column: 1;
    justify-self: start;
  }

  .header-logo {
    grid-column: 2;
    justify-self: center;
  }

  .header-right {
    grid-column: 3;
    justify-self: end;
  }

  /* Full-screen menu modal */
  .header-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100svh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    padding: 104px 28px calc(44px + env(safe-area-inset-bottom, 0px));
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 280ms ease, transform 280ms ease, visibility 280ms;
    z-index: 90;
    overflow-y: auto;
  }

  .site-header.nav-open .header-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header-nav a {
    position: relative;
    color: var(--text);
    text-shadow: none;
    font-family: var(--font-serif);
    font-size: clamp(30px, 8.5vw, 42px);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-transform: none;
    padding: 6px 0;
    border: 0;
    transition: color 200ms ease;
  }

  #siteHeader .header-nav a.is-active { color: var(--brand-blue); }
  #siteHeader .header-nav > a:not(.header-cta-mobile):hover { color: var(--brand-blue); }
  #siteHeader .header-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    right: auto;
    bottom: -2px;
    width: 26px;
    height: 2px;
    background: var(--brand-blue);
    border-radius: 2px;
    transform: translateX(-50%);
  }

  /* CTA pill — white text on black, proper button sizing */
  .header-nav a.header-cta-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    margin-top: 34px;
    padding: 15px 34px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    border: 0;
    border-radius: var(--radius-pill);
  }
  .header-nav a.header-cta-mobile::after { display: none; }

  /* Quick-contact row — icon-only social buttons */
  .menu-foot {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .menu-foot a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--text-muted);
    border: 0;
    transition: color 200ms ease, background 200ms ease;
  }
  .menu-foot a:hover { color: var(--text); background: rgba(0, 0, 0, 0.05); }
  .menu-foot a svg { width: 22px; height: 22px; }

  /* Staggered entrance */
  .site-header.nav-open .header-nav > * {
    animation: menuItemIn 460ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .site-header.nav-open .header-nav > *:nth-child(1) { animation-delay: 70ms; }
  .site-header.nav-open .header-nav > *:nth-child(2) { animation-delay: 115ms; }
  .site-header.nav-open .header-nav > *:nth-child(3) { animation-delay: 160ms; }
  .site-header.nav-open .header-nav > *:nth-child(4) { animation-delay: 205ms; }
  .site-header.nav-open .header-nav > *:nth-child(5) { animation-delay: 255ms; }
  .site-header.nav-open .header-nav > *:nth-child(6) { animation-delay: 300ms; }
  @keyframes menuItemIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .site-header.nav-open .header-logo img { filter: none; }
  .site-header.nav-open .dubai-clock { color: var(--text-muted); text-shadow: none; }

  .story-grid,
  .product-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-image,
  .product-image {
    order: -1;
  }

  .header-cta {
    padding: 8px 16px;
    font-size: 12px;
  }

  .product-specs > div {
    flex-direction: column;
    gap: 4px;
  }

  .product-specs dt {
    min-width: 0;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .btn {
    padding: 14px 24px;
    font-size: 13px;
  }

  .hero-big {
    font-size: 42px;
  }
}

/* Reduced motion preference */
@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;
  }
}

/* ============================================================
   Header right cluster: Dubai clock + active nav (brand accent)
   ============================================================ */
.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}
.dubai-clock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.site-header.is-solid .dubai-clock { color: var(--text-muted); text-shadow: none; }
.dubai-clock time { font-weight: 600; color: inherit; }
.dc-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 0 rgba(1, 0, 74, 0.5);
  animation: dcPulse 2.6s ease-out infinite;
}
@keyframes dcPulse {
  0% { box-shadow: 0 0 0 0 rgba(1, 0, 74, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(1, 0, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(1, 0, 74, 0); }
}
.header-nav a.is-active { position: relative; color: var(--white); }
.header-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
}
.site-header.is-solid .header-nav a.is-active { color: var(--text); }

/* ============================================================
   Sub-pages (About / Contact)
   ============================================================ */
.page-hero {
  padding: calc(var(--section-pad-y) + 56px) 0 calc(var(--section-pad-y) * 0.66);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero-inner { max-width: 820px; margin: 0 auto; }
.page-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.03;
  letter-spacing: -0.01em;
  margin: 14px 0 18px;
}
.page-lead {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: var(--text-muted);
}
.prose { max-width: 720px; margin: 0 auto; text-align: center; }
.prose p {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.prose .stat-pills { justify-content: center; margin-top: 26px; }

/* ---- Contact page ---- */
.contact-section { padding: var(--section-pad-y) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-form { margin-top: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.field em { color: var(--brand-blue); font-style: normal; }
.field input,
.field textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(1, 0, 74, 0.12);
}
.btn.full { width: 100%; justify-content: center; }
.form-status {
  display: none;
  margin: 0 0 14px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  background: rgba(1, 0, 74, 0.06);
  color: var(--brand-blue);
  font-size: 14px;
}
.form-status.error, .form-status.ok { display: block; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--text-subtle); }
.form-note a { color: var(--brand-blue); text-decoration: underline; }

.contact-aside { display: grid; gap: 12px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), transform var(--transition);
}
a.contact-method:hover { border-color: var(--brand-blue); transform: translateY(-1px); }
.cm-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--brand-blue);
}
.cm-icon svg { width: 21px; height: 21px; }
.cm-text { display: flex; flex-direction: column; font-size: 14px; color: var(--text-muted); line-height: 1.35; }
.cm-text strong { color: var(--text); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 2px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.map-embed {
  margin-top: clamp(40px, 6vw, 72px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 7;
  background: var(--bg-alt);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.2); }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .map-embed { aspect-ratio: 4 / 3; }
  .dc-label { display: none; } /* compact clock on mobile */

  /* Full-bleed hero on mobile */
  .hero { min-height: 90svh; padding-top: 96px; padding-bottom: 30px; }
  .hero-photo { object-position: 62% center; }
  .hero-big { font-size: clamp(44px, 14vw, 76px); }
  .hero-sub { font-size: 15px; }
  .hero-mark.tl, .hero-mark.tr { top: 84px; }
}

/* ============================================================
   SCROLL REVEAL + MICRO-INTERACTIONS
   The hidden start-state applies only under html.reveal-ready, which a tiny
   inline <head> script adds ONLY when motion is allowed. So no-JS and
   reduced-motion users see all content immediately (zero CLS). Animation is
   GPU-only (opacity + transform) and never touches layout.
   ============================================================ */
html.reveal-ready .reveal,
html.reveal-ready .reveal-fade,
html.reveal-ready .reveal-left,
html.reveal-ready .reveal-right,
html.reveal-ready .reveal-group > * {
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
html.reveal-ready .reveal,
html.reveal-ready .reveal-group > * { transform: translateY(22px); }
html.reveal-ready .reveal-left { transform: translateX(-28px); }
html.reveal-ready .reveal-right { transform: translateX(28px); }

html.reveal-ready .reveal.is-visible,
html.reveal-ready .reveal-fade.is-visible,
html.reveal-ready .reveal-left.is-visible,
html.reveal-ready .reveal-right.is-visible,
html.reveal-ready .reveal-group.is-visible > * {
  opacity: 1;
  transform: none;
}

/* Stagger the children of a reveal-group */
html.reveal-ready .reveal-group.is-visible > *:nth-child(1) { transition-delay: 0ms; }
html.reveal-ready .reveal-group.is-visible > *:nth-child(2) { transition-delay: 60ms; }
html.reveal-ready .reveal-group.is-visible > *:nth-child(3) { transition-delay: 120ms; }
html.reveal-ready .reveal-group.is-visible > *:nth-child(4) { transition-delay: 180ms; }
html.reveal-ready .reveal-group.is-visible > *:nth-child(5) { transition-delay: 240ms; }
html.reveal-ready .reveal-group.is-visible > *:nth-child(6) { transition-delay: 300ms; }

/* Hover micro-interactions — pointer devices only (won't stick on touch) */
@media (hover: hover) {
  .feature-card,
  .testimonial {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  /* When reveals are active, ONE transition must cover both the reveal entrance
     (opacity + transform) AND the hover lift (transform + box-shadow) — otherwise
     the reveal-group rule's transition shorthand wins and the hover shadow snaps
     on with no fade. Higher specificity + later source order than the reveal rule. */
  html.reveal-ready .feature-card,
  html.reveal-ready .testimonial {
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease;
  }
  .feature-card:hover,
  .testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
  .gallery-item img,
  .story-image img,
  .product-image img {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .gallery-item:hover img,
  .story-image:hover img,
  .product-image:hover img {
    transform: scale(1.03);
  }
}

/* Reduced motion: never hide, never move (belt-and-suspenders) */
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .reveal,
  html.reveal-ready .reveal-fade,
  html.reveal-ready .reveal-left,
  html.reveal-ready .reveal-right,
  html.reveal-ready .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .gallery-item:hover img,
  .story-image:hover img,
  .product-image:hover img { transform: none; }
}
