/* ==========================================================================
   Enzo Living — enzoliving.co
   Monochrome palette, Archivo + Inter, sharp corners.
   Sibling brand to Enzo Spaces; manufactured by Kabinart Ghana Ltd.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/archivo-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215;
}

/* ── Tokens ───────────────────────────────────────────────────────────────── */
:root {
  --black:      #0D0D0D;
  --white:      #FFFFFF;
  --stone:      #F3F0EB;   /* warm off-white for alt sections */
  --stone-mid:  #E4DFD6;   /* card borders, dividers */
  --ink:        #1C1917;   /* primary text */
  --mid:        #78736C;   /* secondary text */
  --border:     #DDD9D2;

  --font-heading: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1180px;
  --section-pad: 96px;
  --radius: 2px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-optical-sizing: auto; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }

/* Reduced motion — cross-fade only, no slides or springs */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Accessibility ────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 300;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 20px;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ── Loading state ────────────────────────────────────────────────────────── */
html.is-loading, html.is-loading body { overflow: hidden; height: 100%; }

/* ── Preloader ────────────────────────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.75s cubic-bezier(0.76, 0, 0.24, 1);
}
#preloader.preloader-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}
.preloader-mark {
  height: 52px;
  width: auto;
  object-fit: contain;
  animation: markSpin 1.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  transition: opacity 0.3s ease;
}
#preloader.preloader-exit .preloader-mark {
  animation: none;
  opacity: 0;
}
@keyframes markSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .preloader-mark { animation: none; }
  #preloader { transition: opacity 0.3s ease; }
  #preloader.preloader-hidden { transform: none; opacity: 0; }
}

/* ── Scroll progress ─────────────────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--black);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 100%;
  padding-left: clamp(32px, 4vw, 80px);
  padding-right: clamp(32px, 4vw, 80px);
}

/* Transparent header — home hero only */
/* Default: hide white logo everywhere; only shown on home before scroll */
.logo-white { display: none; }

.page-home .site-header { background: transparent; }
.page-home .site-header .logo-dark { display: none; }
.page-home .site-header .logo-white { display: flex; }
.page-home .site-header .logo-living { color: rgba(255,255,255,0.65); }
.page-home .site-header .main-nav a { color: rgba(255,255,255,0.85); }
.page-home .site-header .main-nav a:hover { color: var(--white); }
.page-home .site-header .btn-nav {
  background: rgba(18,10,4,0.72);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.55);
  font-size: 0.86rem;
  padding: 13px 36px;
  box-shadow: none;
}
.page-home .site-header .btn-nav:hover {
  background: rgba(50,32,12,0.88);
  color: #fff;
  border-color: rgba(255,255,255,0.75);
}

/* Scrolled / solid header (added by JS) — translucent glass per Apple Design */
.site-header.header-solid,
.page-interior .site-header {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: none;
  border-bottom-color: transparent;
}
.site-header.header-solid .logo-dark,
.page-interior .site-header .logo-dark { display: flex; }
.site-header.header-solid .logo-white,
.page-interior .site-header .logo-white { display: none; }
.site-header.header-solid .logo-living,
.page-interior .site-header .logo-living { color: var(--mid); }
.site-header.header-solid .main-nav a,
.page-interior .site-header .main-nav a { color: #111111; }
.site-header.header-solid a.btn-nav,
.page-interior .site-header a.btn-nav {
  background: var(--black);
  color: var(--white);
  border-color: transparent;
  font-size: 0.86rem;
  padding: 13px 36px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header.header-solid a.btn-nav:hover,
.page-interior .site-header a.btn-nav:hover {
  background: #2a2a2a;
  color: var(--white);
  border-color: transparent;
}

/* Dark-themed interior pages (projects) — invert the button so it stays visible on black */
body.page-projects .site-header a.btn-nav {
  background: var(--white);
  color: var(--black);
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
body.page-projects .site-header a.btn-nav:hover {
  background: rgba(255,255,255,0.85);
  color: var(--black);
  border-color: transparent;
}

/* Logo lockup */
.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 0;
}
.logo-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}
.logo-dark,
.logo-white {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 0;
}
.logo-wordmark {
  height: 32px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.logo-living {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #6B6B6B;
  line-height: 1;
  margin-top: 4px;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #111111;
  padding: 4px 0 5px;
  position: relative;
  transition: color 0.18s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: currentColor;
  transition: width 0.3s var(--ease-out);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { width: 100%; }

/* btn-nav is an <a> inside .main-nav — kill inherited underline */
.main-nav .btn-nav::after { display: none !important; }

.btn-nav {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 13px 30px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 999px;
  color: var(--black);
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 1px 6px rgba(0,0,0,0.07);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
              transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-nav:hover {
  background: var(--black);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}
.btn-nav:active {
  transform: scale(0.96) translateY(0);
  transition: transform 80ms ease-out;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  color: var(--white);
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}
.page-home .site-header .nav-toggle span { color: var(--white); }
.site-header.header-solid .nav-toggle span,
.page-interior .site-header .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: var(--section-pad) 0; }
.section-tight { padding: 60px 0; }
.section-flush { padding: 0; }

/* ── Type ────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
}
/* Apple Design: tighten tracking as size grows — large text reads too spaced-out otherwise */
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }
p  { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--mid);
  margin-bottom: 0.75em;
  display: block;
}
.eyebrow-light { color: rgba(255,255,255,0.65); }

.lede {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--mid);
  max-width: 600px;
}
.lede-dark { color: var(--ink); }

