:root {
  /* Engineering palette — derived from logo, lead by blue */
  --c-cobalt: #2C5F8D;        /* primary — blueprint blue */
  --c-cobalt-deep: #1F4669;   /* primary darker */
  --c-steel: #5E8FBF;         /* secondary — logo blue */
  --c-plum: #5B2A86;          /* brand anchor — logo purple */
  --c-graphite: #2A2D34;      /* ink — cool dark */
  --c-graphite-soft: #3A3E47; /* slightly softer */
  --c-mist: #DCE5EC;          /* schematic tint */
  --c-mist-deep: #B9C8D6;     /* mist on hover */
  --c-accent: #A064C8;        /* primary brand accent (purple end of gradient) */
  --c-accent-deep: #7B4AB0;   /* darker accent for hover */
  --c-accent-blue: #4FA8E8;   /* secondary brand accent (blue end of gradient) */
  --c-accent-grad: linear-gradient(135deg, #A064C8 0%, #4FA8E8 100%);
  --c-accent-grad-deep: linear-gradient(135deg, #8550B0 0%, #3F90D0 100%);
  --c-muted: #5E6470;         /* muted body text */
  --c-cream: #F9F9F3;         /* page bg (locked) */
  --c-cream-warm: #F2EFE5;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --max-w: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--c-cream);
  color: var(--c-graphite);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-graphite);
  border-bottom: 1px solid rgba(249, 249, 243, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav-logo img { height: 110px; width: auto; display: block; }
@media (max-width: 900px) { .nav-logo img { height: 72px; } }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(249, 249, 243, 0.82);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--c-steel); }
.nav-links a.active { color: var(--c-steel); }
.nav-cta {
  background: var(--c-accent-grad);
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}
.nav-cta:hover { background: var(--c-accent-grad-deep); transform: translateY(-1px); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* =========================================================================
   Sub-menu dropdown ("Quote" parent → 3D Quote / Custom Design)
   ========================================================================= */
.nav-has-sub { position: relative; }
.nav-sub-toggle {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(249, 249, 243, 0.82);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-sub-toggle:hover,
.nav-sub-toggle.active { color: var(--c-steel); }
.nav-caret {
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
  display: inline-block;
}
.nav-has-sub.nav-sub-open .nav-caret { transform: rotate(180deg); }

.nav-sub {
  display: none;
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%);
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  min-width: 200px;
  background: var(--c-graphite);
  border: 1px solid rgba(249, 249, 243, 0.08);
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  z-index: 60;
}
/* Bridge the 0.6rem gap between the toggle and the panel. Without it the
   pointer leaves :hover mid-transit and the menu shuts before you reach it.
   Chrome masked this because clicking the button focuses it and :focus-within
   held the panel open — Safari doesn't focus buttons on click, so it didn't. */
.nav-sub::before {
  content: "";
  position: absolute;
  top: -0.6rem;
  left: 0;
  right: 0;
  height: 0.6rem;
}
.nav-has-sub:hover .nav-sub,
.nav-has-sub:focus-within .nav-sub,
.nav-has-sub.nav-sub-open .nav-sub { display: block; }
.nav-sub li { list-style: none; }
.nav-sub a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(249, 249, 243, 0.82);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-sub a:hover,
.nav-sub a.active { color: var(--c-steel); background: rgba(249, 249, 243, 0.05); }

/* Wrapper for CTA + burger so they sit together on the right of the nav */
.nav-right { display: flex; align-items: center; gap: 0.75rem; }

/* Burger button — invisible on desktop, visible at <=760px */
.nav-burger {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-cream);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

@media (max-width: 900px) {
  .nav-burger { display: inline-flex; }
  .nav-cta { padding: 0.5rem 0.9rem; font-size: 0.78rem; }

  /* Open state — drop-down menu sits below the nav bar */
  .nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-graphite);
    padding: 1.25rem 2rem 1.75rem;
    gap: 0.5rem;
    border-top: 1px solid rgba(249, 249, 243, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  }
  .nav.nav-open .nav-links li { list-style: none; }
  .nav.nav-open .nav-links > li > a,
  .nav.nav-open .nav-sub-toggle {
    display: block;
    padding: 0.65rem 0;
    font-size: 1rem;
    border-bottom: 0.5px solid rgba(249, 249, 243, 0.06);
  }
  .nav.nav-open .nav-links > li:last-child > a { border-bottom: 0; }
  /* Sub-menu accordion on mobile — hide hover behaviour, drive via .nav-sub-open */
  .nav.nav-open .nav-sub-toggle {
    width: 100%;
    text-align: left;
    justify-content: space-between;
    background: none;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
  }
  .nav.nav-open .nav-has-sub:hover .nav-sub,
  .nav.nav-open .nav-has-sub:focus-within .nav-sub { display: none; }
  .nav.nav-open .nav-has-sub.nav-sub-open .nav-sub { display: block; }
  /* The desktop hover-bridge would float over the toggle here (the panel goes
     static) and swallow taps — it has no job in the accordion. */
  .nav.nav-open .nav-sub::before { content: none; }
  .nav.nav-open .nav-sub {
    position: static;
    transform: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0.25rem 0 0.5rem 1rem;
    min-width: 0;
  }
  .nav.nav-open .nav-sub a {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: rgba(249, 249, 243, 0.7);
    border-bottom: 0;
    background: transparent;
  }

  /* Burger ↔ X transform */
  .nav.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 7rem 0 6rem;
  overflow: hidden;
}
.hero.hero-compact { padding: 5rem 0 3.5rem; }
.hero-blob-1, .hero-blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}
.hero-blob-1 {
  width: 540px; height: 540px;
  background: var(--c-mist);
  opacity: 0.85;
  top: -140px; right: -180px;
}
.hero-blob-2 {
  width: 440px; height: 440px;
  background: var(--c-steel);
  opacity: 0.18;
  bottom: -140px; left: -140px;
}
/* CAD watermark sits on the right, anchored to the TOP of the hero (not
   vertical centre) so the logo + drawing sit higher on the page. */
