/* Simply Magpie: the shared look (public website, sign-in, reply page, wedding websites). */

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

:root {
  --cream: #faf7f2;
  --paper: #fffdf9;
  --linen: #f2ebe1;
  --line: #e6dccf;
  --ink: #2a2520;
  --ink-2: #5c534a;
  --ink-3: #8a8178;
  --gold: #b8955a;
  --gold-soft: #e9dcc4;
  --rose: #e8c4c0;
  --rose-deep: #b4706a;
  --wood: #c8a57a;
  --wood-dark: #8f6b45;
  --ok: #3f6b4e;
  --ok-soft: #e4efe6;
  --warn: #9a5b13;
  --warn-soft: #f8ecd9;
  --bad: #a23b32;
  --bad-soft: #f8e3e0;
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 14px;
  --shadow: 0 1px 2px rgba(42, 37, 32, .05), 0 8px 24px rgba(42, 37, 32, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.6 var(--body); }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(720px, 100% - 40px); margin: 0 auto; }
.eyebrow { font: 600 .74rem/1.2 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 38em; }
.muted { color: var(--ink-3); }
em.script { font-family: var(--display); font-style: italic; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--cream); font: 500 .95rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.btn:hover { background: #423a33; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--linen); }
.btn.small { min-height: 36px; padding: 0 14px; font-size: .86rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header and footer */
.top { position: sticky; top: 0; z-index: 20; background: rgba(250, 247, 242, .92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 1.45rem/1 var(--display); text-decoration: none; letter-spacing: .01em; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: .92rem; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.btn, .nav a.btn:hover { color: var(--cream); text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
@media (max-width: 880px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
}
.foot { border-top: 1px solid var(--line); margin-top: 96px; padding: 48px 0 40px; font-size: .9rem; color: var(--ink-2); }
.foot .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot h4 { font: 600 .74rem/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .small { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; color: var(--ink-3); font-size: .82rem; }
@media (max-width: 720px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .wrap > div:first-child { grid-column: 1 / -1; } }

/* Sections */
section { padding: 72px 0; }
.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--rose-deep); }
.hero .art { position: relative; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } .hero .art { max-width: 460px; margin: 0 auto; } }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.band .card { background: var(--cream); }
.card h3 { margin: 6px 0 2px; }
.card p { color: var(--ink-2); margin: 0; }
.card .more { margin-top: auto; padding-top: 14px; font-weight: 500; font-size: .92rem; }
.card .icon { width: 64px; height: 64px; }
a.card { text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(42, 37, 32, .06), 0 14px 32px rgba(42, 37, 32, .09); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.flip > :first-child { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font: 500 1rem/1 var(--body); margin-bottom: 14px; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--ink-2); margin: 0; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 8px 0 20px; }
.price strong { font: 500 2.6rem/1 var(--display); }
.price span { color: var(--ink-3); }
.note { background: var(--linen); border-radius: var(--r); padding: 18px 22px; color: var(--ink-2); }
.cta { text-align: center; }
.cta .btns { justify-content: center; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 500 1.3rem/1.3 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }
.prose h2 { font-size: 1.9rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
label.f { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; }
label.f small { font-weight: 400; color: var(--ink-3); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=datetime-local], input[type=time], input[type=number], input[type=search], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
  font: 400 1rem/1.4 var(--body); }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.msg { padding: 14px 18px; border-radius: 10px; font-size: .95rem; }
.msg.ok { background: var(--ok-soft); color: var(--ok); }
.msg.bad { background: var(--bad-soft); color: var(--bad); }
.msg.warn { background: var(--warn-soft); color: var(--warn); }
[hidden] { display: none !important; }

/* Pictures the couple add to their website, and a partner's logo on guest pages. */
.guest-top.with-pic { background: var(--ink) center / cover no-repeat; color: #fff; padding-top: clamp(72px, 16vw, 150px); padding-bottom: clamp(56px, 12vw, 110px); }
.guest-top.with-pic h1, .guest-top.with-pic .eyebrow, .guest-top.with-pic .date, .guest-top.with-pic .tagline, .guest-top.with-pic .countdown { color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.site-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.site-photos figure { margin: 0; }
.site-photos a { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--linen); }
.site-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.site-photos figcaption { font-size: .84rem; color: var(--ink-2); margin-top: 6px; text-align: center; }
.brand-logo { display: block; max-width: 160px; max-height: 56px; width: auto; height: auto; margin: 0 auto 10px; object-fit: contain; }
