/* ============================================
   Eclipse Craftworks — v5 Material Atelier
   ============================================ */

:root {
  /* Warm cream foundation — pulled from marble countertops */
  --bg: #f4f1ec;
  --bg-alt: #eae6df;
  --surface: #faf8f5;
  --white: #fff;

  /* Ink & text */
  --text: #1c1714;
  --text-secondary: #5c5347;
  --text-tertiary: #998f83;
  --text-ghost: #ccc5bb;
  --text-faint: #ddd7cf;

  /* Teal accent — pulled from mosaic backsplash tile */
  --accent: #4a7c7c;
  --accent-hover: #3d6868;
  --accent-light: #5a9191;
  --accent-faint: rgba(74, 124, 124, 0.08);

  /* Warm secondary — pulled from koa wood */
  --warm: #8b5a3c;
  --warm-light: #a06d4d;
  --warm-faint: rgba(139, 90, 60, 0.08);

  /* Dark sections */
  --dark: #1c1714;
  --dark-surface: #252019;
  --dark-border: rgba(255, 255, 255, 0.08);
  --dark-text: #b8b0a5;
  --dark-muted: #7a7269;

  /* System */
  --border: rgba(28, 23, 20, 0.1);
  --border-strong: rgba(28, 23, 20, 0.18);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', system-ui, -apple-system, sans-serif;
  --nav-h: 80px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--text-secondary);
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s var(--ease); }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  color: var(--text);
}

h1 { font-size: clamp(3rem, 7vw, 5.8rem); font-weight: 300; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 300; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 400; }
h4 { font-size: 1.12rem; font-weight: 400; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

/* --- Grain Texture Overlay --- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
  mix-blend-mode: overlay;
}

/* --- Labels --- */
.label {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--warm);
  display: block;
  margin-bottom: 20px;
}

.label-light { color: #c9956a; }

/* --- Rules --- */
.rule {
  width: 48px;
  height: 1px;
  background: var(--warm);
  margin: 24px 0;
  border: none;
  display: block;
}

.rule-center { margin-left: auto; margin-right: auto; }
.rule-dim { background: rgba(139, 90, 60, 0.25); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 42px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--text-ghost);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--white);
}

.btn-sm { padding: 11px 28px; font-size: 0.74rem; }

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Clip-path image reveal */
.reveal-image {
  clip-path: inset(8% 4% 8% 4%);
  opacity: 0;
  transition: clip-path 1.2s var(--ease-out), opacity 0.6s var(--ease-out);
}

.reveal-image.visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* --- Image Placeholders --- */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 20%, var(--warm-faint) 50%, var(--accent-faint) 80%);
}

.img-placeholder span {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-ghost);
  position: relative;
  z-index: 1;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 1000;
  transition: all 0.4s var(--ease);
}

.nav.nav-light {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.nav.scrolled {
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.nav-logo img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links a.active::after,
.nav-links a:hover::after { width: 100%; }

/* Hero nav: light text */
.nav--hero:not(.scrolled) { background: transparent; }
.nav--hero:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, 0.8); }
.nav--hero:not(.scrolled) .nav-links a:hover,
.nav--hero:not(.scrolled) .nav-links a.active { color: var(--white); }
.nav--hero:not(.scrolled) .nav-links a::after { background: var(--white); }
.nav--hero:not(.scrolled) .hamburger span { background: var(--white); }

.nav-cta {
  padding: 10px 28px !important;
  font-size: 0.72rem !important;
  letter-spacing: 2px !important;
  color: var(--white) !important;
  background: var(--accent) !important;
  text-transform: uppercase;
  font-weight: 500 !important;
  transition: background 0.3s var(--ease) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-hover) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: all 0.3s var(--ease);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.mobile-menu.active { opacity: 1; pointer-events: all; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--text);
  transition: color 0.3s var(--ease);
}

.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { font-family: var(--font-body); font-size: 0.72rem; margin-top: 12px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 1100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 25s ease-out forwards;
}

