/*
Theme Name: Z'Le Studio HTML Match
Theme URI: https://zlestudio.com
Author: Wundrfy Design Studios
Author URI: https://wundrfy.com
Description: WordPress theme package that closely matches the approved static HTML version of the Z'Le Studio site.
Version: 1.1.6
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zle-studio
Tags: custom-logo, custom-menu, featured-images, block-styles
*/

/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: 'Alta';
  src: url('assets/fonts/Alta_regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Alta';
  src: url('assets/fonts/Alta_light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Accent Colors */
  --navy:    #2d4f71;
  --navy-dk: #1e3550;
  --wine:    #521826;
  --wine-lt: #7a2235;
  --plum:    #754e72;
  --plum-dk: #4f3350;
  --sage:    #8d9f6f;
  --sage-lt: #b5c49a;

  /* Sand Backgrounds */
  --sand:    #f2ece0;
  --sand-2:  #ebe3d0;
  --sand-3:  #e0d7c3;
  --sand-4:  #cfc6b0;
  --sand-5:  #b8ad96;

  /* Ink (text on sand) */
  --ink:       #1c1814;
  --ink-2:     #3d3025;
  --ink-muted: #7a6b5a;

  /* Dark (reserved for hero overlays, footer) */
  --dark:    #0d0e10;
  --dark-2:  #14161a;
  --white:   #ffffff;

  --f-display:  'Alta', serif;
  --f-body:     'Lato', sans-serif;
  --f-caption:  'Montserrat', sans-serif;
  --f-editorial:'Cormorant Garamond', serif;

  --radius:    2px;
  --radius-md: 6px;
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);

  --nav-h: 72px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }

/* Subtle grain on the body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 90;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.eyebrow {
  font-family: var(--f-caption);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow-navy  { color: var(--navy); }
.eyebrow-wine  { color: var(--wine-lt); }
.eyebrow-plum  { color: var(--plum); }
.eyebrow-sage  { color: var(--sage); }

/* ============================================================
   NAV
   ============================================================ */
nav#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
nav#nav.scrolled {
  background: rgba(242,236,224,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--sand-4);
  box-shadow: 0 1px 0 0 rgba(28,24,20,0.04);
}
.nav-logo {
  height: 34px;
  width: auto;
  /* Black logo on sand — correct per brand rules */
  opacity: 0;
  transform: translateY(-6px);
  animation: fadeUp 0.8s var(--ease-out) 0.1s forwards;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--f-caption);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.2s ease;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) forwards;
}
.nav-links li:nth-child(1) a { animation-delay: 0.15s; }
.nav-links li:nth-child(2) a { animation-delay: 0.22s; }
.nav-links li:nth-child(3) a { animation-delay: 0.29s; }
.nav-links li:nth-child(4) a { animation-delay: 0.36s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-family: var(--f-caption) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  background: var(--ink);
  padding: 10px 20px;
  min-height: 38px;
  border-radius: var(--radius);
  transition: background 0.2s ease !important;
  animation-delay: 0.42s !important;
}
.nav-cta:hover { background: var(--navy) !important; color: var(--white) !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(24px, 4vw, 72px) clamp(64px, 8vh, 112px);
  overflow: hidden;
  background: var(--sand);
}
/* ZLE monogram repeat pattern on hero */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/ZLE-Bkgd-v3.svg');
  background-size: 320px auto;
  background-repeat: repeat;
  opacity: 0.08;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1680px);
  margin: 0 auto;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(24px, 4vh, 40px);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.3s forwards;
}
.hero-kicker-line {
  width: 36px; height: 1px;
  background: var(--sage);
}
.hero-h1 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 12ch;
  margin-bottom: clamp(36px, 6vh, 72px);
}
.hero-h1 .line { display: block; overflow: hidden; }
.hero-h1 .line-inner {
  display: block;
  transform: translateY(110%);
  animation: slideUp 1.1s var(--ease-out) forwards;
}
.hero-h1 .line:nth-child(1) .line-inner { animation-delay: 0.38s; }
.hero-h1 .line:nth-child(2) .line-inner { animation-delay: 0.52s; }
.hero-h1 .line:nth-child(3) .line-inner { animation-delay: 0.66s; }
/* Accent word in sage */
.hero-h1 em {
  font-style: normal;
  color: var(--sage);
}
.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 48px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1s forwards;
}
.hero-desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-muted);
  max-width: 46ch;
  line-height: 1.75;
}
.hero-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-caption);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  padding: 14px 28px;
  min-height: 44px;
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-primary:hover { background: var(--navy); transform: translateY(-1px); }
.btn-primary:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-caption);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--sand-4);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-muted); }

