/* ════════════════════════════════
   1. COLOR SYSTEM — locked
═══════════════════════════════════ */
:root {
  --black-main:    #0B0B0B;
  --black-deep:    #050505;
  --dark-surface:  #141414;
  --dark-mid:      #1e1e1e;
  --dark-border:   #2a2a2a;
  --dark-line:     #333333;

  --light-warm:    #cfcfcf;
  --light-soft:    #c2c2c2;
  --light-card:    #e8e8e8;
  --light-border:  rgba(0,0,0,0.12);

  --text-primary:  #EDEDED;
  --text-secondary:#A1A1A1;
  --text-dim:      #666462;

  --accent-red:    #D62828;
  --accent-soft:   #B81F1F;

  /* Spacing system */
  --gap-section:   140px;
  --gap-inner:     52px;
  --gap-micro:     20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--black-main);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ════════════════════════════════
   CURSOR
═══════════════════════════════════ */
.cursor {
  width: 7px; height: 7px;
  background: var(--accent-red);
  border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.15s ease, background 0.2s;
}
.cursor-ring {
  width: 28px; height: 28px;
  border: 1px solid rgba(214,40,40,0.3);
  border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
}

/* NAV */
#main-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  height: 64px !important;
  background: #0b0b0b !important;
  border-bottom: 1px solid #2a2a2a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.nav-inner {
  width: 100% !important;
  max-width: 1260px !important;
  height: 64px !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  padding-left: 48px !important;
  box-sizing: border-box !important;
}
.nav-logo {
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  min-width: 160px !important;
  font-family: 'Syne', sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #ededed !important;
  letter-spacing: -0.02em !important;
  text-transform: uppercase !important;
}
.nav-logo img {
  height: 50px !important;
  width: auto !important;
  display: block !important;
}
.nav-links {
  display: flex !important;
  align-items: stretch !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-left: 1px solid #444 !important;
}
.nav-links li {
  display: flex !important;
  align-items: stretch !important;
  border-right: 1px solid #444 !important;
}
.nav-links li a {
  display: flex !important;
  align-items: center !important;
  padding: 0 28px !important;
  height: 64px !important;
  text-decoration: none !important;
  color: #a1a1a1 !important;
  font-family: 'DM Mono', monospace !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}
.nav-links li a:hover {
  color: #ededed !important;
  background: rgba(255,255,255,0.05) !important;
}
.nav-links li:last-child a {
  color: #d62828 !important;
  background: rgba(214,40,40,0.06) !important;
}
.nav-links li:last-child a:hover {
  background: #d62828 !important;
  color: #fff !important;
}

