/* Parting Line Plastics
   One family: Chivo 400/700/900. One ink. One accent, on the primary action only.
   Zero corner radius. Motif: the parting line, a rule that steps once. */

:root{
  --ground:#f2f1ed;
  --band:#e4e2dc;
  --ink:#17191c;
  --accent:#b03e17;

  --s1:13px; --s2:16px; --s3:20px; --s4:28px; --s5:42px; --s6:62px;
  --wrap:1120px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--ground);
  color:var(--ink);
  font-family:"Chivo",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:var(--s2);
  line-height:1.55;
  font-synthesis-weight:none;
}
h1,h2,h3{line-height:1.08;margin:0;font-weight:900;letter-spacing:-0.02em}
p{margin:0 0 1em}
img{max-width:100%;height:auto;display:block}
b{font-weight:700}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

a{color:inherit}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
[tabindex]:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
/* the accent does not clear 3:1 against the dark ground, so the ring inverts there */
.close a:focus-visible{outline-color:var(--ground)}
::placeholder{color:#55595f;opacity:1}

.skip{position:absolute;left:-9999px;top:0;background:var(--ink);color:var(--ground);
  padding:12px 18px;z-index:10;text-decoration:none}
.skip:focus{left:0}

/* ---- the motif: a rule that steps once, the way a mold parts ---- */
.pl{
  height:8px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M0 1 H62 V7 H100' fill='none' stroke='%2317191c' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-size:100% 100%;
}

/* ---- masthead ---- */
.masthead-in{
  display:flex;flex-wrap:wrap;gap:8px 32px;align-items:flex-end;
  justify-content:space-between;padding-top:22px;padding-bottom:14px;
}
.wordmark{font-size:var(--s3);font-weight:900;letter-spacing:-0.02em;margin:0;text-transform:uppercase}
.sub{font-size:var(--s1);margin:0}
.tel{margin:0;font-size:var(--s3);font-weight:700}
.tel a{display:inline-block;text-decoration:none;border-bottom:2px solid var(--ink);padding:10px 0 2px}
.tel a:hover{color:var(--accent);border-color:var(--accent)}

/* ---- opener ---- */
.opener{padding:54px 0 46px}
.opener h1{font-size:var(--s6);max-width:15ch}
.lede{margin-top:26px;max-width:56ch;display:grid;gap:0}
.lede p{font-size:var(--s3);line-height:1.5}
.actions{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center;margin:26px 0 0}
.btn{
  display:inline-block;background:var(--accent);color:#fff;text-decoration:none;
  font-weight:700;font-size:var(--s2);padding:14px 26px;border:0;cursor:pointer;
  font-family:inherit;line-height:1.2;min-height:48px;
}
.btn:hover{background:var(--ink)}
.btn:active{transform:translateY(1px)}
.plain{display:inline-block;font-weight:700;text-underline-offset:4px;padding:11px 0}
.plain:hover{color:var(--accent)}

/* ---- full bleed figures ---- */
.bleed{margin:0}
.bleed img{width:100%;max-height:46vh;object-fit:cover}
.bleed.short img{max-height:38vh}

/* ---- section furniture ---- */
section{padding:64px 0}
section.secondary,section.rfq{padding-bottom:0}
.num{font-size:var(--s1);font-weight:700;letter-spacing:0.14em;margin:0 0 10px}
section h2{font-size:var(--s5);max-width:20ch;margin-bottom:34px}
h3{font-size:var(--s2);text-transform:uppercase;letter-spacing:0.06em;margin:30px 0 10px}
.aside{font-size:var(--s1);max-width:70ch;margin-top:26px}
.big{font-size:var(--s4);font-weight:900;letter-spacing:-0.02em;line-height:1.15;max-width:16ch}

/* ---- 01 the gauge ---- */
.gauge-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:0 48px;align-items:start;margin-bottom:44px}
.math h3:first-child{margin-top:0}
.eq{font-weight:700;font-size:var(--s3);margin-bottom:12px}
.resin{display:grid;grid-template-columns:1fr auto;gap:0;margin:0 0 16px;
  border-top:1px solid var(--ink)}
.resin dt{padding:9px 12px 9px 0;border-bottom:1px solid var(--ink)}
.resin dd{margin:0;padding:9px 0;border-bottom:1px solid var(--ink);font-weight:700;text-align:right}
.worked{max-width:60ch}

.gauge{border:2px solid var(--ink);padding:24px}
.gauge h3{margin-top:0}
.field{margin-bottom:14px}
.field label{display:block;font-size:var(--s1);font-weight:700;margin-bottom:4px}
.field input,.field select{
  width:100%;font-family:inherit;font-size:var(--s2);padding:11px 12px;
  border:1px solid var(--ink);background:#fff;color:var(--ink);min-height:46px;
}
/* the accent belongs to the RFQ, so the gauge's own submit stays ink */
.gauge .btn{margin-top:6px;background:var(--ink)}
.gauge .btn:hover{background:var(--accent)}
.msg{margin:16px 0 0;font-size:var(--s2);min-height:1px}
.msg b{display:block;font-size:var(--s3);font-weight:900;letter-spacing:-0.02em;margin-bottom:4px}
html:not(.js) .gauge{display:none}

