:root {
  --bg: #12171b;
  --panel: #181e23;
  --raised: #1e252b;
  --raised-2: #232b32;
  --line: #303941;
  --line-soft: #252d33;
  --text: #f1f3f5;
  --muted: #aeb7bf;
  --faint: #84909a;
  --accent: #5aa5d8;
  --accent-strong: #70b9e8;
  --accent-dark: #2c6e9b;
  --accent-tint: rgba(90, 165, 216, 0.11);
  --font-head: "Bahnschrift", "Aptos Display", "Segoe UI", sans-serif;
  --font-body: "Segoe UI", "Aptos", Arial, sans-serif;
  --max-width: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

p {
  margin: 0;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

section {
  position: relative;
  padding: clamp(68px, 8vw, 104px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}

section.panel {
  background: var(--panel);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 4px;
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent 88%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent 88%);
  opacity: 0.46;
}

.section-mark {
  width: 22px;
  height: 22px;
  margin-bottom: 18px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

.section-label {
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head {
  max-width: 700px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
}

.section-head > p:last-child {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.04rem;
}

.compact-head {
  margin-bottom: 40px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(48, 57, 65, 0.9);
  background: rgba(18, 23, 27, 0.91);
  backdrop-filter: blur(12px);
}

.site-header > .container {
  display: flex;
  height: 88px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.logo-surface {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 4px;
  background: #f3f6f8;
}

.logo-surface img {
  width: 92px;
  height: 69px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 550;
  transition: color 150ms ease;
}

.main-nav a:hover {
  color: var(--text);
}

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

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 100ms ease;
}

.btn-primary,
.main-nav .btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #0c151b;
}

.btn-primary:hover,
.main-nav .btn-primary:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #0c151b;
}

.btn:active {
  transform: translateY(1px);
}

.btn-outline {
  border-color: var(--line);
  background: rgba(18, 23, 27, 0.45);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

/* Hero */
.hero {
  overflow: hidden;
  padding: 0;
}

.hero > .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(62px, 8vw, 96px);
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-eyebrow-line .rule {
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 5.1vw, 4.65rem);
  line-height: 1.04;
}

.hero .lede {
  max-width: 62ch;
  margin-bottom: 24px;
  color: #c2c9cf;
  font-size: clamp(1.03rem, 1.4vw, 1.16rem);
}

.hero-services {
  display: grid;
  gap: 8px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-services li {
  position: relative;
  padding-left: 20px;
}

.hero-services li::before {
  position: absolute;
  top: 0.76em;
  left: 0;
  width: 9px;
  height: 1px;
  background: var(--accent);
  content: "";
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  max-width: 680px;
  color: var(--faint);
  font-size: 0.86rem;
}

.hero-proof strong {
  color: var(--muted);
  font-weight: 650;
}

.hero-proof span {
  color: var(--accent-dark);
}

.prototype-visual,
.owner-photo {
  margin: 0;
}

.prototype-visual {
  min-width: 0;
}

.prototype-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #0f1417;
  object-fit: contain;
}

.prototype-visual figcaption,
.owner-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 11px;
  color: var(--faint);
  font-size: 0.8rem;
}

.prototype-visual figcaption strong {
  color: var(--muted);
  font-weight: 600;
}

/* Prices */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-dark);
  background: var(--bg);
}

.price-number,
.service-number {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.price-card h3 {
  margin-bottom: 13px;
  font-size: 1.23rem;
}

.price-card > p:not(.price) {
  color: var(--muted);
  font-size: 0.94rem;
}

.price-card .price {
  margin-top: auto;
  padding-top: 30px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.price-card .price span {
  display: block;
  margin-bottom: 4px;
  color: var(--faint);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.price-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--raised);
}

.price-options > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
}

.price-options > div + div {
  border-left: 1px solid var(--line);
}

.price-options span {
  color: var(--muted);
}

.price-options strong {
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1rem;
  white-space: nowrap;
}

.price-note {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-top: 22px;
  padding-left: 17px;
  border-left: 2px solid var(--accent-dark);
}

.price-note p {
  max-width: 78ch;
  color: var(--faint);
  font-size: 0.86rem;
}

