:root {
  --bg: #07090f;
  --bg-2: #0d121c;
  --panel: rgba(255, 255, 255, 0.045);
  --ink: #f4f1ea;
  --muted: #9aa4b8;
  --line: rgba(255, 255, 255, 0.08);
  --cobalt: #4d8bff;
  --cobalt-deep: #2f6fed;
  --sand: #e8d5b5;
  --display: "Syne", "Bricolage Grotesque", sans-serif;
  --body: "Outfit", "Figtree", "Segoe UI", sans-serif;
  --wrap: 74rem;
  --radius: 1.15rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  color-scheme: dark;
}
html.lenis,
html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--cobalt); }

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico-box {
  width: 2.35rem;
  height: 2.35rem;
  margin: 0 0 0.85rem;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  color: var(--cobalt);
  background: rgba(77, 139, 255, 0.12);
  border: 1px solid rgba(77, 139, 255, 0.22);
  animation: bob 3.8s ease-in-out infinite;
}
@keyframes bob {
  50% { translate: 0 -3px; }
}
.ico-box .ico { width: 1.2rem; height: 1.2rem; }
.cta .ico, .float-cta .ico, .about-links .ico, .contact-aside .ico {
  width: 1rem;
  height: 1rem;
}

.ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 10% -10%, rgba(47, 111, 237, 0.22), transparent 50%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(232, 213, 181, 0.08), transparent 45%);
}
.glow {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 139, 255, 0.18), transparent 62%);
  transform: translate(-50%, -50%);
  top: 20%;
  left: 70%;
  transition: left 0.25s ease, top 0.25s ease;
}

.cursor {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  display: none;
  opacity: 0;
  transition: opacity 0.18s ease;
}
html.has-cursor .cursor { display: block; }
html.has-cursor .cursor.is-on { opacity: 1; }
html.has-cursor .cursor.is-type { opacity: 0; }
html.has-cursor,
html.has-cursor * { cursor: none !important; }
html.has-cursor input,
html.has-cursor textarea,
html.has-cursor select { cursor: text !important; }

