:root {
  --mauve-petal: #c8a4be;
  --dusty-plum: #7e6d87;
  --lavender-slate: #9a8fa8;
  --deep-plum: #4a394f;
  --cloud-white: #f4f1ee;
  --ink: #322734;
  --hairline: rgba(74, 57, 79, 0.14);
  color-scheme: light;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--cloud-white);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 20%, rgba(200, 164, 190, 0.2), transparent 28rem),
    linear-gradient(145deg, #faf8f6 0%, var(--cloud-white) 56%, #eee8ec 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

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

.page-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 1600px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 30px clamp(24px, 5vw, 82px) 26px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
}

.site-header {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--hairline);
}

.brand {
  width: clamp(126px, 12vw, 170px);
  border-radius: 8px;
}

.brand img {
  width: 100%;
  height: auto;
}

.brand:focus-visible {
  outline: 2px solid var(--deep-plum);
  outline-offset: 6px;
}

.site-footer p {
  margin: 0;
  color: rgba(74, 57, 79, 0.72);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(400px, 1.08fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  padding: clamp(58px, 8vh, 110px) 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 790px;
}

h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--deep-plum);
  font-size: clamp(3.65rem, 7.25vw, 7.9rem);
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 0.94;
  text-wrap: balance;
}

.brand-stage {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  min-height: min(70vh, 760px);
}

.mark-frame {
  position: relative;
  width: min(112%, 700px);
  aspect-ratio: 1;
  padding: clamp(30px, 4vw, 62px);
  overflow: hidden;
  border: 1px solid rgba(74, 57, 79, 0.11);
  border-radius: 42% 42% 42% 12%;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(244, 241, 238, 0.34)),
    rgba(200, 164, 190, 0.1);
  box-shadow:
    0 36px 90px rgba(74, 57, 79, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
}

.mark-frame::before {
  position: absolute;
  inset: -60% -85%;
  z-index: 2;
  pointer-events: none;
  content: "";
  background: linear-gradient(
    112deg,
    transparent 38%,
    rgba(255, 255, 255, 0.08) 44%,
    rgba(255, 255, 255, 0.82) 50%,
    rgba(255, 255, 255, 0.12) 56%,
    transparent 62%
  );
  mix-blend-mode: screen;
  transform: translateX(-45%) rotate(8deg);
}

.mark-frame::after {
  position: absolute;
  right: -22%;
  bottom: -32%;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: rgba(200, 164, 190, 0.17);
  filter: blur(2px);
}

.mark-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 20px rgba(50, 39, 52, 0.15));
  transform: scale(1.18);
  transform-origin: center;
}

.shine-ring {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0 22%,
    rgba(255, 255, 255, 0.92) 27%,
    rgba(200, 164, 190, 0.42) 32%,
    transparent 39% 72%,
    rgba(154, 143, 168, 0.44) 78%,
    transparent 84%
  );
  filter: blur(2px);
  opacity: 0.7;
  mask: radial-gradient(circle, transparent 62%, #000 64% 67%, transparent 69%);
}

.ring-one {
  width: 115%;
  aspect-ratio: 1;
}

.ring-two {
  width: 132%;
  aspect-ratio: 1;
  opacity: 0.38;
  filter: blur(5px);
}

.orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  top: 3%;
  right: -3%;
  width: 33%;
  aspect-ratio: 1;
  background: rgba(154, 143, 168, 0.19);
}

.orb-two {
  bottom: 0;
  left: -4%;
  width: 24%;
  aspect-ratio: 1;
  background: rgba(200, 164, 190, 0.22);
}

.site-footer {
  min-height: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

@media (max-width: 900px) {
  .page-shell {
    padding-top: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 36px;
    align-content: center;
    padding: 64px 0;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.5rem, 14vw, 6.8rem);
  }

  .brand-stage {
    width: min(76vw, 620px);
    min-height: auto;
    margin: 0 auto;
  }
}

@media (max-width: 900px) and (orientation: portrait) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .page-shell {
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    padding: 18px 20px 14px;
    overflow: hidden;
  }

  .site-header {
    padding-bottom: 14px;
  }

  .brand {
    width: 108px;
  }

  .hero {
    min-height: 0;
    gap: clamp(14px, 2.5svh, 24px);
    padding: clamp(20px, 3.2svh, 32px) 0 16px;
    overflow: hidden;
  }

  h1 {
    max-width: 10ch;
    font-size: min(12.2vw, 7.2svh);
    line-height: 0.93;
  }

  .brand-stage {
    width: min(74vw, 46svh);
    min-height: 0;
    aspect-ratio: 1;
  }

  .mark-frame {
    width: 100%;
  }

  .site-footer {
    min-height: 30px;
    padding-top: 12px;
  }
}

@media (max-width: 520px) {
  .page-shell {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-header {
    padding-bottom: 20px;
  }

  .brand {
    width: 116px;
  }

  .hero {
    gap: clamp(12px, 2svh, 20px);
  }

  h1 {
    font-size: min(12.5vw, 7svh);
  }

  .mark-frame {
    padding: 28px;
    border-radius: 38% 38% 38% 11%;
  }

  .site-footer {
    padding-top: 20px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .mark-frame {
    animation: reveal-mark 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-copy {
    animation: reveal-copy 760ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .mark-frame::before {
    animation: sweep-shine 5.8s 900ms ease-in-out infinite;
  }

  .ring-one {
    animation: orbit-shine 12s linear infinite;
  }

  .ring-two {
    animation: orbit-shine 18s linear infinite reverse;
  }

  @keyframes reveal-mark {
    from {
      opacity: 0;
      transform: translateY(18px) scale(0.98);
    }
  }

  @keyframes reveal-copy {
    from {
      opacity: 0;
      transform: translateY(15px);
    }
  }

  @keyframes sweep-shine {
    0%,
    18% {
      transform: translateX(-45%) rotate(8deg);
    }

    52%,
    100% {
      transform: translateX(45%) rotate(8deg);
    }
  }

  @keyframes orbit-shine {
    to {
      transform: rotate(1turn);
    }
  }

}
