/* =================================================================
   MASSOURANG PORTFOLIO - STYLES
   ================================================================= */

/* --- CSS Variables --- */
:root {
  --void: #0b0b0c;
  --obsidian: #111114;
  --charcoal: #15151a;
  --smoke: #24242b;
  --ash: #2f2f37;

  --ivory: #f2efe7;
  --parchment: #e7dfd0;
  --silver: #cfc6b5;
  --stone: #9a9487;

  --amber: #c9a227;
  --ruby: #8b1538;
  --sapphire: #1e3a5f;
  --emerald: #1a4d3e;
  --amethyst: #4a2c6a;

  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.03), 0 14px 40px rgba(0, 0, 0, 0.55);
  --shadow-2: 0 2px 0 rgba(255, 255, 255, 0.04), 0 18px 50px rgba(0, 0, 0, 0.65);
  --nav-grad-top: rgba(11, 11, 12, 0.92);
  --nav-grad-bottom: rgba(11, 11, 12, 0);
  --menu-bg: rgba(11, 11, 12, 0.98);
  --glass-opacity: 0.03;
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(201, 162, 39, 0.10), transparent 60%),
    radial-gradient(900px 700px at 90% 30%, rgba(30, 58, 95, 0.08), transparent 55%),
    var(--void);
  color: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--amber);
  color: var(--ivory);
}

/* --- Stained Glass Background --- */
.stained-glass {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--glass-opacity);
  background:
    radial-gradient(ellipse at 20% 30%, var(--ruby) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, var(--sapphire) 0%, transparent 40%),
    radial-gradient(ellipse at 60% 70%, var(--emerald) 0%, transparent 45%),
    radial-gradient(ellipse at 30% 80%, var(--amethyst) 0%, transparent 40%);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.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;
}

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, var(--nav-grad-top), var(--nav-grad-bottom));
  backdrop-filter: blur(8px);
  max-width: 100%;
  border-bottom: 1px solid rgba(200, 191, 175, 0.25);
}

.nav-logo {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ivory);
  text-decoration: none;
  text-transform: uppercase;
}

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

.nav-links {
  display: flex;
  gap: 2.4rem;
}

.nav-links a {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--amber);
}

.nav-links a.active {
  color: var(--amber);
}

/* --- Nav CTA Button --- */
.nav-cta {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.6rem 1.2rem;
  background: var(--amber);
  color: #111;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.nav-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.nav-divider {
  color: rgba(150, 150, 150, 0.4);
  font-size: 0.9rem;
  font-weight: 300;
}

/* --- Language Switcher --- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--stone);
  cursor: pointer;
  padding: 0.3rem 0.4rem;
  transition: color 0.25s ease;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: none;
}

.lang-btn:hover {
  color: var(--ivory);
}

.lang-btn.active {
  color: var(--amber);
}

.lang-divider {
  color: rgba(150, 150, 150, 0.55);
}

/* --- Mobile Menu --- */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ivory);
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--menu-bg);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
}

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

.mobile-menu a {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
  transition: color 0.25s ease;
}

.mobile-menu a:hover {
  color: var(--amber);
}

.mobile-menu a.active {
  color: var(--amber);
}

.mobile-cta {
  background: var(--amber);
  color: #111 !important;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  margin-top: 1rem;
}

.mobile-cta:hover {
  color: #111 !important;
  filter: brightness(1.05);
}

.mobile-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 4rem 6rem;
  position: relative;
}

.hero-content::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(150, 150, 150, 0.25), transparent);
}

.hero-title {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ivory);
  margin-bottom: 1rem;
  max-width: 680px;
}

.hero-subtitle {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--parchment);
  margin-bottom: 1.5rem;
  max-width: 560px;
  line-height: 1.7;
}

.hero-years {
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding: 0.05em 0.2em;
}

.hero-years::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: 0;
  bottom: 0;
  background: rgba(201, 162, 39, 0.35);
  z-index: -1;
  border-radius: 3px 8px 5px 10px;
  transform: rotate(-0.5deg) skewX(-1deg);
}

.hero-emphasis {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.hero-location {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--stone);
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  width: fit-content;
}

.location-icon {
  width: 16px;
  height: 16px;
  color: var(--amber);
}

.hero-cta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.cta-primary {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.8rem;
  background: var(--amber);
  color: #111;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 4px;
}

