/* Hallmark · custom · Orchard Scoop · orchard green, strawberry milk and scoop counter */
/* Critique: The laminated scoop snapshot sets up the live flavour pairing. */
@font-face {
  font-family: "BRIC";
  src: url("./fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DMS";
  src: url("./fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #fde4e4;
  --ink: #214633;
  --line: #9fb49a;
  --focus: #943444;
  --cta: #1c4933;
  --cta-ink: #fff7ee;
  --display: "BRIC", Georgia, serif;
  --body: "DMS", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-block-start: 1.5rem;
}
html,
body {
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul,
dl,
dd,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: var(--heading-weight, 400);
  line-height: 1;
  min-width: 0;
  overflow-wrap: break-word;
}
h1,
h2 {
  text-wrap: balance;
}
p {
  max-width: 65ch;
  text-wrap: pretty;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  background: none;
}
img {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  z-index: 3;
  left: 1rem;
  top: -7rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.65rem 1rem;
}
.skip:focus {
  top: 0.5rem;
}
.wrap {
  width: min(91%, 81rem);
  margin-inline: auto;
}
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.4rem;
}
.site-head nav {
  display: flex;
  gap: clamp(0.7rem, 2.1vw, 2.4rem);
  align-items: center;
  flex-wrap: wrap;
}
.site-head nav a {
  text-decoration: none;
  font-size: 0.9rem;
}
.site-head nav a:hover {
  text-decoration: underline;
}
.wordmark {
  color: inherit;
  font-family: var(--display);
  text-decoration: none;
  line-height: 1;
}
.site-foot {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.site-foot .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.site-foot p {
  font-size: 0.83rem;
}
.site-foot a {
  white-space: nowrap;
}
.jump,
.action {
  display: inline-flex;
  min-height: 2.8rem;
  padding: 0.65rem 1.15rem;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border: 1px solid currentColor;
  color: var(--cta-ink);
  background: var(--cta);
  font-weight: 650;
}
.jump:hover,
.action:hover {
  text-decoration: underline;
  text-underline-offset: 0.24em;
}
.detail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section {
  padding-block: clamp(3.4rem, 7vw, 7.5rem);
}
.section h2 {
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  margin-bottom: 1rem;
}
.section h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin: 1rem 0 1.2rem;
}
.choices button,
.stepper button {
  padding: 0.55rem 0.9rem;
  min-height: 2.75rem;
  border: 1px solid currentColor;
}
.choices button[aria-pressed="true"],
.stepper button:hover {
  background: var(--cta);
  color: var(--cta-ink);
}
form,
fieldset {
  min-width: 0;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
legend,
label {
  font-weight: 650;
}
select {
  min-height: 2.75rem;
  max-width: 100%;
  padding: 0.55rem 2.2rem 0.55rem 0.75rem;
  border: 1px solid currentColor;
  background: var(--control, var(--paper));
  border-radius: 0;
}
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.stepper button {
  min-width: 2.75rem;
  padding-inline: 0.5rem;
}
.stepper button:disabled {
  background: var(--paper);
  color: var(--line);
  border-color: var(--line);
  cursor: not-allowed;
}
.stepper output {
  font-variant-numeric: tabular-nums;
  min-width: 1.25rem;
  text-align: center;
}
.note {
  font-size: 0.82rem;
  line-height: 1.45;
}
.section p + p {
  margin-top: 0.75rem;
}
@media (max-width: 640px) {
  .site-head {
    min-height: 4.25rem;
    gap: 0.8rem;
  }
  .site-head nav {
    gap: 0.8rem;
  }
  .site-head nav a {
    font-size: 0.825rem;
  }
  .site-foot .wrap {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:root {
  --heading-weight: 780;
  --leaf: #214633;
  --berry: #9b2946;
  --pink: #fde4e4;
  --green: #d4e2b4;
  --milk: #fff7ee;
  --sorbet: #f1bd77;
  --pea: #b3cd8a;
}
.site-head {
  min-height: 4.6rem;
}
.wordmark {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.075em;
}
.hero {
  padding: clamp(1.5rem, 3vw, 3rem) 0 2rem;
}
.parlour {
  position: relative;
  background: var(--green);
  border-radius: clamp(2rem, 4vw, 5rem);
  padding: clamp(2rem, 4.5vw, 5.2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 5%;
  align-items: center;
}
.parlour h1 {
  font-size: clamp(4.4rem, 8.6vw, 9.3rem);
  line-height: 0.88;
  letter-spacing: -0.09em;
}
.parlour p {
  max-width: 31ch;
  font-size: 1.08rem;
  margin: 1.25rem 0;
}
.parlour .jump {
  border-radius: 2rem;
}
.parlour figure {
  background: var(--milk);
  padding: 0.72rem 0.72rem 1rem;
  transform: rotate(3deg);
  box-shadow: 5px 6px 0 var(--leaf);
  border: 1px solid var(--leaf);
}
.parlour figure img {
  height: clamp(17rem, 27vw, 27rem);
  width: 100%;
  object-fit: cover;
}
.parlour figcaption {
  text-align: center;
  font-size: 0.85rem;
  padding-top: 0.65rem;
  color: var(--berry);
}
.specials {
  background: var(--milk);
}
.specials .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 8%;
}
.specials h2,
.visit h2 {
  letter-spacing: -0.075em;
}
.stack {
  border-block: 2px solid var(--leaf);
  padding-block: 1.25rem;
}
.scoop-controls {
  display: flex;
  gap: 1rem;
}
.scoop-controls label {
  display: grid;
  gap: 0.35rem;
  flex: 1;
}
.scoop-controls select {
  background: var(--milk);
}
.stack-result {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin-top: 1.3rem;
  min-height: 6rem;
}

.stack .note {
  margin-top: 1rem;
}
.visit {
  background: var(--pink);
}
.visit .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 7%;
  align-items: center;
}
.visit img {
  height: clamp(14rem, 23vw, 24rem);
  border-radius: 7rem 7rem 1rem 1rem;
}
.visit address {
  font-style: normal;
  margin-top: 1rem;
}
@media (max-width: 720px) {
  .parlour,
  .specials .wrap,
  .visit .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.55rem;
  }
  .parlour {
    padding: 1.6rem 1.45rem 2rem;
  }
  .parlour h1 {
    font-size: clamp(3.8rem, 15vw, 6.5rem);
  }
  .parlour h1 br {
    display: none;
  }
  .parlour figure {
    width: 95%;
    margin-inline: auto;
  }
  .parlour figure img {
    height: 52vw;
    min-height: 12rem;
  }
  .wordmark {
    font-size: 1.38rem;
  }
  .scoop-controls {
    flex-wrap: wrap;
  }
}

button,
a {
  touch-action: manipulation;
}
button:enabled:active,
.jump:active {
  transform: translateY(1px);
}
.choices button:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

:where(img) {
  height: auto;
}

.chapter {
  padding-block: clamp(3.5rem, 7.5vw, 7.5rem);
}
.chapter .chapter-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.chapter-intro h2 {
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin: 0 0 1.15rem;
}
.chapter-intro > p {
  max-width: 39ch;
}
.chapter-tool {
  min-width: 0;
}
.chapter-tool h3 {
  font-size: clamp(1.65rem, 3.1vw, 3rem);
  margin-bottom: 0.6rem;
}
.chapter-tool h4 {
  font-size: 1.12rem;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}
.chapter-tool .small {
  font-size: 0.88rem;
}
.chapter-tool button,
.chapter-tool input,
.chapter-tool select {
  max-width: 100%;
}
.chapter-tool .work-button {
  min-height: 2.85rem;
  padding: 0.65rem 1rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}
.chapter-tool .work-button:hover {
  text-decoration: underline;
}
.chapter-tool .work-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.chapter-tool .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-block: 1rem;
}
.chapter-link {
  display: inline-block;
  font-size: 0.95rem;
  text-underline-offset: 0.3em;
  padding: 0.7rem 0.4rem;
  margin-left: 0.6rem;
}
.chapter-intro details {
  border-block-start: 1px solid currentColor;
  margin-top: 1.3rem;
  padding-block: 0.8rem;
}
.chapter-intro summary {
  cursor: pointer;
  font-weight: 650;
  min-height: 2.3rem;
}
.chapter-intro details p {
  max-width: 40ch;
}
@media (max-width: 730px) {
  .chapter .chapter-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }
  .chapter-link {
    margin-left: 0.15rem;
  }
  .chapter-intro h2 {
    max-width: 16ch;
  }
}

