* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f6bfc0;
  color: #281613;
  font:
    17px/1.45 Arial,
    sans-serif;
}
header,
main,
footer {
  max-width: 1470px;
  margin: auto;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5%;
  border-bottom: 2px solid;
}
a {
  color: inherit;
}
.logo {
  text-decoration: none;
  font:
    900 32px/1 Arial,
    sans-serif;
  letter-spacing: -0.09em;
}
.logo span,
h1 span {
  color: #bc2916;
}
.hero {
  position: relative;
  padding: 40px 5% 55px;
  min-height: 540px;
  isolation: isolate;
  overflow: hidden;
}
.hero h1 {
  position: relative;
  margin: 0;
  font:
    900 clamp(65px, 9vw, 150px) / 0.84 Arial,
    sans-serif;
  letter-spacing: -0.085em;
  z-index: 1;
}
.object {
  position: absolute;
  right: 0;
  inset-block: 0;
  width: 55%;
  background: #dd766d;
}
.lead {
  position: relative;
  z-index: 1;
  width: 310px;
  margin-top: 38px;
  font-size: 21px;
}
.go,
button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid #2b1814;
  background: #2b1814;
  color: #fff4e3;
  border-radius: 0;
  padding: 14px 19px;
  font:
    bold 15px/1.3 Arial,
    sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.go span {
  font-size: 22px;
  line-height: 0.8;
}
#desk {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 9%;
  padding: 65px 7%;
  background: #f9eedb;
  border-top: 2px solid;
}
.controls {
  max-width: 495px;
}
h2 {
  font:
    900 clamp(40px, 5vw, 76px) / 0.95 Arial,
    sans-serif;
  letter-spacing: -0.07em;
  margin: 0.25em 0;
}
small,
label,
#status,
.receipt {
  font:
    14px/1.45 Consolas,
    monospace;
}
small {
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  border-bottom: 1px solid #c0a697;
}
input {
  width: 94px;
  padding: 8px;
  text-align: right;
  font: inherit;
  border: 1px solid #9c8077;
  background: #fff8eb;
}
.go {
  margin-top: 14px;
}
.receipt {
  align-self: start;
  background: #fffaf0;
  border-top: 7px solid #d74534;
  padding: 24px;
  min-height: 250px;
}
.receipt h3 {
  font:
    bold 29px Georgia,
    serif;
  margin: 8px 0 25px;
}
.line {
  display: grid;
  grid-template-columns: 1fr auto;
  border-top: 1px dashed #a69b89;
  padding: 11px 0;
}
.line strong {
  font-size: 22px;
}
.detail {
  display: block;
  color: #5b5248;
  font-size: 12px;
}
#method {
  padding: 55px 7%;
  background: #f7e6d5;
}
#method li {
  padding: 5px 0;
}
footer {
  padding: 18px 5%;
  font-size: 12px;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #315bad;
  outline-offset: 4px;
}
@media (max-width: 700px) {
  .hero {
    min-height: 480px;
  }
  .object {
    top: 145px;
    height: 210px;
    width: 54%;
  }
  .lead {
    margin-top: 115px;
    width: 49%;
    font-size: 17px;
  }
  #desk {
    grid-template-columns: 1fr;
    padding: 35px 5%;
    gap: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@font-face {
  font-family: Archivo;
  src: url(fonts/ArchivoBlack-Regular.ttf);
}
body {
  background: #ffd4d0;
  color: #2b1614;
}
header {
  border-bottom: 1px solid #382424;
  background: #f8ceca;
  padding: 14px 4%;
}
.logo {
  font-family: Archivo, Arial, sans-serif;
  font-size: 34px;
}
header nav {
  display: flex;
  gap: 22px;
  font:
    13px Consolas,
    monospace;
}
header nav a {
  text-underline-offset: 4px;
}
.hero {
  background: #f8ceca;
  min-height: clamp(460px, 40vw, 625px);
  padding: 38px 4% 40px;
}
.edition {
  font:
    12px Consolas,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 2px 0 26px;
}
.hero h1 {
  font-family: Archivo, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(65px, 7.1vw, 112px);
  letter-spacing: -0.09em;
  line-height: 0.87;
  width: max-content;
}
.hero h1 span {
  color: #c02318;
}
.object {
  margin: 0;
  position: absolute;
  right: 3.5%;
  top: 28px;
  bottom: 28px;
  width: 49%;
  background: transparent;
  display: flex;
  flex-direction: column;
}
.object img {
  width: 100%;
  height: calc(100% - 19px);
  object-fit: cover;
  object-position: 58% 50%;
  border: 1px solid #913b36;
}
.object figcaption {
  font:
    10px/1.7 Consolas,
    monospace;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.lead {
  margin-top: 24px;
  max-width: 390px;
  width: 40%;
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.22;
}
.lead p {
  margin: 0 0 6px;
}
.go {
  background: #301817;
  border: 1px solid #301817;
}
.go:hover {
  background: #a3281b;
}
.sample-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 4%;
  color: #fff2df;
  background: #302120;
  font:
    13px/1.25 Consolas,
    monospace;
}
.sample-strip span:first-child {
  color: #e9b1a4;
}
.sample-strip b {
  font-weight: normal;
}
.sample-strip .arr {
  color: #ef9d83;
  font-size: 22px;
}
.receipt {
  position: relative;
  border-top: 0;
  box-shadow: 5px 7px 0 #d4c5ae;
  background: #fffaf1;
  background-image: radial-gradient(
    circle at 50% 0,
    #eee0c9 0 3px,
    transparent 3.3px
  );
  background-size: 16px 8px;
  background-repeat: repeat-x;
  padding: 30px;
}
.receipt:after {
  content: "";
  display: block;
  height: 8px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  background:
    linear-gradient(135deg, #fffaf1 25%, transparent 25%) -6px 0,
    linear-gradient(225deg, #fffaf1 25%, transparent 25%) -6px 0;
  background-size: 12px 12px;
}
h2 {
  font-family: Archivo, sans-serif;
  font-weight: 400;
}
#desk {
  border: 0;
}
.controls > small {
  color: #8c352c;
}
@media (max-width: 700px) {
  .hero {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    padding: 24px 5%;
  }
  .edition {
    grid-column: 1/-1;
    margin-bottom: 18px;
    font-size: 10px;
  }
  .hero h1 {
    grid-column: 1/-1;
    font-size: clamp(58px, 12.6vw, 85px);
    margin-bottom: 16px;
  }
  .lead {
    grid-row: 3;
    width: 100%;
    margin: 0;
    align-self: center;
    font: 17px/1.2 Arial;
  }
  .object {
    position: static;
    grid-column: 2;
    grid-row: 3;
    align-self: stretch;
    width: 100%;
    height: auto;
    min-height: 150px;
  }
  .object img {
    height: calc(100% - 16px);
    max-height: 210px;
    min-height: 140px;
  }
  .object figcaption {
    font-size: 8px;
  }
  .sample-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    font-size: 11px;
    padding: 11px 5%;
    gap: 6px;
  }
  .sample-strip .arr {
    font-size: 15px;
  }
  .sample-strip b:nth-child(2) {
    text-align: center;
  }
  .sample-strip .arr {
    text-align: right;
  }
}

.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
}
.presets button {
  color: #402320;
  background: transparent;
  border: 1px solid #926c64;
  border-radius: 16px;
  padding: 9px 11px;
  font: 13px Arial;
}
.presets button:hover {
  background: #f5c6be;
}
#sum {
  font:
    14px Consolas,
    monospace;
  margin: 14px 0 2px;
  color: #72453b;
}
.proof {
  border-top: 2px solid #3f2924;
  padding-top: 13px;
  font-weight: bold;
}
#save {
  padding: 10px 16px;
}
.receipt:has(.proof) {
  border-top: 3px solid #b61e17;
}
#desk label:focus-within {
  color: #891b12;
}
.receipt .line strong {
  align-self: center;
}
@media (max-width: 700px) {
  .presets button {
    min-height: 44px;
  }
  .receipt {
    padding: 24px;
  }
  #desk {
    column-gap: 0;
  }
  .sample-strip {
    font-size: 12px;
  }
  .lead a {
    padding: 13px 15px;
  }
}

