/* Photiles — signature theme (1 Nov 2026). Generated from mockups/photiles-signature/assets/site.css:
   every class carries the t- prefix so the theme can sit beside Bootstrap on pages that still use the old CSS.
   Chalk page, walnut ink, the photographs carry the warmth. Yellow is the tile: the mark, and the one main action. */
:root {
  --chalk: #FBFAF7;      /* page */
  --plaster: #F1ECE5;    /* quiet bands */
  --walnut: #2A211B;     /* ink */
  --oak: #6B5E52;        /* secondary text (AA on chalk, plaster and white) */
  --ctl: #CFC5B8;        /* borders of controls (hairlines stay --line) */
  --line: #E4DCD2;       /* hairlines */
  --yellow: #E6BC29;     /* Photiles yellow: mark + main action only */
  --ochre: #8A6A12;      /* yellow-family text on light grounds (AA) */
  --sage: #5E6B58;       /* "it worked" states */
  --serif: "Newsreader", Georgia, serif;
  --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 3px;              /* near-square corners: tiles */
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-optical-sizing: auto; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--chalk); color: var(--walnut); font: 400 16px/1.55 var(--sans); }
@media (min-width: 861px) { body { font-size: 17px; } }
:is(.th-full, .t-scope) img { display: block; max-width: 100%; height: auto; }
:is(.th-full, .t-scope) a { color: inherit; }
:is(.th-full, .t-scope) button { font: inherit; color: inherit; }
:is(.th-full, .t-scope) :focus-visible { outline: 2px solid var(--walnut); outline-offset: 3px; border-radius: 2px; }
.t-wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.t-num { font-variant-numeric: tabular-nums; }

/* ── type scale (≈ 1.25, display jumps to a perfect fourth+) ───────────────── */
.t-d1, .t-d2, .t-d3, .t-room__name, .t-range__name, .t-line__name, .t-trust b, .t-logo b, .t-pick b, .t-steps h3::before { font-family: var(--serif); font-variation-settings: "SOFT" 20, "WONK" 0; }
.t-d1 { font-size: clamp(42px, 3.6vw + 28px, 88px); font-weight: 360; line-height: .96; letter-spacing: -.02em; margin: 0; font-variation-settings: "opsz" 72, "SOFT" 20, "WONK" 0; }
.t-d2 { font-size: clamp(32px, 1.8vw + 25px, 52px); font-weight: 380; line-height: 1.02; letter-spacing: -.012em; margin: 0; }
.t-d3 { font-size: clamp(24px, .8vw + 21px, 32px); font-weight: 420; line-height: 1.1; letter-spacing: -.005em; margin: 0; }
.t-h4 { font: 600 15px/1.3 var(--sans); letter-spacing: .005em; margin: 0; }
@media (min-width: 861px) { .t-h4 { font-size: 16px; } }
.t-lead { font-size: clamp(17px, .4vw + 15.5px, 19px); line-height: 1.5; color: var(--walnut); max-width: 27em; margin: 0; }
.t-small { font-size: 14px; line-height: 1.45; letter-spacing: .005em; color: var(--oak); }
.t-price { font: 600 22px/1 var(--sans); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.t-price s { color: var(--oak); font-weight: 400; margin-left: 6px; font-size: .7em; vertical-align: 2px; letter-spacing: 0; }

/* ── buttons ───────────────────────────────────────────────────────────────── */
.t-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r);
       border: 1.5px solid var(--walnut); background: transparent; font-weight: 600; font-size: 15px; letter-spacing: .01em; text-decoration: none; cursor: pointer; }
