:root {
  --bg:            #f7f9fc;
  --bg-elev:       #ffffff;
  --bg-elev-2:     #eef3fb;
  --border:        #dde5f0;
  --border-strong: #c5d0e4;
  --text:          #0d1424;
  --text-sub:      #5a6a8a;
  --accent:        #2563eb;
  --accent-hover:  #1d4ed8;
  --accent-soft:   rgba(37,99,235,0.08);
  --warm:          #f97316;
  --green:         #10b981;
  --yellow:        #f59e0b;
  --pink:          #ec4899;
  --shadow-sm:  0 1px 3px rgba(15,30,60,0.06), 0 1px 2px rgba(15,30,60,0.04);
  --shadow-md:  0 8px 30px -8px rgba(15,30,60,0.16), 0 4px 12px -4px rgba(15,30,60,0.08);
  --shadow-lg:  0 24px 60px -16px rgba(15,30,60,0.22), 0 10px 24px -10px rgba(15,30,60,0.10);
  --shadow-xl:  0 40px 80px -20px rgba(15,30,60,0.28);
  --max-width:  1100px;
  --radius:     14px;
  --radius-sm:  10px;
  --transition: 0.3s cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Noto Sans JP', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Preloader ===== */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: #0b1220;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.pl-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pl-logo {
  font-family: 'Outfit', sans-serif; font-size: 4.5rem; font-weight: 900;
  color: #fff; line-height: 1;
  animation: plPulse 1s ease-in-out infinite alternate;
}
.pl-logo span { color: #f97316; }
.pl-bar {
  width: 200px; height: 3px; background: rgba(255,255,255,0.1);
  border-radius: 3px; overflow: hidden;
}
.pl-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, #2563eb, #7c3aed, #f97316);
  border-radius: 3px;
  animation: plLoad 1.5s cubic-bezier(.4,0,.2,1) 0.2s forwards;
}
.pl-text {
  font-size: 0.68rem; color: rgba(255,255,255,0.3);
  letter-spacing: 0.28em; text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  animation: plDots 1.2s steps(4, end) infinite;
}
@keyframes plPulse {
  from { opacity: 0.75; transform: scale(0.96); }
  to   { opacity: 1;    transform: scale(1.04); }
}
@keyframes plLoad { from { width: 0; } to { width: 100%; } }
@keyframes plDots {
  0%   { content: 'Loading'; }
  25%  { opacity: 0.5; }
  50%  { opacity: 0.8; }
  75%  { opacity: 0.5; }
  100% { opacity: 1; }
}

/* ===== Custom cursor ===== */
@media (pointer: fine) {
  body { cursor: none; }
  a, button, [role="button"], input, textarea, select, label { cursor: none; }
}
#cursor-dot {
  position: fixed; z-index: 9998; pointer-events: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: #1d4ed8;
  left: -100px; top: -100px; /* off-screen until JS sets real position */
  transform: translate(-50%, -50%);
  transition: width 0.18s ease, height 0.18s ease, background 0.18s ease, opacity 0.3s ease;
  opacity: 0;
}
#cursor-ring {
  position: fixed; z-index: 9997; pointer-events: none;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid rgba(59,130,246,0.55);
  left: -100px; top: -100px; /* off-screen until JS sets real position */
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, opacity 0.3s ease;
  opacity: 0;
}
/* Hover state on interactive elements */
body.cur-hover #cursor-dot {
  width: 10px; height: 10px; background: var(--accent);
}
body.cur-hover #cursor-ring {
  width: 46px; height: 46px; border-color: rgba(37,99,235,0.35);
}
/* Click ripple */
body.cur-click #cursor-ring {
  width: 24px; height: 24px; border-color: rgba(37,99,235,0.8);
}
/* Hide on touch */
@media (pointer: coarse) {
  #cursor-dot, #cursor-ring { display: none; }
}

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--warm), var(--green));
  z-index: 200;
  transition: width 0.1s linear;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 64px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(221,229,240,0.7);
  z-index: 100;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(15,30,60,0.1); }
