/* ============================================
   WILLIAMSON AUTOMATION — DESIGN SYSTEM
   Foundation CSS: reset, tokens, typography,
   buttons, layout, cards, utilities, animations
   ============================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 80px;
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

ul, ol {
  list-style: none;
}

/* --- CUSTOM PROPERTIES --- */
:root {
  /* ============================================
     WILLIAMSON AUTOMATION -- DESIGN SYSTEM

     Colors:    --accent-gold, --bg-*, --text-*
     Type:      --text-xs through --text-7xl
     Spacing:   --space-1 through --space-32
     Radius:    --radius-sm through --radius-full
     Easing:    --ease, --transition-*
     Z-index:   --z-base through --z-toast
     ============================================ */

  /* Backgrounds */
  --bg-primary: #09090B;
  --bg-secondary: #111113;
  --bg-card: #141416;
  --bg-card-hover: #1A1A1D;
  --bg-tertiary: #1A1A1D;

  /* Text */
  --text-primary: #F4F4F5;
  --text-secondary: #A1A1AA;
  --text-dim: #71717A;
  --white: #ffffff;

  /* Borders */
  --border: #27272A;
  --border-light: #3F3F46;

  /* Accent (white-based for dark theme) */
  --accent: #F4F4F5;
  --accent-hover: #FFFFFF;

  /* Gold accent system */
  --accent-gold: #C4A265;
  --accent-gold-rgb: 196, 162, 101;
  --accent-gold-5: rgba(196, 162, 101, 0.05);
  --accent-gold-10: rgba(196, 162, 101, 0.10);
  --accent-gold-15: rgba(196, 162, 101, 0.15);
  --accent-gold-20: rgba(196, 162, 101, 0.20);
  --accent-gold-30: rgba(196, 162, 101, 0.30);
  --accent-gold-50: rgba(196, 162, 101, 0.50);

  /* Surface */
  --surface: var(--bg-card);

  /* Semantic status */
  --danger: #EF4444;
  --success: #22C55E;
  --info: #3B82F6;
  --warning: #FBBF24;

  /* Typography */
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;

  /* Type scale -- 1.25 ratio, rem units */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-md: 1.125rem;    /* 18px */
  --text-lg: 1.25rem;     /* 20px */
  --text-xl: 1.5rem;      /* 24px */
  --text-2xl: 1.875rem;   /* 30px */
  --text-3xl: 2.25rem;    /* 36px */
  --text-4xl: 3rem;       /* 48px */
  --text-5xl: 3.75rem;    /* 60px */
  --text-6xl: 4.5rem;     /* 72px */
  --text-7xl: 6rem;       /* 96px */

  /* Line height */
  --leading-none: 1;
  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Letter spacing */
  --tracking-tighter: -0.03em;
  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  /* Font weight */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Spacing -- 4px base, geometric scale */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* Section spacing */
  --section-padding: clamp(80px, 10vw, 140px);
  --section-py: var(--space-20);
  --section-py-lg: var(--space-24);
  --section-gap: var(--space-16);
  --container-max: 1200px;
  --container-pad: clamp(20px, 5vw, 40px);
  --inner-padding: var(--container-pad);

  /* Card spacing */
  --card-px: 36px;
  --card-py: 28px;
  --card-padding: var(--space-8);
  --card-padding-lg: var(--space-10);

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --card-radius: var(--radius-xl);
  --btn-radius: var(--radius-sm);

  /* Transitions */
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 150ms var(--ease);
  --transition-base: 250ms var(--ease);
  --transition-slow: 400ms var(--ease);
  --transition-med: 0.25s var(--ease);

  /* Z-index scale */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-nav: 300;
  --z-overlay: 400;
  --z-modal: 500;
  --z-toast: 600;

  /* Breakpoints (reference -- CSS custom properties can't be used in media queries):
     --bp-sm: 480px   (large phones)
     --bp-md: 768px   (tablets)
     --bp-lg: 1024px  (small laptops, iPad landscape)
     --bp-xl: 1280px  (desktops)
     --bp-2xl: 1440px (large desktops)
  */
}

/* --- BASE --- */
body {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* body overflow controlled via JS when mobile nav is open */

/* --- PAGE LOADER --- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  animation: loader-failsafe 0.3s ease 4s forwards;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  opacity: 0.4;
  animation: loader-pulse 1.2s ease-in-out infinite;
}

@keyframes loader-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.96); }
  50% { opacity: 0.6; transform: scale(1); }
}

@keyframes loader-failsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* --- NOISE TEXTURE OVERLAY --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- GRADIENT MESH BACKGROUND --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 100% 60% at 20% 40%, rgba(30, 30, 35, 0.03) 0%, rgba(30, 30, 35, 0.015) 35%, transparent 70%),
    radial-gradient(ellipse 80% 100% at 80% 20%, rgba(25, 25, 30, 0.025) 0%, rgba(25, 25, 30, 0.012) 30%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 90%, rgba(20, 20, 25, 0.02) 0%, rgba(20, 20, 25, 0.01) 25%, transparent 50%),
    var(--bg-primary);
  pointer-events: none;
}

/* --- SELECTION --- */
::selection {
  background: rgba(244, 244, 245, 0.12);
  color: var(--text-primary);
}

/* --- FOCUS --- */
:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* --- SCROLLBAR --- */
/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

/* Chrome, Safari, Edge */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-light);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

h1 {
  font-size: clamp(32px, 5vw, 88px);
  letter-spacing: var(--tracking-tighter);
  font-weight: 700;
}

h2 {
  font-size: clamp(24px, 3.5vw, 48px);
  letter-spacing: var(--tracking-tighter);
}

h3 {
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: var(--tracking-tight);
}

p {
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

.accent-text {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text-secondary);
}

.text-dim {
  color: var(--text-dim);
}

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

.label {
  font-size: clamp(10px, 0.8vw, 14px);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-dim);
}

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-padding) 0;
}

.section--alt {
  background-color: var(--bg-secondary);
}

.section__header {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section__label {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.section__title {
  margin-bottom: 8px;
}

.section__subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(24px, 3vw, 38px);
  color: var(--text-secondary);
  font-weight: 400;
}

/* Grid */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

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

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

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

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--btn-radius);
  transition: transform 0.25s cubic-bezier(0.33, 1, 0.68, 1),
              box-shadow 0.25s cubic-bezier(0.33, 1, 0.68, 1),
              background 0.25s cubic-bezier(0.33, 1, 0.68, 1),
              color 0.25s cubic-bezier(0.33, 1, 0.68, 1),
              border-color 0.25s cubic-bezier(0.33, 1, 0.68, 1);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.btn:active {
  transform: translateY(0px) scale(0.98);
  transition-duration: 0.1s;
}

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

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(244, 244, 245, 0.1);
  transform: translateY(-1px);
}

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

.btn--ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.03);
}

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

.btn--outline:hover {
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.05);
}

.btn--lg {
  font-size: var(--text-base);
  padding: 14px 28px;
}

.btn--full {
  width: 100%;
}

.btn--icon {
  padding: 10px;
}

/* --- CARDS --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: var(--card-py) var(--card-px);
  transition: all var(--transition-med);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: 72px;
  display: flex;
  align-items: center;
  overflow: visible;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.nav--scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

/* When mobile menu is open, remove backdrop-filter from .nav so
   .nav__mobile's position:fixed works relative to the viewport,
   not the .nav containing block created by backdrop-filter.
   Also stretch .nav height so it doesn't clip the overlay. */
.nav:has(.nav__mobile.active) {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-primary);
  align-items: flex-start;
}

.nav:has(.nav__mobile.active) .nav__inner {
  height: 72px;
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.nav__logo img {
  width: 30px;
  height: 30px;
  border-radius: 4px;
}

.nav__logo-text {
  display: flex;
  align-items: baseline;
}

.nav__logo-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.nav__logo-auto {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-dim);
  margin-left: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.nav__links .nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav__links .nav__link:hover::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__cta {
  margin-left: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 8px 18px;
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: var(--btn-radius);
  border: 1px solid var(--text-primary);
  transition: all var(--transition-base);
}

.nav__cta:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 244, 245, 0.12);
}

/* Hamburger — 2 lines */
.nav__hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  z-index: 1001;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(3.75px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

.nav__hamburger.active {
  z-index: var(--z-modal);
}

/* Mobile nav overlay */
.nav__mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: var(--z-overlay);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

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

.nav__mobile .nav__link {
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text-primary);
}

.nav__mobile-cta {
  font-size: var(--text-md);
  padding: 14px 32px;
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }
}

/* --- HERO --- */
.hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: clamp(60px, 8vw, 80px);
  min-height: auto;
  overflow: hidden;
}

/* Ambient depth orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.015) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.01) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

/* Two-column hero layout */
.hero__container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero__content {
  position: relative;
  z-index: 2;
}

/* Badge pill — refined */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 36px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 8px rgba(var(--accent-gold-rgb), 0.5);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Headline — commanding editorial */
.hero__title {
  max-width: 680px;
  margin-bottom: 28px;
  line-height: var(--leading-none);
}

.hero__title-line1 {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(3rem, 7.5vw, 5.4rem);
  font-weight: 700;
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tighter);
  color: var(--text-primary);
}

.hero__title-line2 {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.4rem, 8.5vw, 6.2rem);
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tight);
  text-shadow: none;
}
.hero__title-line2 .hero__word {
  background: linear-gradient(135deg, #ffffff 0%, #f5f0eb 40%, #C4A265 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subline */
.hero__description {
  max-width: 480px;
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--leading-relaxed);
  margin-bottom: 44px;
  letter-spacing: var(--tracking-wide);
}

/* Buttons */
.hero__buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

/* Glass 3D hero buttons */
.hero__buttons .btn {
  position: relative;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  padding: 14px 28px;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero__buttons .btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero__buttons .btn:hover {
  background: rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transform: translateY(-2px);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.14);
}
.hero__buttons .btn--primary {
  background: linear-gradient(135deg, rgba(var(--accent-gold-rgb),0.2) 0%, rgba(var(--accent-gold-rgb),0.08) 100%);
  border: 1px solid rgba(var(--accent-gold-rgb),0.25);
  color: #fff;
  font-weight: 600;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 24px rgba(var(--accent-gold-rgb),0.15), 0 2px 4px rgba(0,0,0,0.2);
}
.hero__buttons .btn--primary::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  border-radius: 0;
}
.hero__buttons .btn--primary:hover {
  background: linear-gradient(135deg, rgba(var(--accent-gold-rgb),0.3) 0%, rgba(var(--accent-gold-rgb),0.12) 100%);
  border-color: rgba(var(--accent-gold-rgb),0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 12px 32px rgba(var(--accent-gold-rgb),0.2), 0 2px 4px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

/* Shimmer sweep on primary button */
.hero__buttons .btn--primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: btnShimmer 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShimmer {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

/* Proof stats bar — frosted glass */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 22px 36px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -1px 0 rgba(0,0,0,0.1),
    0 16px 48px rgba(0,0,0,0.25);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero__stat-value {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: #fff;
  line-height: var(--leading-none);
}

.hero__stat-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.08), transparent);
  flex-shrink: 0;
}

/* Hero word-stagger spans */
.hero__line {
  display: block;
}

.hero__word {
  display: inline-block;
}

/* --- HERO SPOTLIGHT GLOW --- */
.hero__spotlight {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(var(--accent-gold-rgb),0.06) 0%, rgba(100,140,200,0.03) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* --- HERO BROWSER FRAME --- */
.hero__devices {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient glow behind the browser */
.hero__devices::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(var(--accent-gold-rgb),0.04) 0%, rgba(100,140,200,0.02) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* Browser frame container */
.hero-browser {
  position: relative;
  width: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a1a1d;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 32px 80px rgba(0,0,0,0.5),
    0 8px 24px rgba(0,0,0,0.3),
    0 2px 4px rgba(0,0,0,0.2);
  will-change: transform;
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

/* Browser chrome bar */
.hero-browser__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-browser__dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.hero-browser__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.hero-browser__dots span:nth-child(1) { background: #ff5f57; }
.hero-browser__dots span:nth-child(2) { background: #ffbd2e; }
.hero-browser__dots span:nth-child(3) { background: #28ca41; }

/* Address bar */
.hero-browser__bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
}

.hero-browser__lock {
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.hero-browser__url {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  letter-spacing: var(--tracking-wide);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Browser viewport — holds slides */
.hero-browser__viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

/* Hero showcase slideshow */
.hero-showcase__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
}

.hero-showcase__slide--active {
  opacity: 1;
  z-index: 1;
}

.hero-showcase__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Subtle bottom vignette */
.hero-browser__viewport::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Reflection under the browser */
.hero-showcase__reflection {
  position: absolute;
  bottom: -35%;
  left: 8%;
  right: 8%;
  height: 35%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.012), transparent);
  transform: scaleY(-1);
  opacity: 0.4;
  filter: blur(10px);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.25), transparent);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.25), transparent);
  pointer-events: none;
  border-radius: var(--radius-lg);
}