.cursor-ring,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform;
}
.cursor-ring span,
.cursor-dot span {
  display: block;
  border-radius: 50%;
}
.cursor-dot span {
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  background: var(--sand);
  box-shadow: 0 0 10px rgba(232, 213, 181, 0.75);
  transition: transform 0.2s ease, background 0.2s ease;
}
.cursor-ring span {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1.5px solid rgba(77, 139, 255, 0.9);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
html.has-cursor .cursor.is-hot .cursor-ring span {
  transform: scale(1.55);
  background: rgba(77, 139, 255, 0.14);
  border-color: var(--sand);
}
html.has-cursor .cursor.is-hot .cursor-dot span {
  transform: scale(0.45);
  background: var(--cobalt);
}
html.has-cursor .cursor.is-down .cursor-ring span {
  transform: scale(0.82);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.6rem 1rem;
  background: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 0.4rem;
}
.skip-link:focus { top: 1rem; }

.topbar {
  position: sticky;
  top: 0.7rem;
  z-index: 50;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: min(100% - 1.4rem, 74rem);
  margin: 0 auto;
  padding: 0.45rem 0.45rem 0.45rem 1rem;
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.mark {
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.04em;
  white-space: nowrap;
  min-width: 0;
}

.nav-burger {
  display: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0.35rem 0.7rem;
}

.topnav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.1rem;
  min-width: 0;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.86rem;
  cursor: pointer;
  padding: 0.42rem 0.62rem;
  border-radius: 999px;
  white-space: nowrap;
}
.topnav a:hover,
.topnav a.is-active { color: var(--ink); background: rgba(255, 255, 255, 0.06); }

.nav-cta {
  background: #fff !important;
  color: #07090f !important;
  font-weight: 700;
  margin-left: 0.25rem;
}
.nav-cta:hover { background: var(--cobalt) !important; color: #fff !important; }

.wrap {
  width: min(100%, var(--wrap));
  margin: 0 auto;
  padding-inline: clamp(1.15rem, 4vw, 2rem);
  position: relative;
  z-index: 1;
}

.hero {
  padding: 2.1rem 0 2.4rem;
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
}
.hero-content { min-width: 0; }

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 1.6rem;
  overflow: hidden;
  outline: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  position: relative;
  animation: photo-float 4.8s ease-in-out infinite;
}
@keyframes photo-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(7, 9, 15, 0.55));
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.hero-place {
  margin: 0 0 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sand);
  overflow-wrap: anywhere;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.55rem;
  padding: 0.35rem 0.75rem 0.35rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sand);
  background: rgba(255, 255, 255, 0.03);
  max-width: 100%;
}
.pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #3dd68c;
  box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.7);
  animation: ping 1.8s ease infinite;
}
@keyframes ping {
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
.h1-sub {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #d7deea;
  max-width: 22ch;
}

.hero-blurb {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-blurb strong { color: #fff; font-weight: 600; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  max-width: 100%;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.cta:hover { transform: translateY(-2px); }
.cta:hover .ico-move { transform: translateX(4px); }
.ico-move { transition: transform 0.22s ease; }

.cta-fill {
  background: #fff;
  color: #07090f;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}
.cta-fill:hover { background: var(--cobalt); color: #fff; }

.cta-ghost {
  background: transparent;
  color: #fff;
  border-color: var(--line);
}
.cta-ghost:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

.stats {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 34rem;
}
.stats li {
  display: grid;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  min-width: 0;
  overflow: hidden;
}
.stats .ico {
  color: var(--sand);
  margin-bottom: 0.35rem;
}
.stats strong {
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.stats span { font-size: 0.8rem; color: var(--muted); }

.facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.55fr) minmax(0, 0.9fr);
  gap: 0.85rem 1.2rem;
  margin: 1.1rem 0 0;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  min-width: 0;
  overflow: hidden;
}
.facts div { margin: 0; min-width: 0; }
.facts div:last-child { grid-column: 1 / -1; }
.facts dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
}
.facts dd {
  margin: 0.25rem 0 0;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  overflow-wrap: break-word;
}
.facts a { color: #fff; text-decoration: none; }
.facts a:hover { color: var(--cobalt); }

.band {
  padding: clamp(3.8rem, 8vw, 6rem) 0;
  position: relative;
  z-index: 1;
}
.band + .band { border-top: 1px solid var(--line); }

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.band-head { max-width: 40rem; margin-bottom: 1.8rem; }

.kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.lede {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.body-copy {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 38rem;
}

.service-grid,
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.tile, .work-card, .proof article, .estimate-form, .process li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
  backdrop-filter: blur(8px);
  min-width: 0;
  overflow: hidden;
  position: relative;
  overflow-wrap: anywhere;
}

.tile {
  min-height: 12.5rem;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.tile::after, .work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.08) 50%, transparent 65%);
  transform: translateX(-140%);
}
.tile:hover::after, .work-card:hover::after {
  transform: translateX(140%);
  transition: transform 0.7s ease;
}
.band.in .tile,
.band.in .work-card,
.band.in .process li,
.band.in .proof article {
  animation: rise 0.7s ease both;
  animation-delay: calc(var(--i, 0) * 70ms);
}
@keyframes rise {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}
.tile:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 139, 255, 0.45);
  background: rgba(77, 139, 255, 0.08);
}
.tile-num { display: none; }
.tile h3, .work-card h3, .proof h3, .process h3 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.03em;
  font-size: 1.18rem;
}
.tile p, .work-card p { margin: 0.55rem 0 0; color: var(--muted); }

.tile-ai { background: linear-gradient(180deg, rgba(77, 139, 255, 0.1), var(--panel)); }

.band-cta { margin: 1.6rem 0 0; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  padding: 0.3rem;
  width: fit-content;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}

.chip {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}
.chip.is-on, .chip:hover {
  background: #fff;
  color: #07090f;
}

.work-card {
  min-height: 14.5rem;
  display: grid;
  align-content: start;
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(77, 139, 255, 0.55);
}
.work-card[hidden] { display: none !important; }