/* ════════════════════════════════
   HERO — #0B0B0B, refined
═══════════════════════════════════ */
.hero {
  background: var(--black-main);
  min-height: 100vh; display: grid;
  grid-template-rows: 1fr auto;
  position: relative; padding-top: 64px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(214,40,40,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,40,40,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 70% at 20% 50%, black 20%, transparent 100%);
}
.hero-bar {
  position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--accent-red) 0%, rgba(184,31,31,0.3) 70%, transparent 100%);
}
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 48px 60px;
  max-width: 1260px; margin: 0 auto; width: 100%;
  position: relative; z-index: 2;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 52px;
  opacity: 0; animation: fadeUp 0.7s ease 0.2s forwards;
}
.hero-dot {
  width: 5px; height: 5px; background: var(--accent-red);
  border-radius: 50%; animation: blink 3s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero-tag-text {
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; color: var(--text-dim); text-transform: uppercase;
}
.sep { color: var(--dark-line); }

/* 3. HERO TYPOGRAPHY — engineered not styled */
.hero-headline {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(52px, 6.8vw, 100px); max-width: 620px;
  line-height: 1.08; letter-spacing: -0.025em; text-transform: uppercase;
  margin-bottom: 48px;
  opacity: 0; animation: fadeUp 0.8s ease 0.35s forwards;
}
.h-line1 { display: block; color: var(--text-primary); }
.h-line2 {
  display: block;
  color: rgba(237,237,237,0.22);  /* opacity fade, not outline */
  margin-top: 4px;
}
.h-line3 { display: block; color: var(--accent-red); margin-top: 4px; }

.hero-bottom {
  display: grid; grid-template-columns: 5fr 4fr; gap: 80px; align-items: end;
  opacity: 0; animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-desc {
  font-size: 18px; font-weight: 400; color: var(--text-secondary);
  line-height: 1.75; max-width: 500px; padding-bottom: 6px;
}
.hero-desc strong { color: var(--text-primary); font-weight: 500; }
.hero-actions { margin-top: 36px; display: flex; gap: 16px; align-items: center; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 26px;
  background: var(--accent-red); color: #fff;
  text-decoration: none; font-family: 'DM Mono', monospace;
  font-size: 11px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 0.25s;
}
.btn-primary:hover { background: var(--accent-soft); }
.btn-primary svg { width: 13px; height: 13px; transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 12px 22px; border: 1px solid var(--dark-border);
  color: var(--text-secondary); text-decoration: none;
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--text-dim); color: var(--text-primary); }

/* 4. QUIET AUTHORITY ROW — replaces ticker */
.authority-row {
  background: var(--black-main);
  border-top: 1px solid var(--dark-border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.authority-item {
  padding: 28px 0;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--dark-border);
  transition: background 0.2s;
}
.authority-item:last-child { border-right: none; }
.authority-item:hover { background: rgba(255,255,255,0.015); }
.authority-item span {
  font-family: 'DM Mono', monospace; font-size: 10px;
  font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}
.authority-item:hover span { color: var(--text-secondary); }

/* Stats — quiet authority */
.hero-stats {
  background: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-stat {
  padding: 36px 44px; border-right: 1px solid var(--dark-border);
  display: flex; flex-direction: column; gap: 10px;
  transition: background 0.25s;
}
.hero-stat:last-child { border-right: none; }
.hero-stat:hover { background: rgba(255,255,255,0.02); }
.stat-num {
  font-family: 'Instrument Serif', serif; font-size: 44px;
  color: var(--text-primary); line-height: 1;
  display: flex; align-items: baseline; gap: 3px;
}
.stat-num sup { font-family: 'DM Mono', monospace; font-size: 16px; color: var(--accent-red); }
.stat-rule { width: 20px; height: 1px; background: var(--accent-red); }
.stat-label {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); line-height: 1.6;
}



/* ════════════════════════════════
   SECTION COMMON
═══════════════════════════════════ */
.eyebrow {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-red);
  margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--accent-red); }

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 800; line-height: 1.06; letter-spacing: clamp(-0.018em, -0.02vw, -0.012em);
  text-transform: uppercase;
}
.section-title em { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--dark-line); }

