/* Brunfold Bread School — original self-contained presentation.
   Structural HTML, Bootstrap behavior and supplied API client are retained. */

/* 01. Bundled typography and semantic palette */
@font-face {
  font-family: 'Bree Serif';
  src: url('../fonts/BreeSerif-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/NunitoSans-Variable.ttf') format('truetype');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
:root,
[data-bs-theme='light'] {
  color-scheme: light;
  --flour: #f7f3e9;
  --ink: #263e30;
  --moss: #456648;
  --oat: #ece6d6;
  --toast: #d7aa63;
  --surface: #fffefa;
  --surface-soft: #f1efdf;
  --surface-raised: #ffffff;
  --border: #d7d8c8;
  --border-strong: #9ca58c;
  --muted: #606c5c;
  --link: #34573b;
  --link-hover: #233e2c;
  --action: #456648;
  --action-hover: #34523a;
  --action-active: #293f2e;
  --action-ink: #fffef5;
  --field: #fffef9;
  --field-disabled: #eeeee3;
  --success: #35613d;
  --danger: #a33b2e;
  --focus: #886226;
  --focus-ring: rgb(136 98 38 / 21%);
  --card-shadow: 0 3px 6px rgb(38 62 48 / 3%), 0 16px 36px -22px rgb(38 62 48 / 22%);
  --lift-shadow: 0 8px 14px rgb(38 62 48 / 5%), 0 24px 46px -22px rgb(38 62 48 / 28%);
  --modal-head: #eee9d9;
  --modal-foot: #e6e5d4;
  --radius: 1.4rem;
  --radius-small: 0.8rem;
  --duration: 200ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --bs-body-font-family: 'Nunito Sans', sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.65;
  --bs-body-color: var(--ink);
  --bs-body-color-rgb: 38, 62, 48;
  --bs-body-bg: var(--flour);
  --bs-body-bg-rgb: 247, 243, 233;
  --bs-heading-color: var(--ink);
  --bs-secondary-color: var(--muted);
  --bs-secondary-color-rgb: 96, 108, 92;
  --bs-secondary-bg: var(--oat);
  --bs-tertiary-bg: var(--surface-soft);
  --bs-emphasis-color: var(--ink);
  --bs-emphasis-color-rgb: 38, 62, 48;
  --bs-link-color: var(--link);
  --bs-link-color-rgb: 52, 87, 59;
  --bs-link-hover-color: var(--link-hover);
  --bs-link-hover-color-rgb: 35, 62, 44;
  --bs-border-color: var(--border);
  --bs-border-radius: var(--radius-small);
  --bs-border-radius-lg: var(--radius);
  --bs-primary: var(--action);
  --bs-primary-rgb: 69, 102, 72;
  --bs-success: var(--success);
  --bs-success-rgb: 53, 97, 61;
  --bs-danger: var(--danger);
  --bs-danger-rgb: 163, 59, 46;
}
[data-bs-theme='dark'] {
  color-scheme: dark;
  --flour: #202b24;
  --ink: #f3efdf;
  --moss: #c4d6a9;
  --oat: #354335;
  --toast: #d7aa63;
  --surface: #29382d;
  --surface-soft: #2e3d30;
  --surface-raised: #334336;
  --border: #52624e;
  --border-strong: #91a47c;
  --muted: #b9c4b0;
  --link: #d5e4ba;
  --link-hover: #fff8e8;
  --action: #c4d6a9;
  --action-hover: #d8e5c2;
  --action-active: #b3c99a;
  --action-ink: #22372b;
  --field: #243327;
  --field-disabled: #314032;
  --success: #c4d6a9;
  --danger: #ffb5a2;
  --focus: #e5bc7c;
  --focus-ring: rgb(229 188 124 / 23%);
  --card-shadow: 0 3px 7px rgb(5 17 9 / 10%), 0 16px 32px -20px rgb(4 14 7 / 35%);
  --lift-shadow: 0 8px 16px rgb(5 17 9 / 17%), 0 28px 45px -22px rgb(4 14 7 / 50%);
  --modal-head: #344434;
  --modal-foot: #3b4b38;
  --bs-body-color: var(--ink);
  --bs-body-color-rgb: 243, 239, 223;
  --bs-body-bg: var(--flour);
  --bs-body-bg-rgb: 32, 43, 36;
  --bs-emphasis-color: var(--ink);
  --bs-emphasis-color-rgb: 243, 239, 223;
  --bs-secondary-color: var(--muted);
  --bs-secondary-color-rgb: 185, 196, 176;
  --bs-secondary-bg: var(--oat);
  --bs-tertiary-bg: var(--surface-soft);
  --bs-heading-color: var(--ink);
  --bs-link-color: var(--link);
  --bs-link-color-rgb: 213, 228, 186;
  --bs-link-hover-color: var(--link-hover);
  --bs-link-hover-color-rgb: 255, 248, 232;
  --bs-border-color: var(--border);
  --bs-success-rgb: 196, 214, 169;
  --bs-danger-rgb: 255, 181, 162;
}

/* 02. Readable foundations, focus and page rhythm */
html {
  scroll-padding-top: 7rem;
}
body {
  min-width: 360px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  background:
    radial-gradient(ellipse at 50% 0, color-mix(in srgb, var(--oat) 27%, transparent), transparent 760px),
    var(--flour);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--oat);
  color: var(--ink);
}
h1,
h2,
h3,
h4,
.brand,
.h3,
.h4,
.h5,
.h6 {
  font-family: 'Bree Serif', Georgia, serif;
  font-weight: 400;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 4.65vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.9rem, 3.05vw, 2.8rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
}
h3,
.h3 {
  font-size: 1.65rem;
  line-height: 1.22;
  letter-spacing: -0.015em;
}
h4,
.h4 {
  font-size: 1.4rem;
  line-height: 1.3;
}
.h5 {
  font-size: 1.15rem;
  line-height: 1.35;
}
.h6 {
  font-size: 1rem;
  line-height: 1.45;
}
p {
  margin-bottom: 1.15rem;
}
strong,
b {
  font-weight: 800;
}
a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition:
    color var(--duration),
    text-decoration-color var(--duration);
}
a:hover {
  color: var(--link-hover);
  text-decoration-thickness: 2px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
summary,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
.btn,
summary {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
main:focus {
  outline: none;
}
[hidden] {
  display: none !important;
}
.container {
  width: 100%;
  max-width: 1328px;
  padding-inline: 32px;
}
main > .container {
  padding-bottom: 1.25rem;
}
.row > *,
.d-flex > *,
.footer-grid > * {
  min-width: 0;
}
.section {
  padding-block: clamp(2.6rem, 5vw, 4.3rem);
}
.section + .section {
  padding-top: 1.2rem;
}
.page-intro {
  max-width: 920px;
  padding: 2.5rem 0 2.6rem;
}
.page-intro .lead {
  max-width: 750px;
  margin-bottom: 0;
}
.lead {
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.65;
  text-wrap: pretty;
}
.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--moss);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.135em;
  line-height: 1.6;
  text-transform: uppercase;
}
.small,
small {
  font-size: 0.875rem;
  line-height: 1.6;
}
.muted,
.illustration-note,
.legal-note {
  color: var(--muted);
}
.illustration-note,
.legal-note,
.loading-note {
  font-size: 0.8125rem;
  line-height: 1.65;
}
.breadcrumb {
  --bs-breadcrumb-divider-color: var(--muted);
  --bs-breadcrumb-item-active-color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.breadcrumb a {
  text-decoration-color: var(--border-strong);
}
.breadcrumb-item {
  overflow-wrap: anywhere;
}
.skip-link {
  position: fixed;
  top: -10rem;
  left: 1rem;
  z-index: 2000;
  padding: 0.8rem 1rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: 0.6rem;
  font-weight: 800;
}
.skip-link:focus {
  top: 0.75rem;
}

/* 03. Shared navigation and useful actions */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1020;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 2px 12px rgb(30 49 35 / 3%);
}
.site-nav .navbar {
  padding-block: 1rem !important;
}
.brand {
  display: inline-block;
  margin: 0;
  color: var(--ink);
  font-size: 2.3rem;
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-decoration: none;
}
.brand:hover {
  color: var(--moss);
  text-decoration: none;
}
.brand small {
  display: block;
  margin-top: 0.55rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.brand svg {
  flex: 0 0 auto;
  width: 46px;
  height: 42px;
  margin-right: 0.65rem;
  color: var(--moss);
  stroke-width: 1.75;
}
.site-nav .navbar-brand {
  margin-right: 1.5rem;
  padding-block: 0;
}
.site-nav .nav-link {
  position: relative;
  padding: 0.7rem 0.6rem;
  border-radius: 0.65rem;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 750;
  white-space: nowrap;
  transition:
    background var(--duration),
    color var(--duration);
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible {
  background: var(--surface-soft);
  color: var(--link);
}
.site-nav .nav-link[aria-current='page'] {
  background: var(--oat);
  color: var(--link);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-actions .btn {
  font-size: 0.8125rem;
  padding-inline: 0.95rem;
}
.btn {
  --bs-btn-color: var(--ink);
  --bs-btn-border-radius: 0.7rem;
  --bs-btn-disabled-opacity: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.72rem 1.15rem;
  border-width: 1px;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
  transition:
    color var(--duration),
    background-color var(--duration),
    border-color var(--duration),
    box-shadow var(--duration),
    transform var(--duration) var(--ease);
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.btn:active,
.btn.active {
  transform: translateY(0);
}
.btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--focus-ring);
}
.btn-primary {
  --bs-btn-color: var(--action-ink);
  --bs-btn-bg: var(--action);
  --bs-btn-border-color: var(--action);
  --bs-btn-hover-color: var(--action-ink);
  --bs-btn-hover-bg: var(--action-hover);
  --bs-btn-hover-border-color: var(--action-hover);
  --bs-btn-active-color: var(--action-ink);
  --bs-btn-active-bg: var(--action-active);
  --bs-btn-active-border-color: var(--action-active);
  --bs-btn-disabled-color: var(--muted);
  --bs-btn-disabled-bg: var(--field-disabled);
  --bs-btn-disabled-border-color: var(--border);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 10%),
    0 3px 6px rgb(28 53 32 / 9%);
}
.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 10%),
    0 5px 12px rgb(28 53 32 / 15%);
}
.btn-outline-secondary {
  --bs-btn-color: var(--ink);
  --bs-btn-border-color: var(--border-strong);
  --bs-btn-bg: transparent;
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--surface-soft);
  --bs-btn-hover-border-color: var(--moss);
  --bs-btn-active-color: var(--ink);
  --bs-btn-active-bg: var(--oat);
  --bs-btn-active-border-color: var(--moss);
  --bs-btn-disabled-color: var(--muted);
  --bs-btn-disabled-bg: var(--field-disabled);
  --bs-btn-disabled-border-color: var(--border);
}
.btn:disabled,
.btn.disabled {
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.icon-button {
  width: 42px;
  height: 44px;
  min-height: 44px;
  flex: 0 0 42px;
  padding: 0 !important;
  border-color: transparent;
  border-radius: 50%;
}
.icon-button svg {
  width: 19px;
  height: 19px;
}
.navbar-toggler {
  min-width: 46px;
  min-height: 46px;
  padding: 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.7rem;
  color: var(--ink);
  box-shadow: none;
}
.navbar-toggler:hover,
.navbar-toggler[aria-expanded='true'] {
  background: var(--oat);
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.navbar-toggler-icon {
  width: 1.35rem;
  height: 1.35rem;
}
.demo-strip {
  padding: 0.5rem 1.5rem;
  background: var(--oat);
  color: var(--muted);
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.65;
}
.demo-strip a {
  margin-left: 0.35rem;
  color: var(--link);
  font-weight: 800;
  white-space: nowrap;
}

/* 04. The school statement, photo bench and next-workshop ticket */
.hero-copy {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  padding: 2.2rem 1rem 2rem;
  text-align: center;
}
.hero-copy .eyebrow {
  margin-bottom: 1rem;
}
.hero-copy h1 {
  margin-bottom: 1rem;
  font-size: clamp(3.6rem, 7vw, 6rem);
  line-height: 0.99;
  letter-spacing: -0.04em;
}
.hero-copy .lead {
  margin-inline: auto;
  font-size: 1.125rem;
  line-height: 1.6;
}
.hero-copy .btn {
  min-height: 48px;
  padding-inline: 1.4rem;
}
.hero-bench {
  display: grid;
  grid-template-columns: 1.58fr 1fr;
  gap: 1rem;
}
.hero-bench figure {
  min-width: 0;
  overflow: hidden;
  border-radius: 1.4rem;
  box-shadow: var(--card-shadow);
}
.hero-bench .photo {
  height: clamp(260px, 26vw, 335px);
  border-radius: inherit;
  aspect-ratio: auto;
}
.hero-bench figure:first-child .photo {
  object-position: 50% 56%;
}
.hero-bench figure:last-child .photo {
  object-position: 46% 50%;
}
.hero-ticket {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  margin: 1rem 0 0;
  padding: 1.3rem 1.8rem;
  background: linear-gradient(112deg, var(--oat), var(--surface-soft));
  border: 1px solid var(--border);
  border-radius: 1.05rem;
  box-shadow: 0 4px 12px rgb(38 62 48 / 3%);
}
.hero-ticket::before {
  content: '';
  position: absolute;
  top: 1.25rem;
  bottom: 1.25rem;
  left: 0;
  width: 4px;
  background: var(--toast);
  border-radius: 0 4px 4px 0;
}
.hero-ticket .eyebrow {
  font-size: 0.75rem;
}
.hero-ticket .h3 {
  font-size: 1.5rem;
}
.hero-ticket p:last-child {
  color: var(--muted);
  font-size: 0.875rem;
}
.hero-ticket > .btn {
  flex: 0 0 auto;
}
body[data-page='index'] .section > .mb-4 {
  max-width: 760px;
  margin-bottom: 2rem !important;
}
body[data-page='index'] .section > .row.align-items-center {
  --bs-gutter-x: 4rem;
}
body[data-page='index'] .section:last-child .surface {
  padding: 2.5rem;
  background: linear-gradient(120deg, var(--oat), var(--surface-soft));
}
body[data-page='index'] .section:last-child .photo {
  aspect-ratio: 1.5;
}

/* 05. Dimensional cards, food photography and useful facts */
.surface,
.premium-card,
.recipe-sheet,
.summary-card {
  min-width: 0;
  padding: 1.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface-raised), var(--surface));
  box-shadow: var(--card-shadow);
}
.premium-card {
  height: 100%;
  overflow: hidden;
}
[data-premium-card] {
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 220ms;
}
[data-premium-card]:focus-within {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--lift-shadow);
}
.photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 1rem;
  background: var(--oat);
}
.card-photo {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.card-photo > .photo {
  aspect-ratio: 1.5;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  transition:
    filter 220ms,
    transform 350ms var(--ease);
}
.card-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.45rem;
  background: var(--surface);
}
.card-body > .d-flex:first-child {
  width: 100%;
  align-items: center;
}
.card-body h2,
.card-body h3 {
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
}
.card-body h2 a,
.card-body h3 a {
  color: var(--ink);
  text-decoration: none;
}
.card-body h2 a:hover,
.card-body h3 a:hover {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.card-body > p {
  color: var(--muted);
}
.card-body > p.small {
  width: 100%;
  padding-block: 0.85rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
}
.card-body > .d-flex:last-child {
  width: 100%;
  margin-top: 0.2rem;
}
.card-body .btn {
  flex: 1 1 auto;
  padding-inline: 0.8rem;
  font-size: 0.8125rem;
}
.card-body > .eyebrow {
  margin-bottom: 0.7rem;
  color: var(--moss);
}
.card-body > a:last-child {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 800;
}
.tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.3rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  border-radius: 100px;
  background: var(--surface-soft);
  color: var(--link);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.55;
}
.fact-list {
  display: grid;
  grid-template-columns: minmax(90px, 0.9fr) minmax(0, 1.35fr);
  gap: 0 1rem;
  margin-block: 1rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.fact-list dt,
.fact-list dd {
  margin: 0;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--border);
  overflow-wrap: anywhere;
}
.fact-list dt {
  color: var(--muted);
  font-weight: 500;
}
.fact-list dd {
  font-weight: 800;
}
.fact-list dt:last-of-type,
.fact-list dd:last-of-type {
  border-bottom: 0;
}
.fact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
  padding-block: 1rem;
}
.summary-card {
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
}
.summary-card > .photo {
  aspect-ratio: 1.75;
}
.summary-card .small {
  color: var(--muted);
}
.surface > :last-child,
.recipe-sheet > :last-child,
.summary-card > :last-child {
  margin-bottom: 0;
}
.surface ul,
.summary-card ul,
.recipe-sheet ul {
  padding-left: 1.15rem;
}
.surface li + li,
.summary-card li + li,
.recipe-sheet li + li {
  margin-top: 0.6rem;
}

