/* ==========================================================================
   MARIGOLD CIRCLE  (/marigold-circle and /marigold-circle/thanks)
   Built from the approved mockup, matched to the hometru.ca brand.
   --------------------------------------------------------------------------
   ★ ONE PLACE TO CHANGE COLOURS, FONTS AND TEXT SIZES ★
   Change a value below and the whole page follows.
   ========================================================================== */
:root {
  /* Colours (the same values as the main site, styles.css) */
  --black: #0a0a0b;   /* dark sections, footer */
  --gold: #c9a45c;    /* HomeTru gold: buttons, lines, flower outline */
  --gold-2: #e6cd94;  /* light gold: button hover */
  --ivory: #f4efe6;   /* light sections, text on black, form background */
  --white: #ffffff;   /* "In our circle" section, form fields */
  --grey: #6f685c;    /* small helper text */
  --error: #9e1b32;   /* form error messages */

  /* Fonts (the same as the main site) */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Text sizes */
  --size-body: 18px;
  --size-h1: clamp(64px, 10vw, 136px);
  --size-h2: clamp(34px, 5vw, 56px);

  /* Side padding */
  --pad: clamp(22px, 6vw, 88px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-weight: 400; font-size: var(--size-body); line-height: 1.7; background: var(--ivory); color: var(--black); overflow-x: hidden; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; text-wrap: balance; }
h2 { font-size: var(--size-h2); }
strong { font-weight: 600; }
.wrap { max-width: 1120px; margin: 0 auto; width: 100%; }
section { padding: clamp(68px, 9vw, 128px) var(--pad); }
.dark { background: var(--black); color: var(--ivory); }

/* Buttons: the hometru.ca solid gold button (uppercase, spaced letters) */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; background: var(--gold); color: var(--black); border: 1px solid var(--gold); padding: 16px 38px; font: 600 14px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .2em; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--black); }
.btn[disabled] { opacity: .7; cursor: wait; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.light a:focus-visible, form :focus-visible { outline-color: var(--black); }

/* HomeTru wordmark, top left (same look as the main site's logo); links to the home page */
.mc-top { background: var(--black); padding: 22px var(--pad) 0; }
.mc-brand { display: inline-block; font: 600 1.6rem/1 var(--serif); letter-spacing: .14em; color: var(--ivory); text-decoration: none; transition: color .2s; }
.mc-brand:hover { color: var(--gold); }
.mc-top + main .hero { padding-top: clamp(40px, 6vw, 88px); }
@media (max-width: 820px) { .mc-brand { font-size: 1.4rem; } .mc-top + main .hero { padding-top: 28px; } }

/* Hero */
.hero { position: relative; overflow: hidden; min-height: min(760px, 92vh); display: flex; align-items: center; }
.hero .wrap { position: relative; z-index: 1; }
.hero svg { position: absolute; color: var(--gold); width: min(760px, 62vw); aspect-ratio: 1; right: -9vw; top: 50%; transform: translateY(-50%); opacity: .9; }
h1 { font-size: var(--size-h1); }
.sub { text-wrap: balance; font: italic 500 clamp(30px, 4vw, 48px)/1.2 var(--serif); color: var(--gold); margin: 14px 0 28px; max-width: 13em; }
.hero p.lead { max-width: 25em; margin-bottom: 38px; font-size: 20px; }

/* Story */
.story .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 7vw, 100px); }
.pull { font: italic 500 clamp(30px, 3.2vw, 42px)/1.3 var(--serif); border-top: 1px solid var(--gold); padding-top: 28px; align-self: start; }
.story .copy p { margin-bottom: 24px; max-width: 36em; font-size: 19px; }

/* Statement */
.statement { text-align: center; }
.statement p { font: 500 clamp(34px, 5vw, 62px)/1.25 var(--serif); max-width: 17em; margin: 0 auto; }
.statement strong { font-weight: 500; color: var(--gold); display: block; }
.statement hr { width: 90px; border: 0; border-top: 1px solid var(--gold); margin: 0 auto 40px; }

/* You're a marigold */
.know .wrap { max-width: 820px; }
.know ul { list-style: none; margin: 40px 0 42px; border-top: 1px solid var(--gold); }
.know li { font: 500 clamp(25px, 3vw, 32px)/1.35 var(--serif); padding: 24px 0; border-bottom: 1px solid var(--gold); }

