/* =================================================================
   SOFTAIN — Site Styles
   Edit color/type/spacing tokens in :root below
   ================================================================= */

:root {
  /* Backgrounds */
  --color-bg-primary:    #0A0A0A;
  --color-bg-secondary:  #0E0E0E;
  --color-bg-warm:       #0E0C09;
  --color-bg-footer:     #050505;
  --color-bg-card:       #141414;
  --color-bg-card-hover: #181818;
  --color-bg-light:      #F5F5F5;

  /* Brand accent */
  --color-gold:          #C9A24B;
  --color-gold-dim:      #9A7A35;
  --color-gold-glow:     rgba(201, 162, 75, 0.18);

  /* Logo gradient stops */
  --color-logo-start:    #1B2240;
  --color-logo-end:      #0A0A0A;

  /* Text */
  --color-text-headline: #FFFFFF;
  --color-text-body:     #C8C8C8;
  --color-text-muted:    #808080;
  --color-text-dimmed:   #505050;
  --color-text-gold:     #C9A24B;

  /* Borders */
  --color-border-subtle:    #1A1A1A;
  --color-border-card:      rgba(201, 162, 75, 0.15);
  --color-border-card-hover: rgba(201, 162, 75, 0.45);
  --color-border-divider:   #2A2A2A;

  /* Type stack */
  --font-display: 'Futura LT', 'Futura', 'Century Gothic', sans-serif;
  --font-body:    'Futura LT', 'Futura', 'Century Gothic', sans-serif;

  /* Type weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Type scale */
  --fs-hero:    clamp(40px, 5vw, 72px);
  --fs-h1:      clamp(32px, 4vw, 56px);
  --fs-h2:      clamp(24px, 3vw, 42px);
  --fs-h3:      clamp(18px, 2.5vw, 28px);
  --fs-h4:      clamp(16px, 2vw, 22px);
  --fs-body:    clamp(14px, 1.5vw, 17px);
  --fs-small:   clamp(12px, 1.2vw, 14px);
  --fs-eyebrow: clamp(10px, 1vw, 12px);
  --fs-nav:     13px;
  --fs-btn:     14px;

  /* Line heights */
  --lh-tight: 1.1;
  --lh-heading: 1.2;
  --lh-snug: 1.35;
  --lh-body: 1.65;
  --lh-relaxed: 1.8;

  /* Letter spacing */
  --ls-tight:  -0.02em;
  --ls-normal: 0em;
  --ls-wide:   0.05em;
  --ls-wider:  0.08em;
  --ls-widest: 0.15em;

  /* Spacing */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 80px; --space-10: 120px;
  --max-width: 1200px;
  --max-width-narrow: 720px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card:       0 2px 16px rgba(0,0,0,0.5);
  --shadow-card-hover: 0 8px 32px rgba(0,0,0,0.7);
  --shadow-gold-glow:  0 0 24px rgba(201,162,75,0.25);
  --shadow-header:     0 4px 24px rgba(0,0,0,0.6);

  /* Transitions */
  --transition-fast:  150ms ease;
  --transition-base:  250ms ease;
  --transition-slow:  400ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-height: 80px;
}

/* =================================================================
   RESET / BASE
   ================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--color-bg-primary);
  color: var(--color-text-body);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--color-gold); color: var(--color-bg-primary); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-primary); }
::-webkit-scrollbar-thumb { background: var(--color-border-divider); }
::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }

/* =================================================================
   TYPOGRAPHY UTILITIES
   ================================================================= */
.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-text-gold);
  display: inline-block;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--color-text-headline);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-heading);
}
h1 { font-size: var(--fs-hero); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-medium); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-medium); line-height: var(--lh-snug); }
p  { color: var(--color-text-body); line-height: var(--lh-body); }