.text-link {
  flex: 0 0 auto;
  color: var(--accent-strong);
  font-weight: 650;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.service-card h3 {
  min-height: 2.5em;
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.service-card > p {
  min-height: 6.2em;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.service-card li {
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
}

.service-card li::before {
  margin-right: 9px;
  color: var(--accent);
  content: "—";
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(230px, 330px) minmax(0, 1fr);
  gap: clamp(38px, 6vw, 76px);
  align-items: center;
}

.owner-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 5px;
  object-fit: cover;
}

.owner-photo figcaption {
  display: block;
}

.about-text {
  max-width: 760px;
}

.about-text h2 {
  max-width: 700px;
  margin-bottom: 23px;
  font-size: clamp(1.9rem, 3.3vw, 2.65rem);
}

.about-text > p:not(.section-label) {
  max-width: 69ch;
  color: var(--muted);
  font-size: 1rem;
}

.about-text > p:not(.section-label) + p {
  margin-top: 16px;
}

/* Process */
.process-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;
  padding-right: 24px;
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 18px;
  right: -19px;
  width: 38px;
  height: 1px;
  background: var(--line);
  content: "";
}

.step-num {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #0c151b;
  font-family: var(--font-head);
  font-size: 0.83rem;
  font-weight: 700;
}

.process-step h3 {
  margin-bottom: 9px;
  font-size: 1.08rem;
}

.process-step p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.93rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(38px, 6vw, 70px);
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 17px;
  font-size: clamp(1.9rem, 3.3vw, 2.55rem);
}

.contact-info > p:not(.section-label) {
  max-width: 46ch;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1rem;
}

.contact-detail {
  margin-bottom: 26px;
}

.contact-detail a {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.contact-detail a:hover {
  color: var(--accent-strong);
}

.contact-info .scope-note {
  padding-left: 15px;
  border-left: 2px solid var(--line);
  color: var(--faint);
  font-size: 0.9rem;
}

.contact-form {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  background: var(--raised);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-group,
.contact-form > label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.97rem;
}

.contact-form textarea {
  min-height: 146px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form .btn {
  margin-bottom: 14px;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.file-hint,
.contact-form > p {
  margin-top: 8px;
  color: var(--faint);
  font-size: 0.81rem;
}

.file-hint a,
.contact-form > p a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  min-height: 1.3em;
  margin-top: 14px;
  color: var(--accent-strong);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  padding: 48px 0 30px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.footer-brand .logo-surface img {
  width: 138px;
  height: 104px;
}

.footer-brand p {
  margin-top: 14px;
  color: var(--faint);
  font-size: 0.88rem;
}

.footer-cols {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-col a,
.footer-col p {
  display: block;
  padding: 3px 0;
  color: var(--faint);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.footer-col a:hover {
  color: var(--accent-strong);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.82rem;
}

@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.nav-open .main-nav {
    position: absolute;
    top: 88px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    background: var(--panel);
  }

  .hero > .container {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 850px;
  }

  .prototype-visual {
    max-width: 760px;
  }

  .pricing-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: 0;
  }

  .price-card .price {
    padding-top: 22px;
  }

  .service-card h3,
  .service-card > p {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .site-header > .container {
    height: 80px;
  }

  .logo-surface img {
    width: 82px;
    height: 62px;
  }

  .site-header.nav-open .main-nav {
    top: 80px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .price-options,
  .about-grid,
  .process-rail,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .price-options > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .price-note {
    flex-direction: column;
    gap: 15px;
  }

  .owner-photo {
    max-width: 330px;
  }

  .process-rail {
    gap: 30px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .contact-grid {
    gap: 34px;
  }

  .footer-grid,
  .footer-cols {
    flex-direction: column;
  }

  .footer-cols {
    gap: 28px;
  }
}

@media (max-width: 540px) {
  section {
    padding: 60px 0;
  }

  .hero > .container {
    padding-top: 42px;
    padding-bottom: 62px;
  }

  .hero-eyebrow-line {
    font-size: 0.73rem;
  }

  .hero-proof {
    gap: 2px 8px;
  }

  .prototype-visual figcaption {
    display: block;
  }

  .prototype-visual figcaption span {
    display: block;
    margin-top: 2px;
  }

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

  .price-options > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

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