/* Compact page layouts with independent navigation and readable small screens. */
.header-inner { min-height: 90px; gap: 20px; }
.brand img { width: 190px; }
nav { gap: 3px; padding: 4px; }
nav a { min-width: 0; padding: 10px 12px; font-size: 14px; min-height: 44px; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--cream); color: var(--brown); }
.nav-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.page-heading { padding: 26px 0 22px; }
.section-title { font-size: 36px; }
.site-footer { padding-top: 15px; padding-bottom: max(15px, var(--safe-bottom)); }
.footer-logo { width: 135px; }
.site-footer p { margin-top: 5px; }
.included { padding: 19px 24px; margin-bottom: 18px; }
.included h2 { font-size: 26px; }
.included ul { margin-top: 15px; gap: 11px 24px; }
.package-controls { margin-top: 16px; margin-bottom: 18px; }
.package-card { padding: 20px 18px; }
.card-top { justify-content: flex-start; margin-bottom: 12px; }
.package-tier.package-highlight { text-align: left; width: 100%; font-size: 17px; }
.package-card h2 { font-size: 28px; min-height: 63px; }
.package-price { font-size: 31px; margin: 12px 0 16px; }
.package-description, .package-features { font-size: 14px; line-height: 1.5; }
.package-description { margin-bottom: 17px; }
.custom-package .package-description { display: flex; align-items: center; margin-top: 14px; }
.package-features { padding-top: 17px; }
.package-features li { padding-left: 22px; margin-bottom: 10px; line-height: 1.45; }
.package-fine { font-size: 11.5px; margin-top: 16px; padding-top: 0; border-top: 0; color: #777168; }
.package-fine p { color: inherit; }
.package-fine .copy-note { margin-top: 8px; }
.custom-package h2 { min-height: 0; }
.package-actions { padding-top: 18px; }
.package-actions .button { font-size: 13px; min-height: 56px; line-height: 1.35; }
.copy-note { font-size: 11px; line-height: 1.4; }
.footnote-ref { display: inline; position: relative; top: -.12em; color: var(--brown); font-size: .85em; font-weight: 700; line-height: 0; padding: 0 2px; text-decoration: none; vertical-align: baseline; }
.package-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-top: 22px; }
.pricing-notes { min-width: 0; max-width: 900px; }
.pricing-note { margin: 0; font-size: 11.5px; line-height: 1.55; }
.pricing-note + .pricing-note { margin-top: 8px; }
#print-packages { flex: none; font-size: 14px; }
.contact-layout { padding: 32px; gap: 36px; }
.contact-copy h2 { font-size: 34px; }
.contact-copy > p { font-size: 15px; line-height: 1.6; margin-top: 18px; }
.contact-card { padding: 25px; }
.contact-method .button { margin-top: 0; font-size: 18px; font-weight: 400; min-height: 50px; overflow-wrap: anywhere; }
.inquiry-body .contact-method { padding: 18px; }
.inquiry-body .contact-method .button { font-size: 18px; margin-top: 0; padding-inline: 12px; }
.inquiry-body .contact-options { margin-top: 20px; }
.inquiry-body { padding-bottom: 24px; }
@media (max-width: 1100px) {
  .brand img { width: 164px; }
  nav a { font-size: 13px; padding-inline: 9px; }
}
@media (max-width: 1000px) {
  .package-card { padding: 22px; }
  .package-card h2 { min-height: 34px; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 82px; gap: 14px; }
  nav a { padding-inline: 8px; font-size: 12.5px; }
  .contact-card .contact-options { gap: 18px; }
  .contact-method .button, .inquiry-body .contact-method .button { font-size: 16px; }
}
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; justify-content: space-between; min-height: 72px; padding-block: max(7px, var(--safe-top)) 7px; gap: 10px; }
  .brand img { width: 150px; }
  #site-navigation { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  #site-navigation a { font-size: 12.5px; min-height: 46px; padding: 7px 6px; text-align: center; }
  .page-heading { padding: 22px 0 18px; }
  .section-title { font-size: 30px; }
}
@media (max-width: 650px) {
  .included { padding: 17px 18px; }
  .included h2 { font-size: 24px; }
  .included ul { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: 10px 16px; }
  .included li { font-size: 12.5px; line-height: 1.4; padding-left: 20px; }
  .package-card { padding: 19px; }
  .package-tier.package-highlight { font-size: 16px; }
  .package-card h2 { font-size: 27px; min-height: 0; }
  .package-description, .package-features { font-size: 14px; line-height: 1.45; }
  .package-fine, .copy-note { font-size: 11.5px; }
  .package-features li { margin-bottom: 10px; }
  .package-actions .button { font-size: 14px; min-height: 50px; }
  .package-bottom { flex-direction: column; align-items: stretch; gap: 16px; }
  #print-packages { width: 100%; }
  #comparison-table td { font-size: 13px; line-height: 1.45; }
  #comparison-table th, #comparison-table td { padding: 13px 10px; }
  #comparison-table .fine-row td, #comparison-table .fine-row th { font-size: 11px; }
  #comparison-table .button { font-size: 12px; min-height: 56px; }
  .contact-layout { padding: 22px 18px; gap: 22px; }
  .contact-copy h2 { font-size: 29px; }
  .contact-copy em { margin-top: 12px; }
  .contact-copy > p { font-size: 14px; line-height: 1.5; margin-top: 16px; }
  .contact-card { padding: 20px 16px; }
  .contact-card .contact-options { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .contact-method .button, .inquiry-body .contact-method .button { font-size: 17px; }
  .inquiry-body { font-size: 14px; line-height: 1.5; padding-bottom: 20px; }
  .inquiry-body > p:not(.inquiry-description) { line-height: 1.5; }
  .inquiry-description { font-size: 25px; margin-bottom: 16px; }
  .footer-logo { width: 125px; }
  .site-footer p { font-size: 11px; }
}
@media (max-width: 360px) {
}
@media (max-height: 500px) and (orientation: landscape) {
  .header-inner { min-height: 66px; padding-block: 6px; }
  .contact-layout { padding-block: 22px; }
}

/* Restore the previous Home proportions; desktop fitting only reduces what is needed. */
body[data-page=home] #main { display: block; width: 100%; max-width: none; margin: 0; }
.home-hero .hero { max-width: 1120px; grid-template-columns: minmax(0, 600px) minmax(0, 240px); justify-content: center; }
.home-hero .hero-image { justify-self: end; }
.home-hero::before { inset: 0; width: 100%; height: auto; background: linear-gradient(to bottom, var(--hero-fade-profile)) left bottom / 100% var(--hero-bottom-fade-distance, var(--hero-fade-distance)) no-repeat, #e3e8dc; }
.about-section { display: block; padding: 38px 0; border: 0; }
.about-section .prose-layout { display: block; max-width: 1120px; padding-inline: 40px; }
.about-section .section-title { text-align: left; margin-bottom: 24px; }
.about-section .prose { max-width: none; }
.about-section .prose > p { font-size: 22px; line-height: 1.45; }
.about-section .prose p + p { margin-top: 16px; }
.about-promise strong { font-weight: 700; }
.packages-section .page-heading { text-align: left; }
/* Single preview control, followed by the original quotation-card treatment. */
.sample-intro { text-align: center; padding-bottom: 44px; }
.sample-intro .page-heading, .faq-page .page-heading, .contact-page .page-heading { padding-top: 48px; }
.sample-intro .page-heading { padding-bottom: 26px; }
.sample-intro .section-title { font-size: 40px; }
.sample-preview { display: block; width: 145px; margin-inline: auto; padding: 0; border: 0; border-radius: 3px; background: #fff; box-shadow: 0 5px 20px #3f250d20; line-height: 0; }
.sample-preview img { display: block; width: 100%; height: auto; }
.sample-testimonials { padding: 60px 0 66px; border-top: 1px solid #ccd6c3; background: #e0e6d7; }
.sample-testimonials .section-title { text-align: center; font-size: 40px; margin-bottom: 36px; }
.sample-testimonials .testimonial-grid { gap: 28px; }
.sample-testimonials figure { padding: 32px 36px; background: var(--paper); border: 1px solid #cdd7c4; border-radius: 5px; box-shadow: 0 8px 24px #28372b08; }
.quote-mark { display: block; font-family: var(--serif); font-size: 76px; line-height: .7; color: #96ac88; margin-top: 6px; margin-bottom: 16px; }
.sample-testimonials blockquote { font-family: var(--serif); font-size: 24px; line-height: 1.5; color: var(--brown); }
.sample-testimonials figcaption { padding-top: 24px; font-size: 14px; }
/* The FAQ title sits above the bordered accordion. */
.faq-page { padding-bottom: 56px; max-width: 1120px; }
.faq-page .page-heading { text-align: left; padding-bottom: 30px; }
.faq-page .faq-list { max-width: 980px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid #91a780; border-radius: 0 0 5px 5px; }
.faq-page details { padding: 0 26px; }
.faq-page details:last-child { border-bottom: 0; }
.faq-page details[open] { background: #f4f5ed; }
.faq-page summary { font-size: 23px; min-height: 82px; padding: 22px 0; gap: 24px; }
.faq-page .faq-answer { padding: 0 28px 25px 0; font-size: 18px; line-height: 1.75; }
@media (max-width: 1000px) {
  .about-section .prose > p { font-size: 20px; }
  .sample-testimonials figure { padding: 28px; }
  .sample-testimonials blockquote { font-size: 22px; }
}
@media (max-width: 900px) {
  .about-section .prose-layout { padding-inline: 28px; }
}
@media (max-width: 760px) {
  .home-hero .hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(80px, .65fr); gap: 20px; padding-block: 34px; }
  .home-hero .hero h1 { font-size: clamp(28px, 4.8vw, 38px); }
  .home-hero .hero-description { font-size: 15px; margin: 22px 0 0; }
  .home-hero .hero-image { max-width: 135px; }
  .home-hero { --hero-bottom-fade-distance: 80px; }
  .about-section .prose-layout { padding-inline: 28px; }
  .sample-intro .page-heading, .faq-page .page-heading, .contact-page .page-heading { padding-top: 36px; }
  .sample-testimonials { padding: 42px 0 48px; }
  .sample-intro .section-title { font-size: 32px; }
  .sample-testimonials .section-title { font-size: 32px; margin-bottom: 28px; }
  .sample-testimonials .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .sample-testimonials figure { padding: 23px; }
  .sample-testimonials blockquote { font-size: 19px; }
  .quote-mark { font-size: 60px; }
}
@media (max-width: 650px) {
  .home-hero .hero { gap: 16px; padding: 28px 18px; }
  .home-hero .hero h1 { font-size: clamp(25px, 5.6vw, 32px); }
  .home-hero .hero-image { max-width: 115px; }
  .home-hero .hero-description { font-size: 14px; line-height: 1.45; margin-top: 18px; }
  .about-section { padding: 26px 0; }
  .about-section .prose-layout { padding-inline: 18px; }
  .about-section .section-title { margin-bottom: 20px; }
  .about-section .prose > p { font-size: 16px; line-height: 1.42; }
  .about-section .prose p + p { margin-top: 13px; }
  .sample-intro { padding-bottom: 32px; }
  .sample-preview { width: 125px; }
  .sample-intro .section-title, .sample-testimonials .section-title { font-size: 30px; }
  .sample-testimonials .testimonial-grid { gap: 18px; }
  .sample-testimonials figure { padding: 23px; }
  .sample-testimonials blockquote { font-size: 18px; }
  .sample-testimonials figcaption { font-size: 13px; padding-top: 18px; }
  .faq-page { padding-bottom: 38px; }
  .faq-page .page-heading h1 { font-size: 30px; }
  .faq-page details { padding-inline: 18px; }
  .faq-page summary { font-size: 19px; min-height: 64px; padding: 18px 0; gap: 16px; }
  .faq-page .faq-answer { padding-right: 0; font-size: 15px; line-height: 1.6; }
}
@media (max-width: 479px) {
  .sample-testimonials .testimonial-grid { grid-template-columns: minmax(0, 1fr); }
  .quote-mark { font-size: 56px; margin-bottom: 12px; }
}
@media (max-width: 360px) {
  .home-hero .hero h1 { font-size: 25px; }
  .home-hero .hero-image { max-width: 95px; }
  .about-section .prose > p { font-size: 15px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .home-hero .hero { padding-block: 24px; }
  .home-hero .hero h1 { font-size: 30px; }
  .home-hero .hero-image { max-width: 130px; }
}

/* A measured factor keeps the largest version that fits, including header and footer.
   Minimum sizes remain readable; short/zoomed windows scroll naturally. */
@media (min-width: 761px) {
  body[data-page=home] #main { --home-fit: 1; }
  .home-hero .hero { max-width: 1280px; grid-template-columns: minmax(0, 1fr) minmax(0, calc(100px + 180px * var(--home-fit))); gap: 70px; padding-top: calc(12px + 20px * var(--home-fit)); padding-bottom: calc(12px + 24px * var(--home-fit)); }
  .home-hero .hero h1 { font-size: min(clamp(36px, 4vw, 50px), calc(30px + 20px * var(--home-fit))); }
  .home-hero .hero-image { max-width: calc(100px + 180px * var(--home-fit)); }
  .home-hero .hero-description { max-width: 440px; font-size: calc(15px + 3px * var(--home-fit)); margin: calc(16px + 14px * var(--home-fit)) 0 calc(8px + 24px * var(--home-fit)); }
  .about-section { padding-block: calc(14px + 12px * var(--home-fit)); }
  .about-section .section-title { margin-bottom: calc(12px + 12px * var(--home-fit)); }
  .about-section .prose > p { font-size: calc(16px + 6px * var(--home-fit)); line-height: 1.45; }
  .about-section .prose p + p { margin-top: calc(8px + 8px * var(--home-fit)); }
}
