/* The gallery, field notes and case studies use the same type as the product tour. */
.tx-editorial {
  --tx-sky:#cad9e7;
  --tx-wall:#dedbd1;
  --tx-serif:"Instrument Serif",Georgia,serif;
  color:var(--text); font-family:var(--ui); overflow-wrap:break-word;
}
[data-theme="dark"] .tx-editorial { --tx-wall:#243033; --tx-sky:#334852; }
.tx-editorial *, .tx-editorial *::before, .tx-editorial *::after { box-sizing:border-box; }
.tx-editorial .tx-crumbs { padding-block:clamp(15px,2vw,28px); }
.tx-title { margin:0; color:inherit; font:560 clamp(3.4rem,6.5vw,7.5rem)/.96 var(--ui); letter-spacing:-.073em; text-wrap:balance; }
.tx-title em { display:block; font:400 1.1em/.92 var(--tx-serif); letter-spacing:-.05em; }
.tx-intro { max-width:940px; padding-block:clamp(24px,4vw,62px) clamp(36px,5vw,76px); text-align:center; }
.tx-intro > p,.tx-project-intro > p,.tx-field > header > p,.tx-notes header > p:last-child,.tx-case-text > p,.tx-sequel p {
  font:450 clamp(1rem,1.26vw,1.19rem)/1.58 var(--ui); letter-spacing:-.018em; color:var(--text-secondary);
}
.tx-intro > p { margin:clamp(17px,2.3vw,29px) auto 0; max-width:58ch; text-wrap:pretty; }
.tx-editorial .tx-button { display:inline-flex; min-height:46px; padding:12px 23px; align-items:center; justify-content:center; border-radius:40px; background:var(--text); color:var(--page); text-decoration:none; font:600 .94rem/1.3 var(--ui); }
.tx-button:hover { box-shadow:0 0 0 3px var(--border); }
.tx-subtitle,.tx-card-foot small,.tx-guide-caption > span:first-child,.tx-specimen > span,.tx-next small,.tx-card-foot > div >span {
  display:block; color:var(--text-secondary); font:580 .85rem/1.4 var(--ui); letter-spacing:.015em;
}
.tx-subtitle { margin:0 0 18px; }
.tx-textlink,.tx-case-link { color:var(--text); font:580 .93rem/1.5 var(--ui); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; }
.tx-wall { isolation:isolate; position:relative; overflow:hidden; border-radius:clamp(12px,2vw,28px); height:clamp(245px,33vw,495px); background:radial-gradient(ellipse at 40% 0%,#fff8,transparent 70%),linear-gradient(150deg,var(--tx-sky),var(--tx-wall) 63%); }
[data-theme="dark"] .tx-wall { background:radial-gradient(ellipse at 44% 0%,#6d838a69,transparent 70%),linear-gradient(150deg,var(--tx-sky),var(--tx-wall) 63%); }
.tx-wall::before { content:""; position:absolute; inset:auto 0 0; height:9%; background:linear-gradient(#2b312d26,transparent 10%,#fff1); border-top:1px solid #3333; }
.tx-wall-pieces { height:100%; width:min(92%,1040px); margin:auto; display:flex; align-items:center; justify-content:center; gap:5%; perspective:950px; }
.tx-wall-pieces > div { flex:0 1 26%; box-shadow:3px 5px 6px #172d2826,7px 16px 23px #172d2836; }
.tx-wall-pieces > div:nth-child(1) { transform:rotate(-6deg) translateY(9%); }
.tx-wall-pieces > div:nth-child(2) { transform:rotate(2deg) translateY(-4%) scale(1.12); z-index:1; }
.tx-wall-pieces > div:nth-child(3) { transform:rotate(5deg) translateY(6%); }
.tx-wall img, .tx-mounted img,.tx-loupe-stage img,.tx-next img { display:block; width:100%; height:auto; object-fit:contain; }
.tx-catalog { padding-block:clamp(42px,7vw,105px); }
.tx-catalog-bar { display:flex; align-items:center; justify-content:space-between; gap:15px 25px; flex-wrap:wrap; margin-bottom:clamp(20px,3vw,36px); }
.tx-catalog-bar h2,.tx-sequel h2 { margin:0; font:550 clamp(1.75rem,3vw,3.15rem)/1.03 var(--ui); letter-spacing:-.055em; }
.tx-catalog-bar .filters { display:flex; align-items:center; flex-wrap:wrap; gap:4px; border:0; padding:0; margin:0; }
.tx-catalog-bar .filters button { min-height:42px; border-radius:30px; padding:9px 14px; font:550 .88rem/1.25 var(--ui); white-space:normal; background:transparent; border:1px solid var(--border); color:var(--text); }
.tx-catalog-bar .filters button[aria-pressed="true"] { background:var(--text); color:var(--page); border-color:var(--text); }
.tx-catalog-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(24px,4.5vw,70px) clamp(16px,2.2vw,36px); }
.tx-tone-club_event { --tx-mount:#c4cec3; --tx-ink:#243f35; }
.tx-tone-referral { --tx-mount:#bacbd7; --tx-ink:#273e4d; }
.tx-tone-team { --tx-mount:#d9b6a0; --tx-ink:#543930; }
.tx-tone-year_plan { --tx-mount:#d5d7b0; --tx-ink:#4a503b; }
.tx-catalog-item { min-width:0; }
.tx-catalog-item[hidden] { display:none !important; }
.tx-catalog .tx-catalog-item > a { display:block; color:var(--text); padding:0; text-decoration:none; }
.tx-mounted { display:grid; place-items:center; height:clamp(270px,31vw,465px); background:linear-gradient(155deg,#fff4,transparent 70%),var(--tx-mount); border-radius:14px; overflow:hidden; }
.tx-mounted img { width:auto; height:78%; max-width:80%; object-fit:contain; transform:rotate(-2deg); box-shadow:3px 6px 15px #15281f29; }
.tx-catalog-item:nth-child(even) .tx-mounted img { transform:rotate(3deg); }
.tx-card-foot { display:flex; align-items:end; justify-content:space-between; gap:12px; margin-top:18px; }
.tx-card-foot h3 { font:550 clamp(1.45rem,2.35vw,2.55rem)/1.08 var(--ui); letter-spacing:-.047em; margin:4px 0 0; }
.tx-card-foot > .tx-textlink { white-space:nowrap; font-size:.85rem; }
.tx-project,.tx-field { display:grid; grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr); gap:clamp(24px,6vw,105px); align-items:center; padding-block:clamp(20px,3vw,48px) clamp(45px,7.2vw,112px); }
.tx-project-intro > p,.tx-field > header > p,.tx-case-text > p { margin:clamp(18px,2vw,30px) 0 24px; }
.tx-project-intro > p,.tx-field >header >p { max-width:41ch; }
.tx-loupe { --tx-mount-shadow:#26343130; position:relative; padding:0; border:0; min-width:0; margin:0; }
.tx-radio { position:absolute; width:1px; height:1px; overflow:hidden; opacity:0; }
.tx-loupe-controls { position:absolute; z-index:1; top:clamp(12px,2vw,22px); left:50%; transform:translateX(-50%); display:inline-flex; border-radius:40px; padding:3px; background:#f8f8f1; color:#1b2925; box-shadow:0 2px 12px #1e26141a; }
.tx-loupe-controls label { cursor:pointer; display:inline-grid; place-items:center; white-space:nowrap; min-height:38px; border-radius:40px; padding:4px 16px; font:560 .84rem/1 var(--ui); }
#tx-poster:checked ~ .tx-loupe-controls label[for="tx-poster"],#tx-detail:checked ~ .tx-loupe-controls label[for="tx-detail"] { background:#20312e; color:white; }
#tx-poster:focus-visible ~ .tx-loupe-controls label[for="tx-poster"],#tx-detail:focus-visible ~ .tx-loupe-controls label[for="tx-detail"] { outline:2px solid #0659a3; outline-offset:2px; }
.tx-loupe-stage { height:clamp(400px,42vw,660px); display:grid; place-items:center; overflow:hidden; padding:70px 20px 28px; background:radial-gradient(ellipse at 20% 0%,#ffffff57,transparent 70%),var(--tx-mount); border-radius:18px; }
.tx-loupe-stage img { height:100%; width:auto; max-width:80%; min-height:0; box-shadow:4px 7px 16px var(--tx-mount-shadow); transform:rotate(-3deg); }
#tx-detail:checked ~ .tx-loupe-stage img { transform:scale(2.15); transform-origin:47% 30%; }
.tx-loupe-caption { display:flex; align-items:baseline; justify-content:space-between; gap:8px; margin:11px 4px 0; color:var(--text-muted); font:540 .83rem/1.4 var(--ui); }
.tx-loupe-detail, #tx-detail:checked ~ .tx-loupe-caption .tx-loupe-full { display:none; }
#tx-detail:checked ~ .tx-loupe-caption .tx-loupe-detail { display:inline; }
.tx-notes { background:var(--surface-muted); padding-block:clamp(45px,6vw,96px); }
.tx-notes-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.86fr); gap:clamp(35px,7vw,120px); align-items:center; }
.tx-notes header h2 { font-size:clamp(2.55rem,4.7vw,5.45rem); }
.tx-notes header > p:last-child { max-width:43ch; margin-bottom:0; }
.tx-briefcard { background:var(--surface); padding:clamp(22px,3.1vw,46px); border:1px solid var(--border); border-radius:15px; }
.tx-briefcard h3,.tx-brief-meta b { font:590 .88rem/1.4 var(--ui); letter-spacing:0; margin:0; }
.tx-briefcard blockquote { color:var(--text); margin:18px 0 22px; font:400 clamp(1.55rem,2vw,2.3rem)/1.2 var(--tx-serif); }
.tx-brief-meta { padding-top:18px; border-top:1px solid var(--border); }
.tx-brief-meta ul,.tx-case-text ul { font:450 .98rem/1.55 var(--ui); color:var(--text-secondary); padding-left:1.15em; margin:10px 0 0; }
.tx-brief-meta li + li,.tx-case-text li + li { margin-top:6px; }
.tx-sequel { display:grid; grid-template-columns:minmax(0,1fr) minmax(210px,.7fr); gap:clamp(24px,7vw,120px); align-items:center; padding-block:clamp(44px,7vw,110px); }
.tx-sequel p { margin:11px 0 0; max-width:52ch; }
.tx-next { display:flex; align-items:center; gap:clamp(16px,2vw,28px); border-block:1px solid var(--border); padding:18px 0; text-decoration:none; color:var(--text); }
.tx-next img { width:clamp(54px,7vw,104px); }
.tx-next b { display:block; font:560 clamp(1.2rem,1.6vw,1.8rem)/1.13 var(--ui); letter-spacing:-.03em; margin-top:4px; }

.tx-shelf { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(18px,2.4vw,40px); padding-bottom:clamp(48px,7vw,108px); }
.tx-guide-card { display:block; min-width:0; color:var(--text); text-decoration:none; }
.tx-cover-mount,.tx-field-art { display:grid; place-items:center; background:var(--tx-wall); border-radius:16px; overflow:hidden; }
.tx-cover-mount { aspect-ratio:.95; }
.tx-guide-card:nth-child(2) .tx-cover-mount { background:var(--tx-sky); }
.tx-guide-card:nth-child(3) .tx-cover-mount { background:var(--surface-muted); }
.tx-cover { container-type:inline-size; position:relative; display:flex; flex-direction:column; width:66%; aspect-ratio:.75; padding:6% 7%; overflow:hidden; box-shadow:2px 4px 8px #141a142b,8px 12px 24px #141a1421; background:#b7c9dc; color:#193044; transform:rotate(-4deg); }
.tx-cover::before { content:""; position:absolute; top:0; left:4%; bottom:0; width:1px; background:#f7f8fc66; box-shadow:1px 0 2px #2022202b; }
.tx-cover > span { display:block; font:570 clamp(.64rem,5.4cqw,.85rem)/1.3 var(--ui); }
.tx-cover > b { display:block; margin-top:11%; font:400 clamp(1.3rem,17cqw,3.8rem)/1 var(--tx-serif); letter-spacing:-.05em; }
.tx-cover-calendar { display:grid; grid-template-columns:repeat(4,1fr); margin-top:auto; border-left:1px solid #213b4b7a; border-top:1px solid #213b4b7a; }
.tx-cover-calendar > * { aspect-ratio:1.2; border-right:1px solid #213b4b7a; border-bottom:1px solid #213b4b7a; }
.tx-cover-calendar b { background:currentColor; }
.tx-cover-brief { background:#efdec7; color:#503321; transform:rotate(3deg); }
.tx-cover-type { margin-top:auto; font:400 clamp(2.25rem,46cqw,10rem)/.87 var(--tx-serif); letter-spacing:-.08em; }
.tx-cover-type span { display:block; height:1px; margin-top:6%; background:currentColor; }
.tx-cover-brand { background:#364a3c; color:#f2eedc; transform:rotate(-2deg); }
.tx-cover-print { display:flex; justify-content:space-between; align-items:stretch; flex:1; gap:10%; margin-top:14%; min-height:0; }
.tx-cover-print img { display:block; width:64%; height:100%; min-height:0; object-fit:cover; }
.tx-cover-print >div { display:flex; width:24%; flex-direction:column; }
.tx-cover-print i { background:#a1b68c; flex:1; }
.tx-cover-print i:nth-child(2) { background:#e4dfab; }
.tx-cover-print i:nth-child(3) { background:#b36f52; }
.tx-guide-caption { padding:20px 0 0; }
.tx-guide-caption h2 { margin:7px 0 8px; font:550 clamp(1.5rem,2.35vw,2.65rem)/1.07 var(--ui); letter-spacing:-.052em; max-width:14ch; }
.tx-guide-caption p { color:var(--text-secondary); font:450 1rem/1.48 var(--ui); margin:0 0 13px; }
.tx-field { grid-template-columns:minmax(0,.93fr) minmax(0,1fr); gap:clamp(27px,5vw,85px); }
.tx-field .tx-title { font-size:clamp(3rem,5.4vw,6rem); }
.tx-field-art { position:relative; height:clamp(290px,34vw,500px); background:radial-gradient(ellipse at top left,#ffffff36,transparent),var(--tx-sky); }
.tx-field-cover { position:absolute; width:47%; left:7%; display:grid; place-items:center; }
.tx-field-cover .tx-cover { width:100%; transform:rotate(-9deg); }
.tx-specimen { position:relative; grid-area:1/1; margin:8% 0 0 27%; width:57%; background:#f8f5eb; color:#253330; box-shadow:1px 6px 22px #16242238; padding:clamp(15px,2vw,29px); transform:rotate(5deg); }
.tx-specimen > span { font-size:.76rem; color:#4f5a56; }
.tx-specimen h2 { font:400 clamp(1.4rem,2.6vw,3rem)/1 var(--tx-serif); letter-spacing:-.035em; margin:10px 0 13px; }
.tx-specimen dl { display:grid; gap:8px; margin:0; }
.tx-specimen dl div { border-top:1px solid #b9beb3; padding-top:5px; }
.tx-specimen dt { font:550 .74rem/1.32 var(--ui); color:#515e59; }
.tx-specimen dd { font:540 .86rem/1.34 var(--ui); margin:1px 0 0; }
.tx-field-brief { background:var(--tx-wall); }
.tx-field-brand { background:var(--surface-muted); }
.tx-workspace { background:var(--surface-muted); padding:clamp(21px,3vw,45px) 0; scroll-margin-top:75px; }
.tx-workspace .shell.viz-section { padding-block:0; }

.tx-cases { padding-bottom:clamp(44px,7vw,100px); }
.tx-case { display:grid; grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr); align-items:center; gap:clamp(24px,5vw,83px); margin-bottom:clamp(38px,7vw,105px); padding-top:clamp(18px,2.4vw,36px); border-top:1px solid var(--border); }
.tx-case:last-child { margin-bottom:0; }
.tx-case:nth-child(2) { grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr); }
.tx-case:nth-child(2) .tx-case-photo { order:2; }
.tx-case-photo { overflow:hidden; border-radius:18px; background:var(--surface-muted); }
.tx-case-photo img { display:block; width:100%; aspect-ratio:1.2; height:auto; object-fit:cover; }
.tx-case-text h2 { margin:0; font:485 clamp(2.25rem,4.2vw,5rem)/1.02 var(--tx-serif); letter-spacing:-.037em; text-wrap:balance; }
.tx-case-text >p { margin-block:18px; }
.tx-case-text details { border-block:1px solid var(--border); padding-block:1px; margin:18px 0 8px; }
.tx-case-text details summary { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:46px; cursor:pointer; list-style:none; font:550 .96rem/1.4 var(--ui); }
.tx-case-text details summary::-webkit-details-marker { display:none; }
.tx-case-text details summary::after { content:"+"; font:400 1.4rem/1 var(--ui); }
.tx-case-text details[open] summary::after { content:"−"; }
.tx-case-text ul { margin:0 0 16px; }
.tx-case-link { display:inline-flex; min-height:44px; align-items:center; }
@media (prefers-reduced-motion:no-preference) {
  .tx-mounted img,.tx-guide-card .tx-cover,.tx-loupe-stage img { transition:transform .45s cubic-bezier(.22,.7,.25,1); }
  .tx-catalog-item >a:hover .tx-mounted img { transform:rotate(0deg) scale(1.035); }
  .tx-guide-card:hover .tx-cover { transform:rotate(0deg) translateY(-3px); }
}
@media (max-width:840px) {
  .tx-project { gap:22px; }
  .tx-project .tx-title { font-size:clamp(3rem,6.3vw,4.4rem); }
  .tx-shelf { gap:16px; }
  .tx-wall-pieces { width:93%; }
}
@media (max-width:700px) {
  .tx-intro { padding-top:18px; }
  .tx-title { font-size:clamp(2.65rem,9.8vw,4.65rem); }
  .tx-project,.tx-field,.tx-notes-grid,.tx-case,.tx-case:nth-child(2),.tx-sequel { grid-template-columns:minmax(0,1fr); }
  .tx-project,.tx-field { padding-top:20px; gap:24px; }
  .tx-project .tx-title,.tx-field .tx-title { font-size:clamp(2.7rem,9.6vw,4.3rem); }
  .tx-project-intro,.tx-field > header { text-align:center; }
  .tx-project-intro >p,.tx-field >header >p { margin:16px auto 18px; }
  .tx-loupe-stage { height:clamp(320px,66vw,440px); padding:64px 14px 18px; }
  .tx-catalog-grid { gap:27px 13px; }
  .tx-mounted { height:clamp(180px,43vw,292px); }
  .tx-card-foot { display:block; margin-top:12px; }
  .tx-card-foot >.tx-textlink { display:inline-block; margin-top:7px; }
  .tx-wall { height:clamp(185px,46vw,310px); }
  .tx-wall-pieces { gap:4%; width:100%; }
  .tx-catalog-bar .filters button { min-height:44px; }
  .tx-shelf { grid-template-columns:minmax(0,1fr); gap:0; }
  .tx-guide-card { display:grid; grid-template-columns:minmax(120px,.76fr) minmax(0,1fr); align-items:center; column-gap:clamp(15px,4vw,27px); padding:18px 0; border-top:1px solid var(--border); }
  .tx-guide-caption { padding:0; }
  .tx-cover-mount { aspect-ratio:.83; }
  .tx-cover { width:73%; }
  .tx-guide-caption h2 { font-size:clamp(1.4rem,4.4vw,2.1rem); }
  .tx-guide-caption p { font-size:.96rem; }
  .tx-field-art { height:clamp(292px,71vw,405px); }
  .tx-case:nth-child(2) .tx-case-photo { order:0; }
  .tx-case-photo img { aspect-ratio:1.55; }
  .tx-case .tx-subtitle { margin-bottom:12px; }
}
@media (max-width:410px) {
  .tx-catalog-grid { grid-template-columns:1fr; }
  .tx-mounted { height:clamp(240px,72vw,295px); }
  .tx-card-foot { display:flex; }
  .tx-card-foot >.tx-textlink { white-space:normal; }
  .tx-guide-card { grid-template-columns:minmax(90px,.69fr) minmax(0,1fr); }
  .tx-cover-mount { aspect-ratio:.74; }
  .tx-guide-caption .tx-textlink { font-size:.85rem; }
  .tx-loupe-caption { flex-wrap:wrap; }
  .tx-specimen { width:65%; margin-left:22%; padding:13px; }
}
