/* TorreyPress design alignment v1 (Claude, 2026-11-17). Loads last on every page, after the DS2 sheets.
   Phone first (390 px); one breakpoint at 900 px. Palette and typefaces unchanged: navy, sand, white, the orange bar; Fraunces over Inter.
   1 chrome (bar link, phone header button)  2 type scale and spacing  3 art-led hero  4 promise strip
   5 art on a wall (room photo with prints placed by CSS)  6 room-set tiles  7 mockup example  8 the print  9 programs top */

/* ---------- 1. chrome ---------- */
.bar{padding:0}
.bar a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:6px 16px;color:inherit;text-decoration:none}
.bar a:hover{text-decoration:underline}
.hdr__m{display:inline-flex;align-items:center;min-height:44px;margin-left:auto;margin-right:2px;text-decoration:none;color:var(--ink);font:600 .875rem/1 var(--font-body)}
.hdr__m span{display:inline-flex;align-items:center;height:36px;padding:0 12px;border:1px solid var(--ink);border-radius:8px;white-space:nowrap}

/* ---------- 2. type scale and spacing: 32 / 28 / 16 at 390, 72 / 44 / 18 at 1440 ---------- */
body{font-size:16px;line-height:1.5}
h1{font-size:clamp(2rem,1.05rem + 3.9vw,4.5rem)}
h2{font-size:clamp(1.75rem,1.38rem + 1.52vw,2.75rem)}
.tp-long main h1{font-size:clamp(2rem,1.05rem + 3.9vw,4rem)}
.tp-long main h2{font-size:clamp(1.75rem,1.38rem + 1.52vw,2.5rem)}
.section{padding:56px 0}
.grid{gap:24px 12px}