.hero-scroll-indicator {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  align-self: flex-end;
  opacity: 0;
  animation: fadeIn 1s ease 1.6s forwards;
}
.hero-scroll-label {
  font-family: var(--f-caption);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand-5);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--sand-5), transparent);
}


/* ============================================================
   SECTION SHELL
   ============================================================ */
section { position: relative; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.section-num {
  font-family: var(--f-caption);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand-5);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 24px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 140px 0 120px;
  background: var(--sand);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.about-h2 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 24px 0 40px;
}
.about-h2 em {
  font-style: italic;
  font-family: var(--f-editorial);
  color: var(--navy);
}
.about-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-muted);
  margin-bottom: 24px;
}
.about-body strong { color: var(--ink); font-weight: 400; }
.about-quote {
  border-left: 2px solid var(--wine);
  padding-left: 24px;
  margin: 40px 0;
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.5;
  color: var(--ink-2);
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
}
.stat-card {
  background: var(--sand-2);
  padding: 28px 24px 30px;
  border-radius: var(--radius);
}
.stat-num {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 38px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--f-caption);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ============================================================
   WHAT WE DO
   ============================================================ */
.services {
  padding: 120px 0;
  background: var(--sand-2);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
}
.service-card {
  background: var(--sand);
  padding: 44px 36px 48px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  transition: opacity 0.3s ease;
  opacity: 0.35;
}
.service-card:hover { background: var(--sand-3); }
.service-card:hover::before { opacity: 1; }
.service-card:nth-child(1)::before { background: var(--navy); }
.service-card:nth-child(2)::before { background: var(--wine); }
.service-card:nth-child(3)::before { background: var(--plum); }
.service-card:nth-child(4)::before { background: var(--sage); }
.service-card:nth-child(5)::before { background: var(--navy); }
.service-card:nth-child(6)::before { background: var(--wine); }
.service-num {
  font-family: var(--f-caption);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand-5);
  margin-bottom: 28px;
}
.service-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 14px;
}
.service-body {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-muted);
}

/* ============================================================
   BRANDS
   ============================================================ */
.brands {
  padding: 140px 0 120px;
  background: var(--sand);
}
.brands-intro {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 96px;
  align-items: end;
  margin-bottom: 72px;
}
.brands-intro-right {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-muted);
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.brand-card {
  display: block;
  position: relative;
  padding: 52px 48px 56px;
  background: var(--sand-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background 0.4s ease;
  color: inherit;
  text-decoration: none;
}
.brand-card:hover { background: var(--sand-3); }
/* Colorway accent bar — visible at rest, full intensity on hover */
.brand-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0.35;
  transition: opacity 0.4s var(--ease-out);
}
.brand-card:hover::after { opacity: 1; }
.brand-card-navy::after  { background: var(--navy); }
.brand-card-wine::after  { background: var(--wine); }
.brand-card-sage::after  { background: var(--sage); }
.brand-card-plum::after  { background: var(--plum); }

.brand-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 36px;
}
.brand-tag {
  font-family: var(--f-caption);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  border: 1px solid var(--sand-4);
  color: var(--ink-muted);
}
.brand-name {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}
.brand-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-muted);
  max-width: 44ch;
}
.brand-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--sand-4);
}
.brand-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.brand-dot-navy { background: var(--navy); }
.brand-dot-wine { background: var(--wine-lt); }
.brand-dot-plum { background: var(--plum); }
.brand-dot-sage { background: var(--sage); }
.brand-type {
  font-family: var(--f-caption);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ============================================================
   MANIFESTO BAND — dark accent section
   ============================================================ */
.manifesto {
  padding: 120px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
/* Grain on dark section */
.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  z-index: 0;
}
.manifesto::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(45,79,113,0.14) 0%, transparent 70%);
  z-index: 0;
}
/* ZLE monogram overlay on dark manifesto — light outline SVG */
.manifesto-pattern {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/zlestudio-icon-outline-sand1.svg');
  background-size: 320px auto;
  background-repeat: repeat;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}