.nav-inner {
  max-width: var(--max-width); height: 100%;
  margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 900; letter-spacing: 0.05em; font-size: 1.15rem; color: var(--text);
}
.nav-logo span { color: var(--warm); }
.nav-links {
  display: flex; gap: 26px; list-style: none;
  margin: 0; padding: 0; align-items: center;
}
.nav-links a {
  font-size: 0.88rem; color: var(--text-sub);
  transition: color var(--transition); position: relative; font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: ''; position: absolute;
  left: 0; bottom: -6px; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--warm));
  transition: width var(--transition); border-radius: 2px;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.nav-cta {
  background: var(--accent); color: #fff;
  padding: 8px 22px; border-radius: 999px;
  font-weight: 700; font-size: 0.85rem;
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: var(--accent-hover); color:#fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37,99,235,0.45); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; }

/* ===== Hero ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: url('../images/hero-bg.jpg') center 30% / cover no-repeat;
  max-width: none;
  margin: 0;
  padding: 0;
}
/* Gradient overlay — opaque left (text side), transparent right */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(247,249,252,0.92) 0%,
    rgba(247,249,252,0.82) 38%,
    rgba(247,249,252,0.60) 62%,
    rgba(247,249,252,0.30) 100%
  );
  z-index: 0;
}
/* Subtle warm tint from the photo bleeds through */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(247,249,252,0.35) 100%
  );
  z-index: 0;
}

.hero {
  min-height: 100vh;
  display: flex; align-items: center; gap: 56px;
  padding: 120px 24px 80px;
  max-width: var(--max-width);
  margin: 0 auto; position: relative;
  z-index: 1;
}

/* Background decorative blob */
.hero-bg-blob {
  position: absolute;
  top: 50%; right: -80px;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, rgba(249,115,22,0.03) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: blobPulse 8s ease-in-out infinite;
}
@keyframes blobPulse {
  0%,100% { transform: translateY(-50%) scale(1); opacity: 1; }
  50%      { transform: translateY(-50%) scale(1.1); opacity: 0.7; }
}

.hero-content {
  flex: 1; min-width: 0;
  animation: heroIn 0.9s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-family: 'Outfit', sans-serif;
  color: var(--accent); font-weight: 700; letter-spacing: 0.14em;
  background: var(--accent-soft);
  padding: 6px 16px; border-radius: 999px;
  border: 1px solid rgba(37,99,235,0.18);
  margin-bottom: 28px;
}
.hero-tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--green); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  font-weight: 900; line-height: 1.0;
  margin: 0 0 8px; letter-spacing: -0.02em;
}
.name-accent {
  background: linear-gradient(130deg, #1d4ed8 0%, #2563eb 35%, #7c3aed 70%, #db2777 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 5s ease-in-out infinite;
}
@keyframes gradShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.name-dot { color: var(--warm); }

.hero-catch {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 700; color: var(--text);
  margin: 0 0 16px; line-height: 1.65; max-width: 540px;
}
.hero-sub {
  font-size: clamp(0.88rem, 1.4vw, 0.98rem);
  color: var(--text-sub); margin: 0 0 36px;
  max-width: 520px; line-height: 2.0;
}

/* Hero CTAs */
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.cta {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px;
  background: var(--accent); color: #fff;
  border: 2px solid var(--accent); border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  font-family: inherit;
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
  overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: left 0.65s ease;
}
.cta:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(37,99,235,0.45); }
.cta:hover::before { left: 130%; }
.cta svg { width: 16px; height: 16px; }
.cta--outline {
  background: transparent; color: var(--text);
  border-color: var(--border-strong); box-shadow: none;
}
.cta--outline:hover {
  background: var(--bg-elev-2); border-color: var(--accent);
  color: var(--accent); box-shadow: none;
}

/* Hero Stats */
.hero-stats {
  display: flex; align-items: center;
  border-top: 1px solid var(--border); padding-top: 32px;
  flex-wrap: wrap;
}
.hero-stat-item { display: flex; flex-direction: column; padding-right: 32px; }
.hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900; color: var(--text); line-height: 1;
}
.stat-plus { font-size: 0.55em; vertical-align: super; color: var(--accent); font-weight: 700; }
.hero-stat-label { font-size: 0.76rem; color: var(--text-sub); margin-top: 4px; }
.hero-stat-divider {
  width: 1px; height: 42px;
  background: var(--border-strong); margin-right: 32px; flex-shrink: 0;
}

