/* =====================================================
   DOKTINTA'T PAPEL — Scrapbook / Pastel Purple Redesign
   Theme: Scrapbook, Purple Pastel, Notion/Figma feel
   ===================================================== */

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

html, body, div, span, h1, h2, h3, h4, h5, h6, p,
blockquote, pre, a, abbr, em, img, ins, s, small, strong,
sub, sup, b, u, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td,
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, output, section, summary {
  margin: 0; padding: 0; border: 0;
  font-size: 100%; font: inherit; vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }

ol, ul { list-style: none; }
blockquote, q { quotes: none; }
table { border-collapse: collapse; border-spacing: 0; }
body { -webkit-text-size-adjust: none; line-height: 1; }
input::-moz-focus-inner { border: 0; padding: 0; }
input[type="text"], input[type="email"],
select, textarea {
  -moz-appearance: none; -webkit-appearance: none; appearance: none;
}

mark { background-color: transparent; color: inherit; }
u    { text-decoration: underline; }
strong, b { font-weight: 700; color: inherit; }
em, i  { font-style: italic; }
s  { text-decoration: line-through; }
sub { font-size: smaller; vertical-align: sub; }
sup { font-size: smaller; vertical-align: super; }

/* --------------------------------------------------
   Design Tokens
-------------------------------------------------- */
:root {
  /* Purple pastel palette */
  --clr-bg:           #FAF7FF;        /* off-white lavender tint */
  --clr-bg-card:      #FFFFFF;
  --clr-bg-tape:      rgba(210,180,255,0.25);

  --clr-purple-50:    #F3EEFF;
  --clr-purple-100:   #E5D8FF;
  --clr-purple-200:   #C9ABFF;
  --clr-purple-300:   #AC7EFF;
  --clr-purple-400:   #9156F5;
  --clr-purple-500:   #7C3FE4;        /* primary accent */
  --clr-purple-600:   #6630C0;

  --clr-lavender:     #D4BBFF;
  --clr-lilac:        #E8D5FF;
  --clr-blush:        #FFD6E8;
  --clr-peach:        #FFE4CC;
  --clr-mint:         #C8F5E8;
  --clr-sky:          #C8EEFF;
  --clr-yellow:       #FFF3B0;

  --clr-text-dark:    #2D2235;
  --clr-text-body:    #4A3D5C;
  --clr-text-muted:   #8B7FA0;
  --clr-text-white:   #FFFFFF;

  --clr-border:       #E0D4F5;
  --clr-border-dark:  #C9ABFF;
  --clr-shadow:       rgba(124, 63, 228, 0.10);
  --clr-shadow-card:  rgba(124, 63, 228, 0.12);

  /* Washi-tape accent colors */
  --tape-purple: rgba(190,150,255,0.55);
  --tape-pink:   rgba(255,182,220,0.55);
  --tape-yellow: rgba(255,232,100,0.55);
  --tape-mint:   rgba(150,235,210,0.55);

  /* Typography */
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Inter', system-ui, sans-serif;
  --font-accent: 'Caveat', cursive;

  /* Spacing */
  --space-xs:  0.375rem;
  --space-sm:  0.75rem;
  --space-md:  1.25rem;
  --space-lg:  2rem;
  --space-xl:  3.5rem;
  --space-2xl: 6rem;

  /* Radius */
  --radius-sm:   0.5rem;
  --radius-md:   1rem;
  --radius-lg:   1.75rem;
  --radius-xl:   2.5rem;
  --radius-pill: 999px;

  /* Nav height */
  --nav-h: 4rem;
}

/* --------------------------------------------------
   Base / Body
-------------------------------------------------- */
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-text-body);
  background-color: var(--clr-bg);
  min-width: 320px;
  overflow-x: hidden;
  /* Subtle dot-grid background reminiscent of Notion/scrapbook paper */
  background-image:
    radial-gradient(circle, rgba(172,126,255,0.18) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Loading fade-in */
body.is-loading #header,
body.is-loading .site-main { opacity: 0; }
body #header,
body .site-main { transition: opacity 0.55s cubic-bezier(.22,1,.36,1); }

/* --------------------------------------------------
   Typography scale
-------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--clr-text-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.1rem; }

p { line-height: 1.75; }

a { color: var(--clr-purple-500); text-decoration: none; }
a:hover { color: var(--clr-purple-600); }

/* --------------------------------------------------
   Utility classes
-------------------------------------------------- */
.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container--narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

.text-center { text-align: center; }
.text-muted   { color: var(--clr-text-muted); }

/* --------------------------------------------------
   Scrapbook card / paper tile
-------------------------------------------------- */
.scrap-card {
  background: var(--clr-bg-card);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 2px 0 var(--clr-border),
    0 6px 24px var(--clr-shadow-card);
  position: relative;
  overflow: visible;
}

/* Washi tape strip on top of cards */
.scrap-card::before {
  content: '';
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 4rem;
  height: 1.1rem;
  background: var(--tape-purple);
  border-radius: 3px;
  z-index: 2;
}

.scrap-card--pink::before   { background: var(--tape-pink);   transform: translateX(-50%) rotate(2deg); }
.scrap-card--yellow::before { background: var(--tape-yellow); transform: translateX(-50%) rotate(-1deg); }
.scrap-card--mint::before   { background: var(--tape-mint);   transform: translateX(-50%) rotate(3deg); }

/* --------------------------------------------------
   Buttons
-------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--clr-purple-500);
  color: #fff;
  box-shadow: 0 3px 14px rgba(124,63,228,0.30);
}
.btn--primary:hover {
  background: var(--clr-purple-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124,63,228,0.36);
}

.btn--outline {
  background: transparent;
  color: var(--clr-purple-500);
  border: 1.5px solid var(--clr-purple-300);
}
.btn--outline:hover {
  background: var(--clr-purple-50);
  color: var(--clr-purple-600);
  border-color: var(--clr-purple-500);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--clr-text-body);
  border: 1.5px solid var(--clr-border);
}
.btn--ghost:hover {
  background: var(--clr-purple-50);
  border-color: var(--clr-border-dark);
  color: var(--clr-purple-500);
}

.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.8rem; }
.btn--lg { padding: 1rem 2rem;    font-size: 1rem; }

.btn svg {
  width: 1em; height: 1em;
  fill: currentColor; pointer-events: none;
  flex-shrink: 0;
}

/* --------------------------------------------------
   Tags / Chips
-------------------------------------------------- */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--clr-purple-100);
  color: var(--clr-purple-600);
  text-transform: uppercase;
}

/* --------------------------------------------------
   Sticky Navigation
-------------------------------------------------- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(250,247,255,0.90);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1.5px solid var(--clr-border);
  box-shadow: 0 2px 16px rgba(124,63,228,0.07);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 2.5rem;
  width: auto;
  display: block;
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text-body);
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
  text-decoration: none;
}
.nav-links a:hover {
  background: var(--clr-purple-50);
  color: var(--clr-purple-500);
}

/* Nav CTA */
.nav-cta {
  background: var(--clr-purple-500);
  color: #fff !important;
  padding: 0.4rem 1rem !important;
  border-radius: var(--radius-pill) !important;
}
.nav-cta:hover {
  background: var(--clr-purple-600) !important;
  color: #fff !important;
}

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-purple-500);
  border-radius: 2px;
  transition: all 0.2s;
}

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(250,247,255,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1.5px solid var(--clr-border);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.nav-mobile a {
  display: block; padding: 0.6rem 0.85rem;
  font-weight: 500; font-size: 0.9375rem;
  color: var(--clr-text-body);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-mobile a:hover { background: var(--clr-purple-50); color: var(--clr-purple-500); }

/* --------------------------------------------------
   Page offset for sticky nav
-------------------------------------------------- */
section, footer { scroll-margin-top: var(--nav-h); }
.site-main { padding-top: var(--nav-h); }

/* --------------------------------------------------
   HERO SECTION
-------------------------------------------------- */
#home {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

/* Large decorative circles in hero */
#home::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190,150,255,0.18) 0%, transparent 70%);
  top: -120px; right: -120px;
  pointer-events: none;
}
#home::after {
  content: '';
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,182,220,0.15) 0%, transparent 70%);
  bottom: -80px; left: -80px;
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--clr-purple-500);
  margin-bottom: 0.75rem;
}

