/* Shared primitives that historically live here and are used by other public pages. */
.ut-eyebrow { margin: 0 0 var(--ut-space-3); color: var(--ut-color-clay); font-size: var(--ut-text-xs); font-weight: var(--ut-font-weight-semibold); letter-spacing: .13em; text-transform: uppercase; }
.ut-eyebrow--light { color: rgb(255 252 247 / 82%); }
.ut-text-link { flex: none; color: var(--ut-color-clay); font-size: var(--ut-text-sm); font-weight: var(--ut-font-weight-semibold); text-decoration: none; }
.ut-text-link:hover { color: var(--ut-color-ink); }
.ut-button--light { border-color: var(--ut-color-surface); background: var(--ut-color-surface); color: var(--ut-color-ink); }
.ut-button--light:hover { border-color: var(--ut-color-sand); background: var(--ut-color-sand); color: var(--ut-color-ink); }
.ut-button--ghost-light { border-color: rgb(255 252 247 / 80%); background: transparent; color: var(--ut-color-surface); cursor: default; }
.ut-button[aria-disabled="true"] { opacity: .76; cursor: default; }.ut-button small { margin-left: .35rem; font-size: .68em; }
.ut-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(var(--ut-space-3), 2vw, var(--ut-space-6)); }
@media (max-width: 64rem) { .ut-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 44rem) { .ut-product-grid { display: grid; width: auto; overflow: visible; margin-right: 0; padding-right: 0; grid-template-columns: 1fr; }.ut-product-grid .ut-product-card { min-width: 0; } }

/* Wave B1 — homepage, approved live CDE (etag 1791936207686557). Values mirror the CDE source;
   sections share the 1360px frame with clamp(16px,3vw,40px) gutters. */
.ut-home { overflow: clip; }
.ut-hp h2 { margin: 0; color: var(--ut-color-ink); font-family: var(--ut-font-display); font-size: clamp(26px, 3.4vw, 40px); font-weight: var(--ut-font-weight-regular); line-height: normal; }
.ut-hp-section { box-sizing: border-box; max-width: 85rem; margin: 0 auto; padding: clamp(52px, 7vw, 88px) clamp(16px, 3vw, 40px) 0; }
.ut-hp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.ut-hp-sub { margin: 6px 0 26px; color: #7b7064; font-size: 16px; line-height: normal; }
.ut-hp-sub--tight { margin: 4px 0 0; font-size: 17px; }
.ut-hp-link { color: var(--ut-color-clay); font-size: 16px; line-height: normal; text-decoration: none; transition: color .2s ease; }
/* CDE: section links keep their clay colour on hover (CDE FINAL POLISH hover QA). */

/* Hero */
.ut-hp-hero { position: relative; display: flex; min-height: clamp(430px, 62vh, 660px); overflow: hidden; background: var(--ut-color-sand); isolation: isolate; }
.ut-hp-hero__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.ut-hp-hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(38 33 28 / 72%) 0%, rgb(38 33 28 / 62%) 45%, rgb(38 33 28 / 30%) 72%, rgb(38 33 28 / 0%) 92%); pointer-events: none; }
.ut-hp-hero__mark { position: absolute; right: clamp(18px, 3vw, 44px); bottom: clamp(20px, 2.6vw, 34px); width: auto; height: clamp(22px, 2.4vw, 32px); object-fit: contain; filter: brightness(0) invert(1); opacity: .5; pointer-events: none; }
.ut-hp-hero__inner { box-sizing: border-box; display: flex; width: 100%; max-width: 85rem; align-items: center; margin: 0 auto; padding: clamp(64px, 7vw, 90px) 40px clamp(56px, 6vw, 78px); }
.ut-hp-hero__copy { max-width: 560px; animation: ut-hp-fade-up .7s ease; }
.ut-hp-hero__eyebrow { margin: 0 0 22px; color: var(--ut-color-sand); font-size: 13px; letter-spacing: .18em; line-height: normal; text-transform: uppercase; }
.ut-hp-hero h1 { margin: 0 0 20px; color: var(--ut-color-surface); font-family: var(--ut-font-display); font-size: 64px; font-weight: var(--ut-font-weight-regular); line-height: 1.34; text-wrap: pretty; }
.ut-hp-hero__lead { max-width: 430px; margin: 0 0 32px; color: #f1e9de; font-size: 17.5px; line-height: 1.6; }
.ut-hp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ut-hp-hero__cta { display: inline-flex; align-items: center; gap: 9px; padding: 15px 30px; border-radius: 999px; background: var(--ut-color-surface); color: var(--ut-color-ink); font-size: 16.5px; font-weight: var(--ut-font-weight-medium); line-height: normal; text-decoration: none; transition: background .25s ease, color .25s ease; }
.ut-hp-hero__cta:hover { background: var(--ut-color-clay); color: var(--ut-color-surface); }

/* Rooms */
.ut-hp-rooms__layout { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; }
.ut-hp-room { position: relative; display: block; overflow: hidden; border-radius: 10px; background: var(--ut-color-sand); color: var(--ut-color-surface); text-decoration: none; transition: box-shadow .35s ease, transform .35s ease; }
/* CDE image slots keep a 3:2 frame: cards grow with width once that exceeds the minimum height. */
.ut-hp-room--featured { aspect-ratio: 3 / 2; }
.ut-hp-rooms__grid .ut-hp-room::before { content: ""; display: block; padding-top: 66.667%; }
.ut-hp-room:hover { box-shadow: 0 18px 40px rgb(60 45 30 / 16%); transform: translateY(-2px); }
.ut-hp-room--featured { flex: 1 1 380px; min-width: min(100%, 300px); min-height: clamp(290px, 33vw, 474px); }
.ut-hp-rooms__grid { display: grid; flex: 1.04 1 430px; min-width: min(100%, 300px); min-height: clamp(290px, 33vw, 474px); grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ut-hp-rooms__grid .ut-hp-room { min-height: 132px; }
.ut-hp-room > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ut-hp-room__wash { position: absolute; inset: 0; background: linear-gradient(to top, rgb(44 39 34 / 58%), rgb(44 39 34 / 5%) 62%, transparent); pointer-events: none; }
.ut-hp-room--featured .ut-hp-room__wash { background: linear-gradient(to top, rgb(44 39 34 / 58%), rgb(44 39 34 / 5%) 58%, transparent); }
.ut-hp-room__label { position: absolute; right: 16px; bottom: 32px; left: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; pointer-events: none; }
.ut-hp-room--featured .ut-hp-room__label { right: clamp(18px, 2vw, 26px); bottom: 38px; left: clamp(18px, 2vw, 26px); gap: 3px; }
.ut-hp-room__title { font-family: var(--ut-font-display); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.15; }
.ut-hp-room--featured .ut-hp-room__title { font-size: clamp(27px, 3.2vw, 36px); line-height: 1.12; }

/* Needs — admin-managed homepage tags (CDE SYNC 01). Optional per-tag colours arrive as
   --ut-tag-bg / --ut-tag-color; border, hover and focus stay design tokens. */
.ut-hp-needs { padding-top: 80px; padding-inline: 40px; }
.ut-hp-needs__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ut-hp-tag { display: flex; align-items: center; gap: 13px; padding: 11px 22px 11px 12px; border: 1px solid #e3d8c9; border-radius: 999px; background: var(--ut-tag-bg, var(--ut-color-surface)); color: var(--ut-tag-color, #3b342c); font-size: 16.5px; line-height: normal; text-decoration: none; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
a.ut-hp-tag:hover { border-color: #b9a794; box-shadow: 0 8px 20px rgb(60 45 30 / 7%); transform: translateY(-2px); }
.ut-hp-tag--static { cursor: default; }

/* Products */
.ut-hp-products .ut-hp-head { flex-wrap: nowrap; margin-bottom: 26px; }
/* Same card size regardless of product count: auto-fill (no stretching) capped at 4 columns. */
.ut-hp-products__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, max(225px, (100% - 60px) / 4)), 1fr)); gap: 20px; }

