@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

:root {
  --bg: #121d1a;
  --bg-strong: #1a2724;
  --panel: rgba(255, 250, 244, 0.06);
  --panel-2: rgba(255, 250, 244, 0.08);
  --paper: #f5f0e6;
  --paper-strong: #efe5d8;
  --ink: #192521;
  --ink-soft: #d9d1c6;
  --muted: rgba(245, 240, 230, 0.72);
  --line: rgba(245, 240, 230, 0.13);
  --tomato: #e47a56;
  --tomato-deep: #d96740;
  --sage: #7b8977;
  --gold: #d5ab6c;
  --mono: "DM Mono", monospace;
  --display: "Playfair Display", Georgia, serif;
  --script: "Permanent Marker", "Segoe Print", cursive;
  --shadow: 0 20px 48px rgba(8, 12, 10, 0.34);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;

  --legacy-cream: #f5f0e6;
  --legacy-coral: #e47a56;
  --legacy-ink: #192521;
}

:root[data-theme="light"] {
  --bg: #f5f0e6;
  --bg-strong: #e9ded0;
  --panel: rgba(25, 37, 33, 0.06);
  --panel-2: rgba(25, 37, 33, 0.1);
  --paper: #192521;
  --paper-strong: #101a18;
  --ink: #192521;
  --ink-soft: #4f5d56;
  --muted: rgba(25, 37, 33, 0.68);
  --line: rgba(25, 37, 33, 0.16);
  --shadow: 0 20px 48px rgba(25, 37, 33, 0.16);
}

:root[data-version="parchment"] {
  --bg: #f5f0e6;
  --bg-strong: #e7d9c8;
  --paper: #192521;
  --paper-strong: #101a18;
  --ink: #192521;
  --ink-soft: #4f5d56;
  --muted: rgba(25, 37, 33, 0.68);
  --line: rgba(25, 37, 33, 0.16);
  --tomato: #c85d3f;
  --tomato-deep: #a9452e;
  --gold: #ad7e3f;
}

:root[data-version="ember"] {
  --bg: #241513;
  --bg-strong: #351b17;
  --paper: #fff0df;
  --paper-strong: #ffe0c4;
  --ink: #241513;
  --ink-soft: #e0b9a8;
  --muted: rgba(255, 240, 223, 0.72);
  --line: rgba(255, 240, 223, 0.16);
  --tomato: #f09a68;
  --tomato-deep: #d56d48;
  --gold: #e0ad61;
}

:root[data-version="garden"] {
  --bg: #10251e;
  --bg-strong: #1b382b;
  --paper: #f1eedc;
  --paper-strong: #e3e3c5;
  --ink: #10251e;
  --ink-soft: #c4d0b4;
  --muted: rgba(241, 238, 220, 0.72);
  --line: rgba(241, 238, 220, 0.15);
  --tomato: #d89a55;
  --tomato-deep: #b87336;
  --sage: #9caf78;
  --gold: #e5bd69;
}

:root[data-version="midnight"] {
  --bg: #101b2e;
  --bg-strong: #172945;
  --paper: #edf2ff;
  --paper-strong: #dbe6ff;
  --ink: #101b2e;
  --ink-soft: #b8c7e4;
  --muted: rgba(237, 242, 255, 0.72);
  --line: rgba(237, 242, 255, 0.16);
  --tomato: #f28f73;
  --tomato-deep: #d9705b;
  --gold: #d7b879;
}

:root[data-version="mono"] {
  --bg: #111;
  --bg-strong: #252525;
  --paper: #f4f4f0;
  --paper-strong: #fff;
  --ink: #111;
  --ink-soft: #c4c4bd;
  --muted: rgba(244, 244, 240, 0.7);
  --line: rgba(244, 244, 240, 0.18);
  --tomato: #e8e8df;
  --tomato-deep: #cfcfc5;
  --gold: #bdbdb3;
}

:root[data-version="bears"] {
  --bg: #061b32;
  --bg-strong: #0e2d4d;
  --paper: #fff4df;
  --paper-strong: #ffffff;
  --ink: #061b32;
  --ink-soft: #b9c8d6;
  --muted: rgba(255, 244, 223, 0.72);
  --line: rgba(255, 244, 223, 0.17);
  --tomato: #d96b27;
  --tomato-deep: #b95018;
  --gold: #f28a3c;
}

:root[data-version="purple"] {
  --bg: #190d2c;
  --bg-strong: #321451;
  --paper: #fff4fb;
  --paper-strong: #ffffff;
  --ink: #190d2c;
  --ink-soft: #d8bfe4;
  --muted: rgba(255, 244, 251, 0.74);
  --line: rgba(255, 244, 251, 0.17);
  --tomato: #c997e8;
  --tomato-deep: #a86dca;
  --gold: #e5c879;
}

