/* ============================================================
   YAKOOHA DIGITAL FORGE — Main Stylesheet v3
   Gen-Z Dark/Light Mode Edition
   ============================================================ */

/* ---- CSS Variables — Dark (default) ---- */
:root {
  --bg:         #0a0a0a;
  --bg2:        #111111;
  --bg3:        #181818;
  --border:     #242424;
  --amber:      #f5a623;
  --amber2:     #ffbe5c;
  --amber-glow: rgba(245,166,35,0.18);
  --white:      #f0ede8;
  --muted:      #888888;
  --danger:     #e05252;
  --success:    #4ade80;
  --font-display: 'Syne', sans-serif;
  --font-mono:    'DM Mono', monospace;
  --font-body:    'DM Sans', sans-serif;
  --sidebar-w:  265px;
  --radius:     4px;
  --radius-lg:  12px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- Light mode overrides ---- */
html[data-theme="light"] {
  --bg:         #f9f7f2;
  --bg2:        #f0ede5;
  --bg3:        #e8e4da;
  --border:     #d0cbc0;
  --white:      #1a1814;
  --muted:      #6b6558;
  --amber-glow: rgba(245,166,35,0.12);
  /* overlay colors need to flip for light mode */
  --overlay-bg: rgba(240,237,229,0.92);
  --team-overlay: rgba(240,237,229,0.9);
}

/* Body & structure */
html[data-theme="light"] body               { background: var(--bg); color: var(--white); }
html[data-theme="light"] .sidebar           { background: #f4f0e8 !important; border-right-color: var(--border) !important; }
html[data-theme="light"] .topbar            { background: rgba(249,247,242,0.98) !important; border-bottom-color: var(--border) !important; }
html[data-theme="light"] .sidebar-nav a     { color: #8a7f70; }
html[data-theme="light"] .sidebar-nav a:hover,
html[data-theme="light"] .sidebar-nav a.active { background: rgba(0,0,0,0.05); color: var(--white); }
html[data-theme="light"] .sidebar-nav a.active { color: var(--amber); background: rgba(245,166,35,0.08); }
html[data-theme="light"] .sidebar-section-label { color: #b0a898; }
html[data-theme="light"] .topbar-hamburger span { background: var(--white); }
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .topbar-theme-btn  { background: var(--bg3); border-color: var(--border); }

/* Hero */
html[data-theme="light"] .hero-bg {
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(245,166,35,0.10) 0%, transparent 70%),
              radial-gradient(ellipse 40% 60% at 10% 80%, rgba(245,166,35,0.07) 0%, transparent 60%), var(--bg);
}
html[data-theme="light"] .hero-grid {
  background-image: linear-gradient(rgba(100,80,30,0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(100,80,30,0.06) 1px, transparent 1px);
}
html[data-theme="light"] .hero-blob { border-color: rgba(200,160,60,0.15); background: radial-gradient(circle, rgba(245,166,35,0.07) 0%, transparent 70%); }

/* Sections */
html[data-theme="light"] .bg-alt            { background: var(--bg2); }
html[data-theme="light"] .marquee-wrap      { background: var(--bg2); }
html[data-theme="light"] .marquee-item      { color: #9a9080; }
html[data-theme="light"] .section-sub       { color: var(--muted); }

/* Cards & components */
html[data-theme="light"] .service-card                { background: var(--bg); }
html[data-theme="light"] .service-card:hover          { background: var(--bg3); }
html[data-theme="light"] .service-detail-card         { background: var(--bg2); }
html[data-theme="light"] .service-detail-card:hover   { background: var(--bg3); }
html[data-theme="light"] .testimonial-card            { background: var(--bg2); }
html[data-theme="light"] .testimonial-card:hover      { background: var(--bg3); }
html[data-theme="light"] .form-box                    { background: var(--bg2); }
html[data-theme="light"] .process-step               { background: transparent; }
html[data-theme="light"] .stat-box                    { background: transparent; }
html[data-theme="light"] .portfolio-item             { background: var(--bg2); }
html[data-theme="light"] .about-image-box            { background: var(--bg2); }
html[data-theme="light"] .team-photo                 { background: var(--bg2); }
html[data-theme="light"] .value-item                 { border-bottom-color: var(--border); }

/* Overlays — keep dark regardless of theme for text readability */
html[data-theme="light"] .portfolio-overlay { background: rgba(10,10,10,0.85); }
html[data-theme="light"] .portfolio-overlay .portfolio-cat  { color: var(--amber); }
html[data-theme="light"] .team-overlay       { background: rgba(235,231,222,0.92); }
html[data-theme="light"] .team-social a      { color: var(--amber); border-color: var(--amber); }

/* Forms */
html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group textarea,
html[data-theme="light"] .form-group select  { background: var(--bg3); color: var(--white); border-color: var(--border); }
html[data-theme="light"] .form-group input::placeholder,
html[data-theme="light"] .form-group textarea::placeholder { color: #a09a8e; }
html[data-theme="light"] .form-group select option           { background: var(--bg2); color: var(--white); }
html[data-theme="light"] .form-group label                   { color: var(--muted); }

/* CTA & Page Hero */
html[data-theme="light"] .cta-banner {
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(245,166,35,0.10) 0%, transparent 70%), var(--bg);
}
html[data-theme="light"] .page-hero-bg {
  background: radial-gradient(ellipse 50% 70% at 80% 50%, rgba(245,166,35,0.07) 0%, transparent 70%), var(--bg);
}

/* Footer */
html[data-theme="light"] .footer            { border-top-color: var(--border); }
html[data-theme="light"] .footer-bottom     { border-top-color: var(--border); }
html[data-theme="light"] .footer-col ul a   { color: var(--muted); }
html[data-theme="light"] .footer-socials a  { border-color: var(--border); color: var(--muted); }

/* Skill bars */
html[data-theme="light"] .skill-bar-track   { background: var(--border); }

/* Portfolio client logos */
html[data-theme="light"] .client-logo-cell  { color: rgba(80,70,55,0.25) !important; }
html[data-theme="light"] .client-logo-cell:hover { color: rgba(245,166,35,0.5) !important; }

/* grain */
html[data-theme="light"] body::after { opacity: 0.15; }

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  padding-left: var(--sidebar-w);
  transition: background 0.4s ease, color 0.4s ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ---- Grain ---- */
body::after {
  content: '';
  position: fixed; inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; }
.mono { font-family: var(--font-mono); }
.amber { color: var(--amber); }

/* ---- Container ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 3rem; }

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.theme-toggle-wrap {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.6rem;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.theme-toggle {
  width: 38px; height: 21px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 11px; position: relative;
  cursor: pointer; transition: var(--transition); flex-shrink: 0;
}
.theme-toggle::after {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--amber);
  transition: transform var(--transition);
}
html[data-theme="light"] .theme-toggle::after { transform: translateX(17px); }

/* topbar theme btn */
.topbar-theme-btn {
  width: 34px; height: 20px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; position: relative;
  cursor: pointer; flex-shrink: 0; transition: var(--transition);
}
.topbar-theme-btn::after {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--amber); transition: transform var(--transition);
}
html[data-theme="light"] .topbar-theme-btn::after { transform: translateX(14px); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w); z-index: 1000;
  background: rgba(8, 8, 8, 0.98);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow-y: auto; overflow-x: hidden;
  transition: transform var(--transition), background 0.4s ease;
}
.sidebar-logo {
  padding: 1.85rem 1.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.sidebar-logo a {
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  letter-spacing: -0.02em; display: flex; align-items: center;
  gap: 0.15rem; color: var(--white);
}
.sidebar-logo span { color: var(--amber); }
.sidebar-logo .tagline {
  font-family: var(--font-mono); font-size: 0.58rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-top: 0.35rem; display: block;
}
.sidebar-nav {
  flex: 1; padding: 1.25rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.18rem;
}
.sidebar-section-label {
  font-family: var(--font-mono); font-size: 0.58rem; color: #444;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 0.2rem 0.85rem; margin-bottom: 0.2rem; margin-top: 0.4rem;
}
.sidebar-nav a {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.65rem 0.85rem; border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em;
  transition: all var(--transition); position: relative; white-space: nowrap;
}
.sidebar-nav a::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 2px; height: 0; background: var(--amber);
  transition: height var(--transition); border-radius: 0 2px 2px 0;
}
.sidebar-nav a .nav-icon {
  width: 16px; height: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.sidebar-nav a .nav-icon svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.sidebar-nav a:hover, .sidebar-nav a.active { color: var(--white); background: rgba(255,255,255,0.04); }
.sidebar-nav a:hover::before, .sidebar-nav a.active::before { height: 60%; }
.sidebar-nav a.active { color: var(--amber); background: rgba(245,166,35,0.07); }
.sidebar-nav a.active .nav-icon svg { stroke: var(--amber); }

.sidebar-bottom {
  padding: 1.25rem 0.75rem 1.75rem;
  border-top: 1px solid var(--border); flex-shrink: 0;
}
.sidebar-cta-btn {
  display: block; font-family: var(--font-mono); font-size: 0.72rem;
  padding: 0.7rem; background: var(--amber); color: #0a0a0a;
  border-radius: 20px; text-align: center;
  text-transform: uppercase; letter-spacing: 0.07em;
  font-weight: 500; transition: var(--transition); margin-bottom: 1rem;
  border: 1px solid transparent;
}
.sidebar-cta-btn:hover {
  background: var(--amber2); transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(245,166,35,0.28);
}
.sidebar-socials { display: flex; gap: 0.45rem; justify-content: center; }
.sidebar-socials a {
  width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.58rem; color: var(--muted); transition: var(--transition);
}
.sidebar-socials a:hover { border-color: var(--amber); color: var(--amber); }

/* ---- Mobile topbar ---- */
.topbar {
  display: none; position: fixed; top: 0; left: 0; right: 0;
  height: 58px; z-index: 1001;
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid var(--border);
  align-items: center; justify-content: space-between;
  padding: 0 1.25rem; transition: background 0.4s ease;
}
.topbar-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }
.topbar-logo span { color: var(--amber); }
.topbar-right { display: flex; align-items: center; gap: 0.85rem; }
.topbar-hamburger { display: flex; flex-direction: column; gap: 5px; padding: 4px; z-index: 1002; }
.topbar-hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.topbar-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topbar-hamburger.open span:nth-child(2) { opacity: 0; }
.topbar-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 999; }
.sidebar-overlay.open { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(245,166,35,0.06) 0%, transparent 70%),
              radial-gradient(ellipse 40% 60% at 10% 80%, rgba(245,166,35,0.04) 0%, transparent 60%), var(--bg);
  transition: background 0.4s ease;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(245,166,35,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(245,166,35,0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-blob {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 500px; height: 500px;
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  background: radial-gradient(circle, rgba(245,166,35,0.05) 0%, transparent 70%);
  border: 1px solid rgba(245,166,35,0.07);
  animation: blobMorph 12s ease-in-out infinite; pointer-events: none;
}
@keyframes blobMorph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%; }
  33%       { border-radius: 40% 60% 45% 55% / 55% 45% 60% 40%; }
  66%       { border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%; }
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--amber);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1.75rem; padding: 0.45rem 1rem;
  border: 1px solid rgba(245,166,35,0.3); border-radius: 20px;
  background: rgba(245,166,35,0.04);
}
.hero-tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--amber); border-radius: 50%;
  animation: pulse 2s ease infinite; flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.hero h1 {
  font-size: clamp(2.75rem, 5.5vw, 5.5rem);
  letter-spacing: -0.03em; margin-bottom: 1.5rem; line-height: 1.0;
}
.hero h1 em {
  font-style: normal; color: var(--amber); display: block; position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 40%; height: 3px;
  background: linear-gradient(90deg, var(--amber), transparent);
  border-radius: 2px;
}
.hero-sub { font-size: 1.05rem; color: var(--muted); max-width: 480px; margin-bottom: 2.75rem; font-weight: 300; line-height: 1.75; }
.hero-actions { display: flex; gap: 0.875rem; flex-wrap: wrap; align-items: center; }
.btn-primary {
  font-family: var(--font-mono); font-size: 0.78rem; padding: 0.82rem 1.85rem;
  background: var(--amber); color: #0a0a0a; border-radius: 20px;
  font-weight: 500; transition: var(--transition); letter-spacing: 0.04em;
  text-transform: uppercase; display: inline-flex; align-items: center;
  gap: 0.5rem; white-space: nowrap; border: 1px solid transparent;
}
.btn-primary:hover { background: var(--amber2); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(245,166,35,0.3); }
.btn-ghost {
  font-family: var(--font-mono); font-size: 0.78rem; padding: 0.82rem 1.85rem;
  border: 1px solid var(--border); color: var(--muted); border-radius: 20px;
  transition: var(--transition); letter-spacing: 0.04em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; background: transparent;
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); background: rgba(245,166,35,0.04); }
.hero-stats { display: flex; gap: 3.5rem; margin-top: 4rem; padding-top: 2.25rem; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--amber); line-height: 1; }
.hero-stat-label { font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.35rem; }
.scroll-indicator {
  position: absolute; bottom: 2.5rem; right: 3rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.62rem;
  color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; writing-mode: vertical-rl;
}
.scroll-indicator::before {
  content: ''; width: 1px; height: 55px;
  background: linear-gradient(to bottom, transparent, var(--amber));
  animation: scrollDown 2s ease infinite;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 5.5rem 0; }