.flavour-tray-chapter {
  background: var(--green);
  color: var(--leaf);
}
.churn-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}
.churn-notes button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  gap: 0.4rem;
  color: var(--leaf);
  border: 1px solid var(--leaf);
  border-radius: 1rem;
  background: var(--milk);
  padding: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.15;
}
.churn-notes button[aria-pressed="true"] {
  box-shadow: inset 0 0 0 2px var(--leaf);
}

.churn-card {
  margin: 1rem 0;
  background: var(--pink);
  padding: clamp(1rem, 2.5vw, 2.2rem);
  border: 1px solid var(--leaf);
  border-radius: 1.35rem;
}
.churn-card > p:first-child {
  color: var(--berry);
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
}
.churn-card .actions {
  align-items: center;
  margin-bottom: 0;
}
.churn-card .work-button {
  border-radius: 2rem;
  background: var(--leaf);
  color: var(--milk);
}
.tasting-board {
  border-top: 2px solid var(--leaf);
  padding-top: 0.8rem;
}
.tasting-board ol {
  list-style: none;
  padding: 0;
}
.tasting-board li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0;
  border-top: 1px solid var(--leaf);
}
.tasting-board button {
  min-height: 2.8rem;
  background: transparent;
  color: var(--leaf);
  border: 0;
  text-decoration: underline;
  padding: 0.35rem;
}
.flavour-lab [role="status"] {
  min-height: 1.4rem;
  font-size: 0.88rem;
  margin-top: 0.5rem;
}
.churn-card h3 {
  letter-spacing: -0.055em;
}
@media (min-width: 850px) {
  .flavour-tray-chapter .chapter-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
  }
  .flavour-tray-chapter .chapter-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.84fr);
    column-gap: 6%;
    align-items: start;
  }
  .flavour-tray-chapter .chapter-intro h2 {
    grid-row: span 2;
  }
  .flavour-tray-chapter .chapter-intro details {
    grid-column: 2;
    margin-top: 0.8rem;
  }
  .flavour-lab {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    column-gap: 3%;
    align-items: start;
  }
  .flavour-lab .churn-notes {
    grid-column: 1/-1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
  .churn-notes button {
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
    min-height: 3.75rem;
    font-size: 1rem;
  }
  .tasting-board {
    margin: 1rem 0;
  }
  .flavour-lab [role="status"] {
    grid-column: 1/-1;
  }
}

