/* R11 Material Gallery: photographs lead; colour identifies each house.
   Load after refinement-r09.css on the static showroom pages only.
   Approved image files, framing and material colours are unchanged. */

/* A quieter hierarchy, with enough space for Vietnamese accents. */
h1, h2, h3 { letter-spacing: -.028em; }
h1 em, h2 em { font-style: normal; }
.page-intro > p, .split-hero > div > p, .film-library-intro > .lead {
  max-width: 42ch;
}
.section-head h2, .surface-journey h2, .academy-banner h2 {
  font-size: clamp(30px, 3.1vw, 46px);
  font-weight: 500;
  line-height: 1.28;
}
.section-head { margin-bottom: 34px; }
.eyebrow, .gallery-home .eyebrow {
  font-weight: 500;
  letter-spacing: .1em;
}
.text-link, .button { line-height: 1.6; }
.text-link { min-height: 44px; }
.gallery-header .desktop-nav { font-weight: 500; }
.gallery-header .desktop-nav a { min-height: 36px; }

/* The concrete photograph carries the leading position. */
.gallery-home.r09-home .chapter-prelude { padding-block: 36px; gap: 28px; }
.gallery-home.r09-home .chapter-prelude h1 {
  max-width: 21ch;
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.3;
  letter-spacing: -.035em;
}
.chapter-wayfinding { gap: 10px 24px; }
.chapter-wayfinding a { min-height: 44px; line-height: 1.6; }
.gallery-home.r09-home .brand-chapter { padding-block: 36px 44px; }
.chapter-topline { border-bottom-color: #b8a0af; }
.brand-chapter .chapter-brand { font-weight: 500; letter-spacing: .09em; }
.brand-chapter .chapter-topline .text-link { font-size: 14px; min-height: 44px; }
.chapter-feature,
.gallery-home.r09-home .chapter-feature {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr);
  gap: 7%;
}
.gallery-home.r09-home .chapter-feature .chapter-photo {
  width: 100%;
  max-width: 640px;
}
.chapter-feature-copy { min-width: 0; padding-block: 12px; }
.chapter-feature-copy h3, .chapter-feature-copy h2,
.gallery-home.r09-home .chapter-feature-copy h3 {
  font-size: clamp(46px, 5.2vw, 74px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.04em;
  margin-bottom: 22px;
}
.chapter-feature-copy > p {
  font-size: clamp(19px, 1.65vw, 23px);
  font-weight: 400;
  line-height: 1.65;
  max-width: 24ch;
}
.chapter-feature-copy .chapter-detail { font-size: 15px; max-width: 35ch; }
.chapter-feature-copy .button { font-size: 15px; min-height: 48px; padding: 13px 20px; }
.chapter-actions { gap: 10px 24px; }
.chapter-actions .text-link { font-size: 14px; }
.chapter-pukaco :is(a, button):focus-visible { outline-color: var(--chapter-ivory); }
.chapter-pukaco .chapter-feature-copy .button:focus-visible {
  outline-color: var(--chapter-ivory);
  outline-offset: 6px;
}
.chapter-support, .gallery-home.r09-home .chapter-support {
  gap: 32px;
  margin-top: 36px;
  padding-top: 28px;
}
.chapter-support .chapter-card { gap: 24px; }
.chapter-support .chapter-photo img,
.gallery-home.r09-home .chapter-support .chapter-photo img { height: 200px; }
.chapter-card h3 { font-size: clamp(23px, 2vw, 30px); font-weight: 500; line-height: 1.35; }
.chapter-card .text-link { font-size: 14px; }
.chapter-bottom { gap: 14px 28px; }
.chapter-bottom a { font-size: 14px; }

/* dinaco's orange identifies the chapter; ivory surrounds the actual samples. */
.brand-chapter.chapter-dinaco {
  background: var(--chapter-ivory);
  color: var(--clay-ink);
  border-top: 4px solid var(--clay-orange);
}
.chapter-dinaco .chapter-topline {
  background: var(--clay-orange);
  color: var(--clay-ink);
  border: 0;
  padding: 16px 24px;
  margin-bottom: 32px;
}
.chapter-dinaco .chapter-brand .dinaco-name { font-size: 23px; letter-spacing: -.035em; }
.chapter-dinaco .clay-story,
.gallery-home.r09-home .chapter-dinaco .clay-story {
  gap: 6%;
  margin: 30px 0 36px;
  align-items: center;
}
.chapter-dinaco .clay-story h2, .chapter-dinaco .clay-story h1,
.gallery-home.r09-home .chapter-dinaco .clay-story h2 {
  font-size: clamp(42px, 4.8vw, 68px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.035em;
}
.chapter-dinaco .clay-story .clay-whisper,
.gallery-home.r09-home .chapter-dinaco .clay-story .clay-whisper {
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.02em;
}
.chapter-dinaco .clay-story p:last-child { max-width: 38ch; }
.chapter-dinaco .chapter-photo { background: #ece5dd; }
.chapter-dinaco .chapter-card h3,
.gallery-home.r09-home .clay-gallery h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 500;
  line-height: 1.4;
}
.gallery-home.r09-home .clay-gallery { gap: 28px 22px; }
.gallery-home.r09-home .clay-gallery h3 { min-height: 2.8em; }
.chapter-dinaco .chapter-bottom { border-color: #d6c5b7; }
.chapter-dinaco :is(a, button):focus-visible { outline-color: var(--clay-ink); }
.brand-page-r08 .brand-switch-strip { align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.brand-switch-strip a { min-height: 44px; display: inline-flex; align-items: center; }
.brand-switch-strip [aria-current] { box-shadow: inset 0 -1px currentColor; }

/* Product navigation and photographs keep a common, unembellished gallery frame. */
.material-library-r08 .brand-gallery[data-material-brand="DINACO"] {
  background: var(--chapter-ivory);
}
.material-library-r08 .brand-gallery-head { border-top: 0; }
.material-library-r08 .brand-gallery[data-material-brand="DINACO"] .brand-title {
  color: var(--clay-ink);
}
.gallery-line-caption h3, .dinaco-gallery-grid h3 { line-height: 1.45; }
.gallery-line-caption { gap: 12px; }
.material-detail { grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); gap: 6%; align-items: center; }
.material-detail-copy { padding-block: 12px; }
.material-detail-copy h1 { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.2; margin: 18px 0; }
.material-detail-copy .lead { max-width: 28ch; font-size: 22px; font-weight: 400; line-height: 1.65; }
.material-detail-copy .button-row { gap: 12px 24px; }
.gallery-thumbs { flex-wrap: wrap; }
.gallery-thumbs button { min-height: 44px; padding: 10px 14px; }
.gallery .caption { line-height: 1.7; }
.collection-card h3 { font-size: clamp(23px, 2.2vw, 29px); line-height: 1.35; font-weight: 500; }
.collection-card .text-link { font-size: 14px; }
.reading-card h3, .gallery-home .reading-card h3,
.film-card h3, .material-films .film-card:only-child h3 {
  font-size: clamp(23px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.02em;
}
.reading-card h3 { max-width: 30ch; }
.film-links { gap: 10px 22px; }
.film-links .text-link, .film-inquiry { min-height: 44px; }
.lesson-list h3 { font-size: clamp(23px, 2.2vw, 29px); font-weight: 500; line-height: 1.4; }
.lesson-body { max-width: 720px; }
.lesson-body p, .checklist li { line-height: 1.85; }
.surface-details p { max-width: 38ch; }
.surface-choices button { min-height: 48px; }
.catalogue-card h2 { font-size: 24px; line-height: 1.4; }
.catalogue-card .catalogue-meta { line-height: 1.8; }
.home-resource-card h2 { font-size: clamp(25px, 2.25vw, 32px); line-height: 1.3; }
.home-resource-card p { max-width: 38ch; line-height: 1.8; }
.home-reading-links a { font-size: 14px; line-height: 1.75; }
.home-location { padding-block: 54px; }
.home-location h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.3; }
.home-location address { max-width: 36ch; }
.footer-contact strong { font-weight: 500; letter-spacing: .025em; }
.service-footer .text-link { line-height: 1.7; }
.contact-float { min-height: 48px; font-weight: 500; box-shadow: 0 3px 12px #3316281a; }

@media (max-width: 1000px) {
  .chapter-feature, .gallery-home.r09-home .chapter-feature { gap: 5%; }
  .chapter-feature-copy h3, .chapter-feature-copy h2,
  .gallery-home.r09-home .chapter-feature-copy h3 { font-size: clamp(44px, 5.5vw, 58px); }
  .chapter-support .chapter-card { grid-template-columns: 1fr 1fr; gap: 18px; }
  .chapter-support .chapter-photo img,
  .gallery-home.r09-home .chapter-support .chapter-photo img { height: 180px; }
  .chapter-actions { gap: 6px 18px; }
  .chapter-feature-copy .button { padding-inline: 16px; gap: 14px; }
  .gallery-home.r09-home .clay-gallery h3 { min-height: 0; }
}

@media (max-width: 800px) {
  .gallery-home.r09-home .chapter-prelude { display: block; }
  .chapter-wayfinding { margin-top: 20px; }
  .chapter-support .chapter-card { display: block; }
  .chapter-support .chapter-photo img,
  .gallery-home.r09-home .chapter-support .chapter-photo img { height: 240px; }
  .chapter-support .chapter-card-caption { padding-top: 16px; }
  .chapter-dinaco .clay-story, .gallery-home.r09-home .chapter-dinaco .clay-story { gap: 28px; }
}

@media (max-width: 680px) {
  h1, h2, h3 { letter-spacing: -.025em; }
  .page-intro h1, .split-hero h1, .contact-main .contact-intro h1 {
    font-size: clamp(32px, 8.5vw, 40px);
    line-height: 1.25;
  }
  .section-head h2, .surface-journey h2, .academy-banner h2 { font-size: 30px; line-height: 1.35; }
  .section-head { margin-bottom: 28px; }
  .section-head > .text-link { margin-top: 14px; }
  .gallery-header .header-actions { gap: 6px; }
  .gallery-header .menu-toggle { min-width: 44px; min-height: 44px; padding: 8px; }
  .gallery-header .saved-link { min-height: 44px; }
  .gallery-home.r09-home .chapter-prelude { padding: 28px 22px; }
  .gallery-home.r09-home .chapter-prelude h1 { font-size: clamp(28px, 7.5vw, 34px); line-height: 1.32; }
  .chapter-wayfinding { gap: 4px 20px; }
  .chapter-wayfinding a { font-size: 13px; }
  .brand-chapter, .gallery-home.r09-home .brand-chapter { padding: 28px 22px 36px; }
  .chapter-topline { align-items: center; gap: 14px; }
  .brand-chapter .chapter-brand { font-size: 11px; letter-spacing: .07em; }
  .brand-chapter .chapter-topline .text-link { font-size: 12px; max-width: 120px; }
  .chapter-feature, .gallery-home.r09-home .chapter-feature { grid-template-columns: 1fr; gap: 24px; }
  .chapter-feature-copy, .gallery-home.r09-home .chapter-feature-copy { padding: 0; }
  .gallery-home.r09-home .chapter-feature .chapter-photo { max-width: none; }
  .chapter-feature-copy h3, .chapter-feature-copy h2,
  .gallery-home.r09-home .chapter-feature-copy h3 { font-size: 46px; line-height: 1.18; margin-bottom: 14px; }
  .chapter-feature-copy > p,
  .gallery-home.r09-home .chapter-feature-copy > p { font-size: 19px; line-height: 1.65; max-width: 28ch; }
  .gallery-home.r09-home .chapter-feature-copy > p br { display: none; }
  .chapter-feature-copy .button { font-size: 15px; padding: 13px 18px; }
  .chapter-actions { gap: 8px 22px; }
  .chapter-actions .text-link,
  .gallery-home.r09-home .chapter-actions .text-link { font-size: 14px; }
  .chapter-support, .gallery-home.r09-home .chapter-support { gap: 18px; margin-top: 30px; padding-top: 24px; }
  .chapter-support .chapter-photo img,
  .gallery-home.r09-home .chapter-support .chapter-photo img { height: auto; aspect-ratio: 1/1; }
  .chapter-support .chapter-card h3,
  .gallery-home.r09-home .chapter-support .chapter-card h3 { font-size: 21px; line-height: 1.4; }
  .chapter-card .text-link { font-size: 14px; }
  .chapter-bottom { gap: 8px 20px; margin-top: 28px; }
  .chapter-bottom a { font-size: 13px; }
  .chapter-dinaco .chapter-topline { padding: 12px 14px; gap: 10px; margin-bottom: 26px; }
  .chapter-dinaco .chapter-brand { line-height: 1.8; }
  .chapter-dinaco .chapter-brand .dinaco-name { font-size: 20px; }
  .chapter-dinaco .clay-story,
  .gallery-home.r09-home .chapter-dinaco .clay-story { display: block; margin: 26px 0 30px; }
  .chapter-dinaco .clay-story h2, .chapter-dinaco .clay-story h1,
  .gallery-home.r09-home .chapter-dinaco .clay-story h2 { font-size: 44px; line-height: 1.2; margin-bottom: 14px; }
  .chapter-dinaco .clay-story .clay-whisper,
  .gallery-home.r09-home .chapter-dinaco .clay-story .clay-whisper { font-size: 22px; line-height: 1.5; }
  .gallery-home.r09-home .clay-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  .chapter-dinaco .chapter-card h3,
  .gallery-home.r09-home .clay-gallery h3 { font-size: 20px; line-height: 1.4; }
  .gallery-home.r09-home .clay-gallery h3 { min-height: 2.8em; }
  .clay-gallery .chapter-card-caption { padding-top: 14px; }
  .clay-gallery .chapter-card p:not(.chapter-card-brand) { font-size: 14px; line-height: 1.75; }
  .material-detail { display: flex; padding-top: 28px; gap: 28px; }
  .material-detail-copy { width: 100%; padding: 0; }
  .material-detail-copy h1 { font-size: clamp(34px, 9vw, 42px); }
  .material-detail-copy .lead { font-size: 21px; line-height: 1.6; }
  .material-detail-copy .button-row { gap: 10px 20px; }
  .material-detail-copy .text-link { font-size: 15px; }
  .gallery-thumbs { gap: 8px; }
  .gallery-thumbs button { font-size: 14px; padding: 10px 12px; }
  .gallery-line-caption h3, .dinaco-gallery-grid h3 { font-size: 19px; }
  .material-library-r08 .brand-gallery-head .brand-title { font-size: 16px; line-height: 1.5; }
  .reading-card h3, .gallery-home .reading-card h3,
  .film-card h3, .material-films .film-card:only-child h3 { font-size: 24px; line-height: 1.45; }
  .film-links { gap: 8px 20px; }
  .film-links .text-link, .film-inquiry { font-size: 14px; }
  .home-resource-card h2 { font-size: 25px; }
  .home-reading-links { gap: 18px; }
  .home-location { padding-block: 38px; }
  .home-location h2 { font-size: 32px; }
  .surface-stage figcaption, .catalogue-card .catalogue-meta { font-size: 13px; }
  .service-footer { padding-bottom: 28px; }
  /* In-page consultation and footer contacts stay available; no floating cover over samples. */
  .contact-float {
    position: static;
    width: calc(100% - 44px);
    max-width: none;
    margin: 0 22px calc(24px + env(safe-area-inset-bottom));
    justify-content: space-between;
    border-radius: 2px;
    padding: 14px 18px;
    font-size: 15px;
    box-shadow: none;
  }
  .inquiry-dialog, .compare-dialog { padding-inline: 22px; }
  .inquiry-dialog h2 { font-size: 28px; line-height: 1.35; }
  .inquiry-dialog label, .inquiry-dialog select, .inquiry-dialog textarea { font-size: 16px; }
}

@media (max-width: 360px) {
  .gallery-header { gap: 8px; }
  .gallery-header .brand-authentic .pukaco-lockup { width: 96px; height: 27px; }
  .gallery-header .brand-authentic .dinaco { font-size: 20px; }
  .gallery-header .brand-authentic { gap: 7px; }
  .gallery-header .header-actions { gap: 4px; }
  .brand-chapter, .gallery-home.r09-home .brand-chapter { padding-inline: 18px; }
  .chapter-feature-copy h3, .chapter-feature-copy h2,
  .gallery-home.r09-home .chapter-feature-copy h3 { font-size: 42px; }
  .chapter-support .chapter-card h3,
  .gallery-home.r09-home .chapter-support .chapter-card h3 { font-size: 20px; }
  .chapter-dinaco .chapter-topline { flex-wrap: wrap; }
  .chapter-dinaco .chapter-topline .text-link { max-width: none; }
  .chapter-dinaco .chapter-card h3,
  .gallery-home.r09-home .clay-gallery h3 { font-size: 18px; }
  .gallery-line-caption h3, .dinaco-gallery-grid h3 { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-float { transition: none; }
}
