/* Heritage manufacturing / craft — shared foundation */
:root {
  --bg: #f5efe6;
  --surface: #fff9ef;
  --panel: #ffffff;
  --text: #261a13;
  --muted: #6f5b4b;
  --border: #d8c6ad;
  --primary: #7a3524;
  --accent: #b6813b;
  --accent-soft: #e7d4b3;
  --ink: #1f140f;
  --shadow: 0 18px 40px rgba(62, 34, 14, 0.08);
  --shadow-soft: 0 8px 24px rgba(62, 34, 14, 0.06);
  --ring: color-mix(in srgb, var(--primary) 42%, white);
  --success: #2f6d57;
  --warning: #96612d;
  --radius-xs: 0.5rem;
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.4rem;
  --radius-xl: 1.8rem;
  --content-max: 74rem;
  --text-max: 68ch;
  --gutter: clamp(1rem, 2vw, 1.5rem);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --font-display: "Space Grotesk", "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Noto Sans SC", system-ui, sans-serif;
  --font-serif: Georgia, "Source Serif 4", "Noto Serif SC", serif;
}

* , *::before, *::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(182, 129, 59, 0.15), transparent 24rem),
    radial-gradient(circle at top right, rgba(63, 93, 125, 0.12), transparent 22rem),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 88%, white) 100%);
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 0.42vw + 0.92rem, 1.06rem);
  line-height: 1.7;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--primary);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

::selection {
  background: color-mix(in srgb, var(--primary) 18%, white);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 999;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  left: 1rem;
}

.site-shell,
main,
section,
footer,
header {
  width: 100%;
}

.site-shell {
  position: relative;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 100% 5rem, 5rem 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 65%);
  opacity: 0.28;
  z-index: -1;
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--content-max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - (var(--gutter) * 2)), 60rem);
  margin-inline: auto;
}

.stack {
  display: grid;
  gap: var(--space-6);
}

.stack-tight {
  display: grid;
  gap: var(--space-4);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.grid {
  display: grid;
  gap: var(--space-5);
}

.grid-2 {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.columns {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.9fr);
  align-items: start;
}

.page {
  padding-bottom: var(--space-16);
}

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

.site-header__inner {
  width: min(calc(100% - (var(--gutter) * 2)), var(--content-max));
  margin-inline: auto;
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.65rem;
  min-width: 0;
  text-decoration: none;
}

.brand__mark {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 0.35rem rgba(122, 53, 36, 0.08);
  flex: none;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  font-size: clamp(1rem, 0.45vw + 0.9rem, 1.18rem);
  color: var(--ink);
  white-space: nowrap;
}

.brand__tagline {
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a,
.site-nav button,
.pill,
.chip,
.button,
.button-secondary {
  letter-spacing: 0;
}

.site-nav a,
.site-nav button {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font: inherit;
  line-height: 1.1;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav button:hover {
  background: color-mix(in srgb, var(--surface) 88%, white);
  border-color: var(--border);
  color: var(--primary);
}

.site-nav [aria-current="page"] {
  background: color-mix(in srgb, var(--primary) 10%, white);
  border-color: color-mix(in srgb, var(--primary) 26%, var(--border));
  color: var(--primary);
}

.header-utility {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.utility-note {
  color: var(--muted);
  font-size: 0.92rem;
}

main {
  padding-top: var(--space-8);
}

.section {
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
}

.section:first-of-type {
  padding-top: 0;
}

.section--soft {
  position: relative;
}

.section--soft::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  border-block: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
  z-index: -1;
}

.section-eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--primary);
}

.section-eyebrow::before,
.kicker::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: color-mix(in srgb, var(--primary) 55%, var(--border));
}

.section-title,
.hero h1,
.display-title,
h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1,
.hero h1,
.display-title {
  font-size: clamp(2.3rem, 4.7vw, 4.8rem);
  line-height: 1.06;
}

h2,
.section-title {
  font-size: clamp(1.55rem, 2vw, 2.5rem);
  line-height: 1.18;
}

h3 {
  font-size: clamp(1.08rem, 1.15vw, 1.28rem);
  line-height: 1.28;
}

p,
ul,
ol,
dl,
blockquote {
  margin: 0;
}

.text {
  max-width: var(--text-max);
  color: var(--muted);
}

