/* ============================================================
   OCEAN — style.css
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg:           #050510;
  --bg-section:   #08081a;
  --card:         rgba(255,255,255,0.04);
  --card-hover:   rgba(255,255,255,0.08);
  --border:       rgba(255,255,255,0.08);
  --border-glow:  rgba(0,212,255,0.4);

  --white:        #ffffff;
  --text:         rgba(255,255,255,0.88);
  --muted:        rgba(255,255,255,0.5);

  --cyan:         #00d4ff;
  --purple:       #7c3aed;
  --gradient:     linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  --gradient-r:   linear-gradient(135deg, #7c3aed 0%, #00d4ff 100%);

  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;

  --nav-h:    72px;
  --radius:   20px;
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --trans:    0.35s var(--ease);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--gradient);
  z-index: 2000;
  transition: width 0.1s linear;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 999;
  transition: background var(--trans), border-color var(--trans), backdrop-filter var(--trans);
}

.header.scrolled {
  background: rgba(5,5,16,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
  position: relative;
  transition: color var(--trans);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width var(--trans);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

/* CTA nav button */
.nav-cta {
  padding: 0.55rem 1.4rem;
  border: 1px solid rgba(0,212,255,0.5);
  border-radius: 100px;
  color: var(--cyan) !important;
  transition: background var(--trans), color var(--trans), border-color var(--trans) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--cyan);
  color: var(--bg) !important;
  border-color: var(--cyan);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: var(--trans);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: var(--font-jp);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans), color var(--trans);
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 0 28px rgba(0,212,255,0.25);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 44px rgba(0,212,255,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
}

.btn-white {
  background: var(--white);
  color: #050510;
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(255,255,255,0.18);
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 8rem 0; }

.section-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.2rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.9;
  max-width: 640px;
  margin-bottom: 4rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 860px;
}

/* Badge */
.hero-badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.28);
  padding: 0.42rem 1.3rem;
  border-radius: 100px;
  margin-bottom: 2.5rem;
  background: rgba(0,212,255,0.06);

  opacity: 0;
  animation: heroFadeDown 0.9s var(--ease) 0.2s forwards;
}

/* Title */
.hero-title {
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1.6rem;
}
.hero-title span {
  display: block;
  opacity: 0;
}
.hero-title span:nth-child(1) { animation: heroFadeUp 0.9s var(--ease) 0.35s forwards; }
.hero-title span:nth-child(2) { animation: heroFadeUp 0.9s var(--ease) 0.55s forwards; }
.hero-title span:nth-child(3) { animation: heroFadeUp 0.9s var(--ease) 0.75s forwards; }

/* Sub */
.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease) 0.95s forwards;
}

/* Actions */
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease) 1.1s forwards;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  opacity: 0;
  animation: heroFadeIn 1s var(--ease) 1.6s forwards;
}
.hero-scroll span {
  font-family: var(--font-en);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: var(--muted);
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

/* ============================================================
   CHALLENGE
   ============================================================ */
.challenge {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(0,212,255,0.04) 50%, var(--bg) 100%);
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-bottom: 4rem;
}

.challenge-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem 2.2rem;
  transition: border-color var(--trans), background var(--trans), transform var(--trans), box-shadow var(--trans);
  overflow: hidden;
}

.challenge-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: linear-gradient(to bottom, #ff6b6b, #ff9f43);
  border-radius: 0 0 3px 3px;
  transition: height 0.45s var(--ease);
}

.challenge-card:hover {
  border-color: rgba(255, 107, 107, 0.35);
  background: var(--card-hover);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(255, 107, 107, 0.07);
}

.challenge-card:hover::before {
  height: 100%;
}

.challenge-icon {
  width: 36px; height: 36px;
  color: #ff9f43;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.challenge-num {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ff9f43;
  background: rgba(255, 159, 67, 0.1);
  border: 1px solid rgba(255, 159, 67, 0.25);
  padding: 0.18rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.challenge-title {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0.85rem;
  color: var(--white);
}

.challenge-desc {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.85;
}

/* Bridge */
.challenge-bridge {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.challenge-bridge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0,212,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.challenge-bridge-label {
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.challenge-bridge-main {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1.8rem;
}

.challenge-bridge-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  margin: 0 auto 1.8rem;
}

.challenge-bridge-sub {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.9;
}

/* Stagger */
.challenge-card:nth-child(1).reveal { transition-delay: 0.05s; }
.challenge-card:nth-child(2).reveal { transition-delay: 0.15s; }
.challenge-card:nth-child(3).reveal { transition-delay: 0.25s; }
.challenge-card:nth-child(4).reveal { transition-delay: 0.35s; }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(124,58,237,0.06) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

/* ---- Graph Card ---- */
.about-graph-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  position: relative;
  overflow: hidden;
}
.about-graph-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0,212,255,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.graph-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.graph-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.graph-badge {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
}

/* SVG Line Animation */
.graph-svg {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1.4rem;
}
.graph-line-path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}
.graph-area {
  opacity: 0;
  transition: opacity 1s ease-out 0.8s;
}
.reveal.visible .graph-line-path {
  stroke-dashoffset: 0;
}
.reveal.visible .graph-area {
  opacity: 1;
}


