:root {
  --ink: #203429;
  --forest: #496b55;
  --sage: #879f86;
  --sage-soft: #dfe8dc;
  --cream: #f8f3e9;
  --paper: #fffdf8;
  --lavender: #b8a7c7;
  --gold: #b89550;
  --line: rgba(32, 52, 41, 0.14);
  --shadow: 0 28px 80px rgba(49, 67, 54, 0.16);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --script: "Great Vibes", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(37, 55, 44, 0.08);
  transform: translateX(-50%);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 16px 46px rgba(37, 55, 44, 0.14);
}

.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.08em;
}

.brand span {
  color: var(--gold);
  margin: 0 0.06em;
  font-style: italic;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.86rem;
  font-weight: 600;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--gold);
}

.public-badge {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
  background: var(--sage-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--sage-soft);
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 48px;
  padding: 130px max(6vw, 42px) 88px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 20% 10%, rgba(184, 167, 199, 0.28), transparent 32%),
    radial-gradient(circle at 82% 78%, rgba(135, 159, 134, 0.32), transparent 36%),
    linear-gradient(135deg, #fbf7ef 0%, #f5f0e6 55%, #eef2e9 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  right: 7vw;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  filter: blur(8px);
}

.botanical {
  position: absolute;
  z-index: -1;
  width: clamp(180px, 24vw, 390px);
  opacity: 0.28;
  pointer-events: none;
}

.botanical-left {
  left: -90px;
  bottom: -90px;
  transform: rotate(30deg);
}

.botanical-right {
  top: -120px;
  right: -70px;
  transform: rotate(-30deg) scaleX(-1);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.name-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(530px, 100%);
  margin-bottom: 18px;
}

.name-lockup img {
  width: min(205px, 38%);
  height: auto;
}

.name-lockup span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.2rem;
  font-style: italic;
}

.hero h1,
.section h2,
.closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(3.3rem, 6vw, 6.6rem);
}

.hero-description {
  max-width: 590px;
  margin: 26px 0 0;
  color: rgba(32, 52, 41, 0.72);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.button-primary {
  color: white;
  background: var(--forest);
}

.button-primary:hover {
  background: var(--ink);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.38);
}

.privacy-note {
  margin: 22px 0 0;
  color: rgba(32, 52, 41, 0.56);
  font-size: 0.76rem;
}

.hero-art {
  position: relative;
  width: min(520px, 42vw);
  aspect-ratio: 0.86;
  justify-self: center;
}

.art-frame {
  position: absolute;
  inset: 6% 8%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 48% 48% 24px 24px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(223, 232, 220, 0.72));
  box-shadow: var(--shadow);
}

.art-frame::before {
  content: "";
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  top: 14%;
  border: 1px solid rgba(184, 149, 80, 0.38);
  border-radius: 50%;
}

.art-frame img {
  position: relative;
  z-index: 2;
  width: 94%;
  max-height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 26px 18px rgba(52, 71, 57, 0.12));
}

.art-orbit {
  position: absolute;
  border: 1px solid rgba(73, 107, 85, 0.28);
  border-radius: 50%;
}

.orbit-one {
  inset: 0;
  animation: orbit 22s linear infinite;
}

.orbit-two {
  inset: 12% -7%;
  animation: orbit 28s linear infinite reverse;
}

.art-chip {
  position: absolute;
  z-index: 4;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 12px 32px rgba(50, 68, 55, 0.12);
  font-size: 0.72rem;
  font-weight: 600;
}

.chip-top {
  top: 13%;
  right: -4%;
}

.chip-bottom {
  bottom: 15%;
  left: -5%;
}

.scroll-cue {
  position: absolute;
  left: max(6vw, 42px);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(32, 52, 41, 0.54);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 42px;
  height: 1px;
  background: currentColor;
}

.section {
  padding: 120px max(7vw, 42px);
}

.section-heading {
  max-width: 760px;
}

.section h2,
.closing h2 {
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.section-heading > p:last-child,
.experience-copy > p {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(32, 52, 41, 0.68);
  font-size: 1.06rem;
}

.concept {
  background: var(--paper);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 70px;
}

.principle {
  min-height: 240px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(246, 243, 235, 0.82));
}

.principle > span,
.showcase div > span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.principle h3,
.showcase h3 {
  margin: 44px 0 10px;
  font-family: var(--serif);
  font-size: 1.48rem;
  font-weight: 500;
}

.principle p {
  margin: 0;
  color: rgba(32, 52, 41, 0.62);
  font-size: 0.92rem;
}

.experience {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: center;
  gap: 90px;
  background: #e9eee5;
}

.feature-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.94rem;
}

.feature-list span {
  color: var(--gold);
}

.invitation-demo {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}

.invitation-backdrop {
  position: absolute;
  inset: 6% 2%;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(73, 107, 85, 0.86), rgba(62, 82, 69, 0.96)),
    var(--forest);
  transform: rotate(4deg);
  box-shadow: var(--shadow);
}