.section-tag {
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--amber);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-tag::before { content: ''; width: 20px; height: 1px; background: var(--amber); flex-shrink: 0; }
.section-title { font-size: clamp(1.85rem, 3.2vw, 3rem); letter-spacing: -0.025em; margin-bottom: 1.1rem; line-height: 1.1; }
.section-sub { color: var(--muted); max-width: 480px; margin-bottom: 3.25rem; font-size: 0.975rem; line-height: 1.75; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.05rem 0; background: var(--bg2); }
.marquee-track { display: flex; gap: 2.5rem; animation: marquee 30s linear infinite; white-space: nowrap; }
.marquee-item { font-family: var(--font-display); font-size: 0.82rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; }
.marquee-dot { color: var(--amber); font-size: 1.1rem; line-height: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.service-card {
  padding: 2rem 1.75rem; background: var(--bg); transition: background var(--transition);
  position: relative; overflow: hidden;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.service-card:nth-child(3n) { border-right: none; }
.service-card:nth-last-child(-n+3) { border-bottom: none; }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber2));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.service-card:hover { background: var(--bg2); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 44px; height: 44px; margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 10px; flex-shrink: 0; background: rgba(245,166,35,0.04);
}
.service-icon svg { width: 19px; height: 19px; stroke: var(--amber); fill: none; stroke-width: 1.5; }
.service-card h3 { font-size: 1rem; margin-bottom: 0.6rem; font-family: var(--font-display); line-height: 1.2; }
.service-card p { font-size: 0.865rem; color: var(--muted); line-height: 1.7; }
.service-card .card-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--amber);
  text-transform: uppercase; letter-spacing: 0.07em; margin-top: 1.25rem; transition: gap var(--transition);
}
.service-card:hover .card-link { gap: 0.85rem; }

