/* =================================================================
   JOUVELLE INTERIORS — LUXURY CSS STYLESHEET
   Premium White · Warm Beige · Ivory · Matte Black · Gold Accents
   ================================================================= */

/* -----------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   ----------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --gold:          #C9A96E;
  --gold-light:    #E8D5B0;
  --gold-dark:     #A07840;
  --ivory:         #FAF7F2;
  --beige:         #F0E8DC;
  --beige-dark:    #DDD0C0;
  --white:         #FFFFFF;
  --black:         #0D0D0D;
  --black-soft:    #111111;
  --dark:          #1A1814;
  --dark-2:        #252220;
  --text-primary:  #1A1814;
  --text-muted:    #7A7060;
  --text-light:    #FAF7F2;

  /* Glass Effect */
  --glass-bg:      rgba(255, 255, 255, 0.12);
  --glass-border:  rgba(201, 169, 110, 0.25);
  --glass-shadow:  0 8px 40px rgba(0, 0, 0, 0.15);

  /* Shadows */
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.18);
  --shadow-gold:   0 8px 32px rgba(201,169,110,0.25);

  /* Typography */
  --font-serif:    'Cormorant Garamond', Georgia, serif;
  --font-sans:     'Jost', system-ui, sans-serif;

  /* Spacing */
  --section-pad:   100px;
  --container-max: 1300px;
  --gap:           clamp(1.5rem, 3vw, 2.5rem);

  /* Transitions */
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:      cubic-bezier(0, 0, 0.2, 1);
  --duration:      0.35s;
  --duration-slow: 0.65s;

  /* Border Radius */
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
}

/* -----------------------------------------------------------------
   2. RESET & BASE
   ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(80px + 1rem);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-primary);
  background: var(--ivory);
  overflow-x: hidden;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

ul, ol { list-style: none; }

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  background: none;
}

/* -----------------------------------------------------------------
   3. TYPOGRAPHY
   ----------------------------------------------------------------- */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2.5rem;
}
.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.section-title em {
  font-style: italic;
  color: var(--gold-dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.75;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}
.section-header .section-subtitle { margin: 0 auto; }

/* -----------------------------------------------------------------
   4. LAYOUT HELPERS
   ----------------------------------------------------------------- */
.container {
  width: min(var(--container-max), 100% - 3rem);
  margin-inline: auto;
}

.section-pad {
  padding-block: var(--section-pad);
}

/* -----------------------------------------------------------------
   5. BUTTONS
   ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}
.btn:hover::after { opacity: 1; }

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,169,110,0.4);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,169,110,0.08);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* -----------------------------------------------------------------
   6. LOADING SCREEN
   ----------------------------------------------------------------- */
#loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.loader-logo {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderPulse 1.6s ease-in-out infinite;
}

.loader-j {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
}

.loader-line {
  width: 0;
  height: 1px;
  background: var(--gold);
  animation: loaderLine 2s var(--ease) forwards;
}

.loader-text {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(201,169,110,0.7);
  animation: loaderFade 2s ease forwards;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); border-color: rgba(201,169,110,0.3); }
  50%       { transform: scale(1.05); border-color: rgba(201,169,110,0.8); }
}
@keyframes loaderLine {
  0%   { width: 0; }
  100% { width: 120px; }
}
@keyframes loaderFade {
  0%   { opacity: 0; }
  50%  { opacity: 0; }
  100% { opacity: 1; }
}

/* -----------------------------------------------------------------
   7. NAVIGATION
   ----------------------------------------------------------------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--duration-slow) var(--ease),
              box-shadow var(--duration-slow) var(--ease),
              padding var(--duration) var(--ease);
  padding: 0;
}

#navbar.scrolled {
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 40px rgba(0,0,0,0.08);
}

.nav-container {
  width: min(var(--container-max), 100% - 3rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-j {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: all var(--duration) var(--ease);
}
#navbar:not(.scrolled) .logo-j { border-color: rgba(201,169,110,0.6); }
#navbar:not(.scrolled) .logo-text { color: var(--white); }

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--dark);
  white-space: nowrap;
  transition: color var(--duration) var(--ease);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border-radius: 2px;
  position: relative;
  transition: color var(--duration) var(--ease);
  color: var(--dark);
  white-space: nowrap;
}

#navbar:not(.scrolled) .nav-link { color: rgba(255,255,255,0.85); }
#navbar:not(.scrolled) .nav-link:hover { color: var(--gold-light); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.85rem;
  right: 0.85rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--duration) var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--gold);
  color: var(--dark) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  font-weight: 500;
  margin-left: 0.5rem;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--gold-dark);
  color: var(--white) !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--dark);
  transition: all var(--duration) var(--ease);
}
#navbar:not(.scrolled) .nav-burger span { background: var(--white); }

.nav-mobile {
  display: none;
  background: rgba(250, 247, 242, 0.98);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-top: 1px solid var(--beige-dark);
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; }
.nav-mobile .nav-link {
  display: block;
  padding: 0.85rem 1.5rem;
  color: var(--dark);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

/* -----------------------------------------------------------------
   8. HERO SECTION
   ----------------------------------------------------------------- */
