:root {
  --ink: #203135;
  --muted: #505958;
  --line: #d4d9d5;
  --paper: #fff;
  --stone: #edf1ef;
  --accent: #e76322;
  --rust: #a84012;
  --width: 1420px;
  --gutter: clamp(1.1rem, 4.7vw, 4.65rem);
  font: 100%/1.5 Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.055em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.35rem); }
h3 { font-size: 1.45rem; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
p { line-height: 1.55; }
small { font-size: .875rem; }
[hidden] { display:none !important; }
:focus-visible { outline: 3px solid #2578ae; outline-offset: 3px; }
.skip { position: fixed; z-index: 5; top: -5rem; background: #fff; padding: 1rem; }
.skip:focus { top: 0; }
header, footer { color: white; background: var(--ink); }
.bar, .shell, .mast-inner, .lookup form, .factory-inner, footer { max-width: var(--width); margin: auto; }
.bar { display: flex; align-items: center; gap: clamp(1.5rem,4vw,4.5rem); padding: .65rem var(--gutter); }
.brand img { display: block; width: 63px; height: 49px; object-fit: contain; }
.bar nav { display: flex; gap: clamp(1rem,2.7vw,2.65rem); align-items: center; }
.bar a { text-decoration: none; }
.bar nav a { padding: .5rem 0; border-bottom: 2px solid transparent; font-size: .96rem; font-weight: 550; }
.bar nav a:hover, .bar nav a[aria-current] { border-color: #ff975b; }
.topphone { font-weight: 650; margin-left: auto; white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.btn, .searchbox button {
  display: inline-flex; align-items: center; justify-content: center; padding: .83rem 1.18rem;
  min-height: 46px; border: 1px solid var(--ink); background: var(--ink); color: white;
  font: inherit; font-weight: 650; border-radius: 3px; text-decoration: none; cursor: pointer;
}
.btn:hover, .searchbox button:hover { background: #414a46; }
.btn.alt { border-color: #a7afa8; color: var(--ink); background: transparent; }
.btn.alt:hover { border-color: var(--ink); background: #ffffff80; }
.mast {
  background: #18282d;
  color: #fff;
  border-bottom: 1px solid #152529;
}
.mast-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items:center;
  padding: clamp(2rem, 4.5vw, 4.8rem) var(--gutter);
}
.mast-copy { max-width: 44rem; }
.place { font-size:.91rem; font-weight:600; letter-spacing:.015em; }
.mast .place { color:#d7e7e4; }
.mast h1 {
  margin:1.3rem 0 1.15rem;
  font-size:clamp(3.1rem,6.6vw,6.65rem);
  line-height:.98;
  letter-spacing:-.072em;
}
.mast h1 em { color:#ffb185; font-style:normal; }
.mast-intro { max-width:39ch; color:#e2eae7; font-size:clamp(1rem,1.35vw,1.2rem); }
.mast .btn { background:#ffb185; border-color:#ffb185; color:#212421; }
.mast .btn:hover { background:#ffc8aa; }
.mast .btn.alt { background:transparent; border-color:#778d8f; color:white; }
.mast .btn.alt:hover { background:#2c4045; }
.showcase { position:relative; min-width:0; border-radius:20px; overflow:hidden; background:#f6e6db; color:#202829; }
.sample {
  --sample-color:#f6e6db;
  position:relative;
  display:grid;
  grid-template-columns: .88fr 1.12fr;
  align-items:end;
  isolation:isolate;
  min-height:clamp(320px,28.3vw,415px);
  padding:clamp(1.35rem,2.5vw,2.6rem);
  padding-top:4rem;
  background:var(--sample-color);
}
.sample.sage { --sample-color:#dfebdc; }
.sample.sky { --sample-color:#dfe9f4; }
.sample::before {
  content:'';
  z-index:-1;
  position:absolute; inset:0 0 0 42%;
  background:url('/assets/applying-adhesive.webp') center/cover;
  opacity:.085;
  clip-path:polygon(34% 0,100% 0,100% 100%,0 100%);
}
.sample-photo {
  position:absolute; top:1.4rem; right:2%; bottom:1.5rem; width:51%;
  mix-blend-mode:multiply; pointer-events:none;
}
.sample-photo img, .work-img img, .pack img {
  position:absolute; display:block; inset:0; width:100%; height:100%;
  min-width:0; min-height:0; object-fit:contain; object-position:center;
}
.sample-photo img { transform:rotate(4deg) scale(.91); }
.sample-label { position:relative; grid-column:1; }
.sample-label h2 { font-size:clamp(1.75rem,3.7vw,3.7rem); font-weight:740; line-height:.99; }
.sample-label p { font-size:1rem; line-height:1.4; margin:.65rem 0; }
.sample-label a { display:inline-block; padding:.4rem 0; font-weight:650; }
.switches {
  position:absolute; top:clamp(.85rem,1.6vw,1.7rem); left:clamp(.85rem,1.6vw,1.7rem);
  display:flex; gap:.1rem; border-radius:99px; padding:.18rem; background:#ffffffde;
}
.switches button {
  border:0; border-radius:99px; background:transparent; color:#263537;
  padding:.47rem .77rem; font:inherit; font-size:.9rem; font-weight:600; cursor:pointer;
}
.switches button[aria-pressed="true"] { background:#24363a; color:#fff; }
.switches button:hover:not([aria-pressed="true"]) { background:#e3e9e7; }
.lookup { background: #f2f4f2; border-block:1px solid #d0d6cd; }
.lookup form { display:flex; padding:1.1rem var(--gutter); gap:2rem; align-items:center; }
.lookup label { font-weight:650; font-size:1.12rem; }
.searchbox { flex:1; display:flex; align-items:stretch; max-width:41rem; }
.searchbox input { border-radius:3px 0 0 3px; background:white; }
.searchbox button { border-radius:0 3px 3px 0; }
.shell { padding:clamp(2.2rem,4.5vw,4.5rem) var(--gutter); }
.shell h1, .shell h2 { margin-bottom:1.25rem; }
.sectionhead { display:flex; gap:1rem; justify-content:space-between; align-items:baseline; }
.sectionhead a { white-space:nowrap; font-weight:600; }
.work-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 clamp(1.6rem,3vw,3.2rem); border-top:1px solid var(--line); }
.work-card {
  display:grid; grid-template-columns:7rem minmax(0,1fr); align-items:center; gap:1.35rem;
  padding:1rem .15rem; color:inherit; text-decoration:none; border-bottom:1px solid var(--line);
}
.work-img, .pack { position:relative; min-width:0; overflow:hidden; isolation:isolate; background:var(--stone); }
.work-img { height:6.8rem; border-radius:12px; background:#f5e7da; }
.work-img img, .pack img { padding:.46rem; mix-blend-mode:multiply; }
.work-card:nth-child(4n+2) .work-img { background:#e2ebdf; }
.work-card:nth-child(4n+3) .work-img { background:#e5eaf4; }
.work-card:nth-child(4n+4) .work-img { background:#f0e2e9; }
.work-title h3 { font-size:clamp(1.23rem,2.15vw,2rem); letter-spacing:-.044em; }
.work-title p, .ct p { color:var(--muted); margin-top:.3rem; }
.work-card:hover h3 { text-decoration:underline; text-underline-offset:.16em; }
.card { min-width:0; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:white; text-decoration:none; }
.card:hover { border-color:var(--rust); }
.ct { padding:clamp(.85rem,1.5vw,1.4rem); }
.pack .fallback { position:absolute; inset:0; display:grid; place-items:center; }
.other-work, .sheet-nav, .chips { display:flex; gap:.6rem; flex-wrap:wrap; }
.other-work { margin-top:1.1rem; }
.other-work a, .sheet-nav a, .chips a { padding:.52rem .78rem; text-decoration:none; border:1px solid var(--line); border-radius:3px; }
.other-work a:hover, .sheet-nav a:hover, .chips a:hover, .chips a[aria-current] { background:var(--ink); color:white; border-color:var(--ink); }
.factory-band { background:#2b3634; color:#fff; }
.factory-inner { display:grid; grid-template-columns:.8fr 1fr; }
.factory-inner > img { width:100%; height:100%; min-height:250px; max-height:390px; object-fit:cover; object-position:center 55%; }
.factory-inner > div { align-self:center; padding:clamp(2rem,4vw,4rem) var(--gutter); }
.factory-inner h2 { margin:.7rem 0; }
.factory-inner .btn,.result .btn { margin-top:1.2rem; background:white; color:var(--ink); border-color:white; }
.factory-inner .btn:hover,.result .btn:hover { background:#e7eae5; }
.crumb { font-size:.89rem; color:var(--muted); margin-bottom:1.55rem; }
.catalog-tools { max-width:32rem; margin:1rem 0; }
.category-intro,.intro { font-size:clamp(1.05rem,1.5vw,1.3rem); color:var(--muted); max-width:54ch; }
.chips { margin:1.1rem 0 1.65rem; }
.grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.pack { height:clamp(160px,17vw,260px); }
.ct small { color:var(--muted); }
.ct h3 { margin-top:.45rem; }
.detail,.twocol { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1.3rem,4.5vw,4.5rem); align-items:start; }
.detail { align-items:center; margin-bottom:2.3rem; }
.large { height:clamp(265px,32vw,435px); }
.detail h1 { margin:.75rem 0; }
.detail .intro { margin-bottom:.85rem; }
.sheet-nav { margin-bottom:1.75rem; }
.twocol { margin:1.6rem 0; }
.panel,.result { padding:clamp(1.3rem,3.1vw,3rem); border:1px solid var(--line); border-radius:3px; background:white; }
.panel h2 { font-size:1.9rem; }
.panel p { margin:1rem 0; }
.panel label,.catalog-tools label { display:grid; gap:.4rem; font-weight:600; margin-bottom:1.1rem; }
input,select,textarea { min-width:0; width:100%; min-height:44px; padding:.65rem .75rem; background:#fff; border:1px solid #89958c; border-radius:3px; color:var(--ink); font:inherit; }
textarea { resize:vertical; }
.result { color:white; background:#2b3634; }
.result strong { display:block; font-size:clamp(2.3rem,4.5vw,4.2rem); line-height:1.1; letter-spacing:-.05em; margin:.7rem 0; color:#ffb784; }
.result p { margin:1.15rem 0 .2rem; color:#e2e7df; }
.result .sub { display:block; margin-top:1rem; }
.number { font-size:clamp(1.35rem,2.6vw,2rem); font-weight:650; }
table { width:100%; border-collapse:collapse; margin:1rem 0 2rem; }
th,td { padding:.72rem .5rem; border-bottom:1px solid var(--line); text-align:left; }
th { font-weight:600; }
details { border-bottom:1px solid var(--line); padding:1rem .25rem; }
summary { font-weight:600; cursor:pointer; } details p { margin:.75rem 0; max-width:88ch; }
.doc { display:grid; gap:.55rem; padding:1rem; border:1px solid var(--line); background:#fff; }
.doc img { width:100%; height:220px; object-fit:contain; }
footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem; padding:1.65rem var(--gutter); font-size:.92rem; }
#letter { border-top:1px solid var(--line); margin-top:1.1rem; }
#letter label { margin-top:1rem; }
@media(max-width:900px){
  .bar { gap:1.4rem; } .bar nav { gap:1rem; }
  .work-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:700px){
  .bar { flex-wrap:wrap; gap:.15rem .75rem; padding:.5rem var(--gutter) .25rem; }
  .brand img { width:44px; height:35px; }
  .bar nav { order:3; width:100%; gap:.25rem .7rem; justify-content:space-between; flex-wrap:wrap; }
  .bar nav a { font-size:.875rem; } .topphone { font-size:.94rem; }
  .mast-inner { grid-template-columns:1fr; gap:1.25rem; padding:1.45rem var(--gutter) 1.25rem; }
  .mast-copy { padding:0; }
  .mast h1 { margin:.8rem 0; font-size:clamp(2.9rem,11.8vw,4.2rem); }
  .actions { margin-top:1.1rem; gap:.5rem; }
  .showcase { border-radius:15px; }
  .sample { min-height:225px; padding:3.8rem 1.05rem .85rem; grid-template-columns:.95fr 1.05fr; }
  .sample-label h2 {font-size:1.8rem;}
  .sample-photo {top:2.75rem;bottom:.6rem;right:1%;width:48%;}
  .switches {top:.6rem;left:.75rem;}
  .switches button {padding:.5rem .72rem;}
  .lookup form { display:grid; gap:.5rem; }
  .lookup label { font-size:1rem; }
  .grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; }
  .work-grid {grid-template-columns:1fr;gap:0;}
  .work-card {grid-template-columns:5.5rem minmax(0,1fr);gap:1rem;padding:.7rem 0;}
  .work-img { height:5.6rem; }
  .work-title h3,.ct h3 { font-size:1.17rem; }
  .work-title p,.ct p,.other-work a,.chips a { font-size:.91rem; }
  .pack { height:155px; } .large { height:245px; }
  .factory-inner,.detail,.twocol { grid-template-columns:1fr; }
  .factory-inner > img { min-height:0; height:190px; }
  .sectionhead { align-items:start; } .sectionhead a { font-size:.9rem; }
  .shell h1 { overflow-wrap:anywhere; } th,td { font-size:.92rem; }
  footer { align-items:start; flex-direction:column; }
}
.quick-spec { display:flex; flex-wrap:wrap; gap:1.75rem; margin:1.05rem 0; padding:1rem 0; border-block:1px solid var(--line); }
.quick-spec dt { font-size:.875rem; color:var(--muted); }
.quick-spec dd { margin:.2rem 0 0; font-weight:650; }
.nav-toggle { display:none; }
@media(max-width:700px) {
  .bar { padding-block:.62rem; }
  .bar .topphone { order:1; margin-left:auto; font-size:.88rem; }
  .nav-toggle { order:2; display:inline-flex; align-items:center; gap:.45rem; min-height:42px;
    padding:.45rem .8rem; color:#fff; background:transparent; font:inherit; font-size:.94rem;
    border:1px solid #668184; border-radius:2rem; cursor:pointer; }
  .nav-toggle::before { content:''; width:.9rem; height:.42rem; border-block:2px solid currentColor; }
  .bar nav { padding:.5rem 0; }
  .mast .actions .btn { padding:.73rem .9rem; }
  .sample-label h2 { text-wrap:initial; }
}
