/* ==========================================================================
   WALLIV — Editorial architectural system
   Reference: forms-surfaces.com · Logo: charcoal + cobalt
   ========================================================================== */

:root {
  /* Brand from logo — charcoal metal + cobalt edge */
  --ink: #14181f;
  --ink-soft: #2a303a;
  --ink-muted: #5c6570;
  --cobalt: #0c5bdb;
  --cobalt-deep: #0847b0;
  --cobalt-soft: #e8f0fc;
  --cobalt-line: #9bb8f0;

  /* Warm architectural neutrals (not cold SaaS gray-blue) */
  --paper: #f7f5f1;
  --paper-2: #efece6;
  --white: #ffffff;
  --line: #ddd8cf;
  --line-strong: #c8c2b6;
  --stone: #a39e93;

  --bg: var(--paper);
  --surface: var(--white);
  --text: var(--ink);
  --text-secondary: var(--ink-muted);
  --accent: var(--cobalt);

  /* Type — refined editorial */
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --font-ui: "Manrope", system-ui, sans-serif;

  --fs-xs: 0.6875rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --fs-2xl: clamp(2rem, 1.4rem + 2vw, 2.75rem);
  --fs-3xl: clamp(2.75rem, 1.8rem + 3.5vw, 4.5rem);
  --fs-hero: clamp(2.85rem, 2rem + 5vw, 5.5rem);

  --lh-tight: 1.05;
  --lh-snug: 1.2;
  --lh-body: 1.65;

  --tracking-display: -0.02em;
  --tracking-label: 0.16em;

  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --section-y: clamp(4rem, 8vw, 7rem);
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --radius: 2px;
  --header-h: 72px;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration: 0.35s;
  --duration-slow: 0.7s;

  --shadow-soft: 0 12px 40px rgba(20, 24, 31, 0.08);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Natural photo rendering (no heavy filters) */
.hero-fs-media img,
.arrival-card-media img,
.project-slide img,
.heritage-media img,
.catalog-card-media img,
.feature-split-media img,
.project-card img,
.product-tile img {
  filter: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-display);
  color: var(--ink);
}

p {
  color: var(--text-secondary);
}

::selection {
  background: rgba(12, 91, 219, 0.15);
  color: var(--ink);
}

:focus-visible {
  outline: 1.5px solid var(--cobalt);
  outline-offset: 3px;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.container--flush {
  width: 100%;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--paper {
  background: var(--paper);
}

.section--white {
  background: var(--white);
}

.section--ink {
  background: var(--ink);
  color: var(--white);
}

.section--ink h2,
.section--ink h3 {
  color: var(--white);
}

.section--ink p {
  color: rgba(255, 255, 255, 0.68);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.section-label {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--fs-2xl);
  font-weight: 500;
  max-width: 18ch;
}

.section-intro {
  max-width: 52ch;
  font-size: var(--fs-md);
  line-height: 1.7;
}

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.95rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease),
    border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.btn svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration) var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--ink {
  background: var(--ink);
  color: var(--white);
}

.btn--ink:hover {
  background: var(--ink-soft);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

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

/* Legacy aliases — keep inner pages consistent with new system */
.btn--primary {
  background: var(--ink);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--ink-soft);
}
.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--secondary:hover {
  background: var(--ink);
  color: var(--white);
}
.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}
.btn--sm {
  padding: 0.7rem 1.1rem;
  font-size: 0.75rem;
}
.btn--lg {
  padding: 1.05rem 1.55rem;
}

.section-header {
  max-width: 36rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-header--center {
  margin-inline: auto;
  text-align: center;
}
.section-header--center .section-label {
  justify-content: center;
}
.section-lead {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--text-secondary);
}

.btn--text {
  padding: 0;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding-bottom: 2px;
}

.btn--text:hover {
  color: var(--cobalt);
  border-bottom-color: var(--cobalt);
}

