/* Minimal fallback rules for every class in the shared contract.
 *
 * Always prepended to the model-generated stylesheet, which overrides it via the normal
 * later-wins cascade. This exists because the stylesheet and the pages are generated by
 * separate model calls, so the stylesheet can omit a contract class -- which used to fail
 * the whole build (a real business, find-dog, died on a missing `btn-primary`). With this
 * in place a missed rule degrades to plain-but-styled instead of destroying the build.
 *
 * Keep these deliberately neutral and low-specificity: they are a safety net, not a design.
 */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.6; }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

/* Owner-uploaded pictures. Without explicit sizing an <img> renders at its natural size,
 * so a phone photo used as a logo would fill the whole header. */
.logo-mark { height: 2.5rem; width: auto; object-fit: contain; }
.hero-image { width: 100%; max-height: 420px; object-fit: cover; border-radius: .5rem; }
.gallery-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .5rem; }
.about-image { width: 100%; max-width: 420px; border-radius: .5rem; }

.site-header { padding: 1rem 0; }
.header-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 700; }
.logo-text { font-weight: 700; }
.main-nav { display: block; }
.nav-list { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.nav-link { text-decoration: none; }
.nav-link:hover, .nav-link:focus { text-decoration: underline; }
.is-current { font-weight: 700; }

.hero, .page-hero { padding: 3rem 0; }

/* A photo sitting BEHIND the hero text instead of above it. The picture itself is set as
 * an inline `background-image` on the element, because it is per-business data the
 * stylesheet cannot know; these rules supply the darkening overlay and the stacking that
 * keep the heading readable over any photo, light or dark.
 *
 * Exists because an owner asked twice for exactly this and there was no way to express
 * it -- the only picture vocabulary was `.hero-image`, an <img> in the normal page flow. */
.hero-bg { position: relative; background-size: cover; background-position: center;
  padding: 5rem 0; overflow: hidden; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.hero-bg > * { position: relative; z-index: 1; }
.hero-bg .hero-title, .hero-bg .hero-subtitle { color: #fff; }
.hero-inner { display: flex; flex-direction: column; gap: 1rem; }
.hero-title { margin: 0; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.15; }
.hero-subtitle { margin: 0; font-size: 1.125rem; }

.section { padding: 3rem 0; }
.section-alt { padding: 3rem 0; }
.section-title { margin: 0 0 1rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.section-intro { margin: 0 0 1.5rem; max-width: 60ch; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.card { padding: 1.25rem; border: 1px solid rgba(0, 0, 0, .12); border-radius: .5rem; }
.card-title { margin: 0 0 .5rem; font-size: 1.125rem; }
.card-text { margin: 0; }

.steps { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-number { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid currentColor; font-weight: 700; }
.step-title { margin: 0 0 .25rem; font-size: 1.05rem; }
.step-text { margin: 0; }

/* FAQ items are <details>/<summary>: they expand on click with no JavaScript. */
html { scroll-behavior: smooth; }
.faq-list { display: grid; gap: 1rem; margin: 0; padding: 0; }
.faq-item { padding: 1rem; border: 1px solid rgba(0, 0, 0, .12); border-radius: .5rem; }
.faq-question { margin: 0; font-size: 1.05rem; font-weight: 700; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: "+"; font-weight: 700; flex: 0 0 auto; }
details[open] > .faq-question::after { content: "\2212"; }
.faq-answer { margin: .75rem 0 0; }

.cta-band { padding: 3rem 0; text-align: center; }
.cta-title { margin: 0 0 .5rem; font-size: clamp(1.3rem, 3vw, 1.9rem); }
.cta-text { margin: 0 0 1.25rem; }

.btn { display: inline-block; padding: .7rem 1.4rem; border-radius: .4rem; text-decoration: none;
  border: 1px solid currentColor; cursor: pointer; }
.btn:hover, .btn:focus { opacity: .85; }
.btn-primary { font-weight: 600; }
.btn-secondary { font-weight: 500; background: transparent; }

.contact-list { display: grid; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.contact-item { display: flex; flex-wrap: wrap; gap: .5rem; }
.contact-label { font-weight: 600; }
.contact-value { }

.site-footer { padding: 2rem 0; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.footer-col { }
.footer-title { margin: 0 0 .5rem; font-size: 1rem; }
.footer-note { margin: 0; font-size: .9rem; }

@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .step { flex-direction: column; }
}

/* ---- generated ---- */
:root {
  --font-display: "Fraunces", serif;
  --font-body: "Inter", sans-serif;
  --color-bg: #f5e9d3;
  --color-surface: #e8d9c5;
  --color-ink: #1b1b1b;
  --color-muted: #7d786e;
  --color-border: #d4cab7;
  --color-accent: #5b3a29;
  --color-accent-ink: #ffffff;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-ink);
}

h1, h2, h3,
.hero-title, .section-title, .card-title, .cta-title, .step-title, .footer-title, .logo-text {
  font-family: var(--font-display);
}

:root {
  /* palette */
  --background: #f5e9d3;
  --raised: #e8d9c5;
  --body-text: #1b1b1b;
  --secondary-text: #7d786e;
  --borders: #d4cab7;
  --accent: #5b3a29;
  --accent-ink: #ffffff;

  /* typography */
  --font-heading: "Fraunces", serif;
  --font-body: "Inter", sans-serif;

  /* spacing */
  --spacing-unit: 1rem;

  /* radii */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;

  /* shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);

  /* transition */
  --transition: all 0.2s ease;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--background);
  color: var(--body-text);
  line-height: 1.6;
}

/* layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}

/* header */
.site-header {
  background: var(--raised);
  padding: var(--spacing-unit) 0;
  border-bottom: 1px solid var(--borders);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--body-text);
  text-decoration: none;
}
.main-nav .nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-unit);
  margin: 0;
  padding: 0;
}
.nav-link {
  text-decoration: none;
  color: var(--body-text);
  font-weight: 500;
  padding: 0.25em 0.5em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover,
.nav-link:focus,
.is-current {
  background: var(--accent);
  color: var(--accent-ink);
}

/* hero */
.hero,
.page-hero {
  padding: var(--spacing-unit)*4 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  background-size: cover;
  background-position: center;
}
.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin-bottom: 0.5em;
  line-height: 1.1;
  color: var(--body-text);
}
.hero-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: var(--secondary-text);
  margin-bottom: 1.5em;
}

/* heading double-line underline */
.section-title,
.hero-title,
.card-title,
.step-title,
.faq-question,
.cta-title,
.footer-title,
h1, h2, h3 {
  position: relative;
  padding-bottom: 0.5em;
}
.section-title::after,
.hero-title::after,
.card-title::after,
.step-title::after,
.faq-question::after,
.cta-title::after,
.footer-title::after,
h1::after,
h2::after,
h3::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2em;
  height: 4px;
  background: var(--accent);
}
.section-title::before,
.hero-title::before,
.card-title::before,
.step-title::before,
.faq-question::before,
.cta-title::before,
.footer-title::before,
h1::before,
h2::before,
h3::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1em;
  height: 2px;
  background: var(--background);
}