/* ── Cursor ──────────────────────────────────────────────────────────────── */
.btn,
.btn-nav,
.form-tab-btn,
.filter-btn,
.product-card,
.kabinart-badge,
.nav-toggle { cursor: pointer; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
  text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.12); }
/* Apple Design: respond instantly on press, scale down slightly — feels physical */
.btn:active { transform: scale(0.97); box-shadow: none; transition-duration: 0.08s; }
.btn-black  { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-black:hover { background: #2a2a2a; border-color: #2a2a2a; color: var(--white); }
.btn-white  { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-white:hover { background: var(--stone); color: var(--black); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.btn-outline:hover { background: var(--black); color: var(--white); border-color: var(--black); transform: none !important; box-shadow: none; }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-sm { padding: 10px 22px; font-size: 0.8rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2em; }

/* ── Backgrounds ─────────────────────────────────────────────────────────── */
.bg-stone { background: var(--stone); }
.bg-black { background: var(--black); color: var(--white); }
.bg-black h1, .bg-black h2, .bg-black h3 { color: var(--white); }
.bg-black .eyebrow { color: rgba(255,255,255,0.5); }
.bg-black .lede { color: rgba(255,255,255,0.65); }

/* ── Photo placeholder ───────────────────────────────────────────────────── */
.photo-ph {
  background: var(--stone-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.photo-ph::after {
  content: attr(data-label);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 16px;
  text-align: center;
}
.photo-ph--hero   { aspect-ratio: 16/9; width: 100%; }
.photo-ph--sq     { aspect-ratio: 1/1; }
.photo-ph--port   { aspect-ratio: 3/4; }
.photo-ph--land   { aspect-ratio: 4/3; }
.photo-ph--wide   { aspect-ratio: 21/9; }
.photo-ph--dark   { background: #1C1917; }
.photo-ph--dark::after { color: rgba(255,255,255,0.35); }

/* ── Reveal animations ───────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.35s; }
[data-reveal][data-delay="4"] { transition-delay: 0.5s; }
[data-reveal][data-delay="5"] { transition-delay: 0.65s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
/* No-JS fallback */
noscript [data-reveal], html:not(.js) [data-reveal] { opacity: 1; transform: none; }

/* ── Hero — full page (Home) ─────────────────────────────────────────────── */
.hero-full {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 80px; /* header height */
}
.hero-full .hero-bg {
  position: absolute;
  inset: 0;
  background: #1A1714;
  z-index: 0;
}
.hero-full .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-full .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}
.hero-full .hero-content {
  position: relative;
  z-index: 2;
  padding: 72px 0 80px;
  color: var(--white);
  max-width: 740px;
}
.hero-full h1 {
  color: var(--white);
  margin-bottom: 0.4em;
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.022em;
}
.hero-full .lede { color: rgba(255,255,255,0.75); max-width: 520px; font-size: 1.1rem; }

/* ── Page hero (interior pages) ─────────────────────────────────────────── */
.page-hero {
  padding-top: 80px; /* header height */
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.page-hero .container {
  padding-top: 64px;
  padding-bottom: 72px;
  max-width: var(--max-width);
}
.page-hero h1 { color: var(--white); max-width: 720px; }
.page-hero .lede { color: rgba(255,255,255,0.65); }

/* ── Home product cards ──────────────────────────────────────────────────── */
/* ── Products editorial (home) ───────────────────────────────────────────── */
.products-editorial {
  background: var(--stone);
  padding: 80px 0 0;
}
.prod-ed-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 36px;
}
.prod-ed-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.14;
  color: var(--black);
  margin: 0;
  max-width: 520px;
}
.prod-ed-header-right {
  flex-shrink: 0;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 6px;
}
.prod-ed-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mid);
  margin: 0;
}
/* Grid: large left + right column of 2 */
.prod-ed-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 10px;
  padding: 0 10px;
  height: 600px;
}
.prod-ed-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prod-ed-col .prod-ed-card { flex: 1; height: auto; }
.prod-ed-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  height: 100%;
  text-decoration: none;
  background: #1a1a1a;
}
.prod-ed-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.prod-ed-card:hover .prod-ed-photo { transform: scale(1.05); }
.prod-ed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.05) 55%, transparent 80%);
}
.prod-ed-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 24px 26px;
  z-index: 2;
}
.prod-ed-caption--sm { padding: 14px 18px 16px; }
.prod-ed-caption-tag {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px;
}
.prod-ed-caption--sm .prod-ed-caption-tag {
  margin-bottom: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.92);
}
.prod-ed-caption-title {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}