/* In our circle */
.circle { background: var(--white); }
.row { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; padding: 36px 0; border-bottom: 1px solid rgba(201, 164, 92, .55); align-items: baseline; }
.row:first-of-type { border-top: 1px solid rgba(201, 164, 92, .55); margin-top: 44px; }
.row h3, .refer h3 { font-size: 40px; }
.row p { max-width: 34em; font-size: 19px; }
.feature { margin: 64px 0; background: var(--black); color: var(--ivory); padding: 12px; }
.feature div { border: 1px solid var(--gold); padding: clamp(40px, 7vw, 80px) 24px; text-align: center; }
.feature h3 { font-size: clamp(42px, 6vw, 72px); color: var(--gold); margin-bottom: 14px; }
.refer { max-width: 700px; margin: 0 auto; text-align: center; }
.refer p { margin-top: 14px; font-size: 20px; }

/* What happens next */
.steps ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 48px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--gold); padding-top: 20px; max-width: 20em; }
.steps li::before { content: counter(s); display: block; font: 500 64px/1 var(--serif); margin-bottom: 14px; }

/* Join + form */
.join .wrap { display: grid; align-items: center; grid-template-columns: 5fr 6fr; gap: clamp(36px, 7vw, 100px); }
.join h2 { margin-bottom: 22px; color: var(--gold); }
form { background: var(--ivory); color: var(--black); padding: clamp(24px, 4vw, 46px); }
label { display: block; font-weight: 500; font-size: 16px; margin-bottom: 20px; }
input:not([type=checkbox]), textarea { width: 100%; margin-top: 6px; padding: 12px; min-height: 50px; border: 1px solid #9b8b6a; border-radius: 0; background: var(--white); font: 400 17px var(--sans); color: var(--black); }
textarea { resize: vertical; min-height: 96px; }
[aria-invalid=true] { border-color: var(--error) !important; box-shadow: 0 0 0 1px var(--error); }
.err { display: block; color: var(--error); font-size: 15px; font-weight: 600; margin-top: 6px; }
.err:empty { display: none; }
.consent { display: flex; flex-wrap: wrap; gap: 12px; font-size: 15px; line-height: 1.55; font-weight: 400; }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--black); }
.consent span { flex: 1; }
.consent .err { flex-basis: 100%; margin: 0 0 0 34px; }
.contact { font-size: 15px; margin: -10px 0 22px 34px; }
.contact a { color: var(--black); }
form .btn { width: 100%; }
form .btn:hover { background: var(--black); border-color: var(--black); color: var(--gold); }
.bday { border: 0; margin: 0 0 20px; min-width: 0; }
.bday legend { font-weight: 500; font-size: 16px; padding: 0; }
.bday .hint { display: block; font-weight: 400; font-size: 13px; line-height: 1.5; color: var(--grey); }
.bday-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.bday-row label:first-child { grid-column: 1 / -1; }   /* phones: month on its own line, so "September" fits */
@media (min-width: 560px) and (max-width: 820px), (min-width: 1100px) { .bday-row { grid-template-columns: 1.5fr 1fr 1.1fr; } .bday-row label:first-child { grid-column: auto; } }
.bday-row label { margin: 0; }
select { width: 100%; min-height: 50px; padding: 12px 24px 12px 10px; border: 1px solid #9b8b6a; border-radius: 0; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a0a0b' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 8px center; -webkit-appearance: none; appearance: none; font: 400 16px var(--sans); color: var(--black); }
select:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Closing + footer */
.closing { text-align: center; border-top: 1px solid rgba(201, 164, 92, .3); padding-block: 80px; }
footer { text-align: center; background: var(--black); color: var(--ivory); padding: 40px var(--pad); border-top: 1px solid rgba(201, 164, 92, .3); font-size: 16px; }
footer b { display: block; font: 500 28px var(--serif); color: var(--gold); }

/* Sticky phone button */
.sticky { position: fixed; left: 14px; right: 14px; bottom: 14px; text-align: center; display: none; z-index: 5; box-shadow: 0 0 0 4px var(--black); }
.sticky:hover { background: var(--gold); color: var(--black); }

/* Thank-you page */
.thanks { min-height: calc(100vh - 110px); display: flex; align-items: center; justify-content: center; }
.thanks-card { --petal: var(--ivory); background: var(--ivory); color: var(--black); padding: 60px 30px; text-align: center; max-width: 560px; width: 100%; }
.thanks-card svg { width: 110px; height: 110px; color: #8a6a2c; margin: 0 auto 20px; display: block; }
.thanks-card h1 { font-size: 42px; }
.thanks-card p { margin-top: 14px; }

@media (max-width: 820px) {
  .story .wrap, .join .wrap, .row, .steps ol { grid-template-columns: 1fr; }
  .hero { min-height: 0; display: block; padding-top: 44px; padding-bottom: 0; }
  .hero svg { position: static; display: block; transform: none; width: min(440px, 100%); height: auto; margin: 36px auto 0; margin-bottom: max(-220px, -48vw); }
  .sticky.show { display: flex; }
  footer { padding-bottom: 120px; }
  .thanks footer, body.thanks-page footer { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