@media (hover: hover) {
  [data-premium-card]:hover {
    transform: translateY(-5px);
    border-color: var(--border-strong);
    box-shadow: var(--lift-shadow);
  }
  .card-photo:hover > .photo {
    filter: saturate(1.05);
    transform: scale(1.018);
  }
}

/* 06. Discovery tools, labelled forms and honest feedback */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface-soft);
}
.toolbar > label {
  display: block;
  flex: 1 1 220px;
  min-width: 0;
  margin: 0;
  font-size: 0.8125rem;
}
.toolbar .form-control,
.toolbar .form-select {
  margin-top: 0.4rem;
}
.toolbar > .btn {
  flex-shrink: 0;
  min-height: 48px;
}
label,
.form-label {
  color: var(--ink);
  font-weight: 750;
}
.form-label {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.field {
  min-width: 0;
  margin-bottom: 1.25rem;
}
.form-control,
.form-select {
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.65rem;
  background-color: var(--field);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.5;
  transition:
    border-color 180ms,
    background-color 180ms,
    box-shadow 180ms;
}
.form-select {
  padding-right: 2.35rem;
  background-position: right 0.8rem center;
}
.form-control::placeholder {
  color: var(--muted);
  opacity: 1;
  font-weight: 450;
}
.form-control:hover:not(:disabled),
.form-select:hover:not(:disabled) {
  border-color: var(--moss);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--moss);
  background-color: var(--field);
  color: var(--ink);
  outline: 2px solid var(--moss);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--focus-ring);
}
.form-control:disabled,
.form-select:disabled,
.form-control[readonly] {
  background-color: var(--field-disabled);
  color: var(--muted);
  border-color: var(--border);
  opacity: 1;
}
textarea.form-control {
  min-height: 125px;
  resize: vertical;
  line-height: 1.7;
}
.form-text {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
  font-weight: 500;
}
input[type='number'] {
  font-variant-numeric: tabular-nums;
}
input[type='checkbox'],
input[type='radio'] {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 0.25rem 0.2rem 0 0;
  accent-color: var(--action);
  cursor: pointer;
}
input[type='checkbox']:disabled,
input[type='radio']:disabled {
  cursor: not-allowed;
}
.form-check {
  min-height: 28px;
  padding-left: 1.7rem;
}
.form-check .form-check-input {
  margin-left: -1.7rem;
  border-color: var(--border-strong);
  background-color: var(--field);
}
.form-check-input:checked {
  border-color: var(--action);
  background-color: var(--action);
}
[data-bs-theme='dark'] .form-check-input:checked {
  border-color: #91a66e;
  background-color: #647d48;
}
.form-check-label,
label.d-flex {
  font-size: 0.875rem;
  line-height: 1.6;
}
label.d-flex {
  align-items: flex-start;
}
.invalid-feedback,
.is-invalid ~ .invalid-feedback {
  color: var(--danger);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
}
.invalid-feedback:not([hidden]) {
  display: block;
  margin: 0.45rem 0 0;
}
.form-control.is-invalid,
.form-select.is-invalid,
[aria-invalid='true'] {
  border-color: var(--danger);
}
.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
  outline-color: var(--danger);
  box-shadow: none;
}
.feedback {
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--moss);
  border-radius: 0.8rem;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.feedback a {
  font-weight: 800;
}
.feedback:empty {
  display: none;
}
.loading-note {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 1rem 0 0;
  color: var(--muted);
}
.loading-note::before {
  content: '';
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--toast);
}
[data-library-count],
[data-journal-count],
[data-agenda-count],
[data-plans-count],
[data-bakes-count] {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
}
.empty-state {
  padding: 3rem 1.75rem;
  border-style: dashed;
  background: linear-gradient(135deg, var(--surface), var(--surface-soft));
  text-align: center;
}
.empty-state h2 {
  max-width: 540px;
  margin-inline: auto;
}
.empty-state p {
  max-width: 600px;
  margin: 0.8rem auto 1.5rem;
  color: var(--muted);
}
.empty-state .btn {
  max-width: 100%;
}