:root[data-version="chicago"] {
  --bg: #071f45;
  --bg-strong: #10366c;
  --paper: #f6f5ed;
  --paper-strong: #ffffff;
  --ink: #071f45;
  --ink-soft: #b9c9df;
  --muted: rgba(246, 245, 237, 0.74);
  --line: rgba(246, 245, 237, 0.17);
  --tomato: #d24748;
  --tomato-deep: #b32e34;
  --gold: #79a9d8;
}

:root[data-version="milwaukee"] {
  --bg: #f0eadb;
  --bg-strong: #d9e3e5;
  --paper: #123b57;
  --paper-strong: #092c43;
  --ink: #123b57;
  --ink-soft: #496575;
  --muted: rgba(18, 59, 87, 0.7);
  --line: rgba(18, 59, 87, 0.17);
  --tomato: #287ca6;
  --tomato-deep: #1a5d80;
  --gold: #d7aa57;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-strong) 100%);
  font-family: var(--mono);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  color: #ffad8d;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 700;
}

h1, h2, h3, h4 {
  margin: 0 0 16px;
  color: var(--paper);
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
}

p { margin: 0 0 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-family: var(--script);
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--paper);
}

.brand span { color: var(--legacy-coral); }

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--mono);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  font-family: var(--mono);
}

.main-nav a {
  position: relative;
  padding-bottom: 3px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--tomato);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta, .button.primary {
  background: var(--tomato);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(228, 122, 86, 0.25);
}

.button.secondary {
  background: transparent;
  border-color: rgba(245, 240, 230, 0.3);
  color: var(--paper);
}

.nav-cta:hover, .button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: var(--panel-2);
  transform: translateY(-2px);
}

.theme-toggle-icon {
  font-size: 1.15rem;
  line-height: 1;
}

:root[data-theme="light"] .theme-toggle-icon::before { content: "☾"; }
:root:not([data-theme="light"]) .theme-toggle-icon::before { content: "☼"; }

.hero {
  position: relative;
  padding: 70px 0 50px;
  background: radial-gradient(circle at top left, rgba(228, 122, 86, 0.18), transparent 28%);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08) brightness(0.52);
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 29, 26, 0.9) 0%, rgba(18, 29, 26, 0.42) 35%, rgba(18, 29, 26, 0.8) 100%);
  z-index: 1;
}

:root[data-theme="light"] .hero-video-overlay {
  background: linear-gradient(90deg, rgba(245, 240, 230, 0.78) 0%, rgba(245, 240, 230, 0.38) 35%, rgba(245, 240, 230, 0.68) 100%);
}

:root[data-theme="light"] .hero-video {
  filter: saturate(0.8) contrast(1.02) brightness(0.76);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
}

.hero-copy p {
  max-width: 620px;
  font-size: 1.05rem;
  color: rgba(245, 240, 230, 0.88);
  font-family: var(--display);
}

.hero-copy h1 {
  font-family: var(--script);
  letter-spacing: 0.01em;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
}

.hero-copy h1 em {
  color: var(--legacy-coral);
  font-style: normal;
}

.hero-copy .eyebrow {
  color: #ffb39a;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 560px;
}

.metric {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 244, 0.04);
}

.metric strong {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 6px;
  color: var(--paper);
}

.metric span {
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.72);
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  padding: 18px;
  background: linear-gradient(135deg, rgba(12,18,16,0.86), rgba(28,39,33,0.82));
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 660 / 498;
  object-fit: cover;
  border-radius: 20px;
}

.hero-badge {
  position: absolute;
  right: 32px;
  bottom: 30px;
  background: rgba(25, 37, 33, 0.84);
  border-left: 3px solid var(--legacy-coral);
  border-radius: 0;
  padding: 14px 16px;
  color: var(--paper);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  max-width: 220px;
}

.hero-badge strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.3rem;
  font-family: var(--display);
}

.hero-badge span {
  display: block;
  color: rgba(245, 240, 230, 0.72);
  font-size: 0.68rem;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 64px 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-header p {
  max-width: 620px;
  color: var(--muted);
}

.featured-grid,
.card-grid,
.service-grid,
.product-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.resource-card,
.service-card,
.product-card,
.blog-card,
.contact-panel,
.recipe-card {
  background: rgba(255, 250, 244, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: none;
}

.feature-card,
.service-card,
.product-card,
.recipe-card {
  padding: 24px;
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--tomato), #efb16b);
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
}

.story-image {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 250, 244, 0.05);
  box-shadow: var(--shadow);
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.story-copy {
  padding: 18px 0;
}

.story-copy ul {
  padding-left: 18px;
  margin: 24px 0 0;
  color: rgba(245, 240, 230, 0.88);
}

.story-copy li + li { margin-top: 12px; }

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.resource-card .card-image {
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.resource-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-card .card-body {
  padding: 0 20px 20px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--paper);
  background: rgba(228, 122, 86, 0.12);
  padding: 0.38rem 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.resource-card h3,
.recipe-card h3,
.product-card h3,
.service-card h3,
.blog-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-family: var(--mono);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--paper);
  font-family: var(--mono);
}

