@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/cormorant-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/cormorant-500-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/greatvibes-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/sourcesans-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/sourcesans-500-normal.woff2') format('woff2');
}


/* jennaisthinandkind.com - Christmas note */

:root {
  --evergreen: #10281c;
  --evergreen-deep: #0a1c14;
  --pine: #1c3d2a;
  --leaf: #2f6a45;
  --cream: #f6efe3;
  --cream-soft: #fbf6ee;
  --ink: #1e2a22;
  --ink-soft: #3d4a40;
  --cranberry: #9b1b2c;
  --cranberry-deep: #6e1220;
  --gold: #c5a15a;
  --gold-bright: #e8d5a3;
  --gold-deep: #8c6a2b;
  --frame: #d9c9a3;
  --shadow: 0 20px 50px rgba(8, 20, 14, 0.35);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Iowan Old Style", "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Calibri, sans-serif;
  --script: "Great Vibes", "Snell Roundhand", "Segoe Script", cursive;
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(197, 161, 90, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(155, 27, 44, 0.12), transparent 50%),
    linear-gradient(180deg, var(--evergreen-deep) 0%, var(--evergreen) 40%, #163425 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.flake {
  position: absolute;
  top: -12px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.75;
  animation-name: fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.45);
}

.flake.star {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  opacity: 0.85;
}

@keyframes fall {
  0%   { transform: translate3d(0, -5vh, 0); }
  100% { transform: translate3d(var(--drift, 20px), 105vh, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flake { animation: none !important; display: none; }
}

.page {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
  padding-top: max(1.25rem, env(safe-area-inset-top));
  padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
}

.card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55), transparent 18%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 27px,
      rgba(197, 161, 90, 0.05) 28px
    ),
    var(--cream);
  border-radius: 18px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(197, 161, 90, 0.28);
  padding: 2rem 1.35rem 2.4rem;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(197, 161, 90, 0.35);
  border-radius: 12px;
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(155, 27, 44, 0.12);
  border-radius: 9px;
  pointer-events: none;
}

.inner {
  position: relative;
  z-index: 1;
}

.garland {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.15rem;
  color: var(--cranberry);
}

.garland svg {
  width: 92px;
  height: 36px;
  display: block;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 161, 90, 0.18);
}

header.hero {
  text-align: center;
  padding: 0.25rem 0 0.5rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cranberry);
}

h1 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.15rem, 9vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--evergreen-deep);
}

h1 .amp {
  font-style: italic;
  font-weight: 500;
  color: var(--cranberry);
}

.subhead {
  margin: 0 auto;
  max-width: 28rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 3.6vw, 1.45rem);
  line-height: 1.4;
  color: var(--ink-soft);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 1.75rem auto;
  color: var(--gold);
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  width: min(28%, 8rem);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider .jewel {
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 161, 90, 0.16);
}

.notes {
  display: grid;
  gap: 1.15rem;
  margin: 0 auto;
  max-width: 36rem;
}

.notes p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink);
}

.notes p.special {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--cranberry-deep);
  text-align: center;
  padding: 0.35rem 0.25rem;
}

.reasons {
  margin: 0 auto;
  max-width: 36rem;
}

.reasons h2,
.gallery h2 {
  margin: 0 0 1rem;
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 4.5vw, 2rem);
  color: var(--evergreen-deep);
  letter-spacing: -0.01em;
}

.reasons ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.reasons li {
  display: grid;
  grid-template-columns: 1.8rem 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.7rem 0.8rem;
  background: var(--cream-soft);
  border: 1px solid rgba(197, 161, 90, 0.28);
  border-radius: 12px;
  font-size: 1rem;
  color: var(--ink);
}

.num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cranberry);
  line-height: 1.3;
}

.gallery {
  margin: 0 auto;
  max-width: 40rem;
}

.gallery .lede {
  margin: -0.25rem auto 1.15rem;
  text-align: center;
  max-width: 28rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.frame {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  background:
    linear-gradient(180deg, #efe4cf, #e6d7b8);
  border: 3px solid #b8924a;
  box-shadow:
    inset 0 0 0 6px #f4ecdc,
    0 8px 18px rgba(16, 40, 28, 0.12);
  overflow: hidden;
}

.placeholder {
  position: absolute;
  inset: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,0.55), transparent 55%),
    linear-gradient(180deg, #f8f1e4, #ead9b5);
  color: var(--gold-deep);
  text-align: center;
  padding: 0.75rem;
}

.placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.85;
}

.placeholder span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.25;
}

.frame img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.frame.has-photo img {
  display: block;
}

.frame.has-photo .placeholder {
  display: none;
}

.closing {
  text-align: center;
  padding: 0.4rem 0 0.2rem;
}

.closing .wish {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(2.3rem, 9vw, 3.6rem);
  line-height: 1.2;
  color: var(--cranberry);
  font-weight: 400;
}

.heart {
  display: inline-block;
  margin-left: 0.15em;
  color: var(--cranberry);
  font-style: normal;
  font-family: var(--serif);
}

.closing .tagline {
  margin: 0.65rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

@media (min-width: 600px) {
  .page {
    width: min(780px, calc(100% - 2.5rem));
    padding-top: max(2.2rem, env(safe-area-inset-top));
    padding-bottom: max(3rem, env(safe-area-inset-bottom));
  }
  .card {
    padding: 3rem 3.1rem 3.2rem;
    border-radius: 22px;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
  }
  .notes p { font-size: 1.06rem; }
}

@media (max-width: 379px) {
  .card { padding: 1.6rem 1.05rem 2rem; }
  h1 { font-size: 1.9rem; }
}
