/* Page compositions. Shared tokens are defined in style.css. */
p, li, td, th, summary { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; word-break: normal; overflow-wrap: normal; }
.intro-lead { max-width: 760px; margin: 24px 0 0; }
.home-hero { max-width: 1600px; margin: 0 auto; min-height: 650px; position: relative; display: grid; grid-template-columns: repeat(12, 1fr); background: #e5e5e1; }
.hero-photo { grid-column: 6 / -1; grid-row: 1; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; max-height: 780px; object-fit: contain; object-position: center; }
.hero-copy { grid-column: 1 / 8; grid-row: 1; padding: 90px 40px 90px 90px; align-self: center; z-index: 1; }
.hero-copy h1 { max-width: 650px; font-size: clamp(40px, 3.3vw, 58px); line-height: 1.6; letter-spacing: .05em; margin-bottom: 28px; }
.hero-copy > p:not(.eyebrow) { font-size: 16px; margin-bottom: 36px; }
.hero-caption { position: absolute; bottom: 24px; right: 40px; margin: 0; letter-spacing: .17em; font-size: 10px; color: var(--muted); }
.introduction-inner { display: grid; grid-template-columns: .75fr 1fr; gap: 100px; align-items: start; }
.introduction-inner > p { max-width: 650px; font-size: 17px; margin: 0; }
.section-lead { max-width: 760px; }
.home-products { background: var(--white); }
.product-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 48px 0; }
.product-gallery figure { margin: 0; }
.product-gallery img { width: 100%; aspect-ratio: 498 / 598; object-fit: contain; }
.product-gallery figcaption { padding-top: 22px; font-family: var(--serif); font-size: 24px; }
.product-gallery figcaption span { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .09em; margin-top: 6px; color: var(--muted); }
.feature-line { display: flex; align-items: center; justify-content: space-between; gap: 80px; }
.feature-line > div { max-width: 730px; }
.feature-line .button { flex-shrink: 0; }
.feature-line p:last-child { margin-bottom: 0; }
.home-about-inner { display: grid; grid-template-columns: 350px minmax(0, 600px); gap: 120px; align-items: center; justify-content: center; }
.representative-photo { margin: 0; }
.representative-photo img { width: 100%; }
.representative-photo figcaption { font-size: 12px; margin-top: 14px; }
.home-partners { background: #efe7e0; }
.contact-band { text-align: center; }
.contact-band p:not(.eyebrow) { max-width: 690px; margin-inline: auto; }
.actions, .page-actions { display: flex; flex-wrap: wrap; gap: 24px 36px; align-items: center; }
.actions { justify-content: center; }
.page-actions { max-width: 1000px; margin: 64px auto 0; }
.text-link { font-size: 14px; }
.keep-phrase { white-space: nowrap; }
.page-products .page-actions { margin-bottom: 80px; }
.direct-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 36px; margin-top: 32px; font-size: 13px; }
.reading-section { display: grid; grid-template-columns: 90px minmax(0, 760px); justify-content: center; gap: 40px; padding-bottom: 72px; margin-bottom: 72px; border-bottom: 1px solid var(--line); }
.reading-number { color: var(--accent); font-family: var(--serif); font-size: 40px; line-height: 1.5; }
.reading-section .prose { width: 100%; }
.representative-section { display: grid; grid-template-columns: 300px minmax(0, 760px); gap: 80px; align-items: start; }
.representative-portrait { position: sticky; top: 30px; }
.representative-message p { line-height: 2.1; }
.prices-body .price-introduction { max-width: 1100px; }
.price-introduction > p { max-width: 860px; }
.table-scroll { overflow-x: auto; margin: 32px 0 56px; }
.information-table { width: 100%; border-collapse: collapse; }
.information-table th, .information-table td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 22px 18px; font-weight: 400; }
.information-table thead { background: var(--rose); }
.page-prices .information-table th:first-child { width: 46%; }
.page-prices .information-table td { white-space: nowrap; }
.page-prices .information-table { min-width: 740px; }
.partners-body { max-width: 1020px; }
.partner-section { margin-bottom: 64px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.partner-section h2 { max-width: 100%; }
.faq-body { max-width: 980px; }
.faq-group { margin-top: 56px; }
.faq-item summary { display: flex; align-items: start; gap: 24px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; margin-left: auto; color: var(--accent); font-size: 22px; line-height: 1.2; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary > span:last-child { text-wrap: balance; }
.faq-number { color: var(--accent); min-width: 34px; }
.faq-answer { margin: 22px 56px 0; }
.faq-answer p:last-child { margin-bottom: 0; }
.company-body { max-width: 1040px; }
.company-table { font-size: 16px; }
.business-list { margin: 0; padding-left: 1.3em; }
.business-list li + li { margin-top: 8px; }
.contact-body { max-width: 1040px; }
.contact-introduction { max-width: 820px; margin: 0 auto 56px; }
.contact-form-panel { max-width: 900px; margin-inline: auto; }
.contact-alternatives { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
/* Scoped form appearance stays in theme files; additional CSS retains the user's template. */
.page-contact table.CF7_table { border: 0; width: 100%; }
.page-contact .CF7_table th, .page-contact .CF7_table td { border-bottom: 1px solid var(--line); padding: 22px 18px; vertical-align: top; }
.page-contact .CF7_table th { background: #efe8e0; font-size: 14px; font-weight: 500; }
.page-contact .CF7_table input:not([type=checkbox]), .page-contact .CF7_table textarea { width: 100%; padding: 12px; background: var(--white); border: 1px solid #9a8c84; border-radius: 0; }
.page-contact .CF7_table input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }
.page-contact .CF7_req { background: var(--accent); font-size: 11px; padding: 3px 5px; margin-right: 8px; }
.page-contact .CF7_unreq { background: var(--muted); font-size: 11px; padding: 3px 5px; margin-right: 8px; }
.page-contact .wpcf7 input.wpcf7-submit { background: var(--accent); color: var(--white); padding: 16px 48px; border: 1px solid var(--accent); font-weight: 500; }
.page-contact .wpcf7 input.wpcf7-submit:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.page-contact .wpcf7-list-item { margin: 0 16px 8px 0; font-size: 14px; }
.page-contact .CF7_table p { margin: 0; }
.product-index { display: flex; flex-wrap: wrap; gap: 18px 36px; margin: 28px 0 0; padding: 0; list-style: none; }
.product-index a { font-size: 14px; }
.product-section { padding-block: 80px; border-bottom: 1px solid var(--line); }
.product-section-intro { display: grid; grid-template-columns: 1fr 340px; gap: 100px; align-items: start; }
.product-section .prose { max-width: 800px; margin: 0; }
.product-section h2 { font-size: 32px; }
.product-section .information-table { margin-top: 32px; min-width: 700px; }
.product-section .information-table th:first-child { width: 55%; }
.product-section-intro figure { margin: 0; }
.product-section-intro figcaption { margin-top: 14px; font-size: 12px; }
.category-heading { display: flex; align-items: baseline; gap: 24px; }
.category-number { color: var(--accent); font-family: var(--serif); font-size: 28px; }
.routine-list { padding-left: 28px; }
.routine-list li { padding: 14px 0 14px 12px; border-bottom: 1px solid var(--line); }
.routine-list strong { display: inline-block; min-width: 230px; font-weight: 500; }
.routine-list span { display: inline-block; }
.care-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 40px; }
.care-products figure, .body-product { margin: 0; }
.care-products img, .body-product img { height: 390px; width: 100%; object-fit: contain; }
.care-products h3, .body-product h3 { font-size: 21px; margin-top: 24px; }
.care-products figcaption p, .body-product figcaption p { font-size: 14px; }
.body-product { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; margin: 40px 0; }
.care-gallery img { height: 360px; }
@media (max-width: 1100px) {
  .home-hero { min-height: 0; }
  .hero-copy { padding: 70px 30px; }
  .hero-caption { display: none; }
  .introduction-inner { gap: 50px; }
  .home-about-inner { gap: 60px; grid-template-columns: 280px 1fr; }
  .representative-section { gap: 50px; grid-template-columns: 260px 1fr; }
  .feature-line { gap: 36px; }
  .product-section-intro { gap: 48px; grid-template-columns: 1fr 280px; }
}
@media (max-width: 760px) {
  .home-hero { display: flex; flex-direction: column; }
  .hero-photo { order: 1; }
  .hero-photo img { max-height: 500px; }
  .hero-copy { padding: 48px var(--gutter); }
  .hero-copy h1 { font-size: 38px; }
  .introduction-inner, .home-about-inner, .reading-section, .representative-section, .product-section-intro { grid-template-columns: 1fr; gap: 28px; }
  .feature-line { align-items: flex-start; flex-direction: column; }
  .product-gallery { gap: 20px; }
  .product-gallery figcaption { font-size: 18px; }
  .product-gallery figcaption span { font-size: 10px; }
  .representative-photo, .representative-portrait { max-width: 300px; position: static; }
  .reading-section { padding-bottom: 48px; margin-bottom: 48px; }
  .faq-answer { margin-inline: 0; }
  .page-contact .CF7_table th, .page-contact .CF7_table td { display: block; width: 100%; padding: 16px; }
  .product-section-intro figure { max-width: 340px; }
}
@media (max-width: 480px) {
  .product-gallery { grid-template-columns: 1fr; gap: 36px; }
  .product-gallery img { max-height: 420px; }
  .page-actions { align-items: stretch; flex-direction: column; }
  .page-actions .button { text-align: center; }
  .care-products, .body-product { grid-template-columns: 1fr; }
  .routine-list strong, .routine-list span { display: block; min-width: 0; }
}
