/* ============================================
   SUZAKU 2026 — Obsidian Gallery Design System
   Tailwind-to-WordPress CSS Translation Layer
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --sz-deep-void: #131313;
  --sz-surface-lowest: #0e0e0e;
  --sz-surface-low: #1b1b1b;
  --sz-surface: #1f1f1f;
  --sz-surface-high: #2a2a2a;
  --sz-surface-highest: #353535;
  --sz-surface-bright: #393939;
  --sz-primary: #e5c487;
  --sz-primary-container: #c8a96e;
  --sz-on-primary: #1f1600;
  --sz-on-surface: #e2e2e2;
  --sz-on-surface-variant: #d0c5b5;
  --sz-outline-variant: #4d463a;
  --sz-outline: #998f81;
  --sz-gold-gradient: linear-gradient(135deg, #e5c487 0%, #c8a96e 100%);
  --sz-glass-bg: rgba(19, 19, 19, 0.7);
  --sz-ghost-border: rgba(77, 70, 58, 0.15);
  --sz-ambient-glow: 0 10px 40px -15px rgba(229, 196, 135, 0.06);
}

/* --- Global Resets --- */
body {
  background-color: var(--sz-deep-void);
  color: var(--sz-on-surface);
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(229, 196, 135, 0.3);
  color: var(--sz-on-surface);
}

html {
  scroll-behavior: smooth;
}

/* Remove default WP site blocks background */
.wp-site-blocks {
  background: var(--sz-deep-void);
}

/* --- Inline SVG Icons --- */
.sz-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
}
.sz-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* ============================================
   NAVIGATION
   ============================================ */
.sz-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--sz-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--sz-ambient-glow);
}

.sz-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

.sz-nav-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--sz-on-surface);
  text-decoration: none;
}

.sz-nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sz-nav-links a {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: rgba(226, 226, 226, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.sz-nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--sz-gold-gradient);
  color: var(--sz-on-primary) !important;
  padding: 0.625rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(229, 196, 135, 0.1);
}

.sz-nav-cta:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Mobile nav */
.sz-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--sz-on-surface);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .sz-nav-links { display: none; }
  .sz-nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(19, 19, 19, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-top: 1px solid var(--sz-ghost-border);
  }
  .sz-nav-toggle { display: block; }
  .sz-nav-cta { display: none; }
  .sz-nav-links.open .sz-nav-cta-mobile {
    display: inline-flex;
    background: var(--sz-gold-gradient);
    color: var(--sz-on-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-align: center;
  }
}


/* ─── Nav Dropdown ─── */
.sz-nav-dropdown {
  position: relative;
}

.sz-nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.sz-nav-chevron {
  font-size: 1.125rem;
  transition: transform 0.2s ease-out;
}

.sz-nav-dropdown:hover .sz-nav-chevron,
.sz-nav-dropdown.open .sz-nav-chevron {
  transform: rotate(180deg);
}

.sz-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: rgba(19, 19, 19, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(77, 70, 58, 0.15);
  border-radius: 0.5rem;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-out;
  list-style: none;
  z-index: 1000;
}

.sz-nav-dropdown:hover .sz-nav-dropdown-menu,
.sz-nav-dropdown:focus-within .sz-nav-dropdown-menu,
.sz-nav-dropdown.open .sz-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sz-nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--sz-on-surface);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.sz-nav-dropdown-menu a:hover {
  background: rgba(229, 196, 135, 0.05);
  color: var(--sz-primary);
}

/* Mobile: dropdown becomes inline list */
@media (max-width: 768px) {
  .sz-nav-dropdown-menu {
    position: static;
    transform: none;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: auto;
  }

  .sz-nav-dropdown.open .sz-nav-dropdown-menu {
    display: block;
    transform: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
  }

  .sz-nav-dropdown-menu a {
    padding: 0.5rem 0;
    font-size: 0.875rem;
  }

  /* Show CTA button in mobile menu */
  .sz-nav-links.open .sz-nav-mobile-cta {
    display: inline-flex;
    background: var(--sz-gold-gradient);
    color: var(--sz-on-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-align: center;
    margin-top: 0.5rem;
  }
}


/* ─── Scroll Arrow (bouncing) ─── */
.sz-scroll-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: sz-bounce 2s ease-in-out infinite;
}

@keyframes sz-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

/* Spacer for fixed nav */
.sz-nav-spacer {
  height: 90px;
}

/* ============================================
   GLASSMORPHISM & EFFECTS
   ============================================ */
.sz-glass-panel {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(31, 31, 31, 0.7);
}

.sz-text-glow {
  text-shadow: 0 0 20px rgba(229, 196, 135, 0.3);
}

.sz-gold-gradient-bg {
  background: var(--sz-gold-gradient);
}

.sz-gold-text {
  background: linear-gradient(135deg, #e5c487 0%, #c8a96e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sz-ghost-border {
  border: 1px solid var(--sz-ghost-border);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.sz-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem clamp(1.5rem, 5vw, 4rem) 4rem;
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
}

/* Decorative gold blob via pseudo-element (no empty div needed) */
.sz-hero::before {
  content: '';
  position: absolute;
  top: -10rem;
  right: -10rem;
  width: 100%;
  height: 100%;
  background: rgba(229, 196, 135, 0.05);
  border-radius: 50%;
  filter: blur(160px);
  pointer-events: none;
  z-index: 0;
}

/* Legacy class kept for backward compat during migration */
.sz-hero-blob {
  position: absolute;
  top: -10rem;
  right: -10rem;
  width: 100%;
  height: 100%;
  background: rgba(229, 196, 135, 0.05);
  border-radius: 50%;
  filter: blur(160px);
  pointer-events: none;
}

.sz-hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: end;
}

@media (min-width: 1024px) {
  .sz-hero-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.sz-hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--sz-on-surface);
  margin-bottom: 2rem;
}

.sz-hero-sidebar {
  border-left: 1px solid rgba(77, 70, 58, 0.2);
  padding-left: 2rem;
}

.sz-hero-sidebar p {
  font-size: 1.25rem;
  color: var(--sz-on-surface-variant);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.sz-hero-divider {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.sz-hero-divider span:first-child {
  width: 3rem;
  height: 1px;
  background: var(--sz-primary);
}

.sz-hero-divider span:last-child {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sz-primary);
}

/* Hero cinematic image */
.sz-hero-image {
  margin-top: 5rem;
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--sz-surface-low);
}

.sz-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: transform 2s ease-out;
}

.sz-hero-image:hover img {
  transform: scale(1.05);
}