.btn--text svg {
  width: 12px;
  height: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  transition: color var(--duration) var(--ease), gap var(--duration) var(--ease);
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.link-arrow:hover {
  color: var(--cobalt);
  gap: 0.75rem;
}

/* ---------- Header — F+S sparse nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease),
    color var(--duration) var(--ease);
}

/* Over hero: light text */
.site-header.is-over-hero {
  color: var(--white);
}

.site-header.is-over-hero .logo-text strong {
  color: var(--white);
}

.site-header.is-over-hero .logo-text span {
  color: rgba(255, 255, 255, 0.55);
}

.site-header.is-over-hero .nav-link {
  color: rgba(255, 255, 255, 0.88);
}

.site-header.is-over-hero .nav-link:hover,
.site-header.is-over-hero .nav-link.is-active {
  color: var(--white);
}

.site-header.is-over-hero .nav-toggle {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

.site-header.is-over-hero .nav-toggle span,
.site-header.is-over-hero .nav-toggle span::before,
.site-header.is-over-hero .nav-toggle span::after {
  background: var(--white);
}

.site-header.is-over-hero .header-cta .btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.site-header.is-over-hero .header-cta .btn--outline:hover {
  background: var(--white);
  color: var(--ink);
}

/* Scrolled / solid */
.site-header.is-scrolled,
.site-header.is-solid,
.site-header.is-open {
  background: rgba(247, 245, 241, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}

.site-header.is-scrolled .logo-text strong,
.site-header.is-solid .logo-text strong,
.site-header.is-open .logo-text strong {
  color: var(--ink);
}

.site-header.is-scrolled .logo-text span,
.site-header.is-solid .logo-text span,
.site-header.is-open .logo-text span {
  color: var(--ink-muted);
}

.site-header.is-scrolled .nav-link,
.site-header.is-solid .nav-link,
.site-header.is-open .nav-link {
  color: var(--ink-soft);
}

.site-header.is-scrolled .nav-toggle,
.site-header.is-solid .nav-toggle,
.site-header.is-open .nav-toggle {
  border-color: var(--line);
  background: var(--white);
}

.site-header.is-scrolled .nav-toggle span,
.site-header.is-scrolled .nav-toggle span::before,
.site-header.is-scrolled .nav-toggle span::after,
.site-header.is-solid .nav-toggle span,
.site-header.is-solid .nav-toggle span::before,
.site-header.is-solid .nav-toggle span::after,
.site-header.is-open .nav-toggle span,
.site-header.is-open .nav-toggle span::before,
.site-header.is-open .nav-toggle span::after {
  background: var(--ink);
}

.site-header.is-scrolled .header-cta .btn--outline,
.site-header.is-solid .header-cta .btn--outline,
.site-header.is-open .header-cta .btn--outline {
  color: var(--ink);
  border-color: var(--ink);
}

.header-inner {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  flex-shrink: 0;
}

.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.logo-text strong {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
}

.logo-text span {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.85rem;
  transition: color var(--duration) var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--cobalt);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown-trigger svg {
  width: 11px;
  height: 11px;
  opacity: 0.55;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease),
    visibility var(--duration);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.85rem 1rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  transition: background var(--duration) var(--ease);
}

.nav-dropdown-menu a:hover {
  background: var(--paper);
  color: var(--cobalt);
}

.nav-dropdown-menu a small {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--duration) var(--ease), top var(--duration) var(--ease);
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.site-header.is-open .nav-toggle span {
  background: transparent;
}

.site-header.is-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- HERO — full-bleed like F+S ---------- */
.hero-fs {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-fs-media {
  position: absolute;
  inset: 0;
}

.hero-fs-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: hero-ken 22s var(--ease) infinite alternate;
}

@keyframes hero-ken {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

.hero-fs-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 16, 22, 0.35) 0%, rgba(12, 16, 22, 0.15) 35%, rgba(12, 16, 22, 0.72) 100%),
    linear-gradient(90deg, rgba(12, 16, 22, 0.45) 0%, transparent 55%);
}

.hero-fs-content {
  position: relative;
  z-index: 2;
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 0 clamp(3.5rem, 8vw, 5.5rem);
}