.manifesto-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.manifesto-label {
  font-family: var(--f-caption);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 32px;
}
.manifesto-quote {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 18ch;
  margin: 0 auto 40px;
}
.manifesto-quote em {
  font-style: italic;
  font-family: var(--f-editorial);
}
.manifesto-attr {
  font-family: var(--f-caption);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   APPROACH
   ============================================================ */
.approach {
  padding: 140px 0 120px;
  background: var(--sand-2);
}
.approach-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 96px;
  align-items: start;
  margin-top: 64px;
}
.approach-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}
.approach-editorial {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  color: var(--ink-2);
  border-left: 2px solid var(--plum);
  padding-left: 20px;
  margin-top: 28px;
}
.approach-list { display: flex; flex-direction: column; }
.approach-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--sand-4);
  align-items: start;
}
.approach-item:first-child { border-top: 1px solid var(--sand-4); }
.approach-n {
  font-family: var(--f-caption);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand-5);
  padding-top: 5px;
}
.approach-h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}
.approach-body {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-muted);
}

/* ============================================================
   SERVE
   ============================================================ */
.serve {
  padding: 120px 0;
  background: var(--sand);
}
.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
}
.serve-card {
  background: var(--sand-2);
  padding: 36px 32px 40px;
  border-radius: var(--radius);
  transition: background 0.3s ease;
}
.serve-card:hover { background: var(--sand-3); }
.serve-icon {
  width: 32px; height: 32px;
  margin-bottom: 24px;
  color: var(--ink-muted);
}
.serve-h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}
.serve-body {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-muted);
}

/* ============================================================
   CTA — wine accent section
   ============================================================ */
