:root {
  --plum: #0e0810;
  --rose: #b9326e;
  --rose-bright: #ff2d78;
  --white: #ffffff;
  --muted: #3a2040;
  --border: #1a0d1e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--plum);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

a:focus-visible {
  outline: 2px solid var(--rose-bright);
  outline-offset: 4px;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 2px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-primary { background: var(--rose); color: var(--white); }
.btn-primary:hover { background: var(--rose-bright); }

.btn-secondary {
  border: 1px solid var(--muted);
  color: rgba(255,255,255,0.4);
}

.btn-secondary:hover { border-color: var(--rose); color: var(--rose); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  padding: 0 clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(14,8,16,0.9);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  color: var(--white);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 25px;
  letter-spacing: 0.26em;
  line-height: 1;
  text-decoration: none;
}

.nav-brand span { color: var(--rose-bright); }

.site-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: clamp(18px, 3vw, 38px);
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.44);
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active { color: var(--white); }
.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }

.commercials-page .hero { min-height: calc(100vh - 68px); }

.page-hero {
  position: relative;
  min-height: 76vh;
  padding: 110px 24px 90px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 62% 70% at 82% 45%, rgba(185,50,110,0.22), transparent 68%),
    linear-gradient(115deg, transparent 0 58%, rgba(255,45,120,0.035) 58% 58.2%, transparent 58.2%);
  pointer-events: none;
}

.page-hero-inner,
.wide-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

.page-hero-inner > * {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.page-hero-inner > :nth-child(2) { animation-delay: 0.08s; }
.page-hero-inner > :nth-child(3) { animation-delay: 0.16s; }
.page-hero-inner > :nth-child(4) { animation-delay: 0.24s; }

.page-kicker,
.eyebrow {
  color: var(--rose);
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.page-title {
  max-width: 780px;
  margin: 16px 0 22px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 12vw, 132px);
  font-weight: 400;
  letter-spacing: 0.045em;
  line-height: 0.86;
}

.page-lede {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,0.54);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.8;
}

.page-hero-actions { margin-top: 34px; }

.content-section {
  padding: 96px 24px;
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 720px;
  margin: 12px 0 42px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 7vw, 68px);
  font-weight: 400;
  letter-spacing: 0.07em;
  line-height: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.service-card {
  grid-column: span 6;
  min-height: 225px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255,255,255,0.018);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:nth-child(3),
.service-card:nth-child(6) { grid-column: span 7; }
.service-card:nth-child(4),
.service-card:nth-child(5) { grid-column: span 5; }

.service-card:hover {
  border-color: rgba(185,50,110,0.5);
  transform: translateY(-3px);
}

.card-number {
  color: var(--rose);
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
}

.service-card h3,
.process-step h3 {
  margin: 50px 0 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.service-card p,
.process-step p,
.price-card p,
.addon-list li {
  margin: 0;
  color: rgba(255,255,255,0.46);
  font-size: 13px;
  line-height: 1.7;
}

.process-section { background: rgba(185,50,110,0.025); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-step {
  min-height: 245px;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
}

.process-step:last-child { border-right: 0; }
.process-step h3 { margin-top: 58px; font-size: 27px; }

.web-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 14px;
}

.price-card {
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255,255,255,0.018);
}

.price-card.featured {
  border-color: var(--rose);
  background: rgba(185,50,110,0.06);
}