.hero-fs-kicker {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-fs-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--cobalt-line);
}

.hero-fs h1 {
  font-size: var(--fs-hero);
  font-weight: 500;
  color: var(--white);
  max-width: 14ch;
  line-height: 1.02;
  margin-bottom: var(--space-8);
}

.hero-fs h1 em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

.hero-fs-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6);
}

.hero-fs-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--duration) var(--ease);
}

.hero-fs-scroll:hover {
  color: var(--white);
}

.hero-fs-scroll svg {
  width: 18px;
  height: 18px;
}

/* ---------- Carousel — New Arrivals / Projects ---------- */
.carousel-section {
  background: var(--white);
  padding-block: var(--section-y);
  overflow: hidden;
}

.carousel-head {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin: 0 auto var(--space-8);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
}

.carousel-head h2 {
  font-size: var(--fs-2xl);
  font-weight: 500;
}

.carousel-controls {
  display: flex;
  gap: 0.5rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease),
    color var(--duration) var(--ease);
}

.carousel-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.carousel-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.carousel-btn svg {
  width: 16px;
  height: 16px;
}

.carousel-track-wrap {
  overflow: hidden;
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-right: var(--gutter);
  padding-bottom: 0.5rem;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

/* Product card — F+S new arrivals style */
.arrival-card {
  flex: 0 0 min(72vw, 380px);
  scroll-snap-align: start;
}

.arrival-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
  margin-bottom: var(--space-4);
}

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

.arrival-card:hover .arrival-card-media img {
  transform: scale(1.04);
}

.arrival-card h3 {
  font-family: var(--font-ui);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.25rem;
  transition: color var(--duration) var(--ease);
}

.arrival-card:hover h3 {
  color: var(--cobalt);
}

.arrival-card p {
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}

/* Project card wide */
.project-slide {
  flex: 0 0 min(85vw, 520px);
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--ink);
}

.project-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.9s var(--ease), opacity 0.5s var(--ease);
}

.project-slide:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.project-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 16, 22, 0.85) 100%);
  pointer-events: none;
}

.project-slide-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: var(--space-6);
  color: var(--white);
}

.project-slide-body .cat {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.4rem;
}

.project-slide-body h3 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--white);
}

/* ---------- Expertise — F+S list style ---------- */
.expertise-fs {
  background: var(--paper);
  padding-block: var(--section-y);
}

.expertise-fs-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.expertise-fs-copy h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-6);
  max-width: 14ch;
}

.expertise-fs-copy p {
  font-size: var(--fs-md);
  line-height: 1.75;
  max-width: 42ch;
  margin-bottom: var(--space-8);
}

.expertise-list {
  border-top: 1px solid var(--line);
}

.expertise-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.65rem);
  font-weight: 500;
  color: var(--ink);
  transition: color var(--duration) var(--ease), padding-left var(--duration) var(--ease);
}

.expertise-list a:hover {
  color: var(--cobalt);
  padding-left: 0.5rem;
}

.expertise-list a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.45;
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.expertise-list a:hover svg {
  opacity: 1;
  transform: translateX(4px);
  color: var(--cobalt);
}

/* ---------- Heritage / image band ---------- */
.heritage {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.heritage-media {
  position: absolute;
  inset: 0;
}

.heritage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heritage-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 16, 22, 0.82) 0%, rgba(12, 16, 22, 0.45) 55%, rgba(12, 16, 22, 0.25) 100%);
}

.heritage-content {
  position: relative;
  z-index: 2;
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  max-width: 34rem;
  padding-block: var(--space-20);
}

.heritage-content .section-label {
  color: rgba(255, 255, 255, 0.55);
}

.heritage-content h2 {
  font-size: var(--fs-2xl);
  color: var(--white);
  margin-bottom: var(--space-6);
}

.heritage-content p {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-md);
  line-height: 1.75;
  margin-bottom: var(--space-8);
}

/* ---------- Dual CTA band (Join / Project) ---------- */
.dual-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.dual-cta-item {
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
  border-right: 1px solid var(--line);
}

