/* ===== Theme tokens ===== */
:root {
  --background: oklch(0.96 0.002 250);
  --foreground: oklch(0.16 0.012 260);
  --card: oklch(0.99 0.001 250);
  --primary: oklch(0.62 0.12 82);
  --primary-foreground: oklch(0.16 0.012 260);
  --secondary: oklch(0.93 0.003 250);
  --muted-foreground: oklch(0.45 0.015 260);
  --border: oklch(0.87 0.005 260);
  --input: oklch(0.87 0.005 260);
  --ring: oklch(0.62 0.12 82);
  --dark: #0a0a0a;
  --dark-90: rgba(10, 10, 10, 0.9);
  --font-heading: "Anton", "Arial Narrow", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --maxw: 80rem;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

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

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ===== Typography helpers ===== */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--primary);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.3em;
}

.section-title {
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  font-size: clamp(2.25rem, 5vw, 3rem);
  text-wrap: balance;
}

.display-title {
  margin-top: 1rem;
  max-width: 56rem;
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.9;
  font-size: clamp(3rem, 8vw, 4.5rem);
  text-wrap: balance;
}

.body-text {
  margin-top: 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  text-wrap: pretty;
}

.section {
  border-top: 1px solid var(--border);
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 7rem 0;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

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

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

.btn-primary-invert:hover {
  color: #fff;
}

.btn-outline-light {
  border-color: #fff;
  color: #fff;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: var(--dark);
}

.btn-outline-dark {
  border-color: var(--foreground);
  color: var(--foreground);
}

.btn-outline-dark:hover {
  background-color: var(--foreground);
  color: var(--background);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-block {
  width: 100%;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background-color: var(--dark-90);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background-color: color-mix(in oklch, var(--background) 88%, transparent);
}

.header-inner {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 3rem;
  width: 3rem;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.brand-tagline {
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}

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

.nav-desktop a {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(20, 20, 25, 0.7);
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--primary);
}

.nav-cta {
  display: none;
  padding: 0.625rem 1.25rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
}

.menu-toggle svg {
  height: 1.5rem;
  width: 1.5rem;
}

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

.menu-toggle.open .icon-menu {
  display: none;
}

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

.nav-mobile {
  border-top: 1px solid var(--border);
  background-color: var(--background);
}

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav-mobile-inner a {
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(20, 20, 25, 0.8);
}

.nav-mobile-inner a:hover {
  color: var(--primary);
}

.nav-mobile-cta {
  margin-top: 1rem;
  border-bottom: none !important;
  padding: 0.75rem 1.25rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--dark),
    rgba(10, 10, 10, 0.8) 45%,
    rgba(10, 10, 10, 0.3)
  );
}

.hero-streak {
  position: absolute;
  top: -25%;
  right: 28%;
  height: 150%;
  width: 3rem;
  transform: rotate(-12deg);
  background-color: color-mix(in oklch, var(--primary) 70%, transparent);
  filter: blur(2px);
  display: none;
}

.hero-content {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.hero-title {
  margin-top: 1.5rem;
  max-width: 56rem;
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  color: #fff;
  font-size: clamp(3rem, 11vw, 8rem);
}

.hero-lead {
  margin-top: 2rem;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  font-size: 1rem;
  text-wrap: pretty;
}

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

.hero-stats {
  margin-top: 4rem;
  display: grid;
  max-width: 42rem;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2.5rem;
}

.hero-stats dt {
  font-family: var(--font-heading);
  font-weight: 400;
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 3rem);
}

.hero-stats dd {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 640px) {
  .hero-lead {
    font-size: 1.125rem;
  }
  .hero-actions {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
  .hero-streak {
    display: block;
  }
}

/* ===== About ===== */
.about-grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

.about-media {
  position: relative;
  order: -1;
}

.about-media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 1.25rem 1.5rem;
}

.about-badge-year {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.875rem;
  text-transform: uppercase;
  line-height: 1;
}

.about-badge-loc {
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.8;
}

.feature-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-list li {
  display: flex;
  gap: 1.25rem;
}

.feature-icon {
  display: flex;
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary);
  color: var(--primary);
}

.feature-icon svg {
  height: 1.5rem;
  width: 1.5rem;
}

.feature-list h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.feature-list p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .about-media {
    order: 0;
  }
}

/* ===== Practice areas ===== */
.practice-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2rem;
  row-gap: 3rem;
}

.practice-card {
  border-top: 2px solid var(--primary);
  padding-top: 1.25rem;
}

.practice-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.practice-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.practice-cta {
  margin-top: 3.5rem;
}

@media (min-width: 640px) {
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ===== Process ===== */
.process {
  background-color: var(--dark);
  color: #fff;
}

.process-title {
  max-width: 48rem;
  color: #fff;
}

.process-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.15);
}

.process-step {
  background-color: var(--dark);
  padding: 1.75rem;
}

.process-step .step-num {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 3rem;
  color: var(--primary);
}

.process-step h3 {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.process-step p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact-details {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-details li {
  display: flex;
  gap: 1.25rem;
}

.contact-details .feature-icon svg {
  height: 1.25rem;
  width: 1.25rem;
}

.contact-details .label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
}

.contact-details .value {
  margin-top: 0.125rem;
  font-weight: 500;
}

.contact-card {
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
}

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

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

.form-field label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--input);
  background-color: var(--background);
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
  outline: none;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  box-shadow: 0 0 0 2px var(--ring);
}

.form-field textarea {
  resize: vertical;
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.contact-success {
  display: flex;
  min-height: 18rem;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-success h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.875rem;
  text-transform: uppercase;
}

.contact-success p {
  margin-top: 0.75rem;
  max-width: 24rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .contact-card {
    padding: 2rem;
  }
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  background-color: var(--dark);
  color: #fff;
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

.footer-brand-name {
  color: #fff;
}

.footer-blurb {
  margin-top: 1.25rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
}

.footer-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