.lead {
  font-size: clamp(1.04rem, 0.6vw + 0.95rem, 1.22rem);
  line-height: 1.8;
  color: var(--text);
  max-width: 46rem;
}

.hero {
  padding: clamp(1rem, 1.5vw, 1.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.hero__layout {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.85fr);
  align-items: center;
}

.hero__content {
  display: grid;
  gap: var(--space-5);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  color: var(--muted);
}

.hero__panel,
.panel,
.card,
.detail-card,
.note,
.callout,
.form-shell,
.table-shell,
.quote,
.stat,
.stat-card,
.figure-card,
.list-card,
.archive-card,
.resource-card,
.topic-card,
.summary-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero__panel {
  padding: clamp(1.1rem, 2vw, 1.5rem);
  display: grid;
  gap: var(--space-4);
}

.hero__panel .panel__figure,
.figure-card__figure,
.media-frame,
.media-slot {
  border-radius: calc(var(--radius-lg) - 0.35rem);
  overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 82%, white), color-mix(in srgb, var(--accent-soft) 30%, white));
  border: 1px solid color-mix(in srgb, var(--border) 70%, white);
}

.hero__panel .panel__figure {
  aspect-ratio: 4 / 3;
}

.hero__panel .panel__figure img,
.figure-card__figure img,
.media-frame img,
.media-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metric-row,
.stat-row,
.proof-row {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.stat,
.stat-card {
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.stat__label,
.stat-card__label,
.meta-label,
.card__meta,
.small-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.stat__value,
.stat-card__value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1vw + 1rem, 1.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

.stat__note,
.stat-card__note {
  color: var(--muted);
  font-size: 0.95rem;
}

.card,
.detail-card,
.note,
.callout,
.form-shell,
.table-shell,
.quote,
.figure-card,
.list-card,
.archive-card,
.resource-card,
.topic-card,
.summary-card {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.card,
.detail-card,
.resource-card,
.topic-card,
.archive-card,
.summary-card {
  display: grid;
  gap: var(--space-4);
}

.card__title,
.card h3,
.detail-card h3,
.resource-card h3,
.topic-card h3,
.archive-card h3 {
  font-size: clamp(1.02rem, 0.85vw + 0.92rem, 1.2rem);
}

.card__lead,
.card p,
.detail-card p,
.resource-card p,
.topic-card p,
.archive-card p,
.summary-card p {
  color: var(--muted);
}

.card__footer,
.card__actions,
.card-actions,
.button-row,
.form-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.button,
.button-secondary,
.tag,
.pill,
.chip,
input[type="submit"],
button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
}

.button,
input[type="submit"],
button.primary {
  color: white;
  background: linear-gradient(145deg, var(--primary), color-mix(in srgb, var(--primary) 72%, black));
  box-shadow: 0 10px 22px rgba(122, 53, 36, 0.2);
}

.button:hover,
input[type="submit"]:hover,
button.primary:hover {
  transform: translateY(-1px);
  color: white;
}

.button-secondary,
.tag,
.pill,
.chip {
  background: color-mix(in srgb, var(--surface) 82%, white);
  border-color: var(--border);
  color: var(--text);
}

.button-secondary:hover,
.tag:hover,
.pill:hover,
.chip:hover {
  border-color: color-mix(in srgb, var(--primary) 22%, var(--border));
  color: var(--primary);
}

.tag,
.pill,
.chip {
  min-height: 2.35rem;
  font-size: 0.92rem;
  padding-inline: 0.85rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--primary);
  font-weight: 700;
}

.link-arrow::after {
  content: "→";
  transition: transform 160ms ease;
}

.link-arrow:hover::after {
  transform: translateX(2px);
}

.list-grid,
.resource-grid,
.topic-grid,
.archive-grid,
.info-grid,
.features-grid,
.people-grid,
.support-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.list-grid > *,
.resource-grid > *,
.topic-grid > *,
.archive-grid > *,
.info-grid > *,
.features-grid > *,
.people-grid > *,
.support-grid > * {
  grid-column: 1 / -1;
}

.split-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.definition-list,
dl.definition-list {
  display: grid;
  gap: var(--space-4);
}

.definition-row,
.dt-row {
  display: grid;
  grid-template-columns: minmax(10rem, 0.5fr) minmax(0, 1fr);
  gap: var(--space-4);
  padding: 0.95rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 76%, white);
}