/* ---- tables ---- */
.tablewrap{overflow-x:auto;border-top:2px solid var(--ink);border-bottom:2px solid var(--ink)}
table{border-collapse:collapse;width:100%;min-width:640px;font-size:var(--s2)}
caption{text-align:left;font-size:var(--s1);padding:0 0 12px;max-width:78ch}
th,td{text-align:left;padding:11px 18px 11px 0;border-bottom:1px solid var(--ink);vertical-align:top}
tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}
thead th{font-size:var(--s1);text-transform:uppercase;letter-spacing:0.06em;font-weight:700;padding-top:14px}
tbody th{font-weight:900;font-size:var(--s3);white-space:nowrap;letter-spacing:-0.01em}
.presses td:last-child{padding-right:0}
tr.hit{background:var(--band)}
.mark{font-size:var(--s1);font-weight:700;text-transform:uppercase;letter-spacing:0.06em;white-space:nowrap}
.compare tbody th{font-size:var(--s2);font-weight:700;white-space:normal;width:26%}
.compare td{width:37%}

/* ---- 02 tool ---- */
.tool-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:end;margin-bottom:44px}
.tool-grid h2{margin-bottom:22px}
.tool-grid .big{margin-bottom:18px}
.tool-grid p:last-child{margin-bottom:0;max-width:54ch}
.tool-fig{margin:0}
.tool-fig img{width:100%}
.tool .worked{max-width:74ch}

/* ---- 03 secondary ---- */
.ops{display:grid;grid-template-columns:repeat(2,1fr);gap:0 48px;border-top:1px solid var(--ink)}
.ops article{padding:22px 0;border-bottom:1px solid var(--ink)}
.ops h3{margin-top:0}
.ops p{margin:0;max-width:46ch}
.secondary .aside{margin-bottom:56px}

/* ---- 04 rfq ---- */
.rfq-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:48px;align-items:start}
.send{margin:0 0 22px;padding:0;list-style:none;counter-reset:s;border-top:1px solid var(--ink)}
.send li{counter-increment:s;padding:16px 0 16px 46px;border-bottom:1px solid var(--ink);
  position:relative;max-width:58ch}
.send li::before{content:counter(s,decimal-leading-zero);position:absolute;left:0;top:16px;
  font-weight:900;font-size:var(--s2)}
.back-col{position:sticky;top:24px}
.back{background:var(--band);padding:26px;margin-bottom:22px}
.back h3{margin-top:0}
.back ul{margin:0 0 18px;padding-left:20px}
.back li{margin-bottom:10px}
.callnow{margin:0;font-weight:700}
.callnow a{display:inline-block;font-size:var(--s3);font-weight:900;text-decoration:none;
  border-bottom:2px solid var(--ink);white-space:nowrap;padding:10px 0 2px}
.callnow a:hover{color:var(--accent);border-color:var(--accent)}
.rfq .worked{max-width:58ch}
.rfq .bleed{margin-top:56px}

/* ---- close ---- */
.close{background:var(--ink);color:var(--ground);padding:64px 0 34px;margin-top:0}
.close a{color:var(--ground)}
.close-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;align-items:start}
.close h2{font-size:var(--s4);text-transform:uppercase;margin-bottom:16px}
.close h3{font-size:var(--s1);margin-top:0}
.close .tel.big{font-size:var(--s5);font-weight:900;letter-spacing:-0.03em;margin:0 0 14px}
.close .tel a{border-bottom-color:var(--ground);border-bottom-width:3px}
.close .tel a:hover{color:#fff;border-color:#fff}
.close p{max-width:42ch}
.close .pl.invert{margin-top:52px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M0 1 H62 V7 H100' fill='none' stroke='%23f2f1ed' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E")}
.close .disclaimer{font-size:var(--s1);margin:18px 0 0;max-width:none}

/* ---- responsive ---- */
@media (max-width:900px){
  :root{--s5:32px;--s6:40px;--s4:24px}
  .gauge-grid,.tool-grid,.rfq-grid,.close-grid{grid-template-columns:1fr;gap:36px}
  .back-col{position:static}
  .ops{grid-template-columns:1fr}
  .tool-fig{position:static}
  .opener{padding:48px 0 40px}
  section{padding:48px 0}
  .bleed img{max-height:34vh}
  .lede p{font-size:var(--s2)}
  table{min-width:560px}
  th,td{padding-right:14px}
}
@media (max-width:520px){
  .masthead-in{align-items:flex-start}
  .tel{font-size:var(--s2)}
  .close .tel.big{font-size:var(--s4)}
}

@media (prefers-reduced-motion:reduce){
  *{animation:none !important;transition:none !important;scroll-behavior:auto !important}
}
