:root {
  --bg: #f6efe6;
  --bg-strong: #eadcc7;
  --surface: rgba(255, 251, 245, 0.72);
  --surface-strong: rgba(255, 248, 239, 0.92);
  --text: #21160f;
  --muted: #6d5b4f;
  --line: rgba(33, 22, 15, 0.1);
  --accent: #bb5a2b;
  --accent-soft: #ebbf95;
  --shadow: 0 24px 80px rgba(63, 37, 17, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  display: flex;
  flex-direction: column;
  background: #fbf5ee;
}

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

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

main {
  flex: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  padding: 20px 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.topbar.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #3b2317 100%);
  box-shadow: 0 0 0 6px rgba(187, 90, 43, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
  font-size: 1.18rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--surface-strong);
  color: var(--text);
}

.section {
  padding: 92px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 28px;
  align-items: center;
  min-height: calc(100svh - 176px);
  padding-top: 44px;
}

.hero-copy {
  max-width: 640px;
}

.hero-orbit {
  position: relative;
  width: min(100%, 520px);
  height: 520px;
  justify-self: center;
  margin-top: -220px;
  margin-left: -118px;
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeIn 0.9s ease forwards;
  animation-delay: 2.68s;
}

.hero-orbit::before {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.76) 0%, rgba(251, 245, 238, 0.08) 72%, transparent 100%);
  border: 1px dashed rgba(187, 90, 43, 0.18);
}

.orbit-core,
.orbit-item {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(187, 90, 43, 0.18);
  background: rgba(255, 251, 245, 0.82);
  box-shadow: var(--shadow);
}

.orbit-core {
  inset: 176px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  z-index: 2;
}

.orbit-item {
  width: 212px;
  height: 212px;
  padding: 38px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  opacity: 0;
  animation: orbitBloom 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.orbit-item h2 {
  margin: 0 0 10px;
  font-size: 2.1rem;
}

.orbit-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 1.02rem;
}

.orbit-item-a {
  top: 0;
  left: 154px;
  animation-delay: 2.88s;
  --orbit-from-x: 30px;
  --orbit-from-y: 108px;
  --orbit-from-rotate: -10deg;
}

.orbit-item-b {
  top: 154px;
  right: -8px;
  animation-delay: 3.14s;
  --orbit-from-x: -92px;
  --orbit-from-y: 34px;
  --orbit-from-rotate: 12deg;
}

.orbit-item-c {
  bottom: 0;
  left: 154px;
  animation-delay: 3.01s;
  --orbit-from-x: -24px;
  --orbit-from-y: -108px;
  --orbit-from-rotate: 10deg;
}

.orbit-item-d {
  top: 154px;
  left: -8px;
  animation-delay: 2.75s;
  --orbit-from-x: 92px;
  --orbit-from-y: -34px;
  --orbit-from-rotate: -12deg;
}

.hero-title {
  display: grid;
}

.hero-line {
  display: block;
  width: fit-content;
}

.hero-char {
  display: inline-block;
  opacity: 0;
  transform: translateX(-4px);
  filter: blur(2px);
  animation: heroUnfurl 0.46s cubic-bezier(0.22, 0.78, 0.22, 1) forwards;
}

.hero-char.hero-char-start {
  transform: translateX(-14px);
  filter: blur(3px);
}

.hero-char.hero-char-space {
  width: 0.28em;
}

.topbar,
.eyebrow,
.lede,
.hero-actions,
.hero-metrics {
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeIn 0.9s ease forwards;
}

.topbar { animation-delay: 2.35s; }
.eyebrow { animation-delay: 2.45s; }
.lede { animation-delay: 2.7s; }
.hero-actions { animation-delay: 2.9s; }
.hero-metrics { animation-delay: 3.05s; }

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

.hero h1,
.section-heading h2,
.band-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.015em;
}

.hero h1 {
  font-size: clamp(3.15rem, 5.4vw, 4.9rem);
  max-width: 13.4ch;
}

.lede,
.section-heading p,
.band-points p,
.contact-copy p,
.service-card p,
.timeline p,
.results-list p,
.contact-note,
.hero-metrics span,
.mini-copy {
  color: var(--muted);
  line-height: 1.45;
  font-size: 1.18rem;
}

.lede {
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.28rem;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--text);
  color: #fff7ef;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.38);
}

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

.hero-metrics li,
.hero-panel,
.service-card,
.results-quote,
.results-list article,
.contact-card,
.intro-band,
.timeline article {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-metrics li {
  padding: 18px;
  border-radius: var(--radius-sm);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 600;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  justify-self: center;
  min-height: 500px;
  transform: translateY(-108px);
}

.hero-panel {
  border-radius: var(--radius-lg);
}

.hero-panel-top {
  position: absolute;
  inset: 0;
  padding: 24px;
  background: transparent;
}

.panel-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(187, 90, 43, 0.12);
  font-size: 0.98rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: start;
}

