:root {
  color-scheme: light;
  --ink: #292b23;
  --muted: #74766b;
  --paper: #f7f4ec;
  --card: #fffdf8;
  --olive: #586344;
  --olive-dark: #414b35;
  --tomato: #d66d4e;
  --line: #e9e4d8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.7px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  background: var(--olive);
  color: #fffdf8;
}

.brand-mark img {
  width: 23px;
  height: 23px;
}

.button-arrow::before {
  content: "\2192";
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border: 1px solid #e8e2d5;
  border-radius: 12px;
  background: #fffdf8b8;
}

.primary-nav-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.primary-nav-link:hover {
  color: var(--olive-dark);
  background: #f3f0e7;
}

.primary-nav-link.is-active {
  color: #fffdf8;
  background: var(--olive);
  box-shadow: 0 3px 9px #414b3526;
}

.hero {
  display: grid;
  min-height: 620px;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 56px;
  padding-block: 68px 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 25px;
  color: var(--olive);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 23px;
  height: 1px;
  background: var(--tomato);
  content: "";
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "DM Sans", sans-serif;
}

h1 {
  max-width: 610px;
  margin-bottom: 22px;
  font-size: clamp(44px, 5.7vw, 76px);
  font-weight: 600;
  letter-spacing: -5px;
  line-height: 1.04;
}

h1 span {
  color: var(--olive);
}

.hero-copy {
  max-width: 465px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 23px;
  border: 1px solid var(--olive);
  border-radius: 9px;
  background: var(--olive);
  color: white;
  font-size: 14px;
  font-weight: 700;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--olive-dark);
}

.button svg {
  width: 17px;
  height: 17px;
}

.text-link {
  color: var(--olive);
  font-size: 13px;
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 445px;
  place-items: center;
}