/* =================================================================
   LAYOUT
   ================================================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: var(--space-10) 0; }
.section-narrow { max-width: var(--max-width-narrow); margin: 0 auto; text-align: center; }
.gold-rule {
  width: 48px; height: 1px;
  background: var(--color-gold);
  margin: var(--space-6) auto 0;
}

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: var(--fs-btn);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-base);
  white-space: nowrap;
}
.btn-gold {
  background: var(--color-gold);
  color: var(--color-bg-primary);
}
.btn-gold:hover {
  background: #D4AE5A;
  box-shadow: var(--shadow-gold-glow);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}
.btn-outline:hover {
  background: var(--color-gold);
  color: var(--color-bg-primary);
  box-shadow: var(--shadow-gold-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text-headline);
  border-color: var(--color-border-divider);
  padding: 12px 24px;
}
.btn-ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.btn-text {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--color-gold);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  transition: var(--transition-fast);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.btn-text:hover { border-bottom-color: var(--color-gold); }

/* =================================================================
   HEADER
   ================================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--color-bg-primary);
  border-bottom: 1px solid var(--color-border-subtle);
  z-index: 100;
  transition: box-shadow var(--transition-base);
}
.site-header.scrolled { box-shadow: var(--shadow-header); }
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand-logo { display: flex; align-items: center; }
.brand-logo img { height: 28px; width: auto; }
.nav-primary { display: flex; gap: 28px; }
.nav-primary a {
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-headline);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}
.nav-primary a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  height: 1px; width: 0; background: var(--color-gold);
  transition: width var(--transition-base);
}
.nav-primary a:hover { color: var(--color-gold); }
.nav-primary a:hover::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 4px; }
.lang-btn {
  background: transparent; border: none; cursor: pointer;
  padding: 6px 8px;
  font-size: 11px; font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  color: var(--color-text-muted);
  text-transform: uppercase;
  transition: color var(--transition-fast);
}
.lang-btn:hover { color: var(--color-text-headline); }
.lang-btn.active { color: var(--color-gold); }

.header-cta {
  padding: 10px 22px;
  background: var(--color-gold);
  color: var(--color-bg-primary);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  transition: var(--transition-base);
}
.header-cta:hover {
  background: #D4AE5A;
  box-shadow: var(--shadow-gold-glow);
}

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--color-text-headline);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* Mobile nav */
@media (max-width: 880px) {
  .nav-primary { display: none; }
  .menu-toggle { display: block; }
  .lang-switch { display: none; }
  .site-header.menu-open .nav-primary {
    display: flex;
    position: absolute; top: var(--header-height); left: 0; right: 0;
    background: var(--color-bg-primary);
    border-bottom: 1px solid var(--color-border-subtle);
    flex-direction: column;
    gap: 0;
    padding: 16px 32px;
  }
  .site-header.menu-open .nav-primary a {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border-subtle);
  }
  .site-header.menu-open .lang-switch {
    display: flex;
    position: absolute; top: calc(var(--header-height) + 320px); left: 0; right: 0;
    justify-content: center;
    background: var(--color-bg-primary);
    padding: 16px 32px;
    border-bottom: 1px solid var(--color-border-subtle);
  }
}

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d0c0a 0%, #14110b 50%, #0a0a0a 100%);
  z-index: 0;
}
.hero-media::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(201,162,75,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(180,130,55,0.08) 0%, transparent 50%),
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.85) 100%);
}
.hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding: var(--space-9) 0;
}
.hero-eyebrow { margin-bottom: var(--space-5); }
.hero h1 {
  max-width: 920px;
  margin-bottom: var(--space-5);
}
.hero .subhead {
  font-size: clamp(16px, 1.8vw, 22px);
  color: var(--color-text-body);
  font-weight: var(--fw-light);
  font-style: italic;
  max-width: 640px;
  margin-bottom: var(--space-7);
  line-height: var(--lh-snug);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-instagram-rail {
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 11px; letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
  z-index: 3;
  display: flex; align-items: center; gap: 12px;
  transition: color var(--transition-fast);
}
.hero-instagram-rail:hover { color: var(--color-gold); }
.hero-instagram-rail::before {
  content: ''; width: 1px; height: 64px;
  background: var(--color-border-divider);
}

.hero-ig-badge {
  position: absolute; bottom: 32px; left: 32px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
  z-index: 3;
  transition: color var(--transition-fast);
}
.hero-ig-badge:hover { color: var(--color-gold); }
.hero-ig-badge svg { width: 16px; height: 16px; }

.scroll-indicator {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--color-text-muted);
  animation: bounce 2.4s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

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

/* =================================================================
   PITCH
   ================================================================= */
.pitch {
  background: var(--color-bg-primary);
  text-align: center;
}
.pitch h2 { margin-bottom: var(--space-5); }
.pitch p { font-size: var(--fs-h4); margin-bottom: var(--space-3); color: var(--color-text-body); }
.pitch .pitch-actions { margin-top: var(--space-7); }

/* =================================================================
   VALUE PROPS
   ================================================================= */
.value-props {
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  background: var(--color-bg-primary);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.value-prop {
  padding: var(--space-7) var(--space-5);
  text-align: center;
  border-right: 1px solid var(--color-border-subtle);
}
.value-prop:last-child { border-right: none; }
.value-icon {
  width: 48px; height: 48px;
  margin: 0 auto var(--space-4);
  color: var(--color-gold);
}
.value-prop h3 {
  font-size: 18px;
  margin-bottom: var(--space-2);
}
.value-prop p {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: var(--lh-snug);
}
@media (max-width: 880px) { .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-prop { border-right: none; border-bottom: 1px solid var(--color-border-subtle); }
  .value-prop:nth-child(odd) { border-right: 1px solid var(--color-border-subtle); }
  .value-prop:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 480px) { .value-grid { grid-template-columns: 1fr; }
  .value-prop { border-right: none !important; border-bottom: 1px solid var(--color-border-subtle); }
}

/* =================================================================
   SERVICES
   ================================================================= */
.section-header {
  text-align: center;
  max-width: var(--max-width-narrow);
  margin: 0 auto var(--space-9);
}
.section-header .eyebrow { margin-bottom: var(--space-3); }
.section-header h2 { margin-bottom: var(--space-4); }
.section-header p { color: var(--color-text-muted); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  padding: var(--space-7) var(--space-6);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-card-hover);
  box-shadow: var(--shadow-card-hover);
}
.service-icon {
  width: 40px; height: 40px;
  color: var(--color-gold);
  margin-bottom: var(--space-5);
  transition: var(--transition-base);
}
.service-card:hover .service-icon { color: #D4AE5A; }
.service-card h3 {
  font-size: 20px;
  margin-bottom: var(--space-3);
}
.service-card p {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  flex: 1;
}
@media (max-width: 880px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* =================================================================
   STUDIO SECTION
   ================================================================= */
.studio {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}
.studio-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}
.studio-tile {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
  cursor: default;
}
.studio-tile:hover {
  border-color: var(--color-border-card-hover);
  transform: translateY(-2px);
}
.studio-tile.tile-feature {
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 360px;
}
.tile-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(201,162,75,0.12), transparent 60%),
              linear-gradient(135deg, #1a1612 0%, #0e0c09 100%);
  background-size: cover;
  background-position: center;
}
/* Dark overlay when photo is set — keeps icon + label readable */
.tile-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.65) 100%);
}
.tile-corner {
  position: absolute; top: 12px; right: 12px;
  width: 16px; height: 16px;
  border-top: 1px solid var(--color-gold);
  border-right: 1px solid var(--color-gold);
}
.tile-label {
  position: absolute; left: 16px; bottom: 16px;
  font-size: 10px;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-text-headline);
  z-index: 2;
}
.tile-icon {
  position: absolute; left: 16px; top: 16px;
  width: 28px; height: 28px;
  color: var(--color-gold);
  opacity: 0.8;
}
@media (max-width: 880px) {
  .studio-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .studio-tile.tile-feature { grid-row: span 1; min-height: 0; aspect-ratio: 4/3; }
}
@media (max-width: 480px) {
  .studio-grid { grid-template-columns: 1fr; }
}