/* Full-screen cover hero (About page) */
.sz-hero-cover {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.sz-hero-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(19,19,19,0.5) 50%, var(--sz-deep-void) 100%);
  z-index: 1;
}

.sz-hero-cover-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

/* Bottom-aligned hero (AI-Native Websites) */
.sz-hero-bottom {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: flex-end;
  padding: 0 2rem 4rem;
  overflow: hidden;
}

/* ============================================
   LABELS & TAGS
   ============================================ */
.sz-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--sz-primary);
  margin-bottom: 1.5rem;
}

.sz-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(229, 196, 135, 0.1);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sz-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   CARDS & BENTO GRID
   ============================================ */
.sz-section {
  padding: 6rem clamp(1.5rem, 5vw, 4rem);
  max-width: 1440px;
  margin: 0 auto;
}

.sz-section-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .sz-section-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }
}

.sz-section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
}

.sz-section-line {
  flex: 1;
  max-width: 33%;
  height: 1px;
  background: rgba(77, 70, 58, 0.3);
}

.sz-bento-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .sz-bento-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sz-bento-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .sz-bento-4 {
    grid-template-columns: 7fr 5fr;
  }
  .sz-bento-4 > :nth-child(3) {
    grid-column: 1;
  }
  .sz-bento-4 > :nth-child(4) {
    grid-column: 2;
  }
}

a.sz-card,
a.sz-card:hover,
a.sz-card:visited {
  text-decoration: none;
  color: inherit;
}

.sz-card {
  background: var(--sz-surface-low);
  padding: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.5s ease;
}

.sz-card:hover {
  background: var(--sz-surface);
}

.sz-card-square {
  aspect-ratio: 1/1;
}

.sz-card--gold {
  background: var(--sz-primary-container);
  color: var(--sz-on-primary);
}

.sz-card--gold:hover {
  box-shadow: 0 20px 60px -15px rgba(200, 169, 110, 0.3);
}

.sz-card--gold,
.sz-card--gold:hover,
.sz-card--gold:visited,
a.sz-card--gold,
a.sz-card--gold:hover,
a.sz-card--gold:visited {
  color: var(--sz-on-primary);
}

.sz-card--gold h3,
.sz-card--gold p {
  color: var(--sz-on-primary);
}

.sz-card--gold .sz-card-icon {
  color: #402d00;
}

.sz-card--gold .sz-card-footer {
  border-color: rgba(64, 45, 0, 0.2);
  color: rgba(64, 45, 0, 0.6);
}

.sz-card-icon {
  color: var(--sz-primary-container);
  margin-bottom: 1.5rem;
}

.sz-card-icon .sz-icon {
  font-size: 2.25rem;
  font-variation-settings: 'FILL' 1;
}

.sz-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.sz-card p {
  color: var(--sz-on-surface-variant);
  line-height: 1.6;
}

.sz-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(77, 70, 58, 0.1);
}

.sz-card-footer span:first-child {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(226, 226, 226, 0.65);
  transition: color 0.3s;
}

.sz-card:hover .sz-card-footer span:first-child {
  color: var(--sz-primary);
}

.sz-card-footer .sz-icon {
  color: rgba(226, 226, 226, 0.2);
  transition: transform 0.3s;
}

.sz-card:hover .sz-card-footer .sz-icon {
  transform: translateX(0.5rem);
}

/* ============================================
   PHILOSOPHY / 2-COL WITH IMAGE
   ============================================ */
.sz-philosophy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .sz-philosophy {
    grid-template-columns: 1fr 1fr;
  }
}

.sz-philosophy-image {
  position: relative;
}

.sz-philosophy-image .sz-img-container {
  aspect-ratio: 4/5;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--sz-surface-highest);
}

.sz-philosophy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.7s, opacity 0.7s;
}

.sz-philosophy-image:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.sz-philosophy-stat {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 16rem;
  height: 16rem;
  background: var(--sz-surface);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(77, 70, 58, 0.2);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (max-width: 1023px) {
  .sz-philosophy-stat { display: none; }
}

.sz-philosophy-stat .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sz-primary);
  margin-bottom: 0.5rem;
}

.sz-philosophy-stat .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  opacity: 0.6;
}

.sz-philosophy-text h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.sz-philosophy-text p {
  font-size: 1.25rem;
  color: var(--sz-on-surface-variant);
  line-height: 1.6;
}

/* ============================================
   CTA SPOTLIGHT
   ============================================ */
.sz-cta-spotlight {
  background: var(--sz-surface-high);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

@media (min-width: 768px) {
  .sz-cta-spotlight {
    padding: 6rem;
  }
}

.sz-cta-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(229, 196, 135, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.sz-cta-spotlight h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.sz-cta-spotlight p {
  font-size: 1.125rem;
  color: var(--sz-on-surface-variant);
  margin-bottom: 3rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.sz-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .sz-cta-buttons {
    flex-direction: row;
  }
}

.sz-btn-gold {
  display: inline-flex;
  align-items: center;
  background: var(--sz-gold-gradient);
  color: var(--sz-on-primary);
  padding: 1rem 2.5rem;
  border-radius: 0.375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.sz-btn-gold:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

.sz-btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--sz-on-surface);
  padding: 1rem 2.5rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(77, 70, 58, 0.3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

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

/* ============================================
   FEATURE SPOTLIGHT (Radial gradient bg)
   ============================================ */
.sz-feature-spotlight {
  background: radial-gradient(circle at center, var(--sz-surface-bright) 0%, var(--sz-deep-void) 100%);
  padding: 6rem clamp(1.5rem, 5vw, 4rem);
}


.sz-feature-spotlight .sz-feature-spotlight-inner {
  text-align: center;
}

.sz-feature-spotlight-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* ============================================
   TEAM MEMBERS
   ============================================ */
.sz-team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .sz-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sz-team-member {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 0.75rem;
  overflow: hidden;
}

.sz-team-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: filter 0.5s, opacity 0.5s;
}

.sz-team-member:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.sz-team-member-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--sz-deep-void) 0%, transparent 50%);
  opacity: 0.6;
}

.sz-team-member-info {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
}

.sz-team-member-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.sz-team-member-role {
  font-size: 0.75rem;
  color: var(--sz-primary);
  margin: 0.25rem 0 0;
}

/* ============================================
   FOOTER
   ============================================ */
.sz-footer {
  background: var(--sz-surface-lowest);
  border-top: 1px solid rgba(53, 53, 53, 0.5);
}

.sz-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .sz-footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.sz-footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sz-on-surface);
  margin: 0 0 1rem;
  border: none;
  padding: 0;
}

