/* ==========================================================================
   Virgo Rising Home Organization
   Palette (approx. proportions): Moonstone 60% · Celadon 15% · Moss 10% · Plum 5%
   Brass = star, thin dividers, small details only. Forest Ink = text.
   ========================================================================== */

:root {
  --moonstone: #F2EAE0;
  --celadon: #D0D0B8;
  --moss: #747B60;
  --moss-deep: #5E654D;
  --plum: #4A3D4D;
  --brass: #B58D68;
  --ink: #373830;
  --paper: #FBF7F1;          /* slightly lighter than moonstone, for cards/inputs */
  --ink-soft: #55574B;       /* secondary text, still AA on moonstone */
  --error: #8A3B2E;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(55, 56, 48, 0.06), 0 8px 24px rgba(55, 56, 48, 0.06);
  --gutter: 16px;
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);
}

@media (min-width: 640px) {
  :root { --gutter: 28px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background: var(--moonstone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
  font-variation-settings: "SOFT" 50;
}
h1 { font-size: clamp(2.5rem, 5.5vw + 0.5rem, 4.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 3.5vw + 0.5rem, 2.9rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1em; }
a { color: inherit; text-decoration-color: var(--brass); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: var(--gutter); }

[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 10;
  background: var(--ink); color: var(--moonstone); padding: 0.6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 0.75rem; }

.star { fill: var(--brass); display: block; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.7rem 1.6rem;
  background: var(--moss); color: var(--moonstone);
  font-family: var(--font-body); font-size: 1.1875rem; font-weight: 700; line-height: 1.2;
  border: 2px solid var(--moss); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--moss-deep); border-color: var(--moss-deep); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.btn-small { min-height: 2.5rem; padding: 0.4rem 1.1rem; font-size: 1rem; background: var(--moss-deep); border-color: var(--moss-deep); }
.btn-block { width: 100%; }

.btn-light { background: var(--moonstone); color: var(--plum); border-color: var(--moonstone); }
.btn-light:hover { background: var(--paper); border-color: var(--paper); }
.btn-outline { background: transparent; color: var(--moonstone); border-color: var(--moonstone); }
.btn-outline:hover { background: rgba(242, 234, 224, 0.12); border-color: var(--moonstone); }

.text-link { font-weight: 700; color: var(--ink); }

/* ---------- Banner ---------- */

.banner { background: var(--ink); color: var(--moonstone); font-size: 0.95rem; }
.banner-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.25rem 1.25rem; padding-block: 0.55rem; text-align: center;
}
.banner-text { margin: 0; }
.banner-actions { display: flex; align-items: center; gap: 0.6rem; }
.banner-link { font-weight: 700; color: var(--moonstone); }
.banner-sep { color: var(--brass); }

/* ---------- Header ---------- */

.site-header { border-bottom: 1px solid rgba(181, 141, 104, 0.45); }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 1.5rem; padding-block: 1.1rem;
}
.wordmark { display: flex; flex-direction: column; text-decoration: none; line-height: 1.05; }
.wordmark-name { font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; }
.wordmark-sub {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--moss-deep); margin-top: 0.3rem;
}
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.4rem; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 600; }
.site-nav a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--brass); }

@media (max-width: 560px) {
  .site-nav a:not(.btn) { display: none; }   /* keep the header calm on phones */
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 3.5rem); }
.hero-inner { display: grid; gap: 2.5rem; align-items: center; }
.h1-line { display: block; font-style: italic; font-weight: 400; color: var(--moss-deep); }
.lede { font-family: var(--font-display); font-size: clamp(1.3rem, 1.2vw + 1rem, 1.6rem); line-height: 1.4; }
.hero-text p:not(.lede) { max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.75rem; }

.service-area {
  display: flex; align-items: flex-start; gap: 0.6rem;
  margin: 1.75rem 0 0; padding-top: 1.25rem; max-width: 38rem;
  border-top: 1px solid rgba(181, 141, 104, 0.55);
  font-weight: 600; color: var(--ink-soft);
}
.pin { flex: none; width: 22px; height: 22px; margin-top: 0.15rem; }
.pin path { fill: var(--moss); }
.pin circle { fill: var(--moonstone); }