.art-wash {
  position: absolute;
  width: min(100%, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 55% 50%, #e8ddc7 0 43%, transparent 43.5%),
    radial-gradient(circle at 50% 50%, #eee8da 0 58%, transparent 58.5%);
}

.plate {
  position: relative;
  display: grid;
  width: min(75%, 330px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #ded5c3;
  border-radius: 50%;
  background: #fffdf8;
  box-shadow: 0 26px 50px #5146321c, inset 0 0 0 13px #f5f0e5;
  transform: rotate(-9deg);
}

.plate-inner {
  position: relative;
  width: 68%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 53% 46%, #f7c85e 0 8%, transparent 8.5%),
    radial-gradient(ellipse at 48% 52%, #dc7650 0 17%, transparent 17.5%),
    radial-gradient(ellipse at 45% 49%, #78905a 0 29%, transparent 29.5%),
    radial-gradient(ellipse at 55% 57%, #e4a43e 0 39%, transparent 39.5%),
    radial-gradient(ellipse at 50% 50%, #f1dfb5 0 64%, #fffaf0 64.5%);
  box-shadow: inset 0 0 0 1px #e7dec9;
}

.herb {
  position: absolute;
  width: 13px;
  height: 27px;
  border-radius: 100% 0 100% 0;
  background: #536a42;
}

.herb-one {
  top: 24%;
  left: 29%;
  transform: rotate(-26deg);
}

.herb-two {
  right: 27%;
  bottom: 28%;
  width: 10px;
  height: 22px;
  transform: rotate(27deg);
}

.herb-three {
  right: 23%;
  top: 32%;
  width: 9px;
  height: 18px;
  transform: rotate(58deg);
}

.floating-card {
  position: absolute;
  right: 0;
  bottom: 27px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  border: 1px solid #f0eadf;
  border-radius: 13px;
  background: var(--card);
  box-shadow: 0 16px 36px #51463214;
}

.floating-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: #f6e8d9;
  color: var(--tomato);
  font-size: 18px;
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  margin-bottom: 3px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
}

.floating-card small {
  color: var(--muted);
  font-size: 11px;
}

.spark {
  position: absolute;
  color: var(--tomato);
  font-family: Georgia, serif;
  font-size: 29px;
}

.spark-one {
  top: 54px;
  right: 42px;
}

.spark-two {
  bottom: 66px;
  left: 37px;
  color: var(--olive);
  font-size: 20px;
}

.coming-soon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
}

.coming-soon h2 {
  max-width: 390px;
  margin-bottom: 0;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1.4;
}

.coming-soon p {
  max-width: 455px;
  align-self: center;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.site-footer {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 21px;
}

.footer-links a:hover {
  color: var(--olive);
}

.section-page {
  min-height: min(650px, calc(100vh - 168px));
  padding-block: 82px 90px;
}

.section-page .eyebrow {
  margin-bottom: 22px;
}

.section-page h1 {
  max-width: 760px;
}

.section-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.section-panel {
  display: flex;
  max-width: 720px;
  align-items: flex-start;
  gap: 19px;
  margin-top: 40px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
  box-shadow: 0 14px 38px #5146320c;
}

.section-panel-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: #f6e8d9;
  color: var(--tomato);
  font-size: 22px;
}

.section-panel h2 {
  margin: 1px 0 7px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.section-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
  margin-top: 30px;
}

.profile-preview {
  display: flex;
  max-width: 720px;
  align-items: center;
  gap: 16px;
  margin-top: 35px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.profile-preview-avatar {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: var(--olive);
  color: var(--card);
  font-size: 21px;
}

.profile-preview strong,
.profile-preview small {
  display: block;
}

.profile-preview strong {
  margin-bottom: 4px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}

.profile-preview small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.profile-page {
  min-height: min(650px, calc(100vh - 168px));
}

.profile-login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  align-items: center;
  gap: clamp(42px, 8vw, 100px);
}

.profile-login-copy .eyebrow {
  margin-bottom: 22px;
}

.profile-login-copy h1 {
  margin-bottom: 20px;
}

.profile-login-copy .section-copy {
  max-width: 460px;
  margin-bottom: 26px;
}

.profile-login-note {
  display: flex;
  max-width: 440px;
  align-items: flex-start;
  gap: 11px;
  color: var(--olive);
}

.profile-login-note > span {
  flex: 0 0 auto;
  color: var(--tomato);
  font-size: 17px;
  line-height: 1.55;
}

.profile-login-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.profile-auth-card,
.web-profile-card {
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
  box-shadow: 0 20px 55px #51463212;
}

.profile-auth-card {
  padding: clamp(27px, 4vw, 38px);
}

.profile-auth-heading {
  margin-bottom: 25px;
}

.profile-auth-mark {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 21px;
  place-items: center;
  border: 1px solid #e4ddce;
  border-radius: 14px;
  color: var(--olive);
  background: #f3f0e7;
  font-size: 21px;
}

.profile-auth-heading .auth-eyebrow {
  margin-bottom: 8px;
  font-size: 10px;
}

.profile-auth-heading h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.8px;
}

.profile-auth-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.profile-login-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-login-form label {
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.profile-login-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #e3dfd4;
  border-radius: 8px;
  outline: none;
  background: #fffefa;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.profile-login-form input::placeholder {
  color: #99998d;
}

.profile-login-form input:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px #5863441c;
}

.profile-login-button {
  width: 100%;
  margin-top: 10px;
  cursor: pointer;
  font: inherit;
}

.profile-form-message {
  margin: 0 0 17px;
  padding: 11px 13px;
  border: 1px solid;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
}

.profile-form-error {
  border-color: #ebc7ba;
  color: #973f2a;
  background: #fbede7;
}

.profile-form-success {
  border-color: #d5ddc9;
  color: var(--olive-dark);
  background: #f0f3e9;
}

.profile-auth-footnote {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.web-profile-card {
  max-width: 720px;
  margin-top: 35px;
  padding: clamp(22px, 4vw, 34px);
}

.web-profile-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.web-profile-avatar {
  display: grid;
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
  place-items: center;
  border: 4px solid #f3f0e7;
  border-radius: 21px;
  background: var(--olive);
  color: var(--card);
  font-family: "DM Sans", sans-serif;
  font-size: 25px;
  font-weight: 700;
}

.web-profile-identity h2 {
  margin: 0 0 5px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.web-profile-identity > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.web-profile-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--olive);
  font-size: 11px;
  font-weight: 700;
}

.web-profile-status > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #76915b;
  box-shadow: 0 0 0 3px #76915b21;
}

.web-profile-divider {
  height: 1px;
  margin: 25px 0;
  background: var(--line);
}

.profile-admin-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid #e4ddce;
  border-radius: 12px;
  background: #f7f4ec;
}

.profile-admin-entry strong {
  display: block;
  margin-bottom: 4px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}

.profile-admin-entry p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.profile-admin-button {
  flex: 0 0 auto;
  gap: 10px;
  padding-inline: 18px;
}

.web-profile-placeholder {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px;
  border: 1px solid #eee8dc;
  border-radius: 11px;
  background: #faf8f1;
}

.web-profile-placeholder-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: #f6e8d9;
  color: var(--tomato);
  font-size: 17px;
}