/* 07. Workshop detail, curricula, date agenda and comparison */
.curriculum {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.curriculum li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1rem;
  margin: 0 !important;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
}
.curriculum li:first-child {
  padding-top: 0.5rem;
}
.curriculum li:last-child {
  border-bottom: 0;
}
.curriculum h3 {
  margin-bottom: 0.45rem;
  font-size: 1.4rem;
}
.curriculum p {
  color: var(--muted);
  line-height: 1.7;
}
.curriculum time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  min-height: 33px;
  margin-top: 0.1rem;
  padding: 0.35rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  background: var(--surface-soft);
  color: var(--link);
  font-size: 0.8125rem;
  font-weight: 850;
  line-height: 1.5;
}
.number-step {
  display: inline-grid;
  align-self: start;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background: var(--oat);
  color: var(--moss);
  font-family: 'Bree Serif', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
}
.badge-date {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--ink);
  font-weight: 800;
}
.agenda-item {
  align-items: center;
  margin: 0;
  padding: 1.4rem 0.25rem;
  border-bottom: 1px solid var(--border);
}
.agenda-item:first-child {
  padding-top: 0.2rem;
}
.agenda-item:last-child {
  padding-bottom: 0.2rem;
  border-bottom: 0;
}
.agenda-item > div {
  margin-top: 0;
}
.agenda-item .agenda-date {
  display: block;
  max-width: 210px;
  margin-bottom: 0.3rem;
  font-family: 'Bree Serif', Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.35;
}
.agenda-item p {
  color: var(--muted);
  font-size: 0.875rem;
}
.agenda-item .h4 a {
  color: var(--ink);
  text-decoration: none;
}
.agenda-item .h4 a:hover {
  color: var(--link);
  text-decoration: underline;
}
.agenda-item > div:last-child {
  text-align: right;
}
.agenda-item > div:last-child p {
  margin-bottom: 0.6rem;
}
[data-agenda-results] {
  padding: 1.5rem;
}
[data-session-agenda] .toolbar > label:last-child {
  flex: 1.05 1 230px;
  min-height: 48px;
  padding-bottom: 0.65rem;
}
body[data-page='compare'] .recipe-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(160deg, var(--surface-raised), var(--surface-soft));
}
body[data-page='compare'] .recipe-sheet::before {
  content: '';
  width: 32px;
  height: 4px;
  margin-bottom: 1rem;
  border-radius: 4px;
  background: var(--toast);
}
body[data-page='compare'] .recipe-sheet > .fact-list {
  align-self: stretch;
}
body[data-page='compare'] .recipe-sheet > .btn:last-child {
  margin-top: auto;
}
body[data-page='compare'] .recipe-sheet > ul {
  margin-bottom: 1.75rem;
}
body[data-page^='workshop-'] .summary-card {
  border-top: 4px solid var(--toast);
}

