/* ============================================
   Portfolio — styles.css
   Clean, warm, professional design
   Inspired by samdickie.me
   ============================================ */

/* ---------- Reset & Base ---------- */

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

:root {
  --navy: #1e293b;
  --navy-hover: #2d3d53;
  --accent: #4a6fa5;
  --accent-light: #5a7fb5;
  --bg: #f8f7f5;
  --surface: #ffffff;
  --warm: #f3f1ed;
  --border: #e2e0dc;
  --text: #334155;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(30, 41, 59, 0.06);
  --shadow: 0 4px 12px rgba(30, 41, 59, 0.08);
  --shadow-md: 0 8px 24px rgba(30, 41, 59, 0.1);
  --shadow-lg: 0 16px 48px rgba(30, 41, 59, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1100px;
  --section-pad: 120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
}

ul,
ol {
  list-style: none;
}

/* ---------- Container ---------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 247, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: opacity var(--transition);
  text-decoration: none;
}

.nav-logo:hover {
  opacity: 0.8;
  color: var(--navy);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 0.8rem;
  font-weight: 500;
  background: none;
  border: none;
}

.lang-option {
  padding: 4px 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
  border: none;
  background: none;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
}

.lang-option:hover {
  color: var(--navy);
}

.lang-option.active {
  color: var(--accent);
  font-weight: 600;
}

.lang-divider {
  color: var(--border);
  font-weight: 300;
  user-select: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--surface);
  background: var(--navy);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  font-family: var(--font);
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--navy-hover);
  color: var(--surface);
  transform: translateY(-1px);
}

/* Hamburger */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 999;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity var(--transition), transform var(--transition);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), padding-left var(--transition);
  text-decoration: none;
}

.mobile-menu a:hover {
  color: var(--accent);
  padding-left: 8px;
}

.mobile-menu .nav-cta {
  margin-top: 16px;
  text-align: center;
  justify-content: center;
  padding: 14px 24px;
  font-size: 1rem;
}

.mobile-menu .lang-toggle {
  margin-top: 8px;
  justify-content: center;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding-top: calc(72px + var(--section-pad));
  padding-bottom: var(--section-pad);
  background: var(--bg);
}

.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-greeting {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.4;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.hero-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo-frame {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font);
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.btn--primary {
  background: var(--navy);
  color: var(--surface);
  border-color: var(--navy);
}

.btn--primary:hover {
  background: var(--navy-hover);
  border-color: var(--navy-hover);
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn--outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   Section Shared
   ============================================ */

.section-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   Services
   ============================================ */

.services {
  padding: var(--section-pad) 0;
  background: var(--surface);
}

.services .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 18px;
  display: block;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.925rem;
  color: var(--text-light);
  line-height: 1.65;
}

.services-cta {
  text-align: center;
  margin-top: 8px;
}

/* ============================================
   Now / BlackSwanAI
   ============================================ */

.now {
  padding: var(--section-pad) 0;
  background: var(--warm);
}

.now .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.now-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

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

.now-story p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.now-story p:last-child {
  margin-bottom: 0;
}

.now-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.role-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.role-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.role-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.role-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.now-technical {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.now-technical h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.now-technical p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.now-technical p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Products
   ============================================ */

.products {
  padding: var(--section-pad) 0;
  background: var(--surface);
}

.products .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
  line-height: 1.5;
}

.product-tag--ai {
  background: #ede9fe;
  color: #6d28d9;
}

.product-tag--oss {
  background: #dcfce7;
  color: #16a34a;
}

.product-tag--saas {
  background: #dbeafe;
  color: #2563eb;
}

.product-tag--dev {
  background: #fef3c7;
  color: #d97706;
}

.product-tag--tool {
  background: #f3e8ff;
  color: #9333ea;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.product-tagline {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.4;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  flex-grow: 1;
}

.product-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-tech span {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition), color var(--transition);
  margin-top: auto;
  text-decoration: none;
}

.product-link:hover {
  gap: 10px;
  color: var(--navy);
}

/* ============================================
   Approach
   ============================================ */

.approach {
  padding: var(--section-pad) 0;
  background: var(--warm);
}