.rate-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  padding: var(--space-7) var(--space-6);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-5);
}
.rate-rows { display: flex; flex-direction: column; gap: var(--space-3); flex: 1; min-width: 240px; }
.rate-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--space-5); padding-bottom: var(--space-3);
  border-bottom: 1px dashed var(--color-border-divider);
}
.rate-row:last-child { border-bottom: none; padding-bottom: 0; }
.rate-name {
  font-size: 15px; font-weight: var(--fw-medium);
  color: var(--color-text-headline);
}
.rate-price {
  font-size: 14px; color: var(--color-gold);
  letter-spacing: var(--ls-wide);
  font-weight: var(--fw-medium);
}

/* =================================================================
   PORTFOLIO
   ================================================================= */
.portfolio { background: var(--color-bg-primary); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
}
.portfolio-item {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
  transition: var(--transition-base);
}
.portfolio-item.large { grid-column: span 4; aspect-ratio: 16/10; }
.portfolio-item.medium { grid-column: span 2; aspect-ratio: 4/5; }
.portfolio-item.small { grid-column: span 2; }
.portfolio-item:hover { transform: translateY(-2px); border-color: var(--color-border-card-hover); }

.portfolio-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform var(--transition-slow);
}
.portfolio-item:hover .portfolio-bg { transform: scale(1.04); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.85) 100%);
  display: flex; align-items: flex-end;
  padding: var(--space-5);
}
.portfolio-meta { color: var(--color-text-headline); }
.portfolio-meta .ptype {
  font-size: 10px; letter-spacing: var(--ls-widest);
  text-transform: uppercase; color: var(--color-gold);
  margin-bottom: 4px;
}
.portfolio-meta .ptitle { font-size: 18px; font-weight: var(--fw-medium); margin-bottom: 2px; }
.portfolio-meta .pclient { font-size: 13px; color: var(--color-text-muted); }