/* 08. Local workshop planning and the home-bake recipe sheet */
[data-booking-form] > ol {
  list-style: none;
  counter-reset: plan-step;
  gap: 1.25rem !important;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--border);
}
[data-booking-step-label] {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 800;
}
[data-booking-step-label]::before {
  content: counter(plan-step);
  counter-increment: plan-step;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-soft);
  font-size: 0.8125rem;
}
[data-booking-step-label][aria-current='step'] {
  color: var(--ink);
}
[data-booking-step-label][aria-current='step']::before {
  border-color: var(--action);
  background: var(--action);
  color: var(--action-ink);
}
[data-booking-summary] .fact-list dt:last-of-type,
[data-booking-summary] .fact-list dd:last-of-type {
  margin-top: 0.35rem;
  padding-block: 0.9rem;
  border-top: 1px solid var(--border-strong);
  color: var(--ink);
}
[data-booking-summary] .fact-list dd:last-of-type {
  font-family: 'Bree Serif', Georgia, serif;
  font-size: 1.5rem;
  line-height: 1;
}
[data-booking-review] {
  margin-block: 1.25rem;
}
[data-booking-result],
[data-group-result],
[data-contact-result],
[data-profile-feedback] {
  border-left-width: 4px;
  background: var(--surface-soft);
}
[data-dough-result] {
  padding: 1.4rem;
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
}
[data-dough-result] > .photo {
  height: 160px;
  aspect-ratio: auto;
  object-position: 50% 60%;
}
[data-dough-result] .table {
  margin-block: 1rem;
}
[data-dough-result] .table th:last-child,
[data-dough-result] .table td:last-child {
  text-align: right;
}
[data-dough-result] .fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0;
  margin-block: 1.15rem;
}
[data-dough-result] .fact-strip > * {
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  font-size: 0.8125rem;
}
[data-dough-result] .fact-strip strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.4;
}
[data-dough-total],
[data-dough-piece] {
  font-variant-numeric: tabular-nums;
  font-weight: 850;
}
[data-dough-total] {
  font-size: 1.2rem;
}
[data-dough-form] .btn {
  flex: 1 1 auto;
}
body[data-page='dough-calculator'] .page-intro {
  padding-bottom: 2rem;
}
body[data-page='dough-calculator'] .page-intro h1 {
  font-size: clamp(2.5rem, 4.1vw, 3.8rem);
}
body[data-page='dough-calculator'] .page-intro .lead {
  max-width: 850px;
  font-size: 1rem;
}
[data-dough-form] .field {
  margin-bottom: 1.05rem;
}
[data-dough-form] + .surface {
  box-shadow: none;
  background: var(--surface-soft);
}
[data-bake-entries] .premium-card {
  display: flex;
  flex-direction: column;
}
[data-bake-entries] .premium-card .d-flex:last-child {
  margin-top: auto;
  padding-top: 1rem;
}