.site-head nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Parlour cabinet */
.cabinet-shop {
  width: min(1320px, 94%);
  margin: 1.6rem auto 3rem;
  color: #2d372a;
}
.cabinet-sign {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  border-block: 4px double #406756;
  padding: 0.9rem 0 1.2rem;
}
.cabinet-sign h1 {
  font-size: clamp(4rem, 8.5vw, 9.5rem);
  line-height: 0.85;
  color: #285746;
  max-width: 8em;
}
.cabinet-sign p {
  max-width: 24rem;
}
.cabinet-counter {
  display: grid;
  grid-template-columns: 0.72fr 1.35fr;
  border: 8px solid #a1aea0;
  background: #d5ded2;
  box-shadow: inset 0 0 0 2px #fff;
  margin-top: 1.1rem;
}
.cabinet-counter figure {
  margin: 0;
  min-width: 0;
}
.cabinet-counter figure img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
.cold-case {
  padding: clamp(0.65rem, 2vw, 2rem);
  color: #243c33;
}
.case-rail,
.cold-case > p {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.case-rail > b {
  font: clamp(1.5rem, 3.2vw, 3.1rem) var(--display);
}
.case-rail :is(button, .front-key) {
  padding: 0.4rem 0.65rem;
  color: #243c33;
  background: #f3f0e0;
  border: 1px solid #466458;
  border-radius: 0;
  cursor: pointer;
  font-weight: 700;
}
.case-rail :is(button, .front-key):is([aria-pressed="true"], [data-default]) {
  background: #264d3e;
  color: white;
}

.cold-case > p {
  justify-content: flex-start;
  line-height: 1.3;
}
.cold-case > p span {
  margin-left: auto;
  font-weight: 700;
}
.cabinet-more {
  display: inline-block;
  margin-top: 0.7rem;
  font-weight: bold;
}

.churn-notes button,
.churn-card,
.churn-card .work-button {
  border-radius: 0;
}
.churn-card {
  border: 0;
  border-block: 2px solid var(--leaf);
  background:
    repeating-linear-gradient(0deg, transparent 0 26px, #7f56491c 26px 27px),
    #ffedd9;
}

.cold-case button:focus-visible {
  outline: 3px dashed #151b16;
  outline-offset: 2px;
}
@media (max-width: 750px) {
  .cabinet-sign {
    display: block;
  }
  .cabinet-sign p {
    margin-top: 0.75rem;
  }
  .cabinet-counter {
    grid-template-columns: 1fr;
  }
  .cabinet-counter figure {
    height: clamp(112px, 31vw, 180px);
  }
  .cabinet-counter figure img {
    object-position: center 45%;
  }

  .cabinet-shop {
    margin-top: 1rem;
  }
}

.cabinet-sign {
  align-items: center;
}
.cabinet-sign h1 {
  font-size: clamp(3.5rem, 7vw, 8rem);
}
@media (max-width: 750px) {
  .cabinet-sign {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 62px;
    gap: 0.3rem;
  }
  .cabinet-sign h1 {
    font-size: clamp(2.9rem, 11vw, 5rem);
  }

  .cabinet-sign p {
    grid-column: 1/-1;
  }
}

/* The printed panel is available before the interactive controls load. */
#front-panel [data-front-preview] .front-key {
  cursor: default;
}
#front-panel [data-front-preview] a.front-key {
  cursor: pointer;
}
:where(.front-key, .front-value) {
  display: inline-block;
  box-sizing: border-box;
  font: inherit;
  line-height: inherit;
  text-align: center;
}

