/* The gallery introduces three materials. Each returns at a closer scale in its case. */
.examples {
  color: #192c31;
  background: radial-gradient(ellipse at 78% 100%, #c7d3df 0, transparent 53%), linear-gradient(125deg,#f7f5ef,#e5e7ef);
  padding-block: clamp(48px,6.3vw,104px) clamp(56px,6.5vw,112px);
}
.work-header,.case-heading,.approach-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: clamp(28px,5vw,90px);
}
.work-header h2,.approach h2 { font-size: clamp(50px,5.5vw,104px); line-height:.99; margin-top:.18em }
.work-header em { color:#405580 }
.work-header > p,.case-intro p,.approach-grid > div + div > p { max-width:46ch; text-wrap:pretty }
.work-header > p,.case-intro { font-size:clamp(17px,1.38vw,22px); line-height:1.48 }
.case-links {
  display:grid; grid-template-columns:1.15fr 1fr 1fr; gap:clamp(10px,1.1vw,22px);
  margin-top:clamp(24px,3.3vw,59px);
}
.cover-study {
  --tile:#11243b;
  position:relative; isolation:isolate; overflow:hidden; min-width:0;
  display:flex; flex-direction:column; justify-content:flex-end;
  aspect-ratio:1.23; padding:clamp(18px,2.1vw,38px); color:#fff; background:var(--tile);
  box-shadow:0 16px 30px -17px #12233899,0 1px 0 #ffffff80 inset; border-radius:3px;
}
.cover-study img { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; transition:transform .45s ease-out }
.cover-study:before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(0deg,var(--tile) 0%,transparent 88%) }
.cover-study:after { content:""; position:absolute; inset:0; border:1px solid #ffffff30; border-radius:inherit; pointer-events:none }
.cover-study span { font-size:.73rem; letter-spacing:.08em; color:var(--tile-tint) }
.cover-study b { font-size:clamp(23px,2.35vw,44px); font-weight:570; letter-spacing:-.055em; line-height:1.05; margin:.2em 34px 0 0; max-width:12ch }
.cover-study i {
  position:absolute; right:clamp(14px,1.6vw,30px); bottom:clamp(15px,2vw,36px);
  width:32px; height:32px; display:grid; place-items:center; border:1px solid #ffffff91;
  border-radius:50%; font:normal 21px/1 Arial,sans-serif;
}
.study-product { --tile:#0a0b3c; --tile-tint:#c7dcff }
.study-bids { --tile:#381205; --tile-tint:#ffd8b8 }
.study-margin { --tile:#05382f; --tile-tint:#c6fff2 }
.study-margin:before { background:linear-gradient(0deg,#032b2a 1%,#073c368c 52%,transparent 88%) }
@media(hover:hover) { .cover-study:hover img { transform:scale(1.055) } }
.cover-study:focus-visible { outline:4px solid #245cbd; outline-offset:5px }

.case { padding-block:clamp(52px,7vw,118px); position:relative; isolation:isolate }
.case-heading h2 { font-size:clamp(48px,5.45vw,102px); line-height:.98; margin-top:.25em }
.underlink { display:inline-flex; gap:12px; align-items:center; min-height:44px; font-size:.92rem; font-weight:650; text-decoration:underline; text-underline-offset:5px; margin-top:8px }
.underlink:hover,.listen summary:hover { text-decoration-thickness:2px }
.under-case { display:flex; justify-content:space-between; align-items:flex-start; gap:30px; padding-top:20px }
.under-case > p { font-size:1rem; max-width:68ch }
.under-case strong,.cost-action strong { margin-right:.35em }
.listen { width:max-content; max-width:360px; flex-shrink:0; font-size:.91rem }
.listen[open] { width:min(350px,42%) }
.listen summary { min-height:44px; cursor:pointer; text-decoration:underline; text-underline-offset:4px }
.listen audio { display:block; margin:5px 0 11px; width:100% }
.listen p { font-size:.92rem; line-height:1.5 }
.small-type { font-size:.8rem }
.case :focus-visible { outline:3px solid var(--focus,#d37aff); outline-offset:4px }

/* Dark optical bench and a raised readout. Light travels toward the chart. */
.product-case {
  color:#f3f4ff; --focus:#ffcf81;
  background:radial-gradient(ellipse at 27% 48%,#34328e 0,transparent 55%),linear-gradient(120deg,#12163e,#141034 63%,#181b4e);
}
.product-case:before {
  content:""; position:absolute; z-index:-1; inset:0; pointer-events:none;
  background:linear-gradient(90deg,rgba(7,11,44,.55),rgba(15,16,54,.26) 47%,#131437 90%),
    linear-gradient(180deg,#111639 0%,transparent 37%,rgba(15,15,50,.25) 72%,#161439 100%),url("product-fibers.webp") left 67% / 72% auto no-repeat;
}
.product-spread { display:grid; grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr); align-items:center; gap:clamp(32px,4.4vw,84px) }
.product-case .case-heading { display:block; align-self:stretch; position:relative; min-height:480px }
.product-case .case-heading > div:first-child { padding-top:14px }
.product-case h2 { max-width:13ch; text-shadow:0 2px 18px #08091db3 }
.product-case h2 em { color:#c9c6ff }
.product-case .case-intro {
  max-width:44ch; margin-top:34px; color:#f4f3ff; font-size:clamp(17px,1.35vw,22px);
  text-shadow:0 1px 8px #020318,0 1px 4px #050923;
}
.product-case .eyebrow { color:#d8d9ff }.product-case .rule-dot { background:#adbcff }
.product-case .under-case { color:#e0e4ff; margin-top:20px; border-top:1px solid #8696cd72 }
.product-case #signal-map {
  position:relative; min-width:0; border:1px solid #94a3e09c; border-radius:13px;
  box-shadow:0 22px 52px -13px #04071dce,0 1px 0 #d6ddff60 inset;
}
.fallback { padding:clamp(22px,4vw,65px) }.fallback strong { font-size:clamp(48px,6vw,112px) }

/* Bronze cutaway and an estimator's illuminated inspection sheet. */
.bid-case {
  color:#3c231a; --focus:#6d2192;
  background:radial-gradient(ellipse at 100% 0,#ffe6cb,transparent 65%),linear-gradient(115deg,#f6ddbe 5%,#e6b189 72%,#d49e82);
}
.bid-case h2 em { color:#85421e }.bid-case .rule-dot { background:#9c4427 }
.bid-case .case-heading,.margin-case .case-heading { margin-bottom:clamp(26px,3.1vw,54px) }
.bid-exhibit { display:grid; grid-template-columns:1.12fr .88fr; position:relative; border-radius:6px; box-shadow:0 24px 45px -22px #6e331c94; overflow:hidden }
.bid-total { position:relative; isolation:isolate; display:flex; align-items:flex-end; background:#361509; color:white; min-width:0; min-height:410px }
.bid-photo { position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#2d1005e6,transparent 82%),linear-gradient(0deg,#260c04,transparent 68%),url("bid-impeller.webp") 62% center / cover }
.bid-stats { width:100%; padding:clamp(24px,3.3vw,60px) }
.bid-stats .small-type { color:#ffdecb }
.bid-total h3 { font-size:clamp(58px,6.3vw,122px); line-height:.9; margin:.3em 0; text-shadow:0 1px 14px #321005 }
.bid-total h3 em { color:#ffd3a1 }
.bid-track { display:flex; gap:4px; height:10px; width:min(100%,405px); margin:17px 0 8px; background:#28140c; border-radius:2px; overflow:hidden }
.bid-track i { height:100% }.bid-track i:first-child { flex:16; background:#b1f1d6 }.bid-track i:nth-child(2) { flex:5; background:repeating-linear-gradient(125deg,#ed974e 0 4px,#ffe8c6 4px 7px) }.bid-track i:last-child { flex:3; border:1px solid #ffdbc8; background:#764b40 }
.bid-key { color:#fff5e9; font-size:.87rem }.bid-key span { margin-inline:3px }
.bid-proof {
  color:#39251d; background:linear-gradient(145deg,#fff9e9 13%,#f7ead6 78%,#edddc7); display:flex; flex-direction:column; min-width:0;
  padding:clamp(25px,3.6vw,62px); border:1px solid #ffffffe0; border-left:2px solid #d3a786;
}
.choices,.cost-switch { display:flex; flex-wrap:wrap; gap:5px; margin:13px 0 18px }
.choices button,.cost-switch button {
  border-radius:30px; border:1px solid #ae947f; padding:8px 14px; min-height:44px;
  font:600 .84rem/1.25 var(--body); background:transparent; transition:background .18s,box-shadow .18s,transform .15s;
}
.choices button[aria-pressed="true"] { background:#683722; border-color:#683722; color:white; box-shadow:0 3px 6px #6e422b40 }
.choices button:hover:not([aria-pressed="true"]) { background:#efd9bf }
.choices button:active,.cost-switch button:active,.bid-pager button:active { transform:translateY(2px) }
.bid-finding { flex:1; min-height:190px; padding:15px 0 20px; border-top:1px solid #cdb79b }
.part-id { font-size:.78rem; font-variant-numeric:tabular-nums; letter-spacing:.045em; color:#73513e }
.bid-finding h4 { font-size:clamp(32px,3.1vw,57px); line-height:1.02; margin:12px 0 14px; text-wrap:pretty }
.bid-finding p:last-child { font-size:1rem; line-height:1.46; max-width:50ch }
.bid-pager { display:flex; align-items:center; gap:6px; border-top:1px solid #cdb79b; padding-top:12px }
.bid-pager[hidden] { display:none }
#bid-verdict { white-space:pre-line; text-wrap:balance }
.bid-pager span { margin-right:auto; font-size:.86rem; font-weight:550 }
.bid-pager button { border:1px solid #bca086; border-radius:50%; background:#fffbef; width:44px; height:44px; font-size:1.1rem }
.bid-pager button:hover { background:#efd9bf }.bid-pager button:disabled { opacity:.4 }
.bid-case .under-case { color:#462b1c }

/* The job-cost section takes its grid from the actual drafting subject. */
.margin-case {
  --focus:#ffcf83; color:#f0fff6;
  background-color:#063c3d;
  background-image:linear-gradient(90deg,#85dfd51c 1px,transparent 1px),linear-gradient(0deg,#85dfd51c 1px,transparent 1px),
    radial-gradient(ellipse at 20% 8%,#14695e,transparent 68%),linear-gradient(116deg,#0a4543,#063537 80%);
  background-size:46px 46px,46px 46px,auto,auto;
}
.margin-case h2 em { color:#a8f5d8 }.margin-case .rule-dot { background:#9bf6d6 }
.margin-case .case-intro { color:#e4fbf1 }
.margin-exhibit { display:grid; grid-template-columns:.9fr 1.1fr; min-width:0; box-shadow:0 22px 50px -14px #011d27af; border:1px solid #79bbb0aa; border-radius:5px; overflow:hidden }
.drawing { position:relative; min-height:330px; isolation:isolate; overflow:hidden; background:#92b9b4 }
.drawing img { position:absolute; height:100%; width:100%; object-fit:cover; object-position:48% 46% }
.drawing:after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(125deg,#4aa4bc1a,transparent 57%,#164f5866) }
.margin-result { background:linear-gradient(138deg,#06242d,#0d4246 62%,#06313a); color:#f1fff7; padding:clamp(26px,3.8vw,68px); min-width:0 }
.cost-switch button { border-color:#80afa7; color:#edf9f3 }.cost-switch button[aria-pressed="true"] { background:#aff5da; border-color:#aff5da; color:#073932; box-shadow:0 2px 11px #6ff7c32d }
.cost-switch button:hover:not([aria-pressed="true"]) { background:#194e50 }
.amount { font-size:clamp(55px,5.3vw,100px); font-weight:560; letter-spacing:-.06em; line-height:1; font-variant-numeric:tabular-nums }
#cost-description { margin-top:6px;color:#bdeee1 }
.cost-action { max-width:55ch; font-size:.96rem; color:#e8fff5; margin-top:16px }

/* Return to the opening material for the invitation, at a different scale. */
.approach {
  position:relative; isolation:isolate; padding-block:clamp(65px,8vw,132px); color:#fff3de;
  background:linear-gradient(100deg,#452012 0%,#4d2618 48%,#442216 72%,#321e1b 100%);
}
.approach:before { content:""; position:absolute; z-index:-1; inset:0; pointer-events:none;
  background:linear-gradient(90deg,#32180d94,transparent 25%,#432317f2 53%,#462416 76%),
    linear-gradient(0deg,#311c12af,transparent 70%),url("optical-study.webp") left bottom / 68% auto no-repeat; }
.approach-grid { align-items:center; min-height:220px }
.approach .eyebrow { color:#ffdcc6 }.approach h2 { text-shadow:0 1px 12px #0d110e; font-size:clamp(62px,6.4vw,128px) }
.approach h2 em { color:#ffe2b0 }.approach-grid > div + div > p { font-size:clamp(17px,1.35vw,22px); color:#fff1e3 }
.approach-grid p + p { margin-top:13px }.primary.bright { background:#ffc298; color:#3e2017 }
footer { color:var(--paper); background:var(--dark) }.footer { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-block:32px }.foot-email,.back-top { font-size:.9rem }

@media(max-width:1000px) {
  .product-spread { grid-template-columns:minmax(0,.76fr) minmax(0,1fr); gap:24px }
  .product-case .case-heading { min-height:390px }.product-case h2 { font-size:clamp(43px,5.6vw,60px) }
  .cover-study { aspect-ratio:.91 }.cover-study i { width:27px; height:27px; right:10px }.cover-study b { margin-right:18px }
  .choices button,.cost-switch button { padding-inline:10px }.bid-proof { padding:24px }
}
@media(max-width:780px) {
  .product-spread { grid-template-columns:1fr }.product-case .case-heading { min-height:0; display:grid; grid-template-columns:1.05fr 1fr; align-items:end; gap:25px }
  .product-case:before { background-size:auto,auto,100% auto }.product-case .case-intro { margin:0 }
  .case-heading h2 { font-size:clamp(42px,6.3vw,63px) }
  .bid-exhibit { grid-template-columns:.82fr 1.18fr }.bid-total { min-height:360px }
}
@media(max-width:650px) {
  .work-header,.case-heading,.approach-grid,.product-case .case-heading { grid-template-columns:1fr; gap:17px }
  .examples,.case { padding-block:46px }.work-header h2 { font-size:clamp(45px,10.7vw,68px) }
  .case-links { display:flex; flex-direction:column; margin-top:24px; gap:12px }
  .cover-study { width:100%; aspect-ratio:auto; min-height:clamp(138px,40vw,210px); padding:18px; }
  .cover-study img { object-position:50% 48% }.cover-study:before { background:linear-gradient(80deg,var(--tile),transparent 84%) }
  .cover-study b { font-size:clamp(25px,6.5vw,36px); max-width:16ch; margin:.2em 30px 0 0 }.cover-study i { bottom:16px; right:15px }
  .product-case .case-heading > div:first-child { padding-top:0 }
  .product-case:before { background:linear-gradient(90deg,#111439b3,#11153833),linear-gradient(0deg,#151438 18%,transparent 56%,#10133b33),url("product-fibers-small.webp") 58% 5% / auto 62% no-repeat }
  .case-heading h2 { font-size:clamp(42px,10.2vw,61px) }.product-case h2 { max-width:15ch }
  .product-spread { gap:20px }.product-case .case-intro { max-width:43ch }
  .under-case { display:block; padding-top:18px }.listen,.listen[open] { width:100%; max-width:none; margin-top:12px }
  .listen summary { padding-top:4px; min-height:40px }
  .bid-case .case-heading,.margin-case .case-heading { margin-bottom:22px }
  .bid-exhibit,.margin-exhibit { grid-template-columns:1fr }.bid-total { min-height:230px }
  .bid-photo { background-position:center,center,65% 42%; }
  .bid-stats,.bid-proof,.margin-result { padding:22px }.bid-total h3 { font-size:56px; margin:12px 0 17px }.bid-total h3 br { display:none }.bid-total h3 em:before { content:" " }
  .bid-track { width:min(270px,90%) }.bid-finding { min-height:160px }.bid-proof { border-left:1px solid #fff }
  .drawing { min-height:175px }.drawing img { object-position:50% 43% }
  .approach { padding-block:55px }.approach h2 { font-size:64px }
  .approach:before { background:linear-gradient(0deg,#422217 30%,transparent 88%),linear-gradient(90deg,#32180de6,transparent),url("optical-study.webp") 52% top / auto 65% no-repeat }
  .approach-grid { gap:27px }.footer { flex-wrap:wrap; gap:14px }.foot-email { order:3; width:100% }
}
@media(prefers-reduced-motion:reduce) {
  .cover-study:hover img { transform:none }
}
