:root {
  --bg: #f6efe5;
  --bg-soft: #fff9f1;
  --surface: rgba(255, 250, 244, 0.88);
  --surface-strong: #fffdf9;
  --surface-dark: #181818;
  --surface-dark-alt: #231f1f;
  --text: #171412;
  --text-muted: #61574f;
  --text-on-dark: #f6efe5;
  --line: rgba(23, 20, 18, 0.1);
  --line-strong: rgba(23, 20, 18, 0.18);
  --accent: #d73a31;
  --accent-deep: #9d1f1f;
  --accent-soft: #ffe2d5;
  --gold: #e8bc72;
  --shadow: 0 18px 60px rgba(43, 25, 19, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 58, 49, 0.14), transparent 26%),
    radial-gradient(circle at 85% 10%, rgba(232, 188, 114, 0.12), transparent 22%),
    linear-gradient(180deg, #fff8ef 0%, #f6efe5 48%, #efe3d5 100%);
  min-height: 100vh;
}

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

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

button,
a {
  transition: transform 180ms ease, color 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

.site-shell::before {
  top: 220px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 58, 49, 0.1) 0%, rgba(215, 58, 49, 0) 68%);
}

.site-shell::after {
  bottom: 100px;
  left: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 188, 114, 0.12) 0%, rgba(232, 188, 114, 0) 70%);
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 248, 239, 0.72);
  border-bottom: 1px solid rgba(23, 20, 18, 0.06);
}

.header-row {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Arial Narrow", "Avenir Next Condensed", "Trebuchet MS", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 54px;
  height: 54px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav a {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(215, 58, 49, 0.1);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.hero,
.subhero,
.legal-hero {
  padding: 48px 0 32px;
}

.hero-home {
  position: relative;
  overflow: clip;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1), transparent 78%);
  pointer-events: none;
}

.hero-grid,
.subhero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: center;
}

.hero-copy,
.hero-art,
.subhero-art {
  position: relative;
}

.hero-stage {
  position: absolute;
  inset: 10% 8% auto auto;
  width: 72%;
  height: 72%;
  pointer-events: none;
}

.stage-ring,
.stage-spark {
  position: absolute;
  border-radius: 50%;
}

.stage-ring {
  inset: 12% 15%;
  border: 1px solid rgba(215, 58, 49, 0.18);
  animation: spin 24s linear infinite;
}

.stage-ring-two {
  inset: 2% 5%;
  border-style: dashed;
  border-color: rgba(242, 197, 123, 0.32);
  animation-direction: reverse;
  animation-duration: 32s;
}

.stage-spark {
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, #f2c57b 0%, rgba(242, 197, 123, 0) 70%);
  box-shadow: 0 0 20px rgba(242, 197, 123, 0.45);
}

.stage-spark-one {
  top: 14%;
  right: 18%;
  animation: floatY 3.8s ease-in-out infinite;
}

.stage-spark-two {
  bottom: 24%;
  left: 12%;
  background: radial-gradient(circle, #d73a31 0%, rgba(215, 58, 49, 0) 70%);
  box-shadow: 0 0 20px rgba(215, 58, 49, 0.4);
  animation: floatY 4.4s ease-in-out infinite reverse;
}

.hero-copy h1,
.subhero h1,
.legal-hero h1 {
  margin: 0;
  font-family: "Arial Narrow", "Avenir Next Condensed", "Trebuchet MS", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 800;
}

.lede {
  margin: 22px 0 0;
  max-width: 700px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.hero-copy {
  padding: 28px 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #b92724 100%);
  box-shadow: 0 16px 30px rgba(215, 58, 49, 0.2);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(23, 20, 18, 0.12);
}

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-metrics li,
.feature-card,
.service-card,
.process-card,
.contact-card,
.timeline-card,
.team-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 244, 0.9));
  border: 1px solid rgba(23, 20, 18, 0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.hero-metrics li {
  padding: 20px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.hero-metrics span {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.hero-art img,
.subhero-art img,
.panel-art img {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  filter: drop-shadow(0 26px 40px rgba(70, 28, 22, 0.16));
}

.hero-home .hero-art img {
  animation: heroFloat 7.5s ease-in-out infinite;
}

.marquee-strip {
  position: relative;
  overflow: hidden;
  margin: -4px 0 28px;
  padding: 14px 0;
  border-top: 1px solid rgba(23, 20, 18, 0.08);
  border-bottom: 1px solid rgba(23, 20, 18, 0.08);
  background: rgba(255, 250, 244, 0.62);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marqueeMove 28s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 20, 18, 0.08);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.section {
  padding: 40px 0 88px;
}

.section-contrast {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.76), rgba(246, 239, 229, 0.3));
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(215, 58, 49, 0.16), transparent 28%),
    linear-gradient(180deg, #201a1a 0%, #151111 100%);
  color: var(--text-on-dark);
}

.section-dark .eyebrow,
.section-dark .section-heading h2,
.section-dark .timeline-card h3,
.section-dark .process-card span,
.section-dark .team-card h3,
.section-dark .team-card p {
  color: inherit;
}

.section-dark .timeline-card,
.section-dark .process-card,
.section-dark .team-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2,
.panel-copy h2,
.cta-banner h2 {
  margin: 0;
  font-family: "Arial Narrow", "Avenir Next Condensed", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 3.1vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.card-grid,
.service-grid,
.timeline-grid,
.process-grid,
.contact-grid,
.team-layout {
  display: grid;
  gap: 20px;
}

.card-grid-three,
.timeline-grid,
.contact-grid,
.team-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.feature-card,
.service-card,
.process-card,
.contact-card,
.timeline-card,
.team-card {
  padding: 26px;
}

.feature-card h3,
.service-card h3,
.timeline-card h3,
.team-card h3,
.contact-card h2 {
  margin: 0 0 12px;
  font-size: 1.24rem;
}

.feature-card p,
.service-card p,
.process-card p,
.contact-card p,
.timeline-card p,
.team-card p,
.panel-copy p,
.footer-grid p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.section-dark .timeline-card p,
.section-dark .process-card p,
.section-dark .team-card p {
  color: rgba(246, 239, 229, 0.78);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.96fr);
  gap: 40px;
  align-items: center;
}

.reverse-panel {
  grid-template-columns: minmax(300px, 0.96fr) minmax(0, 1fr);
}

.reverse-panel .panel-art {
  order: 1;
}

.reverse-panel .panel-copy {
  order: 2;
}

.panel-copy p {
  margin-top: 16px;
}

.bullet-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.bullet-list div {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 20, 18, 0.08);
}