.hero-cad {
  position: absolute;
  top: 4rem;
  right: max(2rem, calc((100vw - var(--max-w)) / 2));
  width: clamp(360px, 38vw, 560px);
  z-index: 0;
  pointer-events: none;
  color: var(--c-graphite);
  opacity: 0.18;
  mix-blend-mode: multiply;
}
.hero-cad img { width: 100%; height: auto; display: block; }

/* Logo overlay — same right anchor as the CAD; top is aligned with the h1
   ('From idea to') so the wordmark sits horizontally level with the headline.
   Math: hero padding-top (7rem) + eyebrow height (~0.95rem) + eyebrow
   margin-bottom (1.75rem) ≈ 9.7rem. */
.hero-logo-overlay {
  position: absolute;
  top: 9.7rem;
  right: max(2rem, calc((100vw - var(--max-w)) / 2));
  width: clamp(360px, 38vw, 560px);
  z-index: 0;
  pointer-events: none;
}
.hero-logo-overlay img { width: 100%; height: auto; display: block; }
.hero-logo-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.05vw, 1.1rem);
  line-height: 1.55;
  color: var(--c-graphite);
  text-align: center;
  margin: 1.25rem 1rem 0;
  opacity: 0.88;
}
@media (max-width: 1100px) {
  .hero-cad,
  .hero-logo-overlay { display: none; }
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(var(--c-cobalt) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-cobalt) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-cobalt);
  margin-bottom: 1.75rem;
  font-family: var(--mono);
}
.hero-eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--c-cobalt);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 6.75rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--c-graphite);
  max-width: 18ch;
}
.hero.hero-compact h1 { font-size: clamp(2.5rem, 6vw, 5rem); max-width: 22ch; }
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-plum);
}
.hero h1 .accent-cobalt {
  font-style: italic;
  font-weight: 400;
  color: var(--c-cobalt);
}
.hero-sub {
  max-width: 58ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--c-muted);
  margin-top: 2rem;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--c-accent-grad); color: #fff; }
.btn-primary:hover { background: var(--c-accent-grad-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--c-graphite);
  border: 1px solid rgba(42, 45, 52, 0.22);
}
.btn-ghost:hover { border-color: var(--c-cobalt); color: var(--c-cobalt); }
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Marquee strip */
.marquee {
  margin-top: 6rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(42, 45, 52, 0.1);
  border-bottom: 1px solid rgba(42, 45, 52, 0.1);
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
}
.marquee span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--c-muted);
}
.marquee-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-cobalt);
  align-self: center;
  flex-shrink: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ SECTION DEFAULTS ============ */
section { padding: 7rem 0; position: relative; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.section-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-cobalt);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--c-graphite);
  max-width: 18ch;
}
.section-title em { font-style: italic; color: var(--c-plum); }
.section-lede {
  max-width: 44ch;
  font-size: 1.05rem;
  color: var(--c-muted);
  line-height: 1.65;
}