@media (max-width: 768px) {
  .prod-ed-header { flex-direction: column; gap: 16px; padding-bottom: 24px; }
  .prod-ed-header-right { max-width: 100%; }
  .prod-ed-grid { grid-template-columns: 1fr; height: auto; gap: 8px; padding: 0 8px; }
  .prod-ed-card { height: 260px !important; border-radius: 8px; }
  .prod-ed-col { flex-direction: row; }
  .prod-ed-col .prod-ed-card { flex: 1; height: 180px !important; }
  .products-editorial { padding: 56px 0 0; }
}

/* ── Two-up / three-up columns ───────────────────────────────────────────── */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.col-reverse { order: -1; }

/* ── Section header ──────────────────────────────────────────────────────── */
.section-header { margin-bottom: 52px; }
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* ── Gallery preview (home) ──────────────────────────────────────────────── */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.gallery-preview-grid .photo-ph { aspect-ratio: 3/4; }

/* ── Projects preview strip ──────────────────────────────────────────────── */
.proj-preview {
  background: var(--white);
  padding-bottom: 0;
  overflow: hidden;
}
.proj-preview-header {
  text-align: center;
  padding: 80px 40px 48px;
}
.proj-preview-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--black);
  margin: 10px 0 28px;
}
.proj-preview-cta {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 999px;
  transition: opacity 0.2s;
}
.proj-preview-cta:hover { opacity: 0.75; }

/* Marquee / auto-scrolling banner */
.proj-marquee {
  overflow: hidden;
  width: 100%;
  padding: 16px 0 0;
  cursor: pointer;
}
.proj-marquee-track {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: max-content;
  animation: proj-scroll 32s linear infinite;
}
@keyframes proj-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.proj-marquee-item {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
/* Varied heights — alternating tall / short / medium */
.proj-marquee-item:nth-child(odd)  { height: 320px; width: 420px; }
.proj-marquee-item:nth-child(even) { height: 260px; width: 360px; }
.proj-marquee-item:nth-child(3n)   { height: 290px; width: 390px; }

.proj-marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.proj-marquee-item:hover img { transform: scale(1.05); }

@media (max-width: 768px) {
  .proj-marquee-item:nth-child(odd)  { height: 200px; width: 260px; }
  .proj-marquee-item:nth-child(even) { height: 160px; width: 220px; }
  .proj-marquee-item:nth-child(3n)   { height: 180px; width: 240px; }
  .proj-preview-header { padding: 56px 24px 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .proj-marquee-track { animation: none; }
}

/* ── Gallery full ────────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.gallery-grid .photo-ph { aspect-ratio: 4/3; }
.gallery-grid .span-2  { grid-column: span 2; }
.gallery-grid .span-2 .photo-ph { aspect-ratio: 8/3; }

/* ── Feature block (product pages) ──────────────────────────────────────── */
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.feature-block .photo-ph { aspect-ratio: 1/1; }

/* ── Process steps (legacy — kept for process.html) ─────────────────────── */
.process-steps { list-style: none; margin: 0; padding: 0; }
.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:first-child { border-top: 1px solid var(--border); }
.step-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--stone-mid);
  line-height: 1;
  padding-top: 2px;
}
.step-body h3 { font-size: 1.3rem; margin-bottom: 0.35em; }
.step-body p  { color: var(--mid); margin-bottom: 0; font-size: 0.95rem; }

