/* Trash Cubes — the green cube lockup, on paper. */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/libre-franklin-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/libre-franklin-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #2e2e2d;
  --charcoal: #2e2e2d;
  --black: #1c1c1b;
  --bone: #f7f6f3;
  --bone-2: #ffffff;
  --bone-3: #eef2e8;
  --kraft: #e7f0dc;
  --forest: #0e6030;
  --forest-deep: #0a4a25;
  --lime: #7ab808;
  --error: #8d2f2f;
  --line: rgba(46, 46, 45, 0.14);
  --line-strong: rgba(46, 46, 45, 0.3);
  --danger-bg: #fdecea;
  --display: "Montserrat", "Franklin Gothic Medium", "Segoe UI", sans-serif;
  --body: "Libre Franklin", "Franklin Gothic Medium", "Segoe UI", sans-serif;
  --wrap: 1120px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--bone);
  background-image:
    radial-gradient(rgba(28, 25, 22, 0.045) 0.65px, transparent 0.7px),
    radial-gradient(rgba(28, 25, 22, 0.03) 0.7px, transparent 0.75px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
  text-rendering: optimizeLegibility;
}

body.booking {
  background-image:
    radial-gradient(rgba(28, 25, 22, 0.04) 0.65px, transparent 0.7px);
  background-size: 3px 3px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: var(--forest);
  text-underline-offset: 0.16em;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--lime);
}

:focus:not(:focus-visible) {
  outline: none;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.6rem;
  z-index: 50;
  transform: translateY(-160%);
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding: 0.55rem 0.75rem;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

#main:focus {
  outline: none;
}

#how,
#cubes,
#leave-out,
#extra,
#confirmation,
#order-form,
.field,
.cube-line {
  scroll-margin-top: 5.4rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-top: 6px solid var(--forest);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-strong);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.75rem;
  padding: 0.7rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  margin-right: auto;
  line-height: 0;
  padding: 0.2rem 0;
  text-decoration: none;
}

.logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 64px;
  max-width: min(280px, 54vw);
}

.logo-footer {
  max-height: 104px;
  max-width: min(420px, 100%);
}

.nav {
  display: none;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border-bottom: 2px solid transparent;
  padding: 0.2rem 0;
}

.nav a:hover {
  border-bottom-color: var(--forest);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  padding: 0;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before { top: -6px; }
.burger::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .burger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .burger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .burger::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 899px) {
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 1px);
    left: calc(var(--gutter) * -1);
    right: calc(var(--gutter) * -1);
    background: #fff;
    border-bottom: 1px solid var(--line-strong);
    padding: 0.25rem var(--gutter) 0.75rem;
    z-index: 40;
  }

  .nav.is-open a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
  }
}

@media (min-width: 900px) {
  .logo {
    max-height: 88px;
    max-width: 360px;
  }

  .nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: static;
    transform: none;
  }

  .nav-toggle {
    display: none;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.05rem;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.btn-primary {
  background: var(--forest);
  border-color: var(--forest-deep);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-primary:hover {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  color: #fff;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--ink);
}

.btn-primary:focus-visible {
  box-shadow: 0 0 0 6px var(--lime);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--bone);
}

.btn-quiet {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  padding-inline: 0.55rem;
}

.btn-quiet:hover {
  background: transparent;
  color: var(--forest);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.header-actions .btn {
  min-height: 42px;
  padding: 0.5rem 0.8rem;
  font-size: 1.15rem;
}

/* Hero */

.hero {
  padding: clamp(1.6rem, 4vw, 3.4rem) 0 clamp(2rem, 5vw, 3.6rem);
}

.hero-grid {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}

.hero-copy {
  container-type: inline-size;
}

.kicker {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--forest);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-size: clamp(2.15rem, 4.6vw, 3.65rem);
}

@supports (font-size: 1cqi) {
  .hero h1 {
    font-size: clamp(2.05rem, 7.4cqi, 3.7rem);
  }
}

.tagline {
  margin: 0 0 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--ink);
}

.hero h1 span {
  display: block;
}

.hero h1 .line-accent {
  color: var(--forest);
}

.lede {
  margin-top: 1.05rem;
  max-width: 40rem;
  font-size: 1.125rem;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
  list-style: none;
  margin-top: 1.35rem;
  font-weight: 600;
  font-size: 0.98rem;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-facts li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--lime);
  flex: none;
}

.hero-stage {
  margin: 0;
  background-color: var(--bone-3);
  background-image: radial-gradient(rgba(28, 25, 22, 0.05) 0.7px, transparent 0.75px);
  background-size: 3px 3px;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--charcoal);
}

.hero-stage img {
  width: 100%;
  height: auto;
}