.panel-grid article {
  min-height: 152px;
  padding: 18px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.78);
  border: 1px solid rgba(187, 90, 43, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel-grid h2,
.service-card h3,
.results-list h3 {
  margin: 0 0 10px;
  font-size: 1.8rem;
  font-weight: 600;
}

.panel-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.intro-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  padding: 34px;
  border-radius: var(--radius-lg);
}

.band-copy h2,
.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2.35rem, 4.6vw, 3.7rem);
}

.band-points,
.results-list {
  display: grid;
  gap: 16px;
}

.section-heading {
  max-width: 100%;
  margin-bottom: 32px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 280px;
  padding: 22px;
  border-radius: var(--radius-md);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 18px;
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--accent-soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline article,
.results-list article {
  padding: 22px;
  border-radius: var(--radius-md);
}

.timeline strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.7rem;
  font-weight: 600;
}

.results-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 20px;
}

.results-quote {
  display: flex;
  align-items: stretch;
  min-height: 320px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.55), rgba(255, 248, 239, 0.96)),
    radial-gradient(circle at top right, rgba(187, 90, 43, 0.16), transparent 40%);
}

.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 100%;
  padding: 8px 4px 0;
}

.quote-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(187, 90, 43, 0.1);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-card > p:first-of-type {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.quote-attribution {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  color: var(--muted);
  letter-spacing: 0;
}

.quote-attribution span:first-child {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.quote-attribution span:last-child {
  font-size: 0.98rem;
  font-weight: 500;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 22px;
  align-items: stretch;
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius-lg);
}

.contact-card a {
  font-size: 1.6rem;
  font-weight: 600;
}

.footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: rgba(247, 238, 225, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 8px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-copy {
  display: grid;
  gap: 8px;
}

.footer-brand,
.footer-tagline {
  margin: 0;
}

.footer-brand {
  color: var(--text);
  font-size: 1.4rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

.footer-tagline {
  font-size: 1.1rem;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: var(--accent);
  border-color: rgba(187, 90, 43, 0.38);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

@keyframes heroUnfurl {
  0% {
    opacity: 0;
    transform: translateX(var(--hero-word-shift, -18px));
    filter: blur(var(--hero-word-blur, 4px));
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orbitBloom {
  0% {
    opacity: 0;
    transform: translate(var(--orbit-from-x), var(--orbit-from-y)) rotate(var(--orbit-from-rotate, 0deg)) scale(0.88);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .intro-band,
  .results-layout,
  .contact,
  .services-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 0;
  }

  .hero-orbit {
    width: min(100%, 460px);
    height: 460px;
    margin-top: -154px;
    margin-left: -62px;
  }

  .orbit-core {
    inset: 150px;
  }

  .orbit-item {
    width: 184px;
    height: 184px;
    padding: 30px 20px;
  }

  .orbit-item h2 {
    font-size: 1.82rem;
  }

  .orbit-item-a,
  .orbit-item-c {
    left: 138px;
  }

  .orbit-item-a {
    top: 0;
  }

  .orbit-item-b,
  .orbit-item-d {
    top: 138px;
  }

  .orbit-item-b {
    right: -2px;
  }

  .orbit-item-c {
    bottom: 0;
  }

  .orbit-item-d {
    left: -2px;
  }

  .hero-card {
    min-height: 410px;
    transform: translateY(-40px);
  }

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

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .topbar {
    flex-wrap: wrap;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 16px 18px;
  }

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

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 12px;
  }

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

  .hero,
  .intro-band,
  .results-layout,
  .contact,
  .services-grid,
  .timeline,
  .panel-grid {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    width: min(100%, 360px);
    height: 360px;
    margin: -28px auto 0;
    margin-left: auto;
  }

  .hero-orbit::before {
    inset: 14%;
  }

  .orbit-core {
    inset: 118px;
    font-size: 0.82rem;
  }

  .orbit-item {
    width: 144px;
    height: 144px;
    padding: 20px 14px;
  }

  .orbit-item h2 {
    margin-bottom: 6px;
    font-size: 1.28rem;
  }

  .orbit-item p {
    font-size: 0.86rem;
    line-height: 1.3;
  }

  .orbit-item-a,
  .orbit-item-c {
    left: 108px;
  }

  .orbit-item-a {
    top: 0;
  }

  .orbit-item-b {
    top: 108px;
    right: 0;
  }

  .orbit-item-c {
    bottom: 0;
  }

  .orbit-item-d {
    top: 108px;
    left: 0;
  }

  .section {
    padding: 72px 0;
  }

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

  .hero-card {
    min-height: auto;
    transform: none;
  }

  .hero-panel-top,
  .hero-panel-bottom {
    position: static;
  }

  .hero-panel-bottom {
    margin-top: 16px;
    inset: auto;
  }

  .footer {
    margin-top: 28px;
  }

  .footer-inner {
    width: min(100% - 20px, 1180px);
    flex-direction: column;
    align-items: flex-start;
  }
}
