:root {
  --teal: #225d6b; --teal-hover: #1c4f5b; --teal-soft: #e6f2f5; --teal-pale: #f3f9fb;
  --ink: #111c1f; --ink-mid: #3f5c63; --ink-soft: #8aadb5;
  --white: #ffffff; --bg: #f7f9fa; --border: #dce8eb; --border-soft: #edf4f6;
  --radius: 12px;
  --shadow: 0 4px 12px rgba(34,93,107,0.07);
  --shadow-hover: 0 8px 24px rgba(34,93,107,0.13);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: 'Outfit', sans-serif; font-weight: 300; overflow-x: hidden; line-height: 1.6; }

/* ── NAV ── */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(247,249,250,0.93); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); transition: box-shadow 0.3s; }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 1.25rem 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; font-weight: 500; color: var(--teal); text-decoration: none; letter-spacing: -0.01em; display: flex; align-items: center; gap: 0.5rem; }
.logo-bracket { color: var(--ink-soft); font-weight: 300; }
nav ul { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
nav ul a { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; font-weight: 400; color: var(--ink-mid); text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s; }
nav ul a:hover { color: var(--teal); }
.nav-cta { padding: 0.5rem 1.3rem; background: var(--teal); color: var(--white) !important; border-radius: 4px; transition: background 0.2s, transform 0.15s !important; }
.nav-cta:hover { background: var(--teal-hover) !important; transform: translateY(-1px); }
.nav-dropdown-item { position: relative; }
.nav-dropdown-item::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 0.7rem; }
.nav-dropdown { display: none; position: absolute; top: calc(100% + 0.6rem); left: 0; background: var(--white); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 24px rgba(34,93,107,0.1); padding: 0.5rem 0; min-width: 160px; z-index: 200; overflow: hidden; }
.nav-dropdown-item:hover .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: 0.5rem 1.2rem; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--ink-mid) !important; white-space: nowrap; }
.nav-dropdown a:hover { color: var(--teal) !important; background: var(--teal-pale); }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); background: var(--white); margin-top: auto; }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 1.8rem 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 400; color: var(--ink-soft); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 400; color: var(--ink-soft); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }

/* ── TYPOGRAPHY ── */
h1 { font-family: 'Outfit', sans-serif; font-size: clamp(2.8rem, 5.5vw, 4.8rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 1.8rem; }
h1 .accent { color: var(--teal); }
h2 { font-family: 'Outfit', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; letter-spacing: -0.025em; color: var(--ink); line-height: 1.15; }

/* ── SHARED ── */
.section-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 400; color: var(--teal); letter-spacing: 0.1em; display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.section-eyebrow::before { content: '//'; color: var(--ink-soft); }
hr.divider { border: none; border-top: 1px solid var(--border); max-width: 1120px; margin: 0 auto; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.up { opacity: 1; transform: none; }

/* ── BUTTONS ── */
.btn-fill { display: inline-block; padding: 0.8rem 2rem; background: var(--teal); color: var(--white); font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 400; letter-spacing: 0.04em; text-decoration: none; border-radius: 4px; transition: background 0.2s, transform 0.15s; }
.btn-fill:hover { background: var(--teal-hover); transform: translateY(-2px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 0.4rem; font-family: 'JetBrains Mono', monospace; font-size: 0.76rem; font-weight: 400; color: var(--ink-soft); text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s; }
.btn-ghost:hover { color: var(--teal); }
.btn-ghost::after { content: '→'; }

/* ── INDEX: HERO ── */
#hero { min-height: 100vh; max-width: 1120px; margin: 0 auto; padding: 11rem 2.5rem 7rem; display: flex; align-items: center; }
.hero-left { opacity: 0; animation: fadeUp 0.75s 0.1s ease forwards; }
.hero-mono-tag { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 400; color: var(--teal); letter-spacing: 0.08em; display: flex; align-items: center; gap: 0.6rem; margin-bottom: 2rem; }
.hero-mono-tag::before { content: '//'; color: var(--ink-soft); font-size: 0.65rem; }
.hero-p { font-size: 1rem; font-weight: 300; color: var(--ink-mid); line-height: 1.8; max-width: 480px; margin-bottom: 2.8rem; }
.hero-actions { display: flex; gap: 1rem; align-items: center; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ── INDEX: SERVICES ── */
#services { max-width: 1120px; margin: 0 auto; padding: 7rem 2.5rem; }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.5rem; }
.services-desc { font-size: 0.92rem; font-weight: 300; color: var(--ink-mid); max-width: 300px; text-align: right; line-height: 1.75; }

/* Service cards — rounded + spaced */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.svc { padding: 2.2rem 2rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: inherit; display: block; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.svc:hover { background: var(--teal-pale); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.4rem; }
.svc-num { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; font-weight: 400; color: var(--ink-soft); letter-spacing: 0.06em; }
.svc-icon { font-size: 1.4rem; }
.svc h3 { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 0.65rem; letter-spacing: -0.01em; }
.svc p { font-size: 0.86rem; font-weight: 300; color: var(--ink-mid); line-height: 1.7; }

/* ── INDEX: ABOUT ── */
#about { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner { max-width: 1120px; margin: 0 auto; padding: 7rem 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-eyebrow { margin-bottom: 1rem; }
.about-eyebrow::before { content: '02'; }
.about-text h2 { margin-bottom: 2rem; }
.about-text p { font-size: 0.93rem; font-weight: 300; color: var(--ink-mid); line-height: 1.8; margin-bottom: 1.1rem; }
.about-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.6rem; list-style: none; }
.about-list li { font-family: 'JetBrains Mono', monospace; font-size: 0.76rem; font-weight: 400; color: var(--ink-mid); display: flex; align-items: center; gap: 0.8rem; }
.about-list li::before { content: '→'; color: var(--teal); flex-shrink: 0; font-size: 0.7rem; }
.about-link { display: inline-flex; align-items: center; gap: 0.4rem; font-family: 'JetBrains Mono', monospace; font-size: 0.76rem; color: var(--teal); text-decoration: none; letter-spacing: 0.04em; margin-top: 2rem; transition: gap 0.2s; }
.about-link:hover { gap: 0.8rem; }
.about-link::after { content: '→'; }
.about-right { display: flex; flex-direction: column; gap: 1rem; }

/* Profile card — rounded */
.profile-card { background: var(--teal-pale); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.profile-top { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.8rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; font-weight: 500; color: var(--white); flex-shrink: 0; }
.profile-name { font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.profile-role { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 400; color: var(--ink-soft); margin-top: 0.15rem; }
.skills { display: flex; flex-direction: column; gap: 1rem; }
.skill-row { display: flex; flex-direction: column; gap: 0.35rem; }
.skill-meta { display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; font-weight: 400; color: var(--ink-mid); }
.skill-track { height: 2px; background: var(--border); overflow: hidden; }
.skill-fill { height: 100%; background: var(--teal); width: 0; transition: width 1.3s ease; }

/* KPI row — rounded individual boxes */
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.kpi { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem 1rem; text-align: center; box-shadow: var(--shadow); }
.kpi-num { font-family: 'JetBrains Mono', monospace; font-size: 1.4rem; font-weight: 500; color: var(--teal); display: block; line-height: 1; }
.kpi-label { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; font-weight: 400; color: var(--ink-soft); margin-top: 0.35rem; letter-spacing: 0.05em; }

/* ── INDEX: CONTACT ── */
#contact { max-width: 1120px; margin: 0 auto; padding: 7rem 2.5rem; display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem; }
.contact-eyebrow::before { content: '03'; }
.contact-left h2 { margin-bottom: 1.5rem; }
.contact-left p { font-size: 0.92rem; font-weight: 300; color: var(--ink-mid); line-height: 1.8; margin-bottom: 2.5rem; }
.contact-meta { display: flex; flex-direction: column; }
.cm { display: flex; align-items: flex-start; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--border-soft); }
.cm:first-child { padding-top: 0; }
.cm-ico { font-size: 0.9rem; margin-top: 0.1rem; flex-shrink: 0; }
.cm-key { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; font-weight: 400; color: var(--ink-soft); letter-spacing: 0.07em; margin-bottom: 0.15rem; }
.cm-val { font-size: 0.88rem; font-weight: 400; color: var(--ink); }
form { display: flex; flex-direction: column; gap: 1rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f-group { display: flex; flex-direction: column; gap: 0.4rem; }
.f-group label { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; font-weight: 400; color: var(--ink-soft); letter-spacing: 0.07em; }
.f-group input, .f-group select, .f-group textarea { background: var(--white); border: 1px solid var(--border); color: var(--ink); font-family: 'Outfit', sans-serif; font-size: 0.88rem; font-weight: 300; padding: 0.75rem 1rem; outline: none; border-radius: 8px; transition: border-color 0.2s, box-shadow 0.2s; resize: vertical; appearance: none; }
.f-group input:focus, .f-group select:focus, .f-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(34,93,107,0.08); }
.f-group textarea { min-height: 120px; }
.btn-send { align-self: flex-start; padding: 0.8rem 2.2rem; background: var(--teal); color: var(--white); border: none; font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 400; letter-spacing: 0.04em; cursor: pointer; border-radius: 4px; transition: background 0.2s, transform 0.15s; }
.btn-send:hover { background: var(--teal-hover); transform: translateY(-2px); }

/* ── SUBPAGE: PAGE HERO ── */
.page-hero { max-width: 1120px; margin: 0 auto; padding: 9rem 2.5rem 4rem; }
.page-hero .mono-tag { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--teal); letter-spacing: 0.08em; display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.5rem; }
.page-hero .mono-tag::before { content: '//'; color: var(--ink-soft); font-size: 0.65rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
.page-hero p { font-size: 1rem; font-weight: 300; color: var(--ink-mid); line-height: 1.8; max-width: 560px; }

/* ── SUBPAGE: PAGE CONTENT ── */
.page-content { max-width: 1120px; margin: 0 auto; padding: 2rem 2.5rem 6rem; }

/* ── SUBPAGE: PROSE — rounded ── */
.prose { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 3rem; box-shadow: var(--shadow); }
.prose h2 { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-top: 2.5rem; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 0.88rem; font-weight: 300; color: var(--ink-mid); line-height: 1.85; margin-bottom: 0.5rem; }
.prose a { color: var(--teal); text-decoration: none; }
.prose a:hover { text-decoration: underline; }

/* ── SUBPAGE: FAQ — rounded cards with gap ── */
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; }
.faq-entry { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.faq-q { padding: 1.4rem 2rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; user-select: none; }
.faq-q:hover { background: var(--teal-pale); }
.faq-q span:first-child { font-size: 0.95rem; font-weight: 500; color: var(--ink); }
.faq-icon { font-family: 'JetBrains Mono', monospace; font-size: 1rem; color: var(--ink-soft); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-icon.open { transform: rotate(45deg); }
.faq-a { padding: 0 2rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; font-size: 0.88rem; font-weight: 300; color: var(--ink-mid); line-height: 1.8; }
.faq-a.open { padding: 1.2rem 2rem 1.6rem; max-height: 500px; border-top: 1px solid var(--border); }

/* ── SUBPAGE: CUSTOM PC CARDS — rounded + gap ── */
.pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.pc-card-new { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.pc-card-new:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pc-image { position: relative; overflow: hidden; background: var(--teal-soft); }
.pc-image img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(34,93,107,0.7); border: none; color: white; padding: 0.5rem 0.7rem; cursor: pointer; font-size: 1rem; z-index: 2; transition: background 0.2s; }
.arrow:hover { background: var(--teal); }
.arrow.left { left: 0; }
.arrow.right { right: 0; }
.pc-info { padding: 1.4rem 1.8rem; }
.pc-info h2 { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.toggle-details { background: none; border: none; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--teal); cursor: pointer; padding: 0; letter-spacing: 0.04em; transition: color 0.2s; }
.toggle-details:hover { color: var(--teal-hover); }
.pc-details { max-height: 0; overflow: hidden; margin-top: 0.5rem; transition: max-height 0.4s ease; }
.pc-details.open { max-height: 500px; }
.pc-details ul { padding-left: 1.2rem; }
.pc-details li { font-size: 0.85rem; font-weight: 300; color: var(--ink-mid); margin-bottom: 0.3rem; }

/* ── SUBPAGE: SERVICE DETAIL — rounded ── */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.detail-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }
.detail-card h3 { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 1rem; letter-spacing: -0.01em; }
.detail-card p { font-size: 0.9rem; font-weight: 300; color: var(--ink-mid); line-height: 1.8; }

/* Feature list — rounded items with gap */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.5rem; }
.feature-list li { font-size: 0.88rem; font-weight: 300; color: var(--ink-mid); display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 1.2rem; background: var(--white); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); transition: background 0.2s, transform 0.15s; }
.feature-list li:hover { background: var(--teal-pale); transform: translateX(3px); }
.feature-list li::before { content: '→'; color: var(--teal); font-size: 0.75rem; flex-shrink: 0; font-family: 'JetBrains Mono', monospace; }

/* Info box — rounded */
.info-box { background: var(--teal-pale); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.info-box .ib-label { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; color: var(--ink-soft); letter-spacing: 0.07em; margin-bottom: 0.4rem; }
.info-box .ib-val { font-size: 0.95rem; font-weight: 500; color: var(--ink); }

/* Info row — rounded items with gap */
.info-row { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; }
.info-item { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 1.1rem 1.4rem; display: flex; gap: 1rem; align-items: flex-start; box-shadow: var(--shadow); }
.info-item-icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.info-item-label { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; color: var(--ink-soft); letter-spacing: 0.07em; margin-bottom: 0.15rem; }
.info-item-val { font-size: 0.88rem; font-weight: 400; color: var(--ink); }

/* ── SUBPAGE: ABOUTME ── */
.aboutme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.aboutme-text p { font-size: 0.93rem; font-weight: 300; color: var(--ink-mid); line-height: 1.8; margin-bottom: 1.1rem; }
.aboutme-text h2 { margin-bottom: 2rem; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .about-inner, #contact { grid-template-columns: 1fr; gap: 3.5rem; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .services-desc { text-align: left; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .pc-grid { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .aboutme-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 580px) {
  #hero { padding-top: 8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .pc-grid { grid-template-columns: 1fr; }
  nav ul li:not(:last-child) { display: none; }
  .nav-inner { padding: 1rem 1.5rem; }
  .page-hero { padding: 8rem 1.5rem 3rem; }
  .page-content { padding: 2rem 1.5rem 5rem; }
}