.play-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border: 1.5px solid var(--color-text-headline);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition-base);
}
.portfolio-item:hover .play-icon { opacity: 1; }
.play-icon::after {
  content: ''; width: 0; height: 0;
  border-left: 12px solid var(--color-text-headline);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 4px;
}
.portfolio-cta { text-align: center; margin-top: var(--space-7); }

@media (max-width: 880px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item.large, .portfolio-item.medium, .portfolio-item.small { grid-column: span 1; aspect-ratio: 4/3; }
}

/* =================================================================
   PROCESS
   ================================================================= */
.process { background: var(--color-bg-primary); }
.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-7);
  padding: 0 var(--space-3);
}
.process-line {
  position: absolute;
  left: 10%; right: 10%;
  top: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-dim));
  z-index: 0;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1500ms var(--transition-spring);
}
.process-timeline.in-view .process-line { transform: scaleX(1); }
.process-step {
  position: relative;
  text-align: center;
  z-index: 1;
}
.process-num {
  width: 64px; height: 64px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  background: var(--color-bg-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: var(--fw-light);
  color: var(--color-gold);
  letter-spacing: var(--ls-wide);
  margin: 0 auto var(--space-4);
}
.process-step h3 { font-size: 16px; margin-bottom: 8px; }
.process-step p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: var(--lh-snug);
}
.process-cta { text-align: center; margin-top: var(--space-9); }

@media (max-width: 880px) {
  .process-timeline { grid-template-columns: 1fr; gap: var(--space-5); padding: 0; }
  .process-line { display: none; }
  .process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-4);
    text-align: left;
    align-items: center;
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--color-border-subtle);
  }
  .process-num { margin: 0; }
}

/* =================================================================
   WHY SOFTAIN
   ================================================================= */