.price-card h3 {
  margin: 0 0 18px;
  color: var(--rose);
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.starting-at {
  color: rgba(255,255,255,0.3);
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.web-price {
  margin: 5px 0 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  letter-spacing: 0.04em;
}

.addons-panel {
  margin-top: 56px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.addons-panel h3 {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.addon-list {
  margin: 0;
  padding: 0;
  columns: 2;
  list-style: none;
}

.addon-list li {
  position: relative;
  padding: 0 0 12px 18px;
  break-inside: avoid;
}

.addon-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--rose);
}

.web-contact {
  text-align: center;
  background: radial-gradient(ellipse 60% 80% at 50% 110%, rgba(185,50,110,0.18), transparent 70%);
}

.web-contact .section-heading,
.web-contact .page-lede { margin-right: auto; margin-left: auto; }
.web-contact .contact-cta-wrap { margin-top: 34px; }

.contact-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.inquiry-section {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.008);
}

.inquiry-section::before {
  content: '';
  position: absolute;
  width: min(520px, 70vw);
  aspect-ratio: 1;
  right: -220px;
  bottom: -310px;
  border: 1px solid rgba(185,50,110,0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(185,50,110,0.018), 0 0 0 140px rgba(185,50,110,0.01);
  pointer-events: none;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: clamp(48px, 8vw, 96px);
}

.inquiry-intro .section-heading { margin-bottom: 24px; }

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field-wide { grid-column: 1 / -1; }

.form-field label {
  color: rgba(255,255,255,0.68);
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.form-field label span { color: var(--rose-bright); }

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: rgba(255,255,255,0.025);
  color: var(--white);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-field input { min-height: 50px; padding: 12px 14px; }

.form-field textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
  line-height: 1.6;
}

.form-field input:hover,
.form-field textarea:hover { border-color: var(--muted); }

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--rose);
  background: rgba(185,50,110,0.045);
  box-shadow: 0 0 0 3px rgba(185,50,110,0.1);
}

.inquiry-submit {
  grid-column: 1 / -1;
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.thank-you-main {
  min-height: calc(100vh - 68px - 109px);
  display: grid;
  place-items: center;
}

.thank-you-section {
  width: 100%;
  border-bottom: 0;
  text-align: center;
}

.thank-you-inner {
  max-width: 760px;
  margin: 0 auto;
}

.thank-you-inner .section-heading,
.thank-you-inner .page-lede { margin-right: auto; margin-left: auto; }

.thank-you-inner .section-heading { margin-bottom: 24px; }
.thank-you-inner .btn-primary { margin-top: 34px; }

.home-hero::before {
  background:
    radial-gradient(ellipse 62% 70% at 82% 45%, rgba(185,50,110,0.22), transparent 68%),
    radial-gradient(ellipse 45% 45% at 10% 90%, rgba(255,45,120,0.06), transparent 72%),
    linear-gradient(115deg, transparent 0 58%, rgba(255,45,120,0.035) 58% 58.2%, transparent 58.2%);
}

.home-intro { background: rgba(185,50,110,0.025); }

.intro-layout,
.featured-work-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: clamp(40px, 8vw, 100px);
}