.sz-footer-brand p {
  color: rgba(226, 226, 226, 0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 20rem;
  margin: 0 0 1.5rem;
}

.sz-footer-brand a {
  color: rgba(226, 226, 226, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.sz-footer-brand a:hover {
  color: var(--sz-primary);
}

.sz-footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sz-primary);
  margin: 0 0 1rem;
  border: none;
  padding: 0;
}

.sz-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sz-footer-col li {
  margin-bottom: 0.5rem;
}

.sz-footer-col a {
  color: rgba(226, 226, 226, 0.7);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.3s;
}

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

.sz-footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem;
  border-top: 1px solid rgba(53, 53, 53, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.sz-footer-bottom span {
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: rgba(226, 226, 226, 0.75);
}

.sz-footer-bottom .sz-footer-location {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: rgba(226, 226, 226, 0.65);
}

/* ============================================
   BLOG STYLES
   ============================================ */

/* Reading progress bar */
.sz-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--sz-primary);
  z-index: 60;
  width: 0%;
  transition: width 0.1s linear;
}

/* Drop cap */
.sz-drop-cap::first-letter {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--sz-primary);
  float: left;
  line-height: 0.8;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

/* Blockquote */
.sz-blockquote,
.sz-article-content blockquote {
  border-left: 4px solid var(--sz-primary);
  padding-left: 2rem;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--sz-on-surface-variant);
  margin: 2rem 0;
}

/* Sticky sidebar (single post layout) */
/* The column must: 1) not stretch (align-self) 2) apply sticky to the inner group */
/* WP core sets align-items:normal!important on .wp-block-columns, so !important needed */
.single .wp-block-columns > .wp-block-column:last-child {
  align-self: flex-start !important;
}

.sz-sidebar-sticky {
  position: sticky;
  top: 7rem;
}

/* Article content */
.sz-article-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--sz-on-surface-variant);
}

.sz-article-content h2 {
  color: var(--sz-on-surface);
  margin-top: 4rem;
}

/* Gold accent line before H2 in articles */
.sz-article-content h2::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--sz-primary-container);
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Alternating section backgrounds */
.sz-article-section {
  padding: 2.5rem 0;
}

.sz-article-section--even {
  background: var(--sz-surface-low);
  margin-left: -2.5rem;
  margin-right: -2.5rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  border-radius: 0.75rem;
}

/* FAQ section in articles (reserved for future use) */
.sz-article-section--faq {
  padding-top: 3rem;
}
.sz-article-section--faq h2::before {
  display: none;
}

.sz-article-content h3 {
  color: var(--sz-on-surface);
  border: none;
  padding: 0;
}

.sz-article-content a {
  color: var(--sz-primary);
  text-decoration: underline;
  text-decoration-color: rgba(229, 196, 135, 0.3);
  text-underline-offset: 3px;
}

.sz-article-content a:hover {
  text-decoration-color: var(--sz-primary);
}

/* Author box */
.sz-author-box {
  background: var(--sz-surface-low);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sz-author-box img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

.sz-author-box .name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--sz-on-surface);
}

.sz-author-box .role {
  font-size: 0.75rem;
  color: var(--sz-primary);
}

/* Blog cards */
.sz-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sz-blog-card-image {
  aspect-ratio: 4/3;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--sz-surface-low);
}

.sz-blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.sz-blog-card:hover .sz-blog-card-image img {
  transform: scale(1.1);
}

.sz-blog-card h3 {
  border: none;
  padding: 0;
  margin: 0 0 0.5rem;
}

.sz-blog-card h3 a {
  color: var(--sz-on-surface);
  text-decoration: none;
  transition: color 0.3s;
}

.sz-blog-card:hover h3 a {
  color: var(--sz-primary);
}



/* ============================================
   BLOG ARCHIVE — FEATURED ARTICLE
   ============================================ */
.sz-featured-article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--sz-surface-low);
  border: 1px solid rgba(77, 70, 58, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 4rem;
  transition: border-color 0.4s ease;
}

@media (min-width: 768px) {
  .sz-featured-article {
    grid-template-columns: 1fr 1fr;
  }
}

.sz-featured-article:hover {
  border-color: rgba(229, 196, 135, 0.2);
}

.sz-featured-image {
  overflow: hidden;
}

.sz-featured-image .wp-post-image,
.sz-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  aspect-ratio: 16/9;
}

