/* Olive & Ivy Interiors — design tokens copied from the Squarespace theme */
:root {
  --sage: #818b7e;
  --sage-deep: #6c7669;
  --cream: #eae6e1;
  --paper: #f5f5f5;
  --ink: #121212;
  --muted: #8b928a;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Arima", system-ui, sans-serif;
  --font-button: "Cousine", ui-monospace, "Courier New", monospace;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.32;
  letter-spacing: -0.04em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 0.45em;
}
h1 { font-size: clamp(3.3rem, 2rem + 6vw, 7rem); }
h2 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); }
h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.05; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  color: var(--paper);
}
.site-header.on-light { color: var(--ink); }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.4rem) var(--gutter);
}
.brand {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.nav-links { display: none; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 1rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }

.menu-toggle {
  background: none; border: 0; padding: 0.6rem 0; cursor: pointer; color: inherit;
  width: 52px; height: 32px; position: relative;
}
.menu-toggle span {
  position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform 0.3s ease, top 0.3s ease;
}
.menu-toggle span:first-child { top: 10px; }
.menu-toggle span:last-child { top: 21px; }
.menu-open .menu-toggle span:first-child { top: 16px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 16px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 15;
  background: var(--cream); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .site-header { color: var(--ink); position: fixed; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.mobile-menu a {
  font-family: var(--font-display); font-size: clamp(2.2rem, 8vw, 3.2rem);
  text-decoration: none; display: block; padding: 0.3rem 0;
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-button);
  font-size: 1rem; letter-spacing: -0.04em;
  background: var(--paper); color: var(--ink);
  text-decoration: none; border: 0; cursor: pointer;
  padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.25rem, 4vw, 2.4rem);
  min-width: min(100%, 420px);
  white-space: nowrap;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--sage-deep); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.bg-sage { background: var(--sage); color: var(--paper); }
.bg-cream { background: var(--cream); color: var(--ink); }
.bg-paper { background: var(--paper); color: var(--ink); }

.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: grid; place-items: center; text-align: center; color: var(--paper);
  overflow: hidden;
}
.hero > img, .image-band > img, .site-footer > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0; background: var(--sage); opacity: 0.18;
}
.hero .hero-inner { position: relative; z-index: 1; padding: 8rem var(--gutter) 5rem; }
.hero h1 { text-shadow: 0 1px 24px rgba(0,0,0,0.18); margin-bottom: 0.2em; }
.hero .rule { width: min(90%, 620px); height: 3px; background: rgba(120,128,117,0.85); margin: 0 auto 2rem; border: 0; }
.hero .tagline {
  font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem);
  margin: 0 0 3rem; line-height: 1; text-shadow: 0 1px 18px rgba(0,0,0,0.2);
}

.image-band { position: relative; height: clamp(300px, 52vw, 640px); overflow: hidden; }
.image-band.short { height: clamp(260px, 40vw, 520px); }

.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); line-height: 1.3; }

/* Meet Lizzie */
.founder-grid { display: grid; gap: 2.5rem; align-items: start; }
.founder-grid .eyebrow { margin-top: -0.5rem; }
.founder-photo { width: min(100%, 360px); margin: 0 auto; }
@media (min-width: 860px) {
  .founder-grid { grid-template-columns: 360px 1fr; gap: 4.5rem; }
  .founder-photo { margin: 0; }
}

/* Services */
.service { padding: 2.6rem 0 1rem; }
.service ul { padding-left: 1.2rem; margin: 0 0 1em; }
.service li { margin-bottom: 0.35em; }

/* FAQ */
.faq details { border-bottom: 1px solid rgba(18,18,18,0.35); padding: 1.3rem 0; }
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem); display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 1rem 0 0; }

/* CTA band */
.cta { text-align: center; }
.cta p { max-width: 640px; margin: 0 auto 3rem; }

/* Gallery */
.gallery { columns: 1; column-gap: 1.25rem; }
@media (min-width: 700px) { .gallery { columns: 2; } }
@media (min-width: 1100px) { .gallery { columns: 3; } }
.gallery figure { margin: 0 0 1.25rem; break-inside: avoid; }
.gallery button { all: unset; cursor: zoom-in; display: block; width: 100%; }
.gallery button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.gallery img { width: 100%; transition: opacity 0.2s ease; }
.gallery button:hover img { opacity: 0.88; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh;
}
.lightbox::backdrop { background: rgba(18,18,18,0.92); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3.5rem 1rem 1rem; }
.lightbox img { max-height: calc(100vh - 8rem); width: auto; object-fit: contain; }
.lightbox figcaption { color: var(--paper); text-align: center; margin-top: 1rem; max-width: 760px; font-size: 0.95rem; }
.lightbox .lb-btn {
  position: fixed; background: none; border: 0; color: var(--paper); font-size: 2.2rem; cursor: pointer;
  padding: 0.5rem 1rem; line-height: 1; font-family: var(--font-body);
}
.lb-close { top: 0.5rem; right: 0.5rem; }
.lb-prev { left: 0.25rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.25rem; top: 50%; transform: translateY(-50%); }

/* Form */
.form { display: grid; gap: 1.4rem; }
.form .row { display: grid; gap: 1.4rem; }
@media (min-width: 720px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-size: 0.98rem; margin-bottom: 0.4rem; }
.form .req { color: var(--sage-deep); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; letter-spacing: normal; color: var(--ink);
  background: #fff; border: 1px solid #c9c4bd; border-radius: 0; padding: 0.95rem 1rem;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--sage); outline-offset: 0; border-color: var(--sage); }
.form textarea { min-height: 170px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; min-width: 260px; }
.contact-alt { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid #c9c4bd; }

/* ---------- Footer ---------- */
.site-footer { position: relative; color: var(--paper); text-align: center; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: 0.63; z-index: 1; }
.site-footer .inner { position: relative; z-index: 2; padding: clamp(4rem, 8vw, 6rem) var(--gutter) 2.5rem; }
.site-footer h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); margin-bottom: 1.2rem; }
.site-footer address { font-style: normal; line-height: 1.5; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-nav { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.75rem; }
.copyright { margin: 2.5rem 0 0; font-size: 0.9rem; opacity: 0.85; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Page-specific heading sizes */
.service h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.05; padding-bottom: 0.9rem; border-bottom: 1px solid var(--ink); margin-bottom: 1.4rem; }
.subhead { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); color: var(--muted); margin: 0; line-height: 1; }
#form-title { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.form, .form .row { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .form .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.form .btn { min-width: min(100%, 260px); }