.hero-label::before {
  content: '✦';
  font-size: 0.9rem;
  color: var(--clr-lavender);
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  color: var(--clr-text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: normal;
  color: var(--clr-purple-500);
  position: relative;
}

/* Squiggly underline on hero accent word */
.hero-title em::after {
  content: '';
  display: block;
  height: 0.35rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='8'%3E%3Cpath d='M0 5 Q12.5 1 25 5 Q37.5 9 50 5 Q62.5 1 75 5 Q87.5 9 100 5' stroke='%239156F5' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / auto 100%;
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 36rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Hero image panel */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.hero-img-main {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 2.5px solid var(--clr-border);
  box-shadow: 0 8px 40px var(--clr-shadow-card);
  display: block;
}

/* floating sticker badges on hero image */
.hero-badge {
  position: absolute;
  background: #fff;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-text-dark);
  box-shadow: 0 3px 14px var(--clr-shadow);
  white-space: nowrap;
}

.hero-badge--tl {
  top: -1rem; left: -1.5rem;
  transform: rotate(-6deg);
  background: var(--clr-yellow);
  border-color: rgba(255,200,60,0.5);
}
.hero-badge--br {
  bottom: 1rem; right: -1.5rem;
  transform: rotate(5deg);
  background: var(--clr-lilac);
  border-color: var(--clr-border-dark);
}

/* --------------------------------------------------
   VALUE PROPS (Features)
-------------------------------------------------- */
#start {
  padding: var(--space-2xl) 0;
}

.section-label {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--clr-purple-400);
  display: block;
  margin-bottom: 0.5rem;
}

.section-heading {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: var(--clr-text-dark);
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--clr-text-muted);
  max-width: 52rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.prop-card {
  background: var(--clr-bg-card);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 2px 16px var(--clr-shadow);
  position: relative;
  transition: transform 0.22s, box-shadow 0.22s;
}

.prop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 36px var(--clr-shadow-card);
}

/* washi tape accent per card */
.prop-card::before {
  content: '';
  position: absolute;
  top: -0.55rem; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 3.5rem; height: 0.9rem;
  border-radius: 3px;
}
.prop-card:nth-child(1)::before { background: var(--tape-purple); }
.prop-card:nth-child(2)::before { background: var(--tape-pink);   transform: translateX(-50%) rotate(2deg); }
.prop-card:nth-child(3)::before { background: var(--tape-yellow); transform: translateX(-50%) rotate(-1deg); }

.prop-icon {
  width: 4rem; height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-md);
  background: var(--clr-purple-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.prop-card img.prop-img {
  width: 4rem; height: 4rem;
  object-fit: contain;
  margin: 0 auto 1.25rem;
  display: block;
}

.prop-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-text-dark);
  margin-bottom: 0.5rem;
}

.prop-desc {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------
   ABOUT US
-------------------------------------------------- */
#about-us {
  padding: var(--space-2xl) 0;
  background: var(--clr-purple-50);
  border-top: 1.5px solid var(--clr-border);
  border-bottom: 1.5px solid var(--clr-border);
  position: relative;
  overflow: hidden;
}

#about-us::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190,150,255,0.15) 0%, transparent 70%);
  top: -60px; left: -60px;
  pointer-events: none;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.about-img-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 2.5px solid var(--clr-border);
  box-shadow: 0 8px 40px var(--clr-shadow-card);
  display: block;
}

/* Torn paper edge decoration above image */
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -1rem; right: -1.25rem;
  width: 5rem; height: 5rem;
  background: var(--clr-lilac);
  border-radius: 50% 50% 50% 10%;
  border: 1.5px solid var(--clr-border-dark);
  z-index: 0;
}

.about-eyebrow {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--clr-purple-500);
  margin-bottom: 0.5rem;
}

.about-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  color: var(--clr-text-dark);
  margin-bottom: 1.25rem;
}

.about-body {
  color: var(--clr-text-body);
  font-size: 0.975rem;
  line-height: 1.85;
  margin-bottom: 0.85rem;
}

.about-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

/* --------------------------------------------------
   WHAT WE CUSTOMIZE (Shop)
-------------------------------------------------- */
#what-we-customize {
  padding: var(--space-2xl) 0;
}

.shop-intro {
  text-align: center;
  margin-bottom: 3.5rem;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: var(--clr-bg-card);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 16px var(--clr-shadow);
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px) rotate(0.5deg);
  box-shadow: 0 14px 40px var(--clr-shadow-card);
}

/* washi tape strip on top of product cards */
.product-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-card:nth-child(1)::after { background: var(--clr-purple-300); }
.product-card:nth-child(2)::after { background: var(--clr-blush); }
.product-card:nth-child(3)::after { background: var(--clr-mint); }
.product-card:nth-child(4)::after { background: var(--clr-sky); }
.product-card:nth-child(5)::after { background: var(--clr-yellow); }
.product-card:nth-child(6)::after { background: var(--clr-peach); }

.product-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--clr-bg);
}

.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-info {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text-dark);
  margin-bottom: 0.3rem;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  flex: 1;
}

/* Quote CTA strip */
.shop-cta-strip {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

/* --------------------------------------------------
   PROJECT GALLERY — 2-row swipe track w/ scroll effects
-------------------------------------------------- */
#project-gallery {
  padding: var(--space-2xl) 0 var(--space-2xl);
  background: var(--clr-purple-50);
  border-top: 1.5px solid var(--clr-border);
  border-bottom: 1.5px solid var(--clr-border);
  overflow: hidden;
}

.gallery-header {
  margin-bottom: 2.5rem;
}

.gallery-header__text {
  text-align: center;
}

/* Outer wrapper — full bleed, positions the fades */
.gtrack-outer {
  position: relative;
}

/* Scrollable viewport — both rows share one horizontal scroll */
.gtrack-viewport {
  --gallery-edge-fade: clamp(72px, 14vw, 280px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-x: scroll;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1rem 140px 1.25rem; /* breathing room at the masked edges */
  cursor: grab;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--gallery-edge-fade), #000 calc(100% - var(--gallery-edge-fade)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--gallery-edge-fade), #000 calc(100% - var(--gallery-edge-fade)), transparent 100%);
}
.gtrack-viewport:active { cursor: grabbing; }
.gtrack-viewport::-webkit-scrollbar { display: none; }

/* Each row is a horizontal flex strip */
.gtrack-row {
  display: flex;
  gap: 1rem;
  list-style: none;
  flex-shrink: 0;
}

/* Individual card */
.gtrack-row li {
  width: 220px;
  height: 220px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--clr-bg-card);
  border: 1.5px solid var(--clr-border);
  box-shadow: 0 3px 14px var(--clr-shadow);
  position: relative;
  /* JS drives scale/opacity/rotate via CSS custom props */
  transform: scale(var(--gs, 0.88)) rotate(var(--gr, 1deg));
  opacity: var(--go, 0.55);
  transition: box-shadow 0.25s ease;
  will-change: transform, opacity;
}

.gtrack-row li:hover {
  box-shadow: 0 18px 44px rgba(124,63,228,0.22);
  z-index: 4;
}

.gtrack-row a.thumbnail {
  display: block; width: 100%; height: 100%;
}

.gtrack-row .frame,
.gtrack-row span.frame {
  display: block; width: 100%; height: 100%;
}

.gtrack-row img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gtrack-row li:hover img { transform: scale(1.06); }

/* Caption overlay */
.gtrack-row .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(44,28,70,0.82));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 1.5rem 0.75rem 0.5rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.gtrack-row li:hover .caption { opacity: 1; }

@media (max-width: 640px) {
  .gtrack-row li  { width: 170px; height: 170px; }
  .gtrack-viewport { padding-left: 60px; padding-right: 60px; }
}

/* --------------------------------------------------
   Scroll Reveal System
-------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s cubic-bezier(.22,1,.36,1),
    transform 0.6s cubic-bezier(.22,1,.36,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal][data-reveal-delay="100"] { transition-delay: 0.1s; }
[data-reveal][data-reveal-delay="150"] { transition-delay: 0.15s; }
[data-reveal][data-reveal-delay="200"] { transition-delay: 0.2s; }
[data-reveal][data-reveal-delay="300"] { transition-delay: 0.3s; }
[data-reveal][data-reveal-delay="400"] { transition-delay: 0.4s; }
[data-reveal][data-reveal-delay="500"] { transition-delay: 0.5s; }


/* --------------------------------------------------
   REQUEST A QUOTE
-------------------------------------------------- */
#request-a-quote {
  padding: var(--space-2xl) 0;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.quote-aside {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.quote-aside-label {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--clr-purple-500);
  margin-bottom: 0.5rem;
}

.quote-aside-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--clr-text-dark);
  margin-bottom: 1rem;
}

.quote-aside-body {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.quote-perks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quote-perk {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--clr-text-body);
}

.quote-perk-dot {
  width: 0.6rem; height: 0.6rem;
  border-radius: 50%;
  background: var(--clr-purple-400);
  flex-shrink: 0;
}