.cta-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.cta-secondary {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.8rem;
  background: transparent;
  color: var(--ivory);
  text-decoration: none;
  border: 1px solid rgba(150, 150, 150, 0.35);
  border-radius: 4px;
  transition: all 0.25s ease;
}

.cta-secondary:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-1px);
}

.hero-image-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
}

.hero-portrait-container {
  position: relative;
  width: 300px;
}

.hero-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(10%) contrast(1.05);
}

.hero-portrait-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(11, 11, 12, 0.92) 0%,
      rgba(11, 11, 12, 0.5) 30%,
      transparent 60%);
  pointer-events: none;
}

.hero-name-block {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
}

.hero-name-first {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--parchment);
  display: block;
  margin-bottom: 0.2rem;
}

.hero-name-last {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  display: block;
}

/* --- Sections --- */
section {
  padding: 8rem 6rem;
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow-x: hidden;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-numeral {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.4em;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: 'Satoshi', sans-serif;
  font-size: 2.2rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--ivory);
}

.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ornament-line {
  width: 60px;
  height: 1px;
  background: rgba(150, 150, 150, 0.25);
}

.ornament-diamond {
  width: 6px;
  height: 6px;
  background: var(--amber);
  transform: rotate(45deg);
}

/* --- Snapshot Section --- */
.snapshot {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(150, 150, 150, 0.06), rgba(0, 0, 0, 0));
  padding: 6rem 6rem;
}

.snapshot-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 3rem;
}

.snapshot-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.snapshot-bullet {
  color: var(--amber);
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.snapshot-text {
  font-size: 0.95rem;
  color: var(--parchment);
  line-height: 1.6;
}

.snapshot-text strong {
  color: var(--ivory);
  font-weight: 600;
}

/* --- Proof Section --- */
.proof {
  background: rgba(255, 255, 255, 0.04);
}

/* Project Layout */
.proof-project {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto 5rem;
  align-items: center;
}

.proof-project-reverse {
  direction: rtl;
}

.proof-project-reverse>* {
  direction: ltr;
}

.proof-project-info {
  display: flex;
  flex-direction: column;
}

.proof-project-title {
  font-family: 'Satoshi', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.proof-project-tagline {
  font-size: 1.1rem;
  color: var(--ivory);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.proof-project-desc {
  font-size: 0.95rem;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 42ch;
}

/* KPIs - Simple inline display */
.proof-kpis {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.proof-kpi {
  text-align: left;
}

.proof-kpi-value {
  display: block;
  font-family: 'Satoshi', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.proof-kpi-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--stone);
  text-transform: uppercase;
}

.proof-project-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}


/* Browser Mockup - Premium Design */
.proof-project-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Ambient glow behind browser */
.proof-project-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.browser-mockup {
  position: relative;
  width: 100%;
  max-width: 540px;
  z-index: 1;
}

/* Outer frame with glass effect */
.browser-frame {
  background: linear-gradient(165deg, rgba(60, 60, 65, 0.9) 0%, rgba(30, 30, 35, 0.95) 100%);
  border-radius: 16px;
  padding: 3px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.2),
    0 32px 64px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.browser-inner {
  background: var(--obsidian);
  border-radius: 13px;
  overflow: hidden;
}

.browser-header {
  background: linear-gradient(180deg, rgba(45, 45, 50, 1) 0%, rgba(35, 35, 40, 1) 100%);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

/* Subtle top highlight */
.browser-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.browser-dots {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
}

.dot::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
}

.dot-red {
  background: #ff5f57;
  box-shadow: 0 0 8px rgba(255, 95, 87, 0.4);
}

.dot-yellow {
  background: #febc2e;
  box-shadow: 0 0 8px rgba(254, 188, 46, 0.4);
}

.dot-green {
  background: #28c840;
  box-shadow: 0 0 8px rgba(40, 200, 64, 0.4);
}

.browser-url {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.browser-url-icon {
  font-size: 0.7rem;
}

.browser-url-text {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--parchment);
  letter-spacing: 0.02em;
}

.browser-content {
  background: var(--charcoal);
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

/* Inner shadow on content */
.browser-content::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.browser-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

/* Override for full image display (no cropping) */
.browser-content.browser-content-contain {
  aspect-ratio: 2/1;
}

.browser-content.browser-content-contain img {
  object-fit: contain;
  object-position: center;
}

/* Video content */
.browser-content-video {
  aspect-ratio: 16/9;
}

.browser-content-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.browser-content-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(30, 58, 95, 0.08) 0%, transparent 50%),
    var(--charcoal);
}

.placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--stone);
}

