@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600&display=swap');

/* =====================================================
   CSS CUSTOM PROPERTIES
   ===================================================== */
:root {
  --hue-primary: 220;
  --hue-accent: 280;

  
  --bg-base: #f4f3f8;
  --bg-surface: #faf9fd;
  --bg-card: rgba(255,255,255,0.72);
  --bg-card-solid: #ffffff;
  --bg-card-hover: rgba(255,255,255,0.88);
  --border-subtle: rgba(110,95,180,0.12);
  --border-card: rgba(110,95,180,0.18);
  --border-accent: rgba(110,95,180,0.35);

  --text-primary: #1a1628;
  --text-secondary: #4a3f6b;
  --text-muted: #7a6fa0;
  --text-inverse: #f4f3f8;

  --color-primary: #5b3fc8;
  --color-primary-hover: #4a31a8;
  --color-primary-light: rgba(91,63,200,0.12);
  --color-secondary: #9b59d0;
  --color-accent: #e040b8;
  --color-accent-light: rgba(224,64,184,0.12);
  --color-teal: #1cb8a0;

  
  --orb-one: rgba(91,63,200,0.35);
  --orb-two: rgba(224,64,184,0.28);
  --orb-three: rgba(28,184,160,0.22);
  --orb-four: rgba(155,89,208,0.25);

  
  --shadow-xs: 0 1px 2px rgba(26,22,40,0.06);
  --shadow-sm: 0 2px 8px rgba(26,22,40,0.08), 0 1px 2px rgba(26,22,40,0.04);
  --shadow-md: 0 4px 20px rgba(26,22,40,0.10), 0 2px 6px rgba(26,22,40,0.06), 0 0 1px rgba(26,22,40,0.04);
  --shadow-lg: 0 8px 40px rgba(26,22,40,0.12), 0 4px 12px rgba(26,22,40,0.08), 0 1px 3px rgba(26,22,40,0.04);
  --shadow-xl: 0 16px 60px rgba(26,22,40,0.16), 0 8px 20px rgba(26,22,40,0.10), 0 2px 6px rgba(26,22,40,0.06);
  --shadow-glow: 0 0 40px rgba(91,63,200,0.20), 0 8px 32px rgba(91,63,200,0.12);

  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 180ms;
  --duration-base: 280ms;
  --duration-slow: 420ms;

  
  --header-h: 72px;
}

[data-theme="dark"] {
  --bg-base: #0f0d1a;
  --bg-surface: #14111f;
  --bg-card: rgba(30,24,50,0.75);
  --bg-card-solid: #1e1832;
  --bg-card-hover: rgba(40,32,65,0.85);
  --border-subtle: rgba(150,120,220,0.12);
  --border-card: rgba(150,120,220,0.20);
  --border-accent: rgba(150,120,220,0.40);

  --text-primary: #ede9f8;
  --text-secondary: #b8a8e0;
  --text-muted: #7a6fa0;
  --text-inverse: #0f0d1a;

  --color-primary: #7c5fe8;
  --color-primary-hover: #9474f0;
  --color-primary-light: rgba(124,95,232,0.15);
  --color-secondary: #b07ae0;
  --color-accent: #e85cc8;
  --color-accent-light: rgba(232,92,200,0.15);

  --orb-one: rgba(124,95,232,0.30);
  --orb-two: rgba(232,92,200,0.22);
  --orb-three: rgba(28,184,160,0.18);
  --orb-four: rgba(176,122,224,0.22);

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.20);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.28), 0 1px 2px rgba(0,0,0,0.16);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.32), 0 2px 6px rgba(0,0,0,0.20);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.40), 0 4px 12px rgba(0,0,0,0.24);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.50), 0 8px 20px rgba(0,0,0,0.30);
  --shadow-glow: 0 0 40px rgba(124,95,232,0.25), 0 8px 32px rgba(124,95,232,0.15);
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.canvas {
  font-family: 'Source Sans 3', sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color var(--duration-slow) var(--ease-out),
              color var(--duration-slow) var(--ease-out);
}