/* Form */
.form-card {
  background: var(--clr-bg-card);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.25rem;
  box-shadow: 0 4px 32px var(--clr-shadow-card);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--clr-purple-600);
  margin-bottom: 0.4rem;
}

.form-control {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--clr-text-dark);
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  transition: border-color 0.18s, box-shadow 0.18s;
  line-height: 1.5;
  -webkit-appearance: none; appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--clr-purple-400);
  box-shadow: 0 0 0 3px rgba(145,86,245,0.15);
}

.form-control::placeholder { color: var(--clr-text-muted); opacity: 0.8; }

textarea.form-control {
  height: 8rem;
  resize: vertical;
  padding-top: 0.75rem;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%239156F5' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  margin-top: 0.35rem;
}

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
}

/* --------------------------------------------------
   FORM SENT / CONFIRMATION
-------------------------------------------------- */
#form-sent {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) 0;
  text-align: center;
}

.confirm-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
}

.confirm-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--clr-text-dark);
  margin-bottom: 0.75rem;
}

.confirm-body {
  color: var(--clr-text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------
   UNDER CONSTRUCTION
-------------------------------------------------- */
#under-construction {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) 0;
  text-align: center;
}

.uc-emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
#contacts {
  padding: var(--space-2xl) 0 0;
  background: var(--clr-text-dark);
  color: var(--clr-text-white);
  border-top: 1.5px solid var(--clr-purple-500);
  position: relative;
  overflow: hidden;
}

#contacts::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(145,86,245,0.12) 0%, transparent 70%);
  top: -80px; right: -80px;
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: var(--space-2xl);
  align-items: start;
}

/* Contact form block */
.footer-contact-heading {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-contact-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

/* Form inside footer (lighter variant) */
.form-card--dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

.form-card--dark .form-label { color: var(--clr-lavender); }
.form-card--dark .form-control {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.form-card--dark .form-control::placeholder { color: rgba(255,255,255,0.4); }
.form-card--dark .form-control:focus {
  border-color: var(--clr-purple-300);
  box-shadow: 0 0 0 3px rgba(190,150,255,0.18);
}

/* Map */
.footer-map-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.12);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  aspect-ratio: 4 / 3;
}

.footer-map-wrap iframe {
  width: 100%; height: 100%;
  display: block;
  border: none;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-xl) 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-brand img {
  height: 7.5rem; width: auto; margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 20rem;
}

.footer-col-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-lavender);
  margin-bottom: 1rem;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  list-style: none;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7);
  transition: all 0.18s;
  text-decoration: none;
}
.social-icons a:hover {
  background: var(--clr-purple-500);
  border-color: var(--clr-purple-500);
  color: #fff;
  transform: translateY(-2px);
}
.social-icons svg { width: 1rem; height: 1rem; fill: currentColor; }

/* Footer nav links */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--clr-lavender); }

/* Footer copyright */
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* --------------------------------------------------
   Dividers / decorative
-------------------------------------------------- */
.scrap-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 3rem;
}
.scrap-divider::before, .scrap-divider::after {
  content: ''; flex: 1;
  height: 1.5px;
  background: var(--clr-border);
}
.scrap-divider span {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  color: var(--clr-purple-400);
  white-space: nowrap;
}

/* --------------------------------------------------
   Lightbox (simple)
-------------------------------------------------- */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(20,10,40,0.9);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 60px rgba(0,0,0,0.7);
  object-fit: contain;
  display: block;
}
.lightbox-close {
  position: fixed;
  top: 1.5rem; right: 1.5rem;
  font-size: 2rem; color: #fff;
  background: none; border: none;
  cursor: pointer; line-height: 1;
  opacity: 0.8; transition: opacity 0.15s;
  font-family: monospace;
}
.lightbox-close:hover { opacity: 1; }