.hero-section {
  position: relative;
  height: 100svh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  0%   { transform: scale(1.08); }
  100% { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26,24,20,0.65) 0%,
    rgba(26,24,20,0.4) 50%,
    rgba(26,24,20,0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--container-max), 100% - 3rem);
  margin-inline: auto;
  padding-bottom: 10rem;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  padding-left: 2.8rem;
  position: relative;
}
.hero-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 1px;
  background: var(--gold-light);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 14ch;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(250,247,242,0.8);
  max-width: 50ch;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 8rem;
  right: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold-light));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}
.scroll-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  writing-mode: vertical-lr;
}

/* Stats bar */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(26,24,20,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201,169,110,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1.5rem 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0 3rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
}
.stat-plus {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 300;
}

.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.6);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(201,169,110,0.25);
  flex-shrink: 0;
}

/* -----------------------------------------------------------------
   9. REVEAL ANIMATIONS
   ----------------------------------------------------------------- */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: none;
  transition-delay: var(--delay, 0s);
}

/* -----------------------------------------------------------------
   10. ABOUT SECTION
   ----------------------------------------------------------------- */
.about-section { background: var(--ivory); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.about-images {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 580px;
  margin-bottom: 2.5rem;
}

.about-img-main {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; }

.about-img-accent {
  position: absolute;
  bottom: -2.5rem;
  right: -2.5rem;
  width: 46%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 0px solid var(--ivory);
}
.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-founder-card {
  position: absolute;
  bottom: -1.2rem;
  right: -0.5rem;
  width: calc(46% + 0.5rem);
  background: var(--dark);
  padding: 0.7rem 1rem 0.65rem 1.1rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  z-index: 3;
}
.founder-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}
.founder-role {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.45);
}

.about-badge {
  position: absolute;
  top: 2rem;
  left: -2rem;
  background: var(--gold);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-gold);
  z-index: 4;
}
.badge-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--dark);
  line-height: 1;
}
.badge-text {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26,24,20,0.75);
}

.about-lead {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}
.about-body {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.pillar-item i {
  font-size: 1.1rem;
  color: var(--gold);
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.pillar-item h3 {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
  color: var(--dark);
}
.pillar-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* -----------------------------------------------------------------
   11. SERVICES SECTION
   ----------------------------------------------------------------- */
.services-section { background: var(--beige); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease);
}
.service-card:hover .service-img img { transform: scale(1.05); }

.service-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,24,20,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}
.service-card:hover .service-overlay { opacity: 1; }

.service-view-btn {
  padding: 0.7rem 1.8rem;
  border: 1px solid var(--gold-light);
  color: var(--white);
  font-size: 0.78rem;
  font-family: var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
}
.service-view-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.service-body {
  padding: 1.75rem;
}
.service-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1rem;
}
.service-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--dark);
}
.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.service-list li {
  font-size: 0.83rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 1px;
  background: var(--gold);
}

/* -----------------------------------------------------------------
   12. PORTFOLIO SECTION
   ----------------------------------------------------------------- */
.portfolio-section { background: var(--ivory); }

.portfolio-filters {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.55rem 1.5rem;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--beige-dark);
  border-radius: 2px;
  color: var(--text-muted);
  background: transparent;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  grid-auto-rows: minmax(220px, auto);
  grid-auto-flow: dense;
  align-items: stretch;
}

.portfolio-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}
.portfolio-item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}
.portfolio-item--tall {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}
.portfolio-item--video {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.portfolio-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.portfolio-img-wrap img,
.portfolio-img-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portfolio-img-wrap img {
  transition: transform 0.9s var(--ease);
}
.portfolio-item:hover .portfolio-img-wrap img { transform: scale(1.08); }

.portfolio-item--video .portfolio-hover {
  background: linear-gradient(to top, rgba(26,24,20,0.92) 0%, rgba(26,24,20,0.24) 55%, transparent 100%);
}

.port-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 0.75rem;
}

