@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Source+Serif+4:wght@500;600&display=swap");

:root {
  --color-navy: #292929;
  --color-navy-deep: #17212b;
  --color-graphite: #454545;
  --color-gold: #B77A16;
  --color-gold-dark: #8F5D0E;
  --color-ink: #272727;
  --color-muted: #505050;
  --color-line: #ded9cf;
  --color-warm: #f7f4ed;
  --color-stone: #efede7;
  --color-white: #FFFFFF;
  --content-width: 1240px;
  --text-width: 760px;
  --section-space: clamp(3rem, 5vw, 4.75rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(183, 122, 22, 0.55);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  color: var(--color-white);
  background: var(--color-navy-deep);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(calc(100% - 3rem), var(--content-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(18, 36, 61, 0.12);
  background: rgba(250, 249, 246, 0.97);
}

.header-inner {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-link {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand-logo {
  width: 230px;
  height: auto;
}

.brand-descriptor {
  margin-top: 1px;
  color: #454545;
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  color: var(--color-navy);
  background: transparent;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1.6rem;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  content: "";
  transition: transform 160ms ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before {
  position: absolute;
  top: -0.5rem;
}

.nav-toggle-lines::after {
  position: absolute;
  top: 0.5rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.3vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  color: var(--color-graphite);
  font-size: 0.91rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  left: 0;
  height: 2px;
  background: #B77A16;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  padding-block: clamp(3.5rem, 6.5vw, 5.25rem);
  color: var(--color-ink);
  background: linear-gradient(105deg, #faf8f3 0%, #f5f0e5 100%);
  border-bottom: 1px solid var(--color-line);
}

.hero-content {
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: #B77A16;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.8rem, 5.8vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero-summary {
  max-width: 750px;
  margin: 1.35rem 0 0;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 500;
  line-height: 1.42;
}

.page-hero {
  padding-block: clamp(3.25rem, 6vw, 5rem);
  color: var(--color-ink);
  background: linear-gradient(110deg, #faf8f3 0%, #f5f1e8 100%);
  border-bottom: 1px solid var(--color-line);
}

.page-hero-inner {
  max-width: 920px;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.65rem, 5vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.page-hero p:not(.eyebrow) {
  max-width: 740px;
  margin: 1.1rem 0 0;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.42;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.button-link {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--color-gold);
  color: var(--color-white);
  background: var(--color-gold-dark);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.button-link:hover {
  color: var(--color-white);
  background: var(--color-gold-dark);
}

.button-link.secondary {
  color: var(--color-navy);
  background: transparent;
}

.button-link.secondary:hover {
  color: var(--color-white);
  background: var(--color-gold);
}

.section {
  padding-block: var(--section-space);
}

.compact-section {
  padding-block: clamp(2.75rem, 4.5vw, 4rem);
}

.section-warm {
  background: var(--color-warm);
}

.section-navy {
  color: var(--color-ink);
  background: var(--color-stone);
}

.section-intro {
  max-width: var(--text-width);
  margin-bottom: clamp(1.75rem, 3vw, 2.6rem);
}

.section-intro h2,
.content-copy h2,
.cta-copy h2 {
  margin: 0;
  color: var(--color-navy);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.section-navy h2,
.section-navy h3 {
  color: var(--color-navy);
}

.section-intro > p:not(.eyebrow),
.content-copy > p:not(.eyebrow),
.cta-copy > p:not(.eyebrow) {
  margin: 0.9rem 0 0;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.section-navy .section-intro > p:not(.eyebrow),
.section-navy .content-copy > p {
  color: var(--color-muted);
}

.capability-list {
  display: block;
  max-width: 940px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-line);
  list-style: none;
}

.capability-list li {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--color-line);
}

.capability-list li + li {
  padding-left: 0;
  border-left: 0;
}

.capability-list h3 {
  margin: 0;
  color: var(--color-navy);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
}

.capability-list p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
  color: #B77A16;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35rem;
}

.section-navy .text-link {
  color: #B77A16;
}

.text-link:hover,
.text-link:focus-visible {
  color: #8F5D0E;
  text-decoration-color: currentColor;
}

.product-layout,
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: start;
  gap: clamp(2.25rem, 6vw, 5rem);
}

.product-statement {
  margin: 0;
  color: var(--color-gold);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
}

.product-title {
  margin: 1rem 0 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.product-label {
  margin: 0.65rem 0 0;
  color: var(--color-gold);
  font-size: 1.05rem;
  font-weight: 600;
}

.beejarc-beej {
  color: #B77A16;
}

.beejarc-a {
  display: inline-block;
  width: 0.89em;
  height: 0.88em;
  overflow: hidden;
  background-image: url("../images/beejaum-logo-new.png");
  background-repeat: no-repeat;
  background-position: -2.91em -0.22em;
  background-size: 5.68em 1.32em;
  vertical-align: -0.04em;
}

.beejarc-rc {
  color: #272727;
}

.product-detail p {
  margin: 0;
  color: var(--color-muted);
}

.product-detail p + p {
  margin-top: 1.25rem;
}

.check-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.1rem 0 1.35rem;
  padding: 0;
  color: var(--color-graphite);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--color-gold);
  content: "✓";
}

.two-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
}

.solutions-spread {
  padding-block: clamp(2.4rem, 4vw, 3.5rem);
}

.solutions-spread-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(260px, 0.9fr);
  align-items: start;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.solutions-intro {
  max-width: 720px;
  margin-bottom: 1.35rem;
}

.solutions-intro h2,
.solutions-how h2 {
  margin: 0;
  color: var(--color-navy);
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.solutions-intro h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.solutions-intro > p:not(.eyebrow),
.solutions-how > p:not(.eyebrow) {
  margin: 0.75rem 0 0;
  color: var(--color-muted);
}

.solutions-capabilities li {
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  padding: 0.65rem 0;
}

.solutions-capabilities h3 {
  font-size: 0.98rem;
}

.solutions-capabilities p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.solutions-how {
  margin-top: 0.1rem;
  padding: 1.35rem 0 0 1.5rem;
  border-top: 2px solid var(--color-gold);
  border-left: 1px solid var(--color-line);
}

.solutions-how h2 {
  max-width: 330px;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
}

.solutions-how > p:not(.eyebrow) {
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (min-width: 961px) {
  .solutions-page .header-inner {
    min-height: clamp(4rem, 7.5vh, 4.65rem);
  }

  .solutions-page .brand-logo {
    width: clamp(195px, 15vw, 220px);
  }

  .solutions-page .page-hero {
    padding-block: clamp(1.15rem, 2.6vh, 1.6rem);
  }

  .solutions-page .page-hero h1 {
    font-size: clamp(2.35rem, 3.15vw, 3.55rem);
  }

  .solutions-page .page-hero p:not(.eyebrow) {
    margin-top: 0.55rem;
    font-size: clamp(0.94rem, 1.05vw, 1.08rem);
    line-height: 1.55;
  }

  .solutions-page .eyebrow {
    margin-bottom: 0.5rem;
    font-size: clamp(0.68rem, 0.75vw, 0.78rem);
  }

  .solutions-page .solutions-spread {
    padding-block: clamp(0.8rem, 1.5vh, 1.1rem);
  }

  .solutions-page .solutions-spread-grid {
    grid-template-columns: minmax(0, 1.85fr) minmax(280px, 0.95fr);
    gap: clamp(2.25rem, 4vw, 4.5rem);
  }

  .solutions-page .solutions-intro {
    margin-bottom: 0.65rem;
  }

  .solutions-page .solutions-intro h2 {
    font-size: clamp(1.65rem, 2.1vw, 2.3rem);
  }

  .solutions-page .solutions-intro > p:not(.eyebrow),
  .solutions-page .solutions-how > p:not(.eyebrow) {
    margin-top: 0.45rem;
    font-size: clamp(0.88rem, 0.92vw, 0.98rem);
    line-height: 1.5;
  }

  .solutions-page .solutions-capabilities li {
    padding: clamp(0.35rem, 0.75vh, 0.5rem) 0;
  }

  .solutions-page .solutions-capabilities h3 {
    font-size: clamp(0.88rem, 0.92vw, 0.98rem);
  }

  .solutions-page .solutions-capabilities p {
    font-size: clamp(0.82rem, 0.86vw, 0.92rem);
    line-height: 1.42;
  }

  .solutions-page .solutions-how {
    padding: 0.8rem 0 0 1.25rem;
  }

  .solutions-page .solutions-how h2 {
    font-size: clamp(1.55rem, 1.9vw, 2.05rem);
  }

  .solutions-page .cta-band {
    padding-block: clamp(0.95rem, 2.1vh, 1.3rem);
  }

  .solutions-page .cta-copy h2 {
    font-size: clamp(1.55rem, 2vw, 2.15rem);
  }

  .solutions-page .cta-copy > p {
    margin-top: 0.35rem;
    font-size: clamp(0.88rem, 0.92vw, 0.98rem);
  }

  .solutions-page .button-link {
    min-height: 2.65rem;
    padding: 0.5rem 1.1rem;
  }

  .solutions-page .site-footer {
    padding-block: clamp(0.75rem, 1.6vh, 1rem);
  }
}

.editorial-flow {
  background: var(--color-white);
}

.editorial-entry {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  padding-block: clamp(2.35rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--color-line);
}

.editorial-entry:last-child {
  border-bottom: 0;
}

.editorial-entry h2 {
  margin: 0;
  color: var(--color-navy);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.editorial-copy {
  max-width: 680px;
}

.editorial-copy p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.06rem;
}

.editorial-copy p + p {
  margin-top: 0.9rem;
}

.plain-card h2 {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.plain-card > p:not(.eyebrow) {
  margin: 1.25rem 0 0;
  color: var(--color-muted);
}

.product-note {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.6rem;
  margin: 2rem 0 0;
  padding: 0;
  color: var(--color-navy);
  font-weight: 600;
  list-style: none;
}

.industry-list li:not(:last-child)::after {
  margin-left: 1.6rem;
  color: var(--color-gold);
  content: "/";
}

.cta-band {
  padding-block: clamp(2.4rem, 4vw, 3.5rem);
  border-top: 1px solid var(--color-line);
  background: var(--color-warm);
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-copy {
  max-width: 760px;
}

.cta-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.site-footer {
  padding-block: 1.35rem;
  color: var(--color-muted);
  background: var(--color-stone);
  border-top: 1px solid var(--color-line);
}

.footer-row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
}

.footer-company {
  color: var(--color-ink);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

.footer-company .brand-beej {
  color: #B77A16;
}

.footer-company .brand-aum,
.footer-company .brand-company {
  color: var(--color-ink);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: #454545;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
}

.footer-nav li:not(:last-child)::after {
  margin-inline: 0.55rem;
  color: var(--color-gold);
  content: "/";
}

.footer-nav a:hover {
  color: #B77A16;
}

.footer-nav a:focus-visible {
  color: #B77A16;
}

.footer-meta {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: right;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: 5.25rem;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 2rem 1.5rem;
    background: var(--color-white);
  }

  .primary-nav[data-open="true"] {
    display: block;
  }

  .primary-nav ul {
    width: min(100%, var(--content-width));
    margin-inline: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .primary-nav li {
    border-bottom: 1px solid var(--color-line);
  }

  .primary-nav a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
  }

  .primary-nav a::after {
    display: none;
  }

  .capability-list li,
  .capability-list li + li {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 0.95rem 0;
  }

  .product-layout,
  .split-layout,
  .two-card-grid,
  .editorial-entry,
  .solutions-spread-grid {
    grid-template-columns: 1fr;
  }

  .solutions-how {
    margin-top: 0;
    padding: 1.25rem 0 0;
    border-left: 0;
  }

  .footer-row {
    grid-template-columns: 1fr auto;
  }

  .footer-meta {
    grid-column: 1 / -1;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(calc(100% - 2rem), var(--content-width));
  }

  .header-inner {
    min-height: 4.75rem;
  }

  .brand-logo {
    width: 205px;
  }

  .primary-nav {
    top: 4.75rem;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.5rem);
  }

  .button-row,
  .button-link {
    width: 100%;
  }

  .capability-list {
    grid-template-columns: 1fr;
  }

  .capability-list li,
  .capability-list li + li,
  .capability-list li:nth-child(even) {
    padding: 1.5rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
    border-left: 0;
  }

  .industry-list {
    display: grid;
    gap: 0.4rem;
  }

  .industry-list li::after {
    display: none;
  }

  .cta-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-meta {
    grid-column: auto;
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Shared primary-page editorial sheet */
.sheet-grid,
.sheet-cards,
.contact-grid {
  display: grid;
  gap: 0;
  background: transparent;
  border: 0;
}

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

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

.sheet-card {
  padding: 1.15rem 1.25rem;
  background: var(--color-white);
}

.sheet-grid > .sheet-card:nth-child(4n + 1),
.sheet-cards > .sheet-card:nth-child(4n + 1),
.contact-grid > .sheet-card:nth-child(4n + 1) {
  background: #FFFFFF;
}

.sheet-grid > .sheet-card:nth-child(4n + 2),
.sheet-cards > .sheet-card:nth-child(4n + 2),
.contact-grid > .sheet-card:nth-child(4n + 2) {
  background: #F7F3EA;
}

.sheet-grid > .sheet-card:nth-child(4n + 3),
.sheet-cards > .sheet-card:nth-child(4n + 3),
.contact-grid > .sheet-card:nth-child(4n + 3) {
  background: #F1ECE2;
}

.sheet-grid > .sheet-card:nth-child(4n),
.sheet-cards > .sheet-card:nth-child(4n),
.contact-grid > .sheet-card:nth-child(4n) {
  background: #F7F3EA;
}

.sheet-card h2,
.sheet-card h3 {
  margin: 0;
  color: var(--color-ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.sheet-card h2 { font-size: clamp(1.45rem, 2vw, 1.9rem); }
.sheet-card h3 { font-size: 1.2rem; }
.sheet-card .product-title { margin-top: 0; font-size: clamp(2.25rem, 3.5vw, 3.4rem); }

.sheet-card p:not(.eyebrow),
.sheet-card li,
.contact-detail {
  color: var(--color-graphite);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.42;
}

.sheet-card p { margin: 0.5rem 0 0; }
.sheet-card .eyebrow { margin: 0 0 0.4rem; }
.sheet-card .text-link { margin-top: 0.65rem; }

.home-page .sheet-card a {
  color: #B77A16;
  font-weight: 600;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25rem;
}

.home-page .sheet-card a:hover,
.home-page .sheet-card a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: #8F5D0E;
  text-decoration-color: currentColor;
}

.home-page .card-link-group {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.65rem;
  color: #B77A16;
  white-space: nowrap;
}

.home-page .card-link-group .text-link {
  margin-top: 0;
}

.compact-list {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
}

.job-detail-page main {
  min-height: calc(100vh - 8rem);
}

.job-detail-section {
  padding-block: clamp(2.25rem, 5vw, 4.5rem);
  background: var(--color-white);
}

.job-detail-card {
  max-width: 900px;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--color-warm);
}

.job-detail-list {
  display: grid;
  gap: 1.25rem;
  margin: 0;
}

.job-detail-list div {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-line);
}

.job-detail-list dt {
  color: var(--color-gold-dark);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.job-detail-list dd {
  margin: 0.35rem 0 0;
  color: var(--color-graphite);
  line-height: 1.65;
}

.job-detail-actions {
  margin-top: 1.5rem;
}

.contact-grid {
  grid-template-columns: 0.85fr 1.15fr;
}

.contact-form-display {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.sheet-card a:not(.button-link),
.contact-detail a {
  color: #B77A16;
  text-decoration-color: currentColor;
  text-underline-offset: 0.22rem;
}

.sheet-card a:not(.button-link):hover,
.sheet-card a:not(.button-link):focus-visible,
.contact-detail a:hover,
.contact-detail a:focus-visible {
  color: #8F5D0E;
  text-decoration-color: currentColor;
}

.contact-form-display label { color: var(--color-graphite); font-size: 0.78rem; font-weight: 600; }
.contact-form-display .full { grid-column: 1 / -1; }
.contact-form-display input,
.contact-form-display textarea {
  width: 100%;
  margin-top: 0.2rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #c9c3b8;
  color: var(--color-ink);
  background: #fbfaf7;
  font: inherit;
}
.contact-form-display textarea { min-height: 4.6rem; resize: vertical; }
.form-note { color: var(--color-muted); font-size: 0.78rem; font-weight: 500; line-height: 1.35; }

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-response {
  margin: 0;
  color: var(--color-graphite);
  font-size: 0.82rem;
  font-weight: 600;
}

button.button-link {
  font-family: inherit;
  cursor: pointer;
}

button.button-link:disabled {
  cursor: wait;
}

@media (min-width: 961px) {
  .primary-page { font-size: 0.94rem; }
  .primary-page .header-inner { min-height: 64px; }
  .primary-page .brand-logo { width: 205px; }
  .primary-page .page-hero,
  .primary-page .hero { padding-block: 14px; }
  .primary-page .page-hero-inner,
  .primary-page .hero-content { max-width: 1240px; }
  .primary-page .page-hero h1,
  .primary-page .hero h1 { max-width: 920px; font-size: clamp(2.35rem, 3vw, 3.1rem); }
  .primary-page .page-hero p:not(.eyebrow),
  .primary-page .hero-summary { margin-top: 5px; font-size: 0.94rem; line-height: 1.42; }
  .primary-page .eyebrow { margin-bottom: 5px; }
  .sheet-section { padding-block: 10px; }
  .primary-page .cta-band { min-height: 76px; padding-block: 3px; display: flex; align-items: center; }
  .primary-page .cta-copy h2 { font-size: clamp(1.45rem, 2vw, 1.85rem); }
  .primary-page .cta-copy > p:not(.eyebrow) { margin-top: 3px; color: var(--color-graphite); font-size: 0.9rem; font-weight: 500; line-height: 1.4; }
  .primary-page .cta-band .eyebrow { margin-bottom: 2px; }
  .primary-page .button-link { min-height: 2.55rem; padding: 0.45rem 1rem; }
  .primary-page .site-footer,
  .primary-page .footer-row,
  .job-detail-page .site-footer,
  .job-detail-page .footer-row { min-height: 48px; }
  .primary-page .site-footer,
  .job-detail-page .site-footer { padding-block: 0; }
  .primary-page .footer-row,
  .job-detail-page .footer-row { grid-template-columns: minmax(205px, 1fr) auto minmax(315px, 1fr); gap: 18px; }
  .primary-page .footer-company,
  .primary-page .footer-nav,
  .primary-page .footer-meta,
  .job-detail-page .footer-company,
  .job-detail-page .footer-nav,
  .job-detail-page .footer-meta { white-space: nowrap; }
  .primary-page .footer-meta,
  .job-detail-page .footer-meta { display: block; color: var(--color-graphite); font-size: 0.72rem; font-weight: 500; line-height: 1.2; }
  .primary-page .footer-meta span + span::before,
  .job-detail-page .footer-meta span + span::before { margin-inline: 0.45rem; content: "\00b7"; }
}

@media (min-width: 1100px) and (max-height: 820px) {
  .primary-page .header-inner { min-height: 60px; }
  .primary-page .brand-logo { width: 195px; }
  .primary-page .page-hero,
  .primary-page .hero { padding-block: 10px; }
  .primary-page .page-hero h1,
  .primary-page .hero h1 { font-size: clamp(2.2rem, 2.7vw, 2.7rem); }
  .sheet-section { padding-block: 6px; }
  .sheet-card { padding-block: 0.8rem; }
  .primary-page .cta-band { min-height: 68px; padding-block: 2px; }
  .primary-page .site-footer,
  .primary-page .footer-row,
  .job-detail-page .site-footer,
  .job-detail-page .footer-row { min-height: 44px; }
}

@media (max-width: 960px) {
  .sheet-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .sheet-grid,
  .sheet-cards,
  .contact-grid,
  .contact-form-display { grid-template-columns: 1fr; }
  .contact-form-display .full { grid-column: auto; }
  .sheet-section { padding-block: 1rem; }
}

/* Shared desktop one-sheet frame. Page-specific CSS controls only the middle row. */
@media (min-width: 1100px) and (min-height: 850px) {
  .primary-page {
    --page-frame-header: 64px;
    --page-frame-flexible: 650px;
    --page-frame-cta: 80px;
    --page-frame-footer: 48px;
    display: grid;
    grid-template-rows:
      var(--page-frame-header)
      minmax(0, 1fr)
      var(--page-frame-footer);
    min-height: 100vh;
  }

  .home-page {
    --page-frame-cta: 104px;
  }

  .primary-page > .site-header {
    position: relative;
    height: var(--page-frame-header);
  }

  .primary-page > .site-header .header-inner {
    min-height: 0;
    height: 100%;
  }

  .primary-page > main {
    display: grid;
    grid-template-rows:
      clamp(180px, 21vh, 190px)
      minmax(0, 1fr)
      104px;
    min-height: 0;
  }

  .primary-page > main > :first-child,
  .primary-page > main > :nth-child(2),
  .primary-page > main > :last-child {
    min-height: 0;
    height: auto;
  }

  .primary-page > main > :first-child {
    grid-row: 1;
    display: flex;
    align-items: center;
  }

  .primary-page > main > :nth-child(2) {
    grid-row: 2;
    display: flex;
    align-items: center;
  }

  .primary-page > main > :last-child {
    grid-row: 3;
  }

  .primary-page > main > .cta-band {
    min-height: 0;
  }

  .primary-page > main > :nth-child(2) > .site-shell {
    width: min(calc(100% - 3rem), var(--content-width));
  }

  .home-page .sheet-section {
    padding-block: 40px;
  }

  .home-page .sheet-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-block: 1.4rem;
  }

  .home-page .cta-band {
    padding-block: 10px;
  }

  .primary-page > .site-footer,
  .primary-page > .site-footer .footer-row {
    min-height: 0;
    height: var(--page-frame-footer);
  }

  .job-detail-page > .site-footer,
  .job-detail-page > .site-footer .footer-row {
    min-height: 0;
    height: 48px;
  }

  /* About is composed as one page: its editorial spread absorbs available height. */
  .about-page {
    min-height: 100vh;
    grid-template-rows:
      var(--page-frame-header)
      minmax(0, 1fr)
      var(--page-frame-footer);
  }

  .about-page > main {
    grid-template-rows:
      clamp(180px, 21vh, 190px)
      minmax(0, 1fr)
      104px;
  }

  .about-page > main > .page-hero,
  .about-page > main > .sheet-section,
  .about-page > main > .cta-band {
    min-height: 0;
  }

  .about-page > main > .page-hero {
    padding-block: 20px;
  }

  .about-page > main > .sheet-section {
    display: flex;
    align-items: stretch;
    padding-block: 12px;
  }

  .about-page .sheet-section > .sheet-grid {
    height: 100%;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0;
    border: 0;
    background: transparent;
  }

  .about-page .sheet-card {
    padding: 1.15rem 1.25rem;
    border: 0;
  }

  .about-page .sheet-card:nth-child(1),
  .about-page .sheet-card:nth-child(6) {
    background: #FFFFFF;
  }

  .about-page .sheet-card:nth-child(2),
  .about-page .sheet-card:nth-child(4) {
    background: #F7F3EA;
  }

  .about-page .sheet-card:nth-child(3),
  .about-page .sheet-card:nth-child(5) {
    background: #F1ECE2;
  }

  .about-page > main > .cta-band {
    padding-block: 12px;
  }

  .about-page > main > .cta-band .cta-row {
    height: 100%;
    align-items: center;
  }

  .home-page > main {
    grid-template-rows:
      max-content
      minmax(0, 1fr)
      108px;
  }

  .home-page > main > .hero {
    padding-block: 14px 22px;
  }

  .home-page .hero .button-row {
    margin: 20px 0 0;
  }

  .home-page > main > .sheet-section {
    align-items: flex-start;
    padding-block: 8px 20px;
  }

  .home-page .sheet-section > .sheet-cards {
    height: auto;
    min-height: 0;
    align-items: stretch;
  }

  .home-page .sheet-cards > .sheet-card {
    height: 100%;
    min-height: 0;
  }

  .home-page > main > .cta-band {
    padding-block: 12px;
  }

  .home-page > main > .cta-band .cta-row {
    height: 100%;
    align-items: center;
  }

  .home-page .cta-copy {
    max-width: none;
    flex: 1 1 auto;
  }
}

/* Products-only desktop refinement: preserve the editorial grid while recovering viewport space. */
@media (min-width: 961px) {
  .products-page > main > .page-hero {
    padding-block: 9px;
    background: #F3EFE6;
  }

  .products-page > main > .sheet-section {
    padding-block: 0;
  }

  .products-page .sheet-grid > .sheet-card {
    padding-block: 0.95rem;
  }

  .products-page > main > .cta-band {
    min-height: 64px;
    padding-block: 0;
  }

  .products-page > .site-footer,
  .products-page > .site-footer .footer-row {
    min-height: 0;
    height: 46px;
  }
}

@media (min-width: 1100px) and (max-height: 820px) {
  .products-page > main > .cta-band {
    min-height: 56px;
  }
}

@media (min-width: 1100px) and (min-height: 850px) {
  .products-page > main {
    grid-template-rows:
      max-content
      max-content
      clamp(86px, 9.8vh, 88px);
    align-content: start;
    row-gap: 8px;
  }
}

/* Authoritative raster logo: one shared rendered size across primary headers. */
.primary-page.primary-page .brand-logo,
.job-detail-page .brand-logo {
  width: 190px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}