.placeholder-content svg {
  width: 56px;
  height: 56px;
  opacity: 0.4;
}

.placeholder-content span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
}

.proof-visual-caption {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--stone);
  text-align: center;
  font-style: italic;
}

/* Legacy support */
.proof-card-label {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.proof-card-site-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s ease;
}

.proof-card-site-link:hover {
  gap: 0.5rem;
}

.proof-card-site-link::after {
  content: '↗';
  font-size: 0.75rem;
}

.proof-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
}

.proof-card-link::after {
  content: '→';
  display: inline-block;
  transition: transform 0.2s ease;
}

.proof-card-link:hover::after {
  transform: translateX(4px);
}

/* --- Services Section --- */
.services {
  background: rgba(0, 0, 0, 0);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  padding: 2.5rem;
  border: 1px solid rgba(150, 150, 150, 0.22);
  background: var(--obsidian);
  box-shadow: var(--shadow-1);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  border-color: rgba(150, 150, 150, 0.42);
  transform: translateY(-2px);
}

.service-number {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 1rem;
}

.service-name {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.4rem;
  font-weight: 650;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.service-tagline {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--stone);
  margin-bottom: 1rem;
}

.service-description {
  font-size: 0.9rem;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.service-list {
  list-style: none;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--parchment);
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
  display: flex;
  align-items: start;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  width: 12px;
  height: 12px;
  margin-top: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.service-meta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(150, 150, 150, 0.15);
}

.service-meta-item {
  font-size: 0.8rem;
  color: var(--stone);
  margin-bottom: 0.5rem;
}

.service-meta-item strong {
  color: var(--silver);
}

/* --- Fit Section --- */
.fit {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(150, 150, 150, 0.06), rgba(0, 0, 0, 0));
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.fit-column {
  padding: 2rem;
  border: 1px solid rgba(150, 150, 150, 0.18);
  background: var(--obsidian);
}

.fit-column-title {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.fit-column-title.ideal {
  color: var(--emerald);
}

.fit-column-title.not-ideal {
  color: var(--ruby);
}

.fit-list {
  list-style: none;
}

.fit-list li {
  font-size: 0.9rem;
  color: var(--parchment);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  display: flex;
  align-items: start;
}

.fit-list.ideal li::before {
  content: '';
  position: absolute;
  left: 0;
  width: 14px;
  height: 14px;
  margin-top: 0.28rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2350C878' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.fit-list.not-ideal li::before {
  content: '';
  position: absolute;
  left: 0;
  width: 14px;
  height: 14px;
  margin-top: 0.28rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0115F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* --- Trust Section --- */
.trust {
  background: rgba(255, 255, 255, 0.04);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.trust-item {
  text-align: center;
  padding: 1.5rem;
}

.trust-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 1rem;
  color: var(--amber);
}

.trust-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--amber);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.trust-text {
  font-size: 0.85rem;
  color: var(--stone);
  line-height: 1.6;
}

/* --- Founder Section --- */
.founder {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(201, 162, 39, 0.04), rgba(0, 0, 0, 0));
}

.founder-content {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.founder-intro {
  font-size: 1rem;
  color: var(--parchment);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.founder-section-title {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.founder-list {
  list-style: none;
}

.founder-list li {
  font-size: 0.9rem;
  color: var(--parchment);
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.founder-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--amber);
}

.founder-links {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.founder-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s ease;
}

.founder-link:hover {
  gap: 0.75rem;
}

/* --- About Section --- */
.about {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(201, 162, 39, 0.06), rgba(0, 0, 0, 0));
  padding: 6rem 6rem;
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: 1.05rem;
  color: var(--parchment);
  line-height: 1.9;
}

/* --- Latest Articles Section --- */
.latest-articles {
  padding: 6rem 6rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(150, 150, 150, 0.06), rgba(0, 0, 0, 0));
}

.latest-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.latest-article-card {
  background: var(--obsidian);
  border: 1px solid rgba(150, 150, 150, 0.12);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.latest-article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.4);
}

.latest-article-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid rgba(150, 150, 150, 0.12);
}

.latest-article-content {
  padding: 1.5rem;
}