.portfolio-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,24,20,0.85) 0%, rgba(26,24,20,0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}
.portfolio-item:hover .portfolio-hover { opacity: 1; }

.portfolio-hover-content { color: var(--white); }

.port-category {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}
.port-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}
.port-loc {
  font-size: 0.8rem;
  color: rgba(250,247,242,0.7);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.port-view-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.72rem;
  font-family: var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--gold-light);
  color: var(--white);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.port-view-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.portfolio-item.hidden { display: none; }

.portfolio-cta { text-align: center; margin-top: 3rem; }

/* -----------------------------------------------------------------
   13. LIGHTBOX
   ----------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[aria-hidden="true"] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-figure { position: relative; }

#lightboxImg {
  max-width: 85vw;
  max-height: 75vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

#lightboxCaption {
  padding: 1rem;
  text-align: center;
  color: var(--white);
}
#lightboxTitle {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}
#lightboxCat {
  font-size: 0.78rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  font-size: 1.8rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--duration) var(--ease);
}
.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  z-index: 1;
}
.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

/* -----------------------------------------------------------------
   14. BEFORE / AFTER SECTION
   ----------------------------------------------------------------- */
.transformation-section { background: var(--dark); }
.transformation-section .section-eyebrow { color: var(--gold-light); }
.transformation-section .section-title   { color: var(--text-light); }
.transformation-section .section-subtitle { color: rgba(250,247,242,0.6); }

.ba-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  user-select: none;
  cursor: ew-resize;
  overflow: hidden;
}

.ba-after,
.ba-before {
  position: absolute;
  inset: 0;
}
.ba-after img,
.ba-before img {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ba-before { clip-path: inset(0 50% 0 0); }

.ba-label {
  position: absolute;
  bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  background: rgba(0,0,0,0.55);
  color: var(--white);
}
.ba-label--before { left: 1rem; }
.ba-label--after  { right: 1rem; }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}
.ba-line {
  width: 2px;
  flex: 1;
  background: var(--gold);
}
.ba-knob {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(201,169,110,0.5);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* -----------------------------------------------------------------
   15. PROCESS SECTION
   ----------------------------------------------------------------- */
.process-section { background: var(--beige); }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-light), var(--gold-light), transparent);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  margin: 0 auto 1.25rem;
  transition: all var(--duration) var(--ease);
}
.process-step:hover .step-icon {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  transform: scale(1.1);
}

.step-content h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
  color: var(--dark);
}
.step-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* -----------------------------------------------------------------
   16. TESTIMONIALS SECTION
   ----------------------------------------------------------------- */
.testimonials-section { background: var(--dark); }
.testimonials-section .section-eyebrow { color: var(--gold-light); }
.testimonials-section .section-title   { color: var(--text-light); }
.testimonials-section .section-subtitle { color: rgba(250,247,242,0.6); }

.testimonials-carousel {
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}

.testimonial-card {
  flex: 0 0 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: var(--radius-md);
  padding: 3rem;
  backdrop-filter: blur(8px);
}

.testimonial-quote {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  opacity: 0.6;
}

.testimonial-card blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(250,247,242,0.9);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; }
.author-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}
.author-info span {
  font-size: 0.8rem;
  color: rgba(250,247,242,0.5);
  display: block;
  margin-bottom: 0.4rem;
}
.author-stars { color: var(--gold); font-size: 0.75rem; gap: 0.2rem; display: flex; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.3);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  font-size: 0.85rem;
  background: transparent;
}
.carousel-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(201,169,110,0.3);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  padding: 0;
}
.carousel-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 3px;
}

/* -----------------------------------------------------------------
   17. CONTACT SECTION
   ----------------------------------------------------------------- */
.contact-section { background: var(--ivory); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-details strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-details span,
.contact-details a {
  font-size: 0.92rem;
  color: var(--text-primary);
}
.contact-details a:hover { color: var(--gold-dark); }

.contact-social {
  display: flex;
  gap: 0.75rem;
}
.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--beige-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--duration) var(--ease);
}
.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group label span { color: var(--gold); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--ivory);
  transition: all var(--duration) var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.field-error {
  font-size: 0.78rem;
  color: #c0392b;
  min-height: 1.1em;
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #c0392b;
}

.form-success {
  text-align: center;
  padding: 2rem;
  background: rgba(201,169,110,0.08);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
}
.form-success i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
.form-success strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.form-success p { color: var(--text-muted); font-size: 0.9rem; }