/* ---------- 3. hero: the art first, then the headline and one button ---------- */
.hero--art{display:block;min-height:0;background:var(--ink)}
.hero--art::after{content:none}
.hero--art .hero__room{position:relative;height:56vh;height:min(56svh,calc(100svh - 322px),520px);min-height:300px;max-height:520px;overflow:hidden;background:#E9E6E1}
.hero--art picture{position:static}
.hero--art .hero__wall{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.hero--art .hero__art{position:absolute;top:31%;width:38.5%;height:auto;aspect-ratio:5/4;object-fit:cover;transform:translate(-50%,-50%);box-shadow:0 1px 2px rgba(37,34,28,.18),4px 7px 12px rgba(37,34,28,.22)}
.hero--art .hero__art--a{left:29%}
.hero--art .hero__art--b{left:71%}
.hero--art .hero__body{padding-top:16px;padding-bottom:24px}
.hero--art h1{max-width:none;font-size:2rem;line-height:1.1}
.hero--art .hero__sub{font-size:1rem;line-height:1.45;margin-top:8px;max-width:none}
.hero--art .hero__ctas{margin-top:14px}
.hero--art .hero__price{margin-top:12px;font-size:.875rem;font-weight:500}
.hero--art .hero__note{margin-top:4px;font-size:.8125rem;opacity:.82}

/* ---------- 4. promise strip ---------- */
.promise{background:#EDEAE4;padding:24px 0}
.promise ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:20px 16px}
.promise li{display:grid;grid-template-columns:24px 1fr;gap:2px 10px;align-items:start;align-content:start}
.promise svg{width:24px;height:24px;grid-row:span 2;color:var(--ink)}
.promise b{font-size:.9375rem;font-weight:600;line-height:1.25}
.promise span{font-size:.8125rem;line-height:1.4;color:#4D5866}

/* ---------- 5. art on a wall ---------- */
.wall{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--surface);border-radius:var(--radius);container-type:inline-size}
.wall__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.wall__art{position:absolute;left:50%;top:var(--y,43%);width:var(--w,58%);transform:translate(-50%,-50%);display:grid;grid-template-columns:repeat(var(--n,2),1fr);gap:8px;gap:2.4cqw}
.wall__art img{width:100%;aspect-ratio:5/4;object-fit:cover;box-shadow:0 1px 2px rgba(37,34,28,.18),3px 5px 9px rgba(37,34,28,.22)}
.wall__tag{position:absolute;left:8px;bottom:8px;font-size:.6875rem;line-height:1.2;background:rgba(255,255,255,.88);color:#25221C;padding:4px 7px;border-radius:3px}

/* ---------- 6. room-set tiles ---------- */
.tiles{display:grid;gap:28px 12px;margin-top:28px}
.tile{display:block;text-decoration:none}
.tile__txt{display:grid;grid-template-columns:1fr auto;gap:2px 16px;align-items:baseline;padding-top:12px}
.tile__name{font:600 1.0625rem/1.3 var(--font-body)}
.tile__price{font-family:var(--font-head);font-size:1.375rem;line-height:1.2;grid-row:span 2;align-self:center;white-space:nowrap}
.tile__line{color:var(--muted);font-size:.9375rem;grid-column:1}
.grid__room{grid-column:1/-1;margin:0}
.grid__room figcaption,.ba figcaption,.flat figcaption{margin-top:8px;font-size:.8125rem;color:var(--muted)}

/* ---------- 7. mockup example ---------- */
.ba{display:grid;gap:16px;margin-top:28px}
.ba figure{margin:0}
.ba figcaption{font-size:.9375rem;font-weight:600;color:var(--ink)}
.ba--row{grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
.ba--row figcaption{font-size:.8125rem}
.ba--row .wall__tag{display:none}
.ba__note{margin-top:14px;font-size:.8125rem;color:var(--muted)}
.ba__line{margin-top:16px;max-width:52ch}
.ba__cta{margin-top:20px}

/* ---------- 8. the print ---------- */
.flat{margin:24px 0 0;max-width:460px}
.flat img{width:100%;border:8px solid var(--surface);border-radius:var(--radius)}
.spec{width:100%;border-collapse:collapse;margin-top:28px;font-size:.9375rem}
.spec th,.spec td{text-align:left;vertical-align:top;padding:14px 0;border-bottom:1px solid var(--line)}
.spec tr:first-child th,.spec tr:first-child td{border-top:1px solid var(--line)}
.spec th{font-weight:600;width:34%;padding-right:12px}
.spec small{display:block;color:var(--muted);font-size:.8125rem;margin-top:2px}

/* ---------- 9. programs top ---------- */
.phero .wall{aspect-ratio:auto;height:44vh;height:44svh;min-height:280px;border-radius:0}
.phero .wall__bg{object-position:50% 85%}
.phero .wall__art{--w:86%;--y:37%}
.pstrip{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.pstrip li{padding:12px 0 12px 12px;border-left:1px solid var(--line)}
.pstrip li:first-child{padding-left:0;border-left:0}
.pstrip b{display:block;font:var(--head-weight) 1.375rem/1.2 var(--font-head)}
.pstrip span{display:block;font-size:.8125rem;line-height:1.35;color:var(--muted)}
.phero__cta{margin-top:16px}
.phero + .wrap.lt-doc{padding-top:20px}
.tp-long main .pstrip{margin-top:20px}

@media (min-width:900px){
  body{font-size:18px}
  .hdr__m{display:none}
  .section{padding:96px 0}
  .grid{gap:48px 24px}
  .hero--art{position:relative;background:#E9E6E1;color:var(--ink);height:min(calc(100svh - 109px),860px);min-height:600px}
  .hero--art .hero__room{position:absolute;inset:0;height:auto;min-height:0;max-height:none}
  .hero--art .hero__wall{object-position:50% 100%}
  .hero--art .hero__art{top:38%;width:22%}
  .hero--art .hero__art--a{left:62.5%}
  .hero--art .hero__art--b{left:86%}
  .hero--art .hero__body{position:relative;z-index:1;height:100%;display:flex;flex-direction:column;justify-content:center;padding-top:0;padding-bottom:150px}
  .hero--art .hero__body > *{max-width:46%}
  .hero--art h1{font-size:clamp(3rem,1.05rem + 3.9vw,4.5rem);line-height:1.06}
  .hero--art .hero__sub{font-size:1.125rem;margin-top:16px}
  .hero--art .hero__ctas{margin-top:28px}
  .hero--art .btn{background:var(--ink);color:#fff;align-self:flex-start}
  .hero--art .hero__price{font-size:.9375rem;margin-top:16px}
  .wall__tag{left:12px;bottom:12px}
  .promise{padding:28px 0}
  .promise ul{grid-template-columns:repeat(4,1fr);gap:32px}
  .tiles{grid-template-columns:repeat(6,1fr);gap:40px 24px;margin-top:40px}
  .tile{grid-column:span 2}
  .tile:nth-child(n+4){grid-column:span 3}
  .grid__room{display:none}
  .ba{grid-template-columns:1fr 1fr;gap:24px;margin-top:40px}
  .ba--row{gap:12px;margin-top:20px}
  .phero .wall{height:min(52svh,520px)}
  .phero .wall__art{--w:46%;--y:31%}
  .pstrip{max-width:720px}
  .pstrip li{padding:16px 0 16px 24px}
  .phero__cta .btn{width:auto}
}

/* TorreyPress design alignment v2 with carrier shipping (Claude, 2026-11-17). Appended to the v1 sheet above.
   10 hero with one print rendered into the room photo  11 flat-art set tiles  12 trust strip inside a page
   13 shipping line in forms  14 shipping charge table  15 image-led page tops */

/* ---------- 10. hero: the room photo is the art. The print is part of the image file ---------- */
.hero--art.hero--one .hero__wall{object-position:50% 30%}

/* ---------- 11. set tiles: the pieces of a set, shown flat on a plain ground ---------- */
.flatset{aspect-ratio:4/3;display:grid;grid-template-columns:repeat(var(--n,2),1fr);gap:8px;align-content:center;padding:0 var(--p,6%);background:#EDEAE4;border-radius:var(--radius);overflow:hidden}
.flatset img{width:100%;aspect-ratio:5/4;object-fit:cover}

/* ---------- 12. trust strip inside a product page or beside a form ---------- */
ul.promise--in{list-style:none;margin:20px 0;padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:16px 12px;border-radius:var(--radius)}

/* ---------- 13. shipping line in a purchase form (shown and filled by tp-pay-mode.js) ---------- */
.tp-ship{margin:12px 0;padding:12px 14px;background:#F4F1EC;border-left:3px solid var(--ink);font-size:.9375rem;line-height:1.45}
.tp-ship[hidden],.tp-ship [hidden]{display:none}
.tp-ship__row{display:flex;justify-content:space-between;gap:16px;font-weight:600;margin-bottom:6px}
.tp-ship p{margin:0}
.tp-ship p + p{margin-top:6px}

/* ---------- 14. shipping charge table ---------- */
.ship-table{width:100%;max-width:560px;border-collapse:collapse;margin:20px 0;font-size:.9375rem}
.ship-table caption{text-align:left;font-weight:600;padding-bottom:8px}
.ship-table th,.ship-table td{text-align:left;vertical-align:top;padding:10px 12px 10px 0;border-bottom:1px solid var(--line)}
.ship-table thead th{font-size:.8125rem;font-weight:600;color:var(--muted);border-bottom:1px solid var(--ink)}
.ship-table tbody th{font-weight:500}

/* ---------- 15. image-led page tops ---------- */
.phero .wall__bg{object-position:50% 30%}

@media (min-width:900px){
  .hero--art.hero--one{display:grid;grid-template-columns:minmax(0,44fr) minmax(0,56fr);background:var(--ink);color:#fff}
  .hero--art.hero--one .hero__room{position:relative;inset:auto;grid-column:2;grid-row:1;height:100%}
  .hero--art.hero--one .hero__body{grid-column:1;grid-row:1;max-width:none;margin:0;padding:0 56px 0 max(40px,calc((100vw - 1200px)/2 + 40px))}
  .hero--art.hero--one .hero__body > *{max-width:none}
  .hero--art.hero--one h1{font-size:clamp(2.75rem,.6rem + 3.4vw,4rem)}
  .hero--art.hero--one .btn{background:#fff;color:var(--ink)}
  ul.promise--in{padding:20px;gap:20px 16px}
}

/* ---------- 16. after the first visual gate (FIX, evidence/visual-gate-run1-FIX.md) ---------- */
/* room images inside the mockup page aside: no inherited offset, border or rounding on the photo itself; one above the other */
.plan-layout>aside .wall__bg{margin:0;max-height:none;border:0;border-radius:0;box-shadow:none}
.ba--row{grid-template-columns:1fr;gap:16px}
.ba--row .wall__tag{display:block}
/* art pages: the room view is one image with the print in it */
.room>img.room__baked{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}
.art-view--room .wall{border-radius:var(--radius)}
.mockup-faq h3{margin-top:24px}
.blog-product h2{margin-bottom:12px}
.blog-product img{margin-bottom:12px}
/* page tops: the headline block that sits under (phone) or beside (desktop) the room image */
.phero__txt{padding:20px 20px 0}
.phero__txt h1{margin-bottom:12px}
.phero__txt p{margin-top:12px}
.phero__txt .pstrip{margin-top:16px}
.flatset--4{aspect-ratio:2/1}
.grid .card--wide{grid-column:1/-1}
.tp-program-price-table{margin-top:28px}
/* after the fourth visual gate: two live layout faults on pages this package rewords */
main>.answer-related{max-width:1200px;margin:40px auto 0;padding:0 20px}
.lt-doc--spaced>h2{margin-top:40px}
.lt-doc--spaced>h3{margin-top:28px}
@media (min-width:900px){
  .ba--row{grid-template-columns:1fr 1fr;gap:12px}
  main>.answer-related{padding:0 40px}
  .ba--row .wall__tag{display:none}
  .steps li{align-content:start}
  .gal figure.room{grid-column:1/-1}
  /* image-led page tops: the room image beside the headline and button, as on the home page */
  .phero__in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center;max-width:1200px;margin:0 auto;padding:40px 40px 8px}
  .phero__img{order:2}
  .phero__txt{padding:0}
  .phero .wall{height:auto;min-height:0;aspect-ratio:4/3;border-radius:var(--radius)}
  .grid .card--wide{grid-column:auto}
}

/* TorreyPress design alignment v3 with carrier shipping (Claude, 2026-11-17). Appended to the v1 and v2 sheets above.
   16 destination lines in a purchase form (shown by tp-pay-mode.js) */

/* ---------- 16. destination lines: state needed, ZIP and state disagree, no online shipping ---------- */
.form-status[data-tp-quote],.form-status[data-tp-state-need],.form-status[data-tp-mismatch]{margin:12px 0;font-size:.9375rem;line-height:1.45}
.form-status[hidden],.order-total[hidden]{display:none}
.field select[name=deliveryState],.field select[name=deliveryCountry]{min-height:52px}

/* TorreyPress design alignment v4 with carrier shipping (Claude, 2026-11-17). Appended to the v1, v2 and v3 sheets above.
   17 the count line in a program form   18 form controls at 16 px */

/* ---------- 17. count line: a program piece count that cannot be ordered online ---------- */
.form-status[data-tp-count]{margin:12px 0;font-size:.9375rem;line-height:1.45}

/* ---------- 18. form controls: 16 px, so iOS does not zoom the page when a field takes focus ---------- */
form[data-tp-pay-form] .field input:not([type=checkbox]):not([type=radio]):not([type=file]),form[data-tp-pay-form] .field select{font-size:1rem}

/* TorreyPress new art v1 (Claude, 2026-11-17), v2 (2026-11-18). Appended to the v1 to v4 sheets above.
   19 picture wrapper  20 families and the collection  21 one print in a room  22 art page gallery  23 hero wall label  24 v2 */

/* ---------- 19. <picture> carries a JPEG fallback and takes no box of its own ---------- */
main picture{display:contents}

/* a closed phone menu takes no room (on /contact/, /plan/ and /mockup/ it pushed the page 22 px wide at 320) */
details.menu:not([open])>.menu__panel{display:none}
/* the one-column form pages: the column may be narrower than its widest field (22 px sideways scroll at 320) */
.plan-layout{grid-template-columns:minmax(0,1fr)}
.plan-layout>*{min-width:0}
.plan-form .field{min-width:0}
.plan-form input[type=file]{width:100%;max-width:100%;min-width:0}

/* ---------- 20. the collection: two families, and the line beside an invented scene ---------- */
.card__inv,.inv{font-size:.8125rem;line-height:1.35;color:var(--muted);margin-top:2px}
.inv{margin-top:6px}
h3.fam{font-family:var(--font-body);font-weight:600;font-size:1.0625rem;letter-spacing:0;margin-top:28px}
h2.fam{font-size:1.5rem;margin-top:40px}
h2.fam:first-child{margin-top:0}
.fam__line{color:var(--muted);margin-top:6px;font-size:.9375rem}
.grid.grid--fam{margin-top:14px}
.fam__all{margin-top:28px}
.fam__all .btn{width:100%}
#art .disclose{margin-top:16px}

/* a row that swipes sideways on a phone and is a grid on desktop: the collection and the rooms on the home page */
.rail{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:20px;margin:24px -20px 0;padding:0 20px 4px;scrollbar-width:none}
.rail::-webkit-scrollbar{display:none}
.rail>*{flex:0 0 64%;scroll-snap-align:start;margin:0}
.rail--rooms>*{flex-basis:84%}
.rail figcaption{margin-top:8px;font-size:.9375rem;color:var(--muted)}
.rail figcaption a{font-weight:600;color:var(--ink)}
.rail:focus-visible{outline-offset:-3px}

/* ---------- 21. one print in a room: 5 by 4 room images ---------- */
.wall.wall--54{aspect-ratio:5/4}
.rooms2{display:grid;gap:20px;margin-top:28px}
.rooms2 figure{margin:0}
.rooms2 figcaption{margin-top:8px;font-size:.9375rem;color:var(--muted)}
.rooms2 figcaption a{font-weight:600;color:var(--ink)}
.phero .wall.wall--54{aspect-ratio:auto}
.phero .wall.wall--54 .wall__bg{object-position:50% 40%}

/* ---------- 22. art page gallery: every slide is 5 by 4 ---------- */
.room.room--54{aspect-ratio:5/4}
.gal .room--54 figcaption{max-width:calc(100% - 24px)}

/* ---------- 23. hero: the wall label above the headline ---------- */
.hero--art .hero__room{height:min(56svh,calc(100svh - 372px),520px)}
.hero__label{font-size:.8125rem;line-height:1.3;opacity:.9;margin-bottom:8px}
@media (max-height:700px) and (max-width:899px){.hero__label{display:none}.hero--art .hero__room{height:min(56svh,calc(100svh - 322px),520px)}}   /* a short phone: the label gives its room to the picture */
.hero__label a{font-family:var(--font-head);font-size:1.0625rem;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em;display:inline-flex;align-items:center;min-height:44px}

/* ---------- 24. v2 (2026-11-18) ---------- */
/* the hero reserve above went from 356 to 372 px (the short-phone rule stays at 322, so the art keeps half of a 390 x 664 screen): at 360 x 780 and 390 x 750 the subline wraps
   to two lines and the button's last 4 px fell below the fold */
/* collection cards show the whole 5 by 4 print, not a crop of it */
.card .card__img.art{object-fit:contain}
/* the art page gallery is a keyboard stop; the full-size link under it */
.gal:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.gal__full{margin:10px 20px 0;font-size:.875rem}
.gal__full a{display:inline-flex;align-items:center;min-height:44px}
/* room sets and programs: the eleven prints a plan chooses from */
.set-all{margin-top:14px}
.set-all a{white-space:nowrap}
.mockup-next{margin-top:12px}
/* the checkout notice is empty until /api/health answers, then gets one or two lines: keep its room so the page does not move */
p[data-tp-pay-note][hidden]{display:block;visibility:hidden;min-height:3em}

@media (min-width:900px){
  .plan-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
  h2.fam{font-size:2rem;margin-top:64px}
  h3.fam{font-size:1.25rem;margin-top:40px}
  .grid.grid--fam{margin-top:20px}
  .fam__all .btn{width:auto}
  .rooms2{grid-template-columns:1fr 1fr;gap:24px;margin-top:40px}
  .rail{display:grid;grid-template-columns:repeat(3,1fr);gap:48px 24px;overflow:visible;margin:40px 0 0;padding:0}
  .rail--rooms{grid-template-columns:1fr 1fr;gap:24px}
  .gal figure.room.room--54{grid-column:auto}
  .gal figure.room.room--54:first-child{grid-column:1/-1}   /* v2: the living room view leads the gallery at full width */
  .gal__full{margin-left:0;margin-right:0}
  .hero--art.hero--one .hero__room{height:100%}
  .phero .wall.wall--54{aspect-ratio:5/4}
}