.latest-article-category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.latest-article-title {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.latest-article-excerpt {
  font-size: 0.85rem;
  color: var(--stone);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-article-meta {
  font-size: 0.75rem;
  color: var(--stone);
}

.latest-articles-cta {
  text-align: center;
  margin-top: 3rem;
}

/* --- Contact Section --- */
.contact {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(150, 150, 150, 0.06), rgba(0, 0, 0, 0));
  text-align: center;
  padding: 8rem 6rem;
}

.contact-email-display {
  margin-bottom: 2rem;
}

.contact-email-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.5rem;
}

.contact-email {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ivory);
}

.contact-email a {
  color: var(--ivory);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-email a:hover {
  color: var(--amber);
}

.contact-copy-hint {
  font-size: 0.75rem;
  color: var(--stone);
  margin-top: 0.5rem;
}

.contact-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 2.5rem 0;
  color: var(--stone);
  font-size: 0.8rem;
}

.contact-divider-line {
  width: 60px;
  height: 1px;
  background: rgba(150, 150, 150, 0.25);
}

.contact-form {
  max-width: 500px;
  margin: 0 auto 3rem;
}

.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.95rem;
  background: var(--obsidian);
  border: 1px solid rgba(150, 150, 150, 0.22);
  border-radius: 4px;
  color: var(--ivory);
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--amber);
}

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

.form-submit {
  width: 100%;
  padding: 1rem;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--amber);
  color: #111;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}

.form-submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-link {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.contact-link-icon {
  width: 20px;
  height: 20px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link a {
  font-size: 0.9rem;
  color: var(--ivory);
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-link a:hover {
  color: var(--amber);
}

.contact-link-text {
  font-size: 0.9rem;
  color: var(--ivory);
}

/* --- Footer --- */
footer {
  background: rgba(150, 150, 150, 0.10);
  padding: 3rem 4rem;
  text-align: center;
  border-top: 1px solid rgba(150, 150, 150, 0.18);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.footer-divider-line {
  width: 60px;
  height: 1px;
  background: rgba(150, 150, 150, 0.25);
}

.footer-divider-diamond {
  width: 6px;
  height: 6px;
  background: var(--amber);
  transform: rotate(45deg);
}

.footer-ornament {
  font-family: 'Satoshi', sans-serif;
  font-size: 1rem;
  color: var(--amber);
  margin-bottom: 1rem;
  font-weight: 900;
}

.footer-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--stone);
  letter-spacing: 0.1em;
}

/* --- Case Study Modal/Expanded --- */
.case-study-detail {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 11, 12, 0.95);
  overflow-y: auto;
  padding: 4rem;
}

.case-study-detail.active {
  display: block;
}

.case-study-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--ivory);
  font-size: 2rem;
  cursor: pointer;
  z-index: 201;
}

.case-study-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.case-study-headline {
  font-family: 'Satoshi', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 2rem;
}

.case-study-section {
  margin-bottom: 2.5rem;
}

.case-study-section-title {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.case-study-text {
  font-size: 1rem;
  color: var(--parchment);
  line-height: 1.8;
}

.case-study-list {
  list-style: none;
}

.case-study-list li {
  font-size: 0.95rem;
  color: var(--parchment);
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.case-study-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--amber);
}

.case-study-insight {
  padding: 1.5rem;
  background: rgba(201, 162, 39, 0.08);
  border-left: 3px solid var(--amber);
  font-style: italic;
  color: var(--parchment);
  margin-top: 2rem;
}

/* =================================================================
   ARTICLE PAGE STYLES
   ================================================================= */

/* --- Article Header Nav --- */
.article-header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, var(--nav-grad-top), var(--nav-grad-bottom));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 191, 175, 0.25);
}

.back-link {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.25s ease;
}

.back-link:hover {
  color: var(--amber);
}

.back-arrow {
  font-size: 1rem;
}

/* --- Article Content --- */
.article-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
  position: relative;
  z-index: 1;
}

.article-meta {
  margin-bottom: 2rem;
}

.article-category {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.article-title {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ivory);
  margin-bottom: 1rem;
}