.cta {
  padding: 160px 0;
  background: var(--wine);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/images/ZLE-Bkgd-v3.svg');
  background-size: 320px auto;
  background-repeat: repeat;
  opacity: 0.10;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
}
.cta-eyebrow {
  font-family: var(--f-caption);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
}
.cta-h2 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0 auto 32px;
  max-width: 14ch;
}
.cta-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 46ch;
  margin: 0 auto 52px;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-caption);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
  background: var(--white);
  padding: 16px 36px;
  min-height: 44px;
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-cta:hover {
  background: var(--sand);
  transform: translateY(-1px);
}
.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-caption);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.btn-cta-ghost:hover { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.5); }
.cta-contact {
  margin-top: 36px;
  font-family: var(--f-caption);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.cta-contact a {
  color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.cta-contact a:hover { color: var(--white); border-color: rgba(255,255,255,0.6); }

/* ============================================================
   FOOTER — dark
   ============================================================ */
footer {
  background: var(--dark-2);
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/images/zlestudio-icon-outline-sand1.svg');
  background-size: 320px auto;
  background-repeat: repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
.footer-inner, .footer-bottom {
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
}
.footer-logo {
  height: auto;
  width: min(260px, 72vw);
  margin-bottom: 16px;
}
.footer-tagline {
  font-family: var(--f-caption);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-self: end;
}
.footer-crafted {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.45;
  transition: opacity 0.2s ease;
  text-decoration: none;
}
.footer-crafted:hover { opacity: 0.9; }
.footer-crafted-label {
  font-family: var(--f-caption);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.footer-crafted-logo {
  height: 14px;
  width: auto;
}
.footer-links a {
  font-family: var(--f-caption);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-family: var(--f-caption);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
}

/* ============================================================
   HAMBURGER + MOBILE NAV
   ============================================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--sand);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-nav.open { opacity: 1; }
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  list-style: none;
  width: 100%;
}
.mobile-nav-links a {
  display: block;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(32px, 8vw, 52px);
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 12px 48px;
  transition: color 0.2s ease;
  text-align: center;
}
.mobile-nav-links a:hover { color: var(--navy); }
.mobile-nav-links .mobile-cta {
  font-family: var(--f-caption);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  padding: 14px 36px;
  border-radius: var(--radius);
  margin-top: 24px;
  font-size: 12px;
}
.mobile-nav-links .mobile-cta:hover { background: var(--navy); color: var(--white); }
.mobile-nav-colorway {
  display: flex;
  width: 100%;
  height: 3px;
  margin-top: 40px;
}
.mobile-nav-colorway span { flex: 1; }

/* Social links */
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s ease;
}
.social-link:hover { color: rgba(255,255,255,0.8); }
.social-link svg { width: 18px; height: 18px; }

/* ============================================================
   COLORWAY DIVIDERS
   ============================================================ */
.divider-colorway {
  display: flex;
  gap: 0;
  width: 100%;
  height: 3px;
}
.divider-colorway-bar { flex: 1; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.50s; }
.reveal-delay-6 { transition-delay: 0.60s; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  nav, .hero { padding-left: 32px; padding-right: 32px; }
  .container { padding: 0 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-intro { grid-template-columns: 1fr; gap: 28px; }
  .brands-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; gap: 48px; }
  .approach-sticky { position: static; }
  .serve-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: auto 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 0 24px 64px; }
  .hero-content { width: 100%; }
  .container { padding: 0 24px; }
  .hero-foot { grid-template-columns: 1fr; }
  .about { padding: 100px 0 80px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .brands { padding: 100px 0 80px; }
  .approach { padding: 100px 0 80px; }
  .serve-grid { grid-template-columns: 1fr; }
  .cta { padding: 120px 0; }
  .cta-actions { flex-direction: column; align-items: center; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { justify-self: start; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .hero-scroll-indicator { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   WORDPRESS PAGES
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 96px) 0 clamp(72px, 10vw, 132px);
  background: var(--sand);
  border-bottom: 1px solid var(--sand-3);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/images/ZLE-Bkgd-v3.svg');
  background-size: 320px auto;
  background-repeat: repeat;
  opacity: 0.08;
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-title {
  max-width: 12ch;
  margin: 24px 0 0;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(54px, 9vw, 118px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.content-wrap {
  width: min(100% - 48px, 860px);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}
.entry-content > * {
  margin-top: 0;
}
.entry-content > * + * {
  margin-top: 1.2em;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--f-display);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.entry-content h2 {
  margin-top: 1.65em;
  font-size: clamp(34px, 5vw, 56px);
}
.entry-content h3 {
  margin-top: 1.45em;
  font-size: clamp(28px, 4vw, 42px);
}
.entry-content p,
.entry-content li {
  color: var(--ink-muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
}
.entry-content strong {
  color: var(--ink);
  font-weight: 700;
}
.entry-content a {
  color: var(--wine);
  border-bottom: 1px solid color-mix(in srgb, var(--wine) 34%, transparent);
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.3em;
}
.entry-content .wp-block-separator {
  border: 0;
  border-top: 1px solid var(--sand-4);
  margin: 2.5em 0;
}
@media (max-width: 768px) {
  .page-hero {
    padding: calc(var(--nav-h) + 72px) 0 72px;
  }
  .content-wrap {
    width: min(100% - 32px, 860px);
    padding: 56px 0 80px;
  }
}

/* WordPress admin-bar offset for logged-in preview */
body.admin-bar nav#nav { top: 32px; }
body.admin-bar .mobile-nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar nav#nav { top: 46px; }
  body.admin-bar .mobile-nav { top: 46px; }
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--white);
  background: var(--ink);
}
body.admin-bar .skip-link:focus { top: 46px; }

/* CookieYes needs to sit above the fixed nav and decorative page layers. */
.cky-overlay {
  z-index: 2147483645 !important;
}
.cky-consent-container,
.cky-modal,
.cky-btn-revisit-wrapper {
  z-index: 2147483647 !important;
}
.cky-consent-container,
.cky-btn-revisit-wrapper {
  position: fixed !important;
}