/* --- HERO KEYFRAMES --- */
@keyframes heroLineIn {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes showcaseFloat {
  from {
    opacity: 0;
    transform: perspective(1200px) rotateY(-8deg) rotateX(3deg) translateX(40px) translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: perspective(1200px) rotateY(-3deg) rotateX(1deg) translateX(0) translateY(0) scale(1);
  }
}

@keyframes gentleFloat {
  0%, 100% { transform: perspective(1200px) rotateY(-3deg) rotateX(1deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-2deg) rotateX(0.5deg) translateY(-6px); }
}

/* --- HERO ENTRANCE ANIMATIONS --- */
.hero__badge,
.hero__word,
.hero__description,
.hero__buttons,
.hero__stats {
  opacity: 0;
}

/* Badge — appears first */
.hero--entered .hero__badge {
  animation: heroLineIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.0s both;
}

/* Line 1 words: "Your" "business" "deserves" */
.hero--entered .hero__title-line1 .hero__word:nth-child(1) { animation: heroLineIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
.hero--entered .hero__title-line1 .hero__word:nth-child(2) { animation: heroLineIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }
.hero--entered .hero__title-line1 .hero__word:nth-child(3) { animation: heroLineIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both; }

/* Line 2 words (italic): "a" "real" "online" "presence." — slower for stagger */
.hero--entered .hero__title-line2 .hero__word:nth-child(1) { animation: heroLineIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both; }
.hero--entered .hero__title-line2 .hero__word:nth-child(2) { animation: heroLineIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both; }
.hero--entered .hero__title-line2 .hero__word:nth-child(3) { animation: heroLineIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both; }
.hero--entered .hero__title-line2 .hero__word:nth-child(4) { animation: heroLineIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both; }

.hero--entered .hero__description {
  animation: heroLineIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.hero--entered .hero__buttons {
  animation: heroLineIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.0s both;
}

.hero--entered .hero__stats {
  animation: heroLineIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
}

/* Showcase card entrance — overlaps with headline */
.hero__devices {
  opacity: 0;
}
.hero--entered .hero__devices {
  animation: showcaseFloat 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* Gentle idle float after entrance completes */
.hero--entered .hero-browser {
  animation: gentleFloat 6s ease-in-out infinite;
  animation-delay: 1.7s;
}
/* Cancel float when mouse is tracking */
.hero-browser.is-tracking {
  animation: none !important;
}

@media (max-width: 767px) {
  .hero__container {
    grid-template-columns: 1fr;
  }

  .hero__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__title {
    max-width: 100%;
  }

  .hero__devices {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .hero-browser {
    width: 100%;
    transform: none;
  }

  /* Disable all entrance animations on mobile — just show */
  .hero__badge,
  .hero__word,
  .hero__description,
  .hero__buttons,
  .hero__stats,
  .hero__devices {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
  .hero--entered .hero-browser {
    animation: none !important;
    transform: none !important;
  }
  .hero__buttons .btn--primary::after {
    animation: none;
  }
  .hero-showcase__reflection {
    display: none;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__badge,
  .hero__word,
  .hero__description,
  .hero__buttons,
  .hero__stats,
  .hero__devices {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
  .hero--entered .hero__buttons .btn--primary,
  .hero--entered .hero-browser {
    animation: none !important;
  }
  .hero-browser {
    transform: perspective(1200px) rotateY(-3deg) rotateX(1deg) !important;
  }
  .hero__buttons .btn--primary::after {
    animation: none;
  }
}

/* 1536px+ — larger showcase */
@media (min-width: 1536px) {
  .hero__container {
    gap: 60px;
  }
}

/* --- SERVICES --- */
.services__header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.services__label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.services__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

.accent-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--text-secondary);
}

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

/* Base service card */
.services-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

@media (hover: hover) {
  .services-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
  }
}

/* 3D tilt shine overlay */
.services-card__shine {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  background: radial-gradient(
    200px circle at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.015) 40%,
    transparent 100%
  );
}

.services-card:hover .services-card__shine {
  opacity: 1;
}

/* Featured card (Bundle) */
.services-card--featured {
  background: var(--bg-tertiary);
  border-color: var(--border-light);
  box-shadow:
    0 0 0 1px var(--border-light),
    0 8px 40px -12px rgba(0, 0, 0, 0.5),
    0 0 80px -20px rgba(244, 244, 245, 0.03);
}

.services-card__badge {
  position: absolute;
  top: -11px;
  left: 28px;
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  padding: 4px 12px;
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: var(--radius-full);
}

.services-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: rgba(244, 244, 245, 0.04);
  border: 1px solid rgba(244, 244, 245, 0.06);
  color: var(--text-dim);
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.services-card:hover .services-card__icon {
  background: rgba(244, 244, 245, 0.07);
  border-color: rgba(244, 244, 245, 0.1);
}

/* Gradient border on hover */
.services-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(244,244,245,0.07), rgba(244,244,245,0.02) 30%, transparent 45%, transparent 55%, rgba(244,244,245,0.02) 70%, rgba(244,244,245,0.04));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-card:hover::after {
  opacity: 1;
}

.services-card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin-bottom: 10px;
}

.services-card__description {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: 24px;
}

.services-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.services-card__features li {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-secondary);
  padding-left: 20px;
}

.services-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
}

/* Brighter bullets for featured card */
.services-card__features--bright li::before {
  background: var(--text-secondary);
}

/* Services cards use .reveal system */

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .services-card {
    padding: 28px 20px;
  }
}

/* --- PRICING --- */
#pricing {
  padding-top: 80px;
}

.pricing__header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.pricing__label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.pricing__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

.pricing__grid {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.pricing__grid--two {
  gap: 24px;
  align-items: stretch;
  max-width: 820px;
  margin: 0 auto;
}

/* ================================================
   FANNED PRICING CARDS — DESKTOP
   Cards fan like a hand. All readable by default.
   Center card elevated. Hover slides card out.
   Blur only on cards BEHIND the hovered one.
   ================================================ */
@media (min-width: 769px) {
  .pricing__grid--fanned {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 580px;
    margin: 0 auto;
    max-width: 1200px;
  }

  /* All cards: absolute, solid transition */
  .pricing__grid--fanned .pricing-card {
    position: absolute;
    width: 320px;
    filter: none !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.4s ease,
                z-index 0s;
  }
  .pricing__grid--fanned .pricing-card.revealed {
    opacity: 1;
  }

  /* $250 — CENTER (elevated, largest) */
  .pricing__grid--fanned .pricing-card--featured {
    z-index: 10;
    width: 360px;
    transform: translateY(-8px);
  }

  /* $100 — LEFT (fanned, slightly behind) */
  .pricing__grid--fanned .pricing-card--side:first-child {
    z-index: 5;
    transform: translateX(-180px) rotate(-5deg) scale(0.92);
  }

  /* $500 — RIGHT (fanned, slightly behind) */
  .pricing__grid--fanned .pricing-card--side:last-child {
    z-index: 5;
    transform: translateX(180px) rotate(5deg) scale(0.92);
  }

  /* ---- HOVER: active card scales up, solid background ---- */
  .pricing__grid--fanned .pricing-card.pricing-card--active,
  .pricing__grid--fanned .pricing-card.pricing-card--active.reveal.revealed {
    transform: scale(1.05) !important;
    z-index: 20;
    opacity: 1 !important;
    pointer-events: auto;
    background: #1a1a1a !important;
    box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1),
                0 0 40px rgba(var(--accent-gold-rgb), 0.08);
  }
  .pricing__grid--fanned .pricing-card--featured.pricing-card--active,
  .pricing__grid--fanned .pricing-card--featured.pricing-card--active.reveal.revealed {
    transform: translateY(-16px) scale(1.05) !important;
    background: #1e1e1e !important;
    box-shadow: 0 32px 80px -10px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1),
                0 0 60px rgba(var(--accent-gold-rgb), 0.1);
  }

  /* ---- HOVER: inactive cards shrink + fade ---- */
  .pricing__grid--fanned .pricing-card.pricing-card--behind,
  .pricing__grid--fanned .pricing-card.pricing-card--behind.reveal.revealed {
    opacity: 0 !important;
    z-index: 1;
    pointer-events: none;
  }

  /* ---- REVEALED state: keep fanned positions ---- */
  .pricing__grid--fanned .pricing-card--featured.pricing-card--revealed,
  .pricing__grid--fanned .pricing-card--featured.pricing-card--revealed.revealed {
    transform: translateY(-8px);
  }

  .pricing__grid--fanned .pricing-card--side.pricing-card--revealed:first-child,
  .pricing__grid--fanned .pricing-card--side.pricing-card--revealed.revealed:first-child {
    transform: translateX(-180px) rotate(-5deg) scale(0.92);
  }

  .pricing__grid--fanned .pricing-card--side.pricing-card--revealed:last-child,
  .pricing__grid--fanned .pricing-card--side.pricing-card--revealed.revealed:last-child {
    transform: translateX(180px) rotate(5deg) scale(0.92);
  }
}

/* ================================================
   FANNED PRICING — MOBILE
   ================================================ */
@media (max-width: 768px) {
  .pricing__grid--fanned {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
  }

  .pricing__grid--fanned .pricing-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  /* $250 first on mobile */
  .pricing__grid--fanned .pricing-card--featured {
    order: -1;
  }

  /* Side cards: compact — hide features, show hint */
  .pricing__grid--fanned .pricing-card--side .pricing-card__features {
    display: none;
  }

  .pricing__grid--fanned .pricing-card--side {
    padding: 20px 24px;
    cursor: pointer;
  }

  .pricing__grid--fanned .pricing-card--side::after {
    content: 'Tap for details \2192';
    display: block;
    font-size: var(--text-sm);
    color: var(--text-dim, rgba(255,255,255,0.4));
    margin-top: 12px;
  }

  /* Tapped / expanded state on mobile */
  .pricing__grid--fanned .pricing-card--side.pricing-card--expanded {
    max-height: none;
    z-index: 20;
  }

  .pricing__grid--fanned .pricing-card--side.pricing-card--expanded .pricing-card__features {
    display: block;
  }

  .pricing__grid--fanned .pricing-card--side.pricing-card--expanded::after {
    content: 'Tap to collapse \2190';
  }
}

/* Base pricing card */
.pricing-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  max-width: 400px;
  width: 100%;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s ease,
              background 0.4s ease,
              box-shadow 0.4s ease;
  will-change: transform;
}

/* Single-card layout defaults — applied after reveal entrance */
.pricing-card.pricing-card--revealed {
  transform: none;
  opacity: 1;
}

.pricing-card--featured.pricing-card--revealed {
  transform: translateY(-4px);
}

/* Featured card — elevated by default */
.pricing-card--featured {
  z-index: 2;
  background: var(--bg-tertiary);
  border-color: rgba(255, 255, 255, 0.1);
  border-top: 2px solid var(--accent-gold);
  box-shadow:
    0 0 80px 0px rgba(244, 244, 245, 0.04),
    0 24px 60px -20px rgba(0, 0, 0, 0.4);
  overflow: visible;
}

/* Desktop hover interaction (non-fanned grids only) */
@media (hover: hover) and (min-width: 1024px) {
  .pricing__grid:not(.pricing__grid--fanned) .pricing-card--revealed:hover {
    transform: translateY(-8px);
    opacity: 1;
    filter: none;
    box-shadow:
      0 0 80px 0px rgba(244, 244, 245, 0.06),
      0 28px 64px -20px rgba(0, 0, 0, 0.4);
  }
}

.pricing-card--featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    rgba(var(--accent-gold-rgb), 0.12),
    rgba(255, 255, 255, 0.03),
    rgba(var(--accent-gold-rgb), 0.08),
    rgba(255, 255, 255, 0.03),
    rgba(var(--accent-gold-rgb), 0.12)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: pricingBorderRotate 7s linear infinite;
  pointer-events: none;
}

@keyframes pricingBorderRotate {
  to { --border-angle: 360deg; }
}

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Featured hover (non-desktop fallback — overridden by grid hover on desktop) */

.pricing-card__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 14px;
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: var(--radius-full);
  white-space: nowrap;
  animation: pricingBadgePulse 2s ease-in-out infinite;
}

@keyframes pricingBadgePulse {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 255, 255, 0.03); }
  50% { box-shadow: 0 0 24px rgba(255, 255, 255, 0.08); }
}

/* Card header */
.pricing-card__head {
  margin-bottom: 24px;
}

.pricing-card__name {
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin-bottom: 6px;
}

.pricing-card__desc {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-dim);
}

/* Price block */
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

/* When there's no recurring row (Content card), the price block itself carries the border */
.pricing-card__price--bordered {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pricing-card__amount {
  font-size: var(--text-4xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tighter);
  line-height: var(--leading-none);
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

.pricing-card__term {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-dim);
}

/* Recurring row (Website & Bundle) */
.pricing-card__recurring {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pricing-card__recurring-label {
  font-size: var(--text-sm);
  color: var(--text-dim);
}

.pricing-card__recurring-value {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-primary);
}

.pricing-card__recurring-value small {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-dim);
}

/* Feature list */
.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-card__features li {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-secondary);
  padding-left: 24px;
}

.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-size: var(--text-sm);
  color: var(--text-dim);
}

/* Brighter checkmarks for featured card */
.pricing-card__features--bright li::before {
  color: var(--text-primary);
}

/* Best-for note */
.pricing-card__best-for {
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  color: var(--text-dim);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
}

/* CTA buttons */
.pricing-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--btn-radius);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card__cta--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.pricing-card__cta--outline:hover {
  border-color: var(--border-light);
  background: var(--bg-tertiary);
}

.pricing-card__cta--primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  border: 1px solid var(--text-primary);
}

.pricing-card__cta--primary:hover {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(244, 244, 245, 0.15);
}

/* Note below cards */
.pricing__note {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-dim);
  text-align: center;
  margin-top: 32px;
}

.pricing__note a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-base);
}

.pricing__note a:hover {
  color: var(--text-primary);
}

.pricing__services-link {
  text-align: center;
  margin-top: 24px;
}

.pricing__services-link-a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.pricing__services-link-a:hover {
  color: var(--text-primary);
}

.pricing__services-link-a span {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing__services-link-a:hover span {
  transform: translateX(4px);
}

/* Pricing fanned defaults handled via .reveal system in SCROLL REVEAL section */

@media (max-width: 900px) {
  .pricing__grid:not(.pricing__grid--fanned) {
    max-width: 440px;
    margin: 0 auto;
  }

  .pricing__grid--two {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .pricing__grid:not(.pricing__grid--fanned) .pricing-card,
  .pricing__grid:not(.pricing__grid--fanned) .pricing-card.pricing-card--revealed {
    transform: none;
    opacity: 1;
    max-width: 100%;
  }

  .pricing__grid:not(.pricing__grid--fanned) .pricing-card--featured,
  .pricing__grid:not(.pricing__grid--fanned) .pricing-card--featured.pricing-card--revealed {
    transform: none;
  }
}

@media (max-width: 480px) {
  .pricing-card {
    padding: 28px 20px;
  }

  .pricing-card__cta {
    padding: 12px 24px;
  }
}

/* --- PORTFOLIO --- */
.portfolio__header {
  text-align: center;
  margin-bottom: 48px;
}

.portfolio__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: 12px;
}

.portfolio__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: var(--leading-tight);
}