/* --------------------------------------------------
   Responsive
-------------------------------------------------- */
@media (max-width: 900px) {
  .hero-layout      { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual      { order: -1; }
  .hero-img-wrap    { max-width: 340px; margin: 0 auto; }
  .hero-badge       { display: none; }

  .about-layout     { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-wrap::before { display: none; }

  .props-grid       { grid-template-columns: 1fr 1fr; }
  .shop-grid        { grid-template-columns: 1fr 1fr; }

  .quote-layout     { grid-template-columns: 1fr; gap: 2.5rem; }
  .quote-aside      { position: static; }

  .footer-top       { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  html { font-size: 15px; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .props-grid { grid-template-columns: 1fr; }
  .shop-grid  { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .footer-bottom { grid-template-columns: 1fr; }

  .form-card { padding: 1.75rem 1.25rem; }
}

@media (max-width: 400px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* --------------------------------------------------
   Deferred image loading (from original Carrd JS)
-------------------------------------------------- */
@keyframes loading-spinner {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.deferred::before {
  content: '';
  display: block;
  width: 2.5rem; height: 2.5rem;
  position: absolute; top: 50%; left: 50%;
  margin: -1.25rem 0 0 -1.25rem;
  animation: loading-spinner 1s infinite linear;
  transition: opacity 0.25s ease; transition-delay: 0.5s;
  opacity: 0; z-index: -1;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iOTZweCIgaGVpZ2h0PSI5NnB4IiB2aWV3Qm94PSIwIDAgOTYgOTYiIHpvb21BbmRQYW49ImRpc2FibGUiPjxzdHlsZT5jaXJjbGUge2ZpbGw6IHRyYW5zcGFyZW50OyBzdHJva2U6ICNhYzdiZmY7IHN0cm9rZS13aWR0aDogMS41cHg7IH08L3N0eWxlPjxkZWZzPjxjbGlwUGF0aCBpZD0iY29ybmVyIj48cG9seWdvbiBwb2ludHM9IjAsMCA0OCwwIDQ4LDQ4IDk2LDQ4IDk2LDk2IDAsOTYiIC8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xpcC1wYXRoPSJ1cmwoI2Nvcm5lcikiPjxjaXJjbGUgY3g9IjQ4IiBjeT0iNDgiIHI9IjMyIi8+PC9nPjwvc3ZnPg==');
  background-position: center; background-repeat: no-repeat; background-size: 2.5rem;
}
.deferred.loading::before { opacity: 0.5; z-index: 0; }

/* --------------------------------------------------
   CTA Block (replaces quote form section)
-------------------------------------------------- */
.cta-block {
  text-align: center;
  background: var(--clr-purple-50);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190,150,255,0.14) 0%, transparent 70%);
  top: -80px; right: -80px;
  pointer-events: none;
}

.cta-block__heading {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  color: var(--clr-text-dark);
  margin-bottom: 1rem;
}

.cta-block__body {
  font-size: 1rem;
  color: var(--clr-text-muted);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* --------------------------------------------------
   Contact Channels (footer)
-------------------------------------------------- */
.footer-reach {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: #fff;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}

.contact-channel:hover {
  background: rgba(145,86,245,0.18);
  border-color: var(--clr-purple-300);
  color: #fff;
  transform: translateX(4px);
}

.contact-channel__icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--clr-purple-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-text-dark);
}

.contact-channel__icon svg {
  width: 1.2rem; height: 1.2rem;
  fill: currentColor;
}

.contact-channel__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-channel__text strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.contact-channel__text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

.contact-channel__arrow {
  width: 1rem; height: 1rem;
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.15s, transform 0.15s;
}

.contact-channel:hover .contact-channel__arrow {
  opacity: 1;
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .cta-block { padding: var(--space-xl) var(--space-md); }
  .cta-block__actions { flex-direction: column; align-items: center; }
}

/* --------------------------------------------------
   Polished motion system
-------------------------------------------------- */
:root {
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
  --motion-spring: cubic-bezier(.2, .8, .2, 1);
}

html { scroll-padding-top: calc(var(--nav-h) + 1rem); }

.scroll-progress {
  position: fixed;
  z-index: 1101;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #7c3fe4 0%, #d87fc0 52%, #ffca72 100%);
  box-shadow: 0 0 14px rgba(124, 63, 228, .35);
  will-change: transform;
}

#header {
  transition: height .38s var(--motion-ease), background .38s ease,
    box-shadow .38s ease, border-color .38s ease;
}

#header.is-scrolled {
  height: 3.65rem;
  background: rgba(250, 247, 255, .94);
  border-color: rgba(201, 171, 255, .72);
  box-shadow: 0 8px 28px rgba(57, 35, 83, .11);
}

.nav-inner { transition: padding .35s var(--motion-ease); }
.nav-logo img { transition: transform .4s var(--motion-spring), height .35s var(--motion-ease); }
.nav-logo:hover img { transform: rotate(-7deg) scale(1.08); }
#header.is-scrolled .nav-logo img { height: 2.15rem; }

.nav-links a:not(.nav-cta) {
  position: relative;
  transition: color .22s ease, background .22s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  right: .85rem;
  bottom: .2rem;
  left: .85rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--clr-purple-400), #d87fc0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--motion-ease);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a[aria-current="location"]:not(.nav-cta)::after { transform: scaleX(1); }
.nav-links a[aria-current="location"]:not(.nav-cta) { color: var(--clr-purple-600); }

.nav-hamburger span { transition: transform .3s var(--motion-ease), opacity .2s ease; }
.nav-hamburger[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-.65rem);
  transition: opacity .28s ease, transform .34s var(--motion-ease), visibility .28s;
  box-shadow: 0 18px 30px rgba(57, 35, 83, .10);
}
.nav-mobile.open {
  display: block;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-mobile li { opacity: 0; transform: translateY(-.35rem); transition: opacity .3s ease, transform .35s var(--motion-ease); }
.nav-mobile.open li { opacity: 1; transform: translateY(0); }
.nav-mobile.open li:nth-child(2) { transition-delay: 35ms; }
.nav-mobile.open li:nth-child(3) { transition-delay: 70ms; }
.nav-mobile.open li:nth-child(4) { transition-delay: 105ms; }
.nav-mobile.open li:nth-child(5) { transition-delay: 140ms; }
.nav-mobile a { transition: background .2s ease, color .2s ease, padding-left .25s var(--motion-ease); }
.nav-mobile a:hover { padding-left: 1.15rem; }

.hero-label { animation: hero-rise .75s .08s both var(--motion-ease); }
.hero-title { animation: hero-rise .85s .16s both var(--motion-ease); }
.hero-desc { animation: hero-rise .85s .25s both var(--motion-ease); }
.hero-btns { animation: hero-rise .85s .34s both var(--motion-ease); }
.hero-visual { animation: hero-pop .95s .14s both var(--motion-ease); }

@keyframes hero-rise {
  from { opacity: 0; transform: translate3d(0, 24px, 0); filter: blur(7px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}
@keyframes hero-pop {
  from { opacity: 0; transform: translate3d(0, 22px, 0) scale(.96) rotate(1deg); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0); }
}

#home::before { animation: ambient-drift 14s ease-in-out infinite alternate; }
#home::after { animation: ambient-drift 17s ease-in-out -5s infinite alternate-reverse; }
@keyframes ambient-drift {
  from { transform: translate3d(-10px, -8px, 0) scale(.96); }
  to { transform: translate3d(20px, 18px, 0) scale(1.06); }
}

.hero-img-main {
  transform: translate3d(0, var(--hero-shift, 0), 0);
  transition: transform .2s linear, box-shadow .45s var(--motion-ease);
  box-shadow: 0 18px 54px rgba(67, 43, 92, .16), 0 3px 10px rgba(124, 63, 228, .08);
}
.hero-img-wrap::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 8% -6% -5% 7%;
  border: 1px solid rgba(124, 63, 228, .16);
  border-radius: 36% 64% 56% 44% / 48% 42% 58% 52%;
  transform: rotate(-7deg);
  animation: frame-breathe 8s ease-in-out infinite alternate;
}
@keyframes frame-breathe {
  to { transform: rotate(-2deg) scale(1.035); border-color: rgba(216, 127, 192, .28); }
}
.hero-badge { animation: badge-float 4.8s ease-in-out infinite; }
.hero-badge--br { animation-delay: -2.1s; }
@keyframes badge-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

[data-reveal] {
  filter: blur(5px);
  transform: translate3d(0, 30px, 0) scale(.99);
  transition: opacity .78s var(--motion-ease), transform .78s var(--motion-ease), filter .78s var(--motion-ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
[data-reveal].is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.section-label { transition: color .25s ease, letter-spacing .35s var(--motion-ease); }
.section-header:hover .section-label,
.shop-intro:hover .section-label { color: var(--clr-purple-600); letter-spacing: .04em; }

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: color .25s ease, background .3s ease, border-color .3s ease,
    box-shadow .35s var(--motion-ease), transform .35s var(--motion-spring);
}
.btn::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 22%, rgba(255,255,255,.24) 48%, transparent 72%);
  transform: translateX(-120%);
  transition: transform .7s var(--motion-ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn:focus-visible, .back-to-top:focus-visible, .nav-hamburger:focus-visible {
  outline: 3px solid rgba(145, 86, 245, .42);
  outline-offset: 4px;
}

.prop-card, .product-card {
  transition: transform .45s var(--motion-spring), box-shadow .45s var(--motion-ease), border-color .3s ease;
}
.prop-card:hover {
  transform: translateY(-8px) rotate(-.6deg);
  border-color: rgba(172, 126, 255, .75);
}
.product-card {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(0);
  transform-style: preserve-3d;
}
.product-card:hover {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-8px);
  border-color: rgba(172, 126, 255, .7);
  box-shadow: 0 24px 52px rgba(76, 48, 112, .17), 0 4px 12px rgba(124, 63, 228, .08);
}
.product-img-wrap img { transition: transform .8s var(--motion-ease), filter .5s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.08); filter: saturate(1.08); }
.product-info { transition: transform .45s var(--motion-ease); }
.product-card:hover .product-info { transform: translateY(-2px); }

.gtrack-viewport { overscroll-behavior-x: contain; }
.gtrack-row li { transition: box-shadow .35s var(--motion-ease), border-color .3s ease; }
.gtrack-row li:hover { border-color: rgba(172, 126, 255, .82); }
.gtrack-row img { transition: transform .65s var(--motion-ease), filter .45s ease; }
.gtrack-row li:hover img { transform: scale(1.085); filter: saturate(1.08); }
.gtrack-row .caption { backdrop-filter: blur(8px); }

.about-img { transition: transform .75s var(--motion-ease), box-shadow .55s var(--motion-ease); }
.about-img-wrap:hover .about-img { transform: translateY(-5px) rotate(-.7deg); box-shadow: 0 24px 60px rgba(76, 48, 112, .19); }
.tag { transition: transform .25s var(--motion-spring), background .25s ease; }
.tag:hover { transform: translateY(-3px) rotate(-2deg); background: var(--clr-lilac); }

.contact-channel, .social-icons a { transition: transform .3s var(--motion-spring), background .25s ease, border-color .25s ease, color .25s ease; }
.footer-links a { display: inline-block; transition: color .25s ease, transform .3s var(--motion-spring); }
.footer-links a:hover { transform: translateX(5px); }

.lightbox-overlay {
  display: flex;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(20, 10, 40, .94);
  backdrop-filter: blur(12px);
  transition: opacity .32s ease, visibility .32s;
}
.lightbox-overlay.open { visibility: visible; opacity: 1; pointer-events: auto; }
.lightbox-overlay img { transform: scale(.94); transition: transform .45s var(--motion-ease); }
.lightbox-overlay.open img { transform: scale(1); }
.lightbox-close { transition: opacity .2s ease, transform .3s var(--motion-spring); }
.lightbox-close:hover { transform: rotate(90deg) scale(1.12); }

.back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 900;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--clr-purple-400), var(--clr-purple-600));
  box-shadow: 0 8px 24px rgba(75, 43, 119, .28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(.88);
  transition: opacity .3s ease, visibility .3s, transform .4s var(--motion-spring), box-shadow .3s ease;
  cursor: pointer;
}
.back-to-top svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.back-to-top:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 14px 30px rgba(75, 43, 119, .35); }

