:root {
  --bg: #111010;
  --panel: #1a1917;
  --panel-soft: #222018;
  --text: #ede8df;
  --muted: #8c8679;
  --line: rgba(255, 255, 255, 0.07);
  --accent: #d4922a;
  --accent-hover: #f0c060;
  --danger: #ff6b6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

.ambient-smoke-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.96;
  filter: blur(1.2px) saturate(0);
  mix-blend-mode: screen;
  pointer-events: none;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
iframe {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 16, 16, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1160px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.28rem;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  background: var(--text);
  transform: translateY(2px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  background: var(--text);
  transform: translateY(0) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: 72px 0 auto 0;
  display: none;
  flex-direction: column;
  padding: 22px 24px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 16, 16, 0.98);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  padding: 13px 0;
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav a.active::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 4px;
  background: var(--accent);
}

main {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 86px 0 72px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.025) 0%, transparent 58%);
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero.compact {
  min-height: 440px;
}

.hero-grid {
  display: grid;
  gap: 36px;
  align-items: end;
}

.hero-center {
  max-width: 980px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-center .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero-center .actions {
  justify-content: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.stat-number {
  font-family: "Cormorant Garamond", serif;
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3rem, 10vw, 7.5rem);
  font-weight: 700;
  font-style: italic;
}

.page-hero h1 {
  font-size: clamp(2.75rem, 8vw, 6.2rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 600;
}

p {
  margin: 0;
  color: var(--muted);
}

.lead {
  max-width: 680px;
  margin-top: 22px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.type-text {
  white-space: pre-wrap;
}

.type-text.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.82em;
  margin-left: 0.08em;
  background: currentColor;
  animation: type-cursor 760ms steps(1) infinite;
  transform: translateY(0.08em);
}

@keyframes type-cursor {
  50% {
    opacity: 0;
  }
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-weight: 800;
  font-size: 0.92rem;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 239, 233, 0.35);
}

.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #111010;
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2,
.grid-3,
.grid-4 {
  grid-template-columns: 1fr;
}

.card,
.price-card,
.project-card,
.browser-card,
.form-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(26, 25, 23, 0.9);
  box-shadow: var(--shadow);
}

.card,
.price-card,
.project-card,
.form-card,
.thumb-preview {
  transition: border-color 180ms ease, background 180ms ease, transform 220ms ease;
}

.card:hover,
.price-card:hover,
.project-card:hover,
.form-card:hover,
.thumb-preview:hover {
  background: var(--panel-soft);
  border-color: rgba(212, 146, 42, 0.22);
}

.card,
.price-card {
  padding: 24px;
}

.icon {
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 146, 42, 0.48);
  border-radius: 6px;
  color: var(--accent);
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
}

.link-arrow {
  display: inline-flex;
  margin-top: 24px;
  color: var(--text);
  font-weight: 800;
}

.link-arrow:hover {
  color: var(--accent-hover);
}

.trust-list,
.feature-list,
.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li,
.feature-list li,
.check-list li {
  padding: 14px 0 14px 26px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  position: relative;
}

.trust-list li::before,
.feature-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "+";
  font-weight: 600;
}

.portfolio-strip {
  display: grid;
  gap: 16px;
}

.thumb-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.thumb-preview .preview-frame {
  height: 230px;
}

.thumb-preview .project-info {
  padding: 18px;
}

.thumb-preview h3 {
  margin-bottom: 6px;
}

.cta-strip {
  display: grid;
  gap: 20px;
  align-items: center;
}

.steps {
  counter-reset: steps;
}

.step {
  position: relative;
  padding-top: 46px;
}

.step::before {
  counter-increment: steps;
  content: "0" counter(steps);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
}

.price-card.featured {
  border-color: rgba(212, 146, 42, 0.7);
}

.price {
  margin: 18px 0 20px;
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  font-weight: 700;
  line-height: 1.12;
}

.pricing-group + .pricing-group {
  margin-top: 38px;
}

.pricing-note {
  max-width: 760px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.audio-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

audio {
  width: 100%;
  margin: 16px 0 18px;
}

.tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-pill {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-weight: 800;
}

.project-card {
  overflow: hidden;
}

.project-info {
  padding: 22px;
}

.project-info h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.05;
}

.project-info p {
  overflow-wrap: anywhere;
}

.browser-chrome {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(240, 239, 233, 0.35);
}

.address {
  min-width: 0;
  flex: 1;
  margin-left: 8px;
  padding: 5px 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.72rem;
}

.preview-frame {
  height: 320px;
  width: 100%;
  border: 0;
  background: var(--panel-soft);
  pointer-events: none;
}

.standalone-grid .project-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.standalone-grid .project-info {
  display: flex;
  min-height: 214px;
  flex: 1;
  flex-direction: column;
}

.standalone-grid .project-info .link-arrow {
  margin-top: auto;
  padding-top: 18px;
}

.ba-slider {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: var(--panel-soft);
}

.ba-layer {
  position: absolute;
  inset: 0;
}

.ba-layer.after {
  clip-path: inset(0 0 0 50%);
}

.ba-layer iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.ba-label {
  position: absolute;
  top: 14px;
  z-index: 3;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(17, 16, 16, 0.82);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 800;
}

.ba-label.before-label {
  left: 14px;
}

.ba-label.after-label {
  right: 14px;
}

.ba-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 4;
  width: 2px;
  background: var(--accent);
}

.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
  transform: translate(-50%, -50%);
}

.founder-block {
  display: grid;
  gap: 24px;
  align-items: center;
}

.founder-photo {
  aspect-ratio: 4 / 5;
  min-height: 320px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.08);
}

.contact-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.form-card {
  padding: 22px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

label {
  color: var(--text);
  font-weight: 800;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
}

.error {
  min-height: 18px;
  color: var(--danger);
  font-size: 0.82rem;
}

.form-status {
  margin-top: 14px;
  color: var(--text);
}

.contact-lines {
  display: grid;
  gap: 16px;
}

.contact-line {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.icon-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(26, 25, 23, 0.74);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.icon-link:hover {
  border-color: rgba(212, 146, 42, 0.38);
  background: var(--panel-soft);
  color: var(--accent-hover);
  transform: translateY(-2px);
}

.icon-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 44px 0;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-emails {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.footer-links a,
.footer-email {
  color: var(--muted);
}

.footer-links a:hover,
.footer-email:hover {
  color: var(--text);
}

.copyright {
  color: #747069;
  font-size: 0.88rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero [data-reveal] {
  transform: translateY(18px);
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .site-nav a {
    padding: 0;
  }

  .site-nav a.active::after {
    margin-top: 7px;
  }

  .hero-grid,
  .grid-2,
  .contact-layout,
  .footer-grid,
  .cta-strip,
  .founder-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .portfolio-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cta-strip .actions,
  .footer-grid > :last-child {
    justify-content: flex-end;
    text-align: right;
  }

  .section {
    padding: 96px 0;
  }

  .preview-frame {
    height: 390px;
  }

  .standalone-grid .preview-frame {
    height: 300px;
  }

  .ba-slider {
    height: 430px;
  }
}

@media (min-width: 1100px) {
  .grid-3.pricing {
    align-items: stretch;
  }
}

@media (max-width: 420px) {
  .actions .btn {
    width: 100%;
  }

  .preview-frame {
    height: 260px;
  }

  .ba-slider {
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .ambient-smoke-canvas {
    display: none;
  }

  .type-text.is-typing::after {
    display: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