/* 09. Notebooks, data tables and stateful tabs */
.table-responsive {
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--card-shadow);
  overscroll-behavior-x: contain;
}
.table {
  --bs-table-color: var(--ink);
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--border);
  --bs-table-striped-color: var(--ink);
  --bs-table-striped-bg: var(--surface-soft);
  --bs-table-hover-color: var(--ink);
  --bs-table-hover-bg: var(--surface-soft);
  width: 100%;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  vertical-align: middle;
}
.table caption {
  padding: 0.9rem 1rem;
  caption-side: top;
  color: var(--muted);
  font-size: 0.8125rem;
}
.table th {
  padding: 0.8rem 1rem;
  vertical-align: middle;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--surface-soft);
}
.table td {
  padding: 1rem;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}
.table tbody tr {
  transition: background-color 160ms;
}
.table tbody tr:hover {
  background-color: var(--surface-soft);
}
.table tbody tr:last-child td {
  border-bottom: 0;
}
.table tfoot th,
.table tfoot td {
  padding-block: 1rem;
  border-bottom: 0;
  border-top: 1px solid var(--border-strong);
  background: var(--oat);
  color: var(--ink);
  font-weight: 850;
}
.table .btn {
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}
.table td:last-child > .btn + .btn {
  margin-left: 0.35rem;
}
.table td:last-child .d-flex {
  flex-wrap: wrap;
  gap: 0.5rem;
}
[data-plans-table] .table {
  min-width: 780px;
}
[data-plans-table] td:first-child {
  min-width: 185px;
}
[data-plans-table] td:nth-child(2) {
  overflow-wrap: anywhere;
}
[data-plans-table] td:last-child {
  min-width: 185px;
}
.recipe-sheet .table td,
.recipe-sheet .table th {
  padding-inline: 0.7rem;
}
.recipe-sheet .table caption {
  padding-inline: 0.7rem;
}
.recipe-sheet .table th {
  background: transparent;
}
.nav-tabs {
  --bs-nav-tabs-border-color: var(--border);
  gap: 0.3rem;
  padding: 0.3rem;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--surface-soft);
}
.nav-tabs .nav-item {
  display: flex;
  flex: 1 1 auto;
  margin: 0;
}
.nav-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  margin: 0;
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.6rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color var(--duration),
    border-color var(--duration),
    color var(--duration),
    box-shadow var(--duration);
}
.nav-tabs .nav-item .nav-link {
  flex: 1;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--border);
  box-shadow: 0 2px 5px rgb(30 49 35 / 5%);
}
.nav-tabs .nav-link:hover:not(.active) {
  background: var(--oat);
  border-color: transparent;
  color: var(--ink);
}
.nav-tabs .nav-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}
.nav-tabs .nav-link span {
  display: inline-grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  padding-inline: 0.35rem;
  border-radius: 50%;
  background: var(--oat);
  color: var(--link);
  font-size: 0.75rem;
}
.tabs-panel {
  padding-top: 1.7rem;
}
.tab-pane.fade {
  transition: opacity 160ms;
}

/* 10. Related modal surfaces, quick search and direct AI states */
.modal {
  --bs-modal-width: 580px;
  --bs-modal-margin: 1.5rem;
  --bs-modal-color: var(--ink);
  --bs-modal-bg: var(--surface);
  --bs-modal-border-color: var(--border);
  --bs-modal-border-radius: 1.25rem;
  --bs-modal-header-border-color: var(--border);
  --bs-modal-footer-border-color: var(--border);
}
.modal-backdrop {
  --bs-backdrop-bg: #16251b;
  --bs-backdrop-opacity: 0.64;
}
.modal-content {
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 1.25rem;
  box-shadow: 0 24px 90px rgb(10 26 15 / 25%);
}
.modal-header {
  align-items: center;
  gap: 0.75rem;
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(
    120deg,
    var(--modal-head),
    color-mix(in srgb, var(--modal-head) 75%, var(--surface))
  );
}
.modal-title {
  margin: 0;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1.25;
}
.modal-body {
  padding: 1.6rem;
  background: var(--surface);
  overscroll-behavior: contain;
}
.modal-body > :last-child {
  margin-bottom: 0;
}
.modal-body ul {
  padding-left: 1.25rem;
}
.modal-body li + li {
  margin-top: 0.55rem;
}
.modal-footer {
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(110deg, var(--modal-foot), var(--modal-head));
}
.modal-footer > * {
  margin: 0;
}
.modal-header .btn-close {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  margin: 0 -0.4rem 0 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background-size: 12px;
  opacity: 0.8;
  transition:
    background-color 160ms,
    opacity 160ms,
    transform 160ms;
}
.modal-header .btn-close:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  box-shadow: none;
  opacity: 1;
}
.btn-close:hover {
  background-color: var(--oat);
  opacity: 1;
  transform: rotate(4deg);
}
.btn-close:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  box-shadow: none;
  opacity: 1;
}
.modal.fade .modal-dialog {
  transform: translateY(16px) scale(0.985);
  transition:
    transform 220ms var(--ease),
    opacity 180ms;
}
.modal.show .modal-dialog {
  transform: none;
}
.list-group {
  --bs-list-group-color: var(--ink);
  --bs-list-group-bg: var(--surface);
  --bs-list-group-border-color: var(--border);
  --bs-list-group-border-radius: 0.85rem;
  --bs-list-group-action-color: var(--ink);
  --bs-list-group-action-hover-color: var(--link);
  --bs-list-group-action-hover-bg: var(--surface-soft);
  --bs-list-group-action-active-bg: var(--oat);
  --bs-list-group-action-active-color: var(--ink);
}
.list-group-item {
  min-height: 48px;
  padding: 0.8rem 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
}
.list-group-item-action {
  text-decoration: none;
  transition:
    color var(--duration),
    background var(--duration),
    padding var(--duration);
}
.list-group-item-action:hover {
  padding-left: 1.2rem;
  text-decoration: none;
}
#command-palette .modal-body {
  padding-top: 1.25rem;
}
#command-query {
  padding-block: 0.9rem;
}
.ai-result-text {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  line-height: 1.75;
}
[data-ai-result] {
  min-width: 0;
  max-width: 100%;
}
[data-ai-result][aria-busy='true'] {
  color: var(--muted);
  border-left-color: var(--toast);
}
.ai-error {
  border-left: 4px solid var(--danger);
}
.ai-upgrade-link,
.ai-usage {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.875rem;
}
.ai-usage {
  color: var(--muted);
}
[data-ai-service] textarea {
  min-height: 260px;
}
[data-ai-service] .btn-primary {
  min-height: 48px;
}
[data-ai-service] + .legal-note {
  padding-inline: 0.3rem;
}