@media (max-width: 860px) { .t-btn { min-height: 48px; } }
.t-btn--go { background: var(--yellow); border-color: var(--yellow); color: var(--walnut); }
.t-btn--go:hover { background: #EDC93F; border-color: #EDC93F; }
.t-btn--ink { background: var(--walnut); color: var(--chalk); }
.t-btn--ink:hover { background: #3a2e26; }
.t-btn--block { width: 100%; }
.t-link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.t-link:hover { text-decoration-color: var(--yellow); }

/* ── header ────────────────────────────────────────────────────────────────── */
.t-hdr { position: sticky; top: 0; z-index: 30; background: rgba(251, 250, 247, .94); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.t-hdr.is-stuck { border-bottom-color: var(--line); }
.t-hdr__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.t-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
/* the logo and header links never underline or box after a click (old pages' Bootstrap did); keyboard focus keeps its ring */
.t-logo, .t-logo:hover, .t-logo:focus, .t-hdr a:focus { text-decoration: none !important; }
.t-hdr a:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
.t-logo:focus-visible { outline: 2px solid var(--walnut); outline-offset: 4px; border-radius: 4px; }
.t-logo svg { width: 34px; height: 34px; flex: none; }
.t-logo b { font-size: 30px; font-weight: 500; line-height: 1; letter-spacing: -.01em; }
.t-nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.t-nav a { text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.t-nav a:hover, .t-nav a[aria-current="page"] { border-bottom-color: var(--walnut); }
.t-hdr__end { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.t-icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; border-radius: var(--r); cursor: pointer; text-decoration: none; }
.t-icon-btn svg { width: 22px; height: 22px; }
.t-icon-btn .t-count { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--yellow); color: var(--walnut); font: 700 11px/18px var(--sans); text-align: center; }
.t-hdr .t-btn { min-height: 42px; padding: 0 18px; font-size: 14px; margin-left: 6px; }
.t-burger { display: none; }
.t-promo { background: var(--walnut); color: var(--chalk); font-size: 13.5px; font-weight: 500; letter-spacing: .01em; line-height: 1.3; text-align: center; padding: 8px var(--gut); }
.t-promo b { color: var(--yellow); font-weight: 600; }
@media (min-width: 1101px) and (max-width: 1199px) { .t-nav { gap: 16px; font-size: 14px; } }
/* seven products in the menu: below 1100 px the menu button takes over */
@media (max-width: 1100px) { .t-nav, .t-hdr .t-icon-btn--acct { display: none; } .t-burger { display: grid; } }
@media (max-width: 960px) {
  .t-nav, .t-hdr .t-icon-btn--acct { display: none; }
  .t-hdr .t-btn--go { min-height: 38px; padding: 0 14px; font-size: 14px; margin-left: 2px; }
  .t-burger { display: grid; }
  .t-hdr__in { height: 60px; gap: 10px; }
  .t-logo b { font-size: 26px; }
  .t-logo svg { width: 30px; height: 30px; }
  .t-promo__more { display: none; }
}
@media (max-width: 360px) { .t-logo b { display: none; } }

/* ── phone menu (a sheet from the right) ───────────────────────────────────── */
.t-sheet { position: fixed; inset: 0; z-index: 60; display: none; }
.t-sheet.is-open { display: block; }
.t-sheet__bg { position: absolute; inset: 0; background: rgba(42, 33, 27, .45); }
.t-sheet__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--chalk); padding: 18px 22px 28px; overflow-y: auto; display: flex; flex-direction: column; }
.t-sheet__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.t-sheet__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.t-sheet__list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 17px; font-weight: 500; }
.t-sheet__list a span { color: var(--oak); font-size: 14px; }
.t-sheet__foot { margin-top: auto; padding-top: 22px; display: grid; gap: 12px; }

/* ── home hero: the wall, before and after ─────────────────────────────────── */
.t-hero { padding: clamp(18px, 3vw, 40px) 0 clamp(48px, 6vw, 88px); }
.t-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "words pic" "quick pic"; column-gap: clamp(28px, 4vw, 64px); row-gap: 26px; align-items: end; }
.t-hero__words { grid-area: words; } .t-hero .t-quick { grid-area: quick; align-self: start; } .t-hero__pic { grid-area: pic; align-self: center; }
.t-hero__words { display: grid; gap: 26px; align-content: center; }
.t-hero__words .t-lead { max-width: 27em; }
.t-ba { position: relative; aspect-ratio: 836 / 941; border-radius: var(--r); overflow: hidden; background: var(--plaster); user-select: none; touch-action: pan-y; }
.t-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.t-ba__after { clip-path: inset(0 0 0 var(--cut, 60%)); }
.t-ba__handle { position: absolute; top: 0; bottom: 0; left: var(--cut, 60%); width: 0; transform: translateX(-1px); }
.t-ba__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--chalk); box-shadow: 0 0 0 1px rgba(42,33,27,.08); }
.t-ba__knob { position: absolute; top: 50%; left: 0; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--chalk); border: 0; display: grid; place-items: center; cursor: ew-resize; box-shadow: 0 6px 20px rgba(42,33,27,.22); }
.t-ba__knob svg { width: 26px; height: 26px; }
.t-ba__tag { position: absolute; top: 14px; font-size: 13px; font-weight: 600; background: rgba(251,250,247,.9); padding: 5px 10px; border-radius: var(--r); }
.t-ba__tag--l { left: 14px; } .t-ba__tag--r { right: 14px; }
.t-ba__cap { margin: 12px 0 0; }
.t-ba__cap b { color: var(--walnut); font-weight: 600; }