.hero-stage figcaption {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.55rem 0.85rem 0.7rem;
  border-top: 1px solid var(--line-strong);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.slats {
  height: 22px;
  background-color: #c4a574;
  background-image: repeating-linear-gradient(
    90deg,
    #e3cba8 0 10px,
    #c4a574 10px 12px,
    #a88355 12px 22px,
    #6e5234 22px 24px,
    #cdb48a 24px 36px,
    #8c6844 36px 38px
  );
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

/* Bands */

.section {
  padding: clamp(3rem, 7vw, 5.4rem) 0;
}

.band-forest {
  background: var(--forest);
  color: var(--bone);
}

.band-char {
  background-color: var(--charcoal);
  background-image: radial-gradient(rgba(243, 238, 230, 0.035) 0.7px, transparent 0.75px);
  background-size: 3px 3px;
  color: var(--bone);
}

.band-forest .kicker { color: var(--bone); }
.band-char .kicker,
.closeout .kicker { color: var(--lime); }

h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(2rem, 4vw, 3.15rem);
  text-wrap: balance;
}

h3 {
  font-family: var(--display);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: 1.35rem;
}

.section-intro .lede,
.band-char .lede,
.band-forest .lede,
.closeout .lede {
  color: inherit;
}

.band-char a {
  color: var(--lime);
}

.points {
  display: grid;
  gap: 1.35rem;
  margin-top: 1.8rem;
}

.points article {
  border-top: 2px solid rgba(243, 238, 230, 0.5);
  padding-top: 0.85rem;
}

.points p {
  margin-top: 0.45rem;
  max-width: 38ch;
  text-wrap: pretty;
}

.steps {
  list-style: none;
  display: grid;
  gap: 1.35rem;
  margin-top: 1.8rem;
}

.steps li {
  border-top: 2px solid var(--ink);
  padding-top: 0.75rem;
}

.step-index {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 0.9;
  color: var(--forest);
  margin-bottom: 0.35rem;
}

.steps h3 {
  margin-bottom: 0.4rem;
}

.steps p {
  max-width: 36ch;
  text-wrap: pretty;
}

.cube-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.cube-card {
  background: var(--bone);
  color: var(--ink);
  padding: 1.1rem 1.05rem 1.2rem;
  border-top: 3px solid transparent;
  min-height: 100%;
}

.cube-card:hover {
  border-top-color: var(--forest);
}

.cube-card h3 {
  font-size: 1.5rem;
  margin: 0.75rem 0 0.4rem;
}

.cube-card p {
  font-size: 0.98rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.cube-card a {
  color: var(--forest);
  font-weight: 650;
}

.icon-well {
  --ico: #2e2e2d;
  --ico-2: #6a6a66;
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  background: var(--kraft);
  color: var(--ink);
}

.cube-card:hover .icon-well {
  --ico: #f4f7f1;
  --ico-2: #7ab808;
  background: var(--forest);
  color: var(--bone);
}

.pico {
  width: 2.05rem;
  height: 2.05rem;
  display: block;
}

.icon {
  width: 1.7rem;
  height: 1.7rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon * {
  fill: none;
  stroke: inherit;
}

.sticker {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.15rem;
  line-height: 1;
  padding: 0.35rem 0.5rem 0.25rem;
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 0.9rem;
}

.no-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-top: 1.3rem;
}

.no-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bone-2);
  border: 1px solid var(--line-strong);
  padding: 0.75rem 0.9rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.xmark {
  width: 1.65rem;
  height: 1.65rem;
  flex: none;
  background: var(--forest);
  color: var(--bone);
  padding: 0.32rem;
}

.aside-note {
  margin-top: 1.15rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--forest);
  max-width: 42rem;
}

.closeout {
  background: var(--charcoal);
  color: var(--bone);
  border-top: 8px solid var(--lime);
}

.closeout-inner {
  max-width: 40rem;
}

.closeout .lede {
  margin: 1rem 0 1.35rem;
}

/* Footer */

.site-footer {
  background: #fff;
  color: var(--ink);
  border-top: 8px solid var(--forest);
}

.site-footer .logo-link {
  margin: 0 0 0.35rem;
}

.footer-inner {
  display: grid;
  gap: 1.1rem;
  padding: 1.8rem 0 2.2rem;
}

.footer-place {
  margin-top: 0.75rem;
  color: var(--ink);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.footer-nav a {
  color: var(--ink);
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--forest);
}

.legal {
  color: #4a4a47;
  font-size: 0.92rem;
}

/* Booking */

.page-head {
  padding: clamp(1.4rem, 4vw, 2.6rem) 0 1.15rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--line-strong);
}

.page-head h1 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-size: clamp(2.15rem, 4.4vw, 3.5rem);
  max-width: 16ch;
  text-wrap: balance;
}