/* -----------------------------------------------------------------
   18. FOOTER
   ----------------------------------------------------------------- */
.site-footer { background: var(--dark); color: var(--text-light); }

.footer-top { padding: 5rem 0 3rem; border-bottom: 1px solid rgba(201,169,110,0.12); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-logo .logo-j {
  border-color: rgba(201,169,110,0.4);
  color: var(--gold-light);
}
.footer-logo .logo-text {
  color: var(--text-light);
  font-size: 1.1rem;
}
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(250,247,242,0.45);
  letter-spacing: 0.05em;
  margin-bottom: 1.75rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250,247,242,0.5);
  font-size: 0.85rem;
  transition: all var(--duration) var(--ease);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.footer-nav-heading {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-nav a {
  font-size: 0.88rem;
  color: rgba(250,247,242,0.5);
  transition: color var(--duration) var(--ease);
}
.footer-nav a:hover { color: var(--gold-light); }

.footer-newsletter p {
  font-size: 0.85rem;
  color: rgba(250,247,242,0.5);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.newsletter-form {
  display: flex;
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  background: rgba(255,255,255,0.05);
  border: none;
  color: var(--text-light);
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(250,247,242,0.3); }
.newsletter-form button {
  padding: 0 1.25rem;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
  border: none;
}
.newsletter-form button:hover { background: var(--gold-dark); color: var(--white); }

/* -----------------------------------------------------------------
   19. RESPONSIVE MEDIA QUERIES
   ----------------------------------------------------------------- */

@media (max-width: 1100px) {
  .hero-content {
    padding-bottom: 12rem;
  }
  .hero-stats {
    position: relative;
    margin: 2rem auto 0;
    width: min(92%, 1180px);
    border-radius: 22px;
    padding: 1.25rem 1.25rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-images {
    max-height: none;
    min-height: 420px;
    aspect-ratio: auto;
  }
  .about-img-accent {
    bottom: -1.5rem;
    right: 0;
    width: 52%;
  }
  .about-founder-card {
    position: relative;
    bottom: 0;
    right: 0;
    width: 100%;
    margin-top: 1rem;
    border-radius: var(--radius-md);
  }
  .about-badge {
    position: relative;
    top: auto;
    left: auto;
    margin: 1rem 0 0 0;
  }
}

@media (max-width: 900px) {
  .hero-content {
    padding-bottom: 10rem;
  }
  .hero-stats {
    position: relative;
    margin-top: 2rem;
    padding: 1rem;
    width: min(95%, 100%);
  }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
    --nav-height: 70px;
  }

  .nav-container { height: 70px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  
  .hero-section { min-height: 500px; }
  .hero-content { padding-bottom: 4rem; }
  .hero-scroll-hint { display: none; }
  .hero-stats { flex-wrap: wrap; padding: 1rem; gap: 1rem; }
  .stat-item { padding: 0 1rem; }
  .stat-divider { display: none; }

  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-item--wide,
  .portfolio-item--tall,
  .portfolio-item--video {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4/3 !important;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 2rem;
  }

  .about-img-accent,
  .about-founder-card,
  .about-badge {
    display: none;
  }

  .process-timeline::before {
    display: none;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  :root {
    font-size: 14px;
    --section-pad: 40px;
  }

  .nav-container {
    height: 60px;
    gap: 1rem;
  }

  .logo-j {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }

  .logo-text {
    font-size: 0.9rem;
  }

  .nav-burger span {
    width: 20px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.75rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .testimonial-card {
    padding: 1rem;
  }

  .testimonial-card blockquote p {
    font-size: 0.95rem;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.7rem;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    left: 1rem;
    right: 1rem;
  }
  .lightbox-prev { left: 1rem; }
  .lightbox-next { right: 1rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-logo .logo-j {
    width: 32px;
    height: 32px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }

  .ba-slider {
    aspect-ratio: 1 !important;
  }

  #lightboxImg {
    max-width: 100vw;
    max-height: 80vh;
  }
}

/* Small phone (under 380px) */
@media (max-width: 380px) {
  :root {
    font-size: 13px;
  }

  .nav-container {
    width: 100%;
    padding: 0 1rem;
  }

  .hero-content {
    width: 100%;
    padding: 0 1rem;
  }

  .container {
    width: 100%;
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 1.5rem;
    max-width: 8ch;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    max-width: 30ch;
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.7rem;
  }

  .section-title {
    font-size: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