/* the quick start in the hero */
.t-quick { display: grid; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.t-quick__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
.t-quick__label { font-size: 14px; font-weight: 600; }
.t-choice { display: inline-flex; gap: 6px; }
.t-choice button { min-height: 40px; padding: 0 14px; border: 1.5px solid var(--ctl); border-radius: var(--r); background: #fff; font-size: 14.5px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.t-choice button[aria-pressed="true"] { border-color: var(--walnut); box-shadow: inset 0 0 0 1px var(--walnut); }
.t-dot { width: 14px; height: 14px; border-radius: 2px; border: 1px solid rgba(42,33,27,.25); }
.t-step { display: inline-flex; align-items: center; border: 1.5px solid var(--ctl); border-radius: var(--r); background: #fff; }
.t-step button { width: 42px; height: 40px; border: 0; background: none; font-size: 20px; cursor: pointer; }
.t-step output { min-width: 44px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.t-quick__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.t-quick__total .t-price { font-size: 22px; }
.t-chips { display: inline-flex; gap: 6px; }
.t-chips button { min-width: 44px; min-height: 40px; padding: 0 10px; border: 1.5px solid var(--ctl); border-radius: var(--r); background: #fff; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; cursor: pointer; }
.t-chips button[aria-pressed="true"] { border-color: var(--walnut); box-shadow: inset 0 0 0 1px var(--walnut); }

@media (max-width: 860px) {
  .t-hero { padding-top: 14px; }
  .t-hero__grid { grid-template-columns: 1fr; grid-template-areas: "words" "quick" "pic"; row-gap: 18px; }
  .t-hero__words { gap: 12px; }
  .t-quick { padding: 16px; gap: 12px; }
  .t-ba { aspect-ratio: 4 / 5; }
}

/* fact strip under the hero */
.t-factstrip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.t-factstrip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t-factstrip li { padding: 18px 0; display: grid; gap: 2px; }
.t-factstrip li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.t-factstrip b { font-weight: 600; font-size: 15px; }
.t-factstrip span { font-size: 14px; color: var(--oak); }
@media (max-width: 700px) { .t-factstrip ul { grid-template-columns: 1fr; } .t-factstrip li { padding: 12px 0; } .t-factstrip li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ── sections ──────────────────────────────────────────────────────────────── */
.t-sec { padding: clamp(56px, 8vw, 120px) 0; }
.t-sec--plaster { background: var(--plaster); }
.t-sec--walnut { background: var(--walnut); color: #E9E2D9; }
.t-sec--walnut .t-sec__head p, .t-sec--walnut .t-steps p { color: #CFC5B9; }
.t-sec--walnut .t-steps h3::before { color: var(--yellow); }
.t-sec__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(26px, 3vw, 44px); flex-wrap: wrap; }
.t-sec__head p { margin: 10px 0 0; max-width: 36em; color: var(--oak); }

/* rooms rail */
.t-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
.t-room { text-decoration: none; display: grid; gap: 10px; align-content: start; min-width: 0; }
.t-room figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--plaster); }
.t-room img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.t-room:hover img { transform: scale(1.03); }
.t-room__name { font-size: 22px; font-weight: 460; line-height: 1.15; }
.t-room__what { font-size: 14px; color: var(--oak); }
@media (max-width: 700px) { .t-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } .t-room figure { aspect-ratio: 1 / 1; } .t-room__name { font-size: 19px; } .t-room__what { font-size: 13px; } }

/* the tile, up close */
.t-tile-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.t-tile-split figure { margin: 0; border-radius: var(--r); overflow: hidden; }
.t-facts { list-style: none; margin: 26px 0 30px; padding: 0; border-top: 1px solid var(--line); }
.t-facts li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.t-facts b { font-weight: 600; }
.t-facts span { color: var(--oak); }
@media (max-width: 860px) { .t-tile-split { grid-template-columns: 1fr; } .t-facts li { grid-template-columns: 110px 1fr; } }

/* three steps (a real sequence) */
.t-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); counter-reset: s; }
.t-steps li { list-style: none; display: grid; gap: 14px; }
.t-steps figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); }
.t-steps img { width: 100%; height: 100%; object-fit: cover; }
.t-steps h3 { margin: 0; }
.t-steps p { margin: 0; color: var(--oak); max-width: 30em; }
.t-steps { padding: 0; margin: 0; }
@media (max-width: 760px) {
  .t-steps { grid-template-columns: 1fr; gap: 18px; }
  .t-steps li { grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: start; }
  .t-steps figure { grid-row: span 2; aspect-ratio: 1; }
  .t-steps p { font-size: 14.5px; }
}