.hero-art { display: flex; justify-content: center; }
.arch, .hero-art img {
  width: min(100%, 360px); aspect-ratio: 3 / 4;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
}
.hero-art img { object-fit: cover; }
.arch {
  position: relative; background: var(--celadon);
  display: flex; justify-content: center; align-items: flex-end; padding: 0 1.5rem 1.5rem;
}
.arch-inner {
  width: 100%; height: 72%;
  border: 1px solid var(--brass);
  border-radius: 999px 999px 14px 14px;
  background: linear-gradient(180deg, rgba(242, 234, 224, 0.0) 0%, rgba(242, 234, 224, 0.55) 100%);
}
.star-hero { position: absolute; top: 12%; width: 34px; height: 34px; }

@media (min-width: 880px) {
  .hero-inner { grid-template-columns: 1.35fr 1fr; gap: 4rem; }
}
@media (max-width: 879px) {
  .arch, .hero-art img { width: min(70%, 280px); }
}

/* ---------- Tagline ---------- */

.tagline { padding-block: 1.5rem 3rem; }
.tagline-inner { display: flex; align-items: center; gap: 1.25rem; }
.tagline p {
  margin: 0; text-align: center; flex: 0 1 auto;
  font-family: var(--font-display); font-size: clamp(1.2rem, 1vw + 1rem, 1.5rem);
}
.tagline em { color: var(--moss-deep); }
.rule { flex: 1 1 0; height: 1px; background: var(--brass); min-width: 24px; }

/* ---------- Sections ---------- */

.section { padding-block: var(--section-pad); }
.section-celadon { background: var(--celadon); }
.section h2 { text-align: center; }

/* Services */
.service-grid { display: grid; gap: 1.25rem; margin-top: 2.25rem; }
@media (min-width: 720px) { .service-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }

.card {
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 3px solid var(--moss);
}
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }
.list-label { font-weight: 700; margin: 1.1rem 0 0.4rem; }

.tidy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.25rem; }
.tidy-list li { position: relative; padding-left: 1.2rem; }
.tidy-list li::before {
  content: ""; position: absolute; left: 0; top: 0.68em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--moss);
}
@media (min-width: 480px) and (max-width: 719px), (min-width: 1000px) {
  .tidy-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
}

.section-intro { text-align: center; max-width: 36rem; margin: -0.25rem auto 0; color: var(--ink-soft); }