/* Materials */
.ut-hp-divider { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(34px, 4vw, 54px); }
.ut-hp-divider span { flex: 1 1 auto; height: 1px; background: linear-gradient(to right, rgb(185 167 148 / 0%), rgb(185 167 148 / 50%)); }
.ut-hp-divider span:last-child { background: linear-gradient(to left, rgb(185 167 148 / 0%), rgb(185 167 148 / 50%)); }
.ut-hp-divider img { flex: none; width: auto; height: 20px; object-fit: contain; opacity: .4; }

/* Reviews */
.ut-hp-reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.ut-hp-review { min-width: 0; padding-top: 22px; border-top: 1px solid #d9ccba; }
.ut-hp-review__stars { margin: 0; color: var(--ut-color-clay); font-size: 15.5px; letter-spacing: .1em; line-height: normal; }
.ut-hp-review blockquote { margin: 14px 0 16px; color: var(--ut-color-ink); font-family: var(--ut-font-display); font-size: 23px; line-height: 1.4; }
.ut-hp-review blockquote::before { content: "„"; }
.ut-hp-review blockquote::after { content: "“"; }
.ut-hp-review__byline { display: flex; align-items: center; gap: 12px; }
.ut-hp-review__initial { display: flex; width: 46px; height: 46px; flex: none; align-items: center; justify-content: center; border-radius: 999px; background: #e2d4be; color: #5e5347; font-family: var(--ut-font-display); font-size: 19px; }
.ut-hp-review__initial--2 { background: #dccfbb; }
.ut-hp-review__initial--3 { background: #efe2ce; }
.ut-hp-review__meta { color: #8a8074; font-size: 15px; line-height: normal; }
.ut-hp-review__meta a { color: inherit; text-decoration: none; }
.ut-hp-review__meta a:hover { color: var(--ut-color-clay); }

/* Editorial */

/* Trust row */
.ut-hp-trust { box-sizing: border-box; max-width: 85rem; margin: clamp(52px, 7vw, 88px) auto 0; padding: 0 clamp(16px, 3vw, 40px); }
.ut-hp-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: clamp(20px, 2.4vw, 32px); padding: 34px 0; border-top: 1px solid var(--ut-color-line); border-bottom: 1px solid var(--ut-color-line); }
.ut-hp-trust__title { margin: 0 0 6px; color: var(--ut-color-ink); font-size: 17px; line-height: normal; }
.ut-hp-trust__text { margin: 0; color: #8a8074; font-size: 15.5px; line-height: 1.5; }

@keyframes ut-hp-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .ut-hp-hero__copy { animation: none; }
  .ut-hp-room, .ut-hp-tag { transition: none; }
  .ut-hp-room:hover, a.ut-hp-tag:hover { transform: none; }
}
