/* Meet Me at Six: a warm, sunny shop for one family photograph. Cream paper, sunshine and coral, crayon doodles drawn
   by hand (SVG), rounded type: Fredoka for headings, Nunito for words, Caveat only for handwritten notes. The photographs
   stay the stars; colour lives in the panels around them. */
:root {
  --bg: #fff6e8;        /* warm cream paper */
  --paper: #fffdf8;     /* cards */
  --card: #fffdf8;
  --soft: #fdebd2;      /* quiet warm panels */
  --sun: #ffc93c;       /* sunshine */
  --butter: #fff0bf;
  --coral: #ff6b4a;     /* buttons, the big yes */
  --coral-d: #d9492c;
  --sky: #6cc0ea;
  --sky-t: #e2f3fc;
  --leaf: #5fb86a;
  --leaf-t: #e4f4dd;
  --blush: #ffe0d6;
  --ink: #3a2418;       /* warm brown, never black */
  --ink-2: #5b4033;
  --gray: #8b7062;
  --line: #f0dcc2;
  --ok: #3f9a4d;
  --head: "Fredoka", ui-rounded, "Nunito", system-ui, sans-serif;
  --sans: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --mono: "Fredoka", ui-rounded, system-ui, sans-serif;
  --r: 18px;
  color-scheme: light;
}
* { box-sizing: border-box }
[hidden] { display: none !important }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 16.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 600; letter-spacing: -.01em; text-wrap: balance }
h1 { font-size: clamp(2.35rem, 5.4vw, 4rem); line-height: 1.04; letter-spacing: -.015em }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.08 }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.02em }
p { margin: 0 }
a { color: inherit }
img { max-width: 100%; display: block }
button, input, select, textarea { font: inherit; color: inherit }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px }
.num, .mono { font-family: var(--head); font-variant-numeric: tabular-nums }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)) }
.lead { font-size: 1.1875rem; line-height: 1.55; color: var(--gray); max-width: 36em }
.muted { color: var(--gray) }
.small { font-size: .875rem; color: var(--gray) }
.kicker { font-size: .8125rem; font-weight: 700; color: var(--gray); letter-spacing: .02em }

/* buttons: chunky and pressable */
.btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: var(--coral); color: #fff; border-radius: 999px; font: 600 1.0625rem/1 var(--head); letter-spacing: .005em; padding: 15px 24px 14px; cursor: pointer; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 0 var(--coral-d); transition: transform .12s ease, box-shadow .12s ease, background .15s ease }
.btn:hover { background: #ff7a5b }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--coral-d) }
.btn[disabled] { opacity: .55; cursor: progress }
.btn.light { background: #fff; color: var(--ink); box-shadow: 0 0 0 2px var(--line) inset, 0 4px 0 var(--line) }
.btn.light:hover { background: #fffaf2 }
.btn.light:active { box-shadow: 0 0 0 2px var(--line) inset, 0 1px 0 var(--line) }
.btn.lg { padding: 18px 30px 17px; font-size: 1.1875rem }
.btn.block { width: 100% }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--sun); cursor: pointer; font: inherit; color: inherit; font-weight: 700 }
.link:hover { text-decoration-color: var(--coral) }

/* fields */
.field { display: grid; gap: 6px; min-width: 0 }
.field > label, .label { font-size: .875rem; font-weight: 700; color: var(--ink-2) }
.input, .field input, .field select, .field textarea { width: 100%; min-width: 0; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 11px 14px; font-weight: 600; font-size: 1rem; line-height: 1.4; transition: border-color .15s ease, box-shadow .15s ease }
.field textarea { resize: vertical; min-height: 92px }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 4px rgba(255, 201, 60, .35) }
.field .hint { font-size: .8125rem; color: var(--gray) }
.err { color: #c0391f; font-weight: 700; font-size: .875rem; min-height: 1.3em }

/* the top bar */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(255, 246, 232, .88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease }
.bar.scrolled { border-bottom-color: var(--line) }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 1.25rem/1 var(--head); text-decoration: none; white-space: nowrap }
.logo svg { width: 30px; height: 30px }
.bar nav { display: none; gap: 30px; font-size: .9375rem; color: var(--ink-2) }
.bar nav a { text-decoration: none }
.bar nav a:hover { color: var(--ink) }
.bar .right { display: flex; align-items: center; gap: 14px }
.bar .right .btn { padding: 11px 18px 10px; font-size: .9375rem; box-shadow: 0 3px 0 var(--coral-d) }
.bar .right .small { white-space: nowrap; font-weight: 700; color: var(--ink-2); text-decoration: none }
@media (max-width: 459px) { .bar .right .small { display: none } .bar .right .btn { padding: 10px 15px 9px; font-size: .875rem } .logo { font-size: 1.125rem } }
@media (min-width: 880px) { .bar nav { display: flex } }

/* footer */
footer.foot { border-top: 1px solid var(--line); padding-block: 36px 48px; margin-top: 40px }
footer.foot .wrap { display: grid; gap: 18px; grid-template-columns: 1fr; font-size: .875rem; color: var(--gray) }
footer.foot nav { display: flex; gap: 22px; flex-wrap: wrap }
footer.foot a { text-decoration: none } footer.foot a:hover { color: var(--ink) }
@media (min-width: 760px) { footer.foot .wrap { grid-template-columns: 1fr auto; align-items: start } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } *, *::before, *::after { transition: none !important; animation: none !important } }