/* Text block */
.about-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.95;
  margin-bottom: 1.1rem;
}
.about-highlight {
  color: var(--text);
  border-left: 2px solid var(--cyan);
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

/* ============================================================
   SERVICE
   ============================================================ */
.service {
  background: linear-gradient(180deg, rgba(124,58,237,0.05) 0%, var(--bg) 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem 2.2rem;
  transition: border-color var(--trans), background var(--trans), transform var(--trans), box-shadow var(--trans);
  cursor: default;
}
.service-card::after {
  content: attr(data-num);
  position: absolute;
  top: 1.4rem; right: 1.6rem;
  font-family: var(--font-en);
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
}
.service-card:hover {
  border-color: var(--border-glow);
  background: var(--card-hover);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,212,255,0.08);
}

.service-icon {
  width: 44px; height: 44px;
  color: var(--cyan);
  margin-bottom: 1.2rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.4rem;
}

.service-arrow {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--cyan);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity var(--trans), transform var(--trans);
}
.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   PROFILE
   ============================================================ */
.profile {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(0,212,255,0.04) 100%);
}

.profile-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 3.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 100%;
}

.profile-bio {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.95;
  margin-bottom: 1rem;
}

.profile-features {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pf-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--text);
}
.pf-icon {
  color: var(--cyan);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.contact-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.contact-glow-1 {
  width: 500px; height: 500px;
  background: rgba(0,212,255,0.12);
  top: -100px; left: -100px;
}
.contact-glow-2 {
  width: 400px; height: 400px;
  background: rgba(124,58,237,0.14);
  bottom: -80px; right: -80px;
}

.contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.contact-desc {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.95;
  margin-bottom: 3rem;
}
.contact-actions { display: flex; justify-content: center; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem 3.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  padding-bottom: 1.8rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  margin-bottom: 0.55rem;
}

.form-required {
  color: var(--cyan);
  margin-left: 0.2rem;
}

.form-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  border-radius: 0;
  padding: 0.6rem 0;
  color: var(--white);
  font-family: var(--font-jp);
  font-size: 0.95rem;
  transition: border-color var(--trans);
  outline: none;
  width: 100%;
}

.form-input::placeholder {
  color: rgba(255,255,255,0.2);
  font-size: 0.88rem;
}

.form-input:focus {
  border-bottom-color: var(--cyan);
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.35)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  padding-right: 1.8rem;
}

.form-select option {
  background: #0d0d20;
  color: var(--white);
}

.form-textarea {
  resize: none;
  min-height: 100px;
  line-height: 1.8;
}

.form-divider {
  height: 1px;
  background: var(--border);
  margin: 0.4rem 0 2rem;
}

.form-submit {
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.form-submit .btn {
  min-width: 200px;
  justify-content: center;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

/* 送信完了・エラーメッセージ */
.form-message {
  text-align: center;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  display: none;
}
.form-message.success {
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.25);
  color: var(--cyan);
  display: block;
}
.form-message.error {
  background: rgba(255,107,107,0.08);
  border: 1px solid rgba(255,107,107,0.25);
  color: #ff8080;
  display: block;
}

@media (max-width: 640px) {
  .contact-form { padding: 2rem 1.6rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 2.8rem 0;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}
.footer-nav a {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color var(--trans);
}
.footer-nav a:hover { color: var(--cyan); }

.footer-divider { height: 1px; background: var(--border); margin-bottom: 1.8rem; }

.footer-copy {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for service cards */
.service-card:nth-child(1).reveal { transition-delay: 0.05s; }
.service-card:nth-child(2).reveal { transition-delay: 0.15s; }
.service-card:nth-child(3).reveal { transition-delay: 0.25s; }
.service-card:nth-child(4).reveal { transition-delay: 0.35s; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes heroFadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1);   opacity: 1;   transform-origin: top; }
  50%     { transform: scaleY(0.4); opacity: 0.3; transform-origin: top; }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes counterUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .challenge-grid { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }

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

  .profile-card { padding: 2rem 1.6rem; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root { --nav-h: 60px; }

  .section { padding: 5rem 0; }

  /* Hamburger menu */
  .hamburger { display: flex; }

  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5,5,16,0.97);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    z-index: 1000;
  }
  .nav-menu.open { display: flex; }
  .nav-menu .nav-link { font-size: 1.1rem; }

  .hero-title { font-size: 1.9rem; }
  .hero-sub   { font-size: 0.9rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { padding: 0.78rem 1.8rem; font-size: 0.88rem; }

  .about-stats { grid-template-columns: 1fr 1fr; }

  .contact-glow-1 { width: 280px; height: 280px; }
  .contact-glow-2 { width: 220px; height: 220px; }

  .footer-top { flex-direction: column; gap: 1.2rem; }
  .footer-nav { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 1.6rem; }
  .about-stats { grid-template-columns: 1fr; }
  .stat-num   { font-size: 2rem; }
}