/* ════════════════════════════════
   5. SERVICES — #141414
═══════════════════════════════════ */
.services-section {
  background: var(--dark-surface);
  padding: var(--gap-section) 48px;
}
.services-inner { max-width: 1260px; margin: 0 auto; }
.services-header {
  display: grid; grid-template-columns: auto 1fr; gap: 60px;
  align-items: end; margin-bottom: 72px;
}
.services-header .section-title { color: var(--text-primary); }
.services-header .section-title em { font-style: normal; color: #555; -webkit-text-stroke: 0px; }
.services-intro {
  font-size: 17px; color: var(--text-secondary); line-height: 1.8;
  max-width: 380px; align-self: end;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--dark-border);
}
.service-card {
  background: var(--dark-surface); padding: 56px 44px;
  position: relative; overflow: hidden; transition: background 0.3s;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 44px; right: 44px;
  height: 1px; background: var(--accent-red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}
.service-card:hover { background: var(--dark-mid); }
.service-card:hover::after { transform: scaleX(1); }
/* 5C: Numbers structural not decorative */
.service-num {
  font-family: 'Instrument Serif', serif; font-size: 80px;
  color: rgba(255,255,255,0.06); line-height: 1; margin-bottom: 24px;
}
.service-title {
  font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 16px; letter-spacing: -0.01em; 
}
.service-desc {
  font-size: 16px; color: var(--text-secondary); line-height: 1.8;
  max-width: 360px; /* 5B: limit paragraph width */
}

/* ════════════════════════════════
   6. STATEMENT
═══════════════════════════════════ */
.statement {
  background: var(--dark-mid);
  border-top: 1px solid var(--dark-border); border-bottom: 1px solid var(--dark-border);
  padding: 100px 48px; position: relative; overflow: hidden;
}
.statement-inner {
  max-width: 1260px; margin: 0 auto;
  display: grid; grid-template-columns: 3fr 2fr; gap: 100px; align-items: center;
}
.statement-quote {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(24px, 3vw, 42px); font-style: italic;
  color: var(--text-secondary); line-height: 1.5;
}
.statement-quote strong { font-style: normal; color: var(--text-primary); font-weight: 400; }
.statement-quote .accent { color: var(--accent-red); font-style: normal; }
.statement-right-label {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-red); margin-bottom: 20px;
}
/* 6: reduce paragraph length, increase line height */
.statement-body {
  font-size: 16px; color: var(--text-dim); line-height: 1.9;
  max-width: 300px;
}

/* ════════════════════════════════
   7. PORTFOLIO — #F1EFEA light
═══════════════════════════════════ */
.portfolio-section {
  background: linear-gradient(
  to bottom,
  #141414 0%,
  #181818 100%
);
padding: var(--gap-section) 48px; border-top: 1px solid var(--dark-border);
}
.portfolio-inner { max-width: 1260px; margin: 0 auto; }
.portfolio-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px;
}
.portfolio-section .eyebrow { color: var(--accent-red); }
.portfolio-section .eyebrow::before { background: var(--accent-red); }
.portfolio-section .section-title { color: var(--text-primary); }
.portfolio-section .section-title em { color: var(--text-secondary); -webkit-text-stroke: 0; }

.link-text {
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none;
  border-bottom: 1px solid #c0bdb6; padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.link-text:hover { color: var(--accent-red); border-color: var(--accent-red); }
.link-text::after { content: ' →'; }

/* 7C: Cards feel like objects */
.port-featured { display: grid; grid-template-columns: 3fr 2fr; gap: 20px; margin-bottom: 20px; }
.port-secondary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.port-card {
  background: #0D0D0D; text-decoration: none; display: block;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s cubic-bezier(0.23,1,0.32,1), box-shadow 0.3s;
  position: relative; overflow: hidden;
}
/* 7D: subtle lift on hover */
.port-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

.port-card-img { width: 100%; overflow: hidden; }
.port-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1), filter 0.4s;
  filter: brightness(0.95);
}
.port-card:hover .port-card-img img { transform: scale(1.03); filter: brightness(1); }

/* 7C: increased padding */
.port-body { padding: 32px 36px 36px; border-top: 1px solid var(--light-border); }
.port-body.sm { padding: 24px 28px 28px; }
.port-tag {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent-red); margin-bottom: 10px;
}
.port-title {
  font-family: 'Syne', sans-serif; font-size: 19px; font-weight: 700;
  color: #EDEDED; margin-bottom: 8px; letter-spacing: -0.01em; line-height: 1.2;
  transition: color 0.2s;
}
.port-card:hover .port-title { color: var(--accent-red); }
.port-title.lg { font-size: 26px; margin-bottom: 12px; }
.port-meta {
  font-family: 'DM Mono', monospace; font-size: 11px;
  color: #9a9590; letter-spacing: 0.08em; line-height: 1.7;
}