/* Before & after */
.ba-grid { display: grid; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 1000px) { .ba-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.ba-pair { margin: 0; }
.ba-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.ba-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.ba-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 1rem; background: var(--paper);
  border: 1.5px dashed var(--moss); border-radius: var(--radius);
  color: var(--ink-soft); font-size: 0.92rem;
}
.ba-tag {
  position: absolute; left: 0.6rem; top: 0.6rem;
  padding: 0.15rem 0.7rem; border-radius: 999px;
  background: var(--ink); color: var(--moonstone);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.ba-tag-after { background: var(--moss-deep); }
.ba-pair figcaption { margin-top: 0.75rem; text-align: center; font-family: var(--font-display); font-size: 1.2rem; }

/* Testimonials */
.testimonial-grid { display: grid; gap: 1.25rem; margin-top: 2.25rem; }
@media (min-width: 900px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.testimonial {
  margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem;
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.testimonial blockquote { margin: 0; position: relative; padding-top: 1.6rem; }
.testimonial blockquote::before {
  content: "\201C"; position: absolute; top: -0.6rem; left: -0.1rem;
  font-family: var(--font-display); font-size: 3.5rem; line-height: 1; color: var(--brass);
}
.testimonial blockquote p { margin: 0; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.5; }
.testimonial figcaption { border-top: 1px solid rgba(181, 141, 104, 0.55); padding-top: 0.9rem; }
.testimonial-name { display: block; font-weight: 700; }
.testimonial-detail { display: block; color: var(--ink-soft); font-size: 0.92rem; }
.testimonial-placeholder { box-shadow: none; border: 1.5px dashed var(--moss); }
.testimonial-placeholder blockquote p, .testimonial-placeholder .testimonial-name { color: var(--ink-soft); }

/* Why */
.why-inner { max-width: 760px; }
.why-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.why-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  font-size: 1.15rem; padding: 1rem 1.25rem;
  background: var(--paper); border-radius: var(--radius);
}
.check { flex: none; width: 28px; height: 28px; margin-top: 0.1rem; }
.check circle { fill: var(--moss); }
.check path { fill: none; stroke: var(--moonstone); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Booking (Dusky Plum feature section) ---------- */

.section-plum { background: var(--plum); color: var(--moonstone); }
.section-plum h2, .section-plum .contact-card h3 { color: var(--moonstone); }
.section-plum :focus-visible { outline-color: var(--moonstone); }
.section-plum a:not(.btn) { color: var(--moonstone); }

.book-intro { max-width: 720px; margin-inline: auto; text-align: center; }
.book-grid { display: grid; gap: 1.5rem; margin-top: 2.75rem; align-items: start; }
@media (min-width: 900px) { .book-grid { grid-template-columns: 1fr 1.6fr; gap: 2rem; } }

.contact-card {
  border: 1px solid rgba(181, 141, 104, 0.7); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.contact-actions { display: grid; gap: 0.75rem; margin: 1.5rem 0; }
.hours { font-size: 0.98rem; margin: 0; }
.hours + .hours { margin-top: 1rem; }
.hours-label {
  display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--celadon); margin-bottom: 0.2rem;
}

.form-card {
  background: var(--moonstone); color: var(--ink);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.form-card h3 { margin-bottom: 0.35rem; }
.form-card :focus-visible { outline-color: var(--ink); }
.form-card a:not(.btn) { color: var(--ink); }
.form-note { color: var(--ink-soft); }
.noscript-note { background: var(--celadon); padding: 0.75rem 1rem; border-radius: 10px; }

/* ---------- Form ---------- */

.booking-form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.field { display: grid; gap: 0.35rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

label, legend { font-weight: 700; font-size: 0.98rem; padding: 0; }
.label-hint { font-weight: 400; color: var(--ink-soft); }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; min-height: 3rem;
  padding: 0.65rem 0.85rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--moss); border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { resize: vertical; min-height: 7rem; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(116, 123, 96, 0.35);
}
select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23373830' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem;
}
::placeholder { color: #7A7B6E; }

[aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { margin: 0; min-height: 0; color: var(--error); font-size: 0.92rem; font-weight: 600; }
.field-error:empty { display: none; }

.choice-group { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.3rem; }
.choice {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1rem; border: 1.5px solid var(--moss); border-radius: 999px;
  background: var(--paper); font-weight: 600; cursor: pointer;
}
.choice:has(input:checked) { background: var(--celadon); border-color: var(--moss-deep); }
.choice input { accent-color: var(--moss-deep); width: 1.05rem; height: 1.05rem; margin: 0; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }

.booking-success { text-align: center; padding: 2rem 0.5rem 0.5rem; }
.booking-success:focus { outline: none; }
.star-success { width: 30px; height: 30px; margin: 0 auto 1rem; }
.success-message { font-size: 1.1rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--moonstone); padding-block: 3rem; font-size: 0.98rem; }
.site-footer a { color: var(--moonstone); }
.footer-inner { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.4fr 1fr; align-items: end; } .footer-contact { text-align: right; } }
.star-footer { width: 22px; height: 22px; margin-bottom: 0.9rem; }
.footer-name { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 0.3rem; }
.footer-message { font-family: var(--font-display); font-style: italic; color: var(--celadon); margin: 0; max-width: 30rem; }
.footer-contact p { margin-bottom: 0.4rem; }
.copyright { color: var(--celadon); font-size: 0.88rem; margin-top: 1rem; }