/* 11. Guides, practical questions, school stories and local accounts */
.article-body {
  max-width: 760px;
  font-size: 1.0625rem;
  line-height: 1.8;
}
.article-body h2 {
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
}
.article-body > section:first-child h2 {
  margin-top: 0.25rem;
}
.article-body p {
  margin-bottom: 1.3rem;
}
.article-body > section {
  padding-bottom: 0.35rem;
}
details.surface {
  padding: 0;
  overflow: hidden;
  box-shadow: 0 3px 12px rgb(30 49 35 / 3%);
}
details.surface summary {
  position: relative;
  min-height: 66px;
  padding: 1.2rem 3.3rem 1.2rem 1.4rem;
  list-style: none;
  font-size: 1rem;
  line-height: 1.55;
  cursor: pointer;
  transition:
    background-color var(--duration),
    color var(--duration);
}
details.surface summary::-webkit-details-marker {
  display: none;
}
details.surface summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 1.15rem;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--moss);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-50%);
}
details.surface[open] summary {
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}
details.surface[open] summary::after {
  content: '−';
  background: var(--surface);
}
details.surface summary:hover {
  background: var(--surface-soft);
}
details.surface summary:focus-visible {
  outline-offset: -5px;
  border-radius: var(--radius);
}
details.surface > p {
  padding: 0 1.4rem 1.4rem;
  color: var(--muted);
}
.checklist label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  font-weight: 650;
  cursor: pointer;
}
.checklist label:last-child {
  border-bottom: 0;
}
.checklist label:has(:checked) {
  color: var(--moss);
}
body[data-page='school'] main > .container > .photo {
  max-height: 540px;
  aspect-ratio: 2.3;
  object-position: 50% 58%;
  border-radius: 1.5rem;
  box-shadow: var(--card-shadow);
}
body[data-page='tutors'] .premium-card > .photo {
  aspect-ratio: 1.8;
}
body[data-page='tutors'] .premium-card {
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
}
body[data-page='tutors'] .premium-card > p:not(.eyebrow) {
  color: var(--muted);
}
body[data-page='account'] .summary-card {
  border-top: 4px solid var(--toast);
}
body[data-page='account'] .summary-card > .eyebrow {
  margin-top: 0.4rem;
}
body[data-page='404'] .section.text-center {
  padding-top: 3rem;
}
body[data-page='404'] .photo {
  max-height: 340px;
}
.search-row {
  padding: 1.35rem 1.4rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 3px 8px rgb(30 49 35 / 3%);
  transition:
    box-shadow var(--duration),
    border-color var(--duration);
}
.search-row:hover,
.search-row:focus-within {
  border-color: var(--border-strong);
  box-shadow: var(--card-shadow);
}
.search-row h2,
.search-row h3 {
  font-size: 1.4rem;
}
.search-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.site-map {
  columns: 3 270px;
  column-gap: 2.5rem;
  padding: 0;
  list-style: none;
}
.site-map li {
  break-inside: avoid;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
}
.site-map li a {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-weight: 850;
}
.site-map li p {
  color: var(--muted);
  font-size: 0.875rem;
}

/* 12. A warm, useful school footer */
.site-footer {
  margin-top: 3.5rem;
  padding: 3.5rem 0 1.8rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(120deg, var(--oat), var(--surface-soft));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3.25rem;
}
.site-footer .brand {
  font-size: 2.7rem;
}
.site-footer .brand small {
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  line-height: 1.6;
}
.footer-grid > div:first-child > p {
  max-width: 300px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.footer-grid > div:first-child > .illustration-note {
  max-width: 310px;
  font-size: 0.75rem;
}
.site-footer h2 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.site-footer ul {
  padding: 0;
  list-style: none;
}
.site-footer li {
  margin-bottom: 0.5rem;
}
.site-footer li a {
  display: inline-block;
  padding-block: 0.2rem;
  color: var(--ink);
  font-size: 0.875rem;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--link);
  text-decoration: underline;
}
.site-footer .border-top {
  border-color: var(--border-strong) !important;
  color: var(--muted);
  font-size: 0.75rem;
}
.site-footer .border-top a {
  font-weight: 700;
}