@media (min-width: 768px) {
  .sz-featured-image .wp-post-image,
  .sz-featured-image img {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

.sz-featured-article:hover .sz-featured-image img,
.sz-featured-article:hover .sz-featured-image .wp-post-image {
  transform: scale(1.05);
}

.sz-featured-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .sz-featured-content {
    padding: 2.5rem 3rem;
  }
}

.sz-featured-content h2 {
  border: none;
  padding: 0;
}

.sz-featured-meta {
  margin-bottom: 0.5rem;
}

/* ============================================
   BLOG ARCHIVE — CARD TILES
   ============================================ */
.sz-blog-tile {
  background: var(--sz-surface-low);
  border: 1px solid rgba(77, 70, 58, 0.1);
  border-radius: 0.375rem;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sz-blog-tile:hover {
  border-color: rgba(229, 196, 135, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.sz-blog-tile-image {
  position: relative;
  overflow: hidden;
}

.sz-blog-tile-image .wp-post-image,
.sz-blog-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.5s ease;
  display: block;
}

.sz-blog-tile:hover .sz-blog-tile-image img,
.sz-blog-tile:hover .sz-blog-tile-image .wp-post-image {
  transform: scale(1.1);
}

.sz-blog-tile-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}

.sz-blog-tile-category a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(19, 19, 19, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(229, 196, 135, 0.25);
  color: var(--sz-primary) !important;
  font-size: 0.75rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 0.25rem;
  text-decoration: none;
}

.sz-blog-tile-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sz-blog-tile-body h3 {
  border: none;
  padding: 0;
  margin: 0 0 0.5rem;
}

/* ============================================
   BADGES
   ============================================ */
.sz-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: rgba(229, 196, 135, 0.1);
  color: var(--sz-primary);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 0.25rem;
  line-height: 1;
}

.sz-badge-category a {
  color: var(--sz-primary) !important;
  text-decoration: none;
}

/* Post tags (small pills in blog tiles) */
.sz-post-tags {
  margin-top: 0.5rem;
}

.sz-post-tags a {
  color: var(--sz-outline) !important;
  text-decoration: none;
  transition: color 0.2s;
}

.sz-post-tags a:hover {
  color: var(--sz-primary) !important;
}

/* Reading time inline */
.sz-reading-time {
  font-size: 0.75rem;
  color: var(--sz-outline);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Footer social text link */
.sz-footer-social {
  color: var(--sz-on-surface-variant);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.sz-footer-social:hover {
  color: var(--sz-primary);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.sz-contact-split {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}

@media (min-width: 1024px) {
  .sz-contact-split {
    grid-template-columns: 40% 60%;
  }
}

.sz-contact-left {
  position: relative;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sz-contact-right {
  background: var(--sz-surface-low);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .sz-contact-right {
    padding: 4rem 4rem;
  }
}

/* Form overrides for Fluent Forms */
.sz-contact-right .fluentform input[type="text"],
.sz-contact-right .fluentform input[type="email"],
.sz-contact-right .fluentform textarea,
.sz-contact-right .fluentform select {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--sz-outline-variant) !important;
  border-radius: 0 !important;
  color: var(--sz-on-surface) !important;
  padding: 0.75rem 0 !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
}

.sz-contact-right .fluentform input:focus,
.sz-contact-right .fluentform textarea:focus {
  border-bottom-color: var(--sz-primary) !important;
  box-shadow: none !important;
}

.sz-contact-right .fluentform .ff-el-input--label label {
  color: var(--sz-on-surface-variant) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sz-contact-right .fluentform .ff-btn-submit {
  background: transparent !important;
  color: var(--sz-on-surface) !important;
  border: none !important;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 1rem 0 !important;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

/* ============================================
   IMAGE TREATMENTS
   ============================================ */
.sz-img-grayscale {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.7s, opacity 0.7s;
}

.sz-img-grayscale:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.sz-img-cinematic {
  position: relative;
}

.sz-img-cinematic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(19,19,19,0.8) 100%);
  pointer-events: none;
}

/* ============================================
   MANIFESTO / NUMBERED LIST
   ============================================ */
.sz-manifesto-list {
  max-width: 800px;
  margin: 0 auto;
}

.sz-manifesto-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(77, 70, 58, 0.1);
}

.sz-manifesto-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--sz-primary);
  opacity: 0.5;
  line-height: 1;
}

/* ============================================
   BUTTONS (WordPress block overrides)
   ============================================ */
.wp-block-button__link,
.wp-element-button {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Gold button style */
.wp-block-button.sz-btn-gold-wp .wp-block-button__link {
  background: var(--sz-gold-gradient) !important;
  color: var(--sz-on-primary) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  transition: all 0.3s;
}

.wp-block-button.sz-btn-gold-wp .wp-block-button__link:hover {
  transform: scale(1.02);
  opacity: 0.95;
}

/* Ghost button style */
.wp-block-button.sz-btn-ghost-wp .wp-block-button__link {
  background: transparent !important;
  color: var(--sz-on-surface) !important;
  border: 1px solid rgba(77, 70, 58, 0.3) !important;
  transition: all 0.3s;
}

.wp-block-button.sz-btn-ghost-wp .wp-block-button__link:hover {
  border-color: var(--sz-primary) !important;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sz-max-w-narrow { max-width: 720px; margin: 0 auto; }
.sz-max-w-medium { max-width: 1120px; margin: 0 auto; }
.sz-max-w-wide { max-width: 1440px; margin: 0 auto; }

.sz-text-center { text-align: center; }
.sz-mt-0 { margin-top: 0 !important; }

/* Remove default page title on all pages (nav handles branding) */
body:not(.single) .wp-block-post-title {
  display: none;
}

/* Remove H3 gold border from old theme */
.entry-content h3,
.wp-block-heading:where(:not(.wp-block-post-title)) {
  border-left: none;
  padding-left: 0;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 768px) {
  .sz-hero {
    min-height: auto;
    padding: 6rem 1.5rem 2rem;
  }
  .sz-hero h1 {
    font-size: 2.5rem;
  }
  .sz-hero-sidebar {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(77, 70, 58, 0.2);
    padding-top: 2rem;
  }
  .sz-section {
    padding: 3rem 1.5rem;
  }
  .sz-cta-spotlight {
    padding: 3rem 1.5rem;
  }
  .sz-philosophy-stat {
    display: none;
  }
  .sz-hero-image {
    margin-top: 2rem;
    aspect-ratio: 16/9;
  }
}

/* ============================================
   ATMOSPHERIC IMAGES (Stitch v4.0)
   ============================================ */

/* Hero background image (full-bleed behind text) */
.sz-hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sz-hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sz-hero-bg-image.sz-luminosity img {
  opacity: 0.3;
  mix-blend-mode: luminosity;
}

.sz-hero-bg-image.sz-grayscale-dim img {
  filter: grayscale(100%);
  opacity: 0.4;
}

.sz-hero-bg-image.sz-grayscale-muted img {
  filter: grayscale(100%);
  opacity: 0.6;
  transform: scale(1.05);
}

/* Bento image panels */
.sz-bento-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--sz-surface-low);
}

.sz-bento-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}

.sz-bento-image:hover img {
  transform: scale(1.05);
}

.sz-bento-image.sz-dim img {
  opacity: 0.4;
}

.sz-bento-image.sz-dim:hover img {
  opacity: 0.6;
}

.sz-bento-image.sz-muted img {
  opacity: 0.6;
}

.sz-bento-image.sz-subtle img {
  opacity: 0.2;
}

.sz-bento-image.sz-subtle:hover img {
  opacity: 0.4;
}

.sz-bento-image.sz-hover-zoom-lg:hover img {
  transform: scale(1.1);
}

/* Feature panel with image */
.sz-feature-panel {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--sz-surface-low);
  min-height: 400px;
}

.sz-feature-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out, opacity 0.7s;
}

.sz-feature-panel.sz-grayscale-dark img {
  filter: grayscale(100%) brightness(0.75);
}

.sz-feature-panel.sz-grayscale-dark:hover img {
  transform: scale(1.1);
}

/* Contact atmospheric image */
.sz-contact-atmosphere {
  position: relative;
  overflow: hidden;
}

.sz-contact-atmosphere img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.4;
  transition: transform 0.7s ease-out, opacity 0.7s;
}

.sz-contact-atmosphere:hover img {
  transform: scale(1.05);
  opacity: 0.6;
}

/* ============================================
   RESPONSIVE FIXES (Round 8)
   Addresses overflow, grid collapse, text size,
   and touch target issues across all breakpoints.
   ============================================ */

/* --- Global overflow safety --- */
body:not(.single) {
  overflow-x: hidden;
}

html, body {
  max-width: 100vw;
}

body:not(.single) main.wp-block-group {
  overflow-x: hidden;
}

/* --- Fix 1: Homepage service cards (CRITICAL) ---
   .sz-bento-3 jumps 1col→3col at 768px.
   With .sz-card-square aspect-ratio:1/1, cards overflow.
   Add 2col tablet step + drop square ratio below 1024px. */

