@font-face {
  font-family: DM Sans;
  src: url("/assets/sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url("/assets/serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url("/assets/serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #faf7ef;
  --ivory: #f4efe3;
  --ink: #243b2d;
  --body: #51584e;
  --muted: #596453;
  --accent: #945220;
  --line: #d7d6c8;
  --surface: #fffdf7;
  --strip: #e7ebde;
  --btn: #2c4934;
  --btnText: #fffdf2;
  --glass: rgba(250, 247, 239, 0.86);
  --head: "Instrument Serif", Georgia, serif;
  --pad: clamp(1.35rem, 5.7vw, 7.5rem);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #1c241e;
  --ivory: #252c23;
  --ink: #f7f0da;
  --body: #d3d5c7;
  --muted: #c0c8b4;
  --accent: #e4ad72;
  --line: #465044;
  --surface: #2b342b;
  --strip: #303c30;
  --btn: #dce7c9;
  --btnText: #22372a;
  --glass: rgba(28, 36, 30, 0.9);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    1rem/1.55 "DM Sans",
    "Segoe UI",
    sans-serif;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}
h1,
h2,
h3,
blockquote {
  font-family: var(--head);
  font-weight: 400;
  line-height: 1.04;
}
h1 {
  font-size: clamp(3.5rem, 6vw, 6.6rem);
}
h2 {
  font-size: clamp(2.8rem, 4.3vw, 4.8rem);
}
h3 {
  font-size: 1.85rem;
}
p {
  color: var(--body);
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.62;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  flex: none;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 99;
  background: var(--paper);
  padding: 12px;
}
.wrap {
  max-width: 1680px;
  margin: auto;
  padding-inline: var(--pad);
}
.marquee {
  overflow: hidden;
  background: #263f2e;
  color: #f7f1d9;
  font-size: 0.76rem;
  letter-spacing: 0.085em;
  height: 32px;
  display: flex;
  align-items: center;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee-track > div {
  display: flex;
  flex: none;
  white-space: nowrap;
}
.marquee span:not(.sr) {
  display: inline-flex;
  gap: 2.4rem;
  align-items: center;
  margin-right: 2.4rem;
}
.marquee b {
  font-size: 1rem;
  color: #d9b178;
  font-weight: 400;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.mast {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--glass);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition:
    box-shadow 0.25s,
    background 0.25s;
}
.mast.scrolled {
  box-shadow: 0 5px 24px #17221514;
  background: var(--glass);
}
.nav-inner {
  max-width: 1680px;
  margin: auto;
  padding: 0 var(--pad);
  min-height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: block;
  width: 150px;
}
.brand img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
.brand-dark,
[data-theme="dark"] .brand-light {
  display: none;
}
[data-theme="dark"] .brand .brand-dark {
  display: block;
  mix-blend-mode: lighten;
}
.nav-inner nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 3.2rem);
}
nav a {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
}
.nav-inner nav a {
  padding: 8px 1px;
  position: relative;
}
.nav-inner nav a[aria-current]:after,
.nav-inner nav a:hover:after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.actions,
.theme,
.hero-actions,
.button,
.outline-button,
.story-link,
.slide-controls,
.enquire,
.scroll-link,
.eyebrow,
.card-links,
.search-row {
  display: flex;
  align-items: center;
}
.actions {
  gap: 0.45rem;
}
.icon-button,
.theme button,
.slide-controls button {
  border: 0;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.icon-button:hover,
.theme button:hover {
  background: var(--strip);
}
.divider {
  height: 23px;
  width: 1px;
  background: var(--line);
  margin: 0 0.55rem;
}
.theme {
  border-radius: 30px;
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 3px;
}
.theme button {
  height: 30px;
  width: 34px;
  border-radius: 24px;
}
.theme svg {
  width: 16px;
}
.theme [aria-pressed="true"] {
  background: var(--btn);
  color: var(--btnText);
}
.menu {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 49% 51%;
  background: var(--ivory);
  position: relative;
  isolation: isolate;
  max-width: 2100px;
  margin: auto;
  overflow: hidden;
}
.hero-copy {
  padding: clamp(3rem, 5.2vw, 6.4rem) 2rem 2.2rem
    max(var(--pad), calc((100vw - 1680px) / 2 + var(--pad)));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 1;
  min-height: clamp(485px, 40vw, 700px);
}
.eyebrow,
.scroll-link,
.slide-label span,
.card-body > small {
  letter-spacing: 0.15em;
  font-weight: 650;
  font-size: 0.72rem;
  text-transform: uppercase;
}
.eyebrow {
  gap: 12px;
  color: var(--accent);
}
.eyebrow i {
  width: 28px;
  height: 1px;
  background: currentColor;
}
.hero h1 {
  font-size: clamp(4.6rem, 7.4vw, 8.6rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 1.45rem 0 1.3rem;
}
.hero h1 em {
  display: block;
  font-weight: 400;
  color: var(--accent);
}
.hero-copy > p {
  max-width: 430px;
  font-size: clamp(1rem, 1.15vw, 1.21rem);
  line-height: 1.7;
}
.hero-actions {
  gap: clamp(1.2rem, 2.5vw, 2.8rem);
  margin-top: 1.8rem;
  flex-wrap: wrap;
}
.button,
.outline-button,
.story-link,
.enquire {
  justify-content: center;
  gap: 9px;
  width: fit-content;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}
.button,
.outline-button {
  border-radius: 7px;
  padding: 13px 21px;
  min-height: 45px;
  border: 1px solid transparent;
}
.button {
  background: var(--btn);
  color: var(--btnText);
}
.outline-button {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}
.button:hover,
.outline-button:hover {
  filter: brightness(0.92);
}
.hero-actions svg {
  width: 17px;
  height: 17px;
}
.story-link {
  border-bottom: 1px solid var(--muted);
  padding: 5px 0;
}
.scroll-link {
  gap: 9px;
  margin-top: clamp(2.5rem, 3.5vw, 4rem);
  text-decoration: none;
  color: var(--muted);
  font-size: 0.64rem;
}
.scroll-link svg {
  width: 14px;
  height: 14px;
}
.hero-art {
  position: relative;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
}
.slide {
  position: absolute;
  inset: 0;
}
.slide:after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, #24190e78);
  pointer-events: none;
}
.slide picture {display:block;width:100%;height:100%}
.slide picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  transition: transform 1.05s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.slide-label {
  position: absolute;
  bottom: 1.85rem;
  left: 2.15rem;
  z-index: 1;
  text-decoration: none;
  color: #fffdf1;
  text-shadow: 0 1px 5px #30220c77;
}
.slide-label span {
  display: block;
  font-size: 0.67rem;
  letter-spacing: 0.19em;
  margin-bottom: 3px;
}
.slide-label strong {
  font: italic 1.8rem/1.1 var(--head);
}
.slide-controls {
  position: absolute;
  z-index: 2;
  bottom: 1.9rem;
  right: 2rem;
  gap: 7px;
}
.slide-controls button {
  width: 35px;
  height: 35px;
  border: 1px solid #fff8;
  color: white;
  background: #251a0f55;
  backdrop-filter: blur(5px);
}
.slide-controls svg {
  width: 15px;
}
.values-strip {
  background: var(--strip);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem var(--pad);
  border-block: 1px solid var(--line);
  gap: 0;
}
.values-strip > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex: 1;
  font-size: 0.9rem;
  color: var(--ink);
}
.values-strip > div + div {
  border-left: 1px solid var(--line);
}
.values-strip svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
}
.collection {
  padding-block: clamp(3.2rem, 4.6vw, 5.5rem);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 2rem;
}
.section-head h2,
.section-head h1 {
  letter-spacing: -0.035em;
}
.section-head p {
  margin-top: 0.6rem;
}
.section-head .outline-button {
  flex: none;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2.2rem);
}
.product-card {
  min-width: 0;
}
.product-photo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #eee9de;
}
.product-photo img {
  width: 100%;
  aspect-ratio: 1.18;
  height: auto;
  object-fit: cover;
  transition: transform 0.45s;
}
.product-photo:hover img {
  transform: scale(1.045);
}
.offer-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--btn);
  color: var(--btnText);
  border-radius: 4px;
  padding: 3px 8px;
}
.card-body {
  padding: 1rem 0;
}
.card-body > small {
  color: var(--accent);
  font-size: 0.67rem;
}
.card-body h3 {
  margin: 0.35rem 0 0.6rem;
}
.card-body h3 a {
  text-decoration: none;
}
.card-body p {
  font-size: 0.9rem;
  min-height: 2.8em;
}
.price {
  margin: 0.9rem 0;
}
.price small,
.detail-price small,
del {
  color: var(--muted);
}
.card-links {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: 0.85rem;
}
.enquire svg {
  width: 17px;
}
.enquire {
  font-size: inherit;
}
.filters,
.panel,
.admin-editor {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.filters {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
}
.filters label {
  flex: 1;
}
.result-count {
  font-size: 0.9rem;
  margin: 1.4rem 0;
}
label {
  display: grid;
  gap: 6px;
  font-size: 0.91rem;
  font-weight: 600;
}
input,
select,
textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  padding: 0.7rem 0.85rem;
}
textarea {
  resize: vertical;
}
select {
  padding-right: 1.5rem;
}
input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--btn);
}
.quote {
  text-align: center;
  background: var(--strip);
  padding: 4rem var(--pad);
}
blockquote {
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  font-style: italic;
  max-width: 900px;
  margin: auto;
}
.story-section,
.detail,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 7rem);
}
.story-section > img,
.detail-photo {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  border-radius: 9px;
}
.story-section h2,
.story-section h1,
.detail h1,
.contact-layout h1 {
  margin: 1.1rem 0;
}
.story-section .outline-button {
  margin-top: 1.6rem;
}
.value {
  border-top: 1px solid var(--line);
  margin-top: 1.3rem;
  padding-top: 1.1rem;
}
.value h3 {
  font-size: 1.5rem;
}
.detail-photo {
  margin-top: 1.2rem;
  aspect-ratio: 1;
}
.detail-price {
  font-size: 1.6rem;
  margin: 1.3rem 0;
}
.detail .enquire,
.contact-layout .button {
  margin-top: 1rem;
}
.thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.thumbs button {
  padding: 0;
  border: 1px solid var(--line);
}
.thumbs img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}
.contact-layout {
  align-items: start;
}
.contact-layout h3 {
  margin: 1.7rem 0 0.5rem;
}
.contact-layout .outline-button {
  margin-top: 1rem;
}
.lines {
  white-space: pre-line;
}
.panel,
.admin-editor {
  display: grid;
  gap: 1.1rem;
}
.panel h2 {
  font-size: 2.7rem;
}
.panel .button {
  margin: 0;
}
footer {
  background: #22372a;
  color: #f9f3df;
  padding: 3.2rem var(--pad) 1.3rem;
}
footer p,
footer small {
  color: #d6dbcf;
}
.foot-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr 1fr 1fr;
  gap: 2rem;
  max-width: 1500px;
  margin: auto;
}
.foot-inner > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.45rem;
}
.foot-inner h3 {
  font-size: 1.55rem;
  margin-bottom: 0.6rem;
}
.foot-inner a {
  font-size: 0.9rem;
  text-decoration: none;
}
.foot-inner a:hover {
  text-decoration: underline;
}
.foot-brand img {
  mix-blend-mode: lighten;
}
.foot-inner p {
  font-size: 0.9rem;
}
.footer-credit {
  max-width: 1500px;
  margin-inline: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
  border-top: 1px solid #ffffff30;
  padding-top: 1.2rem;
  margin-top: 2rem;
}
.footer-credit strong {
  color: #f4e4bb;
  font-weight: 600;
}
.floating-chat {
  background: #315738;
  border: 1px solid #f9f3df77;
  color: #fffdf0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  position: fixed;
  bottom: 18px;
  right: 20px;
  z-index: 5;
  box-shadow: 0 3px 12px #1e352632;
}
.floating-chat svg {
  width: 24px;
  height: 24px;
}
dialog {
  color: var(--ink);
  background: var(--surface);
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  width: min(510px, calc(100% - 2rem));
}
dialog::backdrop {
  background: #15261aaa;
  backdrop-filter: blur(3px);
}
dialog[open] {
  animation: appear 0.18s ease;
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.dialog-top h2 {
  font-size: 2.4rem;
}
.search-row {
  gap: 8px;
  margin-top: 0.5rem;
}
dialog nav {
  display: grid;
  gap: 5px;
}
dialog nav a {
  padding: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.admin {
  padding-block: 3rem;
  min-height: 60vh;
}
.admin h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.admin h2 {
  font-size: 2.2rem;
}
.admin h3 {
  font-size: 1.5rem;
}
.admin-actions,
.admin-tabs,
.metrics,
.edit-controls,
.choices,
.thumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.admin-tabs {
  margin: 1rem 0 1.7rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}
.admin-tabs button,
.edit-controls button,
.admin-actions button,
.thumb-list button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 6px;
  padding: 8px 14px;
}
.admin-tabs [aria-current="true"] {
  background: var(--btn);
  color: var(--btnText);
}
.admin-heading,
.admin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.admin-row {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.admin-row p {
  font-size: 0.9rem;
}
.admin-editor {
  max-width: 760px;
  margin-top: 1.3rem;
}
.admin-editor h3 {
  margin-top: 1rem;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.thumb-list > div {
  display: grid;
  gap: 4px;
}
.thumb-list img {
  width: 85px;
  height: 85px;
  object-fit: cover;
}
.metrics {
  margin: 1rem 0;
}
.metrics > div {
  background: var(--strip);
  border-radius: 8px;
  padding: 1rem 1.3rem;
}
.metrics strong {
  display: block;
  font-size: 1.5rem;
}
.admin [role="alert"] {
  color: var(--accent);
  margin: 0.7rem 0;
}
.admin .notice {
  padding: 1rem;
  border: 1px solid var(--line);
  margin-top: 1rem;
}
.admin .login {
  max-width: 520px;
  margin: 1rem 0;
}
.admin-summary {
  margin-top: 1.6rem;
}
.form-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
.admin fieldset {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.choices {
  max-height: 210px;
  overflow: auto;
}
.choices label {
  padding: 4px;
}
.admin-list {
  margin-top: 1rem;
}
@keyframes appear {
  from {
    opacity: 0.4;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 900px) {
  .hero-copy h1,
  .hero-copy > p,
  .hero-actions {
    animation: appear 0.65s ease both;
  }
  .hero-copy > p {
    animation-delay: 0.08s;
  }
  .hero-actions {
    animation-delay: 0.13s;
  }
}
@media (max-width: 950px) {
  .nav-inner {
    min-height: 72px;
  }
  .brand {
    width: 130px;
  }
  .nav-inner nav {
    gap: 1.1rem;
  }
  .hero-copy {
    padding-right: 1.2rem;
  }
  .hero-actions {
    gap: 1rem;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-inner {
    grid-template-columns: 1.3fr 1fr;
  }
  .hero h1 {
    font-size: clamp(4.1rem, 8vw, 6rem);
  }
}
@media (max-width: 720px) {
  html {
    scroll-padding-top: 75px;
  }
  .nav-inner {
    min-height: 66px;
    gap: 8px;
  }
  .nav-inner nav,
  .account,
  .divider {
    display: none;
  }
  .menu {
    display: grid;
  }
  .actions {
    gap: 1px;
  }
  .theme {
    margin-inline: 3px;
  }
  .icon-button {
    width: 38px;
    height: 42px;
  }
  .theme button {
    min-height: 35px;
  }
  .brand {
    width: 115px;
  }
  .marquee {
    height: 27px;
    font-size: 0.7rem;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    min-height: 0;
    padding: 2.55rem var(--pad) 2rem;
  }
  .hero h1 {
    font-size: clamp(4.1rem, 12vw, 5.8rem);
    margin: 1rem 0;
  }
  .hero-copy > p {
    font-size: 1rem;
    max-width: 490px;
  }
  .hero-actions {
    margin-top: 1.25rem;
    gap: 1.2rem;
  }
  .hero-actions .button {
    padding: 11px 14px;
  }
  .hero-actions .story-link {
    font-size: 0.85rem;
  }
  .scroll-link {
    display: none;
  }
  .hero-art {
    aspect-ratio:4/3;
    height:auto;
    background:var(--ivory);
  }
  .hero-art .slide picture img {object-fit:contain;transform:none;
  }
  .slide-label {
    bottom: 1.1rem;
    left: var(--pad);
  }
  .slide-controls {
    right: var(--pad);
    bottom: 1.1rem;
  }
  .values-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem 0;
    padding: 0.95rem 0.5rem;
  }
  .values-strip > div {
    font-size: 0.8rem;
    gap: 6px;
  }
  .values-strip > div:nth-child(3) {
    border-left: 0;
  }
  .values-strip svg {
    width: 17px;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .section-head h1,
  .section-head h2 {
    font-size: 2.9rem;
  }
  .collection {
    padding-block: 2.8rem;
  }
  .story-section,
  .contact-layout,
  .detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .story-section img {
    max-height: 340px;
  }
  .filters {
    flex-wrap: wrap;
  }
  .filters label {
    flex: 1 1 155px;
  }
  .admin-heading,
  .admin-row {
    flex-wrap: wrap;
  }
  .quote {
    padding: 3rem 1.4rem;
  }
  .foot-inner {
    gap: 1.6rem 1.1rem;
  }
  .footer p {
    overflow-wrap: anywhere;
  }
  .floating-chat {
    width: 42px;
    height: 42px;
    right: 12px;
    bottom: 12px;
  }
}
@media (max-width: 450px) {
  .cards {
    gap: 1.35rem;
    grid-template-columns: 1fr;
  }
  .card-body p {
    min-height: 0;
  }
  .product-photo img {
    aspect-ratio: 1.48;
  }
  .foot-inner {
    grid-template-columns: 1fr;
  }
  .slide-label strong {
    font-size: 1.55rem;
  }
  .eyebrow {
    font-size: 0.67rem;
  }
  .panel,
  .admin-editor {
    padding: 1.1rem;
  }
  .admin-tabs {
    gap: 6px;
  }
}
.mast {
  top: 10px;
  width: calc(100% - 2 * var(--pad));
  max-width: 1510px;
  margin: 12px auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.nav-inner {
  padding-inline: clamp(14px, 2vw, 38px);
  min-height: 68px;
}

.mast.scrolled {
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}

.hero-ingredients {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-ingredients img {
  position: absolute;
  height: auto;
  filter: drop-shadow(2px 9px 6px #3928132b);
  animation: ingredient-float 5.8s ease-in-out infinite alternate;
}
.hero-anise {
  width: clamp(38px, 5.5vw, 100px);
  bottom: 7%;
  right: 5%;
}
.hero-ingredients .hero-pods {
  width: clamp(23px, 3vw, 56px);
  bottom: 4.7%;
  right: 20%;
  animation-duration: 6.7s;
  animation-delay: -2.4s;
}
.hero-pepper-left {
  left: 3%;
  top: 29%;
  width: clamp(19px, 2.6vw, 48px);
}
.hero-cinnamon-left {
  left: 6%;
  bottom: 15%;
  width: clamp(24px, 3vw, 58px);
}
body:has(.hero) .mast {
  margin-top: clamp(16px, 1.5vw, 24px);
}
@media (max-width: 720px) {
  .hero-pepper-left {
    top: 9%;
    left: 4%;
  }
  .hero-cinnamon-left {
    left: auto;
    right: 19%;
    bottom: 4%;
  }
}
.hero-ingredients .hero-cloves {
  width: clamp(22px, 2.6vw, 45px);
  right: 6.5%;
  top: 21%;
  animation-duration: 5s;
  animation-delay: -1.5s;
}
.brand img,
.foot-brand img,
[data-theme="dark"] .brand .brand-dark {
  mix-blend-mode: normal;
}
.offer-banner {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding-block: 2rem;
}
.offer-banner img {
  width: 40%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 8px;
}
@media (max-width: 720px) {
  .mast {
    width: calc(100% - 20px);
    margin-block: 7px;
    top: 6px;
    border-radius: 12px;
  }
  .nav-inner {
    min-height: 57px;
    padding-inline: 12px;
  }
  .hero-copy {
    padding-top: 2.15rem;
  }

  .hero-anise {
    top: 97px;
    right: var(--pad);
    width: 32px;
    bottom: auto;
  }
  .hero-ingredients .hero-pods {
    top: 89px;
    right: calc(var(--pad) + 43px);
    width: 19px;
    bottom: auto;
  }
  .hero-ingredients .hero-cloves {
    display: none;
  }
  .hero-actions {
    gap: 0.85rem;
  }
  .offer-banner {
    align-items: flex-start;
    flex-direction: column;
  }
  .offer-banner img {
    width: 100%;
  }
}
@media (max-width: 370px) {
  .actions .icon-button {
    width: 32px;
  }
  .brand {
    width: 101px;
  }
}
.theme button[aria-pressed="true"]:hover {
  background: var(--btn);
  color: var(--btnText);
}
@media (max-width: 360px) {
  .hero-ingredients .hero-pods {
    display: none;
  }
  .hero-anise {
    width: 25px;
  }
}
/* Light passing through the header keeps the navigation legible over photography. */
.mast,
.mast.scrolled {
  background: linear-gradient(
    105deg,
    color-mix(in srgb, var(--paper) 80%, transparent),
    color-mix(in srgb, var(--paper) 59%, transparent)
  );
  border-color: color-mix(in srgb, var(--surface) 76%, var(--line));
  backdrop-filter: blur(19px) saturate(145%);
  box-shadow:
    inset 0 1px 0 #ffffff52,
    0 8px 26px #19251912;
}
.mast.scrolled {
  background: color-mix(in srgb, var(--paper) 79%, transparent);
}
.slide {
  transition: opacity 0.86s ease;
  opacity: 1;
}
.slide[inert] {
  opacity: 0;
  pointer-events: none;
}
.slide[inert] picture img {
  transform: scale(1.055);
}
.slide-label {
  transition:
    opacity 0.52s ease,
    transform 0.7s ease;
}
.slide[inert] .slide-label {
  opacity: 0;
  transform: translateY(15px);
}
.slide-controls {
  z-index: 3;
}

.spice-wheel {
  position: relative;
  overflow: clip;
  text-align: center;
  padding: clamp(3rem, 5vw, 5.8rem) 0 2.9rem;
  isolation: isolate;
  --ink: #302415;
  --body: #3d3125;
  --muted: #4c3927;
  --accent: #754019;
  --line: #85613865;
  --surface: #f5e3c5;
  --strip: #e4c89e;
  --table-image: url("/assets/tabletop.webp");
  background: #d7ad77;
}
.spice-wheel::before,
.spice-wheel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.spice-wheel::before {
  background: var(--table-image) center / cover no-repeat;
  filter: saturate(0.72);
}
.spice-wheel::after {
  background: radial-gradient(
    ellipse at 50% 54%,
    #fff1d3ae 0%,
    #fff0d37a 49%,
    #fbe6bf16 85%
  );
  transition: background-color 0.85s ease;
}
.spice-wheel:has(.wheel-node[data-slot="0"] img[src$="cardamom.webp"])::after {
  background-color: #a6ac781c;
}
.spice-wheel:has(.wheel-node[data-slot="0"] img[src$="cinnamon.webp"])::after {
  background-color: #bc6b3220;
}
.spice-wheel {
  color: var(--ink);
}
[data-theme="dark"] .spice-wheel {
  background: #443224;
  --ink: #fff4df;
  --body: #fff0d5;
  --muted: #f6e4ca;
  --accent: #f7cd94;
  --line: #f1d4a780;
  --surface: #403328;
  --strip: #584333;
}
[data-theme="dark"] .spice-wheel::before {
  filter: saturate(0.68) brightness(0.7);
}
[data-theme="dark"] .spice-wheel::after {
  background-image: radial-gradient(
    ellipse at 50% 50%,
    #291c139c 0%,
    #261c1690 62%,
    #1f170f66
  );
}
.wheel-heading {
  padding: 0 var(--pad);
  position: relative;
  z-index: 1;
}
.wheel-heading .eyebrow {
  justify-content: center;
}
.wheel-heading h2 {
  margin: 1rem 0 0.1rem;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.wheel-stage {
  --radius: clamp(155px, 38vw, 490px);
  --piece: clamp(107px, 15vw, 195px);
  --peak: calc(var(--piece) * 0.69);
  position: relative;
  max-width: 1170px;
  margin: 1.7rem auto 0;
  height: calc(var(--peak) + var(--radius) * 0.35 + var(--piece) * 0.48);
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  cursor: grab;
}
.wheel-stage:focus-visible {
  outline: none;
}
.wheel-stage:focus-visible .wheel-node[data-slot="0"] {
  outline: 2px solid var(--accent);
  outline-offset: 7px;
}
.wheel-stage:active {
  cursor: grabbing;
}
.wheel-rim {
  position: absolute;
  left: 50%;
  top: calc(var(--peak) + 12px);
  transform: translateX(-50%);
  width: calc(var(--radius) * 2);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 27%, transparent);
  pointer-events: none;
  mask-image: linear-gradient(black 10%, transparent 41%);
}
.wheel-rim:after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 50%;
}
.wheel-node {
  --angle: 0deg;
  --scale: 1;
  position: absolute;
  z-index: 2;
  left: 50%;
  top: calc(var(--radius) + var(--peak));
  width: var(--piece);
  height: var(--piece);
  margin: calc(var(--piece) * -0.5) 0 0 calc(var(--piece) * -0.5);
  display: grid;
  align-items: center;
  justify-items: center;
  border-radius: 50%;
  text-decoration: none;
  transform: rotate(var(--angle)) translateY(calc(-1 * var(--radius)))
    rotate(calc(-1 * var(--angle))) scale(var(--scale));
  transition:
    transform 0.83s cubic-bezier(0.2, 0.78, 0.18, 1),
    opacity 0.62s ease;
}
.wheel-node img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: sepia(0.09) saturate(0.95) drop-shadow(2px 4px 2px #4d2e1f45)
    drop-shadow(5px 10px 6px #52321e38);
  animation: ingredient-float 5s ease-in-out infinite alternate;
}
.wheel-node:nth-of-type(even) img {
  animation-delay: -2.3s;
}
.wheel-node[data-slot="-1"] {
  --angle: -49deg;
  --scale: 0.65;
  z-index: 1;
}
.wheel-node[data-slot="1"] {
  --angle: 49deg;
  --scale: 0.65;
  z-index: 1;
}
.wheel-node[data-slot="-2"] {
  --angle: -94deg;
}
.wheel-node[data-slot="2"] {
  --angle: 94deg;
}
.wheel-node[inert] {
  opacity: 0;
  pointer-events: none;
  --scale: 0.42;
}
.wheel-snap {
  transition: none;
}
.wheel-node:focus-visible {
  outline-offset: 8px;
}
@keyframes ingredient-float {
  from {
    transform: perspective(450px) translateY(4px) rotate(-5deg) rotateY(-7deg);
  }
  to {
    transform: perspective(450px) translateY(-7px) rotate(3deg) rotateY(6deg);
  }
}
.wheel-details {
  position: relative;
  z-index: 1;
  display: grid;
  margin: clamp(-135px, -8vw, -32px) auto 0;
  width: min(90%, 440px);
  pointer-events: none;
}
.wheel-detail {
  grid-area: 1/1;
  align-self: center;
  opacity: 1;
  transition:
    opacity 0.4s ease,
    transform 0.62s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wheel-detail[inert] {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.wheel-detail h3 {
  font-size: clamp(1.9rem, 3.1vw, 3.2rem);
  letter-spacing: -0.025em;
}
.wheel-detail h3 a {
  text-decoration: none;
}
.wheel-detail p {
  font-size: 0.94rem;
  max-width: 38ch;
  margin: 0.6rem auto;
}
.wheel-detail:not([inert]) a {
  pointer-events: auto;
}
.wheel-links,
.wheel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.wheel-links {
  margin-top: 0.9rem;
  font-size: 0.86rem;
  font-weight: 600;
}
.wheel-shop {
  border-left: 1px solid var(--line);
  padding-left: 1rem;
  text-underline-offset: 4px;
}
.wheel-controls {
  position: relative;
  z-index: 2;
  margin: 1.3rem auto 0;
  gap: 0.85rem;
}
.wheel-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--ink);
}
.wheel-controls button:hover {
  background: var(--strip);
}
.wheel-controls svg {
  width: 15px;
}
.wheel-controls span {
  font-variant-numeric: tabular-nums;
  font-size: 0.84rem;
  color: var(--muted);
}

.quote {
  width: min(1060px, calc(100% - 2 * var(--pad)));
  margin: clamp(1.5rem, 3.8vw, 4rem) auto clamp(2rem, 3.4vw, 3.6rem);
  padding: 0 clamp(1rem, 3vw, 3rem);
  background: transparent;
  position: relative;
  text-align: center;
}
.quote-mark {
  color: var(--accent);
  font: normal clamp(3.6rem, 5vw, 5rem)/0.6 var(--head);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 2.8rem;
  padding-top: 1rem;
}
.quote-mark:before,
.quote-mark:after {
  content: "";
  width: clamp(45px, 7vw, 96px);
  height: 1px;
  background: color-mix(in srgb, var(--accent) 44%, transparent);
  transform: translateY(-0.53rem);
}
.quote-pages {
  display: grid;
  position: relative;
  overflow: clip;
  overflow-clip-margin: 6px;
}
.quote-picks {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.55rem auto 0;
}
.quote-picks button {
  background: transparent;
  border: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--accent);
  border-radius: 50%;
}
.quote-picks button:before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  border-radius: 6px;
  transition:
    width 0.3s,
    background 0.3s;
}
.quote-picks button[aria-pressed="true"]:before {
  width: 22px;
  background: currentColor;
}
.quote-frame {
  grid-area: 1/1;
  display: grid;
  grid-template-columns: minmax(64px, 1fr) minmax(0, 620px) minmax(64px, 1fr);
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 2.4vw, 2.3rem);
  min-width: 0;
}
.quote-frame blockquote {
  font-size: clamp(2.2rem, 3.8vw, 3.9rem);
  letter-spacing: -0.025em;
  line-height: 1.06;
  text-wrap: balance;
  overflow-wrap: anywhere;
  transition:
    opacity 0.5s ease 0.2s,
    transform 0.7s ease 0.15s;
}
.quote-frame[inert] blockquote {
  opacity: 0;
  transform: translateY(-9px);
  transition-delay: 0s;
}
.quote-garnish {
  --entry-shift: -25px;
  --entry-turn: -16deg;
  justify-self: center;
  width: min(90%, 108px);
  opacity: 1;
  transform: none;
  transition:
    opacity 0.55s ease 0.18s,
    transform 0.9s cubic-bezier(0.18, 0.78, 0.25, 1) 0.12s;
}
.quote-right {
  --entry-shift: 25px;
  --entry-turn: 16deg;
}
.quote-frame[inert] .quote-garnish {
  opacity: 0;
  transform: translateX(var(--entry-shift)) translateY(9px)
    rotate(var(--entry-turn)) scale(0.64);
  transition-duration: 0.44s;
  transition-delay: 0s;
}
.quote-garnish img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(3px 7px 5px #35291a30);
  animation: ingredient-float 5.3s ease-in-out infinite alternate;
}
.quote-right img {
  animation-delay: -2.8s;
}
.quote-frame[inert] img {
  animation-play-state: paused;
}
.story-feature {
  width: min(1060px, calc(100% - 2 * var(--pad)));
  margin: 0 auto clamp(2.5rem, 5vw, 5rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #20362a;
  color: #fcf5df;
  min-height: 345px;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 0;
  padding: 0;
}
.story-feature > img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 60%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 53% center;
  border-radius: 0;
  z-index: -1;
  mask-image: linear-gradient(90deg, transparent, #0005 12%, #000 35%);
}
.story-feature > div {
  grid-column: 1;
  padding: clamp(1.9rem, 3.2vw, 3.6rem) 0.8rem clamp(1.9rem, 3.2vw, 3.6rem)
    clamp(1.6rem, 3.3vw, 3.6rem);
}
.story-feature .eyebrow {
  color: #e5bf81;
}
.story-feature h2 {
  font-size: clamp(2.7rem, 4.1vw, 4.15rem);
  line-height: 0.99;
  letter-spacing: -0.035em;
  max-width: 14ch;
  margin: 0.95rem 0;
}
.story-feature p {
  color: #e4e8d8;
  font-size: 0.95rem;
  max-width: 44ch;
  line-height: 1.65;
}
.story-feature .outline-button {
  margin-top: 1.4rem;
  color: #263b2b;
  background: #eee8d3;
  border-color: transparent;
  padding: 10px 18px;
  min-height: 42px;
}
@media (max-width: 720px) {
  .wheel-stage {
    margin-top: 1rem;
    --radius: 45vw;
    --piece: clamp(98px, 26vw, 150px);
  }
  .wheel-details {
    margin-top: -1.45rem;
    width: min(90%, 400px);
  }
  .wheel-detail p {
    max-width: 30ch;
  }
  .spice-wheel {
    padding-bottom: 2.2rem;
  }
  .spice-wheel {
    --table-image: url("/assets/tabletop-mobile.webp");
  }
  .quote {
    width: calc(100% - 2rem);
    padding: 0;
    margin: 1.8rem auto 1.6rem;
  }
  .quote-mark {
    height: 2rem;
    font-size: 3.6rem;
  }
  .quote-mark:before,
  .quote-mark:after {
    width: 40px;
  }
  .quote-frame {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 112px;
    padding: 0.7rem clamp(35px, 10vw, 62px);
  }
  .quote-frame blockquote {
    font-size: clamp(1.78rem, 6.65vw, 2.65rem);
    line-height: 1.08;
  }
  .quote-garnish {
    width: clamp(30px, 9vw, 54px);
    position: absolute;
  }
  .quote-left {
    left: 0;
    top: 3%;
  }
  .quote-right {
    right: 0;
    bottom: 2%;
  }
  .quote-picks {
    margin-top: 0.05rem;
  }
  .story-feature {
    width: calc(100% - 2rem);
    grid-template-columns: 1fr;
    min-height: 0;
    padding: clamp(185px, 53vw, 320px) 0 0;
  }
  .story-feature > img {
    width: 100%;
    height: clamp(235px, 68vw, 400px);
    object-position: center 43%;
    mask-image: linear-gradient(#000 59%, transparent 100%);
  }
  .story-feature > div {
    grid-column: 1;
    padding: 1.4rem 1.55rem 1.8rem;
  }
  .story-feature h2 {
    font-size: clamp(2.55rem, 8.2vw, 3.4rem);
  }
  .footer-credit {
    padding-right: 44px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root) {
    animation: page-depart 0.24s ease-in both;
  }
  ::view-transition-new(root) {
    animation: page-enter 0.38s ease-out both;
  }
  @keyframes page-depart {
    to {
      opacity: 0;
      transform: translateY(-9px);
    }
  }
  @keyframes page-enter {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
  }
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy > p,
  .hero-actions {
    animation: page-enter 0.85s cubic-bezier(0.18, 0.75, 0.22, 1) both;
  }
  .hero-copy h1 {
    animation-delay: 0.09s;
  }
  .hero-copy > p {
    animation-delay: 0.17s;
  }
  .hero-actions {
    animation-delay: 0.24s;
  }
  .section-motion {
    transition:
      opacity 0.75s ease,
      translate 0.9s cubic-bezier(0.2, 0.75, 0.22, 1);
  }
  .section-motion.approaching {
    opacity: 0;
    translate: 0 28px;
  }
  .section-motion:focus-within {
    opacity: 1;
    translate: none;
  }
  dialog {
    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity 0.22s,
      transform 0.22s,
      display 0.22s allow-discrete,
      overlay 0.22s allow-discrete;
  }
  dialog[open] {
    animation: none;
    opacity: 1;
    transform: none;
  }
  @starting-style {
    dialog[open] {
      opacity: 0;
      transform: translateY(10px);
    }
  }
}
/* Catalogue navigation */
.inline-search {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-width: 0;
  border-radius: 24px;
  border: 1px solid transparent;
  transition:
    background 0.32s,
    border-color 0.32s;
}
.inline-search [type="search"] {
  width: 0;
  min-width: 0;
  padding: 0;
  opacity: 0;
  border: 0;
  background: transparent;
  transition:
    width 0.38s cubic-bezier(0.2, 0.75, 0.2, 1),
    opacity 0.24s,
    padding 0.38s;
}
.inline-search[data-expanded="true"] {
  border-color: var(--line);
  background: var(--surface);
}
.inline-search[data-expanded="true"] [type="search"] {
  width: clamp(125px, 14vw, 205px);
  padding: 6px 12px 6px 0;
  opacity: 1;
}
.inline-search input:focus-visible {
  outline-offset: 0;
}
.inline-search .icon-button {
  width: 42px;
  height: 42px;
}
.shop-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0.85rem 0;
  border-block: 1px solid var(--line);
}
.shop-tools .inline-search {
  border-color: var(--line);
  background: var(--surface);
}
.categories {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  min-width: 0;
  scrollbar-width: thin;
  padding: 4px 2px;
}
.categories a {
  flex: none;
  padding: 8px 13px;
  border-radius: 22px;
  font-weight: 500;
  font-size: 0.88rem;
}
.categories a[aria-current="true"] {
  background: var(--btn);
  color: var(--btnText);
}
.categories a:hover:not([aria-current]) {
  background: var(--strip);
}
.result-count {
  margin: 1rem 0;
  font-variant-numeric: tabular-nums;
}
.price del {
  font-size: 0.86em;
}
.offer-tag {
  font-size: 0.85rem;
  font-weight: 650;
}
/* Story */
.story-long {
  padding-block: clamp(3rem, 6vw, 6rem);
  overflow: clip;
}
.story-opening {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}
.story-opening h1 {
  font-size: clamp(3.5rem, 6vw, 7rem);
  letter-spacing: -0.045em;
  margin: 1.25rem 0;
  max-width: 13ch;
}
.story-intro > p,
.story-notes p {
  line-height: 1.8;
}
.story-photo {
  overflow: hidden;
  border-radius: 7px;
}
.story-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.35;
  object-fit: cover;
}
.story-notes {
  max-width: 74ch;
  margin: clamp(2.4rem, 4vw, 4rem) auto;
}
.story-notes p + p {
  margin-top: 1.15rem;
}
.story-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 3.5rem);
  margin: 2rem 0 2.5rem;
}
.story-value {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}
.story-value img {
  width: 65px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 1.15rem;
}
.story-value h2 {
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  margin-bottom: 0.65rem;
}
.story-feature {
  width: min(1260px, calc(100% - 2 * var(--pad)));
  min-height: clamp(370px, 30vw, 470px);
}
@media (prefers-reduced-motion: no-preference) {
  .story-long .motion-ready {
    transition:
      opacity 0.8s,
      transform 0.95s cubic-bezier(0.18, 0.7, 0.22, 1),
      clip-path 1.05s cubic-bezier(0.2, 0.72, 0.2, 1);
    opacity: 0;
  }
  [data-reveal="title"].motion-ready {
    transform: translateY(28px);
    clip-path: inset(0 0 85% 0);
  }
  [data-reveal="lead"].motion-ready {
    transform: translateY(12px);
    transition-delay: 90ms;
  }
  [data-reveal="photo"].motion-ready {
    clip-path: inset(0 16% 0 16%);
    transform: scale(0.965);
  }
  [data-reveal="rise"].motion-ready {
    transform: translateY(32px);
  }
  [data-reveal="glide"].motion-ready {
    transform: translateX(-25px);
  }
  [data-reveal="unfold"].motion-ready {
    transform: perspective(800px) rotateX(13deg);
    transform-origin: top;
    clip-path: inset(0 0 30% 0);
  }
  .story-long .motion-ready.onstage {
    opacity: 1;
    transform: none;
    clip-path: inset(0);
  }
}
footer {
  background: linear-gradient(112deg, #454f29 0%, #354d34 52%, #294a35 100%);
  padding-block: 1.85rem 0.9rem;
}
.foot-inner {
  gap: 1.25rem;
}
.foot-inner > div {
  gap: 0.18rem;
}
.foot-inner h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}
.foot-brand img {
  width: 144px;
}
.footer-credit {
  margin-top: 1rem;
  padding-top: 0.7rem;
}
/* Store workspace */
.admin.dashboard {
  display: grid;
  grid-template-columns: clamp(215px, 17vw, 270px) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  background: var(--surface);
  align-items: start;
}
.dashboard-side {
  box-sizing: border-box;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.5rem 1rem;
  background: #253d30;
  color: #f2f3e5;
}
.side-brand {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem 1rem;
}
.side-brand img {
  width: clamp(130px, 10vw, 158px);
  height: auto;
}
.side-contents {
  border-top: 1px solid #cfdbc13b;
}
.side-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  border-top: 1px solid #cfdbc13b;
  margin-top: 1.15rem;
  padding: 1rem 0.25rem 0;
}
.side-tools a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
  font-size: 0.88rem;
  min-height: 40px;
}
.side-tools a:hover {
  text-decoration: underline;
}
.side-tools .theme {
  color: var(--ink);
}
.dashboard-main > [role="status"]:empty,
.dashboard-main > [role="alert"]:empty {
  display: none;
}
.side-group {
  display: grid;
  margin-top: 1.05rem;
  gap: 0.15rem;
}
.side-group h3 {
  font:
    600 0.76rem/1.4 "DM Sans",
    sans-serif;
  letter-spacing: 0.07em;
  color: #c3d1ba;
  padding: 0.22rem 0.65rem;
}
.side-group button {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-align: left;
  color: #f2f2e6;
  background: transparent;
  border: 0;
  border-radius: 6px;
  padding: 0.65rem;
  font-size: 0.89rem;
}
.side-group button:hover,
.side-group button[aria-current="true"] {
  background: #435d49;
}
.side-group button[aria-current="true"] {
  box-shadow: inset 3px 0 #dfc58f;
}
.side-menu summary {
  display: none;
}
.dashboard-main {
  padding: clamp(1.2rem, 2.8vw, 2.7rem);
  min-width: 0;
}
.inventory-title,
.dashboard-offer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.dashboard-offer .outline-button {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 0.82rem;
}
.dashboard .metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}
.metrics button {
  display: grid;
  gap: 8px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  padding: 1rem;
  font-size: 0.85rem;
}
.metrics button strong {
  font-size: 1.85rem;
  line-height: 1;
}
.metrics button[aria-pressed="true"] {
  background: var(--btn);
  color: var(--btnText);
  border-color: var(--btn);
}
.dashboard-offer {
  padding: 1rem 0 1.4rem;
}
.dashboard-offer p {
  font-size: 0.92rem;
  margin-top: 3px;
}
.inventory-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.inventory-title {
  padding: 1rem;
  background: var(--ivory);
}
.record-scroll {
  max-height: 490px;
  overflow: auto;
}
.record-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
  text-align: left;
}
.record-table th,
.record-table td {
  padding: 0.6rem 0.8rem;
  border-top: 1px solid var(--line);
}
.record-table th {
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
}
.record-table button {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-align: left;
  border: 0;
  background: transparent;
  font-weight: 550;
}
.record-table img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 5px;
}
.record-table td:nth-child(2) {
  white-space: nowrap;
}
.empty-status {
  padding: 1.3rem;
}
.dashboard .admin-editor {
  max-width: none;
  background: var(--paper);
}
.dashboard .admin-list {
  margin: 1rem 0;
}
.dashboard .admin-row {
  gap: 0.65rem;
}
@media (max-width: 1000px) {
  .nav-inner:has(.inline-search[data-expanded="true"]) > nav {
    display: none;
  }
}
@media (max-width: 800px) {
  .admin.dashboard {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
  }
  .dashboard-side {
    position: relative;
    top: auto;
    height: auto;
    max-height: 100svh;
    padding: 0.65rem 1rem;
  }
  .side-brand {
    padding: 0;
    min-height: 42px;
  }
  .side-brand img {
    width: 122px;
  }
  .side-menu summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    right: 1rem;
    top: 0.65rem;
    min-height: 42px;
    padding: 0 0.7rem;
    border: 1px solid #cfdbc14d;
    border-radius: 7px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
  }
  .side-menu[open] summary {
    background: #435d49;
  }
  .side-contents {
    margin-top: 0.6rem;
  }
  .side-menu nav {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
  }
  .side-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0.6rem 0 0;
  }
  .side-group h3 {
    margin: 0 0 0.15rem;
  }
  .side-group button {
    min-height: 44px;
    width: 100%;
  }
  .side-tools {
    margin-top: 0.75rem;
    padding: 0.65rem 0.4rem 0;
  }
  .dashboard-main {
    padding: 1rem;
  }
  .dashboard .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin .metrics button {
    padding: 0.8rem;
  }
  .record-table th,
  .record-table td {
    padding: 0.5rem;
  }
  .record-table img {
    width: 25px;
    height: 25px;
  }
}
@media (max-width: 720px) {
  .nav-inner:has(.inline-search[data-expanded="true"])
    .actions
    > :not(.inline-search) {
    display: none;
  }
  .shop-tools {
    flex-wrap: nowrap;
    gap: 0.45rem;
  }
  .categories {
    flex: 1 1 0;
  }
  .categories a {
    font-size: 0.83rem;
    padding: 7px 10px;
  }
  .collection .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 0.75rem;
  }
  .collection .product-photo img {
    aspect-ratio: 1.12;
  }
  .card-body {
    padding: 0.65rem 0;
  }
  .card-body h3 {
    font-size: clamp(1.32rem, 5vw, 1.8rem);
  }
  .card-body p {
    font-size: 0.83rem;
    line-height: 1.45;
  }
  .card-body > small {
    letter-spacing: 0.06em;
  }
  .card-links {
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    font-size: 0.8rem;
  }
  .price {
    margin: 0.6rem 0;
  }
  .card-links a {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
  }
  .offer-tag {
    top: 6px;
    left: 6px;
    padding: 2px 5px;
  }
  .story-opening {
    grid-template-columns: 1fr;
  }
  .story-opening h1 {
    font-size: clamp(3rem, 11vw, 5rem);
  }
  .story-values {
    grid-template-columns: 1fr;
  }
  .story-value {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    align-items: center;
  }
  .story-value img {
    width: 54px;
    margin: 0;
  }
  .story-feature {
    width: calc(100% - 2rem);
    min-height: 0;
    padding-top: clamp(205px, 58vw, 340px);
  }
  .foot-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .foot-inner p,
  .foot-inner a {
    overflow-wrap: anywhere;
  }
  .foot-brand img {
    width: 120px;
  }
}
.inline-search input[type="search"]:focus-visible {
  outline: 0;
  box-shadow: none;
}
.inline-search:focus-within {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--btn) 45%, transparent);
}
.pick-variety {
  display: grid;
  gap: 0.5rem;
  margin-block: 0.7rem;
}
.pick-variety label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.8rem;
}
.pick-variety select {
  max-width: 100%;
  min-width: 0;
  width: 100%;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: inherit;
}
.pick-variety button {
  padding: 0.55rem 0.7rem;
  font-size: 0.8rem;
}
.pick-variety button[aria-pressed="true"] {
  background: var(--btn);
  color: white;
}
.enquiry-tray:not([hidden]) {
  position: sticky;
  bottom: 0.7rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  width: fit-content;
  max-width: 100%;
  margin: 1rem auto;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 5px 28px #182e2526;
  grid-column: 1/-1;
}
.enquiry-tray .button {
  padding: 0.6rem 0.9rem;
}
.variety-menu {
  margin: 1.4rem 0;
}
.variety-menu > div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 0.65rem 0;
}
.variety-menu [aria-current] {
  font-weight: bold;
}
.family-editor {
  border-bottom: 1px solid var(--line);
  padding: 0.8rem;
}
.family-editor summary {
  cursor: pointer;
  font-weight: 600;
}
.family-editor summary small {
  font-weight: 400;
  margin-left: 0.6rem;
}
.overview-insights {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}
.traffic-panel,
.overview-insights .dashboard-offer {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  background: var(--paper);
  margin: 0;
}
.overview-insights .dashboard-offer {
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
}
.traffic-panel header,
.traffic-axis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}
.traffic-panel header select {
  max-width: 48%;
  font: inherit;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.4rem;
}
.traffic-panel > strong {
  font-size: 1.65rem;
}
.traffic-bars {
  height: 76px;
  display: flex;
  gap: 3px;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.traffic-bars meter {
  writing-mode: vertical-lr;
  direction: rtl;
  flex: 1;
  width: 0;
  min-width: 0;
  height: 100%;
  appearance: none;
}
.traffic-bars meter::-webkit-meter-bar {
  background: transparent;
  border: 0;
  border-radius: 0;
}
.traffic-bars meter::-webkit-meter-optimum-value {
  background: #63805b;
  border-radius: 3px;
}
.traffic-axis {
  font-size: 0.75rem;
  margin-top: 0.3rem;
}
@media (max-width: 800px) {
  .overview-insights {
    grid-template-columns: 1fr;
  }
  .pick-variety button {
    white-space: normal;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .shop-enter {
    animation: shop-arrive 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }
  .product-card:nth-child(3n + 2).shop-enter {
    animation-delay: 0.06s;
  }
  .product-card:nth-child(3n).shop-enter {
    animation-delay: 0.12s;
  }
  @keyframes shop-arrive {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
 .pick-variety .enquiry-check {display:inline-flex;align-items:center;gap:.3rem;cursor:pointer;min-height:36px;font-size:inherit;}
.enquiry-check input {width:1rem;height:1rem;accent-color:var(--btn);margin:0;}
.pick-variety .card-links {display:flex;align-items:center;justify-content:space-between;gap:.3rem;flex-wrap:nowrap;}
.collection-back button {display:inline-flex;align-items:center;gap:.4rem;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:2rem;padding:.5rem .85rem;margin-bottom:.75rem;}
.collection-back svg {width:1rem;height:1rem;}
.enquiry-list {display:grid;gap:.8rem;margin-block:1rem;overflow-wrap:anywhere;}
.enquiry-list header {display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap;}
.dashboard .metrics button {color:#fff;background:linear-gradient(120deg,#243f33 0%,#405e49 42%,#4b6852 48%,#354e3d 65%,#273f32 100%);border:1px solid #758875;box-shadow:inset 0 1px 0 #ffffff45,0 2px 4px #14231920;}
.dashboard .metrics button[aria-pressed=true] {border-color:#d9bc83;box-shadow:inset 0 0 0 2px #d9bc83;}
@media(max-width:720px){
.shop-tools .inline-search[data-expanded=true]{max-width:45%;}
.shop-tools .inline-search input{min-width:0;}
.pick-variety .card-links{font-size:clamp(.68rem,2.8vw,.82rem);}
}
.strip-preview {display:none}
@media(max-width:720px){
  #store-values {scroll-margin-top:clamp(165px,32vh,270px)}
  .strip-preview {position:fixed;z-index:12;bottom:max(.7rem,env(safe-area-inset-bottom));left:.7rem;display:grid;gap:.15rem;padding:.38rem .65rem;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:.6rem;box-shadow:0 3px 18px #14221933;font-size:.67rem}
  .strip-preview select {background:transparent;color:inherit;border:0;font:inherit;font-size:.84rem;min-height:30px}
  .strip-preview option {color:var(--ink);background:var(--surface)}
  .values-strip[data-style] {position:relative;z-index:2;border:0}
  .values-strip:is([data-style=above],[data-style=below],[data-style=both]) {--fade:#eee2ce;background:var(--fade)}
  [data-theme=dark] .values-strip:is([data-style=above],[data-style=below],[data-style=both]) {--fade:#302e24}
  .values-strip:is([data-style=above],[data-style=both])::before,
  .values-strip:is([data-style=below],[data-style=both])::after {content:"";pointer-events:none;position:absolute;inset-inline:0;height:19px}
  .values-strip:is([data-style=above],[data-style=both])::before {bottom:100%;background:linear-gradient(transparent,var(--fade))}
  .values-strip:is([data-style=below],[data-style=both])::after {top:100%;background:linear-gradient(var(--fade),transparent)}
  .values-strip[data-style=tiles] {gap:.45rem;background:var(--paper);padding:.7rem}
  .values-strip[data-style=tiles]>div {justify-content:flex-start;padding:.65rem .55rem;border:1px solid var(--line);background:var(--strip);border-radius:.8rem .2rem .8rem .2rem}
  .values-strip[data-style=ribbon] {grid-template-columns:repeat(4,minmax(0,1fr));padding:.8rem .25rem;background:#233d30;border-block:2px solid #b69a61}
  .values-strip[data-style=ribbon]>div {align-self:stretch;flex-direction:column;gap:.3rem;color:#fff4da;text-align:center;font-size:.72rem;line-height:1.2;padding:.15rem .2rem}
  .values-strip[data-style=ribbon] svg {color:#e7bd7b}
  :is(.values-strip[data-style=editorial],[data-theme=dark] .values-strip:not([data-style])) {gap:0 1rem;padding:.65rem 1rem;background:var(--paper)}
  :is(.values-strip[data-style=editorial],[data-theme=dark] .values-strip:not([data-style]))>div {border:0;border-bottom:1px solid var(--line);padding:.48rem 0;justify-content:flex-start;font:1.02rem/1.15 var(--head)}
  :is(.values-strip[data-style=editorial],[data-theme=dark] .values-strip:not([data-style])) svg {color:var(--accent)}
  :is(.values-strip[data-style=colour],[data-theme=light] .values-strip:not([data-style])) {background:linear-gradient(112deg,#e8bb78,#ddd49c 60%,#bec79a)}
  :is(.values-strip[data-style=colour],[data-theme=light] .values-strip:not([data-style])) :is(div,svg) {color:#243727}
}
.variety-menu>div {display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.55rem}
.variety-menu .pick-variety,.variety-menu .card-links {margin:0;padding:0;border:0}
.variety-menu small:last-child:not(.price small) {grid-column:1/-1}
@media(max-width:720px){
.wheel-stage::before {content:"";position:absolute;inset:-18px -6px;touch-action:pan-y;pointer-events:auto}
}
#mobile-nav,.nav-preview-tools{display:none}
@media(max-width:720px){
  .mast.nav-expanded #mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:4px 6px 6px;border-top:1px solid var(--line)}
  #mobile-nav a{display:flex;align-items:center;justify-content:center;gap:4px;min-height:44px;font-size:clamp(.7rem,3vw,.88rem);text-decoration:none;color:inherit;text-align:center;line-height:1.15;border-radius:8px}
  #mobile-nav a[aria-current]{background:var(--btn);color:var(--btnText);font-weight:650}
  #mobile-nav svg{display:none;width:18px;height:18px;flex-shrink:0}
  .nav-preview-tools{display:flex;align-items:center;justify-content:center;gap:12px;margin:8px auto;color:var(--ink);font-size:.82rem}
  .nav-preview-tools button{width:42px;height:40px;border:1px solid var(--line);background:var(--surface);color:inherit;border-radius:50%;font-size:1.35rem}
  .mast[data-navbar]{backdrop-filter:blur(22px) saturate(130%);box-shadow:inset 0 1px 0 #ffffff65,0 5px 22px #18281d18}
  .mast[data-navbar="2"] #mobile-nav,.mast[data-navbar="6"] #mobile-nav{background:linear-gradient(115deg,#213b31ed,#385644ec);color:#fff7df;border-radius:0 0 11px 11px}
  .mast:is([data-navbar="2"],[data-navbar="6"],[data-navbar="8"],[data-navbar="9"]) #mobile-nav svg{display:block}
  .mast[data-navbar="2"] #mobile-nav a,.mast[data-navbar="6"] #mobile-nav a{flex-direction:column;padding:6px 0}
  .mast[data-navbar="2"] #mobile-nav [aria-current]{background:#eee5cb;color:#233e30}
  .mast[data-navbar="3"] #mobile-nav a{font-family:var(--head);font-size:1.1rem;border-radius:0}
  .mast[data-navbar="3"] #mobile-nav [aria-current]{color:inherit;background:transparent;box-shadow:inset 0 -3px #b48238}
  .mast[data-navbar="4"] #mobile-nav{display:flex;overflow-x:auto;padding:5px 8px;gap:5px}
  .mast[data-navbar="4"] #mobile-nav a{flex:1 0 auto;border:1px solid #b88d5766;border-radius:22px;padding:0 8px}
  .mast[data-navbar="4"] #mobile-nav [aria-current]{background:#b87939;color:#17100a}
  .mast[data-navbar="5"] #mobile-nav,.mast[data-navbar="8"] #mobile-nav{grid-template-columns:1fr 1fr}
  .mast[data-navbar="5"] #mobile-nav a{font:1.2rem var(--head);justify-content:flex-start;border-radius:0;padding-inline:12px;border-bottom:1px solid var(--line)}
  .mast[data-navbar="5"] #mobile-nav a:first-child{grid-row:span 2;font-size:2.2rem}
  .mast[data-navbar="6"] #mobile-nav{background:linear-gradient(125deg,#211f1bf5,#514737ef);color:#fff1d7}
  .mast[data-navbar="6"] #mobile-nav [aria-current]{color:#ffdba1;background:#ffffff14;box-shadow:inset 0 2px #cc9f60}
  .mast[data-navbar="7"] #mobile-nav{gap:0;padding-inline:0;border-block:2px solid #a87a46}
  .mast[data-navbar="7"] #mobile-nav a{border-inline-end:1px solid var(--line);border-radius:0;font-weight:600}
  .mast[data-navbar="8"] #mobile-nav a{justify-content:flex-start;padding-inline:10px;border-bottom:1px solid var(--line)}
  .mast[data-navbar="8"] #mobile-nav a:last-child{grid-column:1/-1;justify-content:center}
  .mast[data-navbar="9"] #mobile-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
  .mast[data-navbar="9"] #mobile-nav a:nth-child(2){grid-column:1/-1;grid-row:1;background:#355341;color:#fff5dd;font:1.25rem var(--head)}
  .mast[data-navbar="9"] #mobile-nav a:not(:nth-child(2)){flex-direction:column}
  .mast[data-navbar="10"] #mobile-nav{background:var(--strip);gap:3px;border-radius:0 0 10px 10px}
  .mast[data-navbar="10"] #mobile-nav a{border:1px solid var(--line);background:var(--surface);border-radius:9px 9px 2px 2px}
  .mast[data-navbar="10"] #mobile-nav [aria-current]{border-bottom:3px solid var(--accent);color:var(--ink)}
  .mast:not(.nav-expanded) #mobile-nav{display:none}
}

.login-nav-tools{display:none}
.dashboard:has(.login) .login-nav-tools{display:flex;align-items:center;gap:.7rem}
.login-nav-tools>a{font-size:.8rem;color:inherit;text-decoration:none}
.admin.dashboard:has(.login){
  grid-template-columns:1fr;grid-template-rows:auto 1fr;align-content:start;
  background:linear-gradient(105deg,#141e17b8,#20251b38),url("/assets/spice-still-life.webp") center 48%/cover;
}
.dashboard:has(.login) .dashboard-side{
  position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;height:auto;min-height:55px;
  margin:12px clamp(12px,4vw,64px);padding:6px 16px;border-radius:12px;overflow:visible;
  background:#20332bd6;border:1px solid #e8dfc044;backdrop-filter:blur(20px);
}
.dashboard:has(.login) .side-brand{padding:0;min-height:0}
.dashboard:has(.login) .side-brand img{width:116px}
.dashboard:has(.login) .side-menu{display:none}
.dashboard:has(.login) .dashboard-main{align-self:center;width:100%;max-width:490px;margin:0 auto;padding:clamp(20px,5vw,48px) 16px}
.dashboard .panel.login{
  color:#f7f4e8;background:linear-gradient(135deg,#263c30c9,#182a23b8);
  border:1px solid #e5d4ae69;border-radius:18px;padding:clamp(22px,4vw,38px);
  box-shadow:0 20px 65px #10180e55,inset 0 1px #fff3;backdrop-filter:blur(22px);
}
.panel.login :is(h1,h2){color:inherit;font-size:clamp(2.1rem,5vw,3rem);line-height:1.05;margin:0 0 .7rem}
.panel.login label,.panel.login .check{color:#f2eedf}
.panel.login input:not([type=checkbox]){background:#f9f7ef;color:#1c3024;border:1px solid #c7cabb}
.panel.login .button{background:#e7d9af;color:#213226;transition:transform .16s,background .2s}
.panel.login .button:active{transform:scale(.97)}
.panel.login .outline-button{background:transparent;color:#f1ead8;border-color:#f1ead84d}
.panel.login [role=alert]:empty{display:none}
.panel.login [role=alert]{color:#ffe4c6}
.panel.login.login-success .button{background:#b6deb2;color:#183a23;opacity:1}
@media(prefers-reduced-motion:no-preference){.login-success .button{animation:login-confirm .52s ease-out}@keyframes login-confirm{40%{transform:scale(1.025);box-shadow:0 0 0 5px #a7d4a238}}}
@media(max-width:800px){
  .admin.dashboard:not(:has(.login)) .dashboard-side{position:sticky;top:0;z-index:5;padding:3px 12px;background:linear-gradient(115deg,#234536ee,#243c32eb);backdrop-filter:blur(18px);border-bottom:1px solid #dce6c858;box-shadow:0 2px 12px #14261a19;max-height:75svh}
  .dashboard-side .side-brand{min-height:38px}
  .dashboard-side .side-brand img{width:100px}
  .dashboard-side .side-menu summary{top:3px;right:12px;min-height:38px;padding:0 9px;font-size:.8rem}
  .side-menu #admin-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:.25rem .7rem}
  .side-menu .side-group{margin:.35rem 0}
  .side-menu .side-group button{min-height:36px;padding:.35rem .45rem;font-size:.81rem}
  .side-menu .side-tools{margin-top:.3rem;padding:.3rem 0}
  .dashboard:has(.login) .dashboard-side{min-height:44px}
}
.password-field{position:relative}
.panel.login .password-field input{padding-inline-end:4.3rem}
.password-visibility{position:absolute;right:5px;bottom:4px;height:36px;min-width:52px;background:transparent;border:0;border-radius:6px;color:#244732;font:inherit;font-weight:650;cursor:pointer}
.account-group{margin-block:1rem;padding:1rem;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.account-setting{display:flex;align-items:center;justify-content:space-between;gap:.7rem;border-top:1px solid var(--line);padding:.75rem 0}
.account-setting p{overflow-wrap:anywhere}
.account-edit{margin:.25rem 0 1rem}
.login-actions{display:grid;grid-template-columns:1fr 1.2fr;align-items:stretch;gap:.55rem}
.login-actions button{min-width:0;padding-inline:.35rem;font-size:clamp(.8rem,3.2vw,.95rem)}
.side-brand .login-light-logo{display:none}
[data-theme=light] .dashboard:has(.login) .side-brand img:last-child{display:none}
[data-theme=light] .dashboard:has(.login) .login-light-logo{display:block}
[data-theme=light] .dashboard:has(.login) .dashboard-side,
[data-theme=light] .dashboard .panel.login{color:#21382c;background:linear-gradient(115deg,#ffffffd6,#e1e5e1ad);border-color:#ffffffe0;box-shadow:inset 0 1px #ffffffdb,0 10px 35px #17251826}
[data-theme=light] .panel.login label{color:#21382c}
[data-theme=light] .panel.login input:not([type=checkbox]){background:#ffffffc7;border-color:#6b7b6e85}
[data-theme=light] .panel.login .button{background:#2d4b37;color:#fff}
[data-theme=light] .panel.login .outline-button{color:#243b2d;border-color:#697d6d;background:#ffffff38}
[data-theme=light] .panel.login [role=alert]{color:#781e16}
.theme{position:relative;isolation:isolate;gap:0;color:var(--ink)}
.theme::before{content:"";position:absolute;left:3px;top:3px;bottom:3px;width:calc((100% - 6px)/2);border-radius:inherit;background:var(--btn);pointer-events:none;transition:transform .32s cubic-bezier(.2,.8,.2,1)}
[data-theme=dark] .theme::before{transform:translateX(100%)}
.theme button{position:relative}
.theme button[aria-pressed=true],.theme button[aria-pressed=true]:hover{background:transparent;color:var(--btnText)}
.theme button svg{transition:transform .32s ease}
.theme button[aria-pressed=false] svg{transform:scale(.84) rotate(-18deg)}
@media(prefers-reduced-motion:reduce){.theme::before,.theme button svg{transition:none}}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