@keyframes heroZoom {
  0% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(28, 23, 20, 0.55) 0%,
    rgba(28, 23, 20, 0.35) 30%,
    rgba(28, 23, 20, 0.45) 60%,
    rgba(28, 23, 20, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}

.hero-title {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

.hero-rule {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  margin: 28px 0;
}

.hero-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
  max-width: 480px;
  margin-bottom: 36px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* ============================================
   MARQUEE TICKER
   ============================================ */
.marquee {
  background: var(--dark);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--dark), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--dark), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  padding: 0 12px;
  transition: color 0.3s;
}

.marquee-track span:not(.marquee-dot):hover {
  color: rgba(255, 255, 255, 0.8);
}

.marquee-dot {
  width: 4px !important;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  padding: 0 !important;
  flex-shrink: 0;
  display: inline-block;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   PRINCIPLES
   ============================================ */
.principles {
  padding: 140px 0;
  background: var(--surface);
}

.principles-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 100px;
  align-items: end;
}

.principles-header p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.9;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.principle {
  padding: 48px 44px;
  border-left: 1px solid var(--border);
  position: relative;
  transition: background 0.4s var(--ease);
}

.principle:first-child { border-left: none; }

.principle:hover { background: var(--accent-faint); }

.principle-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--text-faint);
  line-height: 1;
  margin-bottom: 28px;
}

.principle h3 { margin-bottom: 14px; }

.principle p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   FULL-BLEED IMAGE BREAK
   ============================================ */
.image-break {
  width: 100%;
  overflow: hidden;
}

.image-break img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

/* ============================================
   HORIZONTAL SCROLL GALLERY
   ============================================ */
.gallery {
  padding: 120px 0 140px;
  background: var(--bg);
  overflow: hidden;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 48px;
}

.gallery-header h2 { margin-bottom: 0; }

.gallery-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 48px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 48px;
  cursor: grab;
}

.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-scroll:active { cursor: grabbing; }

.gallery-scroll-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  overflow: hidden;
  position: relative;
}

.gallery-scroll-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-scroll-item:hover img { transform: scale(1.04); }

.gallery-scroll-item--wide { width: 520px; height: 380px; }
.gallery-scroll-item--tall { width: 320px; height: 460px; }
.gallery-scroll-item--square { width: 400px; height: 400px; }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(28, 23, 20, 0.75), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s var(--ease);
}

.gallery-scroll-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-caption span {
  font-size: 0.76rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.gallery-drag-hint {
  text-align: right;
  margin-top: 24px;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-ghost);
}

/* ============================================
   SERVICES (Home)
   ============================================ */
.services-home {
  padding: 140px 0;
  background: var(--surface);
}

.services-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px;
}

.services-header h2 { margin-bottom: 16px; }
.services-header p { color: var(--text-secondary); font-size: 0.96rem; }

.service-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: start;
  gap: 36px;
  padding: 36px 28px;
  border-top: 1px solid var(--border);
  transition: all 0.35s var(--ease);
  margin: 0 -28px;
}

.service-row:last-child { border-bottom: 1px solid var(--border); }

.service-row:hover { background: var(--accent-faint); }

.service-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-ghost);
  padding-top: 4px;
}

.service-row-content h3 {
  margin-bottom: 8px;
  transition: color 0.3s var(--ease);
}

.service-row:hover .service-row-content h3 { color: var(--accent); }

.service-row-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 540px;
  line-height: 1.8;
}

.service-row .btn { align-self: center; flex-shrink: 0; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 140px 0;
  background: var(--dark);
  position: relative;
}

.testimonials-inner {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 100px;
}

.testimonials-intro { padding-top: 20px; }
.testimonials-intro h2 { color: var(--white); margin-bottom: 20px; font-weight: 300; }
.testimonials-intro p { color: var(--dark-muted); max-width: 340px; font-size: 0.92rem; line-height: 1.8; }

.testimonial-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.testimonial {
  padding: 36px 0 36px 36px;
  border-left: 1px solid rgba(74, 124, 124, 0.15);
  border-bottom: 1px solid var(--dark-border);
  transition: border-color 0.3s var(--ease);
}