main {
  flex: 1;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);

  &:hover {
    color: var(--color-primary-hover);
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.18;
  color: var(--text-primary);
  font-weight: 700;
}

p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.72;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a6fa0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px !important;
}

/* =====================================================
   BLUR ORBS – Chromatic Blur design elements
   ===================================================== */
.blur-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  will-change: transform;
  z-index: 0;
}

.orb-one {
  width: 600px;
  height: 600px;
  background: var(--orb-one);
  top: -10%;
  left: -15%;
  animation: orb-drift-one 18s ease-in-out infinite alternate;
}

.orb-two {
  width: 500px;
  height: 500px;
  background: var(--orb-two);
  top: 20%;
  right: -12%;
  animation: orb-drift-two 22s ease-in-out infinite alternate;
}

.orb-three {
  width: 400px;
  height: 400px;
  background: var(--orb-three);
  bottom: 5%;
  left: 30%;
  animation: orb-drift-three 16s ease-in-out infinite alternate;
}

.orb-four {
  width: 350px;
  height: 350px;
  background: var(--orb-four);
  top: 50%;
  left: 55%;
  animation: orb-drift-two 20s ease-in-out infinite alternate;
}

.orb-process-one {
  width: 500px; height: 500px;
  background: var(--orb-one);
  top: 0; left: -20%;
  filter: blur(120px);
}
.orb-process-two {
  width: 400px; height: 400px;
  background: var(--orb-two);
  bottom: 0; right: -10%;
  filter: blur(110px);
}
.orb-team-one {
  width: 450px; height: 450px;
  background: var(--orb-three);
  top: 0; right: -15%;
  filter: blur(120px);
}
.orb-team-two {
  width: 380px; height: 380px;
  background: var(--orb-four);
  bottom: 0; left: -10%;
  filter: blur(100px);
}
.orb-cta-one {
  width: 550px; height: 550px;
  background: var(--orb-one);
  top: -30%; left: -10%;
  filter: blur(130px);
}
.orb-cta-two {
  width: 400px; height: 400px;
  background: var(--orb-two);
  bottom: -20%; right: -5%;
  filter: blur(110px);
}

@keyframes orb-drift-one {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.08); }
}
@keyframes orb-drift-two {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-35px, 25px) scale(1.06); }
}
@keyframes orb-drift-three {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(25px, -20px) scale(1.05); }
}

/* =====================================================
   HEADER / FRAME
   ===================================================== */
.frame {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform var(--duration-slow) var(--ease-out),
              background-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
  background: rgba(244,243,248,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);

  &.frame--visible {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
  }

  [data-theme="dark"] & {
    background: rgba(15,13,26,0.88);
  }
}

.frame-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  color: var(--text-primary);
  transition: opacity var(--duration-fast) var(--ease-out);

  &:hover {
    opacity: 0.8;
    color: var(--text-primary);
  }
}

.wordmark-logo {
  width: 36px;
  height: 36px;
}

.wordmark-logo-sm {
  width: 28px;
  height: 28px;
}

.wordmark-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;

  em {
    font-style: normal;
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
}

.compass {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex: 1;
}

.compass-link {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 2px;
  position: relative;
  white-space: nowrap;
  transition: color var(--duration-fast) var(--ease-out);

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--duration-base) var(--ease-spring);
  }

  &:hover {
    color: var(--text-primary);
    &::after { transform: scaleX(1); }
  }

  &.active {
    color: var(--color-primary);
    &::after { transform: scaleX(1); }
  }
}

.frame-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.luminary-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--duration-base) var(--ease-out);
  backdrop-filter: blur(8px);

  &:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-color: var(--border-accent);
    transform: rotate(20deg);
  }
}


.beacon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--color-primary);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-fast) var(--ease-out);
  box-shadow: var(--shadow-sm), 0 0 0 0 rgba(91,63,200,0);

  &:hover {
    background: var(--color-primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 20px rgba(91,63,200,0.25);
  }

  &:active {
    transform: translateY(0);
  }
}