.why { background: var(--color-bg-secondary); border-top: 1px solid var(--color-border-subtle); }
.why-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-9);
  align-items: start;
}
.why-copy h2 { margin-bottom: var(--space-5); }
.why-copy p {
  font-size: 15px; color: var(--color-text-body);
  margin-bottom: var(--space-4); line-height: var(--lh-relaxed);
}
.why-copy p.dim { color: var(--color-text-muted); }
.why-copy .why-actions { margin-top: var(--space-6); }
.why-photo {
  position: relative;
  aspect-ratio: 3/4;
  background: linear-gradient(180deg, #1a1612 0%, #0a0a0a 100%);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.why-photo::before, .why-photo::after {
  content: ''; position: absolute; width: 24px; height: 24px;
  border-color: var(--color-gold);
}
.why-photo::before { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.why-photo::after { bottom: 0; right: 0; border-bottom: 1px solid; border-right: 1px solid; }
.why-photo-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  color: var(--color-text-dimmed);
}
.why-photo-inner svg { width: 56px; height: 56px; opacity: 0.4; }
.why-photo-inner span { font-size: 10px; letter-spacing: var(--ls-widest); text-transform: uppercase; }
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; gap: var(--space-7); } }

/* =================================================================
   TEAM
   ================================================================= */
.team {
  background: var(--color-bg-warm);
  border-top: 1px solid var(--color-border-subtle);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.team-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  transition: var(--transition-base);
}
.team-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-border-card-hover);
  box-shadow: var(--shadow-card-hover);
}
.team-photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #1c1812 0%, #0a0a0a 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--color-gold);
}
.team-photo .initials {
  font-size: 48px;
  font-weight: var(--fw-light);
  color: var(--color-gold);
  letter-spacing: 2px;
  font-family: var(--font-display);
}
.team-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.05);
  transition: filter var(--transition-base), transform var(--transition-base);
}
.team-card:hover .team-photo-img {
  filter: saturate(1) contrast(1.05);
  transform: scale(1.02);
}
.team-info { padding: var(--space-5); }
.team-info .name {
  font-size: 18px;
  font-weight: var(--fw-medium);
  color: var(--color-text-headline);
  margin-bottom: 6px;
}
.team-info .role-primary {
  font-size: 11px;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
  font-weight: var(--fw-semibold);
}
.team-info .role-secondary {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: var(--lh-snug);
}
@media (max-width: 880px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

/* =================================================================
   CONTACT
   ================================================================= */
.contact {
  background: var(--color-bg-primary);
  border-top: 1px solid var(--color-border-subtle);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: start;
}
.contact-copy h2 { margin-bottom: var(--space-5); }
.contact-copy p {
  font-size: 16px; color: var(--color-text-body);
  margin-bottom: var(--space-6);
  max-width: 520px;
  line-height: var(--lh-body);
}
.contact-list { display: flex; flex-direction: column; gap: var(--space-4); }
.contact-list a, .contact-list span {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--color-text-body);
  transition: color var(--transition-fast);
}
.contact-list a:hover { color: var(--color-gold); }
.contact-list svg { width: 18px; height: 18px; color: var(--color-gold); flex-shrink: 0; }

.form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  padding: var(--space-7) var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-5);
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 11px;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: var(--fw-semibold);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border-divider);
  padding: 10px 0;
  font-size: 15px;
  color: var(--color-text-headline);
  outline: none;
  transition: border-color var(--transition-fast);
  font-family: var(--font-body);
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-gold);
}
.form-field select option { background: var(--color-bg-card); }
.form-consent { font-size: 11px; color: var(--color-text-dimmed); }
.form button[type="submit"] {
  width: 100%; justify-content: center;
}
.form-success {
  display: none;
  padding: var(--space-5);
  background: rgba(201,162,75,0.06);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--color-gold);
}
.form-success.shown { display: block; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: var(--space-7); } }

/* =================================================================
   FAQ
   ================================================================= */