.definition-row:last-child,
.dt-row:last-child {
  border-bottom: 0;
}

.definition-row dt,
.dt-row dt {
  font-weight: 700;
  color: var(--ink);
}

.definition-row dd,
.dt-row dd {
  color: var(--muted);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.responsive-table,
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 42rem;
}

.responsive-table th,
.responsive-table td,
table th,
table td {
  padding: 0.95rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 75%, white);
}

.responsive-table th,
table th {
  background: color-mix(in srgb, var(--surface) 70%, white);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.responsive-table tr:last-child td,
table tr:last-child td {
  border-bottom: 0;
}

.form-shell {
  display: grid;
  gap: var(--space-5);
}

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

.field {
  display: grid;
  gap: 0.45rem;
}

label,
.field label {
  font-weight: 700;
  color: var(--ink);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  padding: 0.9rem 1rem;
  font: inherit;
  line-height: 1.55;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

textarea {
  min-height: 11rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 74%, white);
}

.help-text,
.field-help,
.form-note,
.note-text,
.caption,
.muted,
.meta,
.small,
.footer-meta p {
  color: var(--muted);
  font-size: 0.94rem;
}

.quote {
  position: relative;
  padding-left: clamp(1.05rem, 2vw, 1.45rem);
}

.quote::before {
  content: "“";
  position: absolute;
  top: 0.4rem;
  left: 0.45rem;
  color: color-mix(in srgb, var(--primary) 45%, var(--accent));
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  opacity: 0.55;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.timeline,
.step-list,
.issue-list,
.resource-list,
.support-list,
.link-list,
.footer-nav,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline {
  display: grid;
  gap: var(--space-4);
}

.timeline li,
.step-card,
.issue-card,
.resource-row,
.support-row,
.link-row {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1rem 1.1rem;
}

.timeline li {
  display: grid;
  gap: 0.5rem;
}

.timeline__time {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
}

.media-bleed {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.media-bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-band {
  margin-top: var(--space-12);
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
}

.site-footer {
  position: relative;
  margin-top: var(--space-12);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 76%, white) 0%, color-mix(in srgb, var(--bg) 92%, white) 100%);
  border-top: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
}

.site-footer__inner {
  width: min(calc(100% - (var(--gutter) * 2)), var(--content-max));
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3rem) 0;
  display: grid;
  gap: var(--space-6);
}

.footer-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.2rem, 2vw, 1.6rem);
}

.footer-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: var(--space-3);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.2rem;
}

.footer-brand__note {
  max-width: 30rem;
  color: var(--muted);
}

.footer-col {
  display: grid;
  gap: var(--space-3);
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
}

.footer-nav,
.footer-links,
.footer-meta,
.footer-actions {
  display: grid;
  gap: var(--space-2);
}

.footer-nav a,
.footer-links a,
.footer-meta a {
  width: fit-content;
}

.footer-links a,
.footer-nav a,
.footer-meta a {
  color: var(--text);
  text-decoration: none;
}

.footer-links a:hover,
.footer-nav a:hover,
.footer-meta a:hover {
  color: var(--primary);
}

.footer-support {
  display: grid;
  gap: var(--space-3);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: center;
  padding-top: var(--space-4);
  border-top: 1px solid color-mix(in srgb, var(--border) 74%, white);
}

.footer-bottom small {
  color: var(--muted);
}

.footer-actions .button,
.footer-actions .button-secondary {
  min-width: 9rem;
}

.prose {
  max-width: var(--text-max);
}

.prose > * + * {
  margin-top: var(--space-4);
}

.prose h2,
.prose h3,
.prose h4 {
  margin-top: var(--space-8);
}