.beacon-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-card);
  text-decoration: none;
  transition: all var(--duration-base) var(--ease-out);
  backdrop-filter: blur(8px);
  background: var(--bg-card);

  i { transition: transform var(--duration-base) var(--ease-spring); }

  &:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-light);
    i { transform: translateX(4px); }
  }
}


.drawer-trigger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast) var(--ease-out);

  span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--duration-base) var(--ease-out);
  }

  &:hover {
    background: var(--color-primary-light);
    span { background: var(--color-primary); }
  }

  &[aria-expanded="true"] {
    span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  }
}


.drawer {
  display: none;
  flex-direction: column;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--duration-slow) var(--ease-out),
              opacity var(--duration-base) var(--ease-out);
  opacity: 0;

  &.drawer--open {
    max-height: 500px;
    opacity: 1;
  }
}

.drawer-link {
  display: block;
  padding: 14px var(--space-lg);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);

  &:hover, &.active {
    color: var(--color-primary);
    background: var(--color-primary-light);
  }
}

.drawer-cta {
  margin: var(--space-sm) var(--space-lg) var(--space-md);
  text-align: center;
}

/* =====================================================
   HERO / STAGE
   ===================================================== */
.stage {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-xl);
  padding: calc(var(--header-h) + var(--space-3xl)) var(--space-lg) var(--space-3xl);
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
}

.stage-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.stage-content {
  position: relative;
  z-index: 1;
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-accent);
  margin-bottom: var(--space-md);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stage-headline {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.stage-accent {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stage-body {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.stage-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
}

.stage-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
}

.stage-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  max-width: 520px;
  width: 100%;
  transform-style: preserve-3d;
}

.stage-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.stage-card-label {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);

  i { color: var(--color-primary); }
}

.stage-sentinel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
}

/* =====================================================
   SECTION COMMON
   ===================================================== */
.gallery {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.gallery-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.gallery-header {
  margin-bottom: var(--space-xl);
  max-width: 640px;
}

.gallery-header-right {
  margin-left: auto;
  text-align: right;
}

.gallery-title {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.gallery-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

.section-eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  padding: 4px 12px;
  background: var(--color-primary-light);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-accent);
}

/* =====================================================
   SHELF / SPOTLIGHT – Services
   ===================================================== */
.shelf-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              background var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transition: transform var(--duration-base) var(--ease-out);
    transform-origin: left;
  }

  &:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    &::before { transform: scaleX(1); }
  }

  h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
  }

  p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.65;
  }
}

.spotlight-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
  font-size: 1.25rem;
  border: 1px solid var(--border-accent);
  transition: background var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-spring);

  .service-card:hover & {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.08);
  }
}

/* =====================================================
   PROCESS SECTION
   ===================================================== */
.process-gallery {
  background: var(--bg-surface);
}

.shelf-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.process-step {
  position: relative;
}

.process-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary-light);
  line-height: 1;
  margin-bottom: var(--space-xs);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
}

.process-content {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);

  &:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
  }

  h3 {
    font-size: 1rem;
    font-weight: 700;
    padding: var(--space-sm) var(--space-sm) 4px;
    color: var(--text-primary);
  }

  p {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0 var(--space-sm) var(--space-sm);
    line-height: 1.6;
  }
}

.process-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* =====================================================
   FEATURE BOXES
   ===================================================== */
.shelf-features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.feature-box {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;

  &::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary-light), transparent);
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-out);
    border-radius: inherit;
    pointer-events: none;
  }

  &:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--border-accent);
    transform: translateY(-6px);
    &::after { opacity: 1; }
  }

  h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: var(--space-xs) 0;
    color: var(--text-primary);
  }

  p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
  }
}