/* "More" card */
.port-more {
  background: var(--dark-surface); border: 1px solid var(--dark-border);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; min-height: 260px;
  transition: background 0.25s;
}
.port-more:hover { background: var(--dark-mid); transform: none; box-shadow: none; }
.port-more-inner { text-align: center; padding: 40px; }
.port-more-label {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 16px;
}
.port-more-items {
  font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 24px;
  letter-spacing: -0.01em; line-height: 1.6;
}
.port-more-cta {
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-red);
  border-bottom: 1px solid rgba(214,40,40,0.3); padding-bottom: 4px;
}

/* ════════════════════════════════
   8. ABOUT — #141414
═══════════════════════════════════ */
.about-section {
  background: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  padding: var(--gap-section) 48px;
}
.about-inner {
  max-width: 1260px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start;
}
.about-section .section-title { color: var(--text-primary); }
/* 8A: hierarchy on title */
.about-section .section-title .t-bold { color: var(--text-primary); }
.about-section .section-title .t-soft {
  color: var(--text-secondary); font-weight: 600;
}
.about-body {
  font-size: 17px; color: var(--text-secondary); line-height: 1.9; margin-top: 36px;
  max-width: 540px;
}
.about-body p + p { margin-top: 22px; }
.about-body strong { color: var(--text-primary); font-weight: 500; }
.about-cta { margin-top: 48px; }

/* 8C: Timeline — dimmer, more spaced */
.timeline { padding-top: 4px; }
.tl-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--dark-border);
  transition: border-color 0.2s;
}
.tl-item:hover { border-color: rgba(214,40,40,0.25); }
.tl-item:first-child { border-top: 1px solid var(--dark-border); }
.tl-year {
  font-family: 'DM Mono', monospace; font-size: 11px;
  color: rgba(214,40,40,0.6); letter-spacing: 0.08em; padding-top: 2px;
}
.tl-text {
  font-size: 16px; color: var(--text-dim); line-height: 1.75;
}
.tl-text strong { color: var(--text-secondary); font-weight: 500; }

/* ════════════════════════════════
   9. AI — #050505 deep
═══════════════════════════════════ */
.ai-section {
  background: var(--black-deep);
  border-top: 1px solid var(--dark-border);
  padding: var(--gap-section) 48px;
  position: relative; overflow: hidden;
}
.ai-section::before {
  content: 'AI'; position: absolute; right: -30px; top: -20px;
  font-family: 'Syne', sans-serif; font-size: 300px; font-weight: 800;
  color: rgba(214,40,40,0.03); line-height: 1; pointer-events: none;
}
.ai-inner { max-width: 1260px; margin: 0 auto; }
.ai-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end;
  margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--dark-border);
}
.ai-section .section-title { color: var(--text-primary); }
.ai-section .section-title em { color: #555; -webkit-text-stroke: 0; }
/* 9: shorter intro */
.ai-intro { font-size: 17px; color: var(--text-secondary); line-height: 1.8; align-self: end; max-width: 440px; }
.ai-intro strong { color: var(--text-primary); font-weight: 500; }
.ai-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--dark-border); }
.ai-card {
  background: var(--black-deep); padding: 52px 48px;
  position: relative; overflow: hidden; transition: background 0.3s;
}
.ai-card:hover { background: #0d0d0d; }
.ai-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0;
  background: var(--accent-red); transition: height 0.4s cubic-bezier(0.23,1,0.32,1);
}
.ai-card:hover::before { height: 100%; }
.ai-num {
  font-family: 'DM Mono', monospace; font-size: 10px;
  color: var(--accent-red); letter-spacing: 0.18em; margin-bottom: 20px;
}
.ai-title {
  font-family: 'Syne', sans-serif; font-size: 19px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 14px; letter-spacing: -0.01em;
}
/* 9: reduce text weight */
.ai-desc { font-size: 16px; color: var(--text-dim); line-height: 1.85; }

