/* sienna.marketing landing */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-foreground);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-ring);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2 * var(--page-pad), var(--content-max));
  margin-inline: auto;
}

.overline {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: 0;
  line-height: 1.25;
}

.lede {
  color: var(--color-muted-foreground);
  max-width: 34rem;
  margin: var(--space-lg) 0 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--space-lg);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-primary);
  transition: opacity var(--motion-fast) ease;
  cursor: pointer;
}

.text-link:hover {
  opacity: 0.8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background var(--motion-fast) ease,
    color var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    filter var(--motion-fast) ease;
}

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

.btn-primary:hover {
  filter: brightness(0.95);
}

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

.btn-secondary:hover {
  background: rgba(36, 40, 40, 0.04);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--motion-reveal) var(--ease-reveal),
    transform var(--motion-reveal) var(--ease-reveal);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 60ms;
}
.reveal-delay-2 {
  transition-delay: 120ms;
}
.reveal-delay-3 {
  transition-delay: 180ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--color-background) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: 1.1rem 0;
}

.logo {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-foreground);
  transition: color var(--motion-fast) ease;
}

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

.nav-cta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--color-foreground);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: var(--space-md);
  padding: 0 0 var(--space-lg);
}

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

.nav-mobile a {
  font-size: 1rem;
  padding: 0.5rem 0;
}

@media (min-width: 900px) {
  .nav-links,
  .nav-cta {
    display: flex;
  }

  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: var(--space-3xl) 0 var(--space-4xl);
  overflow: hidden;
}

.hero-leaf {
  position: absolute;
  right: -4%;
  top: -8%;
  width: min(42vw, 420px);
  opacity: 0.18;
  pointer-events: none;
  color: var(--color-secondary);
}

.hero-grid {
  display: grid;
  gap: var(--space-3xl);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-4xl);
  }
}

.chart-card {
  background: var(--color-secondary);
  color: var(--color-on-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chart-card h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  color: inherit;
  max-width: 14ch;
}

.chart-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: var(--space-lg);
  font-size: 0.875rem;
  opacity: 0.9;
}

.chart-meta strong {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
}

.chart-svg {
  width: 100%;
  height: auto;
  margin-top: var(--space-xl);
}

/* Logos */
.logos {
  padding: 0 0 var(--space-4xl);
}

.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xl) var(--space-2xl);
  opacity: 0.45;
}

.logo-mark {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-muted-foreground);
  white-space: nowrap;
}

.logo-mark.serif {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0;
  font-size: 1.15rem;
}

.logo-mark.wide {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Split sections */
.section {
  padding: var(--space-4xl) 0;
}

.section-split {
  display: grid;
  gap: var(--space-3xl);
}

@media (min-width: 960px) {
  .section-split {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-4xl);
    align-items: start;
  }

  /* Services: narrower intro, wider row of 3 cards (matches reference) */
  #services .section-split {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    gap: var(--space-2xl);
  }
}

.section-intro .lede {
  margin-top: var(--space-md);
}

/* Services — 3 cards in a horizontal row */
.service-cards {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

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

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.icon-well {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-icon-well);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-lg);
  color: var(--color-secondary);
}

.icon-well svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  margin-bottom: var(--space-sm);
}

.service-card p {
  color: var(--color-muted-foreground);
  font-size: 0.95rem;
  margin: 0 0 auto;
}

.service-card .text-link {
  margin-top: var(--space-lg);
}

/* Stats */
.stats {
  padding: var(--space-3xl) 0;
}

.stats-bar {
  background: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

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

.stat {
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
}

@media (min-width: 900px) {
  .stat:not(:last-child) {
    border-right: 1px solid var(--color-border);
  }
}

@media (max-width: 899px) {
  .stat:nth-child(odd) {
    border-right: 1px solid var(--color-border);
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-border);
  }
}

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat-label {
  margin-top: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--color-muted-foreground);
  letter-spacing: 0.02em;
}

/* Work */
.work-cards {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 700px) {
  .work-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.work-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.work-media {
  aspect-ratio: 4 / 3;
  background: var(--color-surface-muted);
  overflow: hidden;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(0.95);
}

.work-body {
  padding: var(--space-lg);
}

.work-body h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}

.work-metric {
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 500;
}

/* Process */
.process-steps {
  display: grid;
  gap: var(--space-xl);
  position: relative;
}

@media (min-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
  }

  .process-steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 8%;
    right: 8%;
    border-top: 1.5px dotted var(--color-border);
    z-index: 0;
  }
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: left;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  color: var(--color-secondary);
  margin-bottom: var(--space-lg);
}

.step-icon svg {
  width: 22px;
  height: 22px;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.process-step h3 {
  margin-bottom: var(--space-sm);
}

.process-step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted-foreground);
}

/* Final CTA */
.final-cta {
  padding: var(--space-4xl) 0;
}

.final-cta-band {
  background: var(--color-secondary);
  color: var(--color-on-secondary);
  border-radius: clamp(24px, 4vw, 40px);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2xl);
}

@media (min-width: 800px) {
  .final-cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.final-cta-band h2 {
  color: inherit;
  max-width: 18ch;
}

/* Footer */
.site-footer {
  padding: var(--space-4xl) 0 var(--space-2xl);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  gap: var(--space-3xl);
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  margin: 0;
  color: var(--color-muted-foreground);
  max-width: 22ch;
}

.footer-col h4 {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.footer-col a {
  font-size: 0.95rem;
  transition: color var(--motion-fast) ease;
}

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

.footer-bottom {
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--color-muted-foreground);
}

.socials {
  display: flex;
  gap: var(--space-md);
}

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-foreground);
  transition: color var(--motion-fast) ease;
}

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

.socials svg {
  width: 18px;
  height: 18px;
}
