:root {
  --ivory: #fbf7f0;
  --paper: #ffffff;
  --blush: #f3d9d3;
  --rose: #c8697a;
  --plum: #5b2a4a;
  --plum-deep: #3f1c33;
  --marigold: #e9a23b;
  --sage: #8faf9a;
  --teal: #2f7f86;
  --ink: #2e2a2b;
  --muted: #6b6264;
  --line: #e8ddd3;
  --radius: 14px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--rose); }
h1, h2, h3 { font-family: var(--serif); color: var(--plum-deep); line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin: 0.2em 0 0.3em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 1.8em 0 0.5em; }
h3 { font-size: 1.2rem; margin: 1.4em 0 0.4em; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--plum); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--rose); margin: 0; display: flex; gap: 8px; align-items: center; }
.lede { font-size: 1.2rem; color: #4a4245; max-width: 60ch; }
.meta { color: var(--muted); font-size: 0.92rem; }
.badge { background: var(--blush); color: var(--plum); border-radius: 999px; padding: 1px 9px; font-size: 0.7rem; letter-spacing: 0.04em; }

/* buttons */
.btn { display: inline-block; background: var(--plum); color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 999px; font-weight: 700; border: 2px solid var(--plum); cursor: pointer; font-size: 1rem; margin: 4px 6px 4px 0; }
.btn:hover { background: var(--plum-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--plum); }
.btn-ghost:hover { background: var(--blush); color: var(--plum); }
.btn-small { padding: 7px 15px; font-size: 0.9rem; }

/* header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 66px; flex-wrap: wrap; }
.logo { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--plum-deep); text-decoration: none; display: flex; align-items: center; gap: 8px; margin: 0; }
.logo-mark { color: var(--rose); }
.logo-sub { font-family: var(--sans); font-size: 0.8rem; font-weight: 400; color: var(--muted); }
.main-nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.main-nav a { text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.main-nav a:hover { color: var(--rose); }

/* heroes */
.home-hero, .hub-hero { background: radial-gradient(circle at 85% 20%, var(--blush), transparent 55%), linear-gradient(180deg, #fff, var(--ivory)); border-bottom: 1px solid var(--line); padding: 46px 0 34px; margin-bottom: 18px; }
.home-hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); }
.crumbs { font-size: 0.9rem; color: var(--muted); margin: 14px 0 0; }
.crumbs a { color: var(--muted); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.15s, box-shadow 0.15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(91, 42, 74, 0.12); }
.card a { text-decoration: none; color: inherit; display: block; height: 100%; }
.card img { aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; background: var(--blush); }
.card-body { padding: 16px 18px 20px; }
.card h3 { margin: 6px 0 8px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.hub-tiles, .tool-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.hub-tile, .tool-tile { display: block; text-decoration: none; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; border-top: 6px solid var(--rose); }
.hub-tile h3, .tool-tile h2, .tool-tile h3 { margin-top: 0; }
.hub-tile p, .tool-tile p { color: var(--muted); margin: 0 0 10px; }
.hub-christian-weddings { border-top-color: var(--sage); }
.hub-hindu-weddings { border-top-color: var(--marigold); }
.hub-destination-weddings { border-top-color: var(--teal); }
.hub-multicultural-weddings { border-top-color: var(--plum); }
.tool-tile { border-top-color: var(--teal); }

/* article */
.article-head { padding-top: 6px; }
.article-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 46px; align-items: start; }
.toc { position: sticky; top: 90px; font-size: 0.9rem; border-left: 3px solid var(--blush); padding-left: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0 0 8px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--plum); }
.footer-title { font-weight: 700; color: var(--plum-deep); margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }
.prose { max-width: 760px; }
.prose > p:first-child { font-size: 1.1rem; }
.prose figure { margin: 26px 0; }
.prose figure img { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.prose figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.25em 0; }
.prose blockquote { margin: 22px 0; padding: 14px 20px; background: var(--paper); border-left: 5px solid var(--marigold); border-radius: 0 var(--radius) var(--radius) 0; }
.prose blockquote.cta { background: #f6ecef; border-left-color: var(--plum); }
.prose blockquote p { margin: 0.3em 0; }
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
.prose th, .prose td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: #f7efe7; color: var(--plum-deep); }
.prose tr:last-child td { border-bottom: 0; }
.notice { background: #fff7e6; border: 1px solid #f1d39b; border-radius: var(--radius); padding: 12px 16px; margin: 14px 0; }
.end-cta { background: var(--plum); color: #fff; border-radius: var(--radius); padding: 26px 28px; margin: 44px 0 10px; }
.end-cta h2 { color: #fff; margin-top: 0; }
.end-cta .btn { background: #fff; color: var(--plum); border-color: #fff; }
.end-cta .btn-ghost { background: transparent; color: #fff; }
.more { margin: 40px auto 60px; }

/* tools and forms */
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start; margin-bottom: 60px; }
.tool-form, .tool-result, .panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
label { font-weight: 600; display: block; margin-bottom: 4px; }
input[type="number"], input[type="date"], input[type="email"], select { width: 100%; padding: 10px 12px; border: 1px solid #cfc2b6; border-radius: 10px; font: inherit; background: #fff; }
fieldset { border: 1px solid var(--line); border-radius: 10px; margin: 14px 0; padding: 12px 14px; }
legend { font-weight: 700; color: var(--plum-deep); padding: 0 6px; }
.check { font-weight: 400; display: flex; gap: 8px; align-items: center; margin: 4px 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px 12px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 14px; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0 14px; }
.result-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 10px 0; }
.result-table th, .result-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); }
.result-table td.num, .result-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 8px; background: var(--blush); border-radius: 99px; overflow: hidden; margin-top: 4px; }
.bar span { display: block; height: 100%; background: var(--rose); }
.result-group h3 { margin: 16px 0 6px; font-size: 1.05rem; }
.overdue { color: #a1361f; font-weight: 600; }
.error { color: #a1361f; }
.signup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; margin-bottom: 60px; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 26px; position: relative; margin: 8px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }
.consent label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.consent input { margin-top: 5px; }

/* footer */
.site-footer { background: var(--plum-deep); color: #eadde4; padding: 40px 0 20px; margin-top: 40px; }
.site-footer a { color: #fff; }
.site-footer .logo { color: #fff; }
.site-footer .muted { color: #d8c6cf; }
.site-footer .footer-title { color: #f3d9d3; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 4px 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.fine { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 24px; padding-top: 14px; font-size: 0.82rem; color: #cdb9c4; }
.site-footer .btn { background: var(--rose); border-color: var(--rose); }

@media (max-width: 900px) {
  .article-grid, .tool-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .logo-sub { display: none; }
  .header-row { gap: 10px; padding-top: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .main-nav { order: 3; width: 100%; margin: 0 0 10px; gap: 14px; overflow-x: auto; flex-wrap: nowrap; }
  .header-row .btn-small { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .card { transition: none; } }
@media print { .site-header, .site-footer, .toc, .end-cta, .more { display: none; } }
