/* =========================================================
   The Brighter Room — site styles
   Palette and fonts match the business card (Mix 1)
   ========================================================= */
:root {
  --cream: #f8f3e9;
  --cream-2: #f1eadb;
  --sage: #9db8a0;
  --sage-soft: #dce6da;
  --deep: #3e5a4a;
  --deep-2: #2f4639;
  --gold: #c9a14a;
  --gold-text: #8c6a22; /* gold dark enough for text on cream */
  --ink: #2b3a31;
  --muted: #5b6b60;
  --line: #e3daca;

  --serif: "Cormorant Garamond", Georgia, serif;
  --label: "Josefin Sans", "Helvetica Neue", sans-serif;
  --sans: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --wrap: 1140px;
}

/* ---------- Base / reset ---------- */
/* Include padding and borders in element widths */
* {
  box-sizing: border-box;
}
/* Smooth anchor scrolling; offset so the sticky header doesn't cover section titles */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* Images never overflow their container */
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--deep);
}
h1,
h2,
h3 {
  margin: 0;
  color: var(--deep);
}
/* Section titles scale between phone and desktop sizes */
h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem);
  line-height: 1.1;
}
h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}

/* Centered content column with 20px side gutters on small screens */
.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

/* Small spaced-out gold label above headings */
.eyebrow {
  font-family: var(--label);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 12px;
}
.eyebrow-light {
  color: #e9cd86;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-family: var(--label);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.btn:hover {
  background: var(--deep-2);
  transform: translateY(-1px);
}
/* Visible keyboard focus ring for accessibility */
.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.btn-small {
  padding: 10px 18px;
  font-size: 0.85rem;
}
.link-arrow {
  font-weight: 700;
  text-decoration: none;
}
/* Adds a right arrow after text links */
.link-arrow::after {
  content: " \2192";
}

/* Header stays pinned to the top while scrolling */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 243, 233, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--deep);
}
.brand-tag {
  font-family: var(--label);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Top navigation links */
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a:not(.btn) {
  font-family: var(--label);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink);
}
.nav a:not(.btn):hover {
  color: var(--gold-text);
}

.hero {
  padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 80px);
}
/* Two columns: text on the left, arched photo on the right */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 34em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}
.hero-img {
  margin: 0;
}
/* Arched top corners echo the window in the logo */
.hero-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 5.2;
  max-height: 620px;
  object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius); /* arched like the logo window */
  box-shadow: 0 24px 60px -30px rgba(47, 70, 57, 0.45);
}

/* ---------- Founding client offer strip ---------- */
.banner {
  background: var(--deep);
  color: var(--cream);
}
.banner-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 22px;
  padding: 14px 0;
  text-align: center;
}
.banner-label {
  font-family: var(--label);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e9cd86;
}
.banner a {
  color: #fff;
  font-weight: 700;
}

/* Shared vertical spacing for every page section */
.section {
  padding: clamp(56px, 8vw, 110px) 0;
}
.section-tint {
  background: var(--sage-soft);
}
.section-deep {
  background: var(--deep);
  color: var(--cream);
}
.section-deep h2 {
  color: #fff;
}
.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

/* ---------- Services ---------- */
/* Three-column card grid; the pantry card spans the full row */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.service-body {
  padding: 20px 22px 8px;
}
.service-body p {
  color: var(--muted);
  font-size: 0.97rem;
}
/* Pantry feature card: photo and text side by side */
.service-feature {
  grid-column: 1 / -1;
  flex-direction: row;
}
.service-feature img {
  width: 55%;
  height: 400px;
  aspect-ratio: auto;
}
.service-feature .service-body {
  align-self: center;
  padding: 32px 36px;
}
.service-feature h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.also {
  margin-top: 28px;
  text-align: center;
  color: var(--muted);
}

/* ---------- How it works (3 numbered steps) ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.steps li {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 26px 14px;
}
/* Gold numbered circle */
.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-family: var(--label);
  font-weight: 600;
}
.steps h3 {
  margin-bottom: 6px;
}
.steps p {
  color: var(--muted);
}

/* ---------- Pricing cards ---------- */
.prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 16px;
}
/* Highlighted 'Good place to start' card */
.price-best {
  border: 2px solid var(--gold);
}
/* Gold pill label that sits on the card's top border */
.price .tag {
  position: absolute;
  top: -13px;
  left: 26px;
  margin: 0;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.amount {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--deep);
  line-height: 1;
  margin: 12px 0 4px;
}
.amount span {
  font-size: 1.2rem;
  color: var(--muted);
}
.fine {
  font-family: var(--label);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.price-notes {
  margin: 28px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
}
.price-notes li {
  margin-bottom: 6px;
}

/* ---------- About Alyssia ---------- */
.about {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 900px;
}
.about-mark {
  width: 100%;
  max-width: 200px;
  justify-self: center;
}
.about-title {
  font-family: var(--label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #e9cd86;
  margin: 6px 0 18px;
}
.about p {
  color: #e7e2d4;
}

/* ---------- Contact: info on the left, form on the right ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.contact-info > p {
  color: var(--muted);
  margin-top: 14px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}
.contact-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.contact-list span {
  display: block;
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
}
/* Consult request form card */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 16px;
}
.form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--deep);
}
.form input,
.form select,
.form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid #d5ccba;
  border-radius: 10px;
  background: var(--cream);
}
.form-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.form .btn {
  justify-self: start;
}
.form-msg {
  margin: 0;
  font-size: 0.92rem;
  color: var(--deep);
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
}
.footer-inner p {
  margin: 0;
}
.brand-footer .brand-name {
  font-size: 1.2rem;
}

/* ---------- FAQ (expandable questions) ---------- */
.faq {
  max-width: 820px;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 18px 36px 18px 0;
  font-weight: 700;
  color: var(--deep);
}
/* Hide the browser's default triangle; we draw +/- instead */
.faq-item summary::-webkit-details-marker {
  display: none;
}
/* Plus sign on the right; switches to minus when open */
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--label);
  font-size: 1.4rem;
  color: var(--gold-text);
}
.faq-item[open] summary::after {
  content: "\2212";
}
.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
/* Tablets: stack hero and contact, two-column card grids */
@media (max-width: 900px) {
  .hero-grid,
  .contact {
    grid-template-columns: 1fr;
  }
  .hero-img img {
    aspect-ratio: 4 / 3.4;
    border-radius: 160px 160px var(--radius) var(--radius);
  }
  .services,
  .prices,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .service-feature {
    flex-direction: column;
  }
  .service-feature img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .service-feature .service-body {
    padding: 20px 22px 8px;
  }
  .service-feature h3 {
    font-family: var(--sans);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
  }
}
/* Phones: single column, hide text nav links (Free consult button stays) */
@media (max-width: 640px) {
  .nav a:not(.btn) {
    display: none;
  }
  .services,
  .prices,
  .steps {
    grid-template-columns: 1fr;
  }
  .prices {
    gap: 28px;
  }
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-mark {
    max-width: 110px;
  }
  .brand-name {
    font-size: 1.25rem;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
/* Respect visitors who turn off animations */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