@media (max-width: 640px) {
  #header.is-scrolled { height: 3.5rem; }
  #header.is-scrolled + .nav-mobile { top: 3.5rem; }
  .hero-img-wrap::before { inset: 7% -3% -3% 3%; }
  .back-to-top { width: 2.8rem; height: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  [data-reveal] { opacity: 1 !important; filter: none !important; transform: none !important; }
  .hero-img-main { transform: none !important; }
}

/* --------------------------------------------------
   Creative studio art direction
-------------------------------------------------- */
:root {
  --clr-bg: #f8f4ec;
  --clr-bg-card: #fffdf9;
  --clr-bg-tape: rgba(255, 190, 135, .26);
  --clr-purple-50: #f0e9f7;
  --clr-purple-100: #e5d6f6;
  --clr-purple-200: #cfb1f4;
  --clr-purple-300: #b08be8;
  --clr-purple-400: #9864e1;
  --clr-purple-500: #7d43ce;
  --clr-purple-600: #54268e;
  --clr-text-dark: #27192c;
  --clr-text-body: #55475a;
  --clr-text-muted: #817386;
  --clr-border: #e5dccc;
  --clr-border-dark: #cbb7dd;
  --clr-shadow: rgba(44, 27, 52, .08);
  --clr-shadow-card: rgba(44, 27, 52, .13);
  --tape-purple: rgba(179, 131, 235, .62);
  --tape-pink: rgba(255, 144, 165, .65);
  --tape-yellow: rgba(255, 202, 92, .78);
  --tape-mint: rgba(118, 213, 187, .66);
  --motion-ease: cubic-bezier(.16, 1, .3, 1);
  --motion-spring: cubic-bezier(.2, .85, .25, 1);
}

html { background: var(--clr-bg); }
body {
  color: var(--clr-text-body);
  background-color: var(--clr-bg);
  background-image: radial-gradient(circle, rgba(72, 41, 92, .085) .8px, transparent .9px);
  background-size: 28px 28px;
}
.container { max-width: 1280px; }

#header {
  background: rgba(248, 244, 236, .88);
  border-bottom-color: rgba(229, 220, 204, .78);
  box-shadow: 0 5px 24px rgba(39, 25, 44, .06);
}
#header.is-scrolled { background: rgba(248, 244, 236, .96); }
.nav-inner { max-width: 1328px; }
.nav-logo img { height: 2.7rem; }
.nav-links { gap: .5rem; }
.nav-links a { font-size: .82rem; letter-spacing: .01em; }
.nav-cta { box-shadow: 0 6px 16px rgba(84, 38, 142, .2); }

#home {
  min-height: min(900px, calc(100svh - var(--nav-h)));
  padding: clamp(5rem, 9vw, 8.5rem) 0 clamp(4rem, 7vw, 6rem);
  color: #fff;
  background:
    radial-gradient(ellipse at 82% 24%, rgba(124, 67, 206, .34), transparent 37%),
    radial-gradient(ellipse at 8% 100%, rgba(238, 91, 148, .16), transparent 36%),
    linear-gradient(125deg, #21132b 0%, #2a1836 52%, #21132b 100%);
  isolation: isolate;
}
#home::before {
  top: 5%; right: -12%;
  width: min(66vw, 790px); height: min(66vw, 790px);
  background: radial-gradient(circle, rgba(167, 105, 240, .24), rgba(167, 105, 240, .035) 48%, transparent 70%);
  filter: blur(8px);
}
#home::after {
  bottom: -28%; left: 32%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255, 117, 125, .17), transparent 70%);
}
#home .container { width: 100%; max-width: 1328px; }
.hero-layout { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(2rem, 4vw, 4.5rem); }
.hero-copy { position: relative; z-index: 2; padding: 1.5rem 0 2rem; }
.hero-label {
  width: fit-content;
  gap: .55rem;
  padding: .58rem .88rem;
  margin-bottom: 1.45rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #f3c67d;
  background: rgba(255,255,255,.055);
  font-family: var(--font-body);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}