/* 13. Responsive composition without shrinking essential controls */
@media (min-width: 992px) {
  main aside.col-lg-4 > .summary-card {
    position: sticky;
    top: 7.5rem;
  }
  body[data-page='index'] .section .col-lg-6 > .photo {
    aspect-ratio: 1.23;
  }
  body[data-page='index'] .section:last-child .photo {
    aspect-ratio: 1.5;
  }
  body[data-page='dough-calculator'] .page-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0.6rem 3rem;
    max-width: none;
    padding-block: 1.7rem 2rem;
  }
  body[data-page='dough-calculator'] .page-intro .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 0.35rem;
  }
  body[data-page='dough-calculator'] .page-intro h1 {
    margin: 0;
    font-size: clamp(2.5rem, 3.5vw, 3.2rem);
  }
  body[data-page='dough-calculator'] .page-intro .lead {
    align-self: center;
    margin-top: 0 !important;
  }
  [data-dough-result] .table td,
  [data-dough-result] .table th {
    padding-block: 0.65rem;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-nav .container {
    padding-inline: 24px;
  }
  .site-nav .brand {
    font-size: 2rem;
  }
  .site-nav .brand svg {
    width: 36px;
    margin-right: 0.45rem;
  }
  .site-nav .navbar-brand {
    margin-right: 0.75rem;
  }
  .site-nav .nav-link {
    padding-inline: 0.45rem;
    font-size: 0.8125rem;
  }
  .nav-actions {
    gap: 0.3rem;
  }
  .nav-actions .btn {
    padding-inline: 0.65rem;
    font-size: 0.75rem;
  }
  .nav-actions .icon-button {
    flex-basis: 36px;
    width: 36px;
  }
  .card-body {
    padding: 1.2rem;
  }
  .card-body .btn {
    flex-basis: 100%;
  }
  .footer-grid {
    gap: 2rem;
  }
}
@media (max-width: 991.98px) {
  html {
    scroll-padding-top: 6rem;
  }
  .container {
    padding-inline: 28px;
  }
  .site-nav .navbar {
    padding-block: 0.9rem !important;
  }
  .site-nav .brand {
    font-size: 2.1rem;
  }
  .site-nav .brand svg {
    width: 40px;
    height: 38px;
  }
  .site-nav .navbar-collapse {
    max-height: calc(100dvh - 95px);
    overflow-y: auto;
  }
  .site-nav .navbar-nav {
    gap: 0.2rem;
    padding: 1rem 0 0.8rem;
  }
  .site-nav .nav-link {
    min-height: 46px;
    padding: 0.7rem 1rem;
    font-size: 0.9375rem;
  }
  .site-nav .nav-actions {
    flex-wrap: wrap;
    padding: 1rem 0 0.4rem;
    border-top: 1px solid var(--border);
  }
  .nav-actions .btn {
    font-size: 0.875rem;
  }
  .nav-actions .icon-button {
    width: 44px;
    flex-basis: 44px;
  }
  .hero-copy {
    padding-block: 2.8rem 2.4rem;
  }
  .hero-copy h1 {
    font-size: clamp(3.7rem, 9vw, 5.8rem);
  }
  .hero-bench {
    grid-template-columns: 1.4fr 1fr;
    gap: 0.85rem;
  }
  .hero-bench .photo {
    height: 285px;
  }
  .page-intro {
    padding-top: 2rem;
  }
  .surface,
  .premium-card,
  .recipe-sheet,
  .summary-card {
    padding: 1.5rem;
  }
  .card-photo {
    padding: 0;
  }
  .card-body {
    padding: 1.35rem;
  }
  [data-booking-summary] {
    display: flow-root;
  }
  [data-booking-summary] > .photo {
    float: right;
    width: 42%;
    margin: 0 0 1.25rem 1.5rem;
    aspect-ratio: 1.15;
  }
  [data-booking-summary] > .fact-list {
    max-width: 53%;
  }
  body[data-page='index'] .section > .row.align-items-center {
    --bs-gutter-x: 1.5rem;
  }
  body[data-page='index'] .section:last-child .surface {
    padding: 1.75rem;
  }
  [data-dough-result] > .photo {
    height: 240px;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem 3rem;
  }
  .site-footer {
    margin-top: 3rem;
    padding-top: 3rem;
  }
}
@media (max-width: 767.98px) {
  .container {
    padding-inline: 24px;
  }
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 2rem;
  }
  .hero-copy h1 {
    font-size: clamp(3.6rem, 10.2vw, 4.7rem);
  }
  .hero-bench {
    grid-template-columns: 1.2fr 1fr;
  }
  .hero-bench .photo {
    height: 240px;
  }
  .hero-ticket {
    padding: 1.3rem;
    gap: 1rem;
  }
  .hero-ticket > div {
    flex-basis: 100%;
  }
  .hero-ticket .btn {
    min-width: 180px;
  }
  h1 {
    font-size: clamp(2.7rem, 7.5vw, 3.7rem);
  }
  .page-intro {
    padding-bottom: 2rem;
  }
  .section {
    padding-block: 2.7rem;
  }
  .toolbar {
    align-items: stretch;
  }
  .toolbar > label {
    flex-basis: calc(50% - 0.5rem);
  }
  .toolbar > .btn {
    align-self: flex-end;
  }
  .agenda-item {
    position: relative;
    padding: 1.35rem 0;
  }
  .agenda-item > div {
    padding-inline: 0;
  }
  .agenda-item > div:first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3rem 1rem;
    margin-bottom: 0.85rem;
  }
  .agenda-item .agenda-date {
    max-width: none;
    font-size: 1.2rem;
  }
  .agenda-item > div:last-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-top: 0.9rem;
    text-align: left;
  }
  .agenda-item > div:last-child p {
    margin: 0;
  }
  [data-session-agenda] .toolbar > label:last-child {
    padding-bottom: 0;
    min-height: 28px;
  }
  [data-agenda-results] {
    padding: 1.25rem;
  }
  .article-body {
    font-size: 1rem;
  }
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
  }
  .footer-grid > div:first-child > .brand {
    grid-row: 1 / 3;
    align-self: start;
  }
  .footer-grid > div:first-child > p {
    margin: 0 !important;
  }
}
@media (max-width: 575.98px) {
  html {
    scroll-padding-top: 6rem;
  }
  .container {
    padding-inline: 20px;
  }
  .site-nav .navbar {
    padding-block: 0.8rem !important;
  }
  .site-nav .brand {
    font-size: 2rem;
  }
  .brand small {
    font-size: 0.75rem;
    letter-spacing: 0.13em;
  }
  .site-nav .brand svg {
    width: 37px;
    height: 36px;
    margin-right: 0.5rem;
  }
  .site-nav .navbar-brand {
    margin-right: 0.5rem;
  }
  .site-nav .nav-actions {
    display: grid;
    grid-template-columns: 44px 44px minmax(0, 1fr);
    gap: 0.5rem;
  }
  .site-nav .nav-actions > .btn-primary {
    grid-column: 1 / -1;
  }
  .demo-strip {
    padding: 0.55rem 1.25rem;
    font-size: 0.75rem;
    text-wrap: pretty;
  }
  .demo-strip a {
    white-space: normal;
  }
  .hero-copy {
    padding: 2.1rem 0 1.75rem;
  }
  .hero-copy .eyebrow {
    max-width: 270px;
    margin: 0 auto 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.095em;
  }
  .hero-copy h1 {
    font-size: clamp(2.45rem, 10.7vw, 3.2rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
  }
  .hero-copy .lead {
    font-size: 1rem;
  }
  .hero-copy .d-flex {
    gap: 0.65rem !important;
    margin-top: 1.25rem !important;
  }
  .hero-copy .btn {
    width: 100%;
    min-height: 48px;
  }
  .hero-bench {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }
  .hero-bench figure {
    border-radius: 1.1rem;
  }
  .hero-bench .photo {
    height: auto;
    aspect-ratio: 1.48;
  }
  .hero-bench figure:last-child .photo {
    aspect-ratio: 2.15;
    object-position: 50% 42%;
  }
  .hero-ticket {
    margin-top: 0.75rem;
    padding: 1.15rem 1.25rem;
    border-radius: 1rem;
  }
  .hero-ticket .eyebrow {
    font-size: 0.75rem;
  }
  .hero-ticket .h3 {
    font-size: 1.45rem;
  }
  .hero-ticket .btn {
    width: 100%;
  }
  h1 {
    font-size: 2.6rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3,
  .h3 {
    font-size: 1.55rem;
  }
  .h4 {
    font-size: 1.35rem;
  }
  .lead {
    font-size: 1.0625rem;
  }
  .page-intro {
    padding: 1.8rem 0 1.85rem;
  }
  .page-intro > .eyebrow {
    margin-bottom: 0.7rem;
  }
  .page-intro .lead {
    line-height: 1.65;
  }
  .breadcrumb {
    font-size: 0.75rem;
  }
  .breadcrumb-item.active {
    flex: 1;
  }
  .section {
    padding-block: 2.3rem;
  }
  .surface,
  .premium-card,
  .recipe-sheet,
  .summary-card {
    padding: 1.25rem;
    border-radius: 1.1rem;
  }
  .card-photo {
    padding: 0;
  }
  .card-photo > .photo {
    aspect-ratio: 1.55;
    border-radius: 1rem 1rem 0 0;
  }
  .card-body {
    padding: 1.25rem;
  }
  .card-body h2,
  .card-body h3 {
    font-size: 1.65rem;
  }
  .card-body .btn {
    flex-basis: 100%;
    font-size: 0.875rem;
  }
  .card-body > p.small {
    font-size: 0.8125rem;
  }
  .photo {
    border-radius: 0.8rem;
  }
  body[data-page='index'] .section:last-child .surface {
    padding: 1.3rem;
  }
  .toolbar {
    gap: 0.9rem;
    padding: 1rem;
  }
  .toolbar > label {
    flex-basis: 100%;
    font-size: 0.875rem;
  }
  .toolbar > .btn {
    width: 100%;
  }
  .form-label {
    font-size: 0.875rem;
  }
  .form-control,
  .form-select {
    min-height: 48px;
    font-size: 1rem;
  }
  .form-text {
    font-size: 0.8125rem;
  }
  .fact-list {
    grid-template-columns: minmax(85px, 0.9fr) minmax(0, 1.3fr);
    gap: 0 0.75rem;
    font-size: 0.875rem;
  }
  .fact-list dt,
  .fact-list dd {
    padding-block: 0.7rem;
  }
  .curriculum li {
    grid-template-columns: 53px minmax(0, 1fr);
    gap: 0.75rem;
    padding-block: 1.15rem;
  }
  .curriculum h3 {
    font-size: 1.3rem;
  }
  .curriculum p {
    font-size: 0.9375rem;
  }
  .curriculum time {
    font-size: 0.75rem;
    padding-inline: 0.25rem;
  }
  .number-step {
    width: 43px;
    height: 43px;
    font-size: 1.35rem;
  }
  [data-booking-form] > ol {
    flex-direction: column;
    gap: 0.65rem !important;
  }
  [data-booking-summary] > .photo {
    float: none;
    width: 100%;
    margin: 0 0 1.25rem;
    aspect-ratio: 1.8;
  }
  [data-booking-summary] > .fact-list {
    max-width: none;
  }
  [data-booking-form] .justify-content-between > .btn {
    flex: 1 1 100%;
  }
  [data-dough-result] {
    padding: 1.1rem;
  }
  [data-dough-result] > .photo {
    height: auto;
    aspect-ratio: 1.7;
  }
  [data-dough-result] .fact-strip {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  [data-dough-result] .fact-strip > :last-child {
    grid-column: 1 / -1;
    padding-block: 0.6rem;
  }
  [data-dough-result] .fact-strip > * {
    padding: 0.75rem;
    font-size: 0.8125rem;
  }
  [data-dough-result] .table th,
  [data-dough-result] .table td {
    padding: 0.75rem 0.4rem;
    font-size: 0.8125rem;
  }
  [data-dough-result] .table th:first-child {
    width: 75%;
  }
  body[data-page='dough-calculator'] .page-intro h1 {
    font-size: 2.4rem;
  }
  [data-dough-form] .btn {
    flex-basis: 100%;
  }
  .table td,
  .table th {
    font-size: 0.8125rem;
  }
  .nav-tabs {
    gap: 0.2rem;
  }
  .nav-tabs > .nav-link {
    flex: 1 1 0;
  }
  .nav-tabs .nav-link {
    padding: 0.65rem 0.55rem;
    font-size: 0.8125rem;
  }
  .nav-tabs .nav-link span {
    min-width: 20px;
    height: 20px;
    font-size: 0.75rem;
  }
  .tabs-panel {
    padding-top: 1.35rem;
  }
  .modal {
    --bs-modal-margin: 0.75rem;
  }
  .modal-dialog {
    margin: 0.75rem;
  }
  .modal-header {
    padding: 1.05rem 1.15rem;
  }
  .modal-title {
    font-size: 1.45rem;
  }
  .modal-body {
    padding: 1.25rem;
  }
  .modal-footer {
    gap: 0.55rem;
    padding: 0.9rem 1.15rem;
  }
  .modal-footer .btn {
    max-width: 100%;
    flex: 1 1 auto;
    font-size: 0.8125rem;
  }
  .modal-header .btn-close {
    margin-right: -0.3rem;
  }
  [data-ai-service] textarea {
    min-height: 315px;
  }
  [data-ai-service] .d-flex > .btn {
    width: 100%;
  }
  details.surface summary {
    padding: 1rem 3rem 1rem 1.15rem;
    font-size: 0.9375rem;
  }
  details.surface > p {
    padding-inline: 1.15rem;
    font-size: 0.9375rem;
  }
  .empty-state {
    padding: 2rem 1.25rem;
  }
  .site-map {
    columns: 1;
  }
  .search-row {
    padding: 1.15rem;
  }
  .search-row h2 {
    font-size: 1.3rem;
  }
  .site-footer {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.25rem;
  }
  .footer-grid > div:first-child {
    display: block;
  }
  .footer-grid > div:first-child > p {
    margin-top: 1rem !important;
  }
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
  .footer-grid > div:last-child ul {
    columns: 2;
    column-gap: 1.25rem;
  }
  .site-footer h2 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
  }
  .site-footer li {
    margin-bottom: 0.35rem;
    break-inside: avoid;
  }
  .site-footer li a {
    padding-block: 0.4rem;
    font-size: 0.875rem;
  }
  .site-footer .brand {
    font-size: 2.5rem;
  }
  .site-footer .border-top {
    gap: 0.75rem 1.15rem !important;
  }
  .site-footer .border-top > span {
    flex-basis: 100%;
  }
}

/* 14. Restrained entrance and interaction motion. Content is always readable. */
@keyframes bench-arrival {
  from {
    opacity: 0.7;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
[data-reveal] {
  animation: bench-arrival 560ms var(--ease) both;
}
.collapse.collapsing {
  transition: height 220ms var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  [data-premium-card]:hover,
  [data-premium-card]:focus-within,
  .btn:hover,
  .card-photo:hover > .photo {
    transform: none;
  }
  .modal.fade .modal-dialog {
    transform: none;
  }
}
@media (forced-colors: active) {
  .btn,
  .tag,
  .surface,
  .premium-card,
  .recipe-sheet,
  .summary-card {
    border: 1px solid CanvasText;
  }
  .nav-tabs .nav-link.active {
    border: 2px solid Highlight;
  }
  .form-control:focus,
  .form-select:focus {
    outline-color: Highlight;
  }
}
@media print {
  .site-nav,
  .demo-strip,
  .site-footer,
  .skip-link,
  .modal,
  .btn,
  .toolbar,
  .loading-note {
    display: none !important;
  }
  body {
    min-width: 0;
    background: white;
    color: black;
  }
  .container {
    max-width: none;
    padding: 0;
  }
  .page-intro {
    padding-block: 1rem;
  }
  h1 {
    font-size: 2.5rem;
  }
  .surface,
  .premium-card,
  .recipe-sheet,
  .summary-card {
    box-shadow: none;
    break-inside: avoid;
    background: white;
    color: black;
  }
  .photo {
    max-height: 230px;
  }
}