/* ============================================================
   ABOUT SPLIT
   ============================================================ */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-visual { position: relative; }
.about-image-box { aspect-ratio: 4/5; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.about-image-box::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(245,166,35,0.08) 0%, transparent 50%),
              repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(245,166,35,0.02) 10px, rgba(245,166,35,0.02) 11px);
}
.about-image-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 5rem; font-weight: 800; color: rgba(245,166,35,0.07); letter-spacing: -0.05em; }
.about-tag-float { position: absolute; bottom: -1.5rem; right: -1.5rem; background: var(--amber); color: #0a0a0a; padding: 1.25rem; font-family: var(--font-display); font-weight: 800; line-height: 1; border-radius: 12px; }
.about-tag-float .big { font-size: 2.25rem; display: block; }
.about-tag-float .small { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.2rem; display: block; }
.values-list { margin-top: 1.75rem; }
.value-item { display: flex; align-items: flex-start; gap: 0.875rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.value-item:last-child { border-bottom: none; }
.value-num { font-family: var(--font-mono); font-size: 0.7rem; color: var(--amber); min-width: 2rem; padding-top: 0.15rem; flex-shrink: 0; }
.value-text h4 { font-family: var(--font-display); font-size: 0.9rem; margin-bottom: 0.2rem; }
.value-text p { font-size: 0.83rem; color: var(--muted); line-height: 1.65; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-filters { display: flex; gap: 0.4rem; margin-bottom: 2.25rem; flex-wrap: wrap; }
.filter-btn {
  font-family: var(--font-mono); font-size: 0.7rem; padding: 0.4rem 1.1rem;
  border: 1px solid var(--border); color: var(--muted); border-radius: 20px;
  transition: var(--transition); text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; background: transparent;
}
.filter-btn:hover, .filter-btn.active { border-color: var(--amber); color: var(--amber); background: rgba(245,166,35,0.06); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.portfolio-item {
  position: relative; overflow: hidden; aspect-ratio: 4/3;
  background: var(--bg2); border: 1px solid var(--border);
  cursor: pointer; transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  border-radius: 10px;
}
.portfolio-item:hover { border-color: rgba(245,166,35,0.35); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.25); }
.portfolio-item.large { grid-column: span 2; aspect-ratio: 8/5; }
.portfolio-thumb {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.portfolio-thumb-label {
  font-family: var(--font-display); font-weight: 800;
  color: rgba(245,166,35,0.08);
  user-select: none; pointer-events: none;
}
/* Dark overlay — uses CSS var so light mode can override */
.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(8,8,8,0.88);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.4rem; opacity: 0; transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-thumb { transform: scale(1.05); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-cat { font-family: var(--font-mono); font-size: 0.65rem; color: var(--amber); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.portfolio-title { font-size: 1.05rem; font-family: var(--font-display); line-height: 1.2; color: #f0ede8; }
.portfolio-desc { font-family: var(--font-mono); font-size: 0.62rem; color: rgba(240,237,232,0.55); margin-top: 0.25rem; line-height: 1.5; }
.portfolio-arrow {
  position: absolute; top: 1.1rem; right: 1.1rem;
  width: 30px; height: 30px; border: 1px solid var(--amber); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent; transition: background var(--transition);
}
.portfolio-item:hover .portfolio-arrow { background: rgba(245,166,35,0.12); }
.portfolio-arrow svg { width: 11px; height: 11px; stroke: var(--amber); fill: none; }

/* Client logos grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2.75rem;
}
.client-logo-cell {
  padding: 1.75rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 800;
  color: rgba(245,245,245,0.1);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  transition: color var(--transition);
  cursor: default;
}
.client-logo-cell:hover { color: rgba(245,166,35,0.4); }
/* Remove right border on last of each row, bottom border on last row */
.client-logo-cell:nth-child(6n)  { border-right: none; }
.client-logo-cell:nth-last-child(-n+6) { border-bottom: none; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.testimonial-card {
  padding: 1.65rem; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; transition: border-color var(--transition), transform var(--transition);
}
.testimonial-card:hover { border-color: rgba(245,166,35,0.25); transform: translateY(-2px); }
.testimonial-quote { font-size: 2rem; color: var(--amber); font-family: var(--font-display); line-height: 0.5; margin-bottom: 0.875rem; }
.testimonial-text { font-size: 0.865rem; color: var(--muted); font-style: italic; margin-bottom: 1.35rem; line-height: 1.7; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 0.7rem; }
.testimonial-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--bg3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 0.75rem; font-weight: 800; color: var(--amber); flex-shrink: 0; }
.testimonial-name { font-family: var(--font-display); font-size: 0.85rem; }
.testimonial-role { font-size: 0.68rem; color: var(--muted); font-family: var(--font-mono); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-split { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info-item { display: flex; align-items: flex-start; gap: 0.875rem; padding: 1.2rem 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(245,166,35,0.04); }
.contact-info-icon svg { width: 15px; height: 15px; stroke: var(--amber); fill: none; stroke-width: 1.5; }
.contact-info-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.2rem; }
.contact-info-value { font-size: 0.875rem; word-break: break-word; }
.form-box { background: var(--bg2); border: 1px solid var(--border); padding: 2.1rem; border-radius: var(--radius-lg); }
.form-group { margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label { display: block; font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--bg3); border: 1px solid var(--border);
  color: var(--white); padding: 0.75rem 0.9rem; font-family: var(--font-body); font-size: 0.875rem;
  border-radius: var(--radius); transition: border-color var(--transition); outline: none; -webkit-appearance: none; appearance: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--amber); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #555; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: var(--bg2); color: var(--white); }
.form-submit { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.1rem; }
.form-status { font-family: var(--font-mono); font-size: 0.75rem; color: var(--amber); }
.form-error { color: var(--danger) !important; }
.form-success { color: #4ade80 !important; }

/* ============================================================
   PAGE HERO (inner)
   ============================================================ */
.page-hero { padding: 5.5rem 0 3.5rem; position: relative; border-bottom: 1px solid var(--border); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 80% 50%, rgba(245,166,35,0.05) 0%, transparent 70%), var(--bg); transition: background 0.4s ease; }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); margin-bottom: 1.1rem; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--amber); }
.breadcrumb .sep { color: var(--border); }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-detailed { display: grid; gap: 1rem; }
.service-detail-card {
  display: grid; grid-template-columns: 65px 1fr auto;
  align-items: center; gap: 1.5rem; padding: 1.65rem 1.85rem;
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: border-color var(--transition), background var(--transition);
}
.service-detail-card:hover { border-color: rgba(245,166,35,0.3); background: var(--bg3); }
.service-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: rgba(245,166,35,0.12); line-height: 1; flex-shrink: 0; }
.service-detail-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; line-height: 1.2; }
.service-detail-card p { font-size: 0.865rem; color: var(--muted); line-height: 1.7; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.6rem; }
.service-tag { font-family: var(--font-mono); font-size: 0.65rem; padding: 0.18rem 0.55rem; background: rgba(245,166,35,0.07); border: 1px solid rgba(245,166,35,0.2); color: var(--amber); border-radius: 20px; }
.service-price { text-align: right; flex-shrink: 0; }
.service-price .from { font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted); }
.service-price .amount { font-family: var(--font-display); font-size: 1.35rem; color: var(--amber); line-height: 1.2; }
.service-price .amount .currency { font-size: 0.95rem; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); margin-top: 3.5rem; border-radius: var(--radius-lg); overflow: hidden; }
.process-step { padding: 2rem 1.5rem; border-right: 1px solid var(--border); }
.process-step:last-child { border-right: none; }
.process-step-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: rgba(245,166,35,0.1); line-height: 1; margin-bottom: 0.8rem; }
.process-step h4 { font-family: var(--font-display); font-size: 0.9rem; margin-bottom: 0.4rem; }
.process-step p { font-size: 0.82rem; color: var(--muted); line-height: 1.7; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; padding: 1.4rem 0; }
.faq-question h4 { font-family: var(--font-display); font-size: 0.975rem; }
.faq-arrow { color: var(--amber); font-size: 1.2rem; flex-shrink: 0; transition: transform var(--transition); line-height: 1; }
.faq-answer { display: none; font-size: 0.875rem; color: var(--muted); line-height: 1.75; padding-bottom: 1.4rem; padding-right: 2rem; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   ABOUT PAGE — TEAM
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.team-card { position: relative; }
.team-photo { aspect-ratio: 3/4; background: var(--bg2); border: 1px solid var(--border); margin-bottom: 0.75rem; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; border-radius: 10px; }
.team-photo-inner { font-family: var(--font-display); font-size: 2.75rem; font-weight: 800; color: rgba(245,166,35,0.09); user-select: none; }
.team-photo.is-founder { border-color: rgba(245,166,35,0.22); }
.team-photo.is-founder .team-photo-inner { color: rgba(245,166,35,0.18); }
.team-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.85); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; opacity: 0; transition: opacity var(--transition); border-radius: 10px; }
.team-card:hover .team-overlay { opacity: 1; }
.team-social { display: flex; gap: 0.5rem; }
.team-social a { width: 30px; height: 30px; border: 1px solid var(--amber); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--amber); font-size: 0.6rem; font-family: var(--font-mono); transition: var(--transition); }
.team-social a:hover { background: var(--amber); color: #0a0a0a; }
.team-name { font-family: var(--font-display); font-size: 0.85rem; line-height: 1.2; }
.team-role { font-family: var(--font-mono); font-size: 0.62rem; color: var(--amber); margin-top: 0.15rem; }
.team-dept { font-size: 0.72rem; color: var(--muted); margin-top: 0.15rem; font-family: var(--font-mono); }
.founder-badge { font-family: var(--font-mono); font-size: 0.55rem; padding: 0.12rem 0.45rem; background: rgba(245,166,35,0.1); border: 1px solid rgba(245,166,35,0.25); color: var(--amber); border-radius: 20px; display: inline-block; margin-top: 0.25rem; }

.skills-bar-list { margin-top: 1.5rem; }
.skill-bar-item { margin-bottom: 1.25rem; }
.skill-bar-header { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.7rem; margin-bottom: 0.4rem; }
.skill-bar-header span:last-child { color: var(--amber); }
.skill-bar-track { height: 3px; background: var(--border); border-radius: 3px; overflow: hidden; }
.skill-bar-fill { height: 100%; background: linear-gradient(90deg, var(--amber), var(--amber2)); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform 1.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.skill-bar-fill.animated { transform: scaleX(1); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); margin-top: 2.5rem; border-radius: var(--radius-lg); overflow: hidden; }
.stat-box { padding: 1.65rem 1.4rem; border-right: 1px solid var(--border); text-align: center; }
.stat-box:last-child { border-right: none; }
.stat-box-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--amber); line-height: 1; }
.stat-box-label { font-family: var(--font-mono); font-size: 0.62rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.35rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 4.5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3.25rem; margin-bottom: 3.25rem; }
.footer-brand p { color: var(--muted); font-size: 0.865rem; margin-top: 0.8rem; max-width: 255px; line-height: 1.7; }
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.footer-logo span { color: var(--amber); }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.865rem; color: var(--muted); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--amber); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); flex-wrap: wrap; gap: 0.75rem; }
.footer-socials { display: flex; gap: 0.6rem; }
.footer-socials a { width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; color: var(--muted); font-family: var(--font-mono); transition: var(--transition); }
.footer-socials a:hover { border-color: var(--amber); color: var(--amber); }