.hero-label::before { content: none; }
.hero-label span { color: #ff806f; }
.hero-title {
  max-width: 8.8ch;
  margin-bottom: 1.25rem;
  color: #fffaf3;
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 7.4vw, 7.25rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .94;
  text-wrap: balance;
}
.hero-title em {
  color: #ffbb74;
  font-style: italic;
  letter-spacing: -.07em;
  white-space: nowrap;
}
.hero-title em::after { display: none; }
.hero-desc {
  max-width: 31rem;
  margin-bottom: 2.2rem;
  color: rgba(255, 250, 243, .7);
  font-size: clamp(.98rem, 1.25vw, 1.12rem);
  line-height: 1.85;
}
.hero-btns { gap: 1rem; }
.btn--lg { padding: 1.05rem 1.5rem; font-size: .9rem; }
#home .btn--primary {
  color: #291630;
  background: #ffbd72;
  box-shadow: 0 12px 34px rgba(255, 153, 105, .22);
}
#home .btn--primary:hover { color: #291630; background: #ffd08f; box-shadow: 0 17px 42px rgba(255, 153, 105, .32); }
#home .btn--outline {
  color: rgba(255,255,255,.88);
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.035);
}
#home .btn--outline:hover { color: #fff; border-color: rgba(255,255,255,.72); background: rgba(255,255,255,.1); }
.hero-btns .btn span { display: inline-block; margin-left: .15rem; font-size: 1.1em; transition: transform .3s var(--motion-spring); }
.hero-btns .btn:hover span { transform: translate(3px, -3px); }
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  margin-top: clamp(2rem, 4.5vw, 4rem);
  color: rgba(255,255,255,.52);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  transition: color .25s ease, gap .3s var(--motion-spring);
}
.hero-scroll:hover { color: #fff; gap: .95rem; }
.hero-scroll__line { position: relative; width: 2.6rem; height: 1px; overflow: hidden; background: rgba(255,255,255,.3); }
.hero-scroll__line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #ffbd72;
  transform: translateX(-110%);
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line { 55%, 100% { transform: translateX(110%); } }

.hero-visual { perspective: 1200px; }
.hero-img-wrap { max-width: 660px; filter: drop-shadow(0 34px 50px rgba(0,0,0,.25)); }
.hero-img-main {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: translate3d(0, var(--hero-shift, 0), 0) rotateX(var(--hero-tilt-x, 0deg)) rotateY(var(--hero-tilt-y, 0deg));
  transition: transform .42s var(--motion-spring), filter .4s ease;
  will-change: transform;
}
.hero-img-wrap::before {
  z-index: 0;
  inset: 12% -3% 2% 12%;
  border: 1px solid rgba(255, 195, 124, .28);
  border-radius: 49% 51% 45% 55% / 53% 41% 59% 47%;
  box-shadow: 0 0 100px rgba(148, 90, 229, .19);
}
.hero-badge {
  z-index: 2;
  padding: .75rem 1rem;
  border: 1px solid rgba(255,255,255,.64);
  border-radius: 1rem;
  color: #2b1932;
  font-size: .72rem;
  box-shadow: 0 18px 38px rgba(14, 6, 20, .25);
  backdrop-filter: blur(12px);
}
.hero-badge--tl { top: 7%; left: -2%; transform: rotate(-7deg); background: #ffca76; }
.hero-badge--br { right: 0; bottom: 8%; transform: rotate(5deg); background: #e2d2ff; }

.ticker-band {
  position: relative;
  z-index: 3;
  overflow: hidden;
  margin-top: -3.25rem;
  margin-bottom: .5rem;
  padding: 1.15rem 0;
  color: #281830;
  background: #ffbd72;
  box-shadow: 0 18px 42px rgba(39, 25, 44, .2), 0 3px 0 rgba(255,255,255,.3) inset;
  transform: rotate(-1.15deg) scale(1.015);
}
.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(1.3rem, 3vw, 3.4rem);
  animation: ticker-flow 30s linear infinite;
  will-change: transform;
}
.ticker-band:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.7vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.ticker-track b { color: #8b3a9b; font-size: 1.45rem; }
@keyframes ticker-flow { to { transform: translateX(-50%); } }

#start { padding-top: clamp(6rem, 10vw, 9rem); padding-bottom: clamp(5rem, 8vw, 7rem); }
.section-header { max-width: 780px; margin: 0 auto 4rem; }
.section-label {
  color: #a25364;
  font-size: 1.05rem;
  letter-spacing: .01em;
}
.section-heading {
  color: #281830;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  letter-spacing: -.055em;
  line-height: 1.03;
}
.section-sub { color: #75687a; font-size: 1.02rem; }
.props-grid { gap: 1.1rem; }
.prop-card {
  min-height: 280px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(39, 25, 44, .09);
  border-radius: 1.2rem;
  background: rgba(255,253,249,.83);
  box-shadow: 0 8px 35px rgba(39, 25, 44, .055);
  text-align: left;
}
.prop-card::before { left: 2rem; width: 3.1rem; height: .38rem; border-radius: 99px; }
.prop-card:nth-child(1)::before { background: #f29a69; }
.prop-card:nth-child(2)::before { background: #ab83dd; }
.prop-card:nth-child(3)::before { background: #81cdb6; }
.prop-card img.prop-img { width: 3.55rem; height: 3.55rem; margin: .2rem 0 2.2rem; }
.prop-title { color: #281830; font-family: var(--font-head); font-size: 1.35rem; letter-spacing: -.02em; }
.prop-desc { max-width: 19rem; color: #75687a; font-size: .91rem; }

#about-us {
  padding: clamp(5rem, 9vw, 8rem) 0;
  color: #fff9f3;
  background: #ebe1ef;
  border: 0;
  isolation: isolate;
}
#about-us::before {
  top: 0; left: auto; right: -8%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(178,128,221,.22), transparent 68%);
}
.about-layout { gap: clamp(3rem, 8vw, 8rem); }
.about-img-wrap { padding: 1.3rem; border: 1px solid rgba(71, 45, 87, .13); border-radius: 1.7rem; background: rgba(255,255,255,.36); }
.about-img { border: 0; border-radius: 1.1rem; box-shadow: 0 25px 70px rgba(47, 26, 57, .18); transform: translate3d(0, var(--photo-shift, 0px), 0); }
.about-img-wrap::before { z-index: 2; top: -1.4rem; right: -1.5rem; width: 5.8rem; height: 5.8rem; background: #ffbd72; border: 0; box-shadow: 0 12px 30px rgba(47, 26, 57, .14); }
.about-eyebrow { color: #974976; font-size: 1.2rem; }
.about-heading { max-width: 11ch; color: #281830; font-size: clamp(2.4rem, 4.5vw, 4.2rem); letter-spacing: -.055em; line-height: 1.02; }
.about-body { color: #615367; font-size: 1rem; }
.about-badge-row { gap: .6rem; margin: 1.75rem 0; }
.tag { padding: .48rem .82rem; color: #56376d; background: rgba(255,255,255,.58); font-size: .65rem; letter-spacing: .08em; }

#what-we-customize { padding: clamp(6rem, 10vw, 9rem) 0; }
.shop-intro { max-width: 760px; margin: 0 auto 4rem; }
.shop-intro .section-label { display: inline-block; }
.shop-intro .section-heading { font-size: clamp(2.5rem, 5.7vw, 5rem); }
.shop-grid { gap: 1.15rem; }
.product-card {
  border: 1px solid rgba(39, 25, 44, .09);
  border-radius: 1.15rem;
  background: #fffdfa;
  box-shadow: 0 8px 28px rgba(39, 25, 44, .07);
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(0);
}
.product-card::after { height: 3px; }
.product-img-wrap { aspect-ratio: 1.12 / 1; background: #f0e8f2; }
.product-img-wrap img { transition: transform .9s var(--motion-ease), filter .6s ease; }
.product-info { min-height: 145px; padding: 1.25rem 1.35rem 1.5rem; }
.product-name { color: #281830; font-family: var(--font-head); font-size: 1.17rem; letter-spacing: -.025em; }
.product-desc { color: #796d7d; font-size: .86rem; }
.shop-cta-strip { margin-top: 3.5rem; }
.shop-cta-strip .btn--primary, .about-copy .btn--primary { background: #7d43ce; }

#project-gallery {
  padding: clamp(5rem, 9vw, 8rem) 0;
  color: #fff8f2;
  background:
    radial-gradient(ellipse at 14% 110%, rgba(203, 111, 162, .2), transparent 35%),
    radial-gradient(ellipse at 94% 2%, rgba(132, 91, 205, .24), transparent 36%),
    #26172f;
  border: 0;
}
#project-gallery .section-heading { color: #fff9f2; font-size: clamp(2.6rem, 5.6vw, 5rem); }
#project-gallery .section-label { color: #ffbd72; }
#project-gallery .section-sub { color: rgba(255,249,242,.63); margin: 0 auto; }
.gallery-header { margin-bottom: 3rem; }
.gtrack-viewport { padding-top: 1.8rem; padding-bottom: 2.2rem; gap: 1.35rem; }
.gtrack-row { gap: 1.25rem; }
.gtrack-row li {
  width: clamp(220px, 24vw, 330px);
  height: clamp(220px, 24vw, 330px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1rem;
  background: #372741;
  box-shadow: 0 12px 35px rgba(7, 2, 12, .24);
}
.gtrack-row li:hover { box-shadow: 0 25px 58px rgba(7,2,12,.45); }
.gtrack-row .caption { color: #fff; background: linear-gradient(transparent, rgba(25,13,31,.88)); }

#request-a-quote { padding: clamp(5rem, 9vw, 8rem) 0; }
.cta-block {
  padding: clamp(3rem, 7vw, 6.5rem) 2rem;
  border: 1px solid rgba(83, 48, 103, .11);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 9% 100%, rgba(255,188,114,.36), transparent 34%),
    radial-gradient(circle at 92% 4%, rgba(204,173,237,.45), transparent 34%),
    #f1e9f3;
  box-shadow: 0 25px 70px rgba(62, 37, 72, .09);
}
.cta-block::before { background: radial-gradient(circle, rgba(238,126,158,.18), transparent 70%); }
.cta-block .section-label { color: #9b4e68; }
.cta-block__heading { max-width: 12ch; margin: 0 auto 1rem; color: #281830; font-size: clamp(2.7rem, 5vw, 4.5rem); letter-spacing: -.055em; line-height: 1; }
.cta-block__body { color: #75687a; }
.cta-block .btn--primary { background: #7d43ce; }
.cta-block .btn--outline { border-color: rgba(84,38,142,.32); }

#contacts { border-top: 0; background: #21132b; }
.footer-contact-heading { font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.04em; }
.footer-map-wrap, .contact-channel { border-radius: 1rem; }
.footer-map-wrap iframe { filter: saturate(.72) contrast(1.04); transition: filter .45s ease; }
.footer-map-wrap:hover iframe { filter: saturate(1) contrast(1.04); }
.footer-copy { color: rgba(255,255,255,.47); }

/* One-time reveals now travel farther and resolve with a more tactile ease. */
[data-reveal] {
  filter: blur(12px);
  transform: translate3d(0, 72px, 0) scale(.94);
  transition: opacity .95s var(--motion-ease), transform 1.05s var(--motion-ease), filter .9s var(--motion-ease);
}
[data-reveal].is-visible { filter: blur(0); transform: translate3d(0,0,0) scale(1); }
.prop-card[data-reveal], .product-card[data-reveal] { transform: translate3d(0, 84px, 0) scale(.92) rotate(1.5deg); }
.prop-card[data-reveal].is-visible, .product-card[data-reveal].is-visible { transform: translate3d(0,0,0) scale(1) rotate(0); }
.prop-card[data-reveal]:nth-child(2), .product-card[data-reveal]:nth-child(even) { transition-delay: 90ms; }
.prop-card[data-reveal]:nth-child(3), .product-card[data-reveal]:nth-child(3n) { transition-delay: 180ms; }
.product-card[data-reveal]:nth-child(3n + 2) { transition-delay: 270ms; }
.gtrack-outer[data-reveal] { transform: translate3d(0, 64px, 0) scale(.97); }
.prop-card[data-reveal].is-visible:hover { transform: translateY(-8px) rotate(-.6deg); }
.product-card[data-reveal].is-visible:hover {
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-8px);
}
.about-img-wrap:hover .about-img { transform: translate3d(0, calc(var(--photo-shift, 0px) - 5px), 0) rotate(-.7deg); }

@media (max-width: 900px) {
  #home { min-height: auto; padding-top: 5rem; }
  .hero-layout { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-copy { padding-bottom: 0; }
  .hero-title { max-width: 10ch; font-size: clamp(3.7rem, 10vw, 6rem); }
  .hero-visual { order: 0; width: min(100%, 620px); margin: 0 auto; }
  .hero-img-wrap { max-width: 570px; }
  .hero-scroll { margin-top: 1.8rem; }
  .about-layout { gap: 3rem; }
  .gtrack-row li { width: 260px; height: 260px; }
}
@media (max-width: 640px) {
  #home { padding: 4.25rem 0 3.5rem; }
  .hero-layout { gap: 1.5rem; }
  .hero-label { margin-bottom: 1rem; font-size: .59rem; }
  .hero-title { max-width: 9.5ch; font-size: clamp(3.15rem, 13.5vw, 5rem); }
  .hero-desc { max-width: 31rem; font-size: .95rem; }
  .hero-btns { align-items: stretch; flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  .hero-scroll { margin-top: 1.5rem; }
  .hero-badge { display: block; padding: .55rem .7rem; font-size: .61rem; }
  .hero-badge--tl { left: -1%; }
  .hero-badge--br { right: -1%; bottom: 5%; }
  .ticker-band { margin-top: -2rem; margin-bottom: .25rem; padding: .88rem 0; }
  .ticker-track { animation-duration: 22s; }
  .props-grid, .shop-grid { grid-template-columns: 1fr; }
  .prop-card { min-height: auto; padding: 2rem 1.5rem; }
  .prop-card img.prop-img { margin-bottom: 1.4rem; }
  .about-img-wrap { padding: .8rem; }
  .about-img-wrap::before { display: block; top: -.7rem; right: -.65rem; width: 3.6rem; height: 3.6rem; }
  .gtrack-row li { width: 230px; height: 230px; }
  .gtrack-viewport { padding-left: 36px; padding-right: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; transform: none; }
  .hero-img-wrap::before { animation: none; }
  .hero-scroll__line::after { animation: none; transform: none; }
  .prop-card[data-reveal], .product-card[data-reveal] { transform: none; }
}


/* ===========================================================
   MOBILE COMPATIBILITY PATCH
   Full audit pass — addresses all issues identified in review
   =========================================================== */

/* -----------------------------------------------------------
   1. Hamburger at tablet widths (641–900px)
      The layout already collapses to single-column at 900px,
      but the desktop nav links were still visible. Show the
      hamburger from 900px down so the nav never feels crowded.
----------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-links  { display: none; }
  .nav-hamburger { display: flex; }
}

/* Restore the desktop nav for wide viewports (sanity override) */
@media (min-width: 901px) {
  .nav-links  { display: flex; }
  .nav-hamburger { display: none; }
}

/* -----------------------------------------------------------
   2. Mobile nav drawer — make sure it sits correctly when
      the header shrinks on scroll at ≤900px (not just 640px)
----------------------------------------------------------- */
@media (max-width: 900px) {
  #header.is-scrolled + .nav-mobile { top: 3.65rem; }
}

/* -----------------------------------------------------------
   3. Hero section — prevent badge overflow on narrow phones.
      Use overflow: visible on the wrap but clip via the
      section's own overflow:hidden, and tighten badge offsets.
----------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-badge--tl { left: 2%; top: -0.5rem; }
  .hero-badge--br { right: 2%; bottom: 3%; }
  .hero-img-wrap  { max-width: 100%; }
}

/* -----------------------------------------------------------
   4. Container horizontal padding — tighten on very small
      phones so content has a bit more breathing room.
----------------------------------------------------------- */
@media (max-width: 400px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
}

/* -----------------------------------------------------------
   5. Footer brand logo — limit height on mobile so it
      doesn't take up disproportionate vertical space.
----------------------------------------------------------- */
@media (max-width: 640px) {
  .footer-brand img {
    height: 4.5rem;
  }
}

/* -----------------------------------------------------------
   6. Footer bottom grid — ensure 3-col collapses to 1-col
      at tablet too (not just at 640px), since the narrow
      text columns look cramped on 641–900px.
      Also re-confirm 1-col at very small screens.
----------------------------------------------------------- */
@media (max-width: 900px) {
  .footer-bottom { grid-template-columns: 1fr; gap: 2rem; }
}

/* -----------------------------------------------------------
   7. Gallery touch padding — reduce on very small phones
      (320–400px) so the fade masks don't eat too much space.
----------------------------------------------------------- */
@media (max-width: 400px) {
  .gtrack-viewport { padding-left: 20px; padding-right: 20px; }
  .gtrack-row li   { width: 180px; height: 180px; }
}

/* -----------------------------------------------------------
   8. Gallery edge-fade mask — don't apply on small screens
      where the mask eats most of the visible width.
      Cards still scroll; we just remove the gradient mask.
----------------------------------------------------------- */
@media (max-width: 480px) {
  .gtrack-viewport {
    -webkit-mask-image: none;
    mask-image: none;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* -----------------------------------------------------------
   9. CTA block actions — stack buttons on phones in the
      art-direction version of the block too.
----------------------------------------------------------- */
@media (max-width: 640px) {
  .cta-block__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-block__actions .btn {
    justify-content: center;
    width: 100%;
  }
  .cta-block {
    padding: var(--space-xl) var(--space-sm);
  }
}

/* -----------------------------------------------------------
  10. About section decorative element overflow fix.
      At tablet widths the positioned ::before circle can
      bleed outside .about-img-wrap and cause scroll.
----------------------------------------------------------- */
@media (max-width: 900px) {
  .about-img-wrap::before { display: none; }
}

/* -----------------------------------------------------------
  11. Touch targets — ensure all interactive elements meet
      the 44×44px minimum. Applies to nav links, footer links,
      and social icon anchors.
      Only enforced at mobile widths to avoid disrupting
      the desktop layout and underline pseudo-element.
----------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-mobile a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.social-icons a {
  width: 2.75rem;
  height: 2.75rem;
}

/* -----------------------------------------------------------
  12. Back-to-top button — slightly larger tap target on touch
      devices (complements existing clamp sizing).
----------------------------------------------------------- */
@media (max-width: 640px) {
  .back-to-top {
    width: 3.2rem;
    height: 3.2rem;
  }
}

/* -----------------------------------------------------------
  13. Lightbox — on small screens the close button can be
      hard to tap. Move it inside the safe area and enlarge.
----------------------------------------------------------- */
@media (max-width: 640px) {
  .lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 1.75rem;
    padding: 0.5rem;
    background: rgba(0,0,0,0.45);
    border-radius: 50%;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lightbox-overlay {
    padding: 1rem;
  }

  .lightbox-overlay img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 0.75rem;
  }
}

/* -----------------------------------------------------------
  14. Ticker band — remove the rotation on phones as it can
      cause tiny horizontal overflow gaps near the edges.
----------------------------------------------------------- */
@media (max-width: 640px) {
  .ticker-band {
    transform: none;
  }
}

/* -----------------------------------------------------------
  15. Product cards — ensure text doesn't overflow on small
      phones. The min-height on product-info can cause
      whitespace issues when cards are full-width.
----------------------------------------------------------- */
@media (max-width: 640px) {
  .product-info { min-height: unset; }
  .prop-card { min-height: unset; }
}

/* -----------------------------------------------------------
  16. Section headings — ensure very long words (or CJK/
      accented text) don't cause horizontal scroll.
----------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-heading,
.about-heading,
.cta-block__heading,
.footer-contact-heading {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* -----------------------------------------------------------
  17. Images — defensive max-width so nothing overflows its
      container on edge-case viewport sizes.
----------------------------------------------------------- */
img { max-width: 100%; height: auto; }

/* -----------------------------------------------------------
  18. Form card — ensure the quote/CTA form looks right on
      mid-range tablets that were previously untouched.
----------------------------------------------------------- */
@media (max-width: 900px) {
  .form-card { padding: 2rem 1.75rem; }
}
@media (max-width: 480px) {
  .form-card { padding: 1.5rem 1.1rem; }
}

/* -----------------------------------------------------------
  19. Scroll padding — ensure anchor navigation (hash links)
      accounts for the nav height at all viewport sizes.
      svh unit for mobile address-bar-aware behavior.
----------------------------------------------------------- */
html {
  scroll-padding-top: calc(var(--nav-h) + 0.5rem);
}

/* -----------------------------------------------------------
  20. nav-mobile — close the gap on is-scrolled header height
      for the 640–900px range specifically.
----------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-mobile { top: var(--nav-h); }
  #header.is-scrolled + .nav-mobile { top: 3.65rem; }
}


/* ===========================================================
   MOBILE-FIRST REDESIGN
   At ≤768px the layout shifts from "desktop shrunk down"
   to a layout that feels intentionally built for mobile —
   centered hero, app-style CTA buttons, compact but rich
   footer, card-based contact channels, and a sticky CTA bar.
   =========================================================== */

@media (max-width: 768px) {

  /* ---------------------------------------------------------
     NAV — compact, centered logo, bigger hamburger
  --------------------------------------------------------- */
  .nav-inner {
    padding: 0 1.25rem;
  }

  .nav-logo img {
    height: 2.2rem;
  }

  .nav-hamburger {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(124,63,228,0.08);
    border-radius: var(--radius-sm);
    border: 1px solid var(--clr-border);
  }

  /* ---------------------------------------------------------
     MOBILE DRAWER — full-width, taller links, icons
  --------------------------------------------------------- */
  .nav-mobile {
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .nav-mobile ul {
    gap: 0.15rem;
  }

  .nav-mobile a {
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
  }

  .nav-mobile a:hover {
    border-color: var(--clr-border);
    padding-left: 1.25rem;
  }

  /* ---------------------------------------------------------
     HERO — centered, stacked, full-bleed feel
  --------------------------------------------------------- */
  #home {
    padding: 5rem 0 3rem;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-label {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    max-width: 100%;
    text-align: center;
  }

  .hero-desc {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 22rem;
    margin: 0 auto;
    gap: 0.65rem;
  }

  .hero-btns .btn {
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
  }

  .hero-scroll {
    justify-content: center;
    margin-top: 1.5rem;
  }

  /* Hero image — centered, no floating badges */
  .hero-visual {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-img-wrap {
    max-width: 100%;
    border-radius: var(--radius-lg);
  }

  .hero-badge {
    display: none;
  }

  /* ---------------------------------------------------------
     TICKER BAND — tighter on mobile
  --------------------------------------------------------- */
  .ticker-band {
    margin-top: -1.5rem;
    transform: none;
  }

  /* ---------------------------------------------------------
     SECTION HEADERS — centered text, tighter spacing
  --------------------------------------------------------- */
  .section-header,
  .shop-intro,
  .gallery-header__text {
    text-align: center;
    padding: 0 0.5rem;
    margin-bottom: 2rem;
  }

  .section-heading,
  .shop-intro .section-heading {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
  }

  .section-label {
    font-size: 0.95rem;
  }

  .section-sub {
    font-size: 0.9rem;
  }

  /* ---------------------------------------------------------
     VALUE PROPS — single column, horizontal card layout
  --------------------------------------------------------- */
  .props-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .prop-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.25rem;
    min-height: unset;
    text-align: left;
  }

  .prop-card::before {
    /* washi tape on left side instead of top */
    top: 0; bottom: 0; left: 0;
    right: auto;
    width: 0.35rem;
    height: auto;
    transform: none;
    border-radius: 99px 0 0 99px;
  }

  .prop-card:nth-child(2)::before { transform: none; }
  .prop-card:nth-child(3)::before { transform: none; }

  .prop-card img.prop-img {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    margin: 0;
  }

  .prop-card .prop-title {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }

  .prop-card .prop-desc {
    font-size: 0.85rem;
    max-width: 100%;
  }

  /* ---------------------------------------------------------
     ABOUT — centered, image full-width
  --------------------------------------------------------- */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-heading {
    max-width: 100%;
    font-size: clamp(1.9rem, 7vw, 2.6rem);
    text-align: center;
  }

  .about-badge-row {
    justify-content: center;
  }

  .about-img-wrap {
    max-width: 320px;
    margin: 0 auto;
  }

  .about-img-wrap::before { display: none; }

  /* ---------------------------------------------------------
     SHOP GRID — 2 columns on mobile (feels like a store)
  --------------------------------------------------------- */
  .shop-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .product-card {
    border-radius: var(--radius-md);
  }

  .product-img-wrap {
    aspect-ratio: 1 / 1;
  }

  .product-info {
    padding: 0.8rem 0.85rem 1rem;
    min-height: unset;
  }

  .product-name {
    font-size: 0.82rem;
    line-height: 1.3;
    margin-bottom: 0.2rem;
  }

  .product-desc {
    font-size: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .shop-cta-strip {
    margin-top: 2rem;
  }

  .shop-cta-strip .btn {
    width: 100%;
    justify-content: center;
  }

  /* ---------------------------------------------------------
     CTA BLOCK — centered, full-width buttons, app-like
  --------------------------------------------------------- */
  #request-a-quote {
    padding: 3rem 0;
  }

  .cta-block {
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.25rem;
    text-align: center;
  }

  .cta-block__heading {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
    max-width: 14ch;
    margin: 0 auto 0.75rem;
  }

  .cta-block__body {
    font-size: 0.875rem;
    margin-bottom: 1.75rem;
  }

  .cta-block__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    max-width: 22rem;
    margin: 0 auto;
  }

  .cta-block__actions .btn {
    justify-content: center;
    width: 100%;
    padding: 1rem 1.25rem;
  }

  /* ---------------------------------------------------------
     FOOTER — mobile-first redesign
     Order: Logo + tagline → Map → Contact channels → Links → Copyright
  --------------------------------------------------------- */
  #contacts {
    padding: 2.5rem 0 0;
  }

  /* Hide the desktop "Say Hello" section header on mobile
     (we inline it more naturally) */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }

  /* Brand block — centered, top of footer */
  .footer-brand-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.25rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 2rem;
  }

  .footer-brand-mobile img {
    height: 4rem;
    width: auto;
    margin-bottom: 0.75rem;
  }

  .footer-brand-mobile p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    max-width: 24rem;
  }

  /* Map — full width, shorter aspect ratio on mobile */
  .footer-map-wrap {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    margin: 0 0 2rem;
  }

  /* Contact section heading */
  .footer-reach {
    order: 2;
    padding: 0 0 2rem;
  }

  .footer-contact-heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
    text-align: center;
    margin-bottom: 0.4rem;
  }

  .footer-contact-sub {
    text-align: center;
    font-size: 0.825rem;
    margin-bottom: 1.5rem;
  }

  /* Contact channel cards — full-width, taller tap targets */
  .contact-channels {
    gap: 0.6rem;
    margin-top: 0;
  }

  .contact-channel {
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.12);
    gap: 0.85rem;
  }

  .contact-channel:hover,
  .contact-channel:active {
    transform: none;
    background: rgba(145,86,245,0.22);
  }

  .contact-channel__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.6rem;
  }

  .contact-channel__text strong {
    font-size: 0.875rem;
  }

  .contact-channel__text span {
    font-size: 0.75rem;
  }

  /* Footer bottom — reordered for mobile:
     social icons → quick links */
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    border-top: none;
  }

  /* Hide the desktop brand block inside footer-bottom on mobile
     (we use footer-brand-mobile instead) */
  .footer-bottom > .footer-brand {
    display: none;
  }

  /* Social icons section */
  .footer-bottom > div:nth-child(2) {
    padding: 2rem 0 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
  }

  .footer-col-heading {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.7rem;
  }

  .social-icons {
    justify-content: center;
    gap: 0.75rem;
  }

  .social-icons a {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.09);
  }

  .social-icons svg {
    width: 1.15rem;
    height: 1.15rem;
  }

  /* Quick links — 2 columns on mobile */
  .footer-bottom > div:nth-child(3) {
    padding: 1.5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }

  .footer-links li {
    width: 50%;
    text-align: center;
  }

  .footer-links a {
    font-size: 0.825rem;
    padding: 0.5rem 0.5rem;
    color: rgba(255,255,255,0.6);
    justify-content: center;
    min-height: 44px;
  }

  .footer-links a:hover {
    transform: none;
    color: var(--clr-lavender);
  }

  /* Copyright */
  .footer-copy {
    padding: 1rem 0;
    font-size: 0.72rem;
    line-height: 1.6;
  }

  /* ---------------------------------------------------------
     BACK-TO-TOP — bigger, bottom-left on mobile so it
     doesn't overlap the contact CTA
  --------------------------------------------------------- */
  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 3rem;
    height: 3rem;
  }

  /* ---------------------------------------------------------
     SECTION vertical spacing — tighter on mobile
  --------------------------------------------------------- */
  #start,
  #what-we-customize,
  #request-a-quote {
    padding-top: clamp(3rem, 8vw, 5rem);
    padding-bottom: clamp(3rem, 8vw, 5rem);
  }

  #about-us {
    padding: clamp(2.5rem, 7vw, 4.5rem) 0;
  }

  #project-gallery {
    padding: clamp(2.5rem, 7vw, 4rem) 0;
  }

  /* ---------------------------------------------------------
     LIGHTBOX — full-screen on mobile
  --------------------------------------------------------- */
  .lightbox-overlay {
    padding: 0;
    background: rgba(0,0,0,0.97);
  }

  .lightbox-overlay img {
    max-width: 100vw;
    max-height: 90vh;
    border-radius: 0;
    object-fit: contain;
  }

  .lightbox-close {
    top: env(safe-area-inset-top, 0.75rem);
    right: 0.75rem;
    background: rgba(0,0,0,0.55);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    padding: 0;
  }
}

/* ---------------------------------------------------------
   Footer brand mobile block — inject via CSS display trick.
   The real .footer-brand inside .footer-bottom is hidden on
   mobile. We add a new .footer-brand-mobile div in HTML
   at the top of the footer. Show/hide based on screen size.
--------------------------------------------------------- */
.footer-brand-mobile { display: none; }

@media (max-width: 768px) {
  .footer-brand-mobile { display: flex; }
}

/* Extra-small phones (≤380px) */
@media (max-width: 380px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .product-name { font-size: 0.9rem; }
  .product-desc { font-size: 0.82rem; }

  .hero-btns {
    max-width: 100%;
  }

  .footer-links li {
    width: 100%;
  }
}

/* ---------------------------------------------------------
   Footer top — reorder children on mobile:
   map (div:nth-child(2)) comes BEFORE contact reach (div:nth-child(1))
   so users see the map first, then tap a contact channel.
--------------------------------------------------------- */
@media (max-width: 768px) {
  .footer-top {
    display: flex;
    flex-direction: column;
  }

  .footer-top > .footer-reach {
    order: 2;
  }

  .footer-top > div:last-child {
    order: 1;
  }
}