.feature-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xs);
  color: #fff;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm), 0 4px 16px rgba(91,63,200,0.25);
  transition: transform var(--duration-base) var(--ease-spring),
              box-shadow var(--duration-base) var(--ease-out);

  .feature-box:hover & {
    transform: scale(1.12) rotate(-5deg);
    box-shadow: var(--shadow-md), 0 8px 24px rgba(91,63,200,0.35);
  }
}

/* =====================================================
   CTA SPLIT
   ===================================================== */
.split-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-base) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.split-cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.split-cta-text {
  h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
  }

  p {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 440px;
    line-height: 1.7;
  }

  .section-eyebrow { margin-bottom: var(--space-xs); }
}

.split-cta-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}

.cta-note {
  font-size: 0.9375rem;
  color: var(--text-muted);

  a {
    color: var(--color-primary);
    font-weight: 600;
    &:hover { text-decoration: underline; }
  }
}

.cta-info-row {
  display: flex;
  flex-direction: column;
  gap: 6px;

  span {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;

    i { color: var(--color-primary); }
  }
}

/* =====================================================
   WORKSHOP GALLERY
   ===================================================== */
.shelf-workshop {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: var(--space-md);
  align-items: start;
}

.workshop-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);

  &:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
  }
}

.workshop-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);

  .workshop-card:hover & {
    transform: scale(1.04);
  }
}

.workshop-card-tall .workshop-img {
  height: 380px;
}

/* =====================================================
   INNER PAGE HERO
   ===================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + var(--space-3xl)) var(--space-lg) var(--space-2xl);
  overflow: hidden;
  text-align: center;
}

.inner-hero-sm {
  padding-bottom: var(--space-xl);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;

  h1 {
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    margin-bottom: var(--space-sm);
  }

  p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
  }

  .section-eyebrow { margin-bottom: var(--space-sm); }
}

/* =====================================================
   VALUES PAGE
   ===================================================== */
.gallery-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.values-intro-text {
  h2 {
    font-size: clamp(1.7rem, 2.8vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
  }

  p {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    line-height: 1.75;
    &:last-child { margin-bottom: 0; }
  }
}

.values-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border: 1px solid var(--border-card);
}

.shelf-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.value-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-base) var(--ease-out);
  overflow: hidden;

  &:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--border-accent);
    transform: translateY(-6px);
  }

  h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
  }

  p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.65;
  }
}

.value-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  opacity: 0.06;
  color: var(--color-primary);
  line-height: 1;
  pointer-events: none;
}

.value-icon {
  margin-bottom: var(--space-sm);
}

.shelf-team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.team-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--duration-base) var(--ease-out);

  &:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
  }
}

.team-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);

  .team-card:hover & { transform: scale(1.03); }
}

.team-info {
  padding: var(--space-md);

  h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
  }

  p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
  }
}

/* =====================================================
   GUIDE PAGE
   ===================================================== */
.guide-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.guide-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--space-md));
}

.guide-nav {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  box-shadow: var(--shadow-sm);

  h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 8px 12px 4px;
    margin-bottom: 4px;
  }

  a {
    display: block;
    padding: 10px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-out);

    &:hover {
      color: var(--color-primary);
      background: var(--color-primary-light);
    }
  }
}

.guide-section {
  margin-bottom: var(--space-2xl);

  h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--border-subtle);
    color: var(--text-primary);
  }

  p {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    line-height: 1.75;
    &:last-child { margin-bottom: 0; }
  }
}

.guide-defect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.guide-defect-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-xs);
  transition: all var(--duration-base) var(--ease-out);

  &:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-accent);
  }

  i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
    display: block;
  }

  h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
  }

  p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
  }
}

/* =====================================================
   FORMS
   ===================================================== */
.form-gallery {
  background: var(--bg-surface);
}

.form-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.form-info-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-base) var(--ease-out);

  &:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-accent);
  }

  h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
  }

  p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;

    a { color: var(--color-primary); font-weight: 600; }
  }
}

.form-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  border: 1px solid var(--border-accent);
}

.form-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);

  h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
  }
}

.form-intro {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.65;
}