.intro-layout .section-heading,
.featured-work-layout .section-heading { margin-bottom: 0; }

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.home-service-card,
.featured-work-card,
.project-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255,255,255,0.018);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.home-service-card {
  grid-column: span 4;
  min-height: 330px;
  padding: 30px;
  color: var(--white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.home-service-card:nth-child(2) {
  background: rgba(185,50,110,0.055);
  transform: translateY(22px);
}

.home-service-card:hover,
.featured-work-card:hover,
.project-card:hover {
  border-color: rgba(185,50,110,0.5);
  transform: translateY(-3px);
}

.home-service-card:nth-child(2):hover { transform: translateY(19px); }

.home-service-card h3,
.project-card h3 {
  margin: 58px 0 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.07em;
  line-height: 1.05;
}

.home-service-card p,
.project-card p {
  margin: 0;
  color: rgba(255,255,255,0.46);
  font-size: 13px;
  line-height: 1.7;
}

.text-link {
  margin-top: auto;
  padding-top: 28px;
  color: var(--rose);
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.featured-work {
  background: radial-gradient(ellipse 50% 90% at 85% 100%, rgba(185,50,110,0.13), transparent 72%);
}

.featured-work-card {
  min-height: 250px;
  padding: 30px;
  color: var(--white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.featured-work-card strong {
  margin-top: 54px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.portfolio-hero { min-height: 68vh; }
.portfolio-section .section-heading { margin-bottom: 34px; }
.portfolio-alt { background: rgba(185,50,110,0.025); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.project-grid-two .project-card { grid-column: span 6; }

.project-card {
  grid-column: span 8;
  min-height: 290px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-card-wide { grid-column: span 9; }
.project-card h3 { margin-top: 62px; font-size: 38px; }
.project-card .btn-primary,
.project-card .btn-secondary { margin-top: auto; }

.project-card .project-status {
  color: var(--rose);
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-card { min-height: 245px; }
.featured-projects-section { background: rgba(255,255,255,0.008); }

.apps-page { min-height: 100vh; }

.apps-hero {
  position: relative;
  min-height: calc(100vh - 68px);
  padding: 90px 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
}

.apps-hero::before {
  content: '';
  position: absolute;
  width: min(650px, 90vw);
  aspect-ratio: 1;
  border: 1px solid rgba(185,50,110,0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(185,50,110,0.025), 0 0 0 160px rgba(185,50,110,0.015);
}

.apps-inner {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.apps-inner > * {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.apps-inner > :nth-child(2) { animation-delay: 0.08s; }
.apps-inner > :nth-child(3) { animation-delay: 0.16s; }
.apps-inner > :nth-child(4) { animation-delay: 0.24s; }

.coming-badge {
  display: inline-block;
  margin-bottom: 26px;
  padding: 8px 14px;
  border: 1px solid var(--rose);
  border-radius: 2px;
  color: var(--rose-bright);
  background: rgba(185,50,110,0.09);
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.apps-title {
  margin: 0 0 18px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(66px, 13vw, 138px);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 0.88;
}

.apps-statement {
  margin: 0 0 26px;
  color: var(--rose);
  font-family: 'Space Mono', monospace;
  font-size: clamp(12px, 2vw, 16px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.apps-copy {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255,255,255,0.52);
  font-size: 16px;
  line-height: 1.85;
}

.footer {
  padding: 28px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo { width: 70px; opacity: 0.6; }

.footer-text {
  color: var(--muted);
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.subpage-footer .footer-inner { max-width: 1040px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .site-header {
    min-height: auto;
    padding: 17px 18px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-nav {
    width: 100%;
    height: 41px;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: 0 0 auto; }
  .site-nav a { font-size: 9px; }
  .commercials-page .hero { min-height: calc(100vh - 94px); }
  .page-hero { min-height: auto; padding: 86px 22px 72px; }
  .page-title { font-size: clamp(58px, 23vw, 92px); }
  .content-section { padding: 72px 22px; }

  .services-grid,
  .web-pricing-grid { grid-template-columns: 1fr; }
  .service-card,
  .service-card:nth-child(n) { grid-column: auto; min-height: 205px; }

  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step { min-height: 210px; border-bottom: 1px solid var(--border); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(n+3) { border-bottom: 0; }

  .addons-panel { grid-template-columns: 1fr; gap: 24px; }
  .addon-list { columns: 1; }
  .apps-hero { min-height: calc(100vh - 94px); padding: 70px 22px; }
  .apps-copy { font-size: 14px; }

  .intro-layout,
  .featured-work-layout,
  .inquiry-layout { grid-template-columns: 1fr; align-items: start; gap: 34px; }

  .home-services-grid { grid-template-columns: 1fr; }
  .home-service-card,
  .home-service-card:nth-child(2) { grid-column: auto; min-height: 285px; transform: none; }
  .home-service-card:nth-child(2):hover { transform: translateY(-3px); }
  .project-card,
  .project-card-wide,
  .project-grid-two .project-card { grid-column: 1 / -1; }

  .thank-you-main { min-height: calc(100vh - 94px - 109px); }
}

@media (max-width: 460px) {
  .nav-brand { font-size: 22px; }
  .site-nav a { letter-spacing: 0.1em; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-bottom: 1px solid var(--border) !important; }
  .process-step:last-child { border-bottom: 0 !important; }
  .service-card { padding: 24px; }
  .inquiry-form { grid-template-columns: 1fr; }
  .form-field-wide,
  .inquiry-submit { grid-column: auto; }
  .inquiry-submit { width: 100%; }
  .footer-inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