/* Hero Visual (Mockup) */
.hero-visual {
  flex: 0 0 460px;
  position: relative;
  animation: slideInRight 0.95s cubic-bezier(.2,.8,.2,1) 0.2s both;
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Browser Mockup */
.hero-mockup {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  transform: perspective(800px) rotateY(-3deg) rotateX(1deg);
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1), box-shadow 0.6s ease;
}
.hero-visual:hover .hero-mockup {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg);
  box-shadow: var(--shadow-lg);
}
.mockup-bar {
  background: #f0f2f5;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 11px; height: 11px; border-radius: 50%;
}
.mockup-dot.r { background: #ff5f57; }
.mockup-dot.y { background: #ffbd2e; }
.mockup-dot.g { background: #28ca41; }
.mockup-url {
  flex: 1; background: #fff;
  border-radius: 6px; padding: 4px 10px;
  font-size: 11px; color: #888;
  font-family: 'Outfit', sans-serif;
  margin: 0 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  border: 1px solid var(--border);
}
.mockup-screen img {
  width: 100%; display: block;
  aspect-ratio: 16/9; object-fit: cover; object-position: top;
  transition: transform 0.6s ease;
}
.hero-visual:hover .mockup-screen img { transform: scale(1.03); }

/* Floating Badges */
.hero-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.badge-icon { font-size: 1.4rem; line-height: 1; }
.badge-title { font-size: 0.82rem; font-weight: 700; color: var(--text); }
.badge-sub   { font-size: 0.72rem; color: var(--text-sub); margin-top: 1px; }
.badge-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(16,185,129,0.5);
  animation: pulse 1.8s ease-out infinite;
}

.badge-1 {
  bottom: -22px; left: -28px;
  animation: float1 6s ease-in-out infinite;
}
.badge-2 {
  top: 20px; right: -36px;
  animation: float2 7s ease-in-out infinite;
}
.badge-3 {
  bottom: 80px; right: -40px;
  animation: float1 5s ease-in-out infinite;
  animation-delay: -2s;
}
@keyframes float1 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes float2 {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(1deg); }
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  animation: heroIn 1s ease 0.6s both;
}
.hero-scroll-indicator span {
  font-family: 'Outfit', sans-serif; font-size: 0.62rem;
  letter-spacing: 0.22em; color: var(--text-sub);
  writing-mode: vertical-rl; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--border-strong), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1; transform: scaleY(1.2); }
}

/* ===== Marquee Ticker ===== */
.marquee-section {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
  padding: 14px 0;
}
.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex; align-items: center; gap: 28px;
  white-space: nowrap; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-section:hover .marquee-inner { animation-play-state: paused; }
.marquee-inner span {
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.1em;
  color: var(--text-sub); text-transform: uppercase;
}
.marquee-inner .dot { font-size: 0.4rem; color: var(--accent); opacity: 0.5; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== Section heading with watermark number ===== */
.section-heading { position: relative; margin-bottom: 52px; }
.section-num {
  position: absolute; top: -24px; left: -8px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(4.5rem, 10vw, 9rem);
  font-weight: 900; line-height: 1;
  color: rgba(37,99,235,0.055);
  pointer-events: none; user-select: none; letter-spacing: -0.04em;
}

/* ===== Sections ===== */
section {
  padding: 112px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900; margin: 0 0 8px;
  letter-spacing: 0.01em; position: relative; z-index: 1;
}
.section-title .accent {
  background: linear-gradient(135deg, var(--accent), var(--warm));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-subtitle { color: var(--text-sub); margin: 0; font-size: 0.92rem; letter-spacing: 0.05em; }

/* ===== Skills ===== */
.skills-group-label {
  font-family: 'Outfit', sans-serif; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--text-sub); margin: 0 0 16px; font-weight: 700;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.skill-card {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex; align-items: center; gap: 14px;
  position: relative; overflow: hidden;
}
.skill-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--warm));
  transform: scaleX(0); transform-origin: left; border-radius: 3px 3px 0 0;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.skill-card:hover::before { transform: scaleX(1); }
.skill-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(37,99,235,0.07), transparent 40%);
  opacity: 0; transition: opacity var(--transition); pointer-events: none;
}
.skill-card:hover::after { opacity: 1; }
.skill-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.3); }