/* ── Process section — homepage horizontal grid ──────────────────────────── */
.process-section {
  background: var(--stone);
  padding: 88px 0;
}
.process-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
}
.process-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--black);
  margin: 8px 0 0;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  margin: 0; padding: 0;
}
.process-col {
  padding: 0 36px 0 0;
  border-right: 1px solid var(--border);
  padding-right: 32px;
}
.process-col:first-child { padding-left: 0; }
.process-col:last-child { border-right: none; padding-right: 0; }
.process-col + .process-col { padding-left: 32px; }

.process-col-rule {
  height: 2px;
  background: var(--black);
  width: 32px;
  margin-bottom: 24px;
}
.process-col-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mid);
  margin-bottom: 16px;
}
.process-col-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.process-col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 10px;
}
.process-col-body {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--mid);
  margin: 0;
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .process-col { border-right: none; padding-right: 0; }
  .process-col + .process-col { padding-left: 0; }
  .process-col:nth-child(odd) { border-right: 1px solid var(--border); padding-right: 28px; }
  .process-col:nth-child(even) { padding-left: 28px; }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; gap: 36px; }
  .process-col:nth-child(odd) { border-right: none; padding-right: 0; }
  .process-col:nth-child(even) { padding-left: 0; }
  .process-header { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
}
.step-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

/* ── Trust strip ─────────────────────────────────────────────────────────── */
.trust-strip {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 200px;
}
.trust-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.trust-item h4 { margin: 0 0 2px; font-size: 0.95rem; }
.trust-item p  { margin: 0; font-size: 0.85rem; color: var(--mid); }

/* ── Materials grid ──────────────────────────────────────────────────────── */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--stone-mid);
  counter-reset: mat;
}
.material-item {
  background: var(--white);
  padding: 36px 28px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  counter-increment: mat;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
/* Large faded sequential number — decorative bg texture */
.material-item::before {
  content: counter(mat, decimal-leading-zero);
  position: absolute;
  bottom: -18px; right: 16px;
  font-family: var(--font-heading);
  font-size: 100px;
  font-weight: 800;
  line-height: 1;
  color: var(--stone);
  pointer-events: none;
  z-index: 0;
  transition: color 0.28s ease;
}
/* Bottom bar slides in on hover */
.material-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
}
.material-item:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.09); }
.material-item:hover::after { transform: scaleX(1); }
.material-item:hover::before { color: var(--stone-mid); }

/* Icon */
.mat-icon {
  width: 22px; height: 22px;
  margin-bottom: 20px;
  flex-shrink: 0;
  position: relative; z-index: 1;
  color: var(--ink);
}
.material-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
  position: relative; z-index: 1;
}
.material-item p  {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--mid);
  position: relative; z-index: 1;
}

@media (max-width: 900px) {
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .materials-grid { grid-template-columns: 1fr; }
  .material-item { padding: 28px 22px 32px; }
  .material-item::before { font-size: 72px; bottom: -12px; }
}

/* ── CTA band ────────────────────────────────────────────────────────────── */
.cta-band {
  text-align: center;
  padding: 80px 0;
  background: var(--black);
  color: var(--white);
}
.cta-band h2 { color: var(--white); max-width: 640px; margin: 0 auto 0.5em; }
.cta-band .lede { color: rgba(255,255,255,0.6); margin: 0 auto 0; text-align: center; }
.cta-band .btn-row { justify-content: center; }