.testimonial:last-child { border-bottom: none; }
.testimonial:hover { border-left-color: var(--accent); }

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 18px;
}

.testimonial-stars svg {
  width: 13px;
  height: 13px;
  fill: var(--accent);
}

.testimonial blockquote {
  font-size: 1.12rem;
  color: var(--dark-text);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 300;
}

.testimonial-author { font-size: 0.88rem; }
.testimonial-author strong { color: var(--white); display: block; font-weight: 500; font-size: 0.9rem; }
.testimonial-author span { color: var(--dark-muted); font-size: 0.8rem; letter-spacing: 0.5px; }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  position: relative;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(28, 23, 20, 0.78);
}

.cta-band .container {
  position: relative;
  z-index: 2;
}

.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, 0.55); font-size: 1rem; margin-bottom: 40px; }
.cta-band .label { color: var(--accent-light); }

/* Fallback for CTA without background image */
.cta-band--simple {
  background: var(--bg-alt);
  position: relative;
}

.cta-band--simple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--text-ghost), transparent);
}

.cta-band--simple h2 { color: var(--text); }
.cta-band--simple p { color: var(--text-secondary); }
.cta-band--simple .label { color: var(--warm); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  padding: 80px 0 0;
  color: var(--dark-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--dark-border);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.85;
  margin-top: 20px;
  max-width: 280px;
}

.footer-brand .nav-logo img { height: 36px; }

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 24px;
}

.footer-links a {
  display: block;
  font-size: 0.92rem;
  padding: 5px 0;
  color: var(--dark-muted);
  transition: color 0.3s var(--ease);
}

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

.footer-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  padding: 5px 0;
}

.footer-hours li span:first-child { color: rgba(255, 255, 255, 0.2); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
  stroke: var(--accent);
  flex-shrink: 0;
}

.footer-contact-item a:hover { color: var(--accent-light); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(255, 255, 255, 0.18); }
.footer-bottom a { color: var(--accent); }
.footer-bottom a:hover { color: var(--accent-light); }

.footer-portal {
  font-size: 0.76rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22) !important;
  transition: color 0.3s var(--ease) !important;
}

.footer-portal:hover { color: var(--accent-light) !important; }

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-hero .label { margin-bottom: 14px; }
.page-hero h1 { margin-bottom: 20px; font-weight: 300; }

.page-hero-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 500px;
  line-height: 1.8;
}

/* ============================================
   SERVICE DETAIL (Services Page)
   ============================================ */
.service-detail {
  padding: 100px 0;
  background: var(--bg);
}

.service-detail:nth-child(even) { background: var(--surface); }

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.service-detail:nth-child(even) .service-detail-inner { direction: rtl; }
.service-detail:nth-child(even) .service-detail-inner > * { direction: ltr; }

.service-image {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.service-image:hover img { transform: scale(1.03); }

.service-content h2 { margin-bottom: 16px; }

.service-content > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 28px;
}

.service-features { margin-bottom: 36px; }

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.service-features li::before {
  content: '';
  width: 8px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 11px;
}

.service-content .btn { margin-top: 8px; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story {
  padding: 100px 0;
  background: var(--bg);
}

.about-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.about-image:hover img { transform: scale(1.03); }

.about-text h2 { margin-bottom: 20px; }

.about-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.9;
}

.about-text a { color: var(--accent); font-weight: 500; }
.about-text a:hover { color: var(--accent-hover); }

/* Process */
.process {
  padding: 140px 0;
  background: var(--surface);
}

.process-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 80px;
}

.process-header h2 { margin-bottom: 16px; }
.process-header p { color: var(--text-secondary); font-size: 0.95rem; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.process-step {
  padding: 44px 36px;
  border-left: 1px solid var(--border);
  transition: background 0.3s var(--ease);
}

.process-step:first-child { border-left: none; }
.process-step:hover { background: var(--accent-faint); }

.process-step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--text-faint);
  line-height: 1;
  margin-bottom: 24px;
}