.article-subtitle {
  font-size: 1.1rem;
  color: var(--parchment);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.article-info {
  display: flex;
  gap: 2rem;
  font-size: 0.8rem;
  color: var(--stone);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(150, 150, 150, 0.18);
}

.article-illustration {
  width: 100%;
  margin: 2rem 0;
  border-radius: 8px;
  border: 1px solid rgba(150, 150, 150, 0.18);
}

.article-body {
  font-size: 1rem;
  color: var(--parchment);
  line-height: 1.9;
}

.article-body h2 {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.4rem;
  font-weight: 650;
  color: var(--ivory);
  margin: 3rem 0 1.5rem;
  letter-spacing: 0.02em;
}

.article-body h3 {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ivory);
  margin: 2rem 0 1rem;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.article-body li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

/* Default: gold bullet */
.article-body li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

/* Checklist: green checkmarks */
.article-body ul.checklist li::before {
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  background: none;
  border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2350C878' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Don't list: red crosses */
.article-body ul.dont-list li::before {
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  background: none;
  border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0115F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.article-body code {
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  color: var(--amber);
}

.article-body pre {
  background: var(--obsidian);
  border: 1px solid rgba(150, 150, 150, 0.18);
  border-radius: 6px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.article-body pre code {
  background: none;
  padding: 0;
  color: var(--parchment);
}

.article-body blockquote {
  border-left: 3px solid var(--amber);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--silver);
}

.article-body a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
  transition: border-color 0.2s ease;
}

.article-body a:hover {
  border-color: var(--amber);
}

.article-body strong {
  color: var(--ivory);
  font-weight: 600;
}

/* Article Footer */
.article-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(150, 150, 150, 0.15);
}

.author-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(150, 150, 150, 0.2);
}

.author-info h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.2rem;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--stone);
  line-height: 1.5;
}

.article-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(150, 150, 150, 0.1);
}

.article-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.25s ease;
}

.article-nav a:hover {
  color: var(--amber);
}

/* --- Articles List Page --- */
.articles-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
  position: relative;
  z-index: 1;
}

.articles-header {
  text-align: center;
  margin-bottom: 4rem;
}

.articles-title {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 1rem;
}

.articles-subtitle {
  font-size: 1.1rem;
  color: var(--parchment);
  max-width: 600px;
  margin: 0 auto;
}

.articles-grid {
  display: grid;
  gap: 1.5rem;
}

.article-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 2rem;
  background: var(--obsidian);
  border: 1px solid rgba(150, 150, 150, 0.18);
  text-decoration: none;
  transition: all 0.25s ease;
}

.article-card:hover {
  border-color: rgba(150, 150, 150, 0.35);
  transform: translateY(-2px);
}

.article-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 4px;
}

.article-card-content {
  display: flex;
  flex-direction: column;
}

.article-card-category {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.article-card-title {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--silver);
  line-height: 1.6;
  margin-bottom: auto;
}