@media (max-width: 1023px) {
  .sz-card-square {
    aspect-ratio: auto;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .sz-bento-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Fix 2: AI-Native Company Websites feature-panel (CRITICAL) ---
   .sz-feature-panel min-height:400px causes overflow at mobile/tablet. */

@media (max-width: 768px) {
  .sz-feature-panel {
    min-height: 200px;
    max-width: 100%;
  }
}

/* --- Fix 3: Footer grid collapse ---
   Override existing 768px 4-col rule.
   Tablet gets 2col, desktop gets 4col. */

@media (min-width: 768px) and (max-width: 1023px) {
  .sz-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .sz-footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* --- Fix 4: Hero blob overflow ---
   Decorative blur blob extends past viewport on service pages. */

.sz-hero-blob {
  max-width: 100vw;
}

/* --- Fix 5: Blog grid at mobile --- */

@media (max-width: 767px) {
  .sz-blog-tile {
    margin-bottom: 1rem;
  }

  .sz-featured-article {
    grid-template-columns: 1fr;
  }
}

/* --- Fix 6: Manifesto items at small mobile --- */

@media (max-width: 480px) {
  .sz-manifesto-item {
    gap: 1rem;
  }

  .sz-manifesto-number {
    font-size: 2rem;
  }
}

/* --- Fix 7: Minimum text sizes ---
   All text must be ≥12px (0.75rem) for readability + PageSpeed. */

.sz-footer-bottom .sz-footer-location {
  font-size: 0.75rem;
  letter-spacing: 0;
}

.sz-badge {
  font-size: 0.75rem;
}

.sz-blog-tile-category a {
  font-size: 0.75rem !important;
}

.sz-featured-meta .wp-block-post-terms {
  font-size: 0.75rem !important;
}

/* --- Fix 8: Touch targets on mobile ---
   Footer links and small buttons need min 44×44px tap area. */

@media (max-width: 1024px) {
  .sz-footer-col a {
    display: inline-block;
    min-height: 44px;
    line-height: 44px;
  }

  .sz-footer-brand a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* --- Fix 9 (was 10): CTA buttons stack on small mobile --- */

@media (max-width: 480px) {
  .sz-cta-spotlight .wp-block-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================================
   RESPONSIVE POLISH (Round 9)
   Tablet audit follow-up: 3 targeted fixes.
   ============================================ */

/* --- Fix 1: Expertise cards clipped at 1024px ---
   Extend 2-col grid up to 1199px so 3 square cards
   only appear at ≥1200px where there's enough space.
   Overrides Round 8 rules (which stopped at 1023px). */

@media (max-width: 1199px) {
  .sz-card-square {
    aspect-ratio: auto;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .sz-bento-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Fix 2: Blog grid cards fill width with fewer posts ---
   FSE grid uses fixed 3 columns. With only 2 posts,
   1/3 of the width is empty. auto-fill creates columns
   only for existing items. */

.wp-block-post-template.is-layout-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
}

/* --- Fix 3: Mobile menu overlay opacity ---
   Fully opaque fallback for devices without backdrop-filter.
   Devices that support blur get a 0.97 opacity with blur. */

@media (max-width: 768px) {
  .sz-nav-links.open {
    background: rgba(19, 19, 19, 0.98) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

/* --- Focus-visible styles --- */
:focus-visible {
  outline: 2px solid var(--sz-primary);
  outline-offset: 2px;
}

.sz-nav-cta:focus-visible,
.sz-btn-gold:focus-visible,
.wp-block-button__link:focus-visible {
  outline: 2px solid var(--sz-on-primary);
  outline-offset: 2px;
}

/* --- Skip to content link --- */
.sz-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  background: var(--sz-primary);
  color: var(--sz-on-primary);
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 0 0 0.375rem 0.375rem;
  transition: top 0.2s ease;
}

.sz-skip-link:focus {
  top: 0;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   CONTACT TABLET LAYOUT (768-1023px)
   ============================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .sz-contact-split {
    grid-template-columns: 1fr;
  }

  .sz-contact-left {
    padding: 4rem 3rem;
    max-width: 720px;
    margin: 0 auto;
  }

  .sz-contact-right {
    padding: 3rem;
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ============================================
   DESIGN POLISH — Visual Rhythm & Motion
   ============================================ */

/* --- 1. Scroll-triggered entrance animations ---
   Elements start invisible and fade-in-up when
   they enter the viewport via IntersectionObserver. */

.sz-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger children in grids */
.sz-reveal-stagger > .sz-reveal:nth-child(2) { transition-delay: 0.08s; }
.sz-reveal-stagger > .sz-reveal:nth-child(3) { transition-delay: 0.16s; }
.sz-reveal-stagger > .sz-reveal:nth-child(4) { transition-delay: 0.24s; }

/* Reduced motion: instant reveal, no animation */
@media (prefers-reduced-motion: reduce) {
  .sz-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- 2. Consistent elevation system ---
   Three tiers: rest, hover, featured. */

.sz-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: background-color 0.5s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.sz-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.sz-card--gold:hover {
  box-shadow: 0 12px 32px rgba(200, 169, 110, 0.25), 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* Blog tiles: inherit elevation system */
.sz-blog-tile {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.sz-blog-tile:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Featured article: elevated state */
.sz-featured-article {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sz-featured-article:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

/* --- 3. Section dividers ---
   Subtle gold gradient fades between major sections. */

.sz-section-divider {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sz-section-divider::after {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--sz-outline-variant) 20%, var(--sz-outline-variant) 80%, transparent 100%);
  opacity: 0.4;
}

/* --- 4. Typography refinement ---
   Breathing room for secondary headings. */

.sz-section-header h2,
.sz-philosophy-text h2 {
  line-height: 1.15;
}

.sz-card h3,
.sz-manifesto-item h3 {
  line-height: 1.25;
}

.sz-hero-sidebar p,
.sz-philosophy-text p {
  line-height: 1.7;
}

/* --- 5. Nav link hover underline ---
   Animated underline that grows from center. */

.sz-nav-links a:not(.sz-nav-cta):not(.sz-nav-dropdown-toggle):not(.sz-nav-mobile-cta) {
  position: relative;
}

.sz-nav-links a:not(.sz-nav-cta):not(.sz-nav-dropdown-toggle):not(.sz-nav-mobile-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--sz-primary);
  transition: width 0.25s ease, left 0.25s ease;
}

.sz-nav-links a:not(.sz-nav-cta):not(.sz-nav-dropdown-toggle):not(.sz-nav-mobile-cta):hover::after {
  width: 100%;
  left: 0;
}

/* Hide underlines on mobile (stacked nav) */
@media (max-width: 768px) {
  .sz-nav-links a::after {
    display: none !important;
  }
}

/* --- 6. Button interaction polish ---
   Active (pressed) state for better tactile feedback. */

.sz-btn-gold:active,
.sz-nav-cta:active,
.wp-block-button.sz-btn-gold-wp .wp-block-button__link:active {
  transform: scale(0.97);
  opacity: 0.9;
  transition-duration: 0.08s;
}

.sz-btn-ghost:active,
.wp-block-button.sz-btn-ghost-wp .wp-block-button__link:active {
  transform: scale(0.97);
  transition-duration: 0.08s;
}

/* Ghost button: subtle background on hover */
.sz-btn-ghost:hover {
  background: rgba(229, 196, 135, 0.04);
}

/* --- 7. Cal.com loading skeleton --- */
.sz-cal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: var(--sz-on-surface-variant);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.5;
}

.sz-cal-loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--sz-outline-variant);
  border-top-color: var(--sz-primary);
  border-radius: 50%;
  margin-left: 0.75rem;
  animation: sz-spin 0.8s linear infinite;
}

@keyframes sz-spin {
  to { transform: rotate(360deg); }
}

/* --- 8. Image hover polish ---
   Consistent grayscale-to-color across all image treatments. */

.sz-team-member img,
.sz-philosophy-image img {
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 9. CTA spotlight subtle glow pulse --- */
.sz-cta-spotlight {
  position: relative;
}

.sz-cta-spotlight::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sz-primary-container), transparent);
  opacity: 0.3;
}

/* ============================================
   2x2 FEATURE GRID (uniform icon cards)
   ============================================ */
.sz-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .sz-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   PROCESS TIMELINE (vertical steps)
   ============================================ */
.sz-process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.sz-process-step {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  position: relative;
}

.sz-process-step + .sz-process-step {
  border-top: 1px solid rgba(77, 70, 58, 0.1);
}

/* Vertical gold line connecting steps */
.sz-process-timeline::before {
  content: '';
  position: absolute;
  left: 2rem;
  top: 3.5rem;
  bottom: 2rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--sz-primary-container), rgba(200, 169, 110, 0.1));
  opacity: 0.3;
}

.sz-process-step-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.sz-process-step-number span:first-child {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--sz-primary);
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
  background: var(--sz-deep-void);
  padding: 0.25rem 0;
}

.sz-process-step-number .sz-icon {
  font-size: 1.5rem;
  color: var(--sz-primary-container);
  opacity: 0.6;
}

.sz-process-step-content h3 {
  color: var(--sz-on-surface);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  border: none;
  padding: 0;
}

.sz-process-step-content p {
  color: var(--sz-on-surface-variant);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 480px) {
  .sz-process-step {
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
  }
  .sz-process-timeline::before {
    left: 1.5rem;
  }
}

/* ============================================
   HIGHLIGHT CALLOUT CARD
   ============================================ */
.sz-callout {
  max-width: 800px;
  margin: 0 auto;
  background: var(--sz-surface-high);
  border-left: 3px solid var(--sz-primary-container);
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 2.5rem;
  position: relative;
}

.sz-callout-icon {
  margin-bottom: 1rem;
}

.sz-callout-icon .sz-icon {
  font-size: 1.75rem;
  color: var(--sz-primary-container);
}

.sz-callout h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sz-on-surface);
  margin: 0 0 1rem;
}

.sz-callout p {
  color: var(--sz-on-surface-variant);
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}

/* ============================================
   HORIZONTAL STEPPER (subway-line process)
   ============================================ */
.sz-stepper {
  display: flex;
  position: relative;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 1.5rem;
}

/* Horizontal gold connecting line */
.sz-stepper::before {
  content: '';
  position: absolute;
  top: calc(1.5rem + 24px);
  left: 3%;
  right: 3%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sz-primary-container) 10%, var(--sz-primary-container) 90%, transparent);
  opacity: 0.35;
}

