:root {
  --bg: #eef1f8;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-dark: #3e4668;
  --text: #2f3755;
  --text-soft: rgba(47, 55, 85, 0.74);
  --line: rgba(75, 85, 127, 0.14);
  --navy: #4b557f;
  --navy-deep: #38405d;
  --cream: #fffaf4;
  --blush: #f1c7aa;
  --butter: #f3e0a8;
  --sage: #7d946a;
  --shadow: 0 30px 80px rgba(75, 85, 127, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-sm: 999px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(205, 214, 237, 0.95), transparent 36%),
    radial-gradient(circle at 80% 12%, rgba(241, 199, 170, 0.65), transparent 24%),
    radial-gradient(circle at 55% 110%, rgba(243, 224, 168, 0.45), transparent 32%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.16), transparent 65%);
  pointer-events: none;
  z-index: -2;
}

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

button,
a,
.tilt-card {
  -webkit-tap-highlight-color: transparent;
}

.noise {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
}

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

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1rem;
  padding: 0.8rem 0.9rem 0.8rem 1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(231, 236, 247, 0.78)),
    rgba(240, 243, 250, 0.82);
  border: 1px solid rgba(75, 85, 127, 0.1);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(22px);
  box-shadow:
    0 20px 40px rgba(75, 85, 127, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.brand-logo-shell {
  display: grid;
  place-items: center;
  width: 4.9rem;
  height: 4.9rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.brand-logo {
  width: 4.9rem;
  height: 4.9rem;
  object-fit: contain;
  background: transparent;
  border-radius: 50%;
  clip-path: circle(47% at 50% 50%);
  border: 0;
  box-shadow: none;
}

.brand-text {
  display: grid;
  gap: 0.14rem;
  line-height: 1.02;
  min-width: 0;
}

.brand-overline,
.brand-subline {
  display: block;
  white-space: nowrap;
}

.brand-text strong {
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--navy-deep);
}

.brand-overline {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(75, 85, 127, 0.62);
}

.brand-subline {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.site-nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.site-nav a {
  position: relative;
}

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

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blush), #e6bb9e 58%, var(--butter));
  color: var(--navy-deep);
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 0;
  box-shadow: 0 18px 40px rgba(219, 159, 115, 0.24);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 50px rgba(219, 159, 115, 0.3);
  filter: saturate(1.08);
}

.button-small {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  min-width: 11.5rem;
  padding: 0.95rem 1.2rem 0.95rem 1.3rem;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 18px 36px rgba(219, 159, 115, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.button-small span {
  font-size: 0.96rem;
  line-height: 1;
}

.button-small small {
  font-size: 0.67rem;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(56, 64, 93, 0.72);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  border: 1px solid rgba(75, 85, 127, 0.12);
  box-shadow: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  padding: 8rem 0 4rem;
  min-height: 92vh;
  align-items: center;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  animation: floatOrb 12s ease-in-out infinite;
}

.orb-one {
  display: none;
}

.orb-two {
  top: 12%;
  right: 11%;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(241, 199, 170, 0.84), rgba(241, 199, 170, 0));
  animation-delay: -2s;
}

.orb-three {
  bottom: 16%;
  right: -2%;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(243, 224, 168, 0.74), rgba(243, 224, 168, 0));
  animation-delay: -4s;
}

.grid-lines {
  position: absolute;
  inset: 10% -10% 0;
  background-image:
    linear-gradient(rgba(75, 85, 127, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 85, 127, 0.08) 1px, transparent 1px);
  background-size: 4.4rem 4.4rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
  transform: perspective(900px) rotateX(68deg);
  transform-origin: top;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-badge,
.eyebrow,
.card-label,
.panel-kicker {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(75, 85, 127, 0.7);
}

.hero-badge {
  display: inline-flex;
  margin-bottom: 1.25rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(75, 85, 127, 0.12);
}

.hero h1,
.section-heading h2,
.cta-shell h2,
.panel-primary h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(4rem, 8vw, 7.4rem);
}

.hero h1 span,
.section-heading span {
  display: block;
  color: rgba(47, 55, 85, 0.78);
}

.hero-text {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  font-size: 1.08rem;
  line-height: 1.82;
  color: var(--text-soft);
}

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

.hero-panel {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
  align-self: end;
}