/* ============================================================
   UTILITIES
   ============================================================ */
.bg-alt { background: var(--bg2); transition: background 0.4s ease; }
.text-center { text-align: center; }
.text-center .section-tag { justify-content: center; }
.text-center .section-tag::before { display: none; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }
.cta-banner {
  padding: 5rem 0; text-align: center;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(245,166,35,0.07) 0%, transparent 70%), var(--bg);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background 0.4s ease;
}
.cta-banner h2 { font-size: clamp(1.75rem, 3.8vw, 3.25rem); margin-bottom: 0.8rem; }
.cta-banner p { color: var(--muted); margin-bottom: 2.1rem; }
.fade-up { opacity: 0; transform: translateY(25px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE — 1100px
   ============================================================ */
@media (max-width: 1100px) {
  :root { --sidebar-w: 235px; }
  .container { padding: 0 2.25rem; }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-blob { width: 400px; height: 400px; right: -60px; }
}

/* ============================================================
   RESPONSIVE — 900px (tablet → mobile nav)
   ============================================================ */
@media (max-width: 900px) {
  body { padding-left: 0; padding-top: 58px; }
  .sidebar { transform: translateX(-100%); top: 0; width: 280px; box-shadow: 4px 0 30px rgba(0,0,0,0.5); }
  .sidebar.open { transform: translateX(0); }
  .topbar { display: flex; }
  .container { padding: 0 1.5rem; }
  section { padding: 4rem 0; }
  .page-hero { padding: 4rem 0 3rem; }
  .hero { min-height: calc(100vh - 58px); }
  .hero h1 { font-size: clamp(2.2rem, 7vw, 3.5rem); }
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
  .hero-blob { display: none; }

  /* services 2-col */
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .service-card:nth-child(3n)    { border-right: 1px solid var(--border); }
  .service-card:nth-child(2n)    { border-right: none; }
  .service-card:nth-last-child(-n+2) { border-bottom: none; }

  .about-split { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { display: none; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  /* On tablet, large items still span 2 of 2 cols = full width — fine */
  .portfolio-item.large { grid-column: span 2; aspect-ratio: 16/7; }
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
  .clients-grid .client-logo-cell:nth-child(6n)  { border-right: 1px solid var(--border); } /* reset 6-col */
  .clients-grid .client-logo-cell:nth-last-child(-n+6) { border-bottom: 1px solid var(--border); } /* reset 6-col */
  .clients-grid .client-logo-cell:nth-child(4n)  { border-right: none; }
  .clients-grid .client-logo-cell:nth-last-child(-n+4) { border-bottom: none; }
  .testimonials-track { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .contact-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail-card { grid-template-columns: 1fr; gap: 0.75rem; }
  .service-num { display: none; }
  .service-price { text-align: left; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2)     { border-right: none; }
  .process-step:nth-child(3),
  .process-step:nth-child(4)     { border-top: 1px solid var(--border); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-box:nth-child(2) { border-right: none; }
  .stat-box:nth-child(1), .stat-box:nth-child(2) { border-bottom: 1px solid var(--border); }
  .scroll-indicator { display: none; }
  .about-page-inner { grid-template-columns: 1fr !important; gap: 3rem !important; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ============================================================
   RESPONSIVE — 600px (mobile)
   ============================================================ */
@media (max-width: 600px) {
  .container { padding: 0 1.15rem; }
  section { padding: 3.25rem 0; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .hero-sub { font-size: 0.925rem; }
  .hero-stats { gap: 0; margin-top: 3rem; padding-top: 1.75rem; flex-wrap: wrap; }
  .hero-stat { min-width: 50%; padding: 0.75rem 0; }
  .hero-stat:nth-child(odd) { padding-right: 1rem; }

  /* services 1-col — override all border rules */
  .services-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(n) { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .service-card:last-child { border-bottom: none !important; }

  .portfolio-grid { grid-template-columns: 1fr; gap: 0.875rem; }
  .portfolio-item.large { grid-column: span 1; aspect-ratio: 4/3; }
  /* clients grid: 2 cols on mobile */
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid .client-logo-cell:nth-child(4n)  { border-right: 1px solid var(--border); } /* reset 4-col */
  .clients-grid .client-logo-cell:nth-last-child(-n+4) { border-bottom: 1px solid var(--border); } /* reset 4-col */
  .clients-grid .client-logo-cell:nth-child(2n)  { border-right: none; }
  .clients-grid .client-logo-cell:nth-last-child(-n+2) { border-bottom: none; }
  .clients-grid .client-logo-cell { padding: 1.25rem 0.75rem; font-size: 0.72rem; }
  .testimonials-track { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step:nth-child(n) { border-right: none !important; border-top: none !important; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.875rem; }
  .cta-banner { padding: 3.5rem 0; }
  .hero-actions { gap: 0.75rem; }
  .btn-primary, .btn-ghost { padding: 0.75rem 1.35rem; font-size: 0.75rem; }
  .contact-split { gap: 2rem; }
  .section-sub { margin-bottom: 2.25rem; }
  .sidebar { width: min(280px, calc(100vw - 40px)); }
}

/* ============================================================
   RESPONSIVE — 400px (tiny phones)
   ============================================================ */
@media (max-width: 400px) {
  .hero h1 { font-size: 1.85rem; }
  .hero-stats { margin-top: 2.25rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
  .footer-top { grid-template-columns: 1fr; }
}
