/* English materials and commercial entry pages. Shared site tokens remain in style.css. */
.material-header { background: #f2ede5; min-height: 390px; border-bottom: 1px solid #dfd5c9; }
.material-header h1 { max-width: 920px; font-size: clamp(2.5rem, 4.8vw, 4.6rem); line-height: 1.12; letter-spacing: -.035em; }
.material-header p:not(.seo-eyebrow) { max-width: 700px; font-size: 1.1rem; line-height: 1.75; }
.material-content { padding-top: 28px; }
.material-content .seo-breadcrumb { margin-bottom: 54px; flex-wrap: wrap; }
.material-content h2, .material-home h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.2; letter-spacing: -.025em; margin-bottom: 22px; }
.material-content h3, .material-home h3 { line-height: 1.3; }
.material-content p, .material-home .material-split p { line-height: 1.8; }
.material-section { margin: 70px 0; }
.material-section-heading { max-width: 760px; margin-bottom: 36px; }
.material-section-heading p { line-height: 1.8; }
.material-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; margin-top: 28px; }
.material-grid-three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.material-card { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid #dfd5c9; color: #333; background: #fcfaf6; text-decoration: none; }
.material-card h3 { margin: 8px 0 14px; font-family: var(--font-display); font-size: 1.55rem; }
.material-card p { margin-bottom: 22px; line-height: 1.8; }
.material-card .material-link { margin-top: auto; }
a.material-card:hover { border-color: #9c6b56; background: #f7f1e8; }
.material-link { color: #81523e; font-weight: 600; font-size: .94rem; text-decoration: underline; text-underline-offset: 5px; line-height: 1.7; }
.material-feature { display: grid; grid-template-columns: 1.2fr 1fr; background: #eee5d9; border: 1px solid #dccbbc; }
.material-feature > div { padding: clamp(28px,4.5vw,62px); }
.material-feature h2 { font-size: clamp(2.5rem,4vw,3.8rem); margin: 12px 0 18px; }
.material-feature p { line-height: 1.8; max-width: 480px; }
.material-feature .btn { margin-top: 24px; }
.material-feature .material-lead { font-size: 1.2rem; color: #41372f; margin-bottom: 18px; }
.material-feature-note { border-left: 1px solid #cfbdab; display: flex; flex-direction: column; justify-content: center; background: #e7d9c7; }
.material-feature-note h3 { font-family: var(--font-display); font-size: clamp(1.8rem,2.5vw,2.4rem); font-weight: 400; line-height: 1.35; margin: 26px 0 20px; }
.material-index { font-size: .7rem; letter-spacing: .22em; color: #6a5949; }
.material-feature-note .material-link { margin-top: 26px; }
.material-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; }
.material-split p + p { margin-top: 18px; }
.material-principle, .material-process { background: #f7f4ef; border-top: 1px solid #e7dfd4; border-bottom: 1px solid #e7dfd4; }
.material-principle .material-link { display: inline-block; margin-top: 20px; }
.material-reference { color: inherit; display: block; }
.material-reference-image { aspect-ratio: 3/4; overflow: hidden; background: #f1efeb; margin-bottom: 24px; }
.material-reference-image img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.material-reference:hover img { opacity: .94; }
.material-reference h3 { font-family: var(--font-display); font-size: 1.45rem; margin: 8px 0 14px; }
.material-reference .seo-eyebrow { font-size: .65rem; letter-spacing: .1em; }
.material-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 32px 0; }
.material-offer { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; margin: 60px 0; }
.material-offer p { margin-bottom: 18px; }
.material-offer .btn { margin-top: 14px; }
.material-spec { background: #f7f4ef; padding: 30px; border-top: 3px solid #9c6b56; }
.material-spec dl { margin: 16px 0 0; }
.material-spec dl > div { padding: 18px 0; border-top: 1px solid #ded3c6; }
.material-spec dt { font-weight: 600; margin-bottom: 7px; }
.material-spec dd { margin: 0; line-height: 1.6; color: #625c54; }
.material-cta { margin: 80px 0 24px; padding: 42px; display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; background: #efe6da; }
.material-cta h2 { font-size: 2rem; }
.material-cta p { max-width: 650px; }
.material-cta .btn { white-space: normal; max-width: 300px; text-align: center; }
.material-list { padding-left: 22px; margin: 20px 0; }
.material-list li { padding-left: 4px; margin: 12px 0; line-height: 1.75; }
.material-table-wrap { overflow-x: auto; margin: 26px 0 16px; }
.material-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.material-table caption { text-align: left; margin-bottom: 14px; color: #645a50; }
.material-table th, .material-table td { padding: 20px 16px; text-align: left; border-bottom: 1px solid #ddd2c5; }
.material-table thead { background: #eee5d9; }
.material-table a, .material-content p a { color: #81523e; text-decoration: underline; text-underline-offset: 3px; }
.material-caption { font-size: .88rem; color: #6f665c; }
.material-backlink { margin-top: 26px; line-height: 1.8; }
.material-backlink a { color: #81523e; text-decoration: underline; text-underline-offset: 4px; }
.material-section[id] { scroll-margin-top: 120px; }
.material-site .contact-page-primary { margin-top: 0; }
.material-site .contact-method-value { overflow-wrap: anywhere; }
.material-home .hero-title { max-width: 1000px; }
.material-home .hero-subtitle { max-width: 780px; }
.material-home .section > .container > .material-feature { margin: 0; }
.material-content .btn, .material-home .btn { height: auto; }
@media (max-width: 900px) {
  .material-split, .material-offer { gap: 32px; }
  .material-cta { grid-template-columns: 1fr; gap: 24px; }
  .material-grid-three { gap: 18px; }
  .material-card { padding: 24px; }
}
@media (max-width: 650px) {
  .material-header { min-height: 360px; }
  .material-header h1 { font-size: 2.55rem; }
  .material-grid, .material-grid-three, .material-split, .material-offer, .material-feature { grid-template-columns: minmax(0,1fr); }
  .material-feature-note { border-left: 0; border-top: 1px solid #cfbdab; }
  .material-section { margin: 48px 0; }
  .material-content .seo-breadcrumb { font-size: .76rem; margin-bottom: 32px; }
  .material-cta { padding: 28px; margin-top: 50px; }
  .material-cta .btn { max-width: 100%; }
  .material-reference { margin-bottom: 22px; }
  .material-split, .material-offer { gap: 20px; }
  .material-table { font-size: .78rem; }
  .material-table th, .material-table td { padding: 14px 8px; }
  .material-home .hero-title { font-size: 2.65rem; }
  .material-home .hero-actions { flex-direction: column; align-items: stretch; }
  .material-home .hero-actions .btn { text-align: center; }
  .material-content .btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .material-reference-image img { transition: none; } }

/* Shared image rules. Ratios belong to roles, never individual assets.
   Product = full subject in 3:4; diagram = full original ratio;
   scene = proportional cover in 4:3. Source files are never cropped. */
.media-frame { display: block; overflow: hidden; background: #eeeae4; }
.media-frame img { display: block; width: 100%; height: auto; max-width: 100%; }
.media-frame[data-media-kind="product"] img { aspect-ratio: 3 / 4; object-fit: contain; background: #f5f2ec; }
.media-frame[data-media-kind="scene"] img { aspect-ratio: 4 / 3; object-fit: cover; }
.media-frame[data-media-kind="diagram"] img { aspect-ratio: auto; object-fit: contain; background: #fff; }
.visual-reference { margin: 0; min-width: 0; }
.visual-reference figcaption { padding: 13px 0 20px; font-size: .84rem; color: #4b443c; line-height: 1.55; }
.visual-reference figcaption span { display: block; font-size: .7rem; color: #756c63; margin-top: 4px; }
.visual-reference figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.visual-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; align-items: start; }
.visual-chapter { margin: 64px 0; }
.visual-chapter-heading { max-width: 790px; margin-bottom: 28px; }
.visual-chapter-heading p { line-height: 1.75; color: #655d53; }
.visual-chapter-heading h2 { margin-bottom: 14px; }
.visual-home { background: #f7f4ef; }
.visual-home .visual-chapter { margin: 0 0 24px; }
.visual-header { padding: 130px 0 36px; }
.visual-header > .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.visual-header h1 { font-size: clamp(2.5rem,4vw,3.7rem); }
.visual-header .visual-reference { width: 100%; }
.visual-header .media-frame img { max-height: 480px; }
.visual-header .media-frame[data-media-kind="product"] img { aspect-ratio: 1; }
.visual-header .visual-reference figcaption { padding-bottom: 0; }
.material-feature > .visual-reference { align-self: stretch; display: flex; flex-direction: column; background: #e7d9c7; }
.material-feature > .visual-reference .media-frame { flex: 1; }
.material-feature > .visual-reference img { height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.material-feature > .visual-reference figcaption { padding: 12px 20px; }
.visual-disclosure { margin: 56px 0; border-top: 1px solid #ded3c6; border-bottom: 1px solid #ded3c6; }
.visual-disclosure summary { padding: 24px 0; font-weight: 600; cursor: pointer; }
.visual-disclosure .visual-chapter { margin: 12px 0 24px; }
@media (max-width: 1000px) {
  .visual-header > .container { gap: 32px; }
  .visual-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .visual-header { padding-top: 116px; }
  .visual-header > .container { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .visual-header .media-frame img { max-height: none; }
  .visual-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .visual-chapter { margin: 44px 0; }
  .material-feature > .visual-reference img { height: auto; }
}
/* Material actions sit on light surfaces; the homepage hero keeps its white action style. */
.material-feature .btn-primary,
.material-offer .btn-primary,
.material-cta .btn-primary { color: #fff; background: #81523e; border: 2px solid #81523e; }
.material-feature .btn-primary:hover,
.material-offer .btn-primary:hover,
.material-cta .btn-primary:hover { color: #fff; background: #65402f; border-color: #65402f; }