.link-arrow span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  background: var(--bg-strong);
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inline-list li {
  color: var(--ink-soft);
  background: rgba(208, 82, 57, 0.08);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.callout {
  background: linear-gradient(135deg, rgba(15,19,18,0.98), rgba(38,49,45,0.96));
  color: var(--paper);
  border-radius: 30px;
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
}

.callout h2,
.callout p { color: inherit; }

.callout .callout-eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.callout-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer {
  margin-top: 36px;
  padding: 18px 0 52px;
  border-top: 1px solid var(--line);
  background: rgba(7, 13, 12, 0.18);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.page-banner {
  padding: 72px 0 26px;
}

.page-banner .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: end;
}

.page-banner .panel {
  background: linear-gradient(135deg, rgba(245,240,230,0.06), rgba(228,122,86,0.08));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
}

.page-banner .panel img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 18px;
}

.page-title small {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--mono);
}

.two-col,
.about-grid,
.contact-grid,
.service-grid,
.product-grid,
.recipe-grid,
.blog-grid {
  display: grid;
  gap: 24px;
}

.about-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about-photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  min-height: 500px;
  object-fit: cover;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.value-pill {
  background: rgba(255, 250, 244, 0.04);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.recipe-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.recipe-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.recipe-card .image-wrap {
  overflow: hidden;
  border-radius: 20px;
  height: 220px;
}

.recipe-card .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-grid,
.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card, .product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  margin: 8px 0 4px;
  font-family: var(--display);
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-panel {
  padding: 28px;
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(228, 122, 86, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--tomato);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  padding: 0.9rem 1rem;
  color: var(--paper);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.form-actions {
  margin-top: 22px;
}

.form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0f1715, #1a221f 45%, #c86f47);
  z-index: 999;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: grid;
  place-items: center;
  gap: 16px;
  color: white;
  text-align: center;
}

.loader-inner img {
  width: min(320px, 72vw);
  height: min(420px, 72vh);
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.28);
}

.loader-bar {
  width: min(320px, 72vw);
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}

.loader-bar span {
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, #fef2de, var(--gold), #f3b188);
  animation: load 1.5s ease-in-out infinite;
}

@keyframes load {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(25, 37, 33, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow);
    color: #f5f0e6;
  }

  :root[data-theme="light"] .main-nav {
    background: rgba(245, 240, 230, 0.98);
    color: #192521;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle { display: inline-flex; }

  .hero-grid,
  .story-layout,
  .about-grid,
  .page-banner .container,
  .callout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .featured-grid,
  .recipe-grid,
  .service-grid,
  .product-grid,
  .value-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner { min-height: 72px; }
  .brand-sub { display: none; }
  .nav-cta { display: none; }
  .hero { padding-top: 40px; }
  .hero-metrics,
  .featured-grid,
  .recipe-grid,
  .service-grid,
  .product-grid,
  .value-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section { padding: 52px 0; }
  .section-header { align-items: flex-start; flex-direction: column; }

  .hero-card img { height: auto; }
  .callout-actions { justify-content: flex-start; }
}

/* The interior pages continue the cinematic under-construction composition. */
body:has(.site-background) {
  position: relative;
  background: var(--legacy-ink);
}

.site-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04) brightness(0.48);
}

body:has(.site-background)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(25, 37, 33, 0.72), rgba(25, 37, 33, 0.9)), rgba(25, 37, 33, 0.3);
}

:root[data-theme="light"] body:has(.site-background)::before {
  background: linear-gradient(180deg, rgba(245, 240, 230, 0.62), rgba(245, 240, 230, 0.78)), rgba(245, 240, 230, 0.2);
}

body:has(.site-background) .site-header {
  background: rgba(25, 37, 33, 0.3);
  border-bottom-color: rgba(245, 240, 230, 0.2);
  backdrop-filter: blur(4px);
}

:root[data-theme="light"] body:has(.site-background) .site-header {
  background: rgba(245, 240, 230, 0.42);
}

:root[data-theme="light"] body:has(.site-background) .section {
  background: rgba(245, 240, 230, 0.64);
}

