/* =========================================================
   Leah’s Review Room — Scalable CSS System
   Editorial-first, consistent layout + components
   ========================================================= */

/* -------------------------
   Design Tokens
------------------------- */
:root {
  /* Base */
  --sand-100: #f7f4ef;
  --sand-200: #efe9e1;
  --white: #ffffff;

  /* Text */
  --text-primary: #2e2e2e;
  --text-secondary: #6b6b6b;

  /* Accents */
  --accent: #a46a86; /* dusty mauve */
  --accent-dark: #6f3b57; /* plum */
  --accent-soft: #ead3de; /* blush tint */
  --accent-sage: #7a8a76; /* muted sage */

  /* Neutrals */
  --border: #dcd6cd;

  /* Typography */
  --font-heading: "Playfair Display", serif;
  --font-body: "Lora", serif;

  /* Layout */
  --max-width: 1120px;
  --narrow-width: 720px;
  --radius: 18px;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 5rem;

  /* Elevation */
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.12);

  /* Focus ring */
  --ring: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}

/* -------------------------
   Base / Reset
------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text-primary);
  background: linear-gradient(var(--sand-100), #fff);
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

/* Improve default readability */
p {
  margin: 0 0 1.25rem;
}
ul,
ol {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
}

/* -------------------------
   Typography
------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.4rem);
}
h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.7rem);
}
h3 {
  font-size: 1.25rem;
  color: var(--accent-dark);
}
h4 {
  font-size: 1.05rem;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.subhead {
  color: var(--text-secondary);
  max-width: 48rem;
}
.small-note {
  font-size: 0.9rem;
  color: var(--accent-sage);
}
.muted {
  color: var(--text-secondary);
}
.caps {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--accent-dark);
}

/* -------------------------
   Layout Helpers
------------------------- */
.shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.shell.narrow {
  max-width: var(--narrow-width);
}

.section {
  padding: var(--space-7) 0;
}
@media (min-width: 768px) {
  .section {
    padding: var(--space-8) 0;
  }
}

.section.alt,
.alt {
  background: var(--accent-soft);
}

.sectionHead {
  margin-bottom: var(--space-4);
}

section {
  text-align: left;
}

/* Optional readable text wrapper for long-form text */
.text-container {
  max-width: 48rem;
}

/* -------------------------
   Header & Navigation
------------------------- */
.site-header {
  text-align: center;
  padding: var(--space-7) var(--space-4) var(--space-5);
}

.site-header h1 {
  margin-bottom: 0.25rem;
}

.nav {
  margin-top: var(--space-4);
}

.nav a {
  display: inline-block;
  margin: 0 0.75rem;
  padding: 0.25rem 0;
  color: var(--accent);
}

.nav a[aria-current="page"] {
  font-weight: 600;
  color: var(--accent-dark);
  border-bottom: 2px solid var(--accent);
}

.nav a:hover {
  color: var(--accent-dark);
}

/* -------------------------
   Hero (Base)
------------------------- */
.hero {
  padding: var(--space-6) 0;
  text-align: center;
}

.hero .shell {
  text-align: center;
}

.hero h2,
.hero p {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* Homepage Banner Hero */
.hero--banner {
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
    url("/assets/images/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.hero--banner h2,
.hero--banner p {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero--banner h2 {
  font-size: clamp(2.2rem, 4.5vw, 2.8rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.hero--banner p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

/* -------------------------
   Cards (System)
------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: var(--space-5);
  border-top: 3px solid var(--accent-soft);
}

.cardBody {
  padding: 0;
}
.panel {
  padding: var(--space-5);
}

/* -------------------------
   Grids (System)
------------------------- */
.serviceGrid,
.pricingGrid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: var(--space-5);
  box-shadow: var(--shadow);
}

.pricingCard {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent-soft);
}

.pricingCard .cardBody {
  padding: var(--space-5);
}

.pricingTop {
  margin-bottom: var(--space-4);
}

.pricingTag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
}

.pricingPrice {
  margin: 1.25rem 0;
  font-weight: 600;
  color: var(--accent-dark);
}

.pricingList {
  margin: 0 0 var(--space-5) 1.25rem;
}

.pricingActions {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  display: flex;
  gap: var(--space-3);
}

.pricingCard.featured {
  border-color: var(--accent);
  background-color: var(--accent-soft);
}

/* -------------------------
   About
------------------------- */
.aboutGrid {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}

@media (min-width: 768px) {
  .aboutGrid {
    grid-template-columns: 2fr 1.3fr;
  }
}

.aboutGrid h2 {
  color: var(--accent);
}
.aboutGrid h3 {
  color: var(--accent-dark);
}

.twoCol {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 600px) {
  .twoCol {
    grid-template-columns: 1fr 1fr;
  }
}

.sig {
  margin-top: var(--space-5);
  display: flex;
  align-items: center;
}
.sig .line {
  flex: 1;
  height: 1px;
  background-color: var(--accent);
  margin-right: 0.75rem;
}

.about-avatar {
  width: 140px;
  border-radius: 50%;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow);
  border: 4px solid var(--accent-soft);
}

.working-style {
  padding: var(--space-5);
  background-color: var(--accent-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.working-style li {
  font-size: 0.95rem;
}

/* -------------------------
   Contact
------------------------- */
.contactGrid {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .contactGrid {
    grid-template-columns: 2fr 1fr;
  }
}

.input-field,
.message-field {
  margin-bottom: 1.25rem;
}
label {
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  font-family: inherit;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--ring);
}

.contactPanel {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: var(--space-5);
}

/* -------------------------
   Buttons (System)
------------------------- */
.btn,
button {
  display: inline-block;
  background: var(--accent-dark);
  color: var(--white);
  border: none;
  padding: 0.65rem 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.08s ease;
  text-decoration: none;
}

.btn:hover,
button:hover {
  background: var(--accent);
  text-decoration: none;
}

.btn:active,
button:active {
  transform: translateY(1px);
}

.btn.primary {
  background: var(--accent-dark);
}
.btn.primary:hover {
  background: var(--accent);
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
}
.btn.secondary:hover {
  background: color-mix(in srgb, var(--accent-soft) 65%, white);
}

/* -------------------------
   Footer
------------------------- */
.site-footer {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  font-size: 0.85rem;
  color: var(--accent-sage);
}
.site-footer a {
  color: inherit;
}
.site-footer a:hover {
  text-decoration: underline;
}

/* -------------------------
   Back to top link
------------------------- */
.topLink {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
}
.topLink:hover {
  background: var(--white);
  text-decoration: none;
}
