:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 16%;
  --primary: 356 82% 47%;
  --primary-foreground: 0 0% 100%;
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 38%;
  --border: 0 0% 90%;
  --radius: 0.625rem;
  --font-display: "Playfair Display", serif;
  --font-sans: "Inter", sans-serif;
  --brand-primary: #da2128;
  --brand-accent: #5c5c5c;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
}

p {
  margin: 0;
}

button,
input,
textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Splash */
.splash-seen #site-preloader {
  display: none !important;
}

#site-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: opacity 900ms ease;
}

#site-preloader.is-hiding {
  opacity: 0;
  pointer-events: none;
}

.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem;
  text-align: center;
}

.splash-logo {
  width: 11rem;
  height: auto;
}

.splash-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--slate-900);
  letter-spacing: 0.02em;
}

.splash-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #fecaca;
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: splash-spin 0.8s linear infinite;
}

@keyframes splash-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #ffffff;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: all 300ms ease;
}

.site-header.is-scrolled {
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-block;
  flex-shrink: 0;
  border-radius: 2px;
}

.brand-logo:focus-visible {
  outline: 2px solid rgb(218 33 40 / 0.4);
  outline-offset: 2px;
}

.logo-img--header {
  height: auto;
  width: 9.5rem;
  max-height: 4.5rem;
  object-fit: contain;
  object-position: left;
}

@media (min-width: 640px) {
  .logo-img--header {
    width: 11rem;
  }
}

@media (min-width: 768px) {
  .logo-img--header {
    width: 12.5rem;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 150ms ease;
}

.nav-link:hover {
  color: var(--brand-primary);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: none;
  border: 0;
  color: var(--slate-900);
  cursor: pointer;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle.is-open .icon-open {
  display: none;
}

.nav-toggle.is-open .icon-close {
  display: block;
}

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

.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--slate-100);
  padding: 1.5rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-mobile-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--slate-600);
}

