@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-400.ttf") format("truetype");
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-600.ttf") format("truetype");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-600.ttf") format("truetype");
}

@font-face {
  font-family: "Pixelify Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/pixelify-sans-600.ttf") format("truetype");
}

:root {
  --night: #140a26;
  --plum: #2d1e3e;
  --cream: #f5e7d3;
  --text: #e5d8ec;
  --soft: rgba(229, 216, 236, 0.78);
  --faint: rgba(229, 216, 236, 0.52);
  --lavender: #b4a0d4;
  --gold: #dec18b;
  --glass: rgba(245, 231, 211, 0.055);
  --glass-edge: rgba(245, 231, 211, 0.14);
  --line: rgba(245, 231, 211, 0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --font: "Bricolage Grotesque", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --page: 1040px;
  --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--night);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

.sky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: -2;
  background:
    radial-gradient(1100px 680px at 74% -8%, rgba(108, 58, 204, 0.55), transparent 62%),
    radial-gradient(820px 620px at 4% 30%, rgba(92, 34, 150, 0.48), transparent 64%),
    radial-gradient(900px 560px at 88% 78%, rgba(176, 62, 150, 0.28), transparent 64%),
    radial-gradient(1200px 520px at 30% 112%, rgba(255, 176, 120, 0.24), transparent 66%),
    linear-gradient(180deg, #120821 0%, #1c0f36 46%, #1a0c2c 100%);
}

#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  pointer-events: none;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 14px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--cream);
  color: #2a173d;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--page));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: env(safe-area-inset-top);
  background: rgba(24, 12, 42, 0.94);
  border-bottom: 1px solid rgba(245, 231, 211, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 6px;
  margin: 0 -12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--soft);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.hero {
  position: relative;
  text-align: center;
  padding: 0 0 clamp(16px, 2.75vh, 32px);
}

.lights {
  width: 100vw;
  min-height: 196px;
  margin-left: calc(50% - 50vw);
  pointer-events: none;
  user-select: none;
}

.lights svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.lights path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.moon {
  position: relative;
  width: clamp(140px, 19vw, 196px);
  aspect-ratio: 1;
  margin: 6px auto clamp(22px, 3.4vh, 34px);
  will-change: transform;
  backface-visibility: hidden;
}

.moon::before {
  content: "";
  position: absolute;
  inset: -58%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 214, 170, 0.26), rgba(180, 160, 212, 0.3) 36%, rgba(124, 77, 255, 0.1) 60%, transparent 76%);
}

.moon img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--plum);
  box-shadow:
    0 0 0 1px rgba(245, 231, 211, 0.34),
    0 0 0 9px rgba(222, 193, 139, 0.09),
    0 30px 80px -22px rgba(124, 77, 255, 0.8);
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9.4vw, 5.5rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff6e8 8%, #f5e7d3 46%, #c9b5e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.1em;
}

.tagline {
  margin: 4px 0 0;
  font-weight: 600;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: var(--gold);
}

.lead {
  max-width: 47ch;
  margin: clamp(12px, 2vh, 18px) auto 0;
  font-size: clamp(1.06rem, 1.9vw, 1.24rem);
  line-height: 1.55;
  color: var(--text);
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(22px, 3.6vh, 32px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 1.0625rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.3s ease;
}

.btn svg { width: 21px; height: 21px; fill: currentColor; flex: none; }
.btn:active { transform: scale(0.97); }

.btn-solid {
  background: linear-gradient(180deg, #fff4e2, #f1dfc6);
  color: #2a173d;
  box-shadow: 0 10px 34px -12px rgba(222, 193, 139, 0.6);
}

.btn-quiet {
  border: 1px solid rgba(245, 231, 211, 0.3);
  background: rgba(245, 231, 211, 0.05);
  color: var(--cream);
}

.mc-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  margin-top: 14px;
  padding: 10px 20px 10px 14px;
  border: 3px solid #100c17;
  background: #70558d;
  box-shadow: inset 3px 3px #bca4d7, inset -3px -3px #433154, 0 4px #100c17;
  color: var(--cream);
  font-family: "Pixelify Sans", "Courier New", monospace;
  text-align: left;
  transition: filter 0.12s, transform 0.12s, box-shadow 0.12s;
}

.mc-link:active {
  transform: translateY(3px);
  box-shadow: inset 3px 3px #433154, inset -3px -3px #bca4d7, 0 1px #100c17;
}

.mc-face {
  flex: none;
  width: 40px;
  height: 40px;
  border: 3px solid #100c17;
}

.mc-link strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 600;
}

.mc-link small {
  display: block;
  margin-top: 2px;
  font-family: var(--font);
  font-size: 0.9rem;
  line-height: 1.35;
  color: #eadff2;
}

.section { position: relative; padding: clamp(48px, 8vh, 92px) 0; }
.hero + .section { padding-top: clamp(14px, 2.1vh, 25px); }

h2 {
  margin: 0 0 clamp(18px, 3vh, 28px);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.4vw, 2.7rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--cream);
  text-wrap: balance;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.tile {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 16px;
  align-content: start;
  grid-column: span 2;
  padding: 20px 22px 22px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 rgba(255, 246, 232, 0.06);
  transition: transform 0.4s var(--ease), background-color 0.3s ease, border-color 0.3s ease;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 214, 170, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.tile > * { position: relative; z-index: 1; }

.tile-icon {
  display: block;
  width: 52px;
  height: 52px;
}

.tile h3 {
  margin: 1px 0 3px;
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 600;
  color: var(--cream);
}

.tile p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--soft);
}

.tile-wide { grid-column: span 3; }

.tile-live {
  background: linear-gradient(140deg, rgba(180, 160, 212, 0.22), rgba(180, 160, 212, 0.07) 70%);
  border-color: rgba(222, 208, 240, 0.26);
}

.tile-cozy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  grid-column: span 4;
  min-height: 236px;
  padding: 26px;
  background: #3a2230;
  border-color: rgba(222, 193, 139, 0.24);
}

.tile-cozy .tile-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 78%;
}

.tile-cozy::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(44, 20, 38, 0) 26%, rgba(44, 20, 38, 0.74) 58%, rgba(38, 16, 40, 0.92) 100%);
}

.tile-cozy .tile-body {
  z-index: 2;
  width: min(50%, 320px);
  margin-left: auto;
}

.tile-cozy h3 {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 1.9rem);
  letter-spacing: -0.02em;
  color: #fff3e4;
}

.tile-cozy p { color: rgba(255, 243, 228, 0.88); }

.cafe-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 4vw, 34px);
}

.cafe-row img {
  display: block;
  width: clamp(40px, 9vw, 54px);
  height: auto;
  aspect-ratio: 1;
}

.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vh, 46px);
}

.statement {
  margin: 0;
  max-width: 30ch;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-wrap: pretty;
}

.loves {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vh, 36px) clamp(28px, 5vw, 60px);
  margin: 0;
}

.love {
  display: grid;
  grid-template-columns: 68px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 18px;
  align-items: start;
}

.love img {
  display: block;
  grid-row: span 2;
  width: 68px;
  height: 68px;
}

.loves dt {
  margin: 2px 0 3px;
  font-size: 1.16rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--gold);
}

.loves dd {
  margin: 0;
  max-width: 44ch;
  color: var(--text);
}

.helper {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 640px;
  margin: clamp(8px, 2vh, 20px) 0 0;
  padding-top: clamp(22px, 3.6vh, 30px);
  border-top: 1px solid var(--line);
}

.helper img {
  flex: none;
  width: 62px;
  height: auto;
}

.helper p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--soft);
}

.helper p + p { margin-top: 8px; color: var(--text); }

.constellation {
  position: absolute;
  z-index: -1;
  width: clamp(84px, 16vw, 200px);
  aspect-ratio: 1;
  opacity: 0.8;
  overflow: visible;
  pointer-events: none;
  will-change: opacity;
}

.constellation .links {
  fill: none;
  stroke: rgba(210, 194, 255, 0.42);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.constellation circle { fill: #fbf3ff; }
.constellation .aura { fill: #ffd9ad; opacity: 0.16; }

.c-cat { top: clamp(214px, 30vh, 268px); left: 2%; }
.c-cup { top: clamp(214px, 30vh, 268px); right: 2%; }
.c-cake { top: -58px; right: 0; width: clamp(76px, 12vw, 150px); }
.c-moon { top: clamp(20px, 5vh, 56px); right: 2%; width: clamp(110px, 15vw, 180px); }

.foot {
  margin-top: clamp(28px, 5vh, 56px);
  border-top: 1px solid rgba(245, 231, 211, 0.09);
  padding: 20px 0 calc(30px + env(safe-area-inset-bottom));
  font-size: 0.9rem;
  color: var(--faint);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 28px;
}

.sign { display: inline-flex; align-items: center; gap: 12px; }
.sign img { flex: none; width: 34px; height: 34px; }

.foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--soft);
}

.legal { padding: clamp(52px, 10vh, 108px) 0 clamp(36px, 7vh, 68px); }
.legal h1 { font-size: clamp(2.3rem, 7vw, 4.2rem); }
.legal .lead { margin-inline: 0; }
.legal .actions { justify-content: flex-start; }

.legal-card {
  margin-top: clamp(28px, 5vh, 46px);
  max-width: 640px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
  background: rgba(45, 30, 62, 0.74);
  border: 1px solid var(--glass-edge);
}

.legal-card h2 {
  font-family: var(--font);
  font-size: 1.16rem;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 28px 0 8px;
  color: var(--gold);
}
.legal-card h2:first-child { margin-top: 0; }

.legal-card p,
.legal-card address {
  margin: 0;
  font-style: normal;
  color: var(--text);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.legal-long { max-width: 760px; }
.legal-long p + p,
.legal-long ul + p,
.legal-long address + p { margin-top: 12px; }

.legal-card ul {
  margin: 10px 0 0;
  padding-left: 22px;
  color: var(--text);
  line-height: 1.6;
}

.legal-card li + li { margin-top: 4px; }
.legal-card .stand { margin-top: 28px; color: var(--faint); font-size: 0.92rem; }
.foot-links { display: inline-flex; flex-wrap: wrap; gap: 0 22px; }

.legal-card a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--cream); }
  .btn-solid:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(222, 193, 139, 0.75); }
  .mc-link:hover { filter: brightness(1.14); }
  .btn-quiet:hover { border-color: rgba(245, 231, 211, 0.6); background: rgba(245, 231, 211, 0.1); }
  .tile:hover { transform: translateY(-4px); background-color: rgba(245, 231, 211, 0.1); border-color: rgba(245, 231, 211, 0.32); }
  .tile:hover::after { opacity: 1; }
  .tile-cozy:hover { background-color: #3a2230; border-color: rgba(222, 193, 139, 0.55); }
  .foot a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
}

.tile:active { transform: scale(0.985); }

@media (prefers-reduced-motion: no-preference) {
  .moon { animation: rise 1.5s var(--ease) both, drift 3.2s ease-in-out 1.5s infinite alternate; }
  .hero h1 { animation: settle 1.2s var(--ease) 0.25s both; }
  .hero .tagline,
  .hero .lead,
  .hero .actions { animation: settle 1.2s var(--ease) 0.45s both; }
  .hero .mc-link { animation: settle 1.2s var(--ease) 0.6s both; }
  .lights { animation: fade 1.4s ease 0.2s both; }

  .constellation { animation: shimmer 7s ease-in-out infinite alternate; }
  .c-cup { animation-delay: -2.4s; animation-duration: 8.2s; }
  .c-cake { animation-delay: -4.1s; animation-duration: 6.4s; }
  .c-moon { animation-delay: -1.2s; animation-duration: 9s; }

  .js [data-reveal] { opacity: 0; transform: translateY(20px); }
  .js [data-reveal].in {
    opacity: 1;
    transform: none;
    transition: opacity 0.9s var(--ease) var(--delay, 0ms), transform 0.9s var(--ease) var(--delay, 0ms);
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(48px) scale(0.92); }
  to { opacity: 1; transform: none; }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(0.01deg); }
  to { transform: translate3d(0, -12px, 0) rotate(0.01deg); }
}

@keyframes settle {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes shimmer {
  from { opacity: 0.5; }
  to { opacity: 0.95; }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 860px) {
  .tiles > .tile { grid-column: span 6; }
  .loves { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav-links .optional { display: none; }
  .nav-links { gap: 0; margin-right: -9px; }
  .nav-links a { padding: 0 9px; }
  .brand { font-size: 1rem; gap: 8px; }
  .lights { min-height: 150px; }
  .tiles { gap: 10px; }
  .tile { padding: 18px 18px 20px; column-gap: 14px; grid-template-columns: 46px 1fr; }
  .tile-icon { width: 46px; height: 46px; }

  .tiles > .tile-cozy { display: block; min-height: 0; padding: 0; }
  .tile-cozy .tile-art {
    position: relative;
    inset: auto;
    display: block;
    height: auto;
    aspect-ratio: 16 / 10;
    object-position: 0% 100%;
  }
  .tile-cozy::before { display: none; }
  .tile-cozy .tile-body { width: auto; margin: 0; padding: 16px 20px 20px; }

  .love { grid-template-columns: 56px 1fr; column-gap: 14px; }
  .love img { width: 56px; height: 56px; }
  .c-cat { top: 160px; left: -6px; }
  .c-cup { top: 160px; right: -6px; }
  .c-cake { top: 4px; width: 50px; }
  .c-moon { position: relative; top: auto; right: auto; display: block; width: 84px; margin: 0 auto 14px; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .mc-link { display: flex; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile, .btn, .mc-link { transition: none; }
}
