/* Rachel Buscall Interiors: design system
   Palette carried over from the site's own existing brand (navy #0b1a5b) so the
   rebuild reads as a continuation, not a different business. System font stack only,
   zero webfont network requests, for Lighthouse performance. */

:root {
  --navy: #0b1a5b;
  --navy-light: #1a237e;
  --cream: #f8fafc;
  --slate: #64748b;
  --border: #e2e8f0;
  --gold: #8a6a3a; /* darkened from a lighter gold so white button text clears WCAG AA 4.5:1 */
  --ink: #1b2430;
  --serif: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-top: 3rem; }
h3 { font-size: 1.3rem; margin-top: 1.5rem; }
p { margin: 0 0 1.1rem; color: var(--ink); }
.lede { font-size: 1.15rem; color: var(--slate); max-width: 62ch; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: rgba(255,255,255,0.96); backdrop-filter: blur(6px);
  z-index: 50;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.brand { flex-shrink: 0; display: flex; align-items: center; text-decoration: none; }
.brand img { height: 56px; width: auto; display: block; }
nav.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 2.25rem; margin: 0; padding: 0; }
nav.primary-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; padding-bottom: 4px; border-bottom: 2px solid transparent; }
nav.primary-nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.nav-toggle { display: none; flex-shrink: 0; background: none; border: 1px solid var(--border); border-radius: 6px; padding: 0.4rem 0.6rem; font-size: 1.1rem; cursor: pointer; }

@media (max-width: 980px) {
  nav.primary-nav { display: none; width: 100%; order: 3; }
  nav.primary-nav.open { display: block; }
  nav.primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0 1rem; }
  nav.primary-nav a { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; text-transform: none; letter-spacing: normal; }
  .site-header .container { flex-wrap: wrap; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  background:
    linear-gradient(160deg, rgba(11,26,91,0.90) 0%, rgba(26,35,126,0.85) 100%),
    url('/assets/images/a-photograph-of-a-minimalist-living-room-by-rachel-buscall-designs-1024x512.webp') center/cover no-repeat;
  color: #fff; padding: 5rem 0;
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: #c9d2f0; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 0.75rem; }
.hero p { color: #dfe4f5; font-size: 1.15rem; max-width: 62ch; }
.hero .cta-row { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }

.btn { display: inline-block; padding: 0.85rem 1.8rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.98rem; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn-primary { background: var(--gold); color: #fff; box-shadow: 0 8px 24px rgba(176,141,87,0.35); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-outline:hover { border-color: #fff; }
.section-dark .btn-outline { color: var(--navy); border-color: var(--navy); }

/* Sections & cards */
section.block { padding: 3.5rem 0; }
section.block.alt { background: var(--cream); }
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.8rem; }
.card h3 { margin-top: 0; }
.icon-badge { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

.ventures-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.ventures-list li { padding: 0.9rem 1.1rem; background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.ventures-list a { font-weight: 700; text-decoration: none; }
.ventures-list a:hover { text-decoration: underline; }

/* Blog */
.post-list { display: grid; gap: 1.75rem; }
.post-card { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; }
.post-card img { height: 100%; object-fit: cover; }
.post-card .post-body { padding: 1.4rem 1.6rem 1.4rem 0; }
.post-card h2 { margin-top: 0; font-size: 1.3rem; }
.post-meta { color: var(--slate); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 700px) { .post-card { grid-template-columns: 1fr; } .post-card img { aspect-ratio: 16/9; } .post-card .post-body { padding: 1.2rem; } }

article.post-content img { border-radius: 12px; margin: 1.5rem 0; }
article.post-content { max-width: 72ch; margin: 0 auto; }
.post-hero-image { width: 100%; max-height: 420px; object-fit: cover; border-radius: 14px; margin-bottom: 2rem; }
.breadcrumbs { font-size: 0.88rem; color: var(--slate); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--slate); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-grid iframe { width: 100%; height: 320px; border: 0; border-radius: 14px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
footer.site-footer { background: var(--navy); color: #cfd6ee; padding: 3rem 0 2rem; margin-top: 3rem; }
footer.site-footer h3 { color: #fff; font-size: 1.05rem; }
footer.site-footer a { color: #cfd6ee; text-decoration: none; }
footer.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.85rem; color: #9aa4c7; }

.skip-link { position: absolute; left: -999px; top: 0; background: #fff; color: var(--navy); padding: 0.75rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
