:root {
  --cream: #f3ead8;
  --cream-deep: #eadcc0;
  --ink: #1d1a2b;
  --coral: #ef6b4a;
  --mustard: #f2b134;
  --teal: #2f6f6a;
  --hair-brown: #c4935f;
  --mx: 50vw;
  --my: 50vh;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-variable.woff2") format("woff2-variations"), url("../fonts/fraunces-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-variable.woff2") format("woff2-variations"), url("../fonts/space-grotesk-variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  position: relative;
  overflow: hidden;
  background: #f3ead8;
  color: #1d1a2b;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.has-cursor, body.has-cursor * {
  cursor: none !important;
}
body.page--home {
  touch-action: none;
}
body.page--sub {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
body {
  transition: opacity 0.6s ease;
}
body.is-leaving {
  opacity: 0;
}

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

::selection {
  background: #ef6b4a;
  color: #f3ead8;
}

.spotlight {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(38vmax circle at var(--mx) var(--my), rgba(255, 255, 255, 0.6), transparent 70%), radial-gradient(80vmax circle at 50% 120%, #eadcc0, transparent 70%);
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 5;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(4) infinite;
}

@keyframes grain {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-3%, 2%);
  }
  50% {
    transform: translate(2%, -3%);
  }
  75% {
    transform: translate(-1%, -2%);
  }
  100% {
    transform: translate(3%, 1%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .grain {
    animation: none;
  }
}
.stage {
  position: fixed;
  inset: 0;
  z-index: 2;
}

.confetti {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.confetti--top {
  z-index: 4;
}

.sun {
  position: fixed;
  left: 50%;
  bottom: 6vh;
  z-index: 0;
  width: min(92vh, 88vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  pointer-events: none;
}
.sun__disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgb(245.6833333333, 199.1, 109.5166666667), #f2b134 60%);
  box-shadow: 0 0 0 2.2vmin rgba(242, 177, 52, 0.25), 0 0 0 5vmin rgba(242, 177, 52, 0.12), 0 0 0 9vmin rgba(242, 177, 52, 0.06);
  animation: sun-pulse 7s ease-in-out infinite;
}
@media (max-width: 700px) {
  .sun {
    bottom: 4vh;
    width: 100vw;
  }
}

@keyframes sun-pulse {
  50% {
    transform: scale(1.035);
  }
}
.title {
  position: absolute;
  top: 3vh;
  left: 0;
  right: 0;
  z-index: 2;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-size: clamp(6rem, min(26vw, 40vh), 30rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #1d1a2b;
  user-select: none;
  font-variation-settings: "wght" 600, "SOFT" 50, "WONK" 0, "opsz" 144;
}
.title__char {
  display: inline-block;
  will-change: transform, font-variation-settings;
  opacity: 0;
  transform: translateY(40%) rotate(8deg);
  transition: opacity 0.9s ease, transform 1.2s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.is-ready .title__char {
  opacity: 1;
  transform: none;
}
.title__char:nth-child(1) {
  transition-delay: 0.08s;
}
.title__char:nth-child(2) {
  transition-delay: 0.16s;
}
.title__char:nth-child(3) {
  transition-delay: 0.24s;
}
.title__char:nth-child(4) {
  transition-delay: 0.32s;
}
.title__char:nth-child(5) {
  transition-delay: 0.4s;
}
.title__char:nth-child(6) {
  transition-delay: 0.48s;
}
.title__char:nth-child(7) {
  transition-delay: 0.56s;
}
.title__char:nth-child(8) {
  transition-delay: 0.64s;
}
.title__char:nth-child(9) {
  transition-delay: 0.72s;
}
.title__char:nth-child(10) {
  transition-delay: 0.8s;
}
.title__char:nth-child(11) {
  transition-delay: 0.88s;
}
.title__char:nth-child(12) {
  transition-delay: 0.96s;
}
.title__char:nth-child(13) {
  transition-delay: 1.04s;
}
.title__char:nth-child(14) {
  transition-delay: 1.12s;
}
@media (min-width: 701px) and (max-width: 1099px) {
  .title {
    top: calc(3vh + 3rem);
  }
}
@media (max-width: 700px) {
  .title {
    top: 12vh;
    font-size: 31vw;
  }
}

.scene {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  width: min(118vh, 100vw);
  aspect-ratio: 1080/670;
}
@media (min-width: 1100px) {
  .scene {
    width: min(118vh, 100vw - 380px);
  }
}
.scene {
  transform: translateX(-50%);
}
.scene > svg,
.scene > img {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
@media (max-width: 700px) {
  .scene {
    width: 165vw;
  }
}

.family .person {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.is-ready .family .person {
  opacity: 1;
}
.family .person--woman {
  transition-delay: 0.25s;
}
.family .person--child {
  transition-delay: 0.5s;
}
.family .head {
  cursor: pointer;
}
.family .head__bob {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.family .head__bob.is-boing {
  animation: boing 0.7s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.family .person__body {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: breathe 4.5s ease-in-out infinite;
}
.family .person--woman .person__body {
  animation-delay: -1.5s;
}
.family .person--child .person__body {
  animation-duration: 3.2s;
}
.family .eye {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.08s ease-in;
}
.family .eye.is-blinking {
  transform: scaleY(0.08);
}

@keyframes breathe {
  50% {
    transform: scaleY(1.012);
  }
}
@keyframes boing {
  0% {
    transform: none;
  }
  25% {
    transform: translateY(-14%) scale(0.94, 1.08);
  }
  55% {
    transform: translateY(0) scale(1.08, 0.92);
  }
  75% {
    transform: scale(0.97, 1.03);
  }
  100% {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sun__disc,
  .family .person__body {
    animation: none;
  }
}
.scene > img {
  opacity: 0;
  animation: fade-in 0.8s 1.2s forwards;
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}
.corner {
  position: fixed;
  z-index: 4;
  margin: 0;
}
.corner--tl {
  top: clamp(1rem, 3vw, 2.5rem);
  left: clamp(1rem, 3vw, 2.5rem);
}
.corner--tr {
  top: clamp(1rem, 3vw, 2.5rem);
  right: clamp(1rem, 3vw, 2.5rem);
  text-align: right;
}
.corner--bl {
  bottom: clamp(1rem, 3vw, 2.5rem);
  left: clamp(1rem, 3vw, 2.5rem);
}
.corner--br {
  bottom: clamp(1rem, 3vw, 2.5rem);
  right: clamp(1rem, 3vw, 2.5rem);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.logo span {
  color: #ef6b4a;
}
.logo__dots {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
}
.logo__dots i {
  display: block;
  border-radius: 50%;
  background: #2f6f6a;
  width: 12px;
  height: 12px;
}
.logo__dots i:nth-child(2) {
  background: #1d1a2b;
  width: 11px;
  height: 11px;
}
.logo__dots i:nth-child(3) {
  background: #c4935f;
  width: 8px;
  height: 8px;
}

.eyebrow,
.year {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 500;
}

.year {
  margin-top: 0.3em;
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  font-variation-settings: "wght" 400, "SOFT" 100, "opsz" 72;
}

.tagline {
  max-width: 18rem;
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.25rem, 2.1vw, 1.9rem);
  line-height: 1.1;
  font-variation-settings: "wght" 500, "SOFT" 100, "opsz" 48;
}
.tagline span {
  display: block;
}
.tagline span:nth-child(1) {
  color: #2f6f6a;
}
.tagline span:nth-child(2) {
  color: #1d1a2b;
}
.tagline span:nth-child(3) {
  color: #c4935f;
}
.tagline small {
  display: block;
  margin-top: 1rem;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  opacity: 0.7;
}
@media (min-width: 1100px) {
  .tagline {
    top: 50%;
    bottom: auto;
    transform: translateY(-30%);
  }
}
@media (min-width: 701px) and (max-width: 1099px) {
  .tagline {
    top: clamp(1rem, 3vw, 2.5rem);
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    max-width: none;
    white-space: nowrap;
    font-size: 1.15rem;
  }
  .tagline span {
    display: inline;
  }
  .tagline span + span::before {
    content: " ";
  }
  .tagline small {
    display: none;
  }
}
@media (max-width: 700px) {
  .tagline {
    top: calc(12vh + 30vw);
    bottom: auto;
    left: 0;
    right: 0;
    max-width: none;
    text-align: center;
    font-size: 1.05rem;
  }
  .tagline span {
    display: inline;
  }
  .tagline span + span::before {
    content: " ";
  }
  .tagline small {
    margin-top: 0.4rem;
  }
}

.badge {
  width: clamp(6.5rem, 11vw, 9.5rem);
  aspect-ratio: 1;
}
.badge__ring {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.badge__ring text {
  fill: #1d1a2b;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge__core {
  position: absolute;
  inset: 28%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6%;
  padding-bottom: 22%;
  border-radius: 50%;
  background: #1d1a2b;
  transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.badge__core i {
  display: block;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f3ead8;
}
.badge__core i:nth-child(1) {
  background: #2f6f6a;
  width: 20%;
}
.badge__core i:nth-child(2) {
  background: #ef6b4a;
}
.badge__core i:nth-child(3) {
  background: #f2b134;
  width: 13%;
}
.badge:hover .badge__core {
  transform: scale(1.15);
}
@media (max-width: 700px) {
  .badge {
    top: clamp(1rem, 3vw, 2.5rem);
    bottom: auto;
    width: 4.5rem;
  }
  .badge__ring text {
    font-size: 17px;
  }
}

@media (max-width: 700px) {
  .corner--tr {
    display: none;
  }
}
.cursor {
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  display: none;
}
.has-cursor .cursor {
  display: block;
}
.cursor__dot, .cursor__ring {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  will-change: transform;
}
.cursor__dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: #ef6b4a;
}
.cursor__ring {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 1.5px solid #1d1a2b;
  transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.cursor.is-hover .cursor__ring {
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-color: transparent;
  background: rgba(239, 107, 74, 0.18);
}
.cursor.is-grab .cursor__ring, .cursor.is-grabbing .cursor__ring {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border: 2px dashed #ef6b4a;
  background: transparent;
  animation: cursor-spin 4s linear infinite;
}
.cursor.is-grabbing .cursor__ring {
  border-style: solid;
  border-color: #2f6f6a;
}
.cursor.is-down .cursor__ring {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
}

@keyframes cursor-spin {
  to {
    rotate: 360deg;
  }
}
.sun--sub {
  left: auto;
  right: -18vmin;
  top: -22vmin;
  bottom: auto;
  width: 62vmin;
  transform: none;
}
@media (max-width: 700px) {
  .sun--sub {
    width: 80vw;
    right: -30vw;
    top: -20vw;
  }
}

.room {
  position: relative;
  z-index: 2;
  width: min(72rem, 100% - 2 * clamp(1rem, 3vw, 2.5rem));
  margin: 0 auto;
  padding: clamp(6rem, 16vh, 10rem) 0 5rem;
  animation: room-in 0.9s cubic-bezier(0.2, 1, 0.3, 1) both;
}
.room__eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 500;
  color: #ef6b4a;
}
.room__section {
  margin-top: clamp(2.5rem, 6vh, 4rem);
}
.room__heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.25rem;
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-variation-settings: "wght" 500, "SOFT" 100, "opsz" 48;
}
.room__heading::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: rgba(29, 26, 43, 0.15);
}

@keyframes room-in {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
}
.title--sub {
  position: relative;
  top: auto;
  text-align: left;
  font-size: clamp(3.2rem, 11vw, 9.5rem);
  white-space: normal;
}
@media (max-width: 700px) {
  .title--sub {
    top: auto;
    font-size: 15vw;
  }
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  perspective: 900px;
}

.card {
  --rx: 0deg;
  --ry: 0deg;
  --gx: 50%;
  --gy: 0%;
  --accent: #ef6b4a;
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding: 1.5rem 1.5rem 1.35rem;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 18px 40px -22px rgba(29, 26, 43, 0.35);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.35s ease;
}
.card--coral {
  --accent: #ef6b4a;
}
.card--teal {
  --accent: #2f6f6a;
}
.card--mustard {
  --accent: #f2b134;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(18rem circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.7), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card::after {
  content: "";
  position: absolute;
  right: -3.5rem;
  top: -3.5rem;
  width: 9rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.18;
  transition: transform 0.5s cubic-bezier(0.3, 1.5, 0.5, 1), opacity 0.3s ease;
}
.card:hover, .card:focus-visible {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 30px 60px -24px rgba(29, 26, 43, 0.45);
}
.card:hover::before, .card:focus-visible::before {
  opacity: 1;
}
.card:hover::after, .card:focus-visible::after {
  transform: scale(1.5);
  opacity: 0.28;
}
.card:hover .card__host i, .card:focus-visible .card__host i {
  transform: translate(3px, -3px);
}
.card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.card__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  aspect-ratio: 1;
  margin-bottom: 0.75rem;
  border-radius: 1.1rem;
  background: var(--accent);
  color: #f3ead8;
  transform: translateZ(30px);
}
.card__icon svg {
  width: 62%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card--mustard .card__icon {
  color: #1d1a2b;
}
.card__title {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.1;
  font-variation-settings: "wght" 600, "SOFT" 50, "opsz" 72;
  transform: translateZ(20px);
}
.card__text {
  font-size: 0.95rem;
  opacity: 0.75;
}
.card__host {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1.5px dashed rgba(29, 26, 43, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.card__host i {
  font-style: normal;
  font-size: 1.1rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .card {
    transform: none;
  }
}

.phones {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  gap: 0.75rem;
}

.phone {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.5);
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.phone:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}
.phone__name {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-size: 1.15rem;
  font-variation-settings: "wght" 600, "SOFT" 100, "opsz" 48;
}
.phone__number {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.phone--soon {
  border: 1.5px dashed rgba(29, 26, 43, 0.25);
  background: transparent;
  font-size: 0.9rem;
  opacity: 0.6;
}
.phone--soon:hover {
  background: transparent;
  transform: none;
}