.faq { background: var(--color-bg-primary); border-top: 1px solid var(--color-border-subtle); }
.faq-list { max-width: var(--max-width-narrow); margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--color-border-subtle);
}
.faq-q {
  width: 100%;
  background: transparent; border: none;
  padding: var(--space-5) 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  font-size: 17px;
  font-weight: var(--fw-medium);
  color: var(--color-text-headline);
  font-family: var(--font-display);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.faq-q:hover { color: var(--color-gold); }
.faq-toggle {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: var(--transition-base);
}
.faq-toggle::before, .faq-toggle::after {
  content: ''; position: absolute;
  background: var(--color-gold);
  transition: var(--transition-base);
}
.faq-toggle::before { width: 12px; height: 1px; }
.faq-toggle::after  { width: 1px; height: 12px; }
.faq-item.open .faq-toggle { background: var(--color-gold); }
.faq-item.open .faq-toggle::before, .faq-item.open .faq-toggle::after { background: var(--color-bg-primary); }
.faq-item.open .faq-toggle::after { transform: scaleY(0); }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--transition-slow) ease;
}
.faq-a-inner {
  padding: 0 0 var(--space-5);
  color: var(--color-text-body);
  font-size: 15px;
  line-height: var(--lh-body);
  max-width: 90%;
}

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer {
  background: var(--color-bg-footer);
  padding: var(--space-9) 0 var(--space-5);
  border-top: 1px solid var(--color-border-subtle);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-7);
  margin-bottom: var(--space-9);
}
.footer-brand .footer-logo { height: 24px; margin-bottom: var(--space-4); }
.footer-brand p {
  font-size: 13px;
  color: var(--color-text-muted);
  max-width: 280px;
  line-height: var(--lh-body);
}
.footer-col h4 {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--color-text-headline); }
.footer-col li { display: flex; align-items: center; gap: 8px; }
.footer-col li svg { width: 14px; height: 14px; color: var(--color-gold); flex-shrink: 0; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-subtle);
  font-size: 12px;
  color: var(--color-text-dimmed);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}
.footer-bottom .socials { display: flex; gap: 16px; }
.footer-bottom .socials a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border-subtle);
  border-radius: 50%;
  transition: var(--transition-base);
  color: var(--color-text-muted);
}
.footer-bottom .socials a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.footer-bottom .socials svg { width: 14px; height: 14px; }

@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* =================================================================
   BACK TO TOP
   ================================================================= */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-bg-primary);
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  box-shadow: var(--shadow-card);
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: var(--transition-base);
  z-index: 50;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: #D4AE5A; box-shadow: var(--shadow-gold-glow); }
.back-to-top svg { width: 18px; height: 18px; }

/* =================================================================
   REVEAL ANIMATIONS
   ================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 100ms; }
.reveal.delay-2 { transition-delay: 200ms; }
.reveal.delay-3 { transition-delay: 300ms; }

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

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-gold);
  color: var(--color-bg-primary);
  padding: 12px 20px;
  font-weight: var(--fw-semibold);
  z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; }

/* =================================================================
   PASSWORD GATE
   ================================================================= */
#password-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: #0A0A0A;
  display: flex; align-items: center; justify-content: center;
}
.gate-box {
  display: flex; flex-direction: column; align-items: center;
  gap: 24px;
  width: 100%; max-width: 360px;
  padding: 0 24px;
}
.gate-logo {
  height: 28px;
  opacity: 0.9;
}
.gate-label {
  font-size: 10px;
  letter-spacing: 4px;
  color: #C9A24B;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}
.gate-field {
  display: flex;
  width: 100%;
  border: 1px solid #2c2c2c;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 200ms ease;
}
.gate-field:focus-within { border-color: #C9A24B; }
.gate-field input {
  flex: 1;
  background: #111;
  border: none;
  padding: 14px 16px;
  font-size: 14px;
  color: #F2F2F2;
  outline: none;
  font-family: 'Futura LT', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 2px;
}
.gate-field input::placeholder { color: #444; letter-spacing: 1px; }
.gate-field button {
  background: #C9A24B;
  border: none;
  color: #0A0A0A;
  padding: 0 20px;
  font-size: 18px;
  cursor: pointer;
  transition: background 150ms ease;
  font-weight: 700;
}
.gate-field button:hover { background: #d6b25a; }
.gate-error {
  font-size: 12px;
  color: #C95E4B;
  letter-spacing: 1px;
  min-height: 16px;
  margin: 0;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}
.gate-field input.shake { animation: shake 0.4s ease; }