/* ============ PROCESS ============ */
.process {
  background: var(--c-cream);
  padding: 6.5rem 0 5rem;
  position: relative;
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  gap: 0.5rem;
  align-items: stretch;
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 2rem 1.75rem;
  border: 0.5px solid rgba(42, 45, 52, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.pillar:hover { background: #fff; transform: translateY(-2px); border-color: rgba(42, 45, 52, 0.2); }
.pillar-icon {
  width: 48px; height: 48px;
  background: var(--c-accent-grad);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 0.25rem;
}
.pillar-icon svg { width: 24px; height: 24px; }
.pillar-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--c-cobalt);
}
.pillar h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--c-graphite);
}
.pillar p { font-size: 0.95rem; color: var(--c-muted); line-height: 1.55; }
.pillar-arrow {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 1.4rem;
  color: var(--c-cobalt);
  font-weight: 400;
}
@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pillar-arrow { transform: rotate(90deg); padding: 0; height: 32px; }
}

/* ============ SERVICES ============ */
.services { background: var(--c-cream-warm); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(42, 45, 52, 0.1);
  border: 1px solid rgba(42, 45, 52, 0.1);
  border-radius: 4px;
  overflow: hidden;
}
.service {
  background: var(--c-cream-warm);
  padding: 2.5rem 2rem;
  transition: background 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
}
.service:hover { background: var(--c-mist); }
.service-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--c-cobalt);
  margin-bottom: 1.5rem;
}
.service h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--c-graphite);
  margin-bottom: 0.75rem;
}
.service p { font-size: 0.95rem; color: var(--c-muted); line-height: 1.6; margin-bottom: 1.5rem; }
.service-arrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-graphite);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.25s ease;
}
.service:hover .service-arrow { color: var(--c-accent); }

/* ============ CAPABILITY DETAIL (inner page) ============ */
.capability-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  padding: 5rem 0;
  border-bottom: 1px solid rgba(42, 45, 52, 0.08);
  align-items: start;
}
.capability-block:last-child { border-bottom: none; }
.capability-num {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--c-cobalt);
}
.capability-block h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--c-graphite);
  margin-top: 0.5rem;
}
.capability-block h2 em { font-style: italic; color: var(--c-plum); }
.capability-block .visual {
  border: 0.5px solid rgba(42,45,52,0.12);
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #2C5F8D, #5E8FBF);
  position: relative;
  overflow: hidden;
}
.capability-block .visual::after {
  content: "[ visual placeholder ]";
  position: absolute;
  bottom: 14px; right: 16px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
}
.capability-block .visual.v-2 { background: linear-gradient(135deg, #5B2A86, #2C5F8D); }
.capability-block .visual.v-3 { background: linear-gradient(135deg, #2A2D34, #5E8FBF); }
.capability-block .visual.v-4 { background: linear-gradient(135deg, #5E8FBF, #DCE5EC); }
.capability-text p { color: var(--c-muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1rem; }
.capability-list {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
}
.capability-list li {
  font-size: 0.92rem;
  color: var(--c-graphite);
  padding-left: 1.25rem;
  position: relative;
}
.capability-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--c-cobalt);
  font-family: var(--mono);
}
@media (max-width: 860px) {
  .capability-block { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
  .capability-list { grid-template-columns: 1fr; }
}

/* ============ WORK ============ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.work-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.work-item:hover { transform: translateY(-4px); }
.work-item.size-lg { grid-column: span 7; aspect-ratio: 4 / 3; }
.work-item.size-md { grid-column: span 5; aspect-ratio: 4 / 3; }
.work-item.size-sm { grid-column: span 4; aspect-ratio: 1 / 1; }
.work-item.size-wide { grid-column: span 8; aspect-ratio: 16 / 9; }
.work-item.size-full { grid-column: span 12; aspect-ratio: 16 / 9; }
@media (max-width: 860px) {
  .work-item { grid-column: span 12 !important; aspect-ratio: 4 / 3 !important; }
}
.work-thumb {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.work-thumb::after {
  content: "[ placeholder ]";
  position: absolute;
  bottom: 12px; right: 14px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.work-1 { background: linear-gradient(135deg, #2C5F8D, #5E8FBF); }
.work-2 { background: linear-gradient(135deg, #5B2A86, #2C5F8D); }
.work-3 { background: linear-gradient(135deg, #2A2D34, #2C5F8D); }
.work-4 { background: linear-gradient(135deg, #5E8FBF, #DCE5EC); }
.work-5 { background: linear-gradient(135deg, #2A2D34, #5E8FBF); }
.work-6 { background: linear-gradient(135deg, #A064C8, #4FA8E8); }

/* Photo-backed work tiles override the gradient + suppress the [placeholder] glyph */
.work-thumb.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.work-thumb.has-image::after { content: none; }
.work-thumb.has-image::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42,45,52,0) 35%, rgba(42,45,52,0.65) 100%);
  z-index: 1;
}
.work-moduvo { background-image: url('../img/moduvo-modular.jpg'); }

/* =========================================================================
   Work-page reel — short looping video introducing the portfolio
   ========================================================================= */
.work-reel { padding: 3rem 0 4.5rem; }
.work-reel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (max-width: 860px) {
  .work-reel-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.work-reel-text { display: flex; flex-direction: column; gap: 1rem; }
.work-reel-text .section-title { margin: 0; }
.work-reel-text .section-lede { margin: 0; max-width: 38ch; }
.work-reel-video {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--c-graphite);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(42, 45, 52, 0.18);
}
.work-reel-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================================
   CUSTOM DESIGN REQUEST FORM (custom-design.php)
   ========================================================================= */
.cdr-section { padding: 4rem 0 5rem; }
.cdr-process { padding: 0 0 6rem; }
.cdr-form { display: flex; flex-direction: column; gap: 1.75rem; max-width: 980px; margin: 0 auto; }
.cdr-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
  row-gap: 1.25rem;
}
.cdr-twocol {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  margin-top: 0.5rem;
}
@media (max-width: 760px) {
  .cdr-meta { grid-template-columns: 1fr; }
  .cdr-twocol { grid-template-columns: 1fr; }
}
.cdr-field { display: flex; flex-direction: column; gap: 0.4rem; }
.cdr-field label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-cobalt);
}
.cdr-field input,
.cdr-field textarea {
  background: rgba(255,255,255,0.6);
  border: 0.5px solid rgba(42, 45, 52, 0.15);
  padding: 0.85rem 1rem;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--c-graphite);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cdr-field input:focus,
