﻿:root {
  --surface: rgba(255, 255, 255, 0.9);
  --surface-dark: #0f172a;
  --text: #122033;
  --muted: #5d6a7e;
  --line: rgba(15, 23, 42, 0.1);
  --brand: #1f4fd6;
  --brand-soft: rgba(31, 79, 214, 0.12);
  --shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 32px));
  --bg-a: #f8fbff;
  --bg-b: #eef2f8;
  --bg-c: #e7ebf4;
}
body.dark-mode {
  --surface: rgba(18, 27, 44, 0.9);
  --surface-dark: #07101f;
  --text: #edf2ff;
  --muted: #a5b2ca;
  --line: rgba(255, 255, 255, 0.09);
  --brand: #7aa2ff;
  --brand-soft: rgba(122, 162, 255, 0.16);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
  --bg-a: #08111f;
  --bg-b: #0d1729;
  --bg-c: #131f35;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 79, 214, 0.1), transparent 26%),
    radial-gradient(circle at 85% 10%, rgba(15, 23, 42, 0.08), transparent 22%),
    linear-gradient(180deg, var(--bg-a) 0%, var(--bg-b) 45%, var(--bg-c) 100%);
  transition: background 0.25s ease, color 0.25s ease;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: var(--container); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg-b) 88%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-shell,.footer-shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-shell { padding: 16px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, #0f172a, #1f4fd6); color: #fff; font-weight: 800; box-shadow: var(--shadow); }
.brand-copy { display: grid; }
.brand-copy strong { font-size: 15px; }
.brand-copy span { font-size: 13px; color: var(--muted); }
.main-nav,.nav-actions,.hero-actions,.hero-meta,.quote-actions,.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.main-nav a { padding: 10px 14px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 14px; }
.main-nav a:hover,.main-nav a:focus-visible { background: rgba(15, 23, 42, 0.08); color: var(--text); outline: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.btn:hover,.btn:focus-visible { transform: translateY(-1px); outline: none; }
.btn-primary { background: linear-gradient(135deg, #0f172a, #1f4fd6); color: #fff; box-shadow: 0 16px 36px rgba(31, 79, 214, 0.22); }
.btn-secondary,.btn-toggle { background: rgba(255, 255, 255, 0.8); border-color: var(--line); color: #122033; }
body.dark-mode .btn-secondary,body.dark-mode .btn-toggle { background: rgba(255,255,255,0.08); color: #edf2ff; }
.btn-ghost { background: transparent; border-color: color-mix(in srgb, var(--text) 14%, transparent); color: var(--text); }
.btn[disabled],.btn.is-disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.hero { padding: 54px 0 26px; }
.hero-shell,.content-grid,.dual-grid,.quote-shell,.contact-shell { display: grid; gap: 18px; }
.hero-shell,.quote-shell,.contact-shell { grid-template-columns: 1.15fr 0.85fr; }
.content-grid,.dual-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel,.mini-panel { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel { padding: 28px; border-radius: var(--radius-xl); }
.panel-dark { background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(24, 34, 54, 0.96)), var(--surface-dark); color: #fff; }
.hero-copy h1,.section-head h2,.panel h2 { font-family: "Fraunces", serif; font-weight: 700; letter-spacing: -0.03em; }
.hero-copy h1 { margin: 18px 0 14px; font-size: clamp(3.3rem, 7vw, 5.8rem); line-height: 0.92; }
.hero-role { margin: 0; font-size: 1.18rem; color: color-mix(in srgb, var(--text) 88%, transparent); font-weight: 600; }
.hero-summary,.panel-copy,.section-head p,.service-card p,.mini-panel p,.focus-card p,.step-item span,.quote-time,.contact-points span,.form-status,.security-note { color: var(--muted); }
.hero-summary { max-width: 60ch; margin-top: 16px; }
.hero-meta { margin-top: 18px; }
.hero-meta span { padding: 10px 14px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 86%, white); border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 700; }
.stat-grid,.summary-grid,.services-grid,.projects-grid,.chip-grid,.check-grid,.stack-grid { display: grid; gap: 14px; }
.stat-grid,.summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-card,.mini-panel,.step-item { border-radius: var(--radius-md); }
.stat-card { padding: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.stat-card strong,.mini-panel strong,.step-item strong,.quote-meta strong,.contact-points strong { display: block; }
.stat-card span { margin-top: 8px; display: block; color: rgba(255, 255, 255, 0.74); }
.focus-card { margin-top: 18px; padding: 18px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.focus-card p,.eyebrow-dark { color: rgba(255, 255, 255, 0.82); }
.summary-strip { padding: 0 0 12px; }
.summary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mini-panel { padding: 20px; }
.section-block { padding: 32px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2,.panel h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 0.98; }
.section-head p { max-width: 62ch; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.service-card,.project-card { display: grid; gap: 16px; }
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(31, 79, 214, 0.08), rgba(15, 23, 42, 0.08)); }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.project-tag,.chip-grid span,.stack-grid span { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 12px; border-radius: 999px; background: rgba(15, 23, 42, 0.06); color: color-mix(in srgb, var(--text) 85%, transparent); font-size: 13px; font-weight: 700; }
body.dark-mode .project-tag,body.dark-mode .chip-grid span,body.dark-mode .stack-grid span { background: rgba(255,255,255,0.07); color: #edf2ff; }
.chip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bullet-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.bullet-list li { display: flex; gap: 10px; color: var(--muted); }
.bullet-list li::before { content: "•"; color: var(--brand); font-weight: 800; }
.repo-note { color: #8b6c18; font-size: 13px; font-weight: 700; }
.steps { display: grid; gap: 12px; }
.step-item { padding: 18px; background: rgba(15, 23, 42, 0.04); border: 1px solid var(--line); }
.step-item span,.quote-meta span,.contact-points span { margin-top: 6px; display: block; }
.quote-form { display: grid; gap: 18px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 8px; }
.field span { font-weight: 800; font-size: 14px; }
.field input,.field select,.field textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, white); color: var(--text); }
body.dark-mode .field input,body.dark-mode .field select,body.dark-mode .field textarea { background: rgba(255,255,255,0.06); color: #edf2ff; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible,.btn:focus-visible { outline: 3px solid rgba(31, 79, 214, 0.2); outline-offset: 2px; }
.range-value { color: var(--brand); }
.check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check-item { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, white); font-weight: 700; }
.quote-result small { color: rgba(255, 255, 255, 0.72); }
.quote-price { display: block; margin-top: 14px; font-size: clamp(2.4rem, 5vw, 3.5rem); font-weight: 800; }
.quote-meta { display: grid; gap: 10px; margin-top: 18px; }
.quote-meta div { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.quote-actions { margin-top: 22px; }
.contact-points { display: grid; gap: 14px; margin-top: 22px; }
.contact-points div { padding: 16px 18px; border-radius: 18px; background: rgba(15, 23, 42, 0.04); border: 1px solid var(--line); }
.hidden-field { position: absolute; left: -9999px; opacity: 0; }
.form-status,.security-note { display: block; }
.security-note { margin-top: 16px; }
.site-footer { padding: 28px 0 42px; }
.footer-shell { padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; flex-wrap: wrap; }
@media (max-width: 1100px) {
  .hero-shell,.quote-shell,.contact-shell,.content-grid,.dual-grid { grid-template-columns: 1fr; }
  .summary-grid,.services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  .site-header { position: static; }
  .summary-grid,.services-grid,.projects-grid,.field-grid,.check-grid,.stat-grid,.chip-grid,.stack-grid { grid-template-columns: 1fr; }
  .section-head,.nav-shell,.footer-shell { align-items: start; }
}