/* sections */
.section {
  padding: var(--spacing-unit)*3 0;
}
.section-alt {
  background: var(--raised);
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 0.5em;
  color: var(--body-text);
  text-align: center;
}
.section-intro {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: var(--secondary-text);
  max-width: 600px;
  margin: 0 auto 2rem;
  text-align: center;
}

/* cards */
.card-grid {
  display: grid;
  gap: var(--spacing-unit);
}
.card {
  background: var(--raised);
  border-radius: var(--radius-md);
  padding: var(--spacing-unit);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 0.5em;
  color: var(--body-text);
}
.card-text {
  flex-grow: 1;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: var(--body-text);
  line-height: 1.5;
}

/* process steps */
.steps {
  display: grid;
  gap: var(--spacing-unit);
}
.step {
  text-align: center;
}
.step-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--accent);
  line-height: 1;
}
.step-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin: 0.5em 0;
  color: var(--body-text);
}
.step-text {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: var(--secondary-text);
}

/* faq */
.faq-list {
  border-top: 1px solid var(--borders);
}
.faq-item {
  border-top: 1px solid var(--borders);
}
.faq-item:first-child {
  border-top: none;
}
.faq-question {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: var(--body-text);
  padding: var(--spacing-unit) 0;
  cursor: pointer;
}
.faq-answer {
  padding: 0 var(--spacing-unit) var(--spacing-unit);
  color: var(--body-text);
  line-height: 1.6;
}

/* cta band */
.cta-band {
  background: var(--accent);
  color: var(--accent-ink);
  padding: var(--spacing-unit)*2 0;
  text-align: center;
}
.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0.5em;
}
.cta-text {
  font-size: clamp(1rem, 3vw, 1.25rem);
  margin-bottom: 1.5em;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* buttons */
.btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-secondary {
  background: var(--raised);
  color: var(--body-text);
  border: 2px solid var(--borders);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent-ink);
  color: var(--accent);
}
.cta-band .btn-primary {
  background: var(--accent-ink);
  color: var(--accent);
}

/* links */
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: underline;
}

/* contact details */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-unit);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-label {
  font-weight: 600;
  color: var(--secondary-text);
}
.contact-value {
  color: var(--body-text);
}

/* footer */
.site-footer {
  background: var(--raised);
  padding: var(--spacing-unit)*2 0;
  color: var(--body-text);
}
.footer-inner {
  display: grid;
  gap: var(--spacing-unit);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.footer-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 0.5em;
  color: var(--body-text);
}
.footer-note {
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  color: var(--secondary-text);
}

/* responsive tweaks */
@media (max-width: 1024px) {
  .site-header {
    padding: var(--spacing-unit) 0;
  }
  .nav-list {
    gap: 0.75rem;
  }
}
@media (max-width: 768px) {
  .hero-inner {
    padding: 0 calc(var(--spacing-unit) / 2);
  }
  .section {
    padding: var(--spacing-unit)*2 0;
  }
  .cta-band {
    padding: var(--spacing-unit)*1.5 0;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .hero-title {
    font-size: clamp(2rem, 9vw, 3.5rem);
  }
  .btn {
    padding: 0.6rem 1.2rem;
  }
}