.cdr-field textarea:focus {
  outline: none;
  border-color: var(--c-cobalt);
  background: #fff;
}
.cdr-field textarea { resize: vertical; min-height: 220px; line-height: 1.6; }

.cdr-note {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--c-muted);
  text-align: center;
  margin: 1rem 0 0.5rem;
  font-style: italic;
}

.cdr-banner {
  background: var(--c-graphite);
  color: var(--c-cream);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  margin: 2.5rem 0 0;
}
.cdr-banner-light {
  background: var(--c-cobalt);
  color: #fff;
}
.cdr-banner-sub {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--c-muted);
  text-align: center;
  margin: 0.5rem 0 1.25rem;
  font-style: italic;
}

.cdr-categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}
@media (max-width: 760px) {
  .cdr-categories { grid-template-columns: repeat(2, 1fr); }
}
.cdr-cat { position: relative; cursor: pointer; }
.cdr-cat input { position: absolute; opacity: 0; pointer-events: none; }
.cdr-cat span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 3rem;
  padding: 0.7rem 0.5rem;
  border: 0.5px solid rgba(42, 45, 52, 0.18);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--c-graphite);
  background: rgba(255,255,255,0.6);
  transition: all 0.2s ease;
}
.cdr-cat:hover span { border-color: var(--c-cobalt); }
.cdr-cat input:checked + span {
  background: var(--c-graphite);
  color: var(--c-cream);
  border-color: var(--c-graphite);
}

.cdr-upload {
  background: rgba(255,255,255,0.6);
  border: 1px dashed rgba(42, 45, 52, 0.3);
  padding: 1.25rem 1rem;
  border-radius: 4px;
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}
.cdr-upload input[type="file"] {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--c-graphite);
}
.cdr-upload p {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--c-muted);
}