.dual-cta-item:last-child {
  border-right: none;
}

.dual-cta-item h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-4);
}

.dual-cta-item p {
  max-width: 36ch;
  margin-bottom: var(--space-6);
  font-size: var(--fs-base);
}

/* ---------- Partners strip ---------- */
.partners-strip {
  padding: var(--space-10) 0;
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.partners-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4) var(--space-8);
}

.partners-strip .label {
  width: 100%;
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--space-2);
}

.partner-name {
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.partner-name:hover {
  color: var(--cobalt);
  border-bottom-color: var(--cobalt-line);
}

/* ---------- Page hero (inner) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 3.5rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  margin-bottom: var(--space-6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.page-hero .breadcrumb a:hover {
  color: var(--cobalt);
}

.page-hero h1 {
  font-size: var(--fs-3xl);
  max-width: 16ch;
  margin-bottom: var(--space-5);
}

.page-hero > .container > p,
.page-hero-inner > p {
  max-width: 48ch;
  font-size: var(--fs-md);
  line-height: 1.7;
}

.page-hero-inner {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

/* ---------- Catalog / cards (inner pages) ---------- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.catalog-card {
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.catalog-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.catalog-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}

.catalog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.catalog-card:hover .catalog-card-media img {
  transform: scale(1.04);
}

.catalog-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
}

.catalog-card-body .tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 0.65rem;
}

.catalog-card-body h3 {
  font-family: var(--font-ui);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.45rem;
}

.catalog-card-body p {
  font-size: var(--fs-sm);
  line-height: 1.6;
}

/* Feature split */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.feature-split--reverse .feature-split-media {
  order: 2;
}

.feature-split-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}

.feature-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.feature-list-item {
  display: flex;
  gap: var(--space-4);
}

.feature-list-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.15rem;
  color: var(--cobalt);
}

.feature-list-icon svg {
  width: 100%;
  height: 100%;
}

.feature-list-item h4 {
  font-family: var(--font-ui);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.25rem;
}

.feature-list-item p {
  font-size: var(--fs-sm);
}

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-step {
  background: var(--white);
  padding: var(--space-8) var(--space-6);
  counter-increment: step;
}

.process-steps {
  counter-reset: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cobalt);
  margin-bottom: var(--space-5);
}

.process-step h3 {
  font-family: var(--font-ui);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: var(--space-2);
}

.process-step p {
  font-size: var(--fs-sm);
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value-card {
  background: var(--white);
  padding: var(--space-8);
}

.value-num {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cobalt);
  margin-bottom: var(--space-4);
}

.value-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-3);
}

.value-card p {
  font-size: var(--fs-sm);
}

/* Expertise cards (simple) */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.expertise-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: var(--space-8);
  transition: border-color var(--duration) var(--ease);
}

.expertise-card:hover {
  border-color: var(--ink);
}

.expertise-card h3 {
  font-family: var(--font-ui);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: var(--space-3);
}

.expertise-card p {
  font-size: var(--fs-sm);
  margin-bottom: var(--space-5);
}

.expertise-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-5);
  color: var(--cobalt);
}

.expertise-icon svg {
  width: 22px;
  height: 22px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}

.card-link svg {
  width: 12px;
  height: 12px;
}

.expertise-card:hover .card-link {
  color: var(--cobalt);
  border-bottom-color: var(--cobalt);
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ink);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.8s var(--ease);
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(12, 16, 22, 0.88) 100%);
}

.project-card-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: var(--space-6);
  color: var(--white);
}

.project-card-content .tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-bottom: 0.35rem;
}

.project-card-content h3 {
  font-size: var(--fs-lg);
  color: var(--white);
  margin-bottom: 0.25rem;
}

.project-card-content p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
}

/* Category nav */
.category-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(247, 245, 241, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
}