.tag {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.tag .ico { width: 0.9rem; height: 0.9rem; }
.card-sub {
  margin: 0.2rem 0 0 !important;
  color: #fff !important;
  font-weight: 600;
}

.work-note { margin: 1.4rem 0 0; font-size: 0.95rem; color: var(--muted); }

.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.process p { margin: 0.5rem 0 0; color: var(--muted); }

.jobs details {
  border-top: 1px solid var(--line);
  padding: 0.15rem 0;
}
.jobs details:last-child { border-bottom: 1px solid var(--line); }
.jobs summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  padding: 1.05rem 0;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  list-style: none;
  min-width: 0;
  overflow-wrap: anywhere;
}
.jobs summary span { min-width: 0; }
.jobs summary::-webkit-details-marker { display: none; }
.jobs time { font-family: var(--body); font-weight: 500; color: var(--muted); }
.jobs p, .jobs ul { margin: 0 0 1rem; color: var(--muted); }
.jobs ul { padding-left: 1.1rem; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin-top: 1.3rem;
}
.about-links a {
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.about-links a:hover { color: var(--cobalt); }

.toolkit {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.toolkit li {
  padding: 0.4rem 0.7rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}
.proof p { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.92rem; }
.proof .ico-box { margin-bottom: 0.7rem; }

.estimate-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-aside {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.contact-aside a {
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  overflow-wrap: anywhere;
}

.estimate-form { display: grid; gap: 0.85rem; position: relative; }
.estimate-form label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.9rem; }
.estimate-form em { font-style: normal; font-weight: 500; color: var(--muted); }
.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  font: inherit;
  background: #0b1018;
  color: #fff;
}
.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
  outline: 2px solid rgba(77, 139, 255, 0.4);
  border-color: var(--cobalt);
}
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.85rem; }
.estimate-form button { justify-self: start; cursor: pointer; }
.form-thanks {
  margin: 0;
  padding: 0.7rem 0.85rem;
  background: rgba(61, 214, 140, 0.15);
  color: #8ef0b8;
  border-radius: 0.7rem;
  font-weight: 700;
}
.honey { position: absolute; left: -9999px; }

.faq { margin: 1.2rem 0 0; }
.faq div { padding: 1rem 0; border-top: 1px solid var(--line); }
.faq div:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-family: var(--display); font-weight: 700; }
.faq dd { margin: 0.35rem 0 0; color: var(--muted); }

.float-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  background: #fff;
  color: #07090f;
  text-decoration: none;
  font-weight: 700;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.float-cta:hover { background: var(--cobalt); color: #fff; }

.foot {
  padding: 1.6rem clamp(1.15rem, 4vw, 2rem) 5.4rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.foot p { margin: 0; }

@media (max-width: 1100px) {
  .nav-burger { display: inline-flex; }
  .topnav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 51;
    background: #0b1018;
    border: 1px solid var(--line);
    border-top: 0;
    padding: 0.8rem 1rem 1.1rem;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    border-radius: 0 0 1rem 1rem;
  }
  .topbar {
    overflow: visible;
  }
  .topbar.is-open .topnav { display: flex; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-photo {
    max-width: 18rem;
    margin-inline: auto;
  }
  .h1-sub { max-width: none; }
}

@media (max-width: 980px) {
  .service-grid, .work-grid, .process, .proof, .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-grid, .estimate-grid { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .topbar {
    top: 0;
    width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .hero { padding-top: 2.2rem; }
  .hero-inner, .form-row, .facts { grid-template-columns: minmax(0, 1fr); }
  .hero-photo {
    max-width: 17rem;
    margin-inline: auto;
    aspect-ratio: 4 / 5;
    border-radius: 1.4rem;
  }
  .h1-sub { max-width: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .cta { width: 100%; }
  .service-grid, .work-grid, .process, .proof, .stats { grid-template-columns: minmax(0, 1fr); }
  .glow { display: none; }
  .float-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .band.in .tile, .band.in .work-card, .band.in .process li, .band.in .proof article {
    opacity: 1;
    transform: none;
  }
}