.compact-list div {
  padding: 16px 18px;
}

.bullet-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.96rem;
}

.bullet-list span,
.bullet-list a {
  color: var(--text-muted);
  line-height: 1.65;
}

.timeline-card span,
.process-card span,
.contact-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(215, 58, 49, 0.14);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 18px;
}

.process-card span {
  min-width: auto;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 245, 236, 0.92)),
    linear-gradient(135deg, rgba(215, 58, 49, 0.08), rgba(232, 188, 114, 0.08));
  border: 1px solid rgba(23, 20, 18, 0.08);
  box-shadow: var(--shadow);
}

.cta-banner p {
  margin: 0 0 10px;
}

.site-footer {
  padding: 30px 0 36px;
  background: rgba(17, 13, 13, 0.98);
  color: rgba(246, 239, 229, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1fr;
  gap: 24px;
  padding: 14px 0 28px;
}

.brand-footer {
  margin-bottom: 14px;
  color: #fff;
}

.footer-grid h3 {
  margin: 8px 0 14px;
  font-size: 0.9rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-grid a {
  display: block;
  margin: 10px 0;
  color: rgba(246, 239, 229, 0.82);
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #fff;
}

.footer-base {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(246, 239, 229, 0.62);
  font-size: 0.92rem;
}

.legal-meta {
  margin-top: 16px;
  color: var(--text-muted);
  font-weight: 700;
}

.legal-section {
  padding-top: 24px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.legal-index {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(23, 20, 18, 0.08);
  box-shadow: var(--shadow);
}

.legal-index a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 700;
}

.legal-index a:hover {
  color: var(--text);
  background: rgba(215, 58, 49, 0.08);
}

.legal-article {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(23, 20, 18, 0.08);
  box-shadow: var(--shadow);
}

.legal-article section + section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(23, 20, 18, 0.08);
}

.legal-article h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.legal-article p,
.legal-article li {
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-article ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

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

  .reveal,
  .button,
  a,
  button {
    transition: none;
  }

  .hero-home .hero-art img,
  .stage-ring,
  .stage-spark,
  .marquee-track {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .subhero-grid,
  .split-panel,
  .reverse-panel,
  .service-grid,
  .process-grid,
  .footer-grid,
  .legal-layout,
  .card-grid-three,
  .timeline-grid,
  .contact-grid,
  .team-layout {
    grid-template-columns: 1fr 1fr;
  }

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

  .legal-index {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 78px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: var(--radius-lg);
    background: rgba(255, 248, 239, 0.96);
    border: 1px solid rgba(23, 20, 18, 0.08);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    border-radius: var(--radius-md);
  }

  .hero,
  .subhero,
  .legal-hero {
    padding-top: 28px;
  }

  .hero-stage {
    inset: 12% 8% auto auto;
    width: 82%;
    height: 68%;
  }

  .marquee-strip {
    margin-bottom: 16px;
  }

  .hero-grid,
  .subhero-grid,
  .split-panel,
  .reverse-panel,
  .service-grid,
  .process-grid,
  .footer-grid,
  .legal-layout,
  .card-grid-three,
  .timeline-grid,
  .contact-grid,
  .team-layout,
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .cta-banner,
  .footer-base {
    display: grid;
  }

  .feature-card,
  .service-card,
  .process-card,
  .contact-card,
  .timeline-card,
  .team-card,
  .legal-article {
    padding: 22px;
  }

  .hero-copy h1,
  .subhero h1,
  .legal-hero h1 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .brand img {
    width: 46px;
    height: 46px;
  }
}
