/* Home 1.12.15: four requested sections, scoped independently of old Home UI. */
.xuri-home-refresh { color: var(--xuri-ink); background: var(--xuri-cream); }
.xuri-home-refresh *, .xuri-home-refresh *::before, .xuri-home-refresh *::after { box-sizing: border-box; }
.xuri-home-refresh a { text-underline-offset: .2em; }
.xuri-home-refresh :is(a, button):focus-visible { outline: 3px solid #e69c68; outline-offset: 4px; }
.xuri-home-refresh h2 { color: var(--xuri-ink); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 3.4vw, 3.5rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; margin: 0; }
.xuri-banner { background: var(--xuri-ink); color: #fff; position: relative; }
.xuri-banner__viewport { overflow: hidden; touch-action: pan-y pinch-zoom; }
.xuri-banner__track { display: flex; transition: transform 650ms cubic-bezier(.22, 1, .36, 1); }
.xuri-banner__slide { display: flex; flex: 0 0 100%; min-width: 0; }
/* Preserve the complete approved 1600 × 533 artwork; copy must not stretch it. */
.xuri-banner__link { color: #fff; display: block; min-height: 0; height: auto; width: 100%; position: relative; text-decoration: none; }
.xuri-banner__image { display: block; height: auto; aspect-ratio: 1600 / 533; object-fit: contain; object-position: center; position: static; width: 100%; }
.xuri-banner__copy-wrap { align-items: center; display: flex; width: 100%; height: 100%; position: absolute; inset: 0; }
.xuri-banner__copy { padding: 2.5rem 0 4.5rem; width: 40%; }
.xuri-banner__copy h2 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 5rem); line-height: 1.02; }
.xuri-banner__copy p { color: #e2eee7; font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.65; margin: 1.25rem 0 1.5rem; max-width: 30ch; }
/* The shared eyebrow is brand red, which only reaches ~2.5:1 on the banner's deep green.
   Warm amber keeps it recognisable and clears small-text contrast on this background. */
.xuri-banner__copy .xuri-home__eyebrow { color: #e9a773; margin: 0 0 1rem; }
/* Preserve the approved smaller headline scale for the Quality slide. */
.xuri-banner__copy--compact h2 { font-size: clamp(1.9rem, 3.4vw, 3.4rem); line-height: 1.06; }
.xuri-banner__cta { align-items: center; border-bottom: 1px solid #f3bc95; color: #f3bc95; display: inline-flex; font-size: 1rem; font-weight: 700; gap: 1.25rem; min-height: 44px; }
.xuri-banner__link:hover .xuri-banner__cta { color: #fff; border-color: #fff; }
.xuri-banner__controls { align-items: center; bottom: 16px; display: flex; gap: .35rem; left: 50%; position: absolute; transform: translateX(-50%); }
.xuri-banner__controls[hidden] { display: none; }
.xuri-banner__controls button { align-items: center; background: #16362d; border: 1px solid #78978b; border-radius: 0; color: #fff; cursor: pointer; display: inline-flex; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 .7rem; }
.xuri-banner__controls button:hover { background: #285443; }
.xuri-banner__dots { display: flex; }
.xuri-banner__dots button { border: 0; background: #16362d; padding: 0; }
.xuri-banner__dots span { background: transparent; border: 1px solid #fff; border-radius: 50%; display: block; height: 9px; width: 9px; }
.xuri-banner__dots [aria-pressed="true"] span { background: #fff; }
.xuri-banner__pause { font-size: .78rem; white-space: nowrap; }
.xuri-home-refresh__products, .xuri-home-refresh__news { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.xuri-home-refresh__heading { align-items: end; display: flex; gap: 1.5rem; justify-content: space-between; margin-bottom: 2rem; }
.xuri-home-refresh__heading p { color: var(--xuri-muted); line-height: 1.6; margin: 0; max-width: 28ch; }
.xuri-home-refresh__categories { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xuri-home-refresh__category { color: var(--xuri-ink); display: block; min-width: 0; text-decoration: none; }
.xuri-home-refresh__category > img { aspect-ratio: 4 / 3; background: #fff; display: block; height: auto; object-fit: contain; width: 100%; }
.xuri-home-refresh__category > div { align-items: center; border-bottom: 1px solid var(--xuri-line); display: flex; gap: 1rem; justify-content: space-between; min-height: 80px; padding: 1rem 0; }
.xuri-home-refresh__category h3 { color: inherit; font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 600; line-height: 1.3; margin: 0; }
.xuri-home-refresh__category svg { flex-shrink: 0; }
.xuri-home-refresh__category:hover { color: var(--xuri-red); }
.xuri-home-applications { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.xuri-home-applications__intro { align-items: end; display: grid; gap: clamp(2rem, 6vw, 5rem); grid-template-columns: 1.05fr .95fr; margin-bottom: clamp(2rem, 4vw, 3rem); }
.xuri-home-applications__intro .xuri-home__eyebrow { color: var(--xuri-red); margin: 0 0 1rem; }
.xuri-home-applications__intro h2 { font-size: clamp(2.8rem, 5vw, 4.75rem); line-height: .98; max-width: 10ch; }
.xuri-home-applications__copy { border-left: 1px solid var(--xuri-line); padding-left: clamp(1.5rem, 3vw, 2.5rem); }
.xuri-home-applications__copy p { color: var(--xuri-muted); line-height: 1.7; margin: 0; max-width: 42rem; }
.xuri-home-applications__copy strong { color: var(--xuri-ink); display: block; font-size: .75rem; letter-spacing: .1em; margin-top: 1.25rem; text-transform: uppercase; }
.xuri-home-applications__grid { display: grid; gap: clamp(.75rem, 1.5vw, 1.25rem); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.xuri-home-applications__scene { grid-column: span 4; margin: 0; min-height: clamp(13rem, 19vw, 18rem); overflow: hidden; position: relative; }
.xuri-home-applications__scene:first-child { grid-column: span 6; min-height: clamp(18rem, 27vw, 25rem); }
.xuri-home-applications__scene:nth-child(2), .xuri-home-applications__scene:nth-child(3) { grid-column: span 3; min-height: clamp(18rem, 27vw, 25rem); }
.xuri-home-applications__scene img { display: block; height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.xuri-home-applications__scene::after { background: linear-gradient(180deg, transparent 38%, rgb(7 31 24 / 82%) 100%); content: ''; inset: 0; pointer-events: none; position: absolute; }
.xuri-home-applications__scene figcaption { bottom: 0; color: #fff; display: flex; flex-direction: column; gap: .4rem; left: 0; padding: clamp(1rem, 2vw, 1.5rem); position: absolute; right: 0; z-index: 1; }
.xuri-home-applications__scene figcaption span { color: #f0ab7a; font-size: .72rem; font-weight: 700; letter-spacing: .15em; }
.xuri-home-applications__scene figcaption strong { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.08; }
.xuri-home-refresh__about { background: #ede8dd; padding: clamp(3rem, 6vw, 5.5rem) 0; }
.xuri-home-refresh__about-grid { align-items: center; display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1.1fr 1fr; }
.xuri-home-refresh__about-grid > img { display: block; height: auto; width: 100%; }
.xuri-home-refresh__about p { color: #40594e; line-height: 1.8; margin: 1.25rem 0; max-width: 65ch; }
/* Read more sits on its own line so it never runs into the paragraph above it. */
.xuri-home-refresh__about-more { margin: 1.75rem 0 0 !important; }
.xuri-home-refresh__about-more .xuri-text-link { align-items: center; display: inline-flex; gap: .5rem; }
/* Photo strip: five equal frames in one row, cropped to a common 16:10 ratio so
   photos of different shapes still line up as a single band. */
.xuri-about-strip { display: grid; gap: clamp(.6rem, 1.2vw, 1rem); grid-template-columns: repeat(5, 1fr); list-style: none; margin: clamp(2rem, 4vw, 3.5rem) 0 0; padding: 0; }
.xuri-about-strip__item { margin: 0; overflow: hidden; }
.xuri-about-strip__image { aspect-ratio: 16 / 10; display: block; height: auto; object-fit: cover; width: 100%; }
/* With fewer than three photos a 5-column grid would stretch each one absurdly wide,
   so small sets fall back to a fixed comfortable width instead. */
.xuri-about-strip:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 320px)); }
.xuri-about-strip:has(> :nth-child(1):last-child) { grid-template-columns: minmax(0, 420px); }

.xuri-home-refresh__news { background: #fff; }
.xuri-home-refresh__news-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xuri-home-refresh__post { min-width: 0; }
.xuri-home-refresh__post img { aspect-ratio: 16 / 9; display: block; height: auto; object-fit: cover; width: 100%; }
.xuri-home-refresh__post time { color: var(--xuri-muted); display: block; font-size: .85rem; margin: 1.25rem 0 .75rem; }
.xuri-home-refresh__post h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.3; margin: 0 0 1rem; overflow-wrap: anywhere; }
.xuri-home-refresh__post h3 a { color: var(--xuri-ink); text-decoration: none; }
.xuri-home-refresh__post p { color: var(--xuri-muted); line-height: 1.7; }
@media (max-width: 900px) {
  .xuri-banner__copy { width: 43%; }
  .xuri-banner__copy h2 { font-size: 2.4rem; }
  .xuri-home-refresh__heading { align-items: start; flex-direction: column; }
  .xuri-home-refresh__about-grid { grid-template-columns: 1fr; }
  .xuri-home-applications__intro { align-items: start; grid-template-columns: 1fr; }
  .xuri-home-applications__copy { border-left: 0; border-top: 1px solid var(--xuri-line); padding: 1.5rem 0 0; }
  .xuri-home-applications__scene, .xuri-home-applications__scene:nth-child(2), .xuri-home-applications__scene:nth-child(3) { grid-column: span 6; min-height: 17rem; }
  .xuri-home-applications__scene:first-child { grid-column: 1 / -1; min-height: 22rem; }
  .xuri-about-strip { grid-template-columns: repeat(3, 1fr); }
  .xuri-home-refresh__categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .xuri-banner__link { flex-direction: column; min-height: 0; }
  .xuri-about-strip { grid-template-columns: repeat(2, 1fr); }
  .xuri-banner__image { aspect-ratio: 2 / 1; height: auto; object-fit: cover; object-position: right center; position: static; }
  .xuri-banner__copy-wrap { display: block; height: auto; margin: 0; padding-top: 1.5rem; padding-bottom: 5.5rem; }
  .xuri-banner__copy { padding: 0; width: 100%; }
  .xuri-banner__copy h2 { font-size: 2.25rem; }
  .xuri-banner__copy--compact h2 { font-size: 1.8rem; }
  .xuri-banner__copy p { margin: .8rem 0; max-width: 36ch; }
  .xuri-banner__controls { bottom: 18px; gap: .2rem; }
  .xuri-banner__controls button { min-width: 36px; min-height: 44px; }
  .xuri-banner__pause { padding: 0 .5rem !important; }
  .xuri-home-refresh__categories { gap: 1.5rem 1rem; }
  .xuri-home-refresh__category > div { gap: .5rem; min-height: 72px; }
  .xuri-home-refresh__category h3 { font-size: 1rem; }
  .xuri-home-refresh__category svg { width: 16px; }
  .xuri-home-refresh__news-grid { grid-template-columns: 1fr; }
  .xuri-home-applications__scene, .xuri-home-applications__scene:first-child, .xuri-home-applications__scene:nth-child(2), .xuri-home-applications__scene:nth-child(3) { grid-column: 1 / -1; min-height: 14rem; }
}
@media (prefers-reduced-motion: reduce) { .xuri-banner__track { transition: none; } }
/* Empty, owner-editable photo slots. No generated photos ship in this version. */
.xuri-banner__link::after { background: linear-gradient(90deg, #16362d 0%, rgb(13 36 29 / 97%) 30%, rgb(13 36 29 / 95%) 40%, rgb(13 36 29 / 82%) 48%, rgb(13 36 29 / 38%) 58%, transparent 70%); content: ''; inset: 0; pointer-events: none; position: absolute; }
.xuri-banner__copy-wrap { z-index: 1; }
.xuri-banner__controls { z-index: 2; }
.xuri-banner__placeholder { align-items: center; background: #e9e4d8; color: #586d61; display: flex; justify-content: flex-end; padding: 2rem 9%; }
.xuri-banner__placeholder span { border: 1px dashed #819387; font-size: clamp(1rem, 2vw, 1.5rem); padding: 3rem 2rem; text-align: center; max-width: 43%; }
@media (max-width: 600px) {
  .xuri-banner__link::after { display: none; }
  .xuri-banner__placeholder { justify-content: center; min-height: 180px; padding: 1rem; }
  .xuri-banner__placeholder span { font-size: 1rem; max-width: 100%; padding: 2rem; }
  .xuri-banner__copy { min-height: 235px; }
}
/* User-approved live preview, 2026-10-11. Keep text above the controls. */
@media (min-width: 901px) {
  .xuri-banner__copy { width: 44%; padding: 1rem 0 4.5rem; }
  .xuri-banner__copy h2 { font-size: clamp(1.5rem, 2.8vw, 2.65rem); line-height: 1.08; }
  .xuri-banner__copy p { font-size: clamp(.8rem, 1.1vw, 1rem); line-height: 1.4; margin: .7rem 0; }
  .xuri-banner__copy .xuri-home__eyebrow { font-size: .68rem; line-height: 1.4; max-width: none; margin: 0 0 .65rem; }
  .xuri-banner__cta { font-size: .9rem; min-height: 36px; }
}
@media (max-width: 900px) {
  .xuri-banner__link { display: flex; flex-direction: column; }
  .xuri-banner__image { aspect-ratio: 1600 / 533; object-fit: contain; }
  .xuri-banner__link::after { display: none; }
  .xuri-banner__copy-wrap { position: relative; inset: auto; display: block; height: auto; margin: 0; padding-top: 1.5rem; padding-bottom: 5.5rem; }
  .xuri-banner__copy { width: 100%; padding: 0; min-height: 0; }
  .xuri-banner__copy h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.1; }
}