/* ==================== WORK CARD (two-part: screenshot + info bar) ==================== */
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.04);
  transition: transform 400ms cubic-bezier(0.16,1,0.3,1), box-shadow 400ms ease, border-color 300ms ease;
  cursor: pointer;
}

.work-card:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.4), 0 0 60px rgba(var(--accent-gold-rgb),0.06);
  border-color: rgba(255,255,255,0.08);
}

/* Part 1 — Screenshot zone */
.work-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Subtle edge vignette — NOT a heavy bottom gradient */
.work-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

/* Part 2 — Info bar */
.work-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.work-card__bar-left {
  flex: 1;
  min-width: 0;
}

.work-card__name {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.work-card__type {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* Legacy single-line meta (homepage) */
.work-card__meta {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

/* Stacked right-side meta (portfolio page) */
.work-card__bar-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.work-card__location {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  letter-spacing: var(--tracking-wide);
}

.work-card__date {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.25);
  white-space: nowrap;
  letter-spacing: var(--tracking-wide);
}

@media (max-width: 768px) {
  .work-card {
    border-radius: var(--radius-lg);
  }
  .work-card__media {
    aspect-ratio: 16 / 10;
  }
  .work-card__bar {
    padding: 12px 16px;
  }
  .work-card__name {
    font-size: var(--text-base);
  }
}

/* --- PORTFOLIO VIEW ALL --- */
.portfolio__view-all {
  text-align: center;
  margin-top: 40px;
}

.portfolio__view-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.portfolio__view-link:hover {
  color: var(--text-primary);
}

.portfolio__buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
@media (max-width: 479px) {
  .portfolio__buttons {
    flex-direction: column;
  }
  .portfolio__buttons .btn {
    width: 100%;
    text-align: center;
  }
}

.portfolio__view-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio__view-link:hover .portfolio__view-arrow {
  transform: translateX(4px);
}

/* --- DEMO CTA SECTION --- */
.demo-cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%);
}

.demo-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

/* Copy side */
.demo-cta-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: 12px;
}

.demo-cta-headline {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: var(--leading-tight);
  margin-bottom: 16px;
}

.demo-cta-sub {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: 32px;
  max-width: 420px;
}

.demo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--btn-radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color var(--transition-base);
}
.demo-cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(244, 244, 245, 0.15);
  background: var(--accent-hover);
}
.demo-cta-btn:active {
  transform: scale(0.98);
}
.demo-cta-btn svg {
  transition: transform var(--transition-base);
}
.demo-cta-btn:hover svg {
  transform: translateX(3px);
}

/* Device side */
.demo-cta-device {
  display: flex;
  justify-content: center;
  position: relative;
}

/* MacBook mockup */
.macbook {
  position: relative;
  max-width: 480px;
  width: 100%;
  transform: perspective(1200px) rotateX(2deg) rotateY(-3deg);
  transition: transform 0.4s var(--ease);
}
.macbook:hover {
  transform: perspective(1200px) rotateX(1deg) rotateY(-1deg);
}

.macbook-screen {
  background: #1a1a1a;
  border-radius: 12px 12px 0 0;
  padding: 20px 16px 14px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
}
.macbook-screen::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #333;
  border-radius: 50%;
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
}

.macbook-viewport {
  background: #ffffff;
  border-radius: 4px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.macbook-base {
  background: linear-gradient(to bottom, #c4c4c4, #a8a8a8);
  height: 12px;
  border-radius: 0 0 6px 6px;
  position: relative;
}
.macbook-base::after {
  content: '';
  width: 80px;
  height: 4px;
  background: #909090;
  border-radius: 0 0 4px 4px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.macbook-bottom {
  background: linear-gradient(to bottom, #a8a8a8, #909090);
  height: 4px;
  border-radius: 0 0 8px 8px;
  margin: 0 20px;
}

/* Glow reflection under laptop */
.macbook-glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.15;
  pointer-events: none;
  animation: macbook-glow-cycle 35s ease-in-out infinite;
}

/* Mini website inside viewport */
.macbook-site {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, sans-serif;
  animation: theme-cycle-bg 35s ease-in-out infinite;
}

.macbook-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px;
  animation: theme-cycle-nav 35s ease-in-out infinite;
}
.macbook-nav__logo {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.9);
}
.macbook-nav__links {
  display: flex;
  gap: 6px;
}
.macbook-nav__link {
  width: 16px;
  height: 3px;
  border-radius: 1px;
  background: rgba(255,255,255,0.5);
}

.macbook-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 12px 6px;
  animation: theme-cycle-hero 35s ease-in-out infinite;
}
.macbook-hero__title {
  font-size: var(--text-xs);
  font-weight: 700;
  color: #fff;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 3px;
  line-height: var(--leading-tight);
}
.macbook-hero__sub {
  width: 50%;
  height: 3px;
  border-radius: 1px;
  background: rgba(255,255,255,0.4);
  margin-bottom: 5px;
}
.macbook-hero__btn {
  width: 36px;
  height: 8px;
  border-radius: 2px;
  animation: theme-cycle-accent 35s ease-in-out infinite;
}

.macbook-cards {
  display: flex;
  gap: 4px;
  padding: 6px 10px;
  animation: theme-cycle-cards-bg 35s ease-in-out infinite;
}
.macbook-card {
  flex: 1;
  height: 22px;
  border-radius: 3px;
  animation: theme-cycle-card 35s ease-in-out infinite;
}

.macbook-review {
  padding: 5px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  animation: theme-cycle-bg 35s ease-in-out infinite;
}
.macbook-review__stars {
  width: 32px;
  height: 4px;
  border-radius: 1px;
  animation: theme-cycle-accent 35s ease-in-out infinite;
}
.macbook-review__text {
  width: 60%;
  height: 3px;
  border-radius: 1px;
  background: rgba(0,0,0,0.15);
}
.macbook-review__author {
  width: 24px;
  height: 2px;
  border-radius: 1px;
  background: rgba(0,0,0,0.1);
}

.macbook-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 4px 10px;
  animation: theme-cycle-bg 35s ease-in-out infinite;
}
.macbook-gallery__item {
  aspect-ratio: 1;
  border-radius: 2px;
  animation: theme-cycle-gallery 35s ease-in-out infinite;
}

.macbook-footer {
  height: 10px;
  margin-top: auto;
  animation: theme-cycle-footer 35s ease-in-out infinite;
}

/* === THEME CYCLING KEYFRAMES === */
/* 10 themes, 35s total: 3.5s per theme (2.5s hold + 1s transition) */
/* Classic→Modern→Bold→Earth→Coastal→Luxe→Fresh→Slate→Warm→Midnight */