/* ════════════════════════════════
   10. CTA — red, refined
═══════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-soft) 100%);
  padding: 120px 48px; /* 10: increased padding */
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-inner {
  max-width: 1260px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
/* 10B: reduce tracking */
.cta-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4.2vw, 60px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.02em; /* reduced from -0.03em */
  text-transform: uppercase; color: #fff;
}
.cta-note {
  font-size: 17px; color: rgba(255,255,255,0.68);
  line-height: 1.85; margin-bottom: 48px;
}
/* 10C: clean grid for contact details */
.cta-links { display: flex; flex-direction: column; }
.cta-link {
  display: grid; grid-template-columns: 88px 1fr; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.15);
  text-decoration: none; align-items: center; transition: border-color 0.2s;
}
.cta-link:first-child { border-top: 1px solid rgba(255,255,255,0.15); }
.cta-link:hover { border-color: rgba(255,255,255,0.4); }
.cta-link-label {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.cta-link-val { font-size: 16px; font-weight: 500; color: #fff; }

/* ════════════════════════════════
   FOOTER
═══════════════════════════════════ */
footer {
  background: var(--black-deep);
  border-top: 1px solid var(--dark-border);
  padding: 36px 48px;
}
.footer-inner {
  max-width: 1260px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo img { height: 24px; }
.footer-copy {
  font-family: 'DM Mono', monospace; font-size: 11px;
  color: var(--dark-line); letter-spacing: 0.08em;
}
.footer-nav { display: flex; gap: 28px; }
.footer-nav a {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none; transition: color 0.2s;
}
.footer-nav a:hover { color: var(--accent-red); }

/* ════════════════════════════════
   ANIMATIONS
═══════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */

/* Base: hamburger and drawer hidden on desktop */
/* MOBILE NAV */
.hamburger {
  display: none;
}

@media (max-width: 760px) {
  #main-nav {
    height: 64px !important;
  }

  .nav-inner {
    padding: 0 20px !important;
    align-items: center !important;
  }

  .nav-logo img {
    height: 54px !important;
  }

  .hamburger {
    display: flex;
    width: 44px;
    height: 44px;
    border: 1px solid var(--dark-border);
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10001;
  }

  .hamburger span {
    width: 18px;
    height: 1px;
    background: var(--text-primary);
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-links {
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    background: #0B0B0B !important;
    border-top: 1px solid var(--dark-border) !important;
    border-left: none !important;
    z-index: 10000 !important;
  }

  .nav-links.open {
    display: flex !important;
  }

  .nav-links li {
    border-right: none !important;
    border-bottom: 1px solid var(--dark-border) !important;
  }

  .nav-links li a {
    height: auto !important;
    padding: 22px 24px !important;
    justify-content: flex-start !important;
    font-size: 11px !important;
    letter-spacing: 0.16em !important;
  }

  .nav-links li:last-child a {
    background: rgba(214,40,40,0.08) !important;
  }
    
  .nav-links li {
    width: 100% !important;
  }

  .nav-links li a {
    width: 100% !important;
    display: flex !important;
    box-sizing: border-box !important;
  }

  .nav-links li a:hover {
    background: rgba(255,255,255,0.05) !important;
  }

  .nav-links li:last-child a:hover {
    background: var(--accent-red) !important;
    color: #fff !important;
  }    
}
@media (max-width: 960px) {
  .nav-inner { padding: 0 24px; }
  .nav-links a { padding: 0 14px; font-size: 10px; }

  .hero-content { padding: 60px 24px 48px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 40px; }
  .authority-row { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .services-section, .portfolio-section, .about-section, .ai-section, .statement { padding: 80px 24px; }
  .services-header, .ai-header { grid-template-columns: 1fr; gap: 24px; }
  .services-grid, .ai-grid { grid-template-columns: 1fr; }
  .statement-inner, .about-inner, .cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .port-featured { grid-template-columns: 1fr; gap: 12px; }
  .port-secondary { grid-template-columns: 1fr; gap: 12px; }
  .portfolio-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta-section { padding: 80px 24px; }
  footer { padding: 28px 24px; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 600px) {
  .authority-row { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}