.sz-stepper-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 0.5rem;
}

/* Icon circle on the line */
.sz-stepper-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sz-surface-high);
  border: 1px solid rgba(77, 70, 58, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.sz-stepper-icon .sz-icon {
  font-size: 1.25rem;
  color: var(--sz-primary-container);
}

.sz-stepper-item:hover .sz-stepper-icon {
  background: var(--sz-surface-bright);
  border-color: rgba(229, 196, 135, 0.3);
}

.sz-stepper-item h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--sz-on-surface);
  margin: 0 0 0.5rem;
  border: none;
  padding: 0;
  line-height: 1.3;
}

.sz-stepper-item p {
  font-size: 0.8125rem;
  color: var(--sz-on-surface-variant);
  line-height: 1.5;
  margin: 0;
  opacity: 0.8;
}

/* Tablet: 3x2 grid, keep line hidden */
@media (max-width: 1023px) {
  .sz-stepper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1rem;
  }

  .sz-stepper::before {
    display: none;
  }
}

/* Mobile: 2x3 grid */
@media (max-width: 640px) {
  .sz-stepper {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }
}

/* ============================================
   FAQ ACCORDION (details/summary, CSS-only)
   SEO + AI crawler friendly: content always in DOM
   ============================================ */
.sz-faq {
  max-width: 800px;
  margin: 0 auto;
}

.sz-faq-item {
  border-bottom: 1px solid rgba(77, 70, 58, 0.15);
}

.sz-faq-item:first-child {
  border-top: 1px solid rgba(77, 70, 58, 0.15);
}

.sz-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sz-on-surface);
  transition: color 0.2s ease;
}

.sz-faq-item summary::-webkit-details-marker {
  display: none;
}

.sz-faq-item summary::marker {
  display: none;
  content: '';
}

/* Chevron icon */
.sz-faq-item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--sz-primary);
  border-bottom: 2px solid var(--sz-primary);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.sz-faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.sz-faq-item summary:hover {
  color: var(--sz-primary);
}

.sz-faq-item .sz-faq-answer {
  padding: 0 0 1.5rem;
  color: var(--sz-on-surface-variant);
  line-height: 1.7;
  font-size: 0.9375rem;
  max-width: 90%;
}

/* Remove click outline, keep keyboard focus only */
.sz-faq-item summary:focus {
  outline: none;
}