@keyframes theme-cycle-hero {
  0%, 7%     { background: linear-gradient(135deg, #1B2A4A, #3D5280); }
  10%, 17%   { background: linear-gradient(135deg, #0A0A2E, #2563EB); }
  20%, 27%   { background: linear-gradient(135deg, #0C0C0C, #F26522); }
  30%, 37%   { background: linear-gradient(135deg, #2D4A2E, #8B7355); }
  40%, 47%   { background: linear-gradient(135deg, #1A5276, #D4B896); }
  50%, 57%   { background: linear-gradient(135deg, #0A0A0A, #C9A84C); }
  60%, 67%   { background: linear-gradient(135deg, #0F1F0F, #22C55E); }
  70%, 77%   { background: linear-gradient(135deg, #1E293B, #4A6FA5); }
  80%, 87%   { background: linear-gradient(135deg, #6B1D2A, #C5A48E); }
  90%, 97%   { background: linear-gradient(135deg, #111018, #9B7FD4); }
  100%       { background: linear-gradient(135deg, #1B2A4A, #3D5280); }
}

@keyframes theme-cycle-nav {
  0%, 7%     { background: #1B2A4A; }
  10%, 17%   { background: #0A0A0A; }
  20%, 27%   { background: #0C0C0C; }
  30%, 37%   { background: #2D4A2E; }
  40%, 47%   { background: #1A5276; }
  50%, 57%   { background: #0A0A0A; }
  60%, 67%   { background: #0F1F0F; }
  70%, 77%   { background: #1E293B; }
  80%, 87%   { background: #3C2A21; }
  90%, 97%   { background: #0A0912; }
  100%       { background: #1B2A4A; }
}

@keyframes theme-cycle-accent {
  0%, 7%     { background: #1B2A4A; }
  10%, 17%   { background: #2563EB; }
  20%, 27%   { background: #F26522; }
  30%, 37%   { background: #2D4A2E; }
  40%, 47%   { background: #2E86AB; }
  50%, 57%   { background: #C9A84C; }
  60%, 67%   { background: #22C55E; }
  70%, 77%   { background: #4A6FA5; }
  80%, 87%   { background: #8B2E3B; }
  90%, 97%   { background: #9B7FD4; }
  100%       { background: #1B2A4A; }
}

@keyframes theme-cycle-bg {
  0%, 7%     { background: #FDF8F0; }
  10%, 17%   { background: #FFFFFF; }
  20%, 27%   { background: #0C0C0C; }
  30%, 37%   { background: #FAF7F2; }
  40%, 47%   { background: #FAFCFD; }
  50%, 57%   { background: #0A0A0A; }
  60%, 67%   { background: #FFFFFF; }
  70%, 77%   { background: #F4F5F7; }
  80%, 87%   { background: #FBF6F1; }
  90%, 97%   { background: #111018; }
  100%       { background: #FDF8F0; }
}

@keyframes theme-cycle-cards-bg {
  0%, 7%     { background: #F5EDE0; }
  10%, 17%   { background: #F7F7F8; }
  20%, 27%   { background: #141414; }
  30%, 37%   { background: #F0EBE1; }
  40%, 47%   { background: #EEF4F8; }
  50%, 57%   { background: #111111; }
  60%, 67%   { background: #F0FAF0; }
  70%, 77%   { background: #E8EAEF; }
  80%, 87%   { background: #F2EAE0; }
  90%, 97%   { background: #181722; }
  100%       { background: #F5EDE0; }
}

@keyframes theme-cycle-card {
  0%, 7%     { background: #FFFFFF; border: 1px solid #E8DFD1; }
  10%, 17%   { background: #FFFFFF; border: 1px solid #E5E5E5; }
  20%, 27%   { background: #1A1A1A; border: 1px solid #2A2A2A; }
  30%, 37%   { background: #FFFFFF; border: 1px solid #DDD5C5; }
  40%, 47%   { background: #FFFFFF; border: 1px solid #D4E2ED; }
  50%, 57%   { background: #151515; border: 1px solid #2A2720; }
  60%, 67%   { background: #FFFFFF; border: 1px solid #D4EDD4; }
  70%, 77%   { background: #FFFFFF; border: 1px solid #D1D5DB; }
  80%, 87%   { background: #FFFAF5; border: 1px solid #E2D5C8; }
  90%, 97%   { background: #1E1D2A; border: 1px solid #2D2B3D; }
  100%       { background: #FFFFFF; border: 1px solid #E8DFD1; }
}

@keyframes theme-cycle-gallery {
  0%, 7%     { background: linear-gradient(135deg, #1B2A4A, #3D5280); }
  10%, 17%   { background: linear-gradient(135deg, #2563EB, #1D4FD7); }
  20%, 27%   { background: linear-gradient(135deg, #F26522, #D44F12); }
  30%, 37%   { background: linear-gradient(135deg, #2D4A2E, #4A6B3D); }
  40%, 47%   { background: linear-gradient(135deg, #2E86AB, #1A5276); }
  50%, 57%   { background: linear-gradient(135deg, #C9A84C, #A68A3C); }
  60%, 67%   { background: linear-gradient(135deg, #22C55E, #16A34A); }
  70%, 77%   { background: linear-gradient(135deg, #4A6FA5, #3D5F8F); }
  80%, 87%   { background: linear-gradient(135deg, #8B2E3B, #6B1D2A); }
  90%, 97%   { background: linear-gradient(135deg, #9B7FD4, #7A5FBF); }
  100%       { background: linear-gradient(135deg, #1B2A4A, #3D5280); }
}

@keyframes theme-cycle-footer {
  0%, 7%     { background: #1B2A4A; }
  10%, 17%   { background: #0A0A0A; }
  20%, 27%   { background: #050505; }
  30%, 37%   { background: #2D4A2E; }
  40%, 47%   { background: #1A5276; }
  50%, 57%   { background: #050505; }
  60%, 67%   { background: #0F1F0F; }
  70%, 77%   { background: #1E293B; }
  80%, 87%   { background: #3C2A21; }
  90%, 97%   { background: #0A0912; }
  100%       { background: #1B2A4A; }
}

@keyframes macbook-glow-cycle {
  0%, 7%     { background: #1B2A4A; }
  10%, 17%   { background: #2563EB; }
  20%, 27%   { background: #F26522; }
  30%, 37%   { background: #2D4A2E; }
  40%, 47%   { background: #2E86AB; }
  50%, 57%   { background: #C9A84C; }
  60%, 67%   { background: #22C55E; }
  70%, 77%   { background: #4A6FA5; }
  80%, 87%   { background: #8B2E3B; }
  90%, 97%   { background: #9B7FD4; }
  100%       { background: #1B2A4A; }
}

/* Reduced motion: pause all cycling */
@media (prefers-reduced-motion: reduce) {
  .macbook-site, .macbook-site *,
  .macbook-nav, .macbook-hero,
  .macbook-hero__btn, .macbook-cards,
  .macbook-card, .macbook-review,
  .macbook-review__stars,
  .macbook-gallery__item, .macbook-footer,
  .macbook-glow {
    animation: none !important;
  }
  /* Show Classic theme statically */
  .macbook-hero { background: linear-gradient(135deg, #1B2A4A, #3D5280); }
  .macbook-nav { background: #1B2A4A; }
  .macbook-hero__btn { background: #1B2A4A; }
  .macbook-site { background: #FDF8F0; }
  .macbook-cards { background: #F5EDE0; }
  .macbook-card { background: #FFFFFF; border: 1px solid #E8DFD1; }
  .macbook-review { background: #FDF8F0; }
  .macbook-review__stars { background: #1B2A4A; }
  .macbook-gallery__item { background: linear-gradient(135deg, #1B2A4A, #3D5280); }
  .macbook-footer { background: #1B2A4A; }
  .macbook-glow { background: #1B2A4A; }
}

/* Responsive */
@media (max-width: 1024px) {
  .demo-cta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .macbook { max-width: 380px; }
}

@media (max-width: 768px) {
  .demo-cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .demo-cta-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .demo-cta-btn {
    justify-content: center;
  }
  .macbook {
    max-width: 340px;
    transform: perspective(1200px) rotateX(2deg) rotateY(0deg);
  }
  .macbook:hover {
    transform: perspective(1200px) rotateX(1deg) rotateY(0deg);
  }
}


/* --- HOW IT WORKS --- */
.steps__header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.steps__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: 16px;
}

.steps__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.steps__flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.steps__top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.step {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  z-index: 1;
  background: transparent;
  transition: border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.steps__top-row .step {
  flex: 1;
  max-width: 300px;
}

.step:hover {
  border-color: var(--border-light);
  background: var(--bg-secondary);
}

/* Arrows */
.steps__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps__arrow svg {
  display: block;
}

.steps__arrow--right {
  color: rgba(255,255,255,0.3);
}

.steps__arrow--down {
  color: rgba(255,255,255,0.3);
  justify-content: flex-end;
  width: 100%;
  max-width: 960px;
  padding-right: 80px;
}

/* Payoff card */
.step--payoff {
  width: 100%;
  max-width: 960px;
  padding: 40px 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
}

.step--payoff .step__number {
  font-size: var(--text-4xl);
}

.step--payoff .step__title {
  font-size: var(--text-lg);
}

.step--payoff .step__desc {
  font-size: var(--text-base);
  max-width: 600px;
}

.step--payoff:hover {
  background: rgba(255, 255, 255, 0.06);
}

.step__number {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tighter);
  line-height: var(--leading-none);
  margin-bottom: 20px;
  background: linear-gradient(180deg, var(--border-light) 0%, var(--border) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step__title {
  font-size: var(--text-md);
  font-weight: 600;
  margin-bottom: 10px;
}

.step__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

@media (max-width: 768px) {
  .steps__top-row {
    flex-direction: column;
    gap: 12px;
  }

  .steps__top-row .step {
    max-width: none;
    width: 100%;
  }

  .steps__arrow--right {
    transform: rotate(90deg);
  }

  .steps__arrow--down {
    justify-content: center;
    padding-right: 0;
  }

  .step--payoff {
    padding: 32px 24px;
  }

  .step--payoff .step__number {
    font-size: var(--text-3xl);
  }

  .step--payoff .step__title {
    font-size: var(--text-md);
  }
}

@media (max-width: 500px) {
  .step {
    padding: 24px 20px;
  }

  .step__number {
    font-size: var(--text-3xl);
  }
}

/* --- ABOUT --- */
.about__grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

/* ========== PROFILE CARD (replaced linkedin-card) ========== */

.about__location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.about__location svg {
  flex-shrink: 0;
  color: var(--text-dim);
}

.about__location span {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: var(--tracking-wide);
}

/* Right column */
.about__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: 16px;
}

.about__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: 24px;
}

.about__bio {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: 16px;
}

.about__bio:last-of-type {
  margin-bottom: 32px;
}

.about__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.about__contact-item svg {
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.about__contact-item:hover svg {
  transform: translateY(-1px);
}

.about__contact-item a {
  transition: color var(--transition-base);
}

.about__contact-item a:hover {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .profile-card {
    max-width: 300px;
    margin: 0 auto;
  }

  .about__location {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .about__contact {
    gap: 12px;
  }
}

/* --- FAQ --- */
.faq__header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.faq__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: 16px;
}

.faq__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.faq__list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-item {
  position: relative;
  border-bottom: 1px solid var(--border);
  padding-left: 0;
  transition: padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active {
  padding-left: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  margin: 0 -12px;
  padding-right: 12px;
  padding-left: 28px;
}

.faq-item.active::before {
  opacity: 1;
  transform: scaleY(1);
  left: 12px;
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition-base);
}

.faq-item__q:hover {
  color: #ffffff;
}

.faq-item__q-text {
  flex: 1;
}

.faq-item__icon {
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
  color: var(--accent-gold);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              padding-bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding-bottom: 0;
}

.faq-item.active .faq-item__a {
  padding-bottom: 24px;
}

.faq-item__a p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

@media (max-width: 480px) {
  .faq-item__q {
    gap: 16px;
  }
}

/* --- FINAL CTA --- */
/* --- SHARED CTA CARD --- */
.site-cta {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px;
}

.site-cta__card {
  position: relative;
  max-width: 740px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  text-align: center;
  overflow: hidden;
  transform: perspective(800px) rotateX(2deg) rotateY(0deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.3),
    0 20px 60px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.site-cta__card:hover {
  transform: perspective(800px) rotateX(0deg) rotateY(0deg) translateY(-4px);
  box-shadow:
    0 8px 30px rgba(0,0,0,0.4),
    0 30px 80px rgba(0,0,0,0.25);
}

.site-cta__card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: var(--radius-xl);
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(255,255,255,0.08) 50%,
    transparent 60%
  );
  background-size: 300% 300%;
  animation: cta-shine 8s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes cta-shine {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}

.site-cta__headline {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin-bottom: 12px;
}

.site-cta__subline {
  position: relative;
  z-index: 1;
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--text-secondary);
  opacity: 0.6;
  line-height: var(--leading-snug);
  margin-bottom: 32px;
}

.site-cta__buttons {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .site-cta {
    padding: 60px 0 80px;
  }

  .site-cta__card {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .site-cta__card {
    padding: 36px 20px;
  }

  .site-cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .site-cta__buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* --- FOOTER --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
  background: var(--bg-secondary);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
}

.footer__logo-img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-dim);
  max-width: 260px;
}

.footer__columns {
  display: flex;
  gap: 60px;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__column-title {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-dim);
  transition: color var(--transition-base);
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__bottom {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-dim);
}

@media (max-width: 600px) {
  .footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .footer__columns {
    gap: 40px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .footer__columns {
    gap: 32px;
  }
}

/* --- NAV ACTIVE LINK --- */
.nav__link--active {
  color: var(--text-primary);
}

.nav__links .nav__link--active::after {
  width: 100%;
}

.nav__mobile .nav__link--active {
  font-weight: 600;
}




/* ===================================================
   PORTFOLIO — Creator Profile Header
   =================================================== */

.pf-profile {
  padding: clamp(120px, 14vw, 180px) 0 clamp(40px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}

.pf-profile__inner {
  display: flex;
  align-items: flex-start;
  gap: clamp(32px, 4vw, 56px);
  max-width: 900px;
  margin: 0 auto;
}

.pf-profile__photo {
  flex-shrink: 0;
}

.pf-profile__avatar-ring {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, rgba(var(--accent-gold-rgb), 0.6), rgba(var(--accent-gold-rgb), 0.1), rgba(var(--accent-gold-rgb), 0.4));
  box-shadow:
    0 0 40px rgba(var(--accent-gold-rgb), 0.15),
    0 0 80px rgba(var(--accent-gold-rgb), 0.05);
}

.pf-profile__avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.pf-profile__info {
  flex: 1;
  min-width: 0;
}

.pf-profile__name {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
  line-height: var(--leading-tight);
}

.pf-profile__role {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(var(--accent-gold-rgb), 0.85);
  margin: 0 0 16px;
}

.pf-profile__bio {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.pf-profile__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.pf-profile__contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-dim);
}

.pf-profile__contact-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.pf-profile__contact-item a:hover {
  color: var(--text-primary);
}

.pf-profile__contact-item svg {
  flex-shrink: 0;
  opacity: 0.5;
}

.pf-profile__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

/* Work Section Header */
.pf-work-header {
  text-align: center;
  padding: clamp(48px, 6vw, 80px) 0 clamp(32px, 4vw, 48px);
}

.pf-work-header__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(var(--accent-gold-rgb), 0.7);
  margin: 0 0 12px;
}

.pf-work-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  margin: 0;
  line-height: var(--leading-tight);
}

@media (max-width: 640px) {
  .pf-profile__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .pf-profile__contact {
    justify-content: center;
  }
  .pf-profile__socials {
    justify-content: center;
  }
}

/* Insights gateway page */
.ins-gateway {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(140px, 18vw, 220px) 0 80px;
  text-align: center;
}

.ins-gateway__inner {
  max-width: 560px;
}

.ins-gateway__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  border-radius: var(--radius-lg);
  background: rgba(var(--accent-gold-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(var(--accent-gold-rgb), 0.8);
}

.ins-gateway__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  margin: 0 0 16px;
  line-height: var(--leading-tight);
}

.ins-gateway__sub {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin: 0 0 32px;
}

/* Community post type tags */
.community__post-type {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
}

.community__post-type--insight {
  background: rgba(var(--accent-gold-rgb), 0.15);
  color: rgba(var(--accent-gold-rgb), 0.9);
}

.community__post-type--update {
  background: rgba(59, 130, 246, 0.12);
  color: rgba(96, 165, 250, 0.9);
}

/* Community post title for insights */
.community__post-title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px;
}

/* Carter elevated post styling */
.community__post--elevated {
  border-color: rgba(var(--accent-gold-rgb), 0.2);
  background: linear-gradient(135deg, rgba(var(--accent-gold-rgb), 0.04) 0%, transparent 60%);
}

/* Admin post type selector */
.community__compose-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.community__compose-type {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
}

/* Admin activity feed */
.admin__activity {
  margin-bottom: 32px;
}

.admin__activity-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.admin__activity-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin__activity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.admin__activity-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.admin__activity-dot--green { background: #22c55e; }
.admin__activity-dot--blue { background: #3b82f6; }
.admin__activity-dot--yellow { background: #eab308; }

.admin__activity-time {
  margin-left: auto;
  color: var(--text-dim);
  font-size: var(--text-xs);
  white-space: nowrap;
}

/* ===================================================
   PORTFOLIO — Premium Dark Portfolio
   =================================================== */

/* --- HERO --- */
.pf-hero {
  padding: clamp(140px, 18vw, 220px) 0 clamp(48px, 6vw, 80px);
  text-align: center;
  background: var(--bg-primary);
  position: relative;
}

.pf-hero .container {
  position: relative;
  z-index: 1;
}

.pf-hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--accent-gold-rgb), 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* --- HERO LABEL --- */
.pf-hero__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
  opacity: 0;
}

/* .pf-hero__title and .pf-hero__sub defined in Portfolio Rebuilt Layout section below */

.pf-hero__title-em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--text-dim);
  display: block;
  margin-top: 4px;
}

/* --- CLIENT GRID --- */
.pf-grid-section {
  padding: clamp(32px, 5vw, 60px) 0 var(--section-padding);
  background: var(--bg-primary);
}

.pf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
}

@media (min-width: 640px) {
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .pf-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

/* --- CARD --- */
.pf-card {
  display: flex;
  flex-direction: column;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
}

.pf-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.55),
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.pf-card:active {
  transform: translateY(-1px) scale(0.995);
  transition-duration: 0.1s;
}

/* Card image */
.pf-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.pf-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-card:hover .pf-card__img {
  transform: scale(1.04);
}

/* Dark gradient overlay at bottom of image */
.pf-card__img-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(to top, #141416 0%, transparent 100%);
  pointer-events: none;
}

/* Card body */
.pf-card__body {
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.pf-card__name {
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 650;
  letter-spacing: var(--tracking-tight);
  color: #fff;
  margin: 0;
  line-height: var(--leading-tight);
}

.pf-card__meta {
  font-size: var(--text-sm);
  color: var(--text-dim);
  margin: 0;
}

.pf-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin: 4px 0 0;
}

/* Feature tags — warm gold */
.pf-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.pf-tag {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  color: rgba(var(--accent-gold-rgb), 0.85);
  background: rgba(var(--accent-gold-rgb), 0.06);
  border: 1px solid rgba(var(--accent-gold-rgb), 0.12);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  transition: border-color var(--transition-base), background var(--transition-base);
}

.pf-card:hover .pf-tag {
  border-color: rgba(var(--accent-gold-rgb), 0.2);
  background: rgba(var(--accent-gold-rgb), 0.1);
}

/* View Details link */
.pf-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  margin-top: auto;
  padding-top: 12px;
  transition: color var(--transition-base);
}

.pf-card:hover .pf-card__link {
  color: var(--text-primary);
}

.pf-card__link svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-card:hover .pf-card__link svg {
  transform: translateX(5px);
}

/* --- OVERLAY --- */
.pf-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: var(--z-overlay);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.pf-overlay--active {
  opacity: 1;
  pointer-events: all;
}

/* --- SIDE PANEL --- */
.pf-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 460px;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
}

.pf-panel--open {
  transform: translateX(0);
}

.pf-panel__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background var(--transition-base), border-color var(--transition-base);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.pf-panel__close:hover {
  background: rgba(0, 0, 0, 0.75);
  border-color: rgba(255, 255, 255, 0.2);
}

.pf-panel__scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Panel hero image */
.pf-panel__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.pf-panel__img-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(to top, var(--bg-secondary) 0%, transparent 100%);
  pointer-events: none;
}

.pf-panel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Panel content */
.pf-panel__content {
  padding: 28px 28px 44px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pf-panel__name {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin: 0;
  line-height: var(--leading-tight);
}

.pf-panel__meta {
  font-size: var(--text-sm);
  color: var(--text-dim);
  margin: -12px 0 0;
}

.pf-panel__divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* Narrative blocks */
.pf-panel__narrative {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pf-panel__block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pf-panel__block-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--text-dim);
}

.pf-panel__block-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* Panel feature tags */
.pf-panel__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pf-panel__tag {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Panel review — card style */
.pf-panel__review {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
}

.pf-panel__review-stars {
  display: flex;
  gap: 2px;
}

.pf-panel__review-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-style: italic;
  margin: 0;
}

.pf-panel__review-author {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  margin: 0;
}

.pf-panel__review-source {
  font-size: var(--text-xs);
  color: var(--text-dim);
  opacity: 0.7;
  margin: 0;
}

/* Panel action buttons */
.pf-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pf-panel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  transition: background var(--transition-base), transform var(--transition-fast), border-color var(--transition-base);
}

.pf-panel__btn--primary {
  background: var(--accent);
  color: var(--bg-primary);
}

.pf-panel__btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.pf-panel__btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.pf-panel__btn--ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.03);
}

/* Panel mobile */
@media (max-width: 768px) {
  .pf-panel {
    width: 100%;
    top: auto;
    bottom: 0;
    height: 92vh;
    border-radius: 16px 16px 0 0;
    border-left: none;
    border-top: 1px solid var(--border);
    transform: translateY(100%);
  }
  .pf-panel--open {
    transform: translateY(0);
  }
  .pf-panel__content {
    padding: 24px 20px 40px;
  }
}

/* --- CTA --- */
.pf-cta {
  padding: clamp(80px, 10vw, 140px) 0 clamp(100px, 12vw, 160px);
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(20, 20, 22, 1) 100%);
  text-align: center;
  border-top: 1px solid var(--border);
}

.pf-cta__inner {
  max-width: 520px;
  margin: 0 auto;
}

.pf-cta__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: var(--tracking-tighter);
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: var(--leading-tight);
}

.pf-cta__sub {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: 36px;
}

.pf-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.pf-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-base);
}

.pf-cta__phone:hover {
  color: var(--text-primary);
}

.pf-cta__review-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition-base);
}

.pf-cta__review-link:hover {
  color: var(--text-primary);
}

/* Portfolio mobile */
@media (max-width: 768px) {
  .pf-hero {
    padding: clamp(120px, 16vw, 160px) 0 clamp(30px, 5vw, 50px);
  }
  .pf-grid-section {
    padding: 10px 0 clamp(50px, 8vw, 80px);
  }
  .pf-card__body {
    padding: 20px 20px 24px;
  }
}

@media (max-width: 480px) {
  .pf-card__name {
    font-size: var(--text-base);
  }
  .pf-card__tags {
    gap: 4px;
  }
  .pf-tag {
    font-size: 10px;
    padding: 3px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pf-hero__label,
  .pf-hero__title,
  .pf-hero__sub {
    opacity: 1 !important;
  }
}

/* ===================================================
   PORTFOLIO — Premium Upgrades
   =================================================== */

/* Profile glow background */
.pf-profile__glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(var(--accent-gold-rgb), 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.pf-profile .container {
  position: relative;
  z-index: 1;
}

/* Pullquote */
.pf-profile__pullquote {
  margin: 16px 0 20px;
  padding: 0 0 0 16px;
  border-left: 2px solid rgba(var(--accent-gold-rgb), 0.35);
}

.pf-profile__pullquote em {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: rgba(var(--accent-gold-rgb), 0.9);
  line-height: var(--leading-snug);
}

/* Contact pills */
.pf-profile__contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

.pf-profile__contact-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
}

.pf-profile__contact-pill--muted {
  color: var(--text-dim);
  cursor: default;
}

.pf-profile__contact-pill svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.pf-profile__contact-pill:hover svg {
  opacity: 0.9;
}

/* Social icon buttons */
.pf-profile__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  text-decoration: none;
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base), transform var(--transition-base);
}

.pf-profile__social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.pf-profile__social-btn svg {
  flex-shrink: 0;
}

/* Profile — Latest Updates subsection */
.pf-profile__updates {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pf-profile__updates-heading {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-dim, rgba(255, 255, 255, 0.4));
  margin-bottom: 16px;
}

.pf-profile__updates-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pf-update-item {
  display: block;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.pf-update-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.pf-update-item__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}

.pf-update-item__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.pf-update-item__date {
  font-size: var(--text-xs);
  color: var(--text-dim, rgba(255, 255, 255, 0.35));
  flex-shrink: 0;
}

.pf-update-item__preview {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-snug);
  margin-bottom: 6px;
}

.pf-update-item__meta {
  font-size: var(--text-xs);
  color: var(--text-dim, rgba(255, 255, 255, 0.35));
}

.pf-profile__updates-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(var(--accent-gold-rgb), 0.8);
  text-decoration: none;
  transition: color var(--transition-base);
}

.pf-profile__updates-link:hover {
  color: rgba(var(--accent-gold-rgb), 1);
}

/* Panel — Public Comments */
.pf-panel__comments {
  margin-top: 8px;
}

.pf-panel__comment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  max-height: 300px;
  overflow-y: auto;
}

.pf-panel__comment-empty {
  font-size: var(--text-sm);
  color: var(--text-dim, rgba(255, 255, 255, 0.35));
  padding: 8px 0;
}

.pf-panel__comment-row {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
}

.pf-panel__comment-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.pf-panel__comment-author {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.pf-panel__comment-date {
  font-size: var(--text-xs);
  color: var(--text-dim, rgba(255, 255, 255, 0.3));
}

.pf-panel__comment-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-snug);
}

.pf-panel__comment-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pf-panel__comment-name,
.pf-panel__comment-input {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  transition: border-color var(--transition-base);
  resize: none;
}

.pf-panel__comment-name:focus,
.pf-panel__comment-input:focus {
  outline: none;
  border-color: rgba(var(--accent-gold-rgb), 0.4);
}

.pf-panel__comment-btn {
  align-self: flex-end;
  padding: 8px 18px;
  background: rgba(var(--accent-gold-rgb), 0.12);
  border: 1px solid rgba(var(--accent-gold-rgb), 0.25);
  border-radius: var(--radius-md);
  color: rgba(var(--accent-gold-rgb), 0.9);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.pf-panel__comment-btn:hover {
  background: rgba(var(--accent-gold-rgb), 0.2);
  border-color: rgba(var(--accent-gold-rgb), 0.4);
}

.pf-panel__comment-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* Card action links (View Website / View Case Study) */
.pf-card__actions {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}

.pf-card__action-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition-base);
}

.pf-card__action-link:hover {
  color: rgba(var(--accent-gold-rgb), 0.9);
}

.pf-card__action-link svg {
  transition: transform var(--transition-base);
}

.pf-card__action-link:hover svg {
  transform: translateX(2px);
}

/* Card image overlay */
.pf-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--accent-gold-rgb), 0.04) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.pf-card:hover .pf-card__img-overlay {
  opacity: 1;
}

/* Enhanced card shadows & depth */
.pf-card {
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.3),
    0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Grid section glow */
.pf-grid-section__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(100, 140, 200, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* Side panel specs row */
.pf-panel__specs {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.pf-panel__spec {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 12px;
}

.pf-panel__spec + .pf-panel__spec {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.pf-panel__spec-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--text-dim);
}

.pf-panel__spec-value {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

/* Side panel secondary button (upgraded from ghost) */
.pf-panel__btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pf-panel__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Community posts section */
.pf-community {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.pf-community__header {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.pf-community__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(var(--accent-gold-rgb), 0.7);
  margin: 0 0 12px;
}

.pf-community__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  margin: 0 0 10px;
  line-height: var(--leading-tight);
}

.pf-community__sub {
  font-size: var(--text-sm);
  color: var(--text-dim);
  margin: 0;
}

.pf-community__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.pf-community__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.pf-community__card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.pf-community__card-type {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(var(--accent-gold-rgb), 0.75);
}

.pf-community__card-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: var(--leading-snug);
}

.pf-community__card-preview {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin: 0;
}

.pf-community__card-date {
  font-size: var(--text-xs);
  color: var(--text-dim);
  margin-top: auto;
}

.pf-community__cta {
  text-align: center;
  margin-top: clamp(28px, 4vw, 44px);
}

.pf-community__portal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  transition: color var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.pf-community__portal-link:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.03);
}

.pf-community__portal-link svg {
  transition: transform var(--transition-base);
}

.pf-community__portal-link:hover svg {
  transform: translateX(4px);
}

/* Work header title — larger and more impactful */
.pf-work-header__title {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: var(--leading-tight);
}

.pf-work-header {
  padding: clamp(64px, 8vw, 100px) 0 clamp(40px, 5vw, 56px);
}

/* Refined tags */
.pf-tag {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  padding: 4px 11px;
}

/* Better grid section spacing */
.pf-grid-section {
  padding: clamp(40px, 6vw, 72px) 0 var(--section-padding);
}

@media (max-width: 640px) {
  .pf-profile__pullquote {
    text-align: left;
  }
  .pf-profile__contact {
    justify-content: center;
  }
  .pf-profile__socials {
    justify-content: center;
  }
  .pf-card__actions {
    gap: 12px;
  }
  .pf-community__grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================
   GRADIENT GLOWS — Atmospheric background accents
   Applied per-page via .glow elements
   ============================================ */
/* Apple-style: massive, barely perceptible, organic shapes.
   Not centered spotlights — natural light sources. */
.glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
}

.glow--warm-1 {
  background: radial-gradient(ellipse 70% 55%, rgba(var(--accent-gold-rgb), 0.03) 0%, rgba(var(--accent-gold-rgb), 0.008) 50%, transparent 80%);
  width: 1400px;
  height: 1100px;
  border-radius: 50% 40% 60% 45% / 45% 55% 40% 50%;
}

.glow--warm-2 {
  background: radial-gradient(ellipse 65% 50%, rgba(var(--accent-gold-rgb), 0.025) 0%, rgba(180, 140, 80, 0.006) 50%, transparent 80%);
  width: 1300px;
  height: 1000px;
  border-radius: 45% 55% 40% 60% / 50% 42% 58% 48%;
}

.glow--cool-1 {
  background: radial-gradient(ellipse 60% 55%, rgba(100, 140, 200, 0.02) 0%, rgba(80, 120, 180, 0.005) 50%, transparent 80%);
  width: 1500px;
  height: 1100px;
  border-radius: 55% 45% 50% 40% / 40% 50% 45% 55%;
}

.glow--cool-2 {
  background: radial-gradient(ellipse 55% 60%, rgba(80, 160, 180, 0.02) 0%, rgba(60, 140, 160, 0.005) 50%, transparent 80%);
  width: 1200px;
  height: 1000px;
  border-radius: 40% 60% 55% 45% / 50% 40% 55% 45%;
}

.glow--amber {
  background: radial-gradient(ellipse 70% 50%, rgba(220, 180, 100, 0.03) 0%, rgba(200, 160, 80, 0.008) 50%, transparent 80%);
  width: 1500px;
  height: 1200px;
  border-radius: 48% 52% 42% 58% / 55% 40% 60% 45%;
}

.glow--teal {
  background: radial-gradient(ellipse 55% 60%, rgba(60, 180, 170, 0.018) 0%, rgba(40, 160, 150, 0.005) 50%, transparent 80%);
  width: 1300px;
  height: 1000px;
  border-radius: 52% 48% 56% 44% / 42% 58% 40% 55%;
}

/* ===================================================
   INSIGHTS — Listing Page + Article Pages
   =================================================== */

/* --- Insights Hero --- */
.ins-hero {
  padding: 160px 0 60px;
  text-align: center;
  background: var(--bg-primary);
}

.ins-hero__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.ins-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: var(--tracking-tighter);
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin-bottom: 14px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ins-hero__sub {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

/* --- Article Grid --- */
.ins-grid-section {
  padding: 20px 0 80px;
  background: var(--bg-primary);
}

.ins-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .ins-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
  }
}

/* Article card */
.ins-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

.ins-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--border-light);
}

.ins-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ins-card__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--text-dim);
  background: var(--bg-tertiary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.ins-card__date {
  font-size: var(--text-xs);
  color: var(--text-dim);
}

.ins-card__title {
  font-size: var(--text-md);
  font-weight: 650;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  color: var(--text-primary);
  margin: 0;
}

.ins-card__excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin: 0;
}

.ins-card__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  margin-top: auto;
  transition: color var(--transition-base);
}

.ins-card:hover .ins-card__read {
  color: var(--text-primary);
}

.ins-card__read svg {
  transition: transform var(--transition-base);
}

.ins-card:hover .ins-card__read svg {
  transform: translateX(3px);
}

/* --- Insights CTA --- */
.ins-cta {
  padding: 60px 0 100px;
  background: var(--bg-primary);
  text-align: center;
}

.ins-cta__inner {
  max-width: 480px;
  margin: 0 auto;
}

.ins-cta__title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: var(--leading-tight);
}

.ins-cta__sub {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: 28px;
}

/* --- Article Page --- */
.ins-article__header {
  padding: 140px 0 48px;
  background: var(--bg-primary);
  text-align: center;
}

.ins-article__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition-base);
  margin-bottom: 32px;
}

.ins-article__back:hover {
  color: var(--text-primary);
}

.ins-article__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.ins-article__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--text-dim);
  background: var(--bg-card);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.ins-article__date {
  font-size: var(--text-sm);
  color: var(--text-dim);
}

.ins-article__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  color: var(--text-primary);
  max-width: 700px;
  margin: 0 auto 16px;
}

.ins-article__author {
  font-size: var(--text-sm);
  color: var(--text-dim);
}

/* Article body */
.ins-article__body {
  padding: 48px 0 64px;
  background: var(--bg-primary);
}

.ins-article__content {
  max-width: 680px;
  margin: 0 auto;
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

.ins-article__content p {
  margin-bottom: 24px;
}

.ins-article__content h2 {
  font-size: var(--text-lg);
  font-weight: 650;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin: 48px 0 16px;
  line-height: var(--leading-snug);
}

.ins-article__content h2:first-of-type {
  margin-top: 32px;
}

.ins-article__content ul {
  margin-bottom: 24px;
  padding-left: 0;
}

.ins-article__content li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: var(--leading-relaxed);
}

.ins-article__content li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-light);
}

.ins-article__content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.ins-article__content a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border-light);
  transition: text-decoration-color var(--transition-base);
}

.ins-article__content a:hover {
  text-decoration-color: var(--text-primary);
}

/* Article CTA */
.ins-article__cta {
  padding: 48px 0 80px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.ins-article__cta-inner {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.ins-article__cta-inner p {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.ins-article__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-base);
}

.ins-article__cta-link:hover {
  color: var(--text-primary);
}

.ins-article__cta-link svg {
  transition: transform var(--transition-base);
}

.ins-article__cta-link:hover svg {
  transform: translateX(3px);
}

/* Insights mobile */
@media (max-width: 768px) {
  .ins-hero {
    padding: 130px 0 40px;
  }
  .ins-grid-section {
    padding: 10px 0 60px;
  }
  .ins-card {
    padding: 22px 22px 20px;
  }
  .ins-article__header {
    padding: 120px 0 36px;
  }
  .ins-article__content {
    font-size: var(--text-sm);
  }
}

/* --- SERVICES PAGE --- */

/* Services hero */
.sv-hero {
  padding-top: 140px;
  padding-bottom: clamp(40px, 6vw, 60px);
  background: var(--bg-primary);
  position: relative;
  overflow: visible;
  text-align: center;
}

.sv-hero__glow {
  position: absolute;
  width: 800px;
  height: 800px;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,255,255,0.015) 0%, transparent 70%);
  pointer-events: none;
}

.sv-hero__breadcrumb {
  font-size: var(--text-xs);
  font-weight: 400;
  margin-bottom: 20px;
}

.sv-hero__breadcrumb a {
  color: rgba(255,255,255,0.3);
  transition: color var(--transition-base);
  text-decoration: none;
}

.sv-hero__breadcrumb a:hover {
  color: rgba(255,255,255,0.5);
}

.sv-hero__breadcrumb-sep {
  color: rgba(255,255,255,0.2);
  margin: 0 6px;
}

.sv-hero__breadcrumb span:last-child {
  color: rgba(255,255,255,0.3);
}

.sv-hero__title {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: var(--leading-tight);
  margin: 0;
  position: relative;
  z-index: 2;
}

.sv-hero__subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.sv-hero__subtitle em {
  font-family: var(--font-display);
  color: rgba(255,255,255,0.6);
}

/* Service detail sections */
.sv-section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.sv-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.sv-section__left {
  position: relative;
  z-index: 1;
}

.sv-section__number {
  display: none;
}

.sv-section__badge {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-light);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.sv-section__title {
  position: relative;
  z-index: 1;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
  margin-bottom: 8px;
}

.sv-section__price {
  position: relative;
  z-index: 1;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.sv-section__desc {
  position: relative;
  z-index: 1;
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: 28px;
}

.sv-section__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
}

/* Feature list */
.sv-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sv-features li {
  position: relative;
  padding-left: 28px;
}

.sv-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 2px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
}

.sv-features__name {
  display: block;
  font-size: var(--text-base);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}

.sv-features__detail {
  display: block;
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  line-height: var(--leading-normal);
}

/* Services how it works */
.sv-steps {
  padding: var(--section-padding) 0;
}

/* Services FAQ */
.sv-faq {
  padding: var(--section-padding) 0;
}

/* Services CTA */

@media (max-width: 768px) {
  .sv-hero {
    padding-top: 120px;
  }

  .sv-section__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
  }
  .sv-section__left,
  .sv-section__right {
    width: 100%;
    max-width: 100%;
  }
  .sv-section__left {
    text-align: center;
    margin-bottom: 32px;
  }
  .sv-section__title {
    text-align: center;
  }
  .sv-section__price {
    text-align: center;
  }
  .sv-section__desc {
    text-align: center;
  }
  .sv-features {
    padding-left: 0;
    padding-right: 8px;
  }
  .sv-features li {
    padding-right: 8px;
  }
}

/* --- SCROLL REVEAL SYSTEM --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* Stagger delays for grouped reveals */
.reveal-stagger-1 { transition-delay: 0s; }
.reveal-stagger-2 { transition-delay: 0.1s; }
.reveal-stagger-3 { transition-delay: 0.2s; }
.reveal-stagger-4 { transition-delay: 0.3s; }

/* Pricing cards: .revealed brings them visible (non-fanned grids) */
.pricing__grid:not(.pricing__grid--fanned) .pricing-card.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.pricing__grid:not(.pricing__grid--fanned) .pricing-card.pricing-card--revealed.revealed {
  transform: none;
  opacity: 1;
}

.pricing__grid:not(.pricing__grid--fanned) .pricing-card--featured.pricing-card--revealed.revealed {
  transform: translateY(-4px);
  opacity: 1;
}

/* Fanned pricing cards: reveal to fanned positions */
@media (min-width: 769px) {
  .pricing__grid--fanned .pricing-card.reveal.revealed {
    opacity: 1;
  }
  .pricing__grid--fanned .pricing-card--featured.reveal.revealed {
    transform: translateY(-8px);
  }
  .pricing__grid--fanned .pricing-card--side.reveal.revealed:first-child {
    transform: translateX(-180px) rotate(-5deg) scale(0.92);
  }
  .pricing__grid--fanned .pricing-card--side.reveal.revealed:last-child {
    transform: translateX(180px) rotate(5deg) scale(0.92);
  }
}

/* --- LINK HOVER UNDERLINES (about + footer) --- */
.about__contact-item a:hover,
.footer__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* =============================================
   ANIMATION SYSTEM — GSAP Foundation CSS
   ============================================= */

/* --- DATA-REVEAL initial states (GSAP sets via autoAlpha) --- */
[data-reveal] {
  visibility: hidden;
  will-change: transform, opacity;
}

/* --- Word split animation wrappers --- */
.word-wrap {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
}
.word-wrap .word {
  display: inline-block;
  will-change: transform;
}

/* --- Image reveal wipe --- */
.img-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.img-reveal.is-visible {
  clip-path: inset(0 0% 0 0);
}

/* --- Animated link underlines --- */
.animated-link {
  position: relative;
  text-decoration: none;
}
.animated-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}
.animated-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --- Magnetic button reset --- */
.magnetic-btn {
  will-change: transform;
}

/* --- Reduced motion: show all content immediately --- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .img-reveal {
    clip-path: none !important;
    transition: none !important;
  }
  .word-wrap .word {
    transform: none !important;
  }
  .btn {
    transition: none !important;
  }
}

/* --- SECTION DIVIDER --- */
.section-divider {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0;
}

.section-divider::before {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--border);
}

/* --- PRICING/CTA BUTTON ACTIVE STATES --- */
.pricing-card__cta:active,
.nav__cta:active {
  transform: translateY(0px) scale(0.98);
  transition-duration: 0.1s;
}

/* --- MOCKUP URL TEXT --- */
.pf-mockup__url-text {
  font-size: 8px;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: var(--tracking-wide);
  white-space: nowrap;
  overflow: hidden;
}

/* --- SECTION TRANSITION GRADIENTS --- */
.section--alt {
  position: relative;
}

/* Top fade — blend into alt section */
.section--alt::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(
    to bottom,
    #09090B 0%,
    rgba(9, 9, 11, 0.85) 20%,
    rgba(13, 13, 15, 0.55) 40%,
    rgba(15, 15, 17, 0.3) 60%,
    rgba(17, 17, 19, 0.12) 80%,
    #111113 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Bottom fade — blend out of alt section */
.section--alt::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(
    to bottom,
    #111113 0%,
    rgba(17, 17, 19, 0.88) 20%,
    rgba(15, 15, 17, 0.55) 40%,
    rgba(13, 13, 15, 0.3) 60%,
    rgba(11, 11, 13, 0.12) 80%,
    #09090B 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* --- FOOTER LOGO BREATHE --- */
.footer__logo-img {
  animation: footer-logo-breathe 6s ease-in-out infinite;
}

@keyframes footer-logo-breathe {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .footer__logo-img {
    animation: none;
  }

  .faq-item {
    transition: none;
  }

  .faq-item::before {
    transition: none;
  }
}

/* --- FAQ RESPONSIVE --- */
@media (max-width: 480px) {
  .faq-item.active {
    padding-left: 12px;
  }
}

/* Stagger delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* --- TERMS PAGE --- */
.terms {
  padding-top: clamp(120px, 12vw, 160px);
  padding-bottom: var(--section-padding);
}

.terms__content {
  max-width: 720px;
  margin: 0 auto;
}

.terms__content h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 8px;
}

.terms__updated {
  font-size: var(--text-sm);
  color: var(--text-dim);
  margin-bottom: 48px;
}

.terms__content h2 {
  font-size: var(--text-lg);
  margin-top: 48px;
  margin-bottom: 16px;
}

.terms__content p {
  margin-bottom: 16px;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.terms__content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.terms__content li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: 8px;
  list-style: disc;
}

/* --- HERO RESPONSIVE --- */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: 130px;
  }

  .hero__stats {
    gap: 20px;
    padding: 20px 24px;
  }

  .hero__stat-divider {
    height: 32px;
  }
}

@media (max-width: 480px) {
  .btn--lg {
    font-size: var(--text-sm);
    padding: 12px 24px;
  }

  .hero {
    padding-top: 130px;
  }

  .hero__buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero__buttons .btn {
    width: 100%;
  }

  .hero__stats {
    gap: 16px;
    padding: 18px 20px;
  }

  .hero__stat-value {
    font-size: var(--text-lg);
  }

  .hero__stat-divider {
    height: 28px;
  }
}

@media (max-width: 360px) {
  .hero__stat-divider {
    display: none;
  }
}

/* --- FAQ VIEW ALL LINK --- */
.faq__view-all {
  text-align: center;
  margin-top: 40px;
}

.faq__view-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.faq__view-link:hover {
  color: var(--text-primary);
}

.faq__view-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq__view-link:hover .faq__view-arrow {
  transform: translateX(4px);
}

/* --- FAQ PAGE: CATEGORY NAV --- */
.faq-cats {
  padding: 24px 0 0;
}

.faq-cats__row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.faq-cats__pill {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: border-color var(--transition-base), color var(--transition-base), background-color var(--transition-base);
}

.faq-cats__pill:hover {
  border-color: var(--border-light);
  color: var(--text-primary);
  background: var(--surface);
}

/* --- FAQ PAGE: CATEGORY LABEL --- */
.faq-cat__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: 28px;
}

/* --- PRICING DETAIL CARDS --- */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: border-color 0.25s ease;
}

.detail-card:hover {
  border-color: var(--border-light);
}

.detail-card--featured {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.02);
}

.detail-card__name {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: var(--tracking-tight);
}

.detail-card__price {
  font-size: var(--text-sm);
  color: var(--text-dim);
  margin-bottom: 20px;
}

.detail-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-card__list li {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.detail-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.detail-card--featured .detail-card__list li::before {
  background: var(--accent);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.15);
}

/* What's NOT included */
.detail-exclude {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.detail-exclude__title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: var(--tracking-tight);
}

.detail-exclude__text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: 20px;
}

.detail-exclude__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.detail-exclude__list li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.detail-exclude__list li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--text-dim);
}

.detail-exclude__note {
  font-size: var(--text-sm);
  color: var(--text-dim);
  line-height: var(--leading-normal);
}

.detail-exclude__note a {
  color: var(--accent-gold);
}

.detail-exclude__note a:hover {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .detail-exclude {
    padding: 32px 24px;
  }
}

/* --- COMPARISON TABLE --- */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--text-dim);
  background: var(--surface);
  position: sticky;
  top: 0;
}

.compare-table__feature-head {
  text-align: left !important;
}

.compare-table td:first-child {
  text-align: left;
  color: var(--text-secondary);
  font-weight: 400;
}

.compare-table__featured {
  background: rgba(255, 255, 255, 0.02);
  font-weight: 500;
}

.compare-table thead .compare-table__featured {
  color: var(--text-primary);
}

.compare-table__price-row td {
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: none;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* --- ABOUT PAGE --- */
.about-story {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}

.about-story__photo-frame {
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.about-story__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: 16px;
}

.about-story__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  margin-bottom: 24px;
}

.about-story__text p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.about-story__text p:last-child {
  margin-bottom: 0;
}

/* Values */
.about-values__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.about-values__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: 16px;
}

.about-values__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-values__card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  transition: border-color 0.25s ease;
}

.about-values__card:hover {
  border-color: var(--border-light);
}

.about-values__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  color: var(--text-primary);
}

.about-values__card-title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 8px;
}

.about-values__card-text {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
}

/* Process */
.about-process__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.about-process__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: 16px;
}

.about-process__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

/* about-process now uses shared .steps__flow layout */

/* Contact */
.about-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-contact__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: 16px;
}

.about-contact__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: 12px;
}

.about-contact__desc {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
}

.about-contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-contact__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

a.about-contact__item:hover {
  color: var(--text-primary);
}

.about-contact__item svg {
  flex-shrink: 0;
  color: var(--text-dim);
}

/* --- RESPONSIVE: Detail grid + About --- */
@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .about-story__photo-frame {
    max-width: 280px;
  }

  .about-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-contact {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .about-values__grid {
    grid-template-columns: 1fr;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 12px;
    font-size: var(--text-sm);
  }
}

/* ====================================================
   RESPONSIVE BREAKPOINTS — Full Site
   ==================================================== */

/* --- 1. Small Phone (max-width: 374px) --- */
@media (max-width: 374px) {
  :root {
    --container-pad: 16px;
  }

  .nav__logo-auto {
    display: none;
  }

  .hero__title-line1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
  .hero__title-line2 {
    font-size: clamp(2.2rem, 10vw, 2.8rem);
  }

  .hero__buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero__buttons .btn {
    width: 100%;
  }

  .hero__stats {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    align-items: stretch;
  }

  .hero__stat {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .hero__stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .hero__stat-divider {
    display: none;
  }

  .pf-card__deliverables-list {
    grid-template-columns: 1fr;
  }

  .footer__columns {
    flex-direction: column;
    gap: 28px;
  }
}

/* Touch targets for mobile */
@media (max-width: 767px) {
  .btn {
    min-height: 44px;
  }

  .nav__link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .faq-item__q {
    min-height: 44px;
  }

  .faq-cats__pill {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* --- 2. Standard Phone (375px - 479px) --- */
@media (min-width: 375px) and (max-width: 479px) {
  :root {
    --container-pad: 20px;
  }

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

  .hero__devices {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .hero-browser {
    width: 100%;
    transform: none;
  }

}

/* --- 3. Large Phone / Small Tablet (480px - 767px) --- */
@media (min-width: 480px) and (max-width: 767px) {
  :root {
    --container-pad: 20px;
  }

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

  .hero__devices {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .hero-browser {
    width: 100%;
    transform: none;
  }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .pricing__grid {
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card {
    max-width: 100%;
  }

  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* --- 4. Tablet Portrait (768px - 1023px) --- */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --container-max: 720px;
    --container-pad: 24px;
  }

  .hero__container {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .hero-browser {
    width: 440px;
  }



  .pf-grid {
    gap: 24px;
  }

  .about-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* --- 5. Small Laptop (1024px - 1279px) --- */
@media (min-width: 1024px) and (max-width: 1279px) {
  :root {
    --container-max: 960px;
  }

  .hero-browser {
    width: 500px;
  }


}

/* --- 6. Standard Desktop (1280px - 1535px) --- */
@media (min-width: 1280px) and (max-width: 1535px) {
  :root {
    --container-max: 1140px;
  }

  .hero-browser {
    width: 560px;
  }


}

/* --- 7. Large Desktop / 27" Monitor (1536px - 1919px) --- */
@media (min-width: 1536px) and (max-width: 1919px) {
  :root {
    --container-max: 1320px;
    --container-pad: 48px;
  }

  .hero-browser {
    width: 620px;
  }



  .hero__title-line1 {
    font-size: clamp(3.2rem, 7vw, 5.6rem);
  }
  .hero__title-line2 {
    font-size: clamp(3.4rem, 7.5vw, 6rem);
  }

  .pf-grid {
    gap: 40px;
  }

  .section {
    padding: clamp(80px, 10vw, 120px) 0;
  }
}

/* --- 8. 2K / 27" Retina (1920px - 2559px) --- */
@media (min-width: 1920px) and (max-width: 2559px) {
  :root {
    --container-max: 1440px;
    --container-pad: 48px;
  }

  .hero-browser {
    width: 660px;
  }



  .hero__title-line1 {
    font-size: clamp(3.4rem, 5vw, 4.8rem);
  }
  .hero__title-line2 {
    font-size: clamp(3.6rem, 5.5vw, 5.2rem);
  }

  .hero__description {
    font-size: var(--text-lg);
  }

  .section {
    padding: 100px 0;
  }

  .pf-grid {
    gap: 40px;
  }

  .work-card__name {
    font-size: var(--text-xl);
  }
}

/* --- 9. 34" Ultrawide (2560px - 3439px) --- */
@media (min-width: 2560px) and (max-width: 3439px) {
  :root {
    --container-max: 1600px;
    --container-pad: 60px;
  }

  .hero-browser {
    width: 720px;
  }



  .hero__title-line1 {
    font-size: 5.2rem;
  }
  .hero__title-line2 {
    font-size: var(--text-7xl);
  }

  .hero__description {
    font-size: var(--text-lg);
  }

  .section {
    padding: 120px 0;
  }

  .pf-grid {
    gap: 40px;
  }

  .work-card__name {
    font-size: var(--text-xl);
  }

  .pricing__grid {
    max-width: 500px;
  }

  .pricing-card {
    max-width: 420px;
    padding: 40px 32px;
  }

  .faq__list {
    max-width: 800px;
  }

  .about-values__grid {
    gap: 28px;
  }
}

/* --- 10. 49" Super Ultrawide (3440px+) --- */
@media (min-width: 3440px) {
  :root {
    --container-max: 1800px;
    --container-pad: 60px;
  }

  .hero-browser {
    width: 780px;
  }



  .hero__title-line1 {
    font-size: var(--text-7xl);
  }
  .hero__title-line2 {
    font-size: 6rem;
  }

  .hero__description {
    font-size: var(--text-xl);
    max-width: 640px;
  }

  .section {
    padding: 140px 0;
  }

  .pf-grid {
    gap: 48px;
  }

  .work-card__name {
    font-size: var(--text-2xl);
  }

  .pricing__grid {
    max-width: 540px;
  }

  .pricing-card {
    max-width: 460px;
    padding: 44px 36px;
  }

  .faq__list {
    max-width: 860px;
  }

  .terms__content {
    max-width: 820px;
  }

  .about-values__grid {
    gap: 32px;
  }

  .hero__stats {
    gap: 40px;
    padding: 24px 40px;
  }

  .hero__stat-value {
    font-size: var(--text-xl);
  }
}

/* --- Print --- */
@media print {
  .nav,
  .nav__mobile,
  .hero__devices,
  .pf-hero__grid,
  .pf-hero__vignette,
  .pf-hero__orb,
  .pf-hero::after,
  .footer,
  .page-loader,
  body::before,
  body::after,
  .site-cta {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
    font-size: 12pt;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .section {
    padding: 24pt 0;
  }

  h1, h2, h3 {
    color: #111;
    page-break-after: avoid;
  }

  p {
    color: #333;
  }

  a {
    color: #111;
    text-decoration: underline;
  }

  .hero {
    padding-top: 24pt;
    min-height: auto;
  }

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

/* --- FOIC FALLBACK --- */
/* If JS fails to load, reveal all hidden elements after 3s */
@keyframes foic-fallback {
  to { opacity: 1; transform: none; }
}

body:not(.js-loaded) .reveal,
body:not(.js-loaded) .hero__badge,
body:not(.js-loaded) .hero__word,
body:not(.js-loaded) .hero__description,
body:not(.js-loaded) .hero__buttons,
body:not(.js-loaded) .hero__stats,
body:not(.js-loaded) .hero__devices {
  animation: foic-fallback 0.5s ease 3s forwards;
}

/* Global FOUC fallback for data-reveal elements */
body:not(.js-loaded) [data-reveal] {
  visibility: visible;
  opacity: 1;
  transform: none;
}

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

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero__badge,
  .hero__word,
  .hero__description,
  .hero__buttons,
  .hero__stats,
  .hero__devices {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-browser {
    animation: none !important;
  }

  .pricing-card--featured::before {
    animation: none !important;
  }

  .pricing-card__badge {
    animation: none !important;
  }

}

/* ── Profile Card ── */
.profile-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.profile-card__avatar {
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.profile-card--large .profile-card__avatar {
  border-radius: var(--radius-lg);
}

.profile-card__name {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.profile-card--large .profile-card__name {
  font-size: var(--text-md);
}

.profile-card__role {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

.profile-card--large .profile-card__role {
  font-size: var(--text-sm);
}

.profile-card__divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 20px auto;
}

.profile-card__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
}

.profile-card__links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--transition-base);
}

.profile-card__links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.profile-card--large .profile-card__links a {
  font-size: var(--text-sm);
}

/* ── Homepage About Card (dark integrated design) ── */
.about__card {
  text-align: center;
}

.about__card-logo {
  margin-bottom: 20px;
}

.about__card-logo-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(var(--accent-gold-rgb), 0.3);
  padding: 4px;
  background: rgba(var(--accent-gold-rgb), 0.05);
}

.about__card-logo-ring img {
  border-radius: 50%;
  display: block;
}

.about__card-name {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.about__card-role {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-dim);
  font-weight: 400;
  margin-bottom: 20px;
}

.about__card-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.about__card-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color var(--transition-base), color var(--transition-base);
}

.about__card-pill:hover {
  border-color: rgba(var(--accent-gold-rgb), 0.3);
  color: var(--text-primary);
}

.about__card-pill--muted {
  color: var(--text-dim);
  border-color: transparent;
  background: none;
}

.about__card-pill svg {
  flex-shrink: 0;
  color: var(--text-dim);
}

.about__card-socials {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.about__card-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: color var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.about__card-socials a:hover {
  color: var(--accent-gold);
  border-color: rgba(var(--accent-gold-rgb), 0.25);
  background: rgba(var(--accent-gold-rgb), 0.06);
}

.about__portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent-gold);
  text-decoration: none;
  transition: gap var(--transition-base);
}

.about__portfolio-link:hover {
  gap: 12px;
}

/* ── Index page: social links row in about contact ── */
.about__contact-item--socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.about__contact-item--socials a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition-base);
}

.about__contact-item--socials a:hover {
  color: #fff;
}

.about__contact-item--socials a:not(:last-child)::after {
  content: "\00b7";
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

/* ── About page: consolidated social links ── */
.about-contact__social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 12px 0;
}

.about-contact__social-links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition-base);
}

.about-contact__social-links a:hover {
  color: #fff;
}

.about-contact__social-links a:not(:last-child)::after {
  content: "\00b7";
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

/* ==================== Platform / Community Section ==================== */
.platform__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 40px;
}

.platform__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 32px;
  transition: all var(--transition-med);
}

.platform__card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.platform__card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(var(--accent-gold-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

.platform__card-title {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.platform__card-desc {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .platform__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================
   PREMIUM POLISH — Gradient dividers, glow variant
   ============================================ */

/* Gold glow variant */
.glow--gold {
  background: radial-gradient(ellipse 65% 55%, rgba(var(--accent-gold-rgb), 0.025) 0%, rgba(var(--accent-gold-rgb), 0.006) 50%, transparent 80%);
  width: 1400px;
  height: 1100px;
  border-radius: 46% 54% 50% 42% / 48% 52% 44% 56%;
  filter: blur(120px);
}

/* Premium gradient section divider */
.section-divider--gold::before {
  width: 200px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-gold-rgb),0.2) 30%, rgba(var(--accent-gold-rgb),0.2) 70%, transparent);
}

/* Enhanced card hover glow effect */
.pricing-card::after,
.work-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(var(--accent-gold-rgb),0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.pricing-card:hover::after,
.work-card:hover::after {
  opacity: 1;
}

/* Premium section labels — gold accent thread */
.pricing__label,
.portfolio__label,
.steps__label,
.about__label,
.faq__label,
.demo-cta-label {
  position: relative;
}

/* Typography enhancements */
.accent-italic {
  display: inline;
  background: linear-gradient(135deg, #ffffff 0%, #f5f0eb 40%, #C4A265 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   PORTFOLIO — Rebuilt Layout
   ============================================ */

/* Hero */
.pf-hero {
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, rgba(196, 162, 101, 0.08) 0%, rgba(196, 162, 101, 0.03) 35%, transparent 70%);
}
/* Portfolio hero heading */
.pf-hero__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin-bottom: 16px;
}
.pf-hero__line1 {
  display: inline-block;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  animation: pfFadeUp 0.7s ease-out 0.3s forwards;
}
.pf-hero__line2 {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, #C4A265 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(20px);
  animation: pfFadeUp 0.7s ease-out 0.6s forwards;
}
@keyframes pfFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pf-hero__line1,
  .pf-hero__line2 {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
.pf-hero__sub {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  max-width: 540px;
  margin: 0 auto 32px;
  text-align: center;
}
.pf-hero__stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.pf-hero__stat {
  font-size: var(--text-sm);
  color: var(--text-dim);
  font-weight: 500;
}
.pf-hero__stat-num {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
}

/* Section headers */
.pf-section-header {
  margin-bottom: 40px;
}
.pf-section-header__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

/* Featured case studies */
.pf-featured {
  padding: 40px 0 80px;
}
.pf-featured__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .pf-featured__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pf-featured__card {
  display: block;
  text-decoration: none;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.pf-featured__card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-gold-rgb),0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.pf-featured__img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.pf-featured__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pf-featured__card:hover .pf-featured__img-wrap img {
  transform: scale(1.03);
}
.pf-featured__body {
  padding: 20px 24px 24px;
}
.pf-featured__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 8px;
}
.pf-featured__name {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.pf-featured__meta {
  font-size: var(--text-sm);
  color: var(--text-dim);
  margin-bottom: 10px;
}
.pf-featured__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: 16px;
}
.pf-featured__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent-gold);
  transition: gap var(--transition-base);
}
.pf-featured__card:hover .pf-featured__link {
  gap: 10px;
}

/* All projects grid */
.pf-grid--all {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) {
  .pf-grid--all {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1200px) {
  .pf-grid--all {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 600px) {
  .pf-grid--all {
    grid-template-columns: 1fr;
  }
}

/* Status badges */
.pf-card__status {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  z-index: 2;
}
.pf-card__status--paying {
  background: rgba(var(--accent-gold-rgb),0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(var(--accent-gold-rgb),0.25);
}

/* Placeholder for sites without screenshots */
.pf-card__placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
  color: var(--text-dim);
}

/* Insights section */
.pf-insights {
  padding: 80px 0;
}
.pf-insights__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .pf-insights__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pf-insight-card {
  display: block;
  text-decoration: none;
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-base), transform var(--transition-base);
}
.pf-insight-card:hover {
  border-color: rgba(var(--accent-gold-rgb),0.2);
  transform: translateY(-2px);
}
.pf-insight-card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 10px;
}
.pf-insight-card__title {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-primary);
  line-height: var(--leading-snug);
  margin-bottom: 8px;
}
.pf-insight-card__excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-snug);
  margin-bottom: 14px;
}
.pf-insight-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent-gold);
  transition: gap var(--transition-base);
}
.pf-insight-card:hover .pf-insight-card__link {
  gap: 10px;
}

/* ==================== 404 ERROR PAGE ==================== */
.error-page { min-height: calc(100vh - 72px); display: flex; align-items: center; justify-content: center; }
.error-page__content { text-align: center; max-width: 500px; padding: 0 var(--inner-padding); }
.error-page__code { font-family: var(--font-body); font-size: clamp(80px, 15vw, 160px); font-weight: 700; color: var(--border); letter-spacing: -0.04em; line-height: 1; margin-bottom: 24px; }
.error-page__title { font-family: var(--font-body); font-size: var(--text-xl); font-weight: 600; color: var(--text-primary); margin-bottom: 12px; }
.error-page__desc { font-family: var(--font-body); font-size: var(--text-base); color: var(--text-secondary); line-height: var(--leading-normal); margin-bottom: 32px; }
.error-page__btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: var(--text-base); font-weight: 500; color: var(--bg-primary); background: var(--text-primary); padding: 14px 28px; border-radius: var(--radius-sm); text-decoration: none; transition: all var(--transition-fast); }
.error-page__btn:hover { background: var(--accent-hover); box-shadow: 0 4px 12px rgba(244, 244, 245, 0.1); transform: translateY(-1px); }

/* ==================== CASE STUDY ARTICLE ==================== */
.csa-back { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; color: var(--text-dim); text-decoration: none; transition: color 0.2s; padding-top: 100px; }
.csa-back:hover { color: var(--text-primary); }
.csa-header { padding: 2rem 0 2.5rem; max-width: 720px; margin: 0 auto; }
.csa-header__eyebrow { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 1rem; }
.csa-header__title { font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 3.25rem); font-weight: 400; font-style: italic; color: var(--text-primary); margin: 0 0 0.75rem; line-height: 1.1; }
.csa-header__location { font-family: var(--font-body); font-size: var(--text-base); color: var(--text-secondary); margin: 0; }
.csa-screenshot { max-width: 1000px; margin: 0 auto 4rem; }
.csa-screenshot a { display: block; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.4); transition: box-shadow 0.3s ease, transform 0.3s ease; }
.csa-screenshot a:hover { box-shadow: 0 16px 60px rgba(0,0,0,0.5); transform: translateY(-2px); }
.csa-screenshot img { width: 100%; height: auto; display: block; }
.csa-body { max-width: 720px; margin: 0 auto; padding-bottom: 4rem; }
.csa-body h2 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 600; color: var(--text-primary); margin: 3.5rem 0 1.5rem; }
.csa-body h2:first-child { margin-top: 0; }
.csa-body p { font-family: var(--font-body); font-size: var(--text-md); line-height: 1.75; color: var(--text-secondary); margin: 0 0 1.25rem; }
.csa-details { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--card-radius); padding: 2rem; margin: 3rem 0; }
.csa-details__title { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 1.5rem; }
.csa-details__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 2rem; }
@media (min-width: 640px) { .csa-details__grid { grid-template-columns: repeat(3, 1fr); } }
.csa-details__item-label { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 500; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.25rem; }
.csa-details__item-value { font-family: var(--font-body); font-size: var(--text-sm); color: var(--text-primary); margin: 0; }
.csa-details__item-value a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 2px; }
.csa-details__item-value a:hover { color: var(--text-secondary); }
.csa-features { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 480px) { .csa-features { grid-template-columns: repeat(2, 1fr); } }
.csa-features li { display: flex; align-items: flex-start; gap: 0.625rem; font-family: var(--font-body); font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.5; }
.csa-features li svg { flex-shrink: 0; margin-top: 2px; color: #22c55e; }
.csa-cta { text-align: center; padding: 4rem 0; border-top: 1px solid var(--border); max-width: 720px; margin: 0 auto; }
.csa-cta__headline { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 400; font-style: italic; color: var(--text-primary); margin: 0 0 1rem; }
.csa-cta__contact { font-family: var(--font-body); font-size: var(--text-base); color: var(--text-secondary); margin: 0 0 0.5rem; }
.csa-cta__contact a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 2px; }

/* ==================== ABOUT PAGE ==================== */
.abt-hero { padding: 160px 0 80px; position: relative; overflow: hidden; }
.abt-hero__label { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-gold); margin: 0 0 1.25rem; }
.abt-hero__title { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 400; font-style: italic; color: var(--text-primary); line-height: 1.08; margin: 0 0 1.5rem; max-width: 700px; }
.abt-hero__sub { font-family: var(--font-body); font-size: clamp(1.0625rem, 2vw, 1.25rem); line-height: 1.7; color: var(--text-secondary); max-width: 620px; margin: 0; }
.abt-profile { padding: 80px 0; position: relative; overflow: hidden; }
.abt-profile__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 768px) { .abt-profile__grid { grid-template-columns: 340px 1fr; gap: 4rem; } }
@media (min-width: 1024px) { .abt-profile__grid { grid-template-columns: 400px 1fr; gap: 5rem; } }
.abt-profile__photo-wrap { position: relative; }
.abt-profile__photo { width: 100%; max-width: 400px; border-radius: 12px; display: block; box-shadow: 0 12px 48px rgba(0,0,0,0.4); }
.abt-profile__info { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.abt-profile__tag { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; color: var(--text-dim); background: var(--bg-card); border: 1px solid var(--border); border-radius: 999px; padding: 0.375rem 0.875rem; }
.abt-profile__tag svg { flex-shrink: 0; opacity: 0.6; }
.abt-profile__content h2 { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-gold); margin: 0 0 1.25rem; }
.abt-profile__name { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 400; font-style: italic; color: var(--text-primary); margin: 0 0 0.5rem; line-height: 1.15; }
.abt-profile__role { font-family: var(--font-body); font-size: var(--text-base); color: var(--text-dim); margin: 0 0 2rem; }
.abt-profile__bio { font-family: var(--font-body); font-size: var(--text-md); line-height: 1.75; color: var(--text-secondary); margin: 0 0 1.25rem; }
.abt-stats { padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.abt-stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; max-width: 720px; margin: 0 auto; text-align: center; }
@media (min-width: 640px) { .abt-stats__grid { grid-template-columns: repeat(4, 1fr); } }
.abt-stats__item { display: flex; flex-direction: column; align-items: center; }
.abt-stats__value { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 400; font-style: italic; color: var(--text-primary); line-height: 1; margin: 0 0 0.5rem; }
.abt-stats__label { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); margin: 0; }
.abt-process { padding: 100px 0; position: relative; overflow: hidden; }
.abt-process__header { text-align: center; margin-bottom: 4rem; }
.abt-process__label { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-gold); margin: 0 0 1rem; }
.abt-process__title { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 400; font-style: italic; color: var(--text-primary); margin: 0; line-height: 1.15; }
.abt-steps { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 720px; margin: 0 auto; }
@media (min-width: 640px) { .abt-steps { grid-template-columns: repeat(2, 1fr); } }
.abt-step { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--card-radius, 12px); padding: 2rem; }
.abt-step__num { font-family: var(--font-display); font-size: 2rem; font-weight: 400; font-style: italic; color: var(--accent-gold); line-height: 1; margin: 0 0 0.75rem; }
.abt-step__title { font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; color: var(--text-primary); margin: 0 0 0.5rem; }
.abt-step__desc { font-family: var(--font-body); font-size: var(--text-sm); line-height: 1.65; color: var(--text-secondary); margin: 0; }
.abt-value { padding: 100px 0; position: relative; overflow: hidden; }
.abt-value__header { text-align: center; margin-bottom: 3.5rem; }
.abt-value__label { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-gold); margin: 0 0 1rem; }
.abt-value__title { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 400; font-style: italic; color: var(--text-primary); margin: 0; line-height: 1.15; }
.abt-value__list { list-style: none; padding: 0; max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.25rem; }
.abt-value__item { display: flex; align-items: flex-start; gap: 1rem; font-family: var(--font-body); font-size: var(--text-md); line-height: 1.65; color: var(--text-secondary); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--card-radius, 12px); padding: 1.5rem; }
.abt-value__icon { flex-shrink: 0; width: 24px; height: 24px; color: var(--accent-gold); margin-top: 2px; }
.abt-cta { padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
.abt-cta__headline { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 400; font-style: italic; color: var(--text-primary); margin: 0 0 2rem; line-height: 1.15; }
.abt-cta__methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }
.abt-cta__link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-size: var(--text-base); font-weight: 500; color: var(--text-primary); text-decoration: none; background: var(--bg-card); border: 1px solid var(--border); border-radius: 999px; padding: 0.75rem 1.5rem; transition: border-color 0.2s, background 0.2s; }
.abt-cta__link:hover { border-color: var(--accent-gold); background: rgba(196, 162, 101, 0.08); }
.abt-cta__link svg { flex-shrink: 0; opacity: 0.7; }
.abt-cta__email { font-family: var(--font-body); font-size: var(--text-sm); color: var(--text-dim); margin: 0; }
.abt-cta__email a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }

/* ==================== CONTACT PAGE — REDESIGN ==================== */

/* Hero */
.ct-hero {
  padding: clamp(140px, 18vw, 200px) 0 var(--space-12);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.ct-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ct-hero__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin: 0 0 var(--space-5);
}
.ct-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
  margin: 0 0 var(--space-5);
  max-width: 700px;
}
.ct-hero__sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0;
}

/* Hero atmospheric glow */
.ct-hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(196, 162, 101, 0.08) 0%, rgba(196, 162, 101, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.ct-hero .container { position: relative; z-index: 1; }

/* Bottom CTA atmospheric glow */
.ct-bottom-cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(196, 162, 101, 0.07) 0%, rgba(196, 162, 101, 0.02) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.ct-bottom-cta .container { position: relative; z-index: 1; }

/* Contact columns — form */
.ct-columns {
  padding: var(--space-10) 0 var(--space-20);
  position: relative;
  background: radial-gradient(ellipse at 50% 20%, rgba(196, 162, 101, 0.035) 0%, transparent 55%);
}
.ct-columns .container {
  max-width: 1060px;
}
.ct-columns__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.ct-columns__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin: 0 0 var(--space-6);
}

/* Contact form */
.ct-form {
  padding: var(--space-10) 0 var(--space-20);
  position: relative;
}
.ct-form__wrap {
  max-width: 600px;
  margin: 0 auto;
}
.ct-form__header {
  text-align: center;
  margin-bottom: var(--space-8);
}
.ct-form__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--text-primary);
  margin: var(--space-2) 0 0;
}
.ct-form__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ct-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ct-form__field-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
}
.ct-form__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-gold);
}
.ct-form__input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(196, 162, 101, 0.15);
  border-radius: 6px;
  padding: 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: #fff;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
  width: 100%;
}
.ct-form__input::placeholder {
  color: var(--text-dim);
}
.ct-form__input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(196, 162, 101, 0.12);
}
.ct-form__textarea {
  resize: vertical;
  min-height: 140px;
}
.ct-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--accent-gold);
  color: #09090B;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 6px;
  padding: 14px;
  cursor: pointer;
  margin-top: var(--space-2);
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.ct-form__submit:hover {
  background: #b8944e;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(196, 162, 101, 0.2);
}

/* Contact columns — tablet */
@media (max-width: 1023px) and (min-width: 768px) {
  .ct-columns__grid {
    gap: 32px;
  }
}
/* Contact columns — mobile */
@media (max-width: 767px) {
  .ct-columns__grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
}

/* Location */
.ct-location {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}
.ct-location__centered {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.ct-location__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin: 0 0 var(--space-4);
}
.ct-location__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.15;
  margin: 0 0 var(--space-6);
}
.ct-location__address {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 var(--space-6);
}
.ct-location__serving {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .ct-location { padding: var(--space-16) 0; }
}

/* FAQ */
.ct-faq {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}
.ct-faq__header {
  text-align: center;
  margin-bottom: var(--space-12);
}
.ct-faq__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin: 0 0 var(--space-4);
}
.ct-faq__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  margin: 0;
}
.ct-faq__list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.ct-faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--space-6) 0;
}
.ct-faq-item:first-child {
  border-top: 1px solid var(--border);
}
.ct-faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--accent-gold);
  padding: 0;
  margin: 0;
  text-align: left;
  transition: color var(--transition-fast);
}
.ct-faq-item__q:hover { color: #d4b477; }
.ct-faq-item__chevron {
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 0.3s ease, color 0.3s ease;
}
.ct-faq-item--open .ct-faq-item__chevron {
  transform: rotate(180deg);
  color: var(--accent-gold);
}
.ct-faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.ct-faq-item__a p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  padding: var(--space-3) 0 0;
}

/* Bottom CTA */
.ct-bottom-cta {
  padding: var(--space-20) 0 var(--space-24);
  text-align: center;
  position: relative;
}
.ct-bottom-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 400;
  font-style: italic;
  margin: 0 0 var(--space-4);
}
.ct-bottom-cta__number {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  margin: 0 0 var(--space-3);
}
.ct-bottom-cta__sub {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: var(--text-dim);
  margin: 0 0 var(--space-8);
}
.ct-bottom-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--bg-primary);
  background: var(--accent-gold);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.875rem 2rem;
  text-decoration: none;
  transition: background var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-base);
}
.ct-bottom-cta__btn:hover {
  background: #d4b477;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 162, 101, 0.25);
}
.ct-bottom-cta__btn svg {
  transition: transform var(--transition-fast);
}
.ct-bottom-cta__btn:hover svg {
  transform: translateX(3px);
}

/* Contact page mobile refinements */
@media (max-width: 640px) {
  .ct-hero { padding: 120px 0 var(--space-8); }
  .ct-columns { padding: var(--space-4) 0 var(--space-16); }
  .ct-bottom-cta { padding: var(--space-16) 0 var(--space-20); }
}

/* ==================== STICKY MOBILE CTA (disabled) ==================== */
.sticky-mobile-cta { display: none !important; }

/* ==================== MOBILE NAV: LOGO IMAGE ONLY ==================== */
@media (max-width: 768px) {
  .nav__logo-text { display: none; }
}

/* ==================== FAQ ALIGNMENT FIX ==================== */
.faq-item { box-sizing: border-box; }

/* ==================== SERVICES MOBILE CUTOFF FIX ==================== */
html { overflow-x: hidden; }
@media (max-width: 768px) {
  .sv-section__inner { padding: 0 var(--container-pad, 24px); box-sizing: border-box; }
  .sv-section__left, .sv-section__right { min-width: 0; }
  .sv-features li { box-sizing: border-box; padding-right: 8px; }
}

/* ==================== PORTFOLIO MOBILE TEXT CENTERING ==================== */
@media (max-width: 768px) {
  .portfolio__header {
    text-align: center;
  }
  .portfolio__title {
    text-align: center;
  }
  .work-card__info,
  .pf-card__info {
    text-align: center;
  }
}

/* ==================== ABOUT PAGE - WHAT YOU GET LIST ==================== */
.about-value__header {
  text-align: center;
  margin-bottom: 40px;
}
.about-value__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: 12px;
}
.about-value__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}
.about-value__list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-value__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2px solid rgba(196, 162, 101, 0.3);
  border-radius: 12px;
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  transition: border-left-color 0.4s ease, background 0.4s ease;
  will-change: opacity, transform;
}
.about-value__item:hover {
  border-left-color: rgba(196, 162, 101, 0.7);
  background: rgba(255, 255, 255, 0.05);
}
.about-value__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent-gold);
  margin-top: 2px;
}
@media (max-width: 768px) {
  .about-value__item {
    padding: 16px 20px;
  }
}

/* ==================== ABOUT PAGE - STEPS MOBILE ==================== */
@media (max-width: 768px) {
  .about-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .about-step {
    width: 100%;
    max-width: 100%;
  }
}