:root[data-theme="light"] body:has(.site-background) .feature-card,
:root[data-theme="light"] body:has(.site-background) .resource-card,
:root[data-theme="light"] body:has(.site-background) .service-card,
:root[data-theme="light"] body:has(.site-background) .product-card,
:root[data-theme="light"] body:has(.site-background) .blog-card,
:root[data-theme="light"] body:has(.site-background) .contact-panel,
:root[data-theme="light"] body:has(.site-background) .recipe-card,
:root[data-theme="light"] body:has(.site-background) .value-pill {
  background: rgba(245, 240, 230, 0.72);
  border-color: rgba(25, 37, 33, 0.16);
}

body:has(.site-background) main {
  position: relative;
}

body:has(.site-background) .page-banner {
  min-height: 62vh;
  padding: clamp(72px, 12vh, 140px) 0 70px;
  display: flex;
  align-items: center;
}

body:has(.site-background) .page-banner .container {
  align-items: center;
}

body:has(.site-background) .page-banner h1 {
  max-width: 760px;
  font-family: var(--script);
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-shadow: 2px 2px 9px rgba(0, 0, 0, 0.3);
}

body:has(.site-background) .page-banner h1 em {
  color: var(--legacy-coral);
  font-style: normal;
}

body:has(.site-background) .page-banner > .container > div:first-child > p {
  max-width: 430px;
  font-family: var(--display);
  font-size: 1.1rem;
  color: rgba(245, 240, 230, 0.88);
}

body:has(.site-background) .page-banner .panel {
  background: rgba(25, 37, 33, 0.2);
  border: 1px solid rgba(245, 240, 230, 0.24);
  border-radius: 3px;
  padding: 10px;
  transform: rotate(1.5deg);
}

body:has(.site-background) .page-banner .panel img {
  min-height: 360px;
  border-radius: 0;
  filter: saturate(0.82);
}

body:has(.site-background) .section {
  background: rgba(18, 29, 26, 0.6);
  border-top: 1px solid rgba(245, 240, 230, 0.12);
}

body:has(.site-background) .feature-card,
body:has(.site-background) .resource-card,
body:has(.site-background) .service-card,
body:has(.site-background) .product-card,
body:has(.site-background) .blog-card,
body:has(.site-background) .contact-panel,
body:has(.site-background) .recipe-card,
body:has(.site-background) .value-pill {
  background: rgba(245, 240, 230, 0.045);
  border-color: rgba(245, 240, 230, 0.2);
  border-radius: 3px;
  box-shadow: none;
}

body:has(.site-background) .recipe-card .image-wrap,
body:has(.site-background) .about-photo,
body:has(.site-background) .story-image {
  border-radius: 0;
}

body:has(.site-background) .site-footer {
  background: rgba(18, 29, 26, 0.78);
}

@media (max-width: 900px) {
  body:has(.site-background) .main-nav {
    background: rgba(25, 37, 33, 0.96);
  }

  :root[data-theme="light"] body:has(.site-background) .main-nav {
    background: rgba(245, 240, 230, 0.96);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.version-intro {
  padding: clamp(70px, 10vw, 130px) 0 50px;
}

.version-intro h1 {
  max-width: 760px;
  font-family: var(--script);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.version-intro > p:last-child {
  max-width: 520px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.1rem;
}

.version-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 80px;
}

.version-option {
  position: relative;
  min-height: 280px;
  padding: 24px;
  overflow: hidden;
  color: #f5f0e6;
  background: #192521;
  border: 1px solid rgba(245, 240, 230, 0.2);
  border-radius: 3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.version-option:hover,
.version-option:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.version-option h2 {
  position: relative;
  margin-top: 74px;
  color: inherit;
  font-family: var(--script);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.version-option p {
  position: relative;
  max-width: 270px;
  color: rgba(245, 240, 230, 0.76);
}

.version-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(245, 240, 230, 0.64);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.version-swatch {
  position: absolute;
  top: -35px;
  left: -25px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--tomato);
  box-shadow: 90px 30px 0 rgba(245, 240, 230, 0.12);
}

.version-action {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.version-option-parchment { background: #77614c; }
.version-option-ember { background: #5a241c; }
.version-option-garden { background: #27523c; }
.version-option-midnight { background: #243b65; }
.version-option-mono { background: #30302e; }
.version-option-bears { background: #0e2d4d; }
.version-option-purple { background: #321451; }
.version-option-chicago { background: #10366c; }
.version-option-milwaukee { background: #d9e3e5; color: #123b57; }

.version-option-milwaukee p,
.version-option-milwaukee .version-number { color: rgba(18, 59, 87, 0.7); }

@media (max-width: 760px) {
  .version-grid { grid-template-columns: 1fr; }
  .version-option { min-height: 230px; }
}