.web-profile-placeholder strong {
  display: block;
  margin: 1px 0 5px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
}

.web-profile-placeholder p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.profile-logout-form {
  margin-top: 22px;
}

.profile-logout-button {
  min-height: 47px;
  border-color: #e7d6ce;
  background: transparent;
  color: #9a5039;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.profile-logout-button:hover {
  background: #fbede7;
}

.profile-logout-button > span {
  font-size: 18px;
}

.profile-title-period {
  color: var(--tomato);
}

.catalog-page {
  padding-block: 74px 96px;
}

.catalog-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: 64px;
  margin-bottom: 48px;
}

.catalog-intro h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(52px, 6vw, 82px);
}

.catalog-intro-copy {
  max-width: 340px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.catalog-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.8fr) repeat(4, minmax(130px, 1fr));
  align-items: end;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--tomato);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 14px 35px rgba(65, 75, 53, 0.08);
}

.catalog-filters label {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-filters .catalog-search {
  grid-column: span 2;
}

.catalog-filters input,
.catalog-filters select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #ddd7c9;
  border-radius: 9px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.catalog-filters input:focus,
.catalog-filters select:focus {
  border-color: var(--olive);
  outline: 3px solid rgba(88, 99, 68, 0.14);
}

.catalog-filter-submit {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--olive);
  border-radius: 9px;
  background: var(--olive);
  color: #fffdf8;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.catalog-filter-submit:hover {
  background: var(--olive-dark);
}

.catalog-result-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 40px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-result-line span:first-child {
  color: var(--ink);
  font-weight: 700;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
}

.catalog-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 8px 22px rgba(65, 75, 53, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.catalog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(65, 75, 53, 0.14);
}

.catalog-card-image {
  position: relative;
  aspect-ratio: 1.42;
  overflow: hidden;
  background: linear-gradient(135deg, #eee8d8, #d9dfc9);
}

.catalog-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-card-image.is-empty {
  display: grid;
  place-items: center;
  color: var(--olive);
  font-size: 42px;
}

.catalog-card-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fffdf8e8;
  color: var(--olive-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.catalog-card-body {
  padding: 18px 20px 20px;
}

.catalog-card-body h2 {
  margin: 0 0 14px;
  font-size: 23px;
  line-height: 1.15;
}

.catalog-card-meta {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}

.catalog-message {
  display: flex;
  max-width: 680px;
  align-items: flex-start;
  gap: 18px;
  margin-top: 44px;
  padding: 25px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--tomato);
  border-radius: 14px;
  background: var(--card);
}

.catalog-message > span {
  color: var(--tomato);
  font-size: 28px;
}

.catalog-message strong {
  display: block;
  margin: 3px 0 7px;
  font-size: 22px;
}

.catalog-message p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.catalog-pagination {
  display: flex;
  gap: 8px;
  margin-top: 38px;
}

.catalog-pagination a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--olive);
  font-size: 13px;
  font-weight: 700;
}

.catalog-pagination a.is-active,
.catalog-pagination a:hover {
  border-color: var(--olive);
  background: var(--olive);
  color: #fffdf8;
}