.process-step h3 { margin-bottom: 12px; }
.process-step p { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.8; }

/* Team */
.team {
  padding: 140px 0;
  background: var(--bg);
}

.team-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 80px;
}

.team-header h2 { margin-bottom: 16px; }
.team-header p { color: var(--text-secondary); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.team-card { text-align: center; }

.team-avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-alt);
}

.team-avatar img { width: 100%; height: 100%; object-fit: cover; }

.team-card h3 { margin-bottom: 4px; }

.team-card .role {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
  font-weight: 400;
}

.team-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  max-width: 300px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Parent callout */
.parent-callout {
  padding: 80px 0;
  background: var(--surface);
}

.parent-callout-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 52px 60px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.parent-callout-inner h3 { margin-bottom: 10px; }
.parent-callout-inner p { color: var(--text-secondary); max-width: 540px; font-size: 0.9rem; line-height: 1.85; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: 80px 0 140px;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
}

.contact-info h2 { margin-bottom: 12px; }

.contact-info > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 40px;
  line-height: 1.85;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--surface);
  transition: border-color 0.3s var(--ease);
}

.contact-icon:hover { border-color: var(--accent); }

.contact-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--accent);
}

.contact-detail h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.contact-detail p,
.contact-detail a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.contact-detail a:hover { color: var(--accent); }

.contact-hours {
  margin-top: 40px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.contact-hours h4 {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-ghost);
  margin-bottom: 16px;
}

.contact-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.contact-hours li:last-child { border: none; }
.contact-hours li span:first-child { color: var(--text-ghost); }

/* Form */
.contact-form-wrap {
  padding: 52px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.contact-form-wrap h3 { margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 36px; }

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group label .required { color: var(--accent); }

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
  outline: none;
}

.form-control::placeholder { color: var(--text-ghost); }
.form-control:focus { border-color: var(--accent); }
.form-control.error { border-color: #8b5050; }

.error-message {
  font-size: 0.72rem;
  color: #8b5050;
  margin-top: 6px;
  display: none;
}

.error-message.show { display: block; }

textarea.form-control { min-height: 140px; resize: vertical; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23998f83' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-submit { margin-top: 12px; }
.form-submit .btn { width: 100%; justify-content: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 52px 20px;
}

.form-success.show { display: block; }

.form-success svg {
  width: 44px;
  height: 44px;
  stroke: var(--accent);
  margin-bottom: 20px;
}

.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--text-secondary); font-size: 0.92rem; }

/* Map */
.map-section {
  height: 400px;
  border-top: 1px solid var(--border);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: saturate(0.2) contrast(1.1) sepia(0.1);
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--warm));
  z-index: 10003;
  pointer-events: none;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease);
  opacity: 0;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
  opacity: 0;
}

body.cursor-ready .cursor-dot { opacity: 1; }
body.cursor-ready .cursor-ring { opacity: 0.35; }

body.cursor-hover .cursor-ring {
  width: 60px;
  height: 60px;
  opacity: 0.18;
}

body.cursor-hover .cursor-dot {
  width: 8px;
  height: 8px;
}

body.cursor-image .cursor-ring {
  width: 80px;
  height: 80px;
  opacity: 0.12;
  border-color: var(--white);
}

body.cursor-image .cursor-dot {
  width: 4px;
  height: 4px;
  background: var(--white);
}

@media (hover: hover) and (min-width: 769px) {
  html { cursor: none; }
  a, button, .btn, .gallery-scroll { cursor: none; }
  input, textarea { cursor: text; }
  select { cursor: pointer; }
}

@media (hover: none), (max-width: 768px) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ============================================
   PAGE TRANSITION
   ============================================ */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 10002;
  background: var(--dark);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.45s var(--ease);
}

.page-transition.loaded {
  opacity: 0;
}

.page-transition.leaving {
  opacity: 1;
  pointer-events: all;
}