.cdr-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.cdr-actions-note {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.cdr-errors {
  background: rgba(216, 90, 48, 0.08);
  border-left: 3px solid #D85A30;
  padding: 1rem 1.25rem;
  border-radius: 0 4px 4px 0;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--c-graphite);
}
.cdr-errors strong { display: block; margin-bottom: 0.4rem; color: #D85A30; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.cdr-errors ul { margin: 0; padding-left: 1.25rem; line-height: 1.7; }

.cdr-success {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(160, 100, 200, 0.06);
  border: 0.5px solid rgba(160, 100, 200, 0.25);
  border-radius: 8px;
}
.cdr-success-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #A064C8, #4FA8E8);
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.cdr-success h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
  color: var(--c-graphite);
}
.cdr-success p {
  font-size: 1.05rem;
  color: var(--c-muted);
  line-height: 1.7;
  margin: 0 0 2rem;
}

.cdr-steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 980px) { .cdr-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cdr-steps { grid-template-columns: 1fr; } }
.cdr-steps li {
  background: rgba(255,255,255,0.6);
  border: 0.5px solid rgba(42, 45, 52, 0.12);
  padding: 1.5rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cdr-step-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--c-cobalt);
}
.cdr-steps strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--c-graphite);
}
.cdr-steps span {
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.6;
}
.work-p2 { background-image: url('../img/club-p-lounge-chair.jpg'); }
.work-p3 { background-image: url('../img/Bari_Coffee_Table_Detail.jpg'); }
.work-p4 { background-image: url('../img/elegant-wooden-laser-cut-chair-design.jpg'); }
.work-meta {
  position: absolute;
  left: 1.5rem; bottom: 1.5rem;
  color: #fff;
  z-index: 2;
}
.work-meta .tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.4rem;
}
.work-meta .name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.work-meta .name em { font-style: italic; }

/* ============ PHILOSOPHY ============ */
.philosophy { background: var(--c-graphite); color: var(--c-cream); }
.philosophy .section-title { color: var(--c-cream); }
.philosophy .section-title em { color: var(--c-steel); }
.philosophy .section-eyebrow { color: var(--c-steel); }
.philosophy-quote {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  max-width: 26ch;
  color: var(--c-cream);
}
.philosophy-quote::before {
  content: "“";
  font-size: 5rem;
  line-height: 0.5;
  color: var(--c-steel);
  display: block;
  margin-bottom: 1rem;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 860px) { .philosophy-grid { grid-template-columns: 1fr; gap: 3rem; } }
.philosophy-values { display: flex; flex-direction: column; gap: 1.5rem; }
.value-prop {
  border-top: 1px solid rgba(249, 249, 243, 0.15);
  padding-top: 1.4rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.value-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, rgba(160,100,200,0.25), rgba(79,168,232,0.25));
  border: 0.5px solid rgba(249, 249, 243, 0.18);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-cream);
}
.value-icon svg { width: 20px; height: 20px; }
.value-text { flex: 1; }
.value-prop h4 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--c-cream);
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}
.value-prop p { font-size: 0.92rem; color: rgba(249, 249, 243, 0.7); line-height: 1.5; }

/* ============ CONTACT FORM (inner page) ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-field { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-field label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-cobalt);
}
.contact-field input,
.contact-field textarea {
  background: rgba(255,255,255,0.6);
  border: 0.5px solid rgba(42, 45, 52, 0.15);
  padding: 0.85rem 1rem;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--c-graphite);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--c-cobalt);
  background: #fff;
}
.contact-field textarea { resize: vertical; min-height: 140px; }
.contact-info { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-info-block .label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-cobalt);
  margin-bottom: 0.4rem;
}
.contact-info-block .value {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--c-graphite);
  line-height: 1.3;
}
.contact-info-block .value a { color: inherit; transition: color 0.2s; }
.contact-info-block .value a:hover { color: var(--c-cobalt); }

/* ============ ABOUT (inner page) ============ */
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 6rem;
  align-items: start;
}
@media (max-width: 860px) { .about-cols { grid-template-columns: 1fr; gap: 3rem; } }
.about-cols p { color: var(--c-muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1rem; }
.about-cols p strong { color: var(--c-graphite); font-weight: 500; }

/* ============ CTA ============ */
.cta { padding: 9rem 0 8rem; text-align: center; position: relative; }
.cta-blob {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: var(--c-mist);
  filter: blur(100px);
  opacity: 0.65;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 0 2rem; }
.cta h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-graphite);
}
.cta h2 em { font-style: italic; color: var(--c-plum); }
.cta p { max-width: 50ch; margin: 1.75rem auto 2.5rem; color: var(--c-muted); font-size: 1.1rem; }
.cta-tagline {
  margin: 2.75rem auto 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.4;
  color: var(--c-graphite);
  letter-spacing: -0.005em;
}
.cta-tagline em {
  background: var(--c-accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
  font-style: italic;
}

/* ============ FOOTER ============ */
footer { background: var(--c-graphite); color: rgba(249,249,243,0.75); padding: 4rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(249,249,243,0.1);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand img {
  height: 110px;
  width: auto;
  margin-bottom: 1.5rem;
  display: block;
  max-width: 100%;
}
.footer-brand p { max-width: 36ch; font-size: 0.9rem; line-height: 1.55; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-steel);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.9rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--c-steel); }
.footer-pillars {
  margin-top: 2.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(249, 249, 243, 0.15);
  border-bottom: 1px solid rgba(249, 249, 243, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(249, 249, 243, 0.85);
}
.footer-pillars .pillars-domain { color: rgba(249, 249, 243, 0.95); }
.footer-pillars .pillars-set { display: flex; gap: 1.75rem; }
.footer-pillars .pillars-set span:not(:last-child)::after {
  content: "·";
  margin-left: 1.75rem;
  color: rgba(249, 249, 243, 0.4);
}
@media (max-width: 760px) {
  .footer-pillars { justify-content: center; text-align: center; }
  /* Brand block spans both columns so the logo + description get full width */
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { height: 72px; }
}
.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(249,249,243,0.45);
}