.field-row {
  margin-bottom: var(--space-md);
}

.field-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;

  label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
  }

  input, textarea, select {
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    transition: border-color var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-fast) var(--ease-out),
                background var(--duration-fast) var(--ease-out);
    width: 100%;

    &::placeholder { color: var(--text-muted); opacity: 0.7; }

    &:focus {
      outline: none;
      border-color: var(--color-primary);
      box-shadow: 0 0 0 3px var(--color-primary-light);
      background: var(--bg-card-solid);
    }

    &:hover:not(:focus) {
      border-color: var(--border-accent);
    }
  }

  textarea {
    resize: vertical;
    min-height: 120px;
  }
}

.field-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;

  input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 4px;
    accent-color: var(--color-primary);
    margin-top: 2px;
    cursor: pointer;
    padding: 0;
  }

  label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
    cursor: pointer;
    line-height: 1.5;

    a { color: var(--color-primary); }
  }
}

.req { color: var(--color-accent); }

.form-error {
  color: #d63031;
  font-size: 0.9rem;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(214,48,49,0.08);
  border-radius: var(--radius-sm);
  border-left: 3px solid #d63031;
  display: none;

  &.visible { display: block; }
}

.form-submit {
  width: 100%;
  margin-top: var(--space-xs);
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-gallery {
  background: var(--bg-surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-md);

  h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
  }
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);

  &:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  h3 {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
  }

  p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;

    a { color: var(--color-primary); font-weight: 600; }
  }
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid var(--border-accent);
}

.response-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);

  h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;

    i { color: var(--color-primary); }
  }

  p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
    line-height: 1.65;

    a { color: var(--color-primary); }
    &:last-child { margin-bottom: 0; }
  }
}

.map-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-base);
}

.map-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-card);

  iframe {
    display: block;
    filter: var(--map-filter, none);
  }
}

[data-theme="dark"] .map-container iframe {
  filter: invert(0.9) hue-rotate(180deg);
}

/* =====================================================
   LEGAL PAGES
   ===================================================== */
.legal-section {
  padding: var(--space-2xl) 0 var(--space-3xl);
}

.legal-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--space-md));
}

.legal-nav {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  box-shadow: var(--shadow-sm);

  a {
    display: block;
    padding: 9px 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-out);
    line-height: 1.4;

    &:hover {
      color: var(--color-primary);
      background: var(--color-primary-light);
    }
  }
}

.legal-content {
  min-width: 0;
}

.legal-block {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-subtle);

  &:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  h2 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-primary-light);
  }

  p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    line-height: 1.78;
    font-size: 0.9875rem;

    strong { color: var(--text-primary); font-weight: 600; }
    a { color: var(--color-primary); }
    &:last-child { margin-bottom: 0; }
  }
}

.cookie-table-wrap {
  overflow-x: auto;
  margin: var(--space-sm) 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-xs);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;

  th, td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
  }

  th {
    background: var(--color-primary-light);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: var(--text-primary);
  }

  tr:last-child td { border-bottom: none; }
  tr:hover td { background: var(--bg-surface); }
}

/* =====================================================
   THANKS PAGE
   ===================================================== */
.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) var(--space-lg);
}

.thanks-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
}

.thanks-icon {
  font-size: 4rem;
  color: var(--color-teal);
  margin-bottom: var(--space-md);
  display: block;
}

.thanks-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.thanks-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

/* =====================================================
   FOOTER / GROUND
   ===================================================== */
.ground {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.ground-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
}

.ground-brand {
  p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
    line-height: 1.6;
  }

  .wordmark { margin-bottom: var(--space-xs); }
}

.ground-nav {
  h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
  }

  a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color var(--duration-fast) var(--ease-out),
                padding-left var(--duration-fast) var(--ease-out);

    &:hover {
      color: var(--color-primary);
      padding-left: 4px;
    }
  }
}