.article-card-meta {
  font-size: 0.75rem;
  color: var(--stone);
  margin-top: 1rem;
}

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

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  nav,
  .article-header-nav {
    padding: 1rem 1.2rem;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-divider {
    display: none;
  }

  .lang-switcher {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    max-width: 100%;
  }

  .hero-content {
    padding: 2rem 1.5rem 3rem;
    order: 2;
    text-align: center;
    max-width: 100%;
  }

  .hero-content::after {
    display: none;
  }

  .hero-title {
    font-size: 1.35rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
  }

  .hero-location {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    justify-content: center;
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-cta a {
    width: 100%;
    text-align: center;
  }

  .hero-image-section {
    order: 1;
    padding: 5rem 1.5rem 0.5rem;
  }

  .hero-portrait-container {
    width: 200px;
  }

  section {
    padding: 4rem 1.5rem;
    max-width: 100%;
  }

  .snapshot {
    padding: 4rem 1.5rem;
    max-width: 100%;
  }

  .about {
    padding: 4rem 1.5rem;
    max-width: 100%;
  }

  .snapshot-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .proof-project {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
  }

  .proof-project-reverse {
    direction: ltr;
  }

  .proof-project-title {
    font-size: 1.6rem;
  }

  .proof-project-visual {
    order: -1;
  }

  .proof-project-visual::before {
    display: none;
  }

  .proof-kpis {
    gap: 0.75rem;
    justify-content: space-between;
    width: 100%;
  }

  .proof-kpi {
    flex: 1;
    text-align: center;
  }

  .proof-kpi-value {
    font-size: 1.35rem;
  }

  .proof-kpi-label {
    font-size: 0.6rem;
  }

  .proof-project-info {
    text-align: center;
  }

  .proof-project-links {
    justify-content: center;
  }

  .browser-mockup {
    max-width: 100%;
  }

  .browser-frame {
    border-radius: 12px;
  }

  .browser-inner {
    border-radius: 9px;
  }

  .browser-header {
    padding: 0.6rem 0.75rem;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .browser-url {
    padding: 0.35rem 0.6rem;
  }

  .browser-url-text {
    font-size: 0.7rem;
  }

  .proof-project-links {
    align-items: center;
  }

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

  .service-card {
    padding: 2rem 1.5rem;
  }

  .fit-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .founder-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .latest-articles {
    padding: 4rem 1.5rem;
    max-width: 100%;
  }

  .latest-articles-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 4rem 1.5rem;
    max-width: 100%;
  }

  .contact-form {
    padding: 0 0.5rem;
  }

  .contact-links {
    flex-direction: column;
    gap: 1.5rem;
  }

  footer {
    padding: 2rem 1.5rem;
    max-width: 100%;
  }

  .footer-links {
    gap: 1.5rem;
  }

  /* Article pages mobile */
  .article-container {
    padding: 6rem 1.5rem 4rem;
  }

  .articles-container {
    padding: 6rem 1.5rem 4rem;
  }

  .article-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .article-card-image {
    aspect-ratio: 16/9;
  }

  .article-info {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 1200px) and (min-width: 1001px) {
  .hero {
    grid-template-columns: 1.5fr 1fr;
  }

  .hero-content {
    padding: 8rem 3rem 4rem 4rem;
  }
}

@media (max-width: 1000px) and (min-width: 769px) {

  nav,
  .article-header-nav {
    padding: 1rem 2rem;
  }

  section {
    padding: 5rem 2rem;
  }

  .hero {
    grid-template-columns: 1.6fr 1fr;
  }

  .hero-content {
    padding: 6rem 2rem 4rem 3rem;
  }

  .hero-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
  }

  .hero-image-section {
    padding: 6rem 1rem 2rem;
  }

  .hero-portrait-container {
    width: 220px;
  }

  .proof-project {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .proof-project-reverse {
    direction: ltr;
  }

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

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

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

  .founder-content {
    grid-template-columns: 1fr;
  }

  .latest-articles-grid {
    grid-template-columns: 1fr 1fr;
  }

  .article-card {
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-in {
    animation: none;
    opacity: 1;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}

/* =================================================================
   ABOUT PAGE STYLES
   ================================================================= */

/* --- About Hero --- */
.about-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10rem 4rem 4rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-hero-content {
  max-width: 700px;
}

.about-hero-label {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.about-hero-title {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.about-hero-subtitle {
  font-size: 1.1rem;
  color: var(--parchment);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Journey Timeline --- */
.journey {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(150, 150, 150, 0.06), rgba(0, 0, 0, 0));
  padding: 6rem 6rem;
}

.journey-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 3rem;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--amber), rgba(150, 150, 150, 0.3), var(--amber));
}

.journey-milestone {
  position: relative;
  padding: 2rem 0 3rem 3rem;
}

.journey-milestone::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 2.3rem;
  width: 12px;
  height: 12px;
  background: var(--void);
  border: 2px solid var(--amber);
  transform: rotate(45deg);
}

.journey-today::after {
  content: '';
  position: absolute;
  left: -0.55rem;
  top: 2.1rem;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c9a227'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.journey-today::before {
  display: none;
}

.journey-year {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.journey-title {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--ivory);
  margin-bottom: 0.75rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.journey-description {
  font-size: 1rem;
  font-weight: 400;
  color: var(--parchment);
  opacity: 0.9;
  font-style: italic;
  max-width: 65ch;
}

/* --- Principles Grid --- */
.principles {
  background: rgba(255, 255, 255, 0.04);
  padding: 6rem 6rem;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.principle-item {
  padding: 2rem;
  border: 1px solid rgba(150, 150, 150, 0.22);
  background: var(--obsidian);
  box-shadow: var(--shadow-1);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.principle-item:hover {
  border-color: rgba(150, 150, 150, 0.42);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.principle-number {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 1rem;
}

.principle-name {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--ivory);
  margin-bottom: 1rem;
}

.principle-description {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--silver);
  line-height: 1.7;
  max-width: 65ch;
}

/* --- Tech Stack --- */
.stack {
  background: linear-gradient(135deg, rgba(150, 150, 150, 0.12) 0%, rgba(150, 150, 150, 0.04) 100%);
  padding: 5rem 6rem;
  border-top: 1px solid rgba(150, 150, 150, 0.15);
  border-bottom: 1px solid rgba(150, 150, 150, 0.15);
}

.stack-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stack-label {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 2rem;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0;
  font-family: 'Satoshi', sans-serif;
  font-size: 1rem;
  font-weight: 450;
  color: var(--parchment);
  letter-spacing: 0.02em;
}

.stack-item {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.stack-divider {
  color: var(--stone);
  margin: 0 0.75rem;
}

/* --- About CTA Section --- */
.about-cta {
  background: rgba(0, 0, 0, 0);
  text-align: center;
  padding: 6rem 6rem;
}

.about-cta-text {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--parchment);
  opacity: 0.92;
  margin-bottom: 2.5rem;
  max-width: 55ch;
  margin-left: auto;
  margin-right: auto;
}

.about-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* --- About Read More Link (on homepage) --- */
.about-read-more {
  display: inline-block;
  margin-top: 2rem;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.about-read-more:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* --- About Page Mobile --- */
@media (max-width: 768px) {
  .about-hero {
    padding: 7rem 1.5rem 3rem;
    min-height: auto;
  }

  .about-hero-title {
    font-size: 1.8rem;
  }

  .about-hero-subtitle {
    font-size: 1rem;
  }

  .journey {
    padding: 4rem 1.5rem;
  }

  .journey-timeline {
    padding-left: 2rem;
  }

  .journey-milestone {
    padding: 1.5rem 0 2rem 2rem;
  }

  .journey-title {
    font-size: 1.1rem;
  }

  .principles {
    padding: 4rem 1.5rem;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .principle-item {
    padding: 1.5rem;
  }

  .stack {
    padding: 3rem 1.5rem;
  }

  .stack-list {
    font-size: 0.9rem;
    gap: 0.25rem 0;
  }

  .stack-divider {
    margin: 0 0.35rem;
  }

  .about-cta {
    padding: 4rem 1.5rem;
  }

  .about-cta-buttons {
    flex-direction: column;
  }

  .about-cta-buttons a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 1000px) and (min-width: 769px) {
  .about-hero {
    padding: 8rem 2rem 4rem;
  }

  .journey {
    padding: 5rem 2rem;
  }

  .principles {
    padding: 5rem 2rem;
  }

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

  .stack {
    padding: 4rem 2rem;
  }

  .about-cta {
    padding: 5rem 2rem;
  }
}

/* =================================================================
   CASE STUDY PAGE STYLES
   ================================================================= */

.case-study-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  position: relative;
  z-index: 1;
}

.case-study-header {
  margin-bottom: 3rem;
}

.case-study-label {
  display: inline-block;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.case-study-title {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.case-study-headline {
  font-size: 1.2rem;
  color: var(--parchment);
  margin-bottom: 3rem;
  line-height: 1.5;
}

.case-study-body {
  font-size: 1rem;
  color: var(--parchment);
  line-height: 1.9;
}

.case-study-body h2 {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(150, 150, 150, 0.15);
}

.case-study-body p {
  margin-bottom: 1.5rem;
}

.case-study-body ul {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.case-study-body li {
  font-size: 0.95rem;
  color: var(--parchment);
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.case-study-body li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

.case-study-body ul.checklist li::before {
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  background: none;
  border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2350C878' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 2rem;
}

.stack-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--silver);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(150, 150, 150, 0.1);
}

.case-proof-section {
  background: var(--obsidian);
  border: 1px solid rgba(150, 150, 150, 0.12);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

.video-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.video-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.video-item video {
  width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(150, 150, 150, 0.1);
  background: var(--charcoal);
}

.video-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  text-align: center;
}

.case-insight {
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(201, 162, 39, 0.08);
  border-left: 3px solid var(--amber);
  border-radius: 0 8px 8px 0;
}

.case-insight p {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--parchment);
  line-height: 1.7;
  margin: 0;
}

/* Case Study Footer Navigation - appears at bottom of page only */
.case-study-footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(150, 150, 150, 0.15);
}

.case-footer-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.25s ease;
  padding: 0.5rem 1rem;
}

.case-footer-link:hover {
  color: var(--amber);
}

.case-footer-link.back {
  color: var(--amber);
}

/* Mobile responsive for case studies */
@media (max-width: 768px) {
  .case-study-container {
    padding: 6rem 1.5rem 3rem;
  }

  .case-study-title {
    font-size: 1.8rem;
  }

  .case-study-headline {
    font-size: 1rem;
  }

  .case-study-footer-nav {
    flex-direction: column;
    gap: 0.75rem;
  }

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