:root {
  --bg: #f4eadb;
  --bg-soft: rgba(255, 248, 240, 0.72);
  --surface: rgba(255, 251, 245, 0.8);
  --surface-strong: rgba(255, 248, 239, 0.96);
  --ink: #1d1812;
  --muted: #635646;
  --line: rgba(29, 24, 18, 0.1);
  --accent: #d7582f;
  --accent-dark: #8f2e14;
  --accent-soft: #ffd7c6;
  --shadow: 0 24px 80px rgba(79, 42, 24, 0.12);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 163, 0.58), transparent 34%),
    radial-gradient(circle at right 20%, rgba(215, 88, 47, 0.15), transparent 25%),
    linear-gradient(180deg, #fff8f1 0%, #f3e7d7 52%, #f7efe3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(29, 24, 18, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 24, 18, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 88%);
  pointer-events: none;
  z-index: -2;
}

.background-glow {
  position: fixed;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.58;
  pointer-events: none;
  z-index: -1;
}

.background-glow-left {
  top: 4rem;
  left: -4rem;
  background: rgba(255, 192, 144, 0.45);
}

.background-glow-right {
  top: 18rem;
  right: -6rem;
  background: rgba(215, 88, 47, 0.18);
}

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

.site-header,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(16px);
  background: rgba(255, 249, 242, 0.78);
  border: 1px solid rgba(29, 24, 18, 0.08);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(57, 33, 18, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff8f1;
  font-size: 0.8rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.section {
  padding: 5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 2rem;
  align-items: start;
  padding-top: 4.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.story-copy h2,
.contact-section h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.section-heading h2,
.story-copy h2,
.contact-section h2 {
  max-width: 11ch;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.hero-body,
.panel-card p,
.work-card p,
.approach-card p,
.story-copy p,
.contact-section p,
.proof-strip p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-body {
  max-width: 36rem;
  margin: 1.4rem 0 0;
  font-size: 1.05rem;
}

.highlight {
  color: var(--accent-dark);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  color: #fff8f1;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: 0 16px 34px rgba(143, 46, 20, 0.22);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 249, 242, 0.76);
  border-color: rgba(29, 24, 18, 0.12);
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-signals span,
.work-card span {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.86);
  border: 1px solid rgba(29, 24, 18, 0.09);
  color: var(--muted);
  font-size: 0.87rem;
}

.hero-panel,
.story-quote {
  position: relative;
}

.panel-card,
.work-card,
.approach-card,
.story-quote,
.proof-strip article,
.contact-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  padding-top: 1.3rem;
}

.panel-primary {
  padding: 2rem;
  background:
    radial-gradient(circle at top left, rgba(255, 211, 185, 0.95), transparent 38%),
    linear-gradient(180deg, rgba(255, 250, 244, 0.92), rgba(253, 245, 235, 0.92));
}

.panel-primary h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.06;
}

.panel-label,
.proof-label,
.work-index,
.approach-step {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.stat-card,
.note-card {
  padding: 1.5rem;
}

.note-card {
  grid-column: 1 / -1;
}

.stat-value {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 3.8rem;
  line-height: 0.9;
}

.stat-label {
  margin: 0.6rem 0 0;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0;
}

.proof-strip article {
  padding: 1.6rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.work-grid,
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.work-card,
.approach-card {
  min-height: 21rem;
  padding: 1.7rem;
}

.work-card h3,
.approach-card h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.work-card p,
.approach-card p {
  margin: 1rem 0 0;
}

.approach-section {
  padding-top: 2rem;
}

.story-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}

.story-copy {
  padding-right: 2rem;
}

.story-quote {
  display: grid;
  place-items: center;
  min-height: 22rem;
  padding: 2rem;
  background:
    radial-gradient(circle at top left, rgba(255, 214, 191, 0.85), transparent 36%),
    linear-gradient(160deg, rgba(255, 251, 246, 0.95), rgba(247, 235, 223, 0.9));
}

.story-quote p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.contact-section {
  padding: 2.4rem;
  text-align: center;
}

.contact-section h2 {
  max-width: 12ch;
  margin: 0 auto;
}

.contact-section p {
  max-width: 42rem;
  margin: 1rem auto 0;
}

.contact-actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2.5rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

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

.has-motion .reveal {
  opacity: 1;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal-delay {
  transition-delay: 120ms;
}

.reveal-delay-2 {
  transition-delay: 220ms;
}

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

@media (max-width: 960px) {
  .hero,
  .story-layout,
  .proof-strip,
  .work-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .story-copy {
    padding-right: 0;
  }

  .site-header {
    border-radius: 1.4rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    flex-direction: column;
    gap: 1rem;
    align-items: start;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .note-card {
    grid-column: auto;
  }

  .work-card,
  .approach-card,
  .story-quote {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: start;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .has-motion .reveal {
    opacity: 1;
    transform: none;
  }
}
