/* ============ fonts ============ */
/* Drop licensed font files into assets/fonts/ with these names and they
   will be picked up automatically; otherwise fallbacks apply. */
@font-face {
  font-family: "Helvetica Now Display";
  src: url("../assets/fonts/HelveticaNeue-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Now Display";
  src: url("../assets/fonts/HelveticaNeue-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Ivy Ora";
  src: url("../assets/fonts/IvyOra-Regular.woff2") format("woff2"),
       url("../assets/fonts/IvyOra-Regular.otf") format("opentype"),
       url("../assets/fonts/IvyOra-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Ivy Ora";
  src: url("../assets/fonts/IvyOra-Italic.woff2") format("woff2"),
       url("../assets/fonts/IvyOra-Italic.otf") format("opentype"),
       url("../assets/fonts/IvyOra-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #050505;
  --ink: #f4f2ee;
  --lilac: #d9b3e4;
  --font-title: "Helvetica Now Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Ivy Ora", "Fraunces", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-title);
  overflow-x: hidden;
}

/* ============ hero canvas ============ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}

/* ============ shared: entrance + idle float ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 90ms + 150ms);
  will-change: opacity, transform;
}
body.loaded .reveal {
  opacity: 1;
  transform: none;
}

.float {
  display: block;
  animation: drift var(--fd, 10s) ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * -1.7s);
}
@keyframes drift {
  from { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(3px, -8px) rotate(0.3deg); }
  to   { transform: translate(-3px, 5px) rotate(-0.3deg); }
}

/* ============ images ============ */
.fig {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  z-index: 1;
  will-change: transform;
}
.fig .float {
  position: relative;
  aspect-ratio: var(--ar, 3/4);
  border-radius: 6px;
  overflow: hidden;
  background: #141414;
}
.fig img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96);
}
/* while an image file is missing, show a toned placeholder block */
.fig img.missing { opacity: 0; }
.fig .float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: var(--ph, #161616);
  opacity: 0;
  pointer-events: none;
}
.fig.is-missing .float::before { opacity: 1; }

.fig--planet    { --ph: radial-gradient(circle at 45% 45%, #2e5f5b 0%, #12211f 55%, #070808 100%); }
.fig--profile   { --ph: linear-gradient(160deg, #4a4a4c, #1c1c1e 70%); }
.fig--vessels   { --ph: linear-gradient(150deg, #55595c, #26282a 75%); }
.fig--head      { --ph: linear-gradient(165deg, #b8ac97, #6e6858 80%); }
.fig--photogram { --ph: linear-gradient(160deg, #7d6f5c, #3a332a 75%); }
.fig--flowers   { --ph: linear-gradient(155deg, #3c4429 0%, #6b5a3f 45%, #1d2114 90%); }
.fig--gerbera   { --ph: radial-gradient(circle at 50% 55%, #8a4a63 0%, #4c2119 45%, #23150c 100%); }
.fig--pearls    { --ph: linear-gradient(160deg, #47525c, #12161a 80%); }
.fig--ring      { --ph: radial-gradient(circle at 50% 60%, #35543d 0%, #22371f 60%, #141f12 100%); }
.fig--ocean     { --ph: linear-gradient(170deg, #33465a, #14202d 80%); }

/* ============ swatches ============ */
.swatch {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  will-change: transform;
}
.chip {
  display: inline-block;
  padding: 0.35em 0.8em;
  border-radius: 4px;
  background: var(--sw);
  color: var(--swt, #fff);
  font-size: clamp(9px, 0.72vw, 12px);
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

/* ============ orbit system ============ */
.orbit {
  --os: min(52vh, 38vw);
  position: absolute;
  left: 50%;
  top: 42%;
  width: var(--os);
  height: var(--os);
  margin: calc(var(--os) / -2) 0 0 calc(var(--os) / -2);
  z-index: 2;
  will-change: transform;
}
.reveal--orbit { position: absolute; inset: 0; }

.ring,
.rev {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--r);
  height: var(--r);
  translate: -50% -50%;
  border-radius: 50%;
}
.ring { border: 1px solid rgba(244, 242, 238, 0.16); }

.rev {
  rotate: var(--rot, 0deg);
  animation: revolve var(--dur, 60s) linear infinite;
}
.rev--ccw { animation-direction: reverse; }
@keyframes revolve {
  from { rotate: var(--rot, 0deg); }
  to   { rotate: calc(var(--rot, 0deg) + 360deg); }
}
.dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(8px, 0.9vw, 13px);
  height: clamp(8px, 0.9vw, 13px);
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 12px color-mix(in srgb, var(--c) 60%, transparent);
}

.orbit__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--lilac);
  display: grid;
  place-items: center;
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { scale: 1; }
  50% { scale: 1.045; }
}
.orbit__core span {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(11px, 1.15vw, 18px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #221a28;
  text-align: center;
}

/* ============ type ============ */
.kicker {
  position: absolute;
  left: 30%;
  top: 17%;
  z-index: 4;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.7vw, 40px);
  color: var(--ink);
  will-change: transform;
}
.kicker .reveal { display: inline-block; }
.kicker em { font-style: italic; padding-left: 0.12em; }

.kicker--shadow {
  left: 48%;
  top: 60%;
}

.title {
  position: absolute;
  left: 4vw;
  bottom: 3.5svh;
  width: 88vw;
  z-index: 4;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(40px, min(7.6vw, 13.5svh), 158px);
  line-height: 0.86;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--ink);
}
.title__line {
  display: block;
  overflow: hidden;
  /* headroom so cap glyphs aren't clipped by the reveal mask */
  padding-top: 0.14em;
  margin-top: -0.14em;
}
.title__line .reveal {
  display: inline-block;
  transform: translateY(110%);
  transition-delay: calc(var(--ti, 0) * 140ms + 400ms);
}
.title__line:nth-child(1) .reveal { --ti: 0; }
.title__line:nth-child(2) .reveal { --ti: 1; }
.title__line:nth-child(3) .reveal { --ti: 2; }
.title__line--split {
  display: flex;
  justify-content: space-between;
}

/* ============ scroll cue ============ */
.scroll-cue {
  position: absolute;
  right: 4vw;
  bottom: 27svh;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(244, 242, 238, 0.55);
  opacity: 0;
  transition: opacity 1s ease 2.2s;
}
body.loaded .scroll-cue { opacity: 1; }
.scroll-cue__label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.scroll-cue__line {
  width: 1px;
  height: 44px;
  background: rgba(244, 242, 238, 0.35);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 50%;
  background: var(--ink);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0% { top: -50%; }
  60%, 100% { top: 110%; }
}

/* ============ grain ============ */
.grain {
  position: absolute;
  inset: -50px;
  z-index: 6;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ about section ============ */
.about {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 14svh 8vw;
}
.about__inner {
  display: flex;
  align-items: center;
  gap: 7vw;
  max-width: 1080px;
}
.about__text { max-width: 46ch; }
.about__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 54px);
  color: var(--ink);
  margin-bottom: 1em;
}
.about__title em { font-style: italic; }
.about__body {
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(244, 242, 238, 0.82);
}
.about__img img {
  display: block;
  height: 50svh;
  width: auto;
  border-radius: 6px;
}

/* ============ approach section ============ */
.approach {
  padding: 6svh 8vw 14svh;
  display: grid;
  place-items: center;
}
.approach__inner {
  display: flex;
  align-items: flex-start;
  gap: 7vw;
  max-width: 1080px;
  width: 100%;
}
.approach__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--ink);
  flex-shrink: 0;
}
.approach__body {
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(244, 242, 238, 0.82);
  max-width: 52ch;
}
.approach__body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(244, 242, 238, 0.45);
  transition: text-decoration-color 0.3s ease;
}
.approach__body a:hover { text-decoration-color: var(--ink); }

/* ============ quote ============ */
.quote {
  padding: 4svh 8vw 18svh;
  display: grid;
  place-items: center;
  text-align: center;
}
.quote__text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.7vw, 40px);
  line-height: 1.4;
  color: var(--ink);
  max-width: 34ch;
}
.quote__text em { font-style: italic; }

/* ============ call to action ============ */
.cta {
  padding: 2svh 8vw 20svh;
  display: grid;
  place-items: center;
}
.cta__btn {
  display: inline-block;
  padding: 1.1em 2.6em;
  border-radius: 999px;
  background: #e0afff;
  color: #0d0810;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(15px, 1.2vw, 18px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.cta__btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 46px rgba(224, 175, 255, 0.35);
}

/* ============ testimonials ============ */
.lovenotes {
  padding: 4svh 8vw 18svh;
  display: grid;
  justify-items: center;
}
.lovenotes__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 54px);
  color: var(--ink);
  text-align: center;
  margin-bottom: 12svh;
}
.lovenotes__title em { font-style: italic; }
.lovenotes__list {
  max-width: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12svh;
}
.note__quote {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(18px, 1.7vw, 25px);
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 0.35em;
}
.note__body p {
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(244, 242, 238, 0.75);
}
.note__body p + p { margin-top: 1em; }
.note__by {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 23px);
  color: var(--ink);
  margin-top: 18px;
}

/* ============ newsletter ============ */
.newsletter {
  padding: 4svh 8vw 18svh;
  display: grid;
  justify-items: center;
  text-align: center;
}
.newsletter__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 54px);
  color: var(--ink);
  margin-bottom: 0.6em;
}
.newsletter__title em { font-style: italic; }
.newsletter__sub {
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(244, 242, 238, 0.75);
  max-width: 44ch;
  margin-bottom: 42px;
}
.newsletter__form {
  width: 100%;
  max-width: 560px;
}

/* fade-in on scroll */
.reveal-scroll {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
}
.in-view .reveal-scroll {
  opacity: 1;
  transform: none;
}

@media (max-width: 720px) {
  .about { padding: 12svh 8vw; }
  .about__inner { flex-direction: column; gap: 48px; }
  .about__img img { height: 44svh; }
  .approach { padding: 4svh 8vw 10svh; }
  .approach__inner { flex-direction: column; gap: 32px; }
  .quote { padding: 4svh 8vw 14svh; }
  .lovenotes { padding: 2svh 8vw 14svh; }
  .lovenotes__title { margin-bottom: 9svh; }
  .lovenotes__list { gap: 9svh; }
}

/* ============ responsive ============ */
@media (max-width: 900px) {
  .fig--vessels, .fig--photogram { display: none; }
  .kicker:not(.kicker--shadow) { left: 50%; translate: -50% 0; white-space: nowrap; top: 12%; }
  .kicker--shadow { left: 54%; top: 56%; white-space: nowrap; }
}

@media (max-width: 720px) {
  .hero { min-height: 100svh; }

  .fig--profile, .fig--pearls, .fig--ring, .fig--flowers { display: none; }

  /* inline custom props win over media queries, so override the real
     properties directly here */
  .fig--planet  { left: 5%;  top: 13%; width: 32vw; }
  .fig--head    { left: 67%; top: 11%; width: 27vw; }
  .fig--gerbera { left: 7%;  top: 56%; width: 28vw; }
  .fig--ocean   { left: 68%; top: 54%; width: 26vw; }

  .orbit { --os: 74vw; top: 40%; }

  .swatch { display: none; }
  .swatch:nth-of-type(2), .swatch:nth-of-type(3) { display: block; }
  .swatch:nth-of-type(2) { left: 10%; top: 44%; }
  .swatch:nth-of-type(3) { left: 64%; top: 36%; }
  .chip { font-size: 10px; }

  .kicker:not(.kicker--shadow) { font-size: clamp(24px, 7.5vw, 34px); top: 9%; }
  .kicker--shadow { font-size: clamp(19px, 5.6vw, 26px); left: 42%; top: 57%; }

  .title {
    font-size: clamp(38px, 12.3vw, 72px);
    bottom: 4svh;
    width: 92vw;
  }
  .title__line--split { gap: 0.4em; }

  .scroll-cue { display: none; }
}

/* ============ reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  .float, .rev, .orbit__core, .scroll-cue__line::after { animation: none !important; }
  .reveal { transition: opacity 0.6s ease; transform: none; }
  html { scroll-behavior: auto; }
}