.sz-faq-item summary:focus-visible {
  outline: 2px solid var(--sz-primary);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ============================================
   PHASE 2 REBUILD — New Utilities & Native Block Styles
   ============================================ */

/* --- Utility Classes --- */
.sz-order-1 { order: 1; }
.sz-order-2 { order: 2; }
.sz-max-w-640 { max-width: 640px; margin-left: auto; margin-right: auto; }
.sz-max-w-700 { max-width: 700px; }
.sz-max-w-800 { max-width: 800px; }
.sz-max-w-900 { max-width: 900px; margin-left: auto; margin-right: auto; }
.sz-aspect-4-3 { aspect-ratio: 4/3; }
.sz-rounded-panel { border-radius: 0.75rem; overflow: hidden; }
.sz-relative-raised { position: relative; z-index: 10; }
.sz-link-reset { text-decoration: none; color: inherit; }

/* --- Native Accordion Block (WP 6.9) styled as sz-faq --- */
.wp-block-accordion.sz-faq {
  max-width: 800px;
  margin: 0 auto;
}

.wp-block-accordion.sz-faq .wp-block-accordion-item {
  border-bottom: 1px solid rgba(77, 70, 58, 0.15);
}

.wp-block-accordion.sz-faq .wp-block-accordion-item:first-child {
  border-top: 1px solid rgba(77, 70, 58, 0.15);
}

.wp-block-accordion.sz-faq .wp-block-accordion-heading button,
.wp-block-accordion.sz-faq .wp-block-accordion-heading summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sz-on-surface);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color 0.2s ease;
}

.wp-block-accordion.sz-faq .wp-block-accordion-heading button:hover,
.wp-block-accordion.sz-faq .wp-block-accordion-heading summary:hover {
  color: var(--sz-primary);
}

.wp-block-accordion.sz-faq .wp-block-accordion-panel {
  padding: 0 0 1.5rem;
  color: var(--sz-on-surface-variant);
  line-height: 1.7;
  font-size: 0.9375rem;
  max-width: 90%;
}

/* --- Native Cover Block styled as hero-cover --- */
.wp-block-cover.sz-hero-cover {
  min-height: 100vh;
  align-items: center;
}

.wp-block-cover.sz-hero-cover .wp-block-cover__inner-container {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* --- Full-width sections for native blocks --- */
.wp-block-group.alignfull.sz-section-full {
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* --- Contact page styles (moved from inline <style> block) --- */
.sz-contact-3area {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
  grid-template-areas:
    "inquiry"
    "form"
    "booking";
}

@media (min-width: 1024px) {
  .sz-contact-3area {
    grid-template-columns: 40% 60%;
    grid-template-areas:
      "inquiry form"
      "booking form";
  }
}

.sz-contact-3area .sz-contact-inquiry { grid-area: inquiry; }
.sz-contact-3area .sz-contact-form { grid-area: form; }
.sz-contact-3area .sz-contact-booking { grid-area: booking; }

/* Fluent Forms placeholder color override */
.sz-contact-right .fluentform input::placeholder,
.sz-contact-right .fluentform textarea::placeholder {
  color: var(--sz-outline) !important;
}

/* ============================================
   CONTACT PAGE — COMPONENT STYLES
   (Flex layout is in-page <style> to override WP FSE)
   ============================================ */
.sz-contact-col-left {
  padding: 4rem clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
}

.sz-contact-col-right {
  background: var(--sz-surface-low);
  padding: 4rem clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sz-contact-inquiry-heading {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.sz-contact-inquiry-text {
  font-size: 1.125rem;
  color: var(--sz-on-surface-variant);
  line-height: 1.6;
  max-width: 24rem;
}

.sz-contact-layout .sz-contact-booking {
  padding: 0;
}

.sz-contact-divider {
  border: none;
  border-top: 1px solid rgba(229, 196, 135, 0.2);
  margin: 0 0 2.5rem;
  max-width: 4rem;
}

.sz-contact-meta-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sz-primary);
  margin-bottom: 0.75rem;
}

.sz-contact-meta-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--sz-on-surface);
  margin-bottom: 0.5rem;
}

.sz-contact-meta-desc {
  font-size: 0.875rem;
  color: var(--sz-on-surface-variant);
  line-height: 1.5;
}

.sz-contact-booking-cta {
  margin-top: 2.5rem;
}

.sz-contact-layout .sz-contact-booking .sz-btn-gold {
  width: auto;
  display: inline-flex;
}

.sz-contact-form-inner {
  max-width: 36rem;
  margin: 0 auto;
  width: 100%;
}

.sz-contact-form-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--sz-primary);
  margin-bottom: 3rem;
}

/* Fluent Forms overrides inside new contact grid */
.sz-contact-layout .fluentform .ff-el-form-control,
.sz-contact-layout .fluentform input[type="text"],
.sz-contact-layout .fluentform input[type="email"],
.sz-contact-layout .fluentform input[type="url"],
.sz-contact-layout .fluentform input[type="tel"],
.sz-contact-layout .fluentform textarea,
.sz-contact-layout .fluentform select,
.sz-contact-layout .ff-el-form-control,
.sz-contact-layout .fluentform .ff-el-input--content input,
.sz-contact-layout .fluentform .ff-el-input--content textarea,
.sz-contact-layout .fluentform .ff-el-input--content select {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--sz-outline-variant) !important;
  border-radius: 0 !important;
  color: var(--sz-on-surface) !important;
  padding: 0.75rem 0 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1rem !important;
  transition: border-color 0.3s ease;
  box-shadow: none !important;
  outline: none !important;
}

/* Kill any fieldset/wrapper backgrounds */
.sz-contact-layout .fluentform fieldset,
.sz-contact-layout .fluentform .ff-el-group,
.sz-contact-layout .fluentform .ff-el-input--content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.sz-contact-layout .fluentform input:focus,
.sz-contact-layout .fluentform textarea:focus,
.sz-contact-layout .fluentform select:focus {
  border-bottom-color: var(--sz-primary) !important;
  box-shadow: none !important;
  outline: none;
}

.sz-contact-layout .fluentform input::placeholder,
.sz-contact-layout .fluentform textarea::placeholder {
  color: var(--sz-outline) !important;
}

.sz-contact-layout .fluentform .ff-el-input--label label {
  color: var(--sz-on-surface-variant) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sz-contact-layout .fluentform .ff-btn-submit {
  background: var(--sz-gold-gradient) !important;
  color: var(--sz-on-primary) !important;
  border: none !important;
  border-radius: 0.375rem !important;
  padding: 0.875rem 2rem !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex !important;
  width: auto !important;
  margin-top: 1rem;
}

.sz-contact-layout .fluentform .ff-btn-submit:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Tooltip icon gold */
.sz-contact-layout .fluentform .ff-el-tooltip svg,
.sz-contact-layout .fluentform .ff-el-tooltip svg path {
  fill: var(--sz-primary) !important;
}

/* ============================================
   STAT CARDS GRID
   ============================================ */
.sz-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .sz-stat-grid { grid-template-columns: repeat(4, 1fr); }
}