/* ranges: an arrangement, not a card kit */
.t-ranges { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.t-range { grid-column: span 3; text-decoration: none; display: grid; gap: 10px; align-content: start; min-width: 0; }
.t-range--half { grid-column: span 6; }
.t-range--big { grid-column: span 6; grid-row: span 2; }
.t-range figure { margin: 0; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; background: var(--plaster); }
.t-range--big { display: flex; flex-direction: column; }
.t-range--big figure { flex: 1 1 auto; aspect-ratio: auto; min-height: 420px; }
.t-range img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.t-range:hover img { transform: scale(1.03); }
.t-range__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.t-range__name { font-size: 22px; font-weight: 460; line-height: 1.15; }
.t-range--big .t-range__name { font-size: 30px; }
.t-range__from { font-size: 14px; color: var(--oak); white-space: nowrap; }
.t-range__from b { color: var(--walnut); font-weight: 600; font-variant-numeric: tabular-nums; }
.t-range__note { font-size: 14px; color: var(--oak); margin: 0; }
.t-ranges__more { grid-column: 1 / -1; margin: 6px 0 0; font-size: 15px; color: var(--oak); }
.t-ranges__more a { font-weight: 600; color: var(--walnut); }
@media (min-width: 861px) { .t-range__name, .t-room__name, .t-line__name, .t-trust b, .t-pick b { font-size: 24px; } .t-range--big .t-range__name { font-size: 30px; } }
@media (max-width: 860px) {
  .t-ranges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .t-range, .t-range--big, .t-range--half { grid-column: span 1; grid-row: auto; }
  .t-range--big { grid-column: span 2; }
  .t-range--big figure { aspect-ratio: 4 / 3; min-height: 0; flex: none; }
  .t-range__name { font-size: 20px; }
  .t-range__row { flex-direction: column; gap: 2px; }
  .t-range { min-width: 0; } .t-range__from { white-space: normal; }
}

/* placeholder pictures (to be shot) */
.t-ph { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; padding: 18px;
      background: repeating-linear-gradient(135deg, #EEE7DE 0 14px, #F3EEE7 14px 28px); color: var(--oak); font-size: 13px; text-align: center; }
.t-ph b { display: block; color: var(--walnut); font-weight: 600; margin-bottom: 4px; }

/* gift band */
.t-gift { position: relative; color: var(--chalk); }
.t-gift img { width: 100%; height: clamp(420px, 56vw, 680px); object-fit: cover; }
.t-gift__words { position: absolute; inset: 0; display: flex; align-items: center; padding: clamp(28px, 5vw, 64px) 0; background: linear-gradient(to right, rgba(42,33,27,.68), rgba(42,33,27,.15) 60%, rgba(42,33,27,0)); }
.t-gift__words .t-wrap { display: grid; gap: 18px; justify-items: start; }
.t-gift__words p { margin: 0; max-width: 32em; font-size: 17px; }
.t-gift .t-btn { border-color: var(--chalk); color: var(--chalk); }

/* trust */
.t-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(233,226,217,.2); margin-top: clamp(44px, 6vw, 80px); }
.t-trust div { padding: 22px 18px 4px 0; display: grid; gap: 4px; align-content: start; }
.t-trust div + div { padding-left: 18px; border-left: 1px solid rgba(233,226,217,.2); }
.t-trust b { font-size: 22px; font-weight: 460; line-height: 1.15; color: #fff; }
.t-trust span { font-size: 14px; color: #CFC5B9; }
@media (max-width: 760px) { .t-trust { grid-template-columns: 1fr 1fr; } .t-trust div:nth-child(3) { border-left: 0; padding-left: 0; } .t-trust div:nth-child(n+3) { border-top: 1px solid rgba(233,226,217,.2); } }

.t-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); }
.t-quotes blockquote { margin: 0; display: grid; gap: 14px; }
.t-quotes p { margin: 0; font: 400 24px/1.25 var(--serif); }
.t-quotes cite { font-style: normal; font-size: 14px; color: var(--oak); }
@media (max-width: 860px) { .t-quotes { grid-template-columns: 1fr; } }

/* footer */
.t-ftr { background: var(--walnut); color: #E9E2D9; padding: clamp(48px, 6vw, 80px) 0 28px; }
.t-ftr a { text-decoration: none; color: #E9E2D9; }
.t-ftr a:hover { color: #fff; text-decoration: underline; }
.t-ftr__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.t-ftr h4 { font: 600 14px/1.3 var(--sans); color: #fff; margin: 0 0 12px; }
.t-ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.t-ftr .t-logo b { color: #fff; }
.t-ftr__note { margin: 16px 0 0; max-width: 26em; font-size: 15px; color: #CFC5B9; }
.t-ftr__base { margin-top: 44px; padding-top: 18px; border-top: 1px solid rgba(233,226,217,.18); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #B9AEA1; }
@media (max-width: 760px) { .t-ftr__grid { grid-template-columns: 1fr 1fr; } .t-ftr__brand { grid-column: 1 / -1; } }

/* ── product page ──────────────────────────────────────────────────────────── */
.t-crumbs { font-size: 13.5px; color: var(--oak); padding: 14px 0 0; }
.t-crumbs a { text-decoration: none; }
.t-crumbs a:hover { text-decoration: underline; }
.t-pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding: 18px 0 clamp(48px, 6vw, 88px); }
.t-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.t-gallery figure { margin: 0; overflow: hidden; border-radius: var(--r); background: var(--plaster); aspect-ratio: 4 / 5; }
.t-gallery figure.t-wide { grid-column: span 2; aspect-ratio: 16 / 10; }
/* row 2: one tall photo beside two stacked ones */
.t-gallery figure.t-tall { aspect-ratio: 4 / 5; }
.t-gallery .t-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; min-height: 0; }
.t-gallery .t-stack figure { aspect-ratio: auto; min-height: 0; position: relative; }
.t-gallery .t-stack img { position: absolute; inset: 0; } /* the pair takes the tall photo's height, never its own */
.t-gallery img { width: 100%; height: 100%; object-fit: cover; }
.t-panel { position: sticky; top: 92px; display: grid; gap: 20px; }
.t-panel__title { display: grid; gap: 10px; }
.t-panel__title p { margin: 0; color: var(--oak); }
.t-opt { display: grid; gap: 10px; }
.t-opt__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.t-opt__head b { font-weight: 600; font-size: 15px; }
.t-opt__head span { font-size: 14px; color: var(--oak); }
.t-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.t-swatch { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px 0 8px; border: 1.5px solid var(--ctl); border-radius: var(--r); background: #fff; cursor: pointer; font-weight: 500; }
.t-swatch[aria-pressed="true"] { border-color: var(--walnut); box-shadow: inset 0 0 0 1px var(--walnut); }
.t-swatch i { width: 30px; height: 30px; border-radius: 2px; display: block; }
.t-layouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.t-layout { display: grid; gap: 6px; justify-items: center; padding: 10px 4px 8px; border: 1.5px solid var(--ctl); border-radius: var(--r); background: #fff; cursor: pointer; font-size: 14px; font-weight: 500; }
.t-layout[aria-pressed="true"] { border-color: var(--walnut); box-shadow: inset 0 0 0 1px var(--walnut); }
.t-layout svg { width: 46px; height: 34px; }
/* the wall in the photo is about 260 cm wide and 168 cm high; the sofa top sits at 86 % */
.t-preview, .t-scale { position: relative; aspect-ratio: 836 / 540; border-radius: var(--r); overflow: hidden; background: #EFE7DD url(../img/wall-before-wide.jpg) center / cover; }
.t-preview__tiles { position: absolute; left: 57%; transform: translateX(-50%); display: grid; }
.t-preview, .t-scale { container-type: inline-size; }
.t-preview__tiles i { display: block; width: calc(100cqw * var(--tw, 21) / 260); aspect-ratio: var(--tw, 21) / var(--th, 21); background: #ccc center / cover; border: max(2px, calc(100cqw * 1.6 / 260)) solid var(--walnut); box-shadow: 0 2px 5px rgba(42,33,27,.25); }
.t-preview[data-colour="white"] .t-preview__tiles i { border-color: #fff; }
.t-preview__note, .t-scale__note { position: absolute; left: 10px; bottom: 8px; font-size: 13px; font-weight: 600; background: rgba(251,250,247,.9); padding: 4px 8px; border-radius: var(--r); color: var(--walnut); }
/* no height cap: the box must keep the wall photo's proportions or the sizes stop being to scale */
.t-preview, .t-scale { width: 100%; }
.t-total { display: grid; gap: 4px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.t-total__line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.t-total__line .t-price { font-size: 26px; }
.t-reassure { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--oak); }
.t-reassure li::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--yellow); margin: 0 9px 1px 1px; }
.t-sizes { display: grid; gap: 14px; }
.t-sizes__group { display: grid; gap: 6px; }
.t-sizes__label { font-size: 14px; font-weight: 600; color: var(--oak); }
.t-sizes__label em { font-style: normal; font-weight: 500; }
.t-sizes__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 900px) { .t-sizes__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.t-size { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; padding: 10px 10px; border: 1.5px solid var(--ctl); border-radius: var(--r); background: #fff; cursor: pointer; text-align: left; }
.t-size[aria-pressed="true"] { border-color: var(--walnut); box-shadow: inset 0 0 0 1px var(--walnut); }
.t-size b { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-size span { font-size: 14px; font-weight: 500; color: var(--oak); font-variant-numeric: tabular-nums; }
.t-scale__art { position: absolute; left: 57%; transform: translateX(-50%); background: #ddd url(../img/art-beach.jpg) center / cover; border: 0; box-shadow: 0 2px 6px rgba(42,33,27,.18); transition: width .35s ease, height .35s ease, bottom .35s ease; }
.t-scale__art.is-framed { border: max(2px, calc(100cqw * 2 / 260)) solid var(--walnut); }
.t-scale__art[data-frame="oak"] { border-color: #B98C5A; } .t-scale__art[data-frame="white"] { border-color: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.t-scale__art.is-float { outline: 5px solid var(--walnut); outline-offset: 6px; }
.t-scale__dim { position: absolute; left: 57%; transform: translateX(-50%); height: 0; border-top: 1px solid var(--walnut); font-size: 12px; font-weight: 600; text-align: center; color: var(--walnut); }
.t-scale__dim span { position: absolute; left: 50%; top: 3px; transform: translateX(-50%); white-space: nowrap; background: rgba(251,250,247,.85); padding: 0 5px; border-radius: 2px; }
.t-scale__note { bottom: auto; top: 8px; }
.t-addon { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--ctl); border-radius: var(--r); background: #fff; cursor: pointer; }
.t-addon input { width: 20px; height: 20px; accent-color: var(--walnut); }
.t-addon[hidden] { display: none; }
.t-more { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); }
.t-faq details { border-bottom: 1px solid var(--line); }
.t-faq summary { list-style: none; cursor: pointer; padding: 18px 34px 18px 0; position: relative; font-weight: 600; font-size: 16px; letter-spacing: .005em; }
.t-faq summary::-webkit-details-marker { display: none; }
.t-faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.t-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.t-faq details p { margin: 0 0 18px; color: var(--oak); max-width: 38em; }
.t-bar { display: none; }
@media (max-width: 900px) {
  .t-pdp { grid-template-columns: 1fr; }
  .t-panel { position: static; }
  .t-gallery { grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .t-gallery figure, .t-gallery figure.t-wide, .t-gallery .t-stack figure { grid-column: auto; aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .t-gallery .t-stack { display: contents; }
  .t-more { grid-template-columns: 1fr; }
  .t-layouts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .t-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: var(--chalk); border-top: 1px solid var(--line); transition: transform .25s ease; }
  .t-bar.is-hidden { transform: translateY(110%); }
  .t-bar .t-btn { min-height: 48px; padding: 0 18px; }
  .t-panel > .t-scale, .t-panel > .t-preview { order: 1; }
  .t-panel > .t-reassure, .t-panel > .t-reassure ~ * { order: 2; }
  body.t-has-bar { padding-bottom: 76px; }
}

/* ── cart ──────────────────────────────────────────────────────────────────── */
.t-cart { display: grid; grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding: 10px 0 80px; }
.t-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.t-line:first-child { border-top: 1px solid var(--line); }
.t-thumb { position: relative; width: 96px; aspect-ratio: 1; border: 0; padding: 0; background: var(--plaster); border-radius: var(--r); overflow: hidden; cursor: pointer; }
.t-thumb img { width: 100%; height: 100%; object-fit: cover; }
.t-thumb .t-count { position: absolute; right: 6px; bottom: 6px; background: var(--walnut); color: var(--chalk); font: 600 12px/1 var(--sans); padding: 5px 7px; border-radius: 2px; }
.t-line__name { font-size: 22px; font-weight: 460; line-height: 1.15; margin: 0 0 6px; }
.t-line__opts { margin: 0; font-size: 14px; color: var(--oak); }
.t-crumbs { font-size: 14px; }
.t-line__acts { display: flex; gap: 18px; margin-top: 12px; font-size: 14px; font-weight: 600; }
.t-line__acts button, .t-line__acts a { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.t-line__acts .t-rm { color: var(--oak); font-weight: 500; }
.t-line__price { text-align: right; display: grid; gap: 4px; }
.t-line__price s { font-size: 14px; color: var(--oak); }
.t-sum { position: sticky; top: 92px; display: grid; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.t-sum__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.t-sum__row.is-save { color: var(--sage); }
.t-sum__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.t-sum__total .t-price { font-size: 26px; }
.t-pay { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--oak); }
.t-pay span { border: 1px solid var(--line); border-radius: 2px; padding: 4px 8px; background: var(--chalk); }
@media (max-width: 860px) {
  .t-cart { grid-template-columns: 1fr; }
  .t-sum { position: static; }
  .t-line { grid-template-columns: 84px minmax(0, 1fr); }
  .t-thumb { width: 84px; }
  .t-line__price { grid-column: 2; text-align: left; display: flex; gap: 10px; align-items: baseline; }
  .t-line__name { font-size: 21px; }
}

/* ── dialogs ───────────────────────────────────────────────────────────────── */
dialog.t-dlg { width: min(860px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 6px; background: var(--chalk); color: var(--walnut); box-shadow: 0 30px 80px rgba(42,33,27,.35); }
dialog.t-dlg::backdrop { background: rgba(42,33,27,.5); }
.t-dlg__top { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px 14px 26px; background: var(--chalk); }
.t-dlg__x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--plaster); font-size: 26px; line-height: 1; cursor: pointer; }
.t-dlg__body { padding: 4px 26px 26px; }
.t-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.t-pick a { display: grid; gap: 8px; text-decoration: none; }
.t-pick figure { margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--plaster); }
.t-pick img { width: 100%; height: 100%; object-fit: cover; }
.t-pick b { font-size: 22px; font-weight: 460; line-height: 1.15; }
.t-pick a:first-child { grid-column: span 2; }
.t-pick a:first-child figure { aspect-ratio: 2 / 1; }
/* Split Prints (5th) is two wide beside Foam Tiles and Posters, so the second row has no gap */
.t-pick a:nth-child(5) { grid-column: span 2; }
.t-pick a:nth-child(5) figure { aspect-ratio: 2 / 1; }
.t-pick span { font-size: 14px; color: var(--oak); }
.t-tiles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.t-tiles-grid figure { margin: 0; display: grid; gap: 4px; }
.t-tiles-grid img { aspect-ratio: 1; object-fit: cover; border: 5px solid var(--walnut); box-shadow: 0 2px 6px rgba(42,33,27,.2); }
.t-tiles-grid figcaption { font-size: 12.5px; color: var(--oak); text-align: center; }
@media (max-width: 700px) { .t-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } .t-pick a:nth-child(5) { grid-column: span 1; } .t-pick a:nth-child(5) figure { aspect-ratio: 1; } .t-pick a:nth-child(6) { grid-column: span 2; } .t-pick a:nth-child(6) figure { aspect-ratio: 2 / 1; } .t-dlg__body { padding: 4px 16px 18px; } .t-dlg__top { padding: 14px 12px 10px 16px; } }

.t-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* plain-language content blocks (definitions, comparison) */
.t-prose { margin: 14px 0 0; max-width: 34em; color: var(--walnut); }
.t-prose + .t-prose { margin-top: 10px; }
.t-compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.t-compare th, .t-compare td { text-align: left; vertical-align: top; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); }
.t-compare thead th { font-size: 14px; font-weight: 600; color: var(--oak); padding-top: 0; }
.t-compare tbody th { font-family: var(--serif); font-size: 22px; font-weight: 460; white-space: nowrap; }
.t-compare tbody th a { color: var(--walnut); text-decoration: none; border-bottom: 1px solid var(--ctl); }
.t-compare td { color: var(--oak); }
.t-compare td:last-child { color: var(--walnut); font-weight: 600; white-space: nowrap; }
@media (max-width: 760px) {
  .t-compare thead { display: none; }
  .t-compare, .t-compare tbody, .t-compare tr, .t-compare th, .t-compare td { display: block; }
  .t-compare tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .t-compare th, .t-compare td { border: 0; padding: 3px 0; }
  .t-compare tbody th { margin-bottom: 6px; }
  .t-compare td { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
  .t-compare td::before { content: attr(data-l); color: var(--walnut); font-weight: 600; font-size: 14px; }
}

/* foam tiles: no frame, the photo covers an 18 mm block */
.t-preview[data-kind="foam"] .t-preview__tiles i { border: 0; box-shadow: 1px 2px 0 rgba(42,33,27,.12), 0 3px 7px rgba(42,33,27,.22); }

/* Split Print: one photo across panels on the bare wall */
.t-split__wall { position: relative; aspect-ratio: 836 / 540; width: 100%; border-radius: var(--r); overflow: hidden; container-type: inline-size; background: #EFE7DD url(../img/wall-before-wide.jpg) center / cover; }
.t-split__set { position: absolute; left: 57%; transform: translateX(-50%); display: grid; transition: width .35s ease, height .35s ease, bottom .35s ease; }
.t-split__set i { display: block; min-width: 0; min-height: 0; background-image: url(../img/art-beach.jpg); background-repeat: no-repeat; box-shadow: 0 2px 5px rgba(42,33,27,.22); }
.t-split__set[data-kind="photo"] i, .t-split__set[data-kind="frame"] i { border: max(1px, calc(100cqw * 1.6 / 260)) solid var(--walnut); }
.t-split__set[data-colour="white"] i { border-color: #fff; }
.t-split__set[data-colour="oak"] i { border-color: #B98C5A; }
.t-split__note { position: absolute; left: 10px; top: 8px; font-size: 13px; font-weight: 600; background: rgba(251,250,247,.9); padding: 4px 8px; border-radius: var(--r); color: var(--walnut); }
.t-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.t-seg button { min-height: 46px; border: 1.5px solid var(--ctl); border-radius: var(--r); background: #fff; font-weight: 600; font-size: 15px; cursor: pointer; }
.t-seg button[aria-pressed="true"] { border-color: var(--walnut); box-shadow: inset 0 0 0 1px var(--walnut); }
.t-rot { justify-self: start; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--ctl); border-radius: var(--r); background: #fff; font-weight: 500; font-size: 14px; cursor: pointer; }
.t-rot[aria-pressed="true"] { border-color: var(--walnut); }
.t-opt[hidden] { display: none; }
@media (max-width: 900px) { .t-panel > .t-split__wall { order: 1; } }

/* All products page */
.t-range--third { grid-column: span 4; }
.t-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 16px; }
.t-col { text-decoration: none; display: grid; gap: 8px; align-content: start; min-width: 0; }
.t-col figure { margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--plaster); }
.t-col img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.t-col:hover img { transform: scale(1.03); }
.t-col b { font-family: var(--serif); font-variation-settings: "SOFT" 20, "WONK" 0; font-weight: 460; font-size: 19px; line-height: 1.15; }
.t-col span { font-size: 14px; color: var(--oak); }
.t-sub { margin: clamp(34px, 4vw, 56px) 0 18px; }
.t-sub:first-child { margin-top: 0; }
.t-gallery--three figure:not(.t-wide) { aspect-ratio: 4 / 5; }
@media (max-width: 1100px) { .t-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .t-range--third { grid-column: span 1; } .t-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; } }
.t-sizes__row[data-split-types] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