.invitation-card {
  position: relative;
  width: min(440px, 84%);
  min-height: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px 48px 52px;
  border-radius: 12px;
  background: var(--paper);
  text-align: center;
  box-shadow: 0 28px 70px rgba(27, 43, 33, 0.22);
  transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.invitation-demo.open .invitation-card {
  transform: translateY(-18px) rotate(-1deg);
}

.card-flower {
  width: 68px;
  margin-bottom: 18px;
}

.card-kicker {
  color: var(--forest);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.invitation-card h3 {
  margin: 18px 0 16px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  font-weight: 500;
}

.invitation-card h3 em {
  color: var(--gold);
  font-weight: 400;
}

.invitation-card > p:not(.card-kicker) {
  max-width: 290px;
  color: rgba(32, 52, 41, 0.64);
}

.demo-details {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0 30px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wax-seal {
  width: 76px;
  height: 76px;
  border: 0;
  border-radius: 50%;
  color: #fff8e8;
  background:
    radial-gradient(circle at 32% 28%, #c4a35c, var(--gold) 48%, #8f6e32 100%);
  box-shadow: 0 9px 20px rgba(130, 94, 32, 0.28), inset 0 0 0 5px rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.wax-seal:hover,
.invitation-demo.open .wax-seal {
  transform: rotate(-8deg) scale(1.08);
}

.wax-seal span {
  font-family: var(--serif);
  font-size: 1.15rem;
}

.invitation-card small {
  margin-top: 12px;
  color: rgba(32, 52, 41, 0.46);
  font-size: 0.68rem;
}

.visual-system {
  background: var(--paper);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 18px;
  margin-top: 64px;
}

.showcase {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.showcase h3 {
  margin: 8px 0 0;
}

.showcase-botanical {
  background: #dfe8dc;
}

.showcase-botanical > img {
  position: absolute;
  width: 88%;
  right: -18%;
  top: -13%;
  transform: rotate(-22deg);
  filter: sepia(0.16) saturate(0.72);
}

.showcase-botanical > div,
.showcase-type > div,
.showcase-motion > div:last-child {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.showcase-type {
  align-items: center;
  background: #eee8f1;
}

.script-word {
  margin-top: 74px;
  color: #5d4d69;
  font-family: var(--script);
  font-size: clamp(4.5rem, 8vw, 7.4rem);
  transform: rotate(-7deg);
}

.showcase-motion {
  background: #f2ead9;
}

.motion-rings {
  display: grid;
  flex: 1;
  place-items: center;
}

.motion-rings::before,
.motion-rings::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(184, 149, 80, 0.28);
  border-radius: 50%;
  animation: pulse 3.4s ease-in-out infinite;
}

.motion-rings::after {
  width: 300px;
  height: 300px;
  animation-delay: 0.8s;
}

.motion-rings img {
  position: relative;
  z-index: 2;
  width: 74%;
}

.closing {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 110px 24px;
  overflow: hidden;
  background: var(--ink);
  color: #fdf9ef;
  text-align: center;
}

.closing::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.closing > img {
  position: relative;
  width: 72px;
  margin-bottom: 24px;
  filter: brightness(1.12);
}

.closing .eyebrow {
  color: #d5c29d;
}

.closing h2 {
  position: relative;
  margin-bottom: 38px;
}

.closing .button-primary {
  position: relative;
  color: var(--ink);
  border-color: #fdf9ef;
  background: #fdf9ef;
}

footer {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px max(7vw, 32px);
  background: #17271e;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.76rem;
}

footer span {
  color: white;
  font-family: var(--serif);
  font-size: 1rem;
}

footer p {
  margin: 0;
  text-align: center;
}

footer a {
  justify-self: end;
  color: white;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.25; transform: scale(0.88); }
  50% { opacity: 0.7; transform: scale(1); }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 145px;
  }

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

  .hero-art {
    width: min(560px, 78vw);
    margin-top: 34px;
  }

  .scroll-cue {
    display: none;
  }

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

  .experience-copy {
    max-width: 680px;
  }

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

  .showcase:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    min-height: 58px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    width: min(270px, calc(100vw - 32px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a,
  .public-badge {
    padding: 12px 14px;
  }

  .public-badge {
    margin-top: 4px;
    text-align: center;
  }

  .hero {
    gap: 18px;
    padding: 120px 22px 70px;
  }

  .name-lockup {
    gap: 8px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-art {
    width: min(460px, 94vw);
  }

  .art-chip {
    display: none;
  }

  .section {
    padding: 88px 22px;
  }

  .principles,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase:last-child {
    grid-column: auto;
  }

  .experience {
    gap: 58px;
  }

  .invitation-demo {
    min-height: 570px;
  }

  .invitation-card {
    width: 90%;
    min-height: 510px;
    padding: 56px 28px 42px;
  }

  footer {
    grid-template-columns: 1fr;
    padding-block: 32px;
    text-align: center;
  }

  footer a {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