/* Colored icon squares */
.skill-icon {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-size: 0.78rem; font-weight: 900;
  color: #fff; letter-spacing: 0.02em;
}
.skill-icon span { line-height: 1; }
.sk--java  { background: linear-gradient(135deg, #c2410c, #f97316); }
.sk--html  { background: linear-gradient(135deg, #b45309, #f59e0b); }
.sk--js    { background: linear-gradient(135deg, #a16207, #eab308); color: #1a0a00; }
.sk--cloud { background: linear-gradient(135deg, #1d4ed8, #38bdf8); }

.skill-info { flex: 1; min-width: 0; }
.skill-name { font-weight: 700; font-size: 0.96rem; margin-bottom: 3px; color: var(--text); }
.skill-desc { font-size: 0.76rem; color: var(--text-sub); line-height: 1.6; }
.skill-exp-tag {
  flex-shrink: 0; font-size: 0.68rem; font-weight: 700;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid rgba(37,99,235,0.2);
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  font-family: 'Outfit', sans-serif; letter-spacing: 0.05em;
}

/* Service list */
.services-list { display: flex; flex-direction: column; gap: 10px; }
.service-item {
  display: flex; align-items: center; gap: 20px;
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 22px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.service-item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--warm));
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.service-item:hover::before { transform: scaleY(1); }
.service-item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.3); }
.service-item-icon {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  background: var(--accent-soft); border: 1px solid rgba(37,99,235,0.15);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
  transition: background var(--transition);
}
.service-item:hover .service-item-icon { background: var(--accent); color: #fff; }
.service-item-icon svg { width: 20px; height: 20px; }
.service-item-body { flex: 1; }
.service-item-name { font-weight: 700; font-size: 0.98rem; margin: 0 0 4px; color: var(--text); }
.service-item-desc { font-size: 0.82rem; color: var(--text-sub); line-height: 1.7; margin: 0; }
.service-item-tag {
  flex-shrink: 0; font-size: 0.68rem; font-weight: 700; font-family: 'Outfit', sans-serif;
  color: var(--text-sub); background: var(--bg-elev-2);
  border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 999px; letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ===== Certifications ===== */

/* Featured card */
.cert-featured {
  display: flex; align-items: center; gap: 32px;
  background: linear-gradient(120deg, #0c1a3e 0%, #1e3a8a 55%, #1d4ed8 100%);
  border-radius: 20px; padding: 36px 40px;
  margin-bottom: 20px; position: relative; overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(37,99,235,0.45);
}
.cert-featured::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.cert-featured::after {
  content: ''; position: absolute; bottom: -40px; left: 30%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.cert-featured-left { display: flex; flex-direction: column; align-items: center; gap: 10px; flex-shrink: 0; position: relative; z-index: 1; }
.cert-tier-pill {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em;
  color: #fcd34d; background: rgba(252,211,77,0.15); border: 1px solid rgba(252,211,77,0.35);
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.cert-featured-badge {
  width: 76px; height: 76px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 900;
  color: #fff; text-align: center; line-height: 1.25;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.cert-featured-right { flex: 1; position: relative; z-index: 1; }
.cert-featured-org { font-size: 0.75rem; color: rgba(255,255,255,0.55); margin: 0 0 6px; letter-spacing: 0.06em; }
.cert-featured-name {
  font-family: 'Outfit', sans-serif; font-size: clamp(1.3rem, 2.8vw, 1.85rem);
  font-weight: 900; color: #fff; margin: 0 0 10px; line-height: 1.2;
}
.cert-featured-desc { font-size: 0.85rem; color: rgba(255,255,255,0.68); line-height: 1.8; margin: 0; max-width: 480px; }
.cert-featured-star {
  font-size: 5rem; color: rgba(252,211,77,0.18);
  position: absolute; right: 36px; top: 50%; transform: translateY(-50%);
  pointer-events: none; z-index: 0; line-height: 1; font-family: serif;
}

/* Regular cert cards */
.certs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cert-card {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.3); }
.cert-badge {
  width: 46px; height: 46px; border-radius: 11px; flex-shrink: 0;
  background: rgba(37,99,235,0.09); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.74rem; text-align: center; line-height: 1.3;
  font-family: 'Outfit', sans-serif;
}
.cert-badge--gold   { background: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(251,191,36,0.08)); color: #b45309; }
.cert-badge--aws    { background: linear-gradient(135deg, rgba(249,115,22,0.18), rgba(253,186,116,0.08)); color: #c2410c; }
.cert-badge--ai     { background: linear-gradient(135deg, rgba(168,85,247,0.18), rgba(216,180,254,0.08)); color: #7e22ce; }
.cert-info { flex: 1; }
.cert-tier { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; color: var(--text-sub); margin-bottom: 3px; text-transform: uppercase; }
.cert-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 3px; line-height: 1.45; color: var(--text); }
.cert-org  { font-size: 0.72rem; color: var(--text-sub); }

/* ===== Works ===== */
#works {
  background-color: #f8fafc;
  padding: 112px 24px;
}

.works-subsection {
  margin-bottom: 88px;
}
.works-subsection:last-of-type {
  margin-bottom: 0;
}

.subsection-header {
  text-align: center;
  margin-bottom: 48px;
}
.subsection-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.subsection-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.subsection-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  margin: 0;
}

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

.works-grid--ec {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.work-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(15, 30, 60, 0.03);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}
.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(15, 30, 60, 0.08);
  border-color: rgba(37, 99, 235, 0.22);
}

/* Mockup Wrapper */
.work-mockup-wrapper {
  position: relative;
  aspect-ratio: 16/10.5;
  background: linear-gradient(135deg, #f8fafc, #edf2f7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

/* Laptop Mockup */
.mockup-laptop {
  width: 70%;
  aspect-ratio: 16/10;
  position: relative;
  transform: translate(-14px, -4px);
}
.laptop-screen {
  width: 100%;
  height: 92%;
  background: #000;
  border: 10px solid #1a1a1a;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.8s ease;
}
.work-card:hover .laptop-screen img {
  transform: scale(1.04);
}
.laptop-base {
  width: 114%;
  height: 6px;
  background: #e2e8f0;
  border-bottom: 2px solid #cbd5e1;
  border-radius: 0 0 8px 8px;
  position: absolute;
  bottom: 2%;
  left: -7%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

/* Phone Mockup */
.mockup-phone {
  width: 22%;
  aspect-ratio: 9/19;
  background: #1a1a1a;
  border: 3.5px solid #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  position: absolute;
  right: 6%;
  bottom: 6%;
  z-index: 5;
  box-shadow: 0 10px 28px rgba(0,0,0,0.24);
}
.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 9px;
  background: #ffffff;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.8s ease;
}
.work-card:hover .phone-screen img {
  transform: scale(1.04);
}

/* EC / Webapp Mockup */
.work-mockup-wrapper--ec {
  background: linear-gradient(135deg, #fff5f5, #f5f3ff);
}
.mockup-phone-ec {
  width: 32%;
  aspect-ratio: 9/19;
  background: #1a1a1a;
  border: 5px solid #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  position: relative;
  transition: transform 0.4s ease;
}
.work-card:hover .mockup-phone-ec {
  transform: translateY(-4px) scale(1.03);
}
.phone-screen--gradient {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #ffffff;
  text-align: center;
  padding: 16px;
}
.phone-screen--gradient2 {
  background: linear-gradient(135deg, #1e1b4b, #311042);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #ffffff;
  text-align: center;
  padding: 16px;
}
.ec-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.06em;
}
.ec-bag-icon {
  font-size: 2rem;
  margin-top: 16px;
  animation: floatIcon 3s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Body Styles */
.work-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.work-tag-new {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-sub);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
  background: #f8fafc;
}
.work-title-new {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 12px 0 24px;
  color: var(--text);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* Actions & Buttons */
.work-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  width: 100%;
}
.btn-detail, .btn-site {
  width: 100%;
  padding: 11px 0;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.25s, box-shadow 0.25s;
  border: none;
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
  display: block;
  text-decoration: none;
}
.btn-site {
  background: #111c30;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(17, 28, 48, 0.12);
}
.btn-site:hover {
  background: #1e293b;
  box-shadow: 0 6px 16px rgba(17, 28, 48, 0.22);
  transform: translateY(-1px);
}
.btn-detail {
  background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}
.btn-detail:hover {
  background: linear-gradient(90deg, #2563eb 0%, #059669 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}
.work-card--ec .btn-detail {
  background: linear-gradient(90deg, #ea580c 0%, #db2777 100%);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.2);
}
.work-card--ec .btn-detail:hover {
  background: linear-gradient(90deg, #c2410c 0%, #be185d 100%);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
}
.btn-site.disabled {
  background: #f1f5f9;
  color: #94a3b8;
  border: 1px solid #cbd5e1;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

/* Modals */
.works-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 24px;
}
.works-modal.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  border-radius: 24px;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}
.works-modal.active .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
  border: none;
  background: none;
  color: #64748b;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.modal-close:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}
.modal-content h3 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #0f172a;
}
.modal-subtitle {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.modal-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 24px 0 10px;
  color: #0f172a;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}
.modal-body p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.8;
  margin: 0 0 16px;
}
.modal-body ul {
  padding-left: 20px;
  margin: 0 0 24px;
}
.modal-body li {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 6px;
}
.modal-tags {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
  letter-spacing: 0.02em;
}

@media (max-width: 968px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 640px) {
  .works-grid, .works-grid--ec {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .modal-content {
    padding: 32px 24px;
  }
}

/* ===== About ===== */
.about-catch {
  font-family: 'Noto Sans JP', serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 64px;
}
.about-catch br { display: block; }

.about-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

/* --- Left column --- */
.about-left { display: flex; flex-direction: column; align-items: center; gap: 24px; }

.about-avatar { position: relative; width: 220px; height: 220px; flex-shrink: 0; }
.about-avatar::before {
  content: ''; position: absolute; inset: -8px; border-radius: 50%;
  background: conic-gradient(from 0deg, #2563eb, #f97316, #f59e0b, #10b981, #2563eb);
  animation: spin 12s linear infinite; filter: blur(2px); opacity: 0.65;
}
.about-avatar img {
  position: relative; width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover; border: 6px solid #fff; box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
@keyframes spin  { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Stats card */
.about-stats-card {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
}
.about-stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.about-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.7rem; font-weight: 900;
  color: var(--accent); line-height: 1;
}
.about-stat-unit { font-size: 1rem; font-weight: 700; }
.about-stat-label { font-size: 0.72rem; color: var(--text-sub); letter-spacing: 0.04em; }
.about-stat-sep { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

/* Tools */
.about-tools { width: 100%; }
.about-tools-label {
  font-size: 0.72rem; font-weight: 700; color: var(--text-sub);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin: 0 0 10px;
}
.about-tools-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-chip {
  font-size: 0.78rem; font-weight: 600;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 5px 13px; border-radius: 999px;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.tool-chip:hover { background: var(--accent-soft); border-color: rgba(37,99,235,0.3); color: var(--accent); }

/* --- Right column --- */
.about-right { display: flex; flex-direction: column; gap: 36px; }
.about-intro {
  font-size: 1.05rem; line-height: 2; color: var(--text);
  margin: 0;
}
.about-intro strong { color: var(--accent); }

/* Timeline */
.about-timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.about-timeline::before {
  content: ''; position: absolute;
  left: 7px; top: 16px; bottom: 16px;
  width: 2px;
  background: linear-gradient(to bottom, var(--border-strong), var(--accent));
}
.timeline-item {
  display: flex; gap: 22px; padding-bottom: 32px; position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  background: var(--border-strong); border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--border-strong);
  margin-top: 4px; position: relative; z-index: 1;
  transition: background var(--transition), box-shadow var(--transition);
}
.timeline-item--active .timeline-dot {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), 0 0 12px rgba(37,99,235,0.35);
}
.timeline-body { flex: 1; }
.timeline-label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--text-sub); text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-item--active .timeline-label { color: var(--accent); }
.timeline-title {
  font-size: 1rem; font-weight: 800; color: var(--text);
  margin: 0 0 8px; line-height: 1.45;
}
.timeline-desc {
  font-size: 0.88rem; color: var(--text-sub);
  line-height: 1.85; margin: 0;
}

/* Meta table */
.about-meta { display: grid; gap: 0; border-top: 1px solid var(--border); }
.about-meta-row { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; align-items: baseline; }
.about-meta-key { color: var(--text-sub); min-width: 84px; flex-shrink: 0; font-size: 0.78rem; letter-spacing: 0.04em; font-weight: 600; }
.about-meta-val { color: var(--text); line-height: 1.6; }

/* ===== Process ===== */
#process {
  max-width: none; margin: 0; padding: 0;
  background: linear-gradient(135deg, #0c1835 0%, #0f2a6e 45%, #1d4ed8 100%);
  position: relative; overflow: hidden;
}
#process::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 40%, rgba(255,255,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 60%, rgba(99,102,241,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.process-inner {
  max-width: var(--max-width); margin: 0 auto;
  padding: 100px 24px; position: relative; z-index: 1;
}
.process-header { text-align: center; margin-bottom: 60px; }
.process-eyebrow {
  font-family: 'Outfit', sans-serif; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.28em; color: rgba(147,197,253,0.8);
  text-transform: uppercase; margin: 0 0 12px;
}
.process-main-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
  color: #fff; margin: 0 0 16px; line-height: 1.25;
}
.process-lead { font-size: 0.95rem; color: rgba(255,255,255,0.6); margin: 0; }

.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.process-step-card {
  background: #fff; border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.process-step-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.process-step-card:hover::after { transform: scaleX(1); }
.process-step-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.25); }

.process-step-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.process-step-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  display: flex; align-items: center; justify-content: center;
}
.process-step-icon svg { width: 18px; height: 18px; stroke: #fff; }
.process-step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #93c5fd, #2563eb);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.02em;
}
.process-step-title {
  font-size: 1.05rem; font-weight: 800; margin: 0 0 12px;
  line-height: 1.55; color: var(--text);
}
.process-step-desc {
  font-size: 0.81rem; color: var(--text-sub); line-height: 1.85; margin: 0;
  flex: 1;
}

/* ===== FAQ ===== */
.faq-list { display: grid; gap: 10px; }
details.faq {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}
details.faq[open] { box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.3); }
details.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-weight: 600; font-size: 0.96rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '+'; font-size: 1.4rem; color: var(--accent);
  transition: transform var(--transition); line-height: 1; flex-shrink: 0;
}
details.faq[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 24px 22px; color: var(--text-sub); font-size: 0.90rem; line-height: 1.9; }

/* ===== Contact ===== */
.contact-lead { max-width: 600px; color: var(--text-sub); margin: -24px 0 40px; font-size: 0.96rem; line-height: 2; }
.contact-form {
  display: grid; gap: 22px; max-width: 640px;
  background: var(--bg-elev); padding: 36px;
  border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.form-group label { display: block; font-size: 0.86rem; margin-bottom: 8px; font-weight: 600; color: var(--text); }
.form-group label .required { color: var(--warm); margin-left: 4px; }
.form-group input,
.form-group textarea {
  width: 100%; background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 13px 15px;
  color: var(--text); font-family: inherit; font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-submit { justify-self: start; }
.form-status { font-size: 0.9rem; color: var(--accent); min-height: 1.2em; }

/* ===== Hearing Banner ===== */
.hearing-banner { padding: clamp(1rem,4vw,2rem) clamp(1.25rem,5vw,2rem); }
.hearing-card {
  max-width: var(--max-width); margin: 0 auto;
  background: linear-gradient(135deg, #1a4fcc 0%, #2563eb 55%, #5b8fff 100%);
  border-radius: 24px; padding: clamp(2rem,5vw,3rem) clamp(2rem,5vw,3.5rem);
  display: flex; align-items: center; gap: 2.5rem; color: white;
  box-shadow: 0 24px 64px -20px rgba(37,99,235,0.45);
  position: relative; overflow: hidden;
}
.hearing-card::before { content:''; position:absolute; top:-80px; right:-80px; width:360px; height:360px; background:rgba(255,255,255,0.07); border-radius:50%; pointer-events:none; }
.hearing-card::after  { content:''; position:absolute; bottom:-60px; left:25%; width:240px; height:240px; background:rgba(255,255,255,0.05); border-radius:50%; pointer-events:none; }
.hearing-icon  { font-size:4rem; flex-shrink:0; line-height:1; position:relative; z-index:1; }
.hearing-body  { position:relative; z-index:1; }
.hearing-eyebrow { font-size:0.72rem; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; opacity:0.75; margin:0 0 0.5rem; }
.hearing-title { font-family:'Outfit',sans-serif; font-size:clamp(1.3rem,3vw,2rem); font-weight:700; margin:0 0 0.75rem; line-height:1.3; }
.hearing-desc  { font-size:0.88rem; opacity:0.88; margin:0 0 1.5rem; line-height:1.75; max-width:48ch; }
.hearing-actions { display:flex; flex-direction:column; align-items:flex-start; gap:0.6rem; }
.hearing-card .cta { background:white; color:var(--accent); border-color:transparent; box-shadow:0 6px 20px rgba(0,0,0,0.18); }
.hearing-card .cta:hover { background:rgba(255,255,255,0.92); }
.hearing-note { font-size:0.76rem; opacity:0.65; margin:0; }

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--border); padding: 36px 24px;
  text-align: center; color: var(--text-sub); font-size: 0.82rem;
}

/* ===== Back to top ===== */
.to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-elev); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md); cursor: pointer; color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 90;
}
.to-top.visible { opacity:1; transform:translateY(0); pointer-events:auto; }
.to-top:hover { background: var(--accent); color: #fff; }
.to-top svg { width: 20px; height: 20px; }

/* ===== Reveal animations ===== */
.reveal { opacity: 0; transition: opacity 0.85s ease, transform 0.85s cubic-bezier(.2,.8,.2,1); }
.reveal.slide-up    { transform: translateY(48px); }
.reveal.slide-left  { transform: translateX(-48px); }
.reveal.slide-right { transform: translateX(48px); }
.reveal.visible     { opacity: 1; transform: translate(0,0); }

.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s cubic-bezier(.2,.8,.2,1); }
.stagger.visible > * { opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(1) { transition-delay: 0.04s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.10s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.17s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.31s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.38s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-section { background-position: 70% 30%; }
  .hero-section::before {
    background: linear-gradient(
      to bottom,
      rgba(247,249,252,0.90) 0%,
      rgba(247,249,252,0.82) 55%,
      rgba(247,249,252,0.65) 100%
    );
  }
  .hero { flex-direction: column; align-items: flex-start; padding: 110px 24px 60px; gap: 48px; }
  .hero-visual { flex: none; width: 100%; max-width: 500px; }
  .hero-scroll-indicator { display: none; }
  .badge-2 { right: -10px; }
  .badge-3 { right: -12px; }
}
@media (max-width: 768px) {
  /* Process: 2col on tablet */
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  /* Certs featured: stack on mobile */
  .cert-featured { flex-direction: column; gap: 20px; padding: 24px; }
  .cert-featured-star { display: none; }
  /* Services list */
  .service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 20px;
  }
  .service-item-tag {
    margin-left: 0;
    align-self: flex-start;
    margin-top: 8px;
  }
  /* Process: 1col on mobile */
  .process-grid { grid-template-columns: 1fr; }
  .process-inner { padding: 70px 20px; }
  section { padding: 80px 20px; }
  .hero-visual { max-width: 100%; }
  .badge-2, .badge-3 { display: none; }
  .badge-1 { bottom: -14px; left: -8px; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(16px);
    padding: 22px 24px; gap: 18px; border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform var(--transition);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .hero-stats { gap: 0; }
  .hero-stat-item { padding-right: 22px; }
  .hero-stat-divider { margin-right: 22px; height: 36px; }
  .about-catch { font-size: clamp(1.5rem, 5vw, 2rem); margin-bottom: 44px; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-left { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .about-avatar { width: 150px; height: 150px; }
  .about-stats-card { flex: 1; min-width: 220px; }
  .about-tools { width: 100%; }
  .contact-form { padding: 24px; }
  .to-top { bottom: 18px; right: 18px; }
  .hearing-card { flex-direction: column; text-align: center; gap: 1.5rem; }
  .hearing-actions { align-items: center; }
  .hearing-icon { font-size: 3rem; }
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .works-tabs { gap: 8px; }
  .section-num { font-size: clamp(3rem, 14vw, 6rem); }
}

@media (max-width: 540px) {
  .works-grid { grid-template-columns: 1fr; }
  .works-tabs { justify-content: flex-start; }
}