/* ============================================
   MATERIALS SHOWCASE
   ============================================ */
.materials {
  padding: 140px 0;
  background: var(--surface);
}

.materials-header {
  margin-bottom: 72px;
}

.materials-header h2 { margin-bottom: 0; }

.materials-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.material-card {
  background: var(--bg);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  position: relative;
}

.material-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(28, 23, 20, 0.12);
  z-index: 2;
}

.material-swatch {
  height: 180px;
  transition: height 0.5s var(--ease);
  position: relative;
}

.material-swatch::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.4 1.8' numOctaves='4' seed='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 200px;
  mix-blend-mode: overlay;
  opacity: 0.4;
}

.material-card:hover .material-swatch {
  height: 200px;
}

.material-card h3 {
  font-size: 1.15rem;
  padding: 24px 24px 8px;
}

.material-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.75;
  padding: 0 24px 24px;
}

/* ============================================
   EDITORIAL PULL QUOTE
   ============================================ */
.pull-quote {
  padding: 100px 0;
  background: var(--bg);
  overflow: hidden;
}

.pull-quote-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--text);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pull-quote-text em {
  font-style: italic;
  color: var(--accent);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .principles-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 60px; }
  .testimonials-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .service-detail-inner { gap: 48px; }
  .about-story-inner { gap: 48px; }
  .parent-callout-inner { flex-direction: column; text-align: center; padding: 36px; }
  .image-break img { height: 380px; }
  .gallery-scroll-item--wide { width: 420px; height: 320px; }
  .gallery-scroll-item--tall { width: 280px; height: 380px; }
  .gallery-scroll-item--square { width: 340px; height: 340px; }
  .materials-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 70px; }

  .container { padding: 0 24px; }

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

  .hero { min-height: 500px; }
  .hero-content { padding-bottom: 48px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; max-width: 280px; justify-content: center; }

  .marquee-track span { font-size: 0.9rem; }

  .principles { padding: 80px 0; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle { border-left: none; border-bottom: 1px solid var(--border); padding: 36px 0; }

  .image-break img { height: 280px; }

  .gallery { padding: 80px 0 100px; }
  .gallery-scroll { gap: 12px; padding: 0 24px; scroll-padding: 0 24px; }
  .gallery-scroll-item--wide { width: 340px; height: 260px; }
  .gallery-scroll-item--tall { width: 240px; height: 320px; }
  .gallery-scroll-item--square { width: 280px; height: 280px; }
  .gallery-drag-hint { display: none; }

  .materials { padding: 80px 0; }
  .materials-strip { grid-template-columns: repeat(2, 1fr); }
  .material-card:nth-child(5) { grid-column: span 2; }
  .pull-quote { padding: 60px 0; }

  .services-home { padding: 80px 0; }
  .service-row { grid-template-columns: 1fr; gap: 16px; margin: 0; padding: 32px 0; }
  .service-num { display: none; }
  .service-row .btn { justify-self: start; }

  .testimonials { padding: 80px 0; }

  .cta-band { padding: 100px 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .service-detail { padding: 60px 0; }
  .service-detail-inner { grid-template-columns: 1fr; gap: 36px; }
  .service-detail:nth-child(even) .service-detail-inner { direction: ltr; }

  .about-story-inner { grid-template-columns: 1fr; gap: 36px; }

  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step { border-left: none; border-bottom: 1px solid var(--border); }

  .team-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .gallery-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero { min-height: 440px; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .process-steps { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .materials-strip { grid-template-columns: 1fr 1fr; }
  .material-swatch { height: 140px; }
  .material-card:hover .material-swatch { height: 140px; }
  .material-card:nth-child(5) { grid-column: span 2; }
  .page-hero { padding: 130px 0 60px; }
  .map-section { height: 260px; }
  .image-break img { height: 220px; }
  .gallery-scroll-item--wide { width: 280px; height: 220px; }
  .gallery-scroll-item--tall { width: 200px; height: 280px; }
  .gallery-scroll-item--square { width: 240px; height: 240px; }
}