.ground-contact {
  h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
  }

  p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 8px;

    i {
      color: var(--color-primary);
      margin-top: 3px;
      flex-shrink: 0;
    }

    a {
      color: var(--text-secondary);
      text-decoration: none;
      transition: color var(--duration-fast) var(--ease-out);
      &:hover { color: var(--color-primary); }
    }
  }
}

.ground-base {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);

  p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
  }
}

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);

  &.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}


.shelf > .reveal-on-scroll:nth-child(1) { transition-delay: 0ms; }
.shelf > .reveal-on-scroll:nth-child(2) { transition-delay: 80ms; }
.shelf > .reveal-on-scroll:nth-child(3) { transition-delay: 160ms; }
.shelf > .reveal-on-scroll:nth-child(4) { transition-delay: 240ms; }
.shelf > .reveal-on-scroll:nth-child(5) { transition-delay: 320ms; }

/* =====================================================
   RESPONSIVE
   ===================================================== */


@media (max-width: 1200px) {
  .shelf-features {
    grid-template-columns: repeat(3, 1fr);
    & .feature-box:nth-child(4),
    & .feature-box:nth-child(5) {
      grid-column: span 1;
    }
  }
}


@media (max-width: 1024px) {
  .compass { display: none; }
  .drawer-trigger { display: flex; }
  .drawer { display: flex; }
  .beacon-btn:not(.drawer-cta) { display: none; }

  .stage {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--header-h) + var(--space-2xl));
  }

  .stage-visual { justify-content: center; }
  .stage-body { margin: 0 auto var(--space-lg); }
  .stage-actions { justify-content: center; }
  .stage-badge { margin: 0 auto var(--space-md); }

  .shelf-services { grid-template-columns: repeat(2, 1fr); }
  .shelf-process { grid-template-columns: repeat(2, 1fr); }
  .shelf-features { grid-template-columns: repeat(3, 1fr); }
  .shelf-values { grid-template-columns: repeat(2, 1fr); }
  .shelf-workshop { grid-template-columns: 1fr 1fr; }
  .workshop-card:last-child { display: none; }

  .split-cta-inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .gallery-split { grid-template-columns: 1fr; }

  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { position: relative; top: 0; }

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

  .ground-inner { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { position: relative; top: 0; }

  .values-img { height: 320px; }
}


@media (max-width: 768px) {
  :root {
    --space-3xl: 5rem;
    --space-2xl: 3.5rem;
    --space-xl: 2.5rem;
  }

  .shelf-services { grid-template-columns: 1fr; }
  .shelf-process { grid-template-columns: 1fr; }
  .shelf-features { grid-template-columns: repeat(2, 1fr); }
  .shelf-values { grid-template-columns: 1fr; }
  .shelf-team { grid-template-columns: 1fr; }
  .shelf-workshop { grid-template-columns: 1fr; }
  .workshop-card:last-child { display: block; }

  .field-row-half { grid-template-columns: 1fr; }
  .guide-defect-grid { grid-template-columns: 1fr; }

  .ground-inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .ground-base { flex-direction: column; text-align: center; }

  .frame-inner { padding: 0 var(--space-sm); }
  .gallery-inner { padding: 0 var(--space-sm); }

  .stage-img { height: 280px; }
}


@media (max-width: 480px) {
  :root {
    --space-3xl: 3.5rem;
    --space-xl: 2rem;
  }

  .stage-headline { font-size: 2rem; }
  .stage-actions { flex-direction: column; align-items: center; }
  .ghost-btn, .beacon-lg { width: 100%; text-align: center; justify-content: center; }

  .shelf-features { grid-template-columns: 1fr; }
  .form-card { padding: var(--space-md); }
  .contact-card { padding: var(--space-md); }

  .split-cta-inner { padding: var(--space-xl) var(--space-sm); }
  .split-cta-action { align-items: stretch; }
  .beacon-btn.beacon-lg { text-align: center; justify-content: center; }

  .legal-layout { padding: 0 var(--space-sm); }
  .page-hero { padding-left: var(--space-sm); padding-right: var(--space-sm); }
}