.sz-stat-card {
  background: var(--sz-surface-low);
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  border-left: 2px solid var(--sz-primary-container);
  transition: background 0.3s ease;
}

.sz-stat-card:hover { background: var(--sz-surface); }

.sz-stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sz-primary);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.sz-stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sz-on-surface-variant);
  line-height: 1.4;
}

/* ============================================
   NAIW PROTOCOL NODE GRAPH
   ============================================ */
.sz-naiw-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .sz-naiw-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .sz-naiw-grid { grid-template-columns: repeat(3, 1fr); }
}

.sz-naiw-node {
  background: var(--sz-surface-low);
  border: 1px solid rgba(77, 70, 58, 0.12);
  border-radius: 0.75rem;
  padding: 2rem;
  position: relative;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.sz-naiw-node:hover {
  border-color: rgba(229, 196, 135, 0.25);
  box-shadow: 0 0 0 1px rgba(229, 196, 135, 0.08), 0 8px 32px -8px rgba(229, 196, 135, 0.08);
  background: var(--sz-surface);
}

.sz-naiw-node-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.sz-naiw-node-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(229, 196, 135, 0.08);
  border: 1px solid rgba(229, 196, 135, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.sz-naiw-node:hover .sz-naiw-node-icon {
  background: rgba(229, 196, 135, 0.12);
  border-color: rgba(229, 196, 135, 0.3);
}

.sz-naiw-node-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--sz-primary);
}

.sz-naiw-node-number {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sz-primary);
  opacity: 0.6;
}

.sz-naiw-node h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--sz-on-surface);
  margin-bottom: 0.75rem;
  border: none;
  padding: 0;
}

.sz-naiw-node p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--sz-on-surface-variant);
}

.sz-naiw-note {
  font-size: 0.875rem;
  color: var(--sz-outline);
  margin-top: 2.5rem;
  text-align: center;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sz-order-1 { order: 1; }
.sz-order-2 { order: 2; }

.sz-prose-narrow {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.sz-prose-body {
  color: var(--sz-on-surface-variant);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.sz-prose-cta { margin-top: 2rem; }

.sz-naiw-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.sz-naiw-intro {
  font-size: 1.125rem;
  color: var(--sz-on-surface-variant);
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 720px;
}

/* Hero particle canvas (injected by JS) */
.sz-hero-particle-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Card 3D tilt (applied by JS) */
.sz-tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Stagger reveal additions */
.sz-reveal-stagger > .sz-reveal:nth-child(5) { transition-delay: 0.32s; }
.sz-reveal-stagger > .sz-reveal:nth-child(6) { transition-delay: 0.40s; }


/* Gold card — link wrapper and text contrast fix */
a.sz-card--gold,
a.sz-card--gold:visited,
a.sz-card--gold:hover {
  color: var(--sz-on-primary);
  text-decoration: none;
}

a.sz-card--gold h3 {
  color: var(--sz-on-primary);
}

a.sz-card--gold p {
  color: var(--sz-on-primary);
  opacity: 0.8;
}

a.sz-card--gold .sz-card-icon {
  color: var(--sz-on-primary);
  opacity: 0.6;
}

a.sz-card--gold .sz-card-footer span:first-child {
  color: rgba(64, 45, 0, 0.6);
}

a.sz-card--gold:hover .sz-card-footer span:first-child {
  color: rgba(64, 45, 0, 0.9);
}

/* Gold card — hover state: dark bg + white text */
.sz-card--gold,
a.sz-card--gold {
  transition: background-color 0.5s ease, box-shadow 0.5s ease, color 0.5s ease;
}

.sz-card--gold h3,
a.sz-card--gold h3 {
  color: var(--sz-on-surface);
}

.sz-card--gold:hover,
a.sz-card--gold:hover {
  background: var(--sz-surface) !important;
}

a.sz-card--gold:hover h3 {
  color: var(--sz-on-surface);
}

a.sz-card--gold:hover p {
  color: var(--sz-on-surface) !important;
  opacity: 1;
}

a.sz-card--gold:hover .sz-card-icon {
  color: var(--sz-on-surface) !important;
  opacity: 1;
}

a.sz-card--gold:hover .sz-card-footer {
  border-color: rgba(229, 196, 135, 0.2);
}

a.sz-card--gold:hover .sz-card-footer span:first-child {
  color: var(--sz-primary) !important;
}

a.sz-card--gold:hover .sz-card-footer .sz-icon {
  color: var(--sz-on-surface) !important;
}


/* ═══ 404 Page ═══ */
.sz-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.sz-404-code {
  font-size: clamp(120px, 22vw, 220px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: var(--sz-gold-gradient, linear-gradient(135deg, #e5c487 0%, #c8a96e 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  z-index: 0;
  user-select: none;
}

.sz-404-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.sz-404-content h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--sz-on-surface);
  margin-bottom: 16px;
  line-height: 1.2;
}

.sz-404-content h1 em {
  font-style: normal;
  background: var(--sz-gold-gradient, linear-gradient(135deg, #e5c487 0%, #c8a96e 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sz-404-content p {
  font-size: 16px;
  color: var(--sz-outline, #998f81);
  line-height: 1.7;
  margin-bottom: 36px;
}

.sz-404-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.sz-404-buttons .sz-btn {
  font-size: 14px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
}

.sz-404-buttons .sz-btn:active {
  transform: scale(0.97);
}

.sz-404-buttons .sz-btn-gold {
  background: var(--sz-gold-gradient, linear-gradient(135deg, #e5c487 0%, #c8a96e 100%));
  color: var(--sz-on-primary, #1f1600);
}

.sz-404-buttons .sz-btn-gold:hover {
  box-shadow: 0 8px 32px rgba(229, 196, 135, 0.15);
}

.sz-404-buttons .sz-btn-ghost {
  background: rgba(229, 196, 135, 0.06);
  color: var(--sz-primary, #e5c487);
  border: 1px solid rgba(229, 196, 135, 0.15);
}

.sz-404-buttons .sz-btn-ghost:hover {
  background: rgba(229, 196, 135, 0.12);
  border-color: rgba(229, 196, 135, 0.25);
}

@media (max-width: 480px) {
  .sz-404 { padding: 60px 20px; }
  .sz-404-buttons { flex-direction: column; align-items: center; }
  .sz-404-buttons .sz-btn { width: 100%; justify-content: center; }
}