/* ── Contact form ────────────────────────────────────────────────────────── */
.form-tabs {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
  width: fit-content;
}
.form-tab-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border: none;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border-right: 1px solid var(--border);
}
.form-tab-btn:last-child { border-right: none; }
.form-tab-btn[aria-selected="true"] {
  background: var(--black);
  color: var(--white);
}

.form-panel { display: none; }
.form-panel.is-active { display: block; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-full { grid-column: 1 / -1; }

.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.field-group input,
.field-group select,
.field-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.15s;
  appearance: none;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--black);
}
.field-group textarea { resize: vertical; min-height: 120px; }
.field-group input[type="file"] {
  padding: 10px 12px;
  font-size: 0.88rem;
  color: var(--mid);
  cursor: pointer;
}

.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: flex-start;
  align-items: center;
  max-width: fit-content;
}
.check-group label {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: fit-content;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
/* Apple-style minimal frosted glass circle */
.check-group input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.18);
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  flex-shrink: 0;
}
.check-group input[type="checkbox"]:hover {
  border-color: rgba(0,0,0,0.45);
  transform: scale(1.06);
}
.check-group input[type="checkbox"]:checked {
  background: var(--ink);
  border-color: var(--ink);
}
.check-group input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 7px; height: 4px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: translate(-50%,-65%) rotate(-45deg);
}
.check-group input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.consultation-note {
  background: var(--stone);
  border-left: 3px solid var(--black);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 4px 0 0;
}
.consultation-note p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.55;
}
.consultation-note strong { font-weight: 600; }

.contact-layout { display: grid; grid-template-columns: 1fr 400px; gap: 80px; align-items: start; }
.contact-info h3 { font-size: 1.1rem; margin-bottom: 0.5em; }
.contact-info p  { font-size: 0.92rem; color: var(--mid); margin-bottom: 0; }
.contact-detail {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:first-child { border-top: 1px solid var(--border); }
.contact-detail .label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 4px;
  display: block;
}

/* ── Email row with mailto + copy button ─────────────────────────────────── */
.email-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 2px;
}
.email-link {
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
  transition: border-color 0.2s ease;
}
.email-link:hover { border-bottom-color: var(--ink); }
.email-copy-btn {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 50%;
  color: var(--mid);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.email-copy-btn:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.email-copy-btn:active { transform: scale(0.92); }
.email-copied-toast {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--ink);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.email-copy-btn.is-copied .email-copied-toast {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.email-helper {
  margin: 2px 0 0;
  font-size: 0.75rem;
  color: var(--mid);
}

/* ── Form submit loading state ───────────────────────────────────────────── */
.btn[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
  gap: 10px;
}
.btn[aria-busy="true"]::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btnSpin 0.6s linear infinite;
  flex-shrink: 0;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn[aria-busy="true"]::before { animation: none; border-top-color: currentColor; opacity: 0.5; } }

/* ── About brand section ─────────────────────────────────────────────────── */
.brand-statement {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  max-width: 820px;
}
.kabinart-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-top: 24px;
  text-decoration: none;
  transition: border-color 0.15s;
}
.kabinart-badge:hover { border-color: var(--ink); }
.kabinart-badge span {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 72px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  column-gap: 72px;
  row-gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}
.footer-logo .logo-living { color: rgba(255,255,255,0.4); }
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
  line-height: 1.6;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s ease;
}
.footer-bottom a:hover { color: #ffffff; }

/* ── Footer social icons ────────────────────────────────────────────────── */
/* Hidden for now until Enzo Living has its own social accounts.
   Keep the HTML in place so re-enabling is a one-line change. */
.footer-socials { display: none; }

.footer-socials--enabled {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-socials a:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.footer-socials a:active { transform: scale(0.95); }
.footer-socials svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ── Divider ─────────────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Visually hidden (accessible) ───────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Intro layout (product pages) ───────────────────────────────────────── */
.intro-block { max-width: 720px; }
.intro-block p { font-size: 1.05rem; color: var(--mid); }

/* ── Why list ────────────────────────────────────────────────────────────── */
.why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.why-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.why-list li:first-child { border-top: 1px solid var(--border); }
.why-mark {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--black);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}
.why-list strong { display: block; font-weight: 600; font-size: 0.95rem; }
.why-list span { font-size: 0.88rem; color: var(--mid); }

/* ── Stat row ────────────────────────────────────────────────────────────── */
.stat-row { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 48px; }
.stat-item {}
.stat-item .stat-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  display: block;
}
.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--mid);
  margin-top: 4px;
}

/* ── 404 / thank-you page ───────────────────────────────────────────────── */
.standalone-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  padding-top: 120px;
}
.standalone-page h1 { margin-bottom: 0.4em; }
.standalone-page .lede { margin: 0 auto 2em; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr auto auto; column-gap: 48px; row-gap: 40px; }
}

@media (max-width: 900px) {
  .cols-2 { grid-template-columns: 1fr; gap: 32px; }
  .cols-3 { grid-template-columns: 1fr 1fr; }
  .cols-4 { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .gallery-preview-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .span-2 { grid-column: span 1; }
  .gallery-grid .span-2 .photo-ph { aspect-ratio: 4/3; }
  .col-reverse { order: 0; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  :root { --section-pad: 56px; }

  /* Container padding */
  .container { padding: 0 20px; }

  /* Mobile header — override desktop's large padding so logo + hamburger fit on narrow screens */
  .site-header .container {
    padding-left: 20px;
    padding-right: 20px;
    align-items: center;
  }

  /* Fluid type for mobile */
  h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); line-height: 1.1; }
  h2 { font-size: clamp(1.4rem, 5.2vw, 1.9rem); }
  body { font-size: 0.95rem; line-height: 1.55; }

  /* Mobile nav — explicit viewport sizing + always white links */
  .main-nav {
    display: none;
    position: fixed;
    top: 80px;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px);
    background: #000;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 48px 24px;
    gap: 0;
    z-index: 98;
    overflow-y: auto;
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .main-nav ul li { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .main-nav a,
  .main-nav ul li a,
  .site-header.header-solid .main-nav a,
  .page-interior .site-header .main-nav a,
  .page-home .site-header .main-nav a {
    color: #ffffff !important;
    font-size: 1.4rem;
    padding: 18px 0;
    display: block;
    border-bottom: none;
  }
  .btn-nav {
    margin-top: 32px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .btn-nav:hover,
  .btn-nav:active { transform: none !important; }

  .nav-toggle { display: flex; }
  .page-home .site-header .nav-toggle span { background: var(--white); }

  /* Buttons tightened on mobile */
  .btn { padding: 14px 24px; font-size: 0.78rem; }

  /* Hero on mobile — tighter spacing, override hero h1 */
  .hero-full h1 { font-size: clamp(1.9rem, 6.5vw, 2.4rem); line-height: 1.1; }
  .hero-full .hero-content { padding: 48px 0 56px; }
  .hero-full .lede { font-size: 1rem; line-height: 1.6; max-width: 100%; }
  .hero-full .btn-row { gap: 10px; flex-direction: column; align-items: stretch; }
  .hero-full .btn-row .btn { width: 100%; justify-content: center; }

  /* Products editorial heading — breathing room on mobile */
  .prod-ed-title { font-size: clamp(28px, 7vw, 36px); line-height: 1.1; }

  /* Projects preview — smaller padding + fluid headline */
  .proj-preview-header { padding: 48px 20px 32px; }
  .proj-preview-title { font-size: clamp(26px, 7vw, 38px); margin: 8px 0 20px; }

  /* CTA band — tighter on mobile */
  .cta-band { padding: 56px 0; }

  .form-grid { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 48px 1fr; gap: 20px; }
  .step-num { font-size: 1.8rem; }
  .cols-3 { grid-template-columns: 1fr; }
  .trust-strip { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-tabs { width: 100%; }
  .form-tab-btn { flex: 1; font-size: 0.82rem; padding: 12px 16px; }
  .gallery-preview-grid { grid-template-columns: 1fr 1fr; }
  .feature-block { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: 1fr; }
  .material-item:nth-child(odd) { border-right: none; }
  .stat-row { gap: 28px; }
}

@media (max-width: 480px) {
  .gallery-preview-grid,
  .gallery-grid { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   INTERACTIVE ENHANCEMENTS
   ══════════════════════════════════════════════════════════════════ */

/* custom cursor removed — using native OS cursor */

/* ── btn-nav: transitions already defined in base rule above ──────── */

/* ── Product editorial card: lift on hover ────────────────────────── */
.prod-ed-card {
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.prod-ed-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.22);
}

/* ── Process spotlight (desktop) ─────────────────────────────────── */
@media (hover: hover) {
  .process-grid:has(.process-col:hover) .process-col { opacity: 0.4; }
  .process-grid .process-col:hover { opacity: 1 !important; }
}

/* ── Why-list items ───────────────────────────────────────────────── */
.why-list li {
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out);
  transform-origin: left center;
}
@media (hover: hover) {
  .why-list:hover li { opacity: 0.45; }
  .why-list:hover li:hover { opacity: 1; transform: translateX(4px); }
}

/* ── Footer link underline slide ─────────────────────────────────── */
.footer-col ul li a {
  position: relative;
  display: inline-block;
  padding-bottom: 1px;
}
.footer-col ul li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: rgba(255,255,255,0.5);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.28s var(--ease-out);
}
.footer-col ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ── Scroll progress: gradient ────────────────────────────────────── */
.scroll-progress {
  background: linear-gradient(to right, var(--black) 60%, #5c5c5c);
}

/* ── Counter number style ─────────────────────────────────────────── */
.proj-stat-num,
.stat-num { font-variant-numeric: tabular-nums; }

/* ── Hero bg parallax: extra height for travel room ──────────────── */
.hero-full .hero-bg {
  overflow: hidden;
}
.hero-full .hero-bg img {
  height: 120%;
  top: -10%;
  position: absolute;
  width: 100%;
  object-fit: cover;
}

/* ── Image cards: subtle scale-in reveal ─────────────────────────── */
.prod-ed-photo {
  transform: scale(1.0);
}

/* ── Reduced motion overrides ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:active { transform: none !important; box-shadow: none !important; }
  .btn-nav:hover, .btn-nav:active { transform: none !important; }
  .prod-ed-card:hover { transform: none !important; box-shadow: none !important; }
  .main-nav a::after { transition: none; }
  .footer-col ul li a::after { transition: none; }
  .why-list li { transition: none !important; }
  .process-grid:has(.process-col:hover) .process-col { opacity: 1 !important; }
  .hero-full .hero-bg img { height: 100%; top: 0; transform: none !important; }
  #cursor-dot, #cursor-ring { display: none !important; }
}

/* ── Catalogue download strip ─────────────────────────────────────────────── */
.catalogue-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.catalogue-strip .eyebrow { margin-bottom: 10px; }
.catalogue-strip h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}
.catalogue-strip p {
  margin: 0;
  color: var(--mid);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 46ch;
}
@media (max-width: 640px) {
  .catalogue-strip { flex-direction: column; align-items: flex-start; }
}

/* ── Cookie consent bar ────────────────────────────────────────────────── */
#cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 24px;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.08);
  transition: opacity 0.4s, transform 0.4s;
}
#cookie-bar p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
#cookie-bar a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
}
#cookie-accept {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 7px 20px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
#cookie-accept:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
.cookie-bar-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
#cookie-decline {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 7px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
#cookie-decline:hover { color: #fff; border-color: rgba(255,255,255,0.5); }
.cookie-settings { background: none; border: 0; padding: 0; font: inherit; color: rgba(255,255,255,0.65); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cookie-settings:hover { color: #fff; }
.cookie-bar--hide {
  opacity: 0;
  transform: translateY(100%);
}
@media (max-width: 600px) {
  #cookie-bar { flex-direction: column; gap: 12px; text-align: center; }
}

/* ── WhatsApp floating button ───────────────────────────────────────────── */
#wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 8999;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.4), 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
  text-decoration: none;
}
#wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5), 0 2px 8px rgba(0,0,0,0.18);
}
/* Apple Design: instant scale-down on press */
#wa-float:active {
  transform: scale(0.93);
  transition-duration: 0.08s;
}
#wa-float svg { width: 28px; height: 28px; display: block; }
