:root {
  --pink: #e85f8d;
  --ink: #343238;
  --muted: #5f5a61;
  --page: #fff7fa;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--page); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--page);
  overflow-x: hidden;
}

.site {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--page);
}

/* The same scene is used at every viewport size. It scales continuously rather
   than switching to a different tablet composition. */
.site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.16), rgba(255,255,255,.02) 62%, rgba(255,255,255,0)),
    url("images/frost-scene-clean.png") center center / cover no-repeat;
}

.site::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.16) 0%, rgba(255,248,251,.04) 48%, rgba(247,196,216,.08) 100%);
}

.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  min-height: clamp(92px, 8vw, 116px);
  padding: clamp(18px, 2.1vw, 28px) clamp(24px, 4vw, 62px) 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.menu-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--pink);
  width: 48px;
  height: 48px;
  padding: 0;
  position: relative;
  z-index: 80;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 23px;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle span::before { left: 0; top: -9px; }
.menu-toggle span::after { left: 0; top: 9px; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"] span::before,
.menu-toggle[aria-expanded="true"] span::after { opacity: 1; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(9px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-9px) rotate(-45deg); }

.main-nav { position: relative; z-index: 60; margin-left: 0; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.65vw, 44px);
  list-style: none;
  padding: 0;
  margin: clamp(4px, .55vw, 8px) 0 0;
}
.main-nav a {
  display: block;
  color: #303038;
  text-decoration: none;
  font-size: clamp(14px, 1.25vw, 20px);
  line-height: 1.25;
  padding: 8px 0;
  white-space: nowrap;
  transition: color .2s ease;
}
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--pink); }


.page-main {
  position: relative;
  z-index: 5;
  min-height: calc(100vh - clamp(92px, 8vw, 116px));
  min-height: calc(100svh - clamp(92px, 8vw, 116px));
  width: 100%;
  padding: clamp(30px, 6vh, 76px) clamp(24px, 4vw, 62px) 72px;
  padding-right: 52vw;
  display: flex;
  align-items: center;
}

.content-card {
  width: min(43vw, 680px);
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.content-eyebrow {
  margin: 0 0 clamp(12px, 1.4vw, 20px);
  text-transform: uppercase;
  letter-spacing: .20em;
  font-size: clamp(10px, 1vw, 13px);
  line-height: 1.5;
  color: #5d5960;
  text-shadow: 0 1px 10px rgba(255,255,255,.95);
}

.content-card h1 {
  margin: 0 0 clamp(18px, 2vw, 28px);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(52px, 6.8vw, 100px);
  line-height: .95;
  letter-spacing: -.025em;
  color: #303036;
  text-shadow: 0 2px 16px rgba(255,255,255,.78);
}

.rule {
  width: clamp(72px, 7.8vw, 120px);
  height: 2px;
  margin: 0 0 clamp(18px, 2vw, 30px);
  background: var(--pink);
  opacity: .65;
}

.content-card p:not(.content-eyebrow) {
  max-width: 100%;
  margin: 0 0 22px;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.65;
  color: #57535a;
  text-shadow: 0 1px 12px rgba(255,255,255,.95);
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.page-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(233,95,141,.92);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .08em;
  text-align: center;
  box-shadow: 0 7px 18px rgba(190,70,110,.13);
  transition: transform .2s ease, background .2s ease;
}
.page-links a:hover,
.page-links a:focus-visible { transform: translateY(-1px); background: rgba(233,95,141,.98); }

body.menu-open { overflow: hidden; }

/* iPad/tablet keeps the desktop composition. Only measurements tighten; there
   is no separate tablet page layout. */
@media (min-width: 768px) and (max-width: 1100px) {
  .site-header { padding-left: 5vw; padding-right: 5vw; }
  .main-nav ul { gap: 16px; margin-left: 0; }
  .main-nav a { font-size: 14px; }
  .page-main {
    padding-left: 5vw;
    padding-right: 52vw;
  }
  .content-card { width: min(43vw, 500px); }
  .content-card h1 { font-size: clamp(48px, 6.8vw, 76px); }
}

/* Phones: keep the desktop/iPad composition, but reflow content cleanly. */
@media (max-width: 767px) {
  html, body {
    width: 100%;
    min-width: 0;
    background: #fff1f7;
  }

  body { background: #fff1f7; }

  .site-header { padding-left: 30px; padding-right: 20px; }

  .site {
    min-height: 100svh;
    overflow: hidden;
    background: #fff1f7;
  }

  /* On phones Frost is a visual introduction above the text. The scene is
     deliberately separated from the copy so the copy can never sit on her fur. */
  .site::before {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    height: 48svh;
    background: url("images/frost-scene-clean.png") center top / auto 48svh no-repeat;
    opacity: 1;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, rgba(0,0,0,.82) 76%, rgba(0,0,0,.30) 91%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 62%, rgba(0,0,0,.82) 76%, rgba(0,0,0,.30) 91%, transparent 100%);
  }

  .site::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
      rgba(255,241,247,.96) 0%,
      rgba(255,241,247,.78) 7%,
      rgba(255,241,247,.10) 22%,
      rgba(255,241,247,0) 48%,
      rgba(255,241,247,.92) 57%,
      rgba(255,241,247,1) 72%,
      rgba(255,241,247,1) 100%);
  }

  .site-header {
    min-height: 78px;
    height: 78px;
    padding: max(10px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
    align-items: flex-start;
    background: rgba(255,241,247,.90);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .menu-toggle {
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    margin-top: 2px;
    color: var(--pink);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 70;
    width: 100%;
    min-height: 100svh;
    padding: calc(82px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    background: rgba(255,241,247,.985);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    overflow-y: auto;
  }

  .main-nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .main-nav ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; margin: 0; }
  .main-nav li { width: 100%; }
  .main-nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 58px;
    padding: 14px 6px;
    border-bottom: 1px solid rgba(233,95,141,.18);
    font-size: 18px;
    line-height: 1.25;
    white-space: normal;
  }

  .page-main {
    min-height: auto;
    width: 100%;
    padding: calc(48svh + 16px) max(20px, env(safe-area-inset-right)) max(56px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    display: block;
  }

  .content-card {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .content-eyebrow { margin-bottom: 12px; font-size: 10px; line-height: 1.5; letter-spacing: .15em; }
  .content-card h1 {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: clamp(40px, 12.5vw, 56px);
    line-height: .96;
    letter-spacing: -.02em;
  }
  .rule { width: 68px; height: 2px; margin-bottom: 18px; }
  .content-card p:not(.content-eyebrow) {
    width: 100%;
    max-width: 430px;
    margin: 0;
    font-size: 16px;
    line-height: 1.52;
  }

  /* The hamburger is the mobile navigation; duplicate page buttons are unnecessary. */
  .page-links { display: none !important; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 390px) {
  .site::before {
    height: 46svh;
    background-size: auto 46svh;
  }
  .site-header { padding-left: 12px; padding-right: 12px; }
  .page-main { padding-left: 17px; padding-right: 17px; padding-top: calc(46svh + 16px); }
  .content-card h1 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