.approach .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.approach-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.approach-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.approach-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--surface);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.approach-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.approach-card p {
  font-size: 0.925rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ============================================
   About
   ============================================ */

.about {
  padding: var(--section-pad) 0;
  background: var(--surface);
}

.about-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

.about-content p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.highlight {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.highlight strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.highlight span {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

/* ============================================
   Contact
   ============================================ */

.contact {
  padding: var(--section-pad) 0;
  background: var(--warm);
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.contact-inner p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all var(--transition);
  text-decoration: none;
}

.contact-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--surface);
  margin-bottom: 14px;
  display: block;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

.footer h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

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

.footer-products a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
  text-decoration: none;
}

.footer-products a:hover {
  color: var(--surface);
}

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

.footer-social a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  color: var(--surface);
}

.footer-copy {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   Animations
   ============================================ */

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(24px);
}

[data-animate="fade-up"].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-in"] {
  opacity: 0;
  transform: none;
}

[data-animate="fade-in"].visible {
  opacity: 1;
}

[data-animate="fade-left"] {
  opacity: 0;
  transform: translateX(-24px);
}

[data-animate="fade-left"].visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="fade-right"] {
  opacity: 0;
  transform: translateX(24px);
}

[data-animate="fade-right"].visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="scale"] {
  opacity: 0;
  transform: scale(0.95);
}

[data-animate="scale"].visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays for grid children */

[data-animate-delay="1"] {
  transition-delay: 0.1s;
}

[data-animate-delay="2"] {
  transition-delay: 0.2s;
}

[data-animate-delay="3"] {
  transition-delay: 0.3s;
}

[data-animate-delay="4"] {
  transition-delay: 0.4s;
}

[data-animate-delay="5"] {
  transition-delay: 0.5s;
}

[data-animate-delay="6"] {
  transition-delay: 0.6s;
}

/* ============================================
   Responsive — Tablet (960px)
   ============================================ */

@media (max-width: 960px) {
  :root {
    --section-pad: 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-photo {
    order: -1;
  }

  .hero-photo-frame {
    max-width: 320px;
    margin: 0 auto;
  }

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

  .hero-subtitle {
    max-width: 520px;
    margin: 0 auto;
  }

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

  .hero-greeting {
    font-size: 2.25rem;
  }

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

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

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

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

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .nav-links {
    gap: 24px;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

/* ============================================
   Responsive — Mobile (640px)
   ============================================ */

@media (max-width: 640px) {
  :root {
    --section-pad: 56px;
  }

  body {
    font-size: 15px;
  }

  /* Nav — switch to hamburger */

  .nav-links {
    display: none;
  }

  .nav-right .lang-toggle {
    display: none;
  }

  .nav-right .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-inner {
    height: 64px;
  }

  .mobile-menu {
    top: 64px;
  }

  /* Hero */

  .hero {
    padding-top: calc(64px + var(--section-pad));
  }

  .hero-grid {
    gap: 36px;
    padding: 0 20px;
  }

  .hero-greeting {
    font-size: 1.85rem;
  }

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

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

  .hero-photo-frame {
    max-width: 260px;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  /* Sections */

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  .section-label {
    font-size: 0.7rem;
  }

  /* Services */

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

  .service-card {
    padding: 28px 24px;
  }

  /* Now */

  .now-roles {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .now-story p {
    font-size: 0.95rem;
  }

  .now-technical {
    padding: 28px 24px;
  }

  /* Products */

  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-card {
    padding: 24px 20px;
  }

  /* Approach */

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .approach-card {
    padding: 28px 24px;
  }

  /* About */

  .about-content p {
    font-size: 0.95rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 36px;
  }

  .highlight {
    padding: 16px 20px;
  }

  /* Contact */

  .contact-inner p {
    font-size: 0.95rem;
  }

  .contact-links {
    flex-direction: column;
    gap: 12px;
  }

  .contact-links a {
    width: 100%;
    justify-content: center;
  }

  /* Footer */

  .footer {
    padding: 48px 0 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }

  .footer-copy {
    font-size: 0.75rem;
  }

  /* Buttons global */

  .btn {
    padding: 12px 24px;
    font-size: 0.875rem;
  }
}

/* ============================================
   Utility & Misc
   ============================================ */

/* Visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Selection color */
::selection {
  background: rgba(74, 111, 165, 0.15);
  color: var(--navy);
}

/* Smooth scrollbar on webkit */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Print styles */
@media print {
  .nav,
  .footer,
  .nav-toggle,
  .mobile-menu {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .hero {
    padding-top: 0;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
