/* =========================================================
   Tidy by T — Home Organizing
   Palette lifted from the logo: olive-green serif monogram,
   magnolia in cream and gold, on white.
     olive #6d6d49 (wordmark)   olive-deep #5e5e30 (monogram)
     gold  #a78c57 (rules)      gold-deep  #91733f (subtitle)
     cream #eedbbf..#fbf4e7 (petals)
   Olive carries text on light; gold is a hairline accent
   and never body text (contrast).
   ========================================================= */

:root {
  color-scheme: light;

  /* Brand */
  --olive: #6d6d49;
  --olive-deep: #5e5e30;
  --olive-soft: #e9e8dc;
  --olive-mist: #f4f3ec;
  --gold: #a78c57;
  --gold-deep: #91733f;
  --gold-soft: #f0e6d2;
  --cream: #eedbbf;
  --cream-soft: #f8f1e4;
  --cream-mist: #fcf8f1;

  /* Neutrals */
  --ink: #2f2f21;
  --text: #3a3a2b;
  --text-muted: #6f6e5f;
  --line: #e6e3d9;
  --surface: #ffffff;
  --surface-2: #fbf9f4;

  /* Type */
  --font-heading: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: var(--font-body);

  /* Fluid scale */
  --step-xs: clamp(0.75rem, 0.72rem + 0.12vw, 0.82rem);
  --step-sm: clamp(0.875rem, 0.85rem + 0.12vw, 0.94rem);
  --step-0: clamp(1rem, 0.97rem + 0.16vw, 1.08rem);
  --step-1: clamp(1.15rem, 1.09rem + 0.3vw, 1.35rem);
  --step-2: clamp(1.5rem, 1.34rem + 0.8vw, 2rem);
  --step-3: clamp(2.1rem, 1.7rem + 1.9vw, 3.3rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.6vw, 4.8rem);

  /* Space & shape */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 6vw, 5rem);
  --section-y-tight: clamp(2.75rem, 4.5vw, 3.75rem);
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 18px 45px rgb(47 47 33 / 0.08);
  --shadow-lg: 0 30px 70px rgb(47 47 33 / 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------------------------------------------------
   Reset / base
   --------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img,
svg { display: block; max-width: 100%; }

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.1;
  color: var(--olive);
  letter-spacing: 0.01em;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--olive-deep);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
a:hover { color: var(--gold-deep); text-decoration-color: var(--gold-deep); }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

ul[class] { list-style: none; margin: 0; padding: 0; }

.lead {
  font-size: var(--step-1);
  line-height: 1.6;
  max-width: 34rem;
  color: var(--text);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Eyebrow: italic serif between gold hairlines, the logo's
   "— Home Organizing —" treatment. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: var(--step-1);
  letter-spacing: 0.04em;
  color: var(--gold-deep);
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: var(--gold);
}

/* ---------------------------------------------------------
   Buttons (shared with the admin)
   --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--olive);
  border-radius: 999px;
  background: var(--olive);
  color: #fff;
  font-family: var(--font-ui);
  font-size: var(--step-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { background: var(--olive-deep); border-color: var(--olive-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--olive); }
.btn--ghost:hover { background: var(--olive-mist); color: var(--olive-deep); }

/* ---------------------------------------------------------
   Coming soon (index.php while the site is pre-launch)
   --------------------------------------------------------- */

.coming-soon {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(2.5rem, 6vw, 4rem) var(--gutter) 4.5rem;
  background:
    radial-gradient(55% 45% at 50% 18%, rgb(238 219 191 / 0.45), transparent 70%),
    radial-gradient(45% 40% at 100% 100%, rgb(109 109 73 / 0.08), transparent 65%),
    radial-gradient(40% 35% at 0% 95%, rgb(167 140 87 / 0.10), transparent 65%),
    var(--surface);
  text-align: center;
}
.coming-soon__inner { max-width: 38rem; }
.coming-soon__logo {
  width: clamp(11rem, 34vw, 16rem);
  height: auto;
  margin: 0 auto 1.25rem;
}
.coming-soon h1 {
  margin-bottom: 0.35em;
  font-size: var(--step-4);
  font-weight: 500;
  color: var(--olive);
}
.coming-soon .eyebrow { margin-bottom: 1.75rem; }
.coming-soon .lead { margin-inline: auto; }
.coming-soon__status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.75rem 0 0;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.7);
  font-family: var(--font-ui);
  font-size: var(--step-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-deep);
}
.coming-soon__status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgb(167 140 87 / 0.22);
}
.coming-soon__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: var(--step-sm);
}
.coming-soon__contact li { display: inline-flex; align-items: center; gap: 0.5rem; }
.coming-soon__contact svg { width: 1rem; height: 1rem; color: var(--gold-deep); }
.coming-soon__contact a { color: var(--olive-deep); text-decoration: none; }
.coming-soon__contact a:hover { color: var(--gold-deep); }
.coming-soon__foot {
  position: absolute;
  inset: auto 0 1.25rem;
  margin: 0;
  padding: 0 var(--gutter);
  font-size: var(--step-xs);
  color: var(--text-muted);
}

/* ---------------------------------------------------------
   Error page (404.php)
   --------------------------------------------------------- */

.error-page { min-height: 100svh; }
.error-page__code {
  margin: 0 0 0.25em;
  font-family: var(--font-heading);
  font-size: var(--step-4);
  line-height: 1;
  color: var(--gold);
}
.error-page .btn { margin-top: 1.5rem; }