.leave-note {
  margin-top: 1rem;
  max-width: 46rem;
  padding: 0.8rem 0.95rem;
  background: var(--bone-2);
  border-left: 4px solid var(--forest);
}

.noscript {
  margin: 0 0 1rem;
  padding: 0.8rem 0.95rem;
  background: var(--lime);
  color: var(--ink);
  font-weight: 650;
}

.book-layout {
  display: grid;
  gap: 1rem;
  margin: 0 0 3rem;
}

.sheet {
  background: var(--bone-2);
  border: 1px solid var(--line-strong);
  padding: clamp(1rem, 2.4vw, 1.45rem);
  min-width: 0;
}

.sheet > legend {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.05;
  padding: 0;
  margin-bottom: 0.45rem;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.sheet fieldset {
  margin-top: 1.2rem;
}

.sheet fieldset legend {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  padding: 0;
  margin-bottom: 0.7rem;
}

.hint {
  color: var(--forest);
  font-size: 0.95rem;
  margin-top: 0.3rem;
  text-wrap: pretty;
}

.picker-block h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.picker {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pick-card {
  --ico: #2e2e2d;
  --ico-2: #8a8a86;
  position: relative;
  background: #fff;
  border: 1.5px solid rgba(46, 46, 45, 0.2);
  padding: 0.9rem 0.9rem 0.85rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pick-card.is-on {
  --ico: #0e6030;
  --ico-2: #7ab808;
  border-color: var(--forest);
  background: #f3f8ef;
  box-shadow: 4px 4px 0 var(--forest);
}

.pick-hit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  cursor: pointer;
  padding-right: 2rem;
  color: inherit;
}

.pick-art {
  width: 4.25rem;
  height: 4.25rem;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1.5px solid rgba(46, 46, 45, 0.18);
}

.pick-card.is-on .pick-art {
  border-color: var(--forest);
}

.pick-art .pico {
  width: 2.7rem;
  height: 2.7rem;
}

.pick-name {
  display: block;
  font-family: var(--display);
  font-weight: 750;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.pick-blurb {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #3f3f3c;
}

.pick-check {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0;
  accent-color: var(--forest);
}

.pick-more {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.pick-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pick-qty-row label {
  font-weight: 650;
  font-size: 0.95rem;
  margin: 0;
}

.pick-card-wide .pick-more textarea {
  min-height: 5.5rem;
}

@media (min-width: 640px) {
  .picker {
    grid-template-columns: 1fr 1fr;
  }

  .pick-card-wide {
    grid-column: 1 / -1;
  }
}

.cube-line {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon copy"
    "step step";
  gap: 0.7rem 0.85rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.cube-line:first-of-type {
  border-top: 0;
}

.cube-line .icon-well { grid-area: icon; }
.cube-copy { grid-area: copy; min-width: 0; }
.cube-line .stepper { grid-area: step; justify-self: start; }

.cube-copy label {
  display: block;
  font-family: var(--display);
  font-weight: 750;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.cube-copy p {
  font-size: 0.95rem;
}

.fields {
  display: grid;
  gap: 0.85rem;
}

.field label {
  display: block;
  font-weight: 650;
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.req {
  color: var(--forest);
  margin-left: 0.15rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 2px;
  background: var(--bone-2);
  color: var(--ink);
}

textarea {
  min-height: 7.2rem;
  resize: vertical;
  line-height: 1.45;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%231C1916' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 14px 14px;
  padding-right: 2.3rem;
}

input::placeholder,
textarea::placeholder {
  color: #5c564e;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--lime);
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  box-shadow: 0 0 0 1000px var(--bone-2) inset;
}

.field-error {
  color: var(--error);
  font-size: 0.92rem;
  font-weight: 650;
  margin-top: 0.35rem;
}

[aria-invalid="true"] {
  border-color: var(--error);
  background: var(--danger-bg);
}

.form-errors {
  background: var(--danger-bg);
  border: 2px solid var(--error);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.form-errors p {
  font-weight: 700;
}

.form-errors ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.form-errors a {
  color: var(--error);
  font-weight: 650;
}

.stepper {
  display: inline-flex;
  align-items: stretch;
  height: 48px;
  border: 2px solid var(--ink);
  background: var(--bone-2);
}

.stepper button {
  width: 46px;
  border: 0;
  background: transparent;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
  padding: 0 0 0.15rem;
}

.stepper button:hover {
  background: var(--kraft);
}

.stepper button[aria-disabled="true"] {
  color: rgba(28, 25, 22, 0.32);
  cursor: not-allowed;
}

.stepper button[aria-disabled="true"]:hover {
  background: transparent;
}

.stepper input {
  width: 3rem;
  min-height: 0;
  height: auto;
  border: 0;
  border-left: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  border-radius: 0;
  text-align: center;
  padding: 0;
  background: transparent;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper input:focus-visible {
  outline-offset: -4px;
  box-shadow: inset 0 0 0 3px var(--lime);
}

.stepper:has(input[aria-invalid="true"]) {
  border-color: var(--error);
  background: var(--danger-bg);
}

.cube-line-extra textarea {
  margin-top: 0.6rem;
}

.submit-row {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.65rem;
  justify-items: start;
}

.ticket {
  align-self: start;
  background-color: var(--kraft);
  background-image: radial-gradient(circle at 0 12px, var(--bone) 7px, transparent 7.5px);
  background-size: 100% 24px;
  background-repeat: repeat-y;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--forest);
  padding: 1.15rem 1.05rem 1.1rem 1.45rem;
  min-width: 0;
}

.ticket-kicker {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--forest);
}

.ticket h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 0.2rem 0 0.75rem;
}

.ticket-empty {
  font-weight: 650;
}

.ticket-lines {
  list-style: none;
}

.ticket-lines li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.1rem 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(28, 25, 22, 0.35);
  font-weight: 650;
}

.ticket-detail {
  grid-column: 1 / -1;
  font-weight: 500;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.ticket-total {
  margin-top: 0.75rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
}

.ticket-hint {
  margin-top: 0.7rem;
  color: var(--forest);
  font-weight: 650;
  font-size: 0.95rem;
}

.ticket-note {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 2px solid var(--ink);
  font-size: 0.92rem;
}

.confirm {
  background: var(--bone-2);
  border: 2px solid var(--ink);
  border-left: 10px solid var(--forest);
  box-shadow: 6px 6px 0 var(--forest);
  padding: clamp(1rem, 2vw, 1.45rem);
  margin: 0 0 1.25rem;
}

.confirm h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.15rem);
  max-width: 16ch;
}

.confirm .lede {
  margin-top: 0.75rem;
}

.confirm-when {
  margin-top: 0.45rem;
  font-weight: 650;
}

.banner {
  margin-top: 0.9rem;
  background: var(--lime);
  color: var(--ink);
  padding: 0.65rem 0.75rem;
  font-weight: 700;
}

.confirm-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.15rem;
}

.confirm h3 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.confirm-cubes {
  list-style: none;
}

.confirm-cubes li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.confirm-total {
  margin-top: 0.65rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.confirm dt {
  margin-top: 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
}

.confirm dd {
  margin: 0.12rem 0 0;
  overflow-wrap: anywhere;
}

.preline {
  white-space: pre-line;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
  align-items: center;
}

.clear-confirm {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.7rem;
  align-items: center;
}

.clear-confirm p {
  flex: 1 1 16rem;
  font-weight: 650;
}

.copy-status {
  min-height: 1.3em;
  margin-top: 0.65rem;
  font-weight: 650;
}

@media (min-width: 560px) {
  .no-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 640px) {
  .fields.two,
  .fields.when {
    grid-template-columns: 1fr 1fr;
  }

  .fields.address {
    grid-template-columns: 1.4fr 0.8fr 0.7fr;
  }

  .span-all {
    grid-column: 1 / -1;
  }
}

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .legal {
    grid-column: 1 / -1;
  }
}

@media (min-width: 720px) {
  .cube-line {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "icon copy step";
    align-items: center;
  }

  .cube-line-extra {
    align-items: start;
  }

  .cube-line-extra .stepper {
    margin-top: 0.15rem;
  }

  .confirm-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 800px) {
  .points {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
  }

  .no-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.75rem;
  }

  .book-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    grid-template-areas:
      "cubes ticket"
      "details ticket";
    align-items: start;
    gap: 1.25rem 1.5rem;
  }

  #cubes { grid-area: cubes; }
  .ticket { grid-area: ticket; position: sticky; top: 5.25rem; }
  #details { grid-area: details; }
}

@media (min-width: 1000px) {
  .cube-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 380px) {
  .logo {
    max-height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn-primary:hover,
  .btn-primary:active,
  .nav-toggle[aria-expanded="true"] .burger::before,
  .nav-toggle[aria-expanded="true"] .burger::after {
    transform: none;
  }
}

@media print {
  body {
    background: white;
  }

  .site-header {
    position: static;
  }

  .nav-toggle,
  .hero-actions,
  .closeout,
  .slats {
    display: none !important;
  }

  .hero-stage,
  .btn,
  .ticket,
  .confirm,
  .sticker {
    box-shadow: none;
  }

  body.is-confirmed .site-header,
  body.is-confirmed .page-head,
  body.is-confirmed #order-form,
  body.is-confirmed .site-footer,
  body.is-confirmed .confirm-actions,
  body.is-confirmed #clear-confirm,
  body.is-confirmed .copy-status {
    display: none !important;
  }

  body.is-confirmed #confirmation {
    display: block !important;
    border: 0;
    margin: 0;
  }
}