@media (max-width: 800px) {
  .page-shell {
    width: min(100% - 40px, 600px);
  }

  .catalog-page {
    padding-block: 82px 108px;
  }

  .catalog-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr);
    align-items: end;
    gap: 48px;
    margin-bottom: 54px;
  }

  .catalog-intro h1 {
    margin-bottom: 0;
    font-size: clamp(48px, 6vw, 82px);
  }

  .catalog-intro-copy {
    max-width: 320px;
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
  }

  .catalog-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(125px, 1fr)) auto;
    align-items: end;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--ink);
    border-left: 6px solid var(--tomato);
    background: var(--card);
    box-shadow: 8px 8px 0 rgba(61, 102, 82, 0.1);
  }

  .catalog-filters label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .catalog-filters input,
  .catalog-filters select {
    width: 100%;
    min-height: 44px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: #fffdf7;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
  }

  .catalog-filters input:focus,
  .catalog-filters select:focus {
    border-color: var(--olive);
    outline: 3px solid rgba(61, 102, 82, 0.15);
  }

  .catalog-filter-submit {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--ink);
    border-radius: 2px;
    background: var(--ink);
    color: var(--card);
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
  }

  .catalog-filter-submit:hover {
    background: var(--olive-dark);
  }

  .catalog-result-line {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 42px 0 17px;
    color: var(--muted);
    font-size: 12px;
  }

  .catalog-result-line span:first-child {
    color: var(--ink);
    font-weight: 700;
  }

  .catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px 18px;
  }

  .catalog-card {
    display: block;
    min-width: 0;
    border-bottom: 2px solid var(--ink);
    background: var(--card);
    transition: transform 160ms ease, box-shadow 160ms ease;
  }

  .catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 7px 7px 0 var(--saffron);
  }

  .catalog-card-image {
    position: relative;
    aspect-ratio: 1.42;
    overflow: hidden;
    background: #e4dcc8;
  }

  .catalog-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .catalog-card-image.is-empty {
    display: grid;
    place-items: center;
    color: var(--olive);
    font-size: 34px;
  }

  .catalog-card-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 8px;
    background: var(--saffron);
    color: var(--ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .catalog-card-body {
    padding: 16px 3px 14px;
  }

  .catalog-card-body h2 {
    margin: 0 0 13px;
    font-size: 22px;
    line-height: 1.12;
  }

  .catalog-card-meta {
    display: flex;
    gap: 16px;
    color: var(--muted);
    font-size: 11px;
  }

  .catalog-message {
    display: flex;
    max-width: 680px;
    align-items: flex-start;
    gap: 18px;
    margin-top: 44px;
    padding: 25px;
    border: 1px solid var(--ink);
    border-left: 6px solid var(--saffron);
    background: var(--card);
  }

  .catalog-message > span {
    color: var(--tomato);
    font-size: 28px;
  }

  .catalog-message strong {
    display: block;
    margin: 3px 0 7px;
    font-family: Fraunces, Georgia, serif;
    font-size: 22px;
  }

  .catalog-message p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
  }

  .catalog-message-error {
    border-left-color: var(--tomato);
  }

  .catalog-pagination {
    display: flex;
    gap: 8px;
    margin-top: 38px;
  }

  .catalog-pagination a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
  }

  .catalog-pagination a.is-active,
  .catalog-pagination a:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--card);
  }

  @media (max-width: 1000px) {
    .catalog-filters {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog-search {
      grid-column: 1 / -1;
    }

    .catalog-filter-submit {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 700px) {
    .catalog-page {
      padding-block: 58px 76px;
    }

    .catalog-intro {
      grid-template-columns: 1fr;
      gap: 18px;
      margin-bottom: 34px;
    }

    .catalog-intro-copy {
      max-width: 440px;
    }

    .catalog-filters {
      grid-template-columns: 1fr 1fr;
    }

    .catalog-search,
    .catalog-filter-submit {
      grid-column: 1 / -1;
    }

    .catalog-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 22px 13px;
    }

    .catalog-card-body h2 {
      font-size: 18px;
    }
  }

  @media (max-width: 460px) {
    .catalog-filters {
      grid-template-columns: 1fr;
    }

    .catalog-search,
    .catalog-filter-submit {
      grid-column: auto;
    }

    .catalog-grid {
      grid-template-columns: 1fr;
    }

    .catalog-result-line {
      align-items: flex-start;
      flex-direction: column;
      gap: 5px;
    }
  }

  /* Culinary editorial system */
  :root {
    --ink: #1f2925;
    --muted: #65706a;
    --paper: #f3efe5;
    --card: #fffdf7;
    --olive: #3d6652;
    --olive-dark: #294838;
    --tomato: #d98a3b;
    --line: #dcd8ca;
    --saffron: #f1c873;
    --shadow: 0 24px 60px rgba(37, 49, 42, 0.1);
  }

  body {
    background:
      linear-gradient(90deg, rgba(61, 102, 82, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
      var(--paper);
    font-size: 15px;
  }

  .page-shell {
    width: min(1280px, calc(100% - 72px));
  }

  .site-header {
    min-height: 104px;
    border-bottom: 0;
    position: relative;
  }

  .site-header::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--ink);
    opacity: 0.18;
    content: "";
  }

  .brand {
    gap: 12px;
    font-family: "DM Sans", sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ink);
    box-shadow: 5px 5px 0 var(--saffron);
  }

  .primary-nav {
    gap: 2px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .primary-nav-link {
    min-height: 42px;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .primary-nav-link:hover {
    background: transparent;
    color: var(--ink);
    border-bottom-color: var(--tomato);
  }

  .primary-nav-link.is-active {
    background: transparent;
    box-shadow: none;
    color: var(--ink);
    border-bottom-color: var(--tomato);
  }

  h1,
  h2 {
    font-family: Fraunces, Georgia, serif;
    font-weight: 600;
  }

  h1 {
    max-width: 800px;
    font-size: clamp(52px, 7.5vw, 106px);
    letter-spacing: -0.065em;
    line-height: 0.98;
  }

  h1 span {
    color: var(--olive);
  }

  .eyebrow {
    gap: 12px;
    color: var(--tomato);
    letter-spacing: 0.16em;
  }

  .eyebrow::before {
    width: 36px;
    height: 2px;
    background: var(--tomato);
  }

  .hero {
    min-height: 700px;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 72px;
    padding-block: 86px 104px;
  }

  .hero-copy,
  .section-copy {
    color: var(--muted);
    line-height: 1.85;
  }

  .hero-copy {
    max-width: 520px;
    font-size: 18px;
  }

  .button {
    min-height: 56px;
    border: 1px solid var(--ink);
    border-radius: 2px;
    background: var(--ink);
    box-shadow: 5px 5px 0 var(--saffron);
    letter-spacing: 0.01em;
  }

  .button:hover {
    transform: translate(-2px, -2px);
    background: var(--olive-dark);
  }

  .text-link {
    color: var(--olive);
    border-bottom: 1px solid currentColor;
    padding-bottom: 3px;
  }

  .hero-art {
    min-height: 500px;
  }

  .art-wash {
    width: min(100%, 500px);
    background:
      radial-gradient(circle at 54% 46%, #edc76e 0 39%, transparent 39.5%),
      radial-gradient(circle at 50% 50%, #d9e0ca 0 61%, transparent 61.5%);
    opacity: 0.8;
  }

  .plate {
    border-color: var(--ink);
    border-width: 1px;
    box-shadow: 14px 18px 0 rgba(61, 102, 82, 0.14), inset 0 0 0 13px #f4ead4;
  }

  .floating-card {
    right: -14px;
    bottom: 44px;
    border-radius: 2px;
    border-color: var(--ink);
    box-shadow: 7px 7px 0 var(--tomato);
  }

  .coming-soon {
    gap: 72px;
    padding: 42px 0 58px;
    border-top: 2px solid var(--ink);
  }

  .coming-soon h2 {
    font-size: clamp(27px, 3vw, 42px);
    line-height: 1.08;
  }

  .section-page {
    padding-block: 96px 112px;
  }

  .section-panel,
  .profile-auth-card,
  .web-profile-card {
    border-radius: 2px;
    border-color: var(--ink);
    box-shadow: var(--shadow);
  }

  .section-panel {
    border-left: 8px solid var(--tomato);
  }

  .section-panel-icon,
  .profile-auth-mark,
  .web-profile-placeholder-icon {
    border-radius: 50%;
    background: var(--saffron);
    color: var(--ink);
  }

  .site-footer {
    border-top: 2px solid var(--ink);
    min-height: 92px;
  }

  .profile-login-layout {
    gap: clamp(52px, 10vw, 150px);
  }

  .profile-auth-card {
    box-shadow: 10px 10px 0 var(--saffron);
  }

  .profile-login-form input,
  .admin-field input,
  .admin-field textarea,
  .admin-field select {
    border-radius: 2px;
    border-color: var(--line);
  }

  @media (max-width: 800px) {
    .page-shell {
      width: min(100% - 36px, 620px);
    }

    .site-header {
      min-height: 86px;
    }

    .primary-nav-link {
      padding-inline: 9px;
      font-size: 10px;
    }

    .hero {
      padding-block: 64px 60px;
    }

    h1 {
      font-size: clamp(50px, 14vw, 78px);
    }
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 64px 44px;
  }

  .hero-content {
    text-align: center;
  }

  .eyebrow,
  .hero-actions {
    justify-content: center;
  }

  h1 {
    margin-inline: auto;
    font-size: clamp(48px, 10vw, 68px);
    letter-spacing: -3.5px;
  }

  .hero-copy {
    margin-inline: auto;
  }

  .hero-art {
    min-height: 360px;
    margin-inline: auto;
    width: min(100%, 440px);
  }

  .art-wash {
    width: min(100%, 350px);
  }

  .plate {
    width: min(70%, 270px);
  }

  .floating-card {
    right: 0;
    bottom: 16px;
  }

  .coming-soon {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-block: 27px 32px;
    text-align: center;
  }

  .coming-soon h2,
  .coming-soon p {
    margin-inline: auto;
  }

  .section-page {
    min-height: 0;
    padding-block: 65px 75px;
  }

  .profile-page {
    min-height: 0;
  }

  .profile-login-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .profile-login-copy {
    text-align: center;
  }

  .profile-login-copy .section-copy,
  .profile-login-note {
    margin-inline: auto;
  }

  .profile-login-note {
    text-align: left;
  }

  .profile-auth-card {
    width: min(100%, 500px);
    justify-self: center;
  }
}

@media (max-width: 480px) {
  .page-shell {
    width: calc(100% - 36px);
  }

  .site-header {
    min-height: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding-block: 15px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .primary-nav {
    width: 100%;
    justify-content: space-between;
  }

  .primary-nav-link {
    min-height: 39px;
    flex: 1;
    padding-inline: 8px;
    font-size: 12px;
  }

  .hero {
    padding-top: 51px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 14px;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    min-height: 310px;
  }

  .floating-card {
    right: -2px;
    padding: 11px 13px;
  }

  .spark-one {
    top: 28px;
    right: 22px;
  }

  .spark-two {
    bottom: 44px;
    left: 16px;
  }

  .site-footer {
    min-height: 82px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
  }

  .section-page {
    padding-block: 52px 62px;
  }

  .section-page h1 {
    font-size: 44px;
    letter-spacing: -3px;
  }

  .section-copy {
    font-size: 15px;
  }

  .section-panel {
    gap: 13px;
    margin-top: 30px;
    padding: 18px;
  }

  .section-panel-icon {
    width: 42px;
    height: 42px;
  }

  .profile-login-layout {
    gap: 29px;
  }

  .profile-login-copy h1 {
    font-size: 45px;
    letter-spacing: -3px;
  }

  .profile-auth-card {
    padding: 25px 21px;
  }

  .web-profile-heading {
    align-items: flex-start;
    gap: 13px;
  }

  .web-profile-avatar {
    width: 54px;
    height: 54px;
    border-radius: 17px;
    font-size: 21px;
  }

  .web-profile-identity h2 {
    font-size: 16px;
  }

  .web-profile-placeholder {
    gap: 11px;
    padding: 14px;
  }

  .profile-admin-entry {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.noscript-notice {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.recipe-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 42px;
}

.recipe-cover-image {
  width: 100%;
  max-height: 480px;
  border-radius: 24px;
  object-fit: cover;
}

.recipe-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.recipe-facts span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}

.recipe-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.recipe-tool-status {
  color: var(--muted);
  font-size: 12px;
}

.recipe-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.recipe-page .web-profile-card {
  margin-bottom: 20px;
}

.recipe-page li {
  margin-bottom: 10px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .recipe-hero,
  .recipe-content-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  body {
    background: #fff;
  }

  .site-header,
  .shopping-list-actions,
  .recipe-tools,
  .profile-form-message,
  form > button {
    display: none !important;
  }

  .page-shell {
    width: 100%;
  }

  .section-page {
    padding: 0;
  }

  .section-page h1 {
    margin-bottom: 8px;
    font-size: 30px;
    letter-spacing: 0;
  }

  .section-copy {
    margin-bottom: 18px;
  }

  .web-profile-card {
    border: 0;
    box-shadow: none;
  }

  fieldset {
    break-inside: avoid;
  }
}
