/* ==========================================================================
   WendMeadow — wendmeadow.com
   Shared stylesheet for index.html and thanks.html
   Brand palette: Moss, Sage, Sage Dark, Rose, Gold, Cream
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  --moss:        #4B6043;
  --moss-deep:   #3A4B34;
  --sage:        #7C9473;
  --sage-dark:   #5F7A54;
  --sage-mist:   #E4EADF;
  --rose:        #C97B84;
  --gold:        #D9A441;
  --cream:       #F4EFE1;
  --cream-warm:  #FAF7EE;
  --ink:         #2B3126;
  --ink-soft:    #55604D;
  --line:        rgba(75, 96, 67, 0.18);

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans:  ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
           "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gap: clamp(1rem, 3vw, 2rem);
  --pad-y: clamp(3.5rem, 9vw, 7rem);
  --radius: 4px;
  --shadow-sm: 0 2px 10px rgba(43, 49, 38, 0.07);
  --shadow-md: 0 10px 34px rgba(43, 49, 38, 0.13);
  --shadow-lg: 0 22px 60px rgba(43, 49, 38, 0.20);
}

/* --- 2. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--moss); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--sage-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; color: var(--moss-deep); margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* --- 3. Layout helpers --------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--pad-y); }
.section--tint { background: var(--cream-warm); border-block: 1px solid var(--line); }
.center { text-align: center; }
.lede { font-size: clamp(1.06rem, 1.9vw, 1.24rem); color: var(--ink-soft); max-width: 62ch; }
.center .lede { margin-inline: auto; }
.eyebrow {
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--sage-dark);
  margin: 0 0 .9rem;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--moss); color: var(--cream); padding: .7rem 1.1rem; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

/* --- 4. Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 650; line-height: 1;
  padding: .95rem 1.6rem; border: 1px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--moss); color: var(--cream-warm); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--moss-deep); color: #fff; box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold); color: #3A2E10; box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: #E7B354; color: #3A2E10; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--moss); border-color: rgba(75,96,67,.4); }
.btn--ghost:hover { background: rgba(75,96,67,.07); color: var(--moss-deep); }
.btn--onDark { background: var(--cream); color: var(--moss-deep); }
.btn--onDark:hover { background: #fff; color: var(--moss-deep); }
.btn--lg { font-size: 1.08rem; padding: 1.15rem 2.1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.center .btn-row { justify-content: center; }

/* --- 5. Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 239, 225, .93);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: .8rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: clamp(168px, 26vw, 224px); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 1.9rem); }
.nav__links { display: contents; }
.nav a { font-size: .95rem; font-weight: 550; text-decoration: none; color: var(--ink-soft); white-space: nowrap; }
.nav a:hover { color: var(--moss); }
.nav .btn { font-size: .92rem; padding: .68rem 1.15rem; color: var(--cream-warm); }
@media (max-width: 720px) {
  .nav__links { display: none; }
  .brand img { width: 156px; }
  .nav .btn { font-size: .88rem; padding: .62rem 1rem; }
}
@media (max-width: 360px) {
  .brand img { width: 134px; }
  .nav .btn { font-size: .82rem; padding: .58rem .8rem; }
}

/* --- 6. Hero ------------------------------------------------------------- */
.hero { position: relative; background: var(--moss-deep); }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: clamp(300px, 56vw, 620px); object-fit: cover; object-position: center 42%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(43,49,38,.80) 0%, rgba(43,49,38,.55) 42%, rgba(43,49,38,.12) 78%);
}
.hero__panel {
  position: absolute; inset: 0; display: flex; align-items: center;
}
.hero__panel .wrap { width: min(100% - 2.5rem, var(--wrap)); }
.hero__copy { max-width: 34rem; color: var(--cream); }
.hero__copy h1 { color: var(--cream-warm); text-shadow: 0 2px 24px rgba(0,0,0,.35); margin-bottom: .5em; }
.hero__copy p { color: rgba(244,239,225,.92); font-size: clamp(1rem, 1.9vw, 1.2rem); }
.hero__price {
  display: inline-flex; align-items: baseline; gap: .5rem;
  font-family: var(--serif); font-size: 1rem; color: var(--gold);
  border: 1px solid rgba(217,164,65,.5); border-radius: 99px; padding: .35rem .9rem;
  margin-bottom: 1.1rem;
}
.hero__price s { color: rgba(244,239,225,.6); }
@media (max-width: 700px) {
  /* Stack instead of overlaying: the copy is taller than the image on a phone. */
  .hero { display: block; }
  .hero__media img { height: 56vw; min-height: 230px; max-height: 340px; object-position: center 46%; }
  .hero__media::after { background: linear-gradient(180deg, rgba(43,49,38,.10) 0%, rgba(43,49,38,.45) 100%); }
  .hero__panel {
    position: static; display: block;
    background: var(--moss-deep);
    background-image: radial-gradient(120% 90% at 15% 0%, rgba(124,148,115,.28), rgba(58,75,52,0) 65%);
    padding: 1.9rem 0 2.4rem;
  }
  .hero__copy { max-width: none; }
  .hero__copy h1 { text-shadow: none; }
  .hero .btn-row { gap: .7rem; }
  .hero .btn-row .btn { width: 100%; }
}