.hero-photo-frame,
.panel-card,
.mini-card,
.story-card,
.quote-card,
.process-step,
.menu-card,
.credential-panel,
.reason-card,
.cta-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(75, 85, 127, 0.1);
  background: var(--surface);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

.hero-photo-frame {
  border-radius: 30px;
  padding: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(227, 232, 245, 0.76)),
    var(--surface);
}

.hero-photo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center center;
  border-radius: 24px;
  background: #dbe1ef;
}

.panel-primary {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(230, 235, 247, 0.72)),
    var(--surface);
}

.panel-primary h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.85rem;
}

.panel-primary p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.panel-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mini-card {
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  min-height: 12rem;
  display: grid;
  align-content: end;
  background:
    radial-gradient(circle at top right, rgba(241, 199, 170, 0.24), transparent 32%),
    rgba(255, 255, 255, 0.72);
}

.mini-card span,
.step-number {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(75, 85, 127, 0.52);
}

.mini-card h3,
.story-card h3,
.process-step h3,
.menu-copy h3,
.credential-panel h3,
.reason-card h3 {
  margin: 0.8rem 0 0.6rem;
  font-size: 1.1rem;
}

.mini-card p,
.story-card p,
.process-step p,
.menu-copy p,
.credential-panel p,
.reason-card p {
  margin: 0;
  line-height: 1.68;
  color: var(--text-soft);
}

.marquee-band {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
  border-top: 1px solid rgba(75, 85, 127, 0.08);
  border-bottom: 1px solid rgba(75, 85, 127, 0.08);
  background: rgba(245, 247, 252, 0.76);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  min-width: max-content;
  padding-left: 2rem;
  animation: marquee 26s linear infinite;
}

.marquee-track span {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(75, 85, 127, 0.72);
}

.section {
  padding: 6.5rem 0;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2.9rem, 6vw, 5.1rem);
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 1rem;
}

.story-card,
.quote-card,
.process-step,
.menu-card,
.credential-panel,
.reason-card,
.cta-shell {
  border-radius: var(--radius-xl);
}

.story-card,
.credential-panel {
  padding: 2rem;
}

.story-card {
  min-height: 21rem;
  display: grid;
  align-content: end;
}

.story-card.warm {
  background:
    linear-gradient(155deg, rgba(243, 224, 168, 0.4), rgba(251, 249, 242, 0.72) 48%),
    rgba(255, 255, 255, 0.72);
}

.quote-card {
  padding: 2rem;
  background: linear-gradient(180deg, var(--navy), var(--surface-dark));
  color: #f7f8fd;
  display: grid;
  gap: 1.25rem;
  place-items: end start;
}

.quote-logo {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 50%;
}

.quote-card p {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.process-step {
  padding: 2rem;
  min-height: 18rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(235, 239, 248, 0.78)),
    var(--surface);
}

.cta-shell {
  padding: 2.3rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  background:
    radial-gradient(circle at top right, rgba(243, 224, 168, 0.42), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(226, 232, 245, 0.84));
}

.cta-shell h2 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2.2rem;
  color: rgba(47, 55, 85, 0.62);
  font-size: 0.92rem;
}

.site-footer div {
  display: flex;
  gap: 1rem;
}

.reveal {
  opacity: 0;
  --parallax-y: 0px;
  transform: translateY(calc(36px + var(--parallax-y))) scale(0.985);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(var(--parallax-y)) scale(1);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.04);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1100px) {
  .site-nav {
    display: none;
  }

  .hero,
  .story-layout,
  .cta-shell {
    grid-template-columns: 1fr;
  }

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

  .panel-stack,
  .process-rail {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 0.7rem 0.8rem 0.7rem 0.75rem;
  }

  .brand-logo-shell {
    width: 4.2rem;
    height: 4.2rem;
  }

  .brand-logo {
    width: 4.2rem;
    height: 4.2rem;
  }

  .brand-text strong {
    font-size: 1.45rem;
  }

  .brand-overline,
  .brand-subline,
  .button-small small {
    display: none;
  }

  .button-small {
    min-width: auto;
    padding: 0.9rem 1rem;
  }

  .hero {
    padding: 6.4rem 0 3rem;
  }

  .section {
    padding: 4.7rem 0;
  }

  .panel-stack,
  .process-rail {
    grid-template-columns: 1fr;
  }

  .cta-shell,
  .site-footer {
    display: grid;
  }

  .site-footer div {
    flex-wrap: wrap;
  }
}
