/* Santa's Secret Draw: site styles. System fonts only, no external requests. */
:root {
  --evergreen: #0B3D2E;
  --evergreen-dark: #062A21;
  --cranberry: #B21E1E;
  --parchment: #F7EEDB;
  --cream: #FFF7E9;
  --gold: #D9B266;
  --gold-dark: #A77A32;
  --ink: #173E32;
  --muted: #58665D;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

header {
  background: var(--evergreen);
  border-bottom: 2px solid var(--gold);
  color: var(--cream);
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

header .wrap { display: flex; align-items: center; gap: 16px; padding-top: 28px; padding-bottom: 28px; }

header img { width: 64px; height: 64px; border-radius: 14px; flex: none; }

header .label {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2 { font-family: "New York", Georgia, "Times New Roman", serif; }

header h1 { margin: 2px 0 0; font-size: 32px; line-height: 1.15; }

nav { background: var(--evergreen-dark); }
nav .wrap { display: flex; gap: 20px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
nav a { color: var(--cream); text-decoration: none; font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--gold); }

main { padding: 32px 0 48px; }

h2 { color: var(--evergreen); font-size: 24px; margin: 32px 0 8px; }

a { color: var(--cranberry); }

.card {
  background: var(--cream);
  border: 1px solid rgba(167, 122, 50, 0.45);
  border-radius: 20px;
  padding: 20px 22px;
  margin: 20px 0;
}

.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.muted { color: var(--muted); font-size: 15px; }

ul { padding-left: 22px; }
li { margin: 6px 0; }

footer { border-top: 1px solid rgba(167, 122, 50, 0.35); padding: 20px 0 40px; color: var(--muted); font-size: 14px; }

/* ---------- Shared texture ---------- */
body { background: var(--parchment) url("img/parchment.png") repeat; background-size: 256px; }

/* ---------- Home page ---------- */
.home-nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
}
.home-nav .wrap { display: flex; justify-content: flex-end; gap: 20px; padding-top: 16px; }
.home-nav a { color: var(--cream); text-decoration: none; font-size: 15px; opacity: 0.9; }
.home-nav a:hover { color: var(--gold); opacity: 1; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background: var(--evergreen) url("img/evergreen.png") center / cover no-repeat;
  padding: 72px 0 96px;
}
.hero::after { /* snow drift along the bottom edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 26px;
  background: url("img/snow-edge.png") repeat-x bottom / 440px 26px;
}
.hero .fir {
  position: absolute; bottom: 14px; right: -6px; width: 300px;
  pointer-events: none; z-index: 1;
}
.hero .flake { position: absolute; color: var(--gold); opacity: 0.18; font-size: 40px; pointer-events: none; }

.hero .wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 24px;
  max-width: 980px;
}
.hero .label { margin: 0 0 8px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.hero .wordmark { width: 100%; max-width: 440px; height: auto; display: block; margin: 0 0 8px -12px; }
.hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero .tagline { font-family: "New York", Georgia, serif; font-style: italic; font-size: 26px; line-height: 1.3; margin: 0 0 14px; }
.hero .lede { font-size: 18px; max-width: 470px; margin: 0 0 26px; color: rgba(255, 247, 233, 0.88); }
.hero .gift { width: 100%; max-width: 340px; height: auto; justify-self: center; filter: drop-shadow(0 18px 24px rgba(0,0,0,0.35)); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 16px;
  background: linear-gradient(var(--cranberry), #8C1019);
  border: 1px solid rgba(217, 178, 102, 0.75);
  color: #fff; font-weight: 600; text-decoration: none; font-size: 17px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}
.pill small { font-weight: 500; opacity: 0.85; font-size: 14px; }

.section { padding: 56px 0 8px; }
.section .wrap { max-width: 980px; }
.section h2 { text-align: center; font-size: 32px; margin: 0 0 8px; }
.section .intro { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 28px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--cream); border: 1px solid rgba(167,122,50,0.45); border-radius: 20px; padding: 22px; }
.step .num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--evergreen); color: var(--cream); font-family: Georgia, serif; font-weight: 700; margin-bottom: 10px;
}
.step h3 { margin: 0 0 6px; font-family: "New York", Georgia, serif; font-size: 20px; color: var(--evergreen); }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

.phones {
  display: flex; gap: 22px; justify-content: center;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 24px;
}
.phone {
  flex: 0 0 auto; width: 210px; margin: 0; scroll-snap-align: center;
  text-align: center;
}
.phone img {
  width: 100%; height: auto; display: block;
  border-radius: 30px; border: 7px solid #10241C;
  box-shadow: 0 14px 30px rgba(6, 42, 33, 0.28);
  background: #10241C;
}
.phone figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.feature { display: flex; gap: 14px; align-items: flex-start; background: var(--cream); border: 1px solid rgba(167,122,50,0.45); border-radius: 20px; padding: 18px 20px; }
.feature .icon { font-size: 24px; line-height: 1; flex: none; width: 32px; text-align: center; }
.feature h3 { margin: 0 0 4px; font-size: 17px; color: var(--evergreen); }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.promise {
  margin: 48px auto 0; max-width: 760px; text-align: center;
  background: var(--evergreen); color: var(--cream); border-radius: 24px; padding: 34px 26px;
  border: 2px solid var(--gold);
}
.promise h2 { color: var(--cream); margin: 0 0 8px; }
.promise p { margin: 0; color: rgba(255,247,233,0.88); }
.promise a { color: var(--gold); }

.foliage-footer { margin-top: 8px; position: relative; overflow: hidden; }
/* The artwork has wide empty margins: draw it wider than the page so the
   clusters sit near the corners. */
.foliage-footer img { display: block; width: 140%; max-width: 1500px; height: auto; margin: 0 auto -6px; position: relative; left: 50%; transform: translateX(-50%); }
.home footer { border-top: 0; text-align: center; }

@media (max-width: 760px) {
  .hero { padding: 64px 0 80px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .wordmark { margin: 0 auto 8px; max-width: 340px; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .gift { max-width: 220px; order: -1; }
  .hero .fir { width: 170px; }
  .steps, .features { grid-template-columns: 1fr; }
  .phones { justify-content: flex-start; }
  .phone { width: 190px; }
  .section h2 { font-size: 28px; }
}