/* --- 7. Mission ---------------------------------------------------------- */
.mission { max-width: 46rem; margin-inline: auto; }
.mission p { font-family: var(--serif); font-size: clamp(1.14rem, 2.3vw, 1.42rem); line-height: 1.6; color: var(--moss-deep); }
.mission .signoff { font-family: var(--sans); font-size: .98rem; color: var(--ink-soft); margin-top: 1.6rem; }
.rule {
  width: 68px; height: 3px; border: 0; margin: 0 auto 1.6rem;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  border-radius: 2px;
}

/* --- 8. Shop feature (the Etsy block) ------------------------------------ */
.shop {
  background: var(--moss-deep);
  background-image: radial-gradient(120% 90% at 12% 0%, rgba(124,148,115,.30) 0%, rgba(58,75,52,0) 62%);
  color: var(--cream);
}
.shop h2 { color: var(--cream-warm); }
.shop .eyebrow { color: var(--gold); }
.shop__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.shop__copy p { color: rgba(244,239,225,.88); }
.shop__list { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; gap: .75rem; }
.shop__list li { position: relative; padding-left: 1.75rem; color: rgba(244,239,225,.94); }
.shop__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold);
}
.shop__list strong { color: #fff; font-weight: 650; }
.shop__pricecard {
  background: rgba(244,239,225,.07); border: 1px solid rgba(244,239,225,.22);
  border-radius: 6px; padding: 1.1rem 1.3rem; margin-bottom: 1.6rem;
  display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap;
}
.shop__pricecard .now { font-family: var(--serif); font-size: 2.1rem; color: var(--gold); line-height: 1; }
.shop__pricecard .was { color: rgba(244,239,225,.6); text-decoration: line-through; }
.shop__pricecard .pricecard__note { color: rgba(244,239,225,.78); font-size: .92rem; width: 100%; }
.shop__figure { position: relative; }
.shop__figure img { border-radius: 4px; box-shadow: var(--shadow-lg); }
.shop__figure figcaption { margin-top: .8rem; font-size: .88rem; color: rgba(244,239,225,.7); text-align: center; }
@media (max-width: 860px) {
  .shop__grid { grid-template-columns: 1fr; }
  .shop__figure { order: -1; }
}

/* --- 9. Gallery ---------------------------------------------------------- */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 2vw, 1.4rem);
  margin-top: 2.6rem;
}
.tile {
  display: block; position: relative; overflow: hidden; border-radius: 3px;
  background: var(--sage-mist); box-shadow: var(--shadow-sm); text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}
.tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.tile:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tile:hover img { transform: scale(1.035); }
.tile figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 1.6rem .9rem .7rem;
  background: linear-gradient(180deg, rgba(43,49,38,0), rgba(43,49,38,.78));
  color: var(--cream-warm); font-size: .86rem; font-weight: 550;
}
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* --- 10. Rooms strip ----------------------------------------------------- */
.rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.7rem, 1.6vw, 1.1rem); margin-top: 2.4rem; }
.rooms img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; box-shadow: var(--shadow-sm); }
@media (max-width: 860px) { .rooms { grid-template-columns: repeat(2, 1fr); } }