/* ============ SMALL PHONES (≤480px) ============ */
@media (max-width: 480px) {
  /* Tighter gutters */
  .container { padding: 0 1.25rem; }
  .hero-inner { padding: 0 1.25rem; }

  /* Reduce generous section vertical rhythm */
  section { padding: 4rem 0; }
  .hero { padding: 4rem 0 3rem; }
  .hero.hero-compact { padding: 3rem 0 2rem; }
  .process { padding: 4rem 0 3rem; }
  .cta { padding: 5rem 0 4rem; }

  /* Single-column footer on very small phones */
  .footer-grid { grid-template-columns: 1fr; }

  /* Stack footer bottom centered */
  .footer-bottom { justify-content: center; text-align: center; }

  /* Full-width stacked hero buttons */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }

  /* Wrap the pillars text so it doesn't overflow */
  .footer-pillars .pillars-set { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
}

/* =========================================================================
   2026-07-22 — Unified nav (homepage v2 rollout): light strip + mono
   uppercase links with kerf-gradient underline, matching the new home.
   Overrides the original dark nav below; subpage markup unchanged apart
   from the logo swap (logo-inverted.svg → logo.svg).
   ========================================================================= */
.nav {
  background: rgba(249, 249, 243, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(42, 45, 52, 0.14);
}
.nav-logo img { height: 78px; }
@media (max-width: 900px) { .nav-logo img { height: 58px; } }
.nav-links {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  gap: 2rem;
  align-items: center;
}
.nav-links a,
.nav-sub-toggle {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.nav-links > li > a { position: relative; padding: 4px 0; }
.nav-links > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--c-accent-grad);
  transition: width 0.3s ease;
}
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active,
.nav-sub-toggle:hover,
.nav-sub-toggle.active { color: var(--c-graphite); }
.nav-cta {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-sub {
  background: #fff;
  border: 1px solid rgba(42, 45, 52, 0.14);
  box-shadow: 0 12px 28px rgba(42, 45, 52, 0.14);
}
.nav-sub a { color: var(--c-muted); text-transform: uppercase; font-family: var(--mono); font-size: 0.75rem; }
.nav-sub a:hover, .nav-sub a.active { color: var(--c-graphite); background: rgba(42, 45, 52, 0.05); }
.nav-burger span { background: var(--c-graphite); }
@media (max-width: 900px) {
  .nav.nav-open .nav-links {
    background: var(--c-cream);
    border-top: 1px solid rgba(42, 45, 52, 0.1);
    box-shadow: 0 8px 24px rgba(42, 45, 52, 0.12);
  }
  .nav.nav-open .nav-links > li > a,
  .nav.nav-open .nav-sub-toggle { color: var(--c-graphite); }
  /* 2026-07-30 — the light-nav rollout re-coloured the open menu and its top-level
     links, but missed the sub-menu links, which kept the old dark-nav colour
     (rgba(249,249,243,.7)). On the now-cream panel they rendered invisible on every
     page with a nav dropdown. */
  .nav.nav-open .nav-sub a { color: var(--c-muted); }
  .nav.nav-open .nav-sub a:hover,
  .nav.nav-open .nav-sub a.active { color: var(--c-graphite); }
}