.prose ul,
.prose ol {
  padding-inline-start: 1.25rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.anchor-list a {
  text-decoration: none;
}

.anchor-list a:hover {
  text-decoration: underline;
}

.masonry,
.auto-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

[data-state="active"] {
  color: var(--primary);
}

[hidden] {
  display: none !important;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: var(--space-8) 0;
}

@media (max-width: 74rem) {
  .footer-grid,
  .hero__layout,
  .columns {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 56rem) {
  .site-header__inner {
    min-height: auto;
    padding-block: 0.9rem;
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    justify-content: center;
    text-align: center;
  }

  .site-nav,
  .header-utility {
    justify-content: center;
  }

  .grid-2,
  .grid-3,
  .split-grid,
  .form-grid,
  .definition-row,
  .dt-row,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .definition-row,
  .dt-row {
    gap: var(--space-2);
  }

  .hero {
    padding-top: 0.5rem;
  }

  .section {
    padding: clamp(2.25rem, 7vw, 3.5rem) 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 40rem) {
  body {
    font-size: 0.98rem;
  }

  .site-nav a,
  .site-nav button {
    padding-inline: 0.85rem;
  }

  .hero h1,
  h1,
  .display-title {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  h2,
  .section-title {
    font-size: clamp(1.35rem, 7vw, 1.95rem);
  }

  .card,
  .detail-card,
  .resource-card,
  .topic-card,
  .archive-card,
  .summary-card,
  .footer-panel,
  .hero__panel,
  .form-shell,
  .table-shell {
    border-radius: var(--radius-md);
  }

  .button,
  .button-secondary,
  .tag,
  .pill,
  .chip,
  input[type="submit"] {
    width: 100%;
  }

  .card__footer,
  .card__actions,
  .button-row,
  .form-actions,
  .footer-actions {
    width: 100%;
  }

  .card__footer > *,
  .card__actions > *,
  .button-row > *,
  .form-actions > *,
  .footer-actions > * {
    flex: 1 1 100%;
  }
}

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

/* runtime-stock-media-module */
.shpitto-stock-media {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.shpitto-stock-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.75rem;
}
.shpitto-stock-media figcaption {
  margin: 0;
  color: var(--muted, #52606d);
  font-size: 0.95rem;
  line-height: 1.55;
}
.shpitto-stock-media--enterprise-proof {
  max-width: 42rem;
}
.proof-strip .shpitto-stock-media--enterprise-proof {
  margin-inline: auto;
}
.proof-strip .shpitto-stock-media--enterprise-proof img {
  aspect-ratio: 5 / 3;
  border-radius: 0.5rem;
  border: 1px solid var(--line, #e0e0e0);
}
.proof-strip .shpitto-stock-media--enterprise-proof figcaption {
  max-width: 52ch;
}
.enterprise-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(28rem, 68vh, 44rem);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.enterprise-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 27, 54, 0.78) 0%, rgba(7, 27, 54, 0.52) 42%, rgba(7, 27, 54, 0.18) 100%);
  z-index: 1;
}
.enterprise-hero .shell-inner,
.enterprise-hero .masthead-stack,
.enterprise-hero .enterprise-hero__content,
.enterprise-hero .enterprise-proof-row {
  position: relative;
  z-index: 2;
}
.enterprise-hero .enterprise-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  max-width: none;
}
.enterprise-hero .enterprise-hero__media .media-cover,
.enterprise-hero .enterprise-hero__media picture {
  width: 100%;
  height: 100%;
  display: block;
}
.enterprise-hero .enterprise-hero__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
  border: 0;
}
.enterprise-hero .enterprise-hero__content {
  max-width: 44rem;
  color: white;
}
.enterprise-hero .enterprise-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.enterprise-hero .enterprise-proof-row > * {
  backdrop-filter: blur(8px);
  background: rgba(7, 27, 54, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
}
.masthead--single-column .masthead-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
}
.masthead--single-column .panel,
.masthead--single-column .proof-panel {
  max-width: 44rem;
}
.detail-layout .shpitto-stock-media,
.detail-grid .shpitto-stock-media {
  max-width: 32rem;
}
@media (max-width: 48rem) {
  .shpitto-stock-media--enterprise-proof,
  .detail-layout .shpitto-stock-media,
  .detail-grid .shpitto-stock-media {
    max-width: 100%;
  }
}
.page-title--measure {
  max-width: 20ch;
}
.proof-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.proof-figure {
  margin: 0;
  overflow: hidden;
}
.proof-figure__image {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.proof-figure__caption {
  padding: var(--space-4, 1rem);
  color: var(--text-subtle, #525252);
  font-size: 0.95rem;
}
.section-row--capability {
  align-items: end;
  margin-bottom: 1rem;
}
.section-row--cta {
  flex-wrap: wrap;
  align-items: center;
}
.stack--measure {
  max-width: 47.5rem;
}
.cta-surface {
  background: var(--surface);
}
.stack--section-intro {
  margin-bottom: var(--space-5);
}