/* VF Events — Connect. Standalone stylesheet (no dependency on the main site). */

@font-face { font-family: "Lora"; src: url("../fonts/lora-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-latin-wght-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --ivory: #FFF9F5;
  --blush: #F4DDE3;
  --blush-soft: #F9EAEE;
  --plum: #442B3A;
  --plum-2: #5C3B4F;
  --rose: #8F5570;
  --champagne: #B49672;
  --hairline: rgba(180, 150, 114, .55);
  --muted: #6B5A63;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --column: 460px;
  color-scheme: light;
}

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

html {
  background: var(--ivory);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--plum);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

p, h1 { margin: 0; }

/* ---------- background: soft ombre glow + fine champagne line ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg__glow {
  position: absolute;
  width: 120vmax;
  height: 120vmax;
  border-radius: 50%;
  will-change: transform;
}

.bg__glow--rose {
  top: -78vmax;
  left: -62vmax;
  background: radial-gradient(closest-side, rgba(143, 85, 112, .20), rgba(143, 85, 112, .07) 55%, rgba(143, 85, 112, 0));
  animation: drift-a 26s var(--ease) infinite alternate;
}

.bg__glow--plum {
  bottom: -84vmax;
  right: -66vmax;
  background: radial-gradient(closest-side, rgba(68, 43, 58, .16), rgba(244, 221, 227, .42) 50%, rgba(244, 221, 227, 0));
  animation: drift-b 32s var(--ease) infinite alternate;
}

.bg__line {
  position: absolute;
  left: -10vw;
  bottom: 4vh;
  width: 120vw;
  height: 38vh;
  fill: none;
  stroke: var(--champagne);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: .42;
  animation: drift-line 40s ease-in-out infinite alternate;
}

@keyframes drift-a { to { transform: translate3d(6vmax, 5vmax, 0); } }
@keyframes drift-b { to { transform: translate3d(-5vmax, -6vmax, 0); } }
@keyframes drift-line { to { transform: translate3d(-3vw, -1.5vh, 0); } }

/* ---------- page column ---------- */

.page {
  width: 100%;
  max-width: calc(var(--column) + 48px);
  margin: 0 auto;
  padding:
    max(44px, calc(env(safe-area-inset-top) + 28px))
    max(24px, calc(env(safe-area-inset-right) + 16px))
    max(32px, calc(env(safe-area-inset-bottom) + 24px))
    max(24px, calc(env(safe-area-inset-left) + 16px));
  text-align: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand__logo {
  display: block;
  /* the original logo, traced: aspect 614 × 551 is preserved by the viewBox */
  width: clamp(112px, 34vw, 136px);
  height: auto;
  aspect-ratio: 614 / 551;
  color: var(--plum);
  transform-origin: 50% 50%;
}

.brand__meta { align-self: stretch; }

.brand__descriptor {
  margin-top: 26px;
  font: 700 .74rem/1.4 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rose);
}

.brand__location {
  margin-top: 6px;
  font: italic 400 .98rem/1.4 var(--serif);
  color: var(--muted);
}

.brand__location::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  margin: 0 auto 10px;
  background: var(--champagne);
}

.welcome { margin-top: 34px; }

.welcome__headline {
  font: 400 clamp(1.8rem, 7.6vw, 2.25rem)/1.18 var(--serif);
  letter-spacing: -.005em;
  color: var(--plum);
  text-wrap: balance;
}

.welcome__headline em {
  font-style: italic;
  color: var(--rose);
}

.welcome__lede {
  max-width: 34ch;
  margin: 14px auto 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- links ---------- */

.links { margin-top: 32px; }

.links__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: rgba(255, 252, 250, .78);
  color: var(--plum);
  font: 700 .92rem/1.3 var(--sans);
  letter-spacing: .03em;
  text-align: left;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color .25s var(--ease),
    border-color .25s var(--ease),
    color .25s var(--ease),
    box-shadow .25s var(--ease),
    transform .2s var(--ease);
}

.link__icon,
.link__arrow {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link__icon { width: 22px; height: 22px; }
.link__icon .dot { fill: currentColor; stroke: none; }

.link__label { flex: 1 1 auto; min-width: 0; }

.link__arrow {
  width: 18px;
  height: 18px;
  opacity: .55;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.link--primary {
  min-height: 60px;
  border-color: var(--plum);
  background: var(--plum);
  color: var(--ivory);
  box-shadow: 0 10px 24px -14px rgba(68, 43, 58, .55);
}

.link--secondary {
  border-color: var(--plum);
  background: transparent;
}

@media (hover: hover) {
  .link:hover {
    background: var(--blush-soft);
    border-color: var(--champagne);
    transform: translateY(-1px);
  }
  .link--primary:hover {
    background: var(--plum-2);
    border-color: var(--plum-2);
  }
  .link--secondary:hover { border-color: var(--plum); }
  .link:hover .link__arrow { transform: translateX(3px); opacity: .9; }
}

.link:active { transform: translateY(0) scale(.99); }

.link:focus { outline: none; }
.link:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(143, 85, 112, .14);
}

.link__note {
  margin-top: 8px;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- footer ---------- */

.foot { margin-top: 44px; }

.foot__rule {
  display: block;
  width: 36px;
  height: 1px;
  margin: 0 auto 16px;
  background: var(--champagne);
}

.foot__line {
  font: italic 400 1.05rem/1.5 var(--serif);
  color: var(--plum-2);
  text-wrap: balance;
}

.foot__small {
  margin-top: 10px;
  font-size: .75rem;
  letter-spacing: .04em;
  color: var(--muted);
}

.foot__review {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 10px;
  border: 1px dashed var(--hairline);
  border-radius: 999px;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 768px) {
  .page { padding-top: max(72px, 9vh); }
  .brand__logo { width: 144px; }
}

/* ---------- intro: "an invitation to connect" ----------
   Hidden unless the inline head script opts in with html.vfc-intro,
   so without JavaScript the page is simply there. */

.intro { display: none; }

.vfc-intro body { overflow: hidden; }

.vfc-intro .intro {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 50;
  touch-action: none;
}

.intro__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background: var(--blush);
  will-change: transform;
}

.intro__panel::after {
  /* fine card edge, like the inside border of an invitation */
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(180, 150, 114, .38);
}

.intro__panel--l { left: 0; background: linear-gradient(90deg, #F2D8DF, var(--blush)); }
.intro__panel--l::after { right: 0; border-right: 0; }
.intro__panel--r { right: 0; background: linear-gradient(270deg, #F2D8DF, var(--blush)); }
.intro__panel--r::after { left: 0; border-left: 0; }

.intro__seam {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 50%;
  width: 1px;
  margin-left: -.5px;
  background: linear-gradient(180deg, rgba(180, 150, 114, 0), var(--champagne) 18%, var(--champagne) 82%, rgba(180, 150, 114, 0));
}

.intro__skip {
  position: absolute;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px));
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(68, 43, 58, .28);
  border-radius: 4px;
  background: rgba(255, 249, 245, .7);
  color: var(--plum);
  font: 600 .78rem/1 var(--sans);
  letter-spacing: .08em;
  cursor: pointer;
  pointer-events: auto;
}

.intro__skip:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

/* The one-and-only logo sits above the panels while the intro runs. */
.vfc-intro .brand__logo { position: relative; z-index: 60; opacity: 0; }
.vfc-intro [data-reveal] { opacity: 0; }

/* Repeat visit in the same session: page is shown at once, with a subtle fade. */
.vfc-repeat .page { animation: page-fade .35s ease-out both; }
@keyframes page-fade { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .bg__glow, .bg__line, .vfc-repeat .page { animation: none; }
  .link, .link__arrow { transition: none; }
  .link:hover, .link:active { transform: none; }
}
