  :root {
    --ground: #ffffff;
    --ink: #16121b;
    --ink-soft: #55495f;
    --ink-faint: #8a7e93;
    --accent-flame: #ff4e32;
    --accent-flame-ink: #ffffff;
    --accent-violet: #5b3df6;
    --accent-violet-ink: #ffffff;
    --accent-lime: #c6ff3d;
    --accent-sun: #ffc933;
    --surface-tint: #f4f0ff;
    --surface-warm: #fff3ec;
    --line: rgba(22, 18, 27, 0.12);
    --card-bg: #ffffff;
    --shadow: rgba(22, 18, 27, 0.14);
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --ground: #14101b;
      --ink: #f6f2ff;
      --ink-soft: #c3b8d1;
      --ink-faint: #8f82a0;
      --accent-flame: #ff6a4d;
      --accent-flame-ink: #16101d;
      --accent-violet: #8c7aff;
      --accent-violet-ink: #14101b;
      --accent-lime: #d4ff6b;
      --accent-sun: #ffd65c;
      --surface-tint: #1e1830;
      --surface-warm: #241a22;
      --line: rgba(246, 242, 255, 0.14);
      --card-bg: #1b1526;
      --shadow: rgba(0, 0, 0, 0.45);
    }
  }

  :root[data-theme="dark"] {
    --ground: #14101b;
    --ink: #f6f2ff;
    --ink-soft: #c3b8d1;
    --ink-faint: #8f82a0;
    --accent-flame: #ff6a4d;
    --accent-flame-ink: #16101d;
    --accent-violet: #8c7aff;
    --accent-violet-ink: #14101b;
    --accent-lime: #d4ff6b;
    --accent-sun: #ffd65c;
    --surface-tint: #1e1830;
    --surface-warm: #241a22;
    --line: rgba(246, 242, 255, 0.14);
    --card-bg: #1b1526;
    --shadow: rgba(0, 0, 0, 0.45);
  }

  * { box-sizing: border-box; }

  html {
    scroll-behavior: smooth;
  }

  body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  img { max-width: 100%; }

  h1, h2, h3 {
    font-family: "Bricolage Grotesque", "Manrope", ui-sans-serif, system-ui, sans-serif;
    text-wrap: balance;
    margin: 0;
    letter-spacing: -0.01em;
  }

  a { color: inherit; }

  .wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 28px;
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
  }
  .eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: currentColor;
    display: inline-block;
  }

  /* ---------- nav ---------- */
  .nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--ground) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    max-width: 1120px;
    margin: 0 auto;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 17px;
    color: var(--ink);
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--accent-flame);
    color: var(--accent-flame-ink);
    display: grid;
    place-items: center;
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 800;
    font-size: 14px;
    flex: none;
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ink-soft);
    transition: color 0.15s ease;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-actions { display: flex; align-items: center; gap: 18px; }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
    font-family: inherit;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary {
    background: var(--accent-flame);
    color: var(--accent-flame-ink);
    box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent-flame) 70%, transparent);
  }
  .btn-primary:hover { box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--accent-flame) 80%, transparent); }
  .btn-ghost-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
  }
  .btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
  .btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
  }
  .btn-outline:hover { border-color: var(--ink); }

  .menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--ink);
  }
  .menu-toggle svg { display: block; width: 24px; height: 24px; }

  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: var(--accent-violet);
    color: var(--accent-violet-ink);
    flex-direction: column;
    padding: 24px 28px;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .mobile-menu-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 8px;
  }
  .mobile-menu-links {
    list-style: none;
    padding: 0;
    margin: 48px 0 0;
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
  .mobile-menu-links a {
    text-decoration: none;
    color: inherit;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 34px;
    font-weight: 700;
  }

  @media (max-width: 780px) {
    .nav-links { display: none; }
    .nav-actions .btn-outline { display: none; }
    .menu-toggle { display: inline-flex; }
  }

  /* ---------- section base ---------- */
  section { padding: 108px 0; position: relative; }
  .section-warm { background: var(--surface-warm); }
  .section-tint { background: var(--surface-tint); }

  .section-head {
    max-width: 620px;
    margin: 0 0 56px;
  }
  .section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
  .section-head p { color: var(--ink-soft); font-size: 17.5px; margin-top: 14px; }

  /* ---------- hero ---------- */
  .hero {
    background: var(--accent-violet);
    color: #ffffff;
    padding: 84px 0 96px;
    overflow: hidden;
    position: relative;
  }
  .hero .wrap { position: relative; z-index: 2; }
  .hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(0px);
    opacity: 0.9;
  }
  .hero-shape.s1 {
    width: 420px; height: 420px;
    background: color-mix(in srgb, #ffffff 14%, transparent);
    top: -160px; right: -120px;
    animation: float-a 14s ease-in-out infinite;
  }
  .hero-shape.s2 {
    width: 220px; height: 220px;
    background: var(--accent-lime);
    opacity: 0.9;
    bottom: -80px; right: 12%;
    border-radius: 38% 62% 55% 45% / 45% 40% 60% 55%;
    animation: float-b 11s ease-in-out infinite;
  }
  .hero-shape.s3 {
    width: 140px; height: 140px;
    background: var(--accent-sun);
    top: 18%; right: 4%;
    border-radius: 42% 58% 62% 38% / 40% 45% 55% 60%;
    animation: float-a 9s ease-in-out infinite reverse;
  }
  @keyframes float-a {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(24px) translateX(-14px); }
  }
  @keyframes float-b {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(8deg); }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-shape { animation: none !important; }
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    padding: 8px 16px 8px 10px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 30px;
  }
  .hero-badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-lime);
    flex: none;
  }

  .hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 700;
    line-height: 1.06;
    max-width: 16ch;
  }
  .hero-sub {
    margin-top: 24px;
    font-size: 19px;
    max-width: 46ch;
    color: rgba(255,255,255,0.86);
  }
  .hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 36px;
  }

  /* ---------- services ---------- */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  @media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; }
  }
  .service-card {
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .service-card .tag {
    width: 46px; height: 46px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: #16121b;
  }
  .service-card h3 { font-size: 22px; font-weight: 700; }
  .service-card p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
  .service-card ul {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
  }
  .service-card li {
    font-size: 14.5px;
    color: var(--ink-soft);
    display: flex;
    gap: 9px;
    align-items: baseline;
  }
  .service-card li::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-flame);
    flex: none;
    transform: translateY(-2px);
  }
  .service-quote-link {
    margin-top: auto;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    padding-top: 6px;
  }
  .service-quote-link svg { width: 15px; height: 15px; transition: transform 0.15s ease; }
  .service-quote-link:hover svg { transform: translateX(3px); }

  .services-footer {
    margin-top: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 32px;
  }
  .services-footer p { margin: 0; color: var(--ink-soft); max-width: 46ch; font-size: 15.5px; }

  /* ---------- process ---------- */
  .process-list {
    display: grid;
    gap: 0;
  }
  .process-step {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 24px;
    padding: 30px 0;
    border-top: 1px solid var(--line);
  }
  .process-step:last-child { border-bottom: 1px solid var(--line); }
  .process-num {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--accent-flame);
    padding-top: 2px;
  }
  .process-step h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
  .process-step p { margin: 0; color: var(--ink-soft); font-size: 15.5px; max-width: 56ch; }

  /* ---------- work / portfolio ---------- */
  .work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  @media (max-width: 900px) {
    .work-grid { grid-template-columns: 1fr; }
  }
  .work-card {
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 34px -22px var(--shadow);
  }
  .mock {
    padding: 16px;
  }
  .mock-chrome {
    display: flex;
    gap: 5px;
    margin-bottom: 12px;
  }
  .mock-chrome span {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--line);
  }
  .mock-body {
    border-radius: 10px;
    padding: 18px 14px;
    height: 148px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
  }
  .mock-bar { height: 9px; border-radius: 5px; background: rgba(255,255,255,0.55); }
  .mock-bar.w60 { width: 60%; }
  .mock-bar.w80 { width: 80%; }
  .mock-bar.w40 { width: 40%; height: 16px; margin-bottom: 4px; }
  .mock-chip { width: 64px; height: 22px; border-radius: 999px; background: rgba(255,255,255,0.7); margin-top: 6px; }
  .work-info { padding: 4px 24px 26px; }
  .work-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
  .work-info p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

  .work-note {
    margin-top: 44px;
    background: var(--card-bg);
    border: 1px dashed var(--line);
    border-radius: 18px;
    padding: 26px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
  }
  .work-note p { margin: 0; color: var(--ink-soft); max-width: 50ch; font-size: 15px; }

  /* ---------- contact ---------- */
  .contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
  }
  @media (max-width: 860px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  }
  .contact-side h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; }
  .contact-side p { color: var(--ink-soft); margin-top: 16px; font-size: 16.5px; max-width: 42ch; }
  .contact-direct {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .contact-direct a {
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    width: fit-content;
    border-bottom: 2px solid var(--accent-flame);
    padding-bottom: 2px;
  }
  .availability {
    margin-top: 34px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--surface-tint);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 700;
  }
  .availability .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-flame);
  }

  form {
    display: grid;
    gap: 18px;
  }
  .form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
  @media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
  label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
    display: block;
    margin-bottom: 8px;
  }
  input, select, textarea {
    width: 100%;
    font-family: inherit;
    font-size: 15.5px;
    color: var(--ink);
    background: var(--card-bg);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 13px 14px;
  }
  input:focus, select:focus, textarea:focus,
  a:focus-visible, button:focus-visible {
    outline: 2.5px solid var(--accent-violet);
    outline-offset: 2px;
  }
  textarea { resize: vertical; min-height: 120px; }
  .form-note { font-size: 13.5px; color: var(--ink-faint); margin-top: -4px; }
  .form-submit {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 6px;
  }

  /* ---------- footer ---------- */
  footer {
    padding: 40px 0;
    border-top: 1px solid var(--line);
  }
  .footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--ink-faint);
  }
  .footer-row a { text-decoration: none; color: var(--ink-faint); font-weight: 700; }