/* --- 11. Steps ----------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); margin-top: 2.6rem; }
.step { background: var(--cream); border: 1px solid var(--line); border-radius: 5px; padding: 1.7rem 1.5rem; }
.section--tint .step { background: var(--cream); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--sage-mist); color: var(--moss); font-family: var(--serif); font-weight: 700;
  margin-bottom: .9rem;
}
.step h3 { margin-bottom: .35em; }
.step p { font-size: .98rem; color: var(--ink-soft); }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

/* --- 12. Honest note ----------------------------------------------------- */
.note {
  display: grid; grid-template-columns: 200px 1fr; gap: clamp(1.4rem, 4vw, 2.6rem); align-items: center;
  background: var(--sage-mist); border: 1px solid var(--line); border-radius: 6px;
  padding: clamp(1.6rem, 4vw, 2.4rem);
}
.note img { border-radius: 3px; box-shadow: var(--shadow-sm); }
.note h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.note p { font-size: 1rem; color: var(--ink-soft); }
@media (max-width: 700px) { .note { grid-template-columns: 1fr; } .note img { max-width: 220px; } }

/* --- 13. Signup --------------------------------------------------------- */
.signup { background: var(--sage-dark); background-image: radial-gradient(110% 100% at 80% 10%, rgba(217,164,65,.22), rgba(95,122,84,0) 60%); color: var(--cream); }
.signup h2 { color: var(--cream-warm); }
.signup .eyebrow { color: var(--gold); }
.signup__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.signup__copy p { color: rgba(244,239,225,.9); }
.signup__form {
  background: var(--cream-warm); color: var(--ink);
  border-radius: 6px; padding: clamp(1.5rem, 4vw, 2.1rem); box-shadow: var(--shadow-lg);
}
.signup__form h3 { margin-bottom: .5em; }
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field label { font-size: .88rem; font-weight: 650; color: var(--ink-soft); }
.field input {
  font: inherit; font-size: 1rem; padding: .85rem .95rem;
  border: 1px solid rgba(75,96,67,.35); border-radius: var(--radius);
  background: #fff; color: var(--ink); width: 100%;
}
.field input:focus { border-color: var(--sage-dark); outline: 3px solid rgba(217,164,65,.45); outline-offset: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.fineprint { font-size: .84rem; color: var(--ink-soft); margin-top: .9rem; }
.alert {
  border-radius: var(--radius); padding: .8rem 1rem; margin-bottom: 1.1rem; font-size: .93rem;
  background: #FBE7E4; border: 1px solid var(--rose); color: #7A3A40;
}
@media (max-width: 860px) { .signup__grid { grid-template-columns: 1fr; } }

/* --- 14. Thank-you page -------------------------------------------------- */
.thanks { padding-block: clamp(3rem, 8vw, 5.5rem); }
.thanks__card {
  max-width: 760px; margin-inline: auto; text-align: center;
  background: var(--cream-warm); border: 1px solid var(--line); border-radius: 8px;
  padding: clamp(1.8rem, 5vw, 3.2rem); box-shadow: var(--shadow-md);
}
.thanks__mark { width: 64px; margin: 0 auto 1.2rem; }
.gift {
  margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line);
}
.gift img { border-radius: 4px; box-shadow: var(--shadow-md); margin: 0 auto 1.4rem; max-width: 460px; width: 100%; }
.gift__meta { font-size: .88rem; color: var(--ink-soft); margin-top: .9rem; }
.next {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2.6rem; text-align: left;
}
.next a {
  display: block; text-decoration: none; background: var(--cream);
  border: 1px solid var(--line); border-radius: 5px; padding: 1.2rem 1.3rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.next a:hover { border-color: var(--sage); box-shadow: var(--shadow-sm); }
.next strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--moss-deep); margin-bottom: .2rem; }
.next span { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 620px) { .next { grid-template-columns: 1fr; } }

/* --- 15. Footer ---------------------------------------------------------- */
.site-footer { background: var(--moss-deep); color: rgba(244,239,225,.8); padding-block: clamp(2.6rem, 6vw, 4rem); }
.site-footer a { color: var(--cream); }
.footer__top { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.footer__brand img { width: 210px; margin-bottom: .9rem; }
.footer__brand p { max-width: 34ch; font-size: .94rem; color: rgba(244,239,225,.72); }
.social { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.social a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem .95rem; border: 1px solid rgba(244,239,225,.28); border-radius: 99px;
  font-size: .9rem; text-decoration: none; color: var(--cream);
  transition: background-color .15s ease, border-color .15s ease;
}
.social a:hover { background: rgba(244,239,225,.12); border-color: rgba(244,239,225,.5); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.footer__bottom {
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(244,239,225,.18);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between;
  font-size: .86rem; color: rgba(244,239,225,.62);
}
.footer__bottom a { color: rgba(244,239,225,.82); }