.nav-mobile-link:hover {
  color: var(--brand-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  text-align: center;
  transition: all 200ms ease;
}

.btn-primary {
  background: hsl(var(--primary));
  color: #ffffff;
}

.btn-primary:hover {
  background: hsl(356 82% 42%);
}

.btn-nav {
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgb(218 33 40 / 0.25);
}

.btn-mobile {
  margin-top: 0.5rem;
  width: 100%;
  background: hsl(var(--primary));
  color: #ffffff;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.btn-hero {
  padding: 1rem 2rem;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgb(218 33 40 / 0.3);
}

.btn-hero:hover {
  transform: scale(1.05);
}

.btn-hero svg {
  transition: transform 200ms ease;
}

.btn-hero:hover svg {
  transform: translateX(4px);
}

.btn-outline-light {
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  color: #ffffff;
  border: 1px solid rgb(255 255 255 / 0.3);
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: rgb(255 255 255 / 0.1);
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgb(218 33 40 / 0.2);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  max-width: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(2 6 23 / 0.8), rgb(2 6 23 / 0.6), rgb(2 6 23 / 0.8));
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.8;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-copy {
  max-width: 56rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgb(218 33 40 / 0.2);
  backdrop-filter: blur(12px);
  border: 1px solid rgb(218 33 40 / 0.4);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero-title-accent {
  display: inline;
  color: var(--brand-primary);
  font-style: italic;
}

.hero-lede {
  font-size: 1.125rem;
  color: rgb(255 255 255 / 0.8);
  max-width: 42rem;
  line-height: 1.625;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .hero-lede {
    font-size: 1.25rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

/* Sections */
.section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 5rem 0;
}

.section-content {
  position: relative;
  z-index: 1;
}

.section-about {
  background: #ffffff;
}

.section-services {
  background: var(--slate-50);
}

.section-philosophy {
  background: var(--slate-900);
  color: #ffffff;
}

.section-why {
  background: #ffffff;
}

.section-contact {
  background: var(--slate-50);
}

.section-pattern {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.section-pattern-dots {
  background-image: radial-gradient(rgb(218 33 40 / 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
}

.section-pattern-grid {
  background-image:
    linear-gradient(rgb(15 23 42 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(15 23 42 / 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}

.section-pattern-diagonal {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 16px,
    rgb(15 23 42 / 0.045) 16px,
    rgb(15 23 42 / 0.045) 17px
  );
}

.section-pattern-crosshatch-dark {
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 16px, rgb(255 255 255 / 0.05) 16px, rgb(255 255 255 / 0.05) 17px),
    repeating-linear-gradient(-45deg, transparent, transparent 16px, rgb(255 255 255 / 0.05) 16px, rgb(255 255 255 / 0.05) 17px);
}

.section-pattern-diagonal-dark {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 18px,
    rgb(255 255 255 / 0.06) 18px,
    rgb(255 255 255 / 0.06) 19px
  );
}

.section-pattern-rings {
  background-image: radial-gradient(
    circle at center,
    transparent 0,
    transparent 20px,
    rgb(218 33 40 / 0.07) 20px,
    rgb(218 33 40 / 0.07) 21px,
    transparent 21px
  );
  background-size: 48px 48px;
}

.section-pattern-plus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg fill='none' stroke='%230f172a' stroke-opacity='0.07' stroke-width='1'%3E%3Cpath d='M14 8v12M8 14h12'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 28px 28px;
}

.eyebrow {
  color: var(--brand-primary);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: block;
}

.eyebrow-light {
  color: rgb(255 255 255 / 0.6);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-title-light {
  color: #ffffff;
}

.section-title-muted {
  color: rgb(255 255 255 / 0.4);
  font-style: italic;
  font-size: 1.875rem;
}

@media (min-width: 768px) {
  .section-title-muted {
    font-size: 2.25rem;
  }
}

.section-lede {
  color: var(--slate-600);
  font-size: 1.125rem;
}

.section-intro {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 2rem;
}

.section-why .section-intro {
  margin-bottom: 4rem;
}

.stack-16 {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.prose p + p {
  margin-top: 1.5rem;
}

.prose-muted {
  color: var(--slate-600);
  line-height: 1.625;
}

.prose-light {
  color: rgb(255 255 255 / 0.7);
  line-height: 1.625;
  font-size: 1.125rem;
}

.media-frame {
  position: relative;
  z-index: 10;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.media-frame img {
  width: 100%;
  transition: all 700ms ease;
}

.media-frame--overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(15 23 42 / 0.2);
  transition: background 700ms ease;
}

.media-frame--overlay:hover::after {
  background: transparent;
}

.philosophy-media {
  position: relative;
}

.orbit {
  position: absolute;
  inset: 0;
  aspect-ratio: 1 / 1;
  border-radius: 9999px;
  pointer-events: none;
}

.orbit-outer {
  border: 1px solid rgb(255 255 255 / 0.1);
  animation: spin 20s linear infinite;
}

.orbit-inner {
  inset: 1rem;
  border: 1px solid rgb(255 255 255 / 0.05);
  animation: spin 15s linear infinite reverse;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit {
    animation: none;
  }
}

.steps-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step-card {
  padding: 1.5rem;
  background: rgb(255 255 255 / 0.05);
  border-radius: 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.1);
}

.step-number {
  display: block;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(255 255 255 / 0.9);
}

.services-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid .service-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc((100% - 2rem) / 2);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-grid .service-card:last-child {
    grid-column: 2;
    max-width: none;
    justify-self: stretch;
  }
}

.service-card {
  background: #ffffff;
  border: 2px solid var(--slate-200);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  transition: box-shadow 200ms ease;
}

.service-card:hover {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background: var(--slate-50);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 200ms ease, color 200ms ease;
}

.service-card:hover .service-icon {
  background: var(--brand-primary);
  color: #ffffff;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--slate-600);
  line-height: 1.625;
  font-size: 0.875rem;
}

.why-wrap {
  max-width: 56rem;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.benefits-card {
  background: var(--slate-50);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--slate-100);
}

.benefits-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1.5rem;
}

.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--slate-600);
  font-size: 0.875rem;
}

.benefits-list svg {
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.contact-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-lede {
  margin-bottom: 2.5rem;
  line-height: 1.625;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background: #ffffff;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  border: 1px solid var(--slate-100);
  color: var(--brand-primary);
  flex-shrink: 0;
}

.contact-row h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 0.15rem;
}

.contact-row a,
.contact-row p {
  color: var(--slate-600);
}

.contact-row a:hover {
  color: var(--brand-primary);
}

.contact-row a:focus-visible {
  outline: 2px solid rgb(218 33 40 / 0.3);
  border-radius: 2px;
}

.contact-form-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  border: 2px solid var(--slate-200);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-200);
  outline: none;
  transition: box-shadow 150ms ease, border-color 150ms ease;
  background: #ffffff;
  color: var(--slate-900);
}

.form-field textarea {
  resize: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 2px rgb(218 33 40 / 0.2);
}

.form-error {
  color: #b91c1c;
  font-size: 0.875rem;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  color: var(--slate-900);
  padding: 5rem 0;
  border-top: 1px solid var(--slate-200);
}

.footer-inner {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: span 2;
  }
}

.brand-logo--footer {
  margin-bottom: 1.5rem;
}

.logo-img--footer {
  height: auto;
  width: 100%;
  max-width: 9.5rem;
  object-fit: contain;
  object-position: left;
}

@media (min-width: 640px) {
  .logo-img--footer {
    max-width: 10.5rem;
  }
}

.footer-blurb {
  color: var(--slate-600);
  max-width: 28rem;
  line-height: 1.625;
}

.footer-heading {
  font-family: var(--font-sans);
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: var(--slate-900);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer-list a,
.footer-list span {
  color: var(--slate-600);
}

.footer-list a:hover,
.footer-legal a:hover {
  color: var(--brand-primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--slate-500);
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--slate-600);
}

/* 404 */
.error-404 {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  background: var(--slate-950);
  color: #ffffff;
  overflow: hidden;
}

.error-404__bg {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 18px,
    rgb(255 255 255 / 0.06) 18px,
    rgb(255 255 255 / 0.06) 19px
  );
  opacity: 0.8;
}

.error-404__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.error-404__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1;
  margin: 0.5rem 0 1rem;
}

.error-404__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: #ffffff;
}

.error-404__text {
  color: rgb(255 255 255 / 0.75);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.page-fallback {
  padding-top: 8rem;
}

.page-title {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.admin-bar .site-header {
  top: 32px;
}

.container.hero-content {
    margin-top: 5rem;
}


@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