/* A live counter sits across from a close-cropped physical sample. */
.hero {
  display: block;
  min-height: 0;
  padding: 28px 4% 42px;
}
.mast {
  display: flex;
  flex-direction: column;
  border-bottom: 2px solid #311b18;
  padding-bottom: 12px;
}
.hero .edition {
  margin: 0 0 8px;
}
.hero h1 {
  width: auto;
  font-size: clamp(65px, 8vw, 128px);
  margin: 0;
  line-height: 0.99;
}
.counter {
  display: grid;
  grid-template-columns: 0.98fr 1.15fr;
  gap: 4.2%;
  align-items: stretch;
  margin-top: 18px;
}
.counter .object {
  background: #efb5af;
  position: relative;
  inset: auto;
  margin: 0;
  width: auto;
  min-height: 0;
  display: block;
  aspect-ratio: 2/1;
}
.counter .object img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  min-height: 0;
  max-height: none;
  border: 0;
}
.counter .object figcaption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: block;
  width: max-content;
  padding: 2px 7px;
  background: #ffe5d4;
  color: #28100e;
  font-size: 10px;
}
.liveCase {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}
.case-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #9c726b;
  padding-bottom: 8px;
  font:
    14px Consolas,
    monospace;
}
.pickers {
  display: flex;
  gap: 4px;
}
.pickers button {
  padding: 7px 12px;
  background: transparent;
  color: #3c1b17;
  font:
    14px Consolas,
    monospace;
  min-width: 40px;
  min-height: 36px;
}
.pickers button[aria-pressed="true"] {
  background: #2d1918;
  color: #fae3cf;
}
.verdict {
  padding: 9px 0;
}
.verdict h2 {
  font-size: clamp(34px, 3.6vw, 58px);
  margin: 0;
  letter-spacing: -0.075em;
}
.verdict p {
  margin: 7px 0 12px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.28;
}
.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.numbers div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
  border-block: 1px solid #9c726b;
  padding: 4px 1px;
}
.numbers span {
  font:
    12px Consolas,
    monospace;
}
.numbers strong {
  font:
    24px Archivo,
    sans-serif;
  letter-spacing: -0.075em;
  color: #90251d;
}
.liveCase .go {
  align-self: start;
  margin: 0;
  padding: 9px 16px;
  min-height: 40px;
}
#desk {
  border-top: 2px solid #34221e;
}
@media (max-width: 700px) {
  .hero {
    padding: 18px 5% 24px;
  }
  .hero .edition {
    font-size: 9px;
  }
  .hero h1 {
    font-size: clamp(34px, 8.55vw, 62px);
    line-height: 1.1;
    letter-spacing: -0.09em;
  }
  .mast {
    padding-bottom: 7px;
  }
  .counter {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
  }
  .counter .object {
    width: 100%;
    aspect-ratio: auto;
    height: clamp(120px, 32vw, 185px);
  }
  .counter .object img {
    object-position: 50% 58%;
  }
  .counter .object figcaption {
    font-size: 8px;
  }
  .case-top {
    padding-bottom: 5px;
  }
  .pickers button {
    min-height: 44px;
  }
  .verdict h2 {
    font-size: 35px;
  }
  .verdict {
    padding: 10px 0 12px;
  }
  .verdict p {
    margin: 6px 0 10px;
  }
  .numbers {
    gap: 7px;
  }
  .numbers span {
    font-size: 11px;
  }
  .numbers strong {
    font-size: 19px;
  }
  .liveCase .go {
    min-height: 44px;
  }
}