.category-nav-inner {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-nav-inner::-webkit-scrollbar {
  display: none;
}

.category-nav a {
  flex-shrink: 0;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  color: var(--ink-muted);
  border-bottom: 2px solid transparent;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.category-nav a:hover,
.category-nav a.is-active {
  color: var(--ink);
  border-bottom-color: var(--cobalt);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-4);
}

.contact-info > p {
  margin-bottom: var(--space-8);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-detail strong {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
}

.contact-detail a,
.contact-detail span {
  font-size: var(--fs-md);
  color: var(--ink);
}

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

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
}

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

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%235c6570' stroke-width='2'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* CTA simple */
.cta-banner {
  background: var(--ink);
  color: var(--white);
  padding: clamp(2.75rem, 6vw, 4.5rem);
  text-align: center;
}

.cta-banner h2 {
  font-size: var(--fs-2xl);
  color: var(--white);
  margin-bottom: var(--space-4);
  max-width: 18ch;
  margin-inline: auto;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 42ch;
  margin: 0 auto var(--space-8);
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

/* Stats */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat-item {
  background: var(--white);
  text-align: center;
  padding: var(--space-8) var(--space-4);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-item span {
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}

/* Product bento simplified */
.product-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.product-tile {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: var(--ink);
  grid-column: span 4;
}

.product-tile--large {
  grid-column: span 8;
  min-height: 420px;
}

.product-tile--medium {
  grid-column: span 4;
  min-height: 420px;
}

.product-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.8s var(--ease), opacity 0.5s var(--ease);
}

.product-tile:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

.product-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(12, 16, 22, 0.88) 100%);
}

.product-tile-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: var(--space-6);
  color: var(--white);
}

.product-tile-tag {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.4rem;
}

.product-tile h3 {
  font-size: var(--fs-xl);
  color: var(--white);
  margin-bottom: 0.35rem;
}

.product-tile p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.65);
  max-width: 32ch;
  margin-bottom: var(--space-3);
}

.product-tile .card-link {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding-top: var(--space-20);
  padding-bottom: var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-16);
}

.footer-brand .logo {
  margin-bottom: var(--space-5);
}

.footer-brand .logo-text strong {
  color: var(--white);
}

.footer-brand .logo-text span {
  color: rgba(255, 255, 255, 0.4);
}

.footer-brand > p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  max-width: 30ch;
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.65);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.footer-social a:hover {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: var(--white);
}

.footer-social svg {
  width: 15px;
  height: 15px;
}

.footer-col h4 {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-5);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration) var(--ease);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 80ms;
}
.reveal-delay-2 {
  transition-delay: 160ms;
}
.reveal-delay-3 {
  transition-delay: 240ms;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .expertise-fs-grid,
  .feature-split,
  .feature-split--reverse .feature-split-media,
  .contact-layout,
  .dual-cta {
    grid-template-columns: 1fr;
  }

  .feature-split--reverse .feature-split-media {
    order: 0;
  }

  .dual-cta-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .dual-cta-item:last-child {
    border-bottom: none;
  }

  .product-tile--large,
  .product-tile--medium {
    grid-column: span 6;
    min-height: 320px;
  }

  .product-tile {
    grid-column: span 6;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .expertise-grid,
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 1.25rem) var(--gutter) 2rem;
    transform: translateX(100%);
    transition: transform var(--duration) var(--ease);
    overflow-y: auto;
    gap: 0;
  }

  .site-header.is-open .nav {
    transform: none;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink) !important;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    padding: 0 0 0.5rem 0.5rem;
    min-width: 0;
    background: transparent;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
  }

  .header-cta .btn {
    display: none;
  }

  .header-cta .nav-toggle {
    display: grid;
  }
}

@media (max-width: 640px) {
  .expertise-grid,
  .projects-grid,
  .values-grid,
  .stats-bar,
  .process-steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-tile,
  .product-tile--large,
  .product-tile--medium {
    grid-column: span 12;
    min-height: 280px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .logo-text {
    display: none;
  }

  .arrival-card {
    flex-basis: min(82vw, 320px);
  }

  .project-slide {
    flex-basis: min(88vw, 400px);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-fs-media img {
    animation: none;
  }
}