.cabinet-shop {
  color: #254436;
}
.cabinet-sign {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}
.cabinet-counter {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.cabinet-counter figure img {
  height: clamp(240px, 31vw, 400px);
}
.cold-case {
  padding: 0;
  background: transparent;
}
.flavour-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-block: 2px solid #375e4c;
  margin: 1rem 0;
}
.flavour-pick {
  display: block;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid #a9b6a3;
  border-radius: 0;
  background: transparent;
  color: #244633;
  text-align: left;
  font: 700 1rem var(--body);
  padding: 0.55rem 0.3rem;
  cursor: pointer;
}
.flavour-pick:nth-child(odd) {
  padding-right: 0.5rem;
}
.flavour-pick:is([aria-pressed="true"], [data-default]) {
  color: #204b35;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.case-rail {
  gap: 0.6rem;
}
.stack-result,
.churn-notes button {
  align-items: center;
}
.churn-notes button {
  display: block;
  text-align: left;
}
.churn-notes button span {
  display: block;
}
.churn-card {
  background: #ffedd9;
}
.case-rail > b {
  line-height: 1.1;
}
.cabinet-shop .cabinet-more {
  margin-top: 1.15rem;
}
@media (max-width: 750px) {
  .cabinet-sign {
    display: block;
  }
  .cabinet-sign h1 {
    max-width: none;
  }
  .cabinet-counter {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .cabinet-counter figure,
  .cabinet-counter figure img {
    height: clamp(175px, 49vw, 260px);
  }
  .flavour-menu {
    margin: 0.65rem 0;
  }
}

.case-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
}
.case-rail > b {
  font-size: clamp(1.85rem, 2.8vw, 3.25rem);
  margin: 0;
}
.case-rail > div {
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
}
.case-rail :is(button, .front-key) {
  min-height: 2.75rem;
  align-content: center;
}
.flavour-menu {
  grid-template-columns: 1fr;
}
.flavour-pick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7rem, 0.8fr);
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.6rem 0.2rem;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
}
.flavour-pick small {
  font: 400 0.84rem var(--body);
  text-align: right;
}
.flavour-pick:is([aria-pressed="true"], [data-default]) {
  text-decoration: none;
}
.flavour-pick:is([aria-pressed="true"], [data-default]) span {
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.flavour-pick:hover:is(button) {
  background: #ecddce;
}
.flavour-menu .front-key {
  text-align: left;
}
.cold-case > p {
  font-weight: 450;
  padding: 0.15rem 0;
}
.cold-case > p span {
  font-size: 1.08rem;
}
@media (max-width: 460px) {
  .case-rail {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .flavour-menu {
    margin-top: 0.6rem;
  }
  .flavour-pick {
    grid-template-columns: 1fr auto;
    gap: 0.4rem;
  }
  .flavour-pick small {
    font-size: 0.78rem;
  }
  .cold-case > p {
    font-size: 0.9rem;
  }
}
