:root {
  --cream: #f2ede5;
  --cream-2: #ebe5d7;
  --navy: #1a2332;
  --amber: #b8860b;
  --amber-strong: #a86f08;
  --amber-dark: #d4a437;
  --white: #ffffff;
  --body: rgba(26, 35, 50, 0.82);
  --muted: rgba(26, 35, 50, 0.68);
  --rule: rgba(26, 35, 50, 0.16);
  --max: 960px;
  --max-wide: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

[id] {
  scroll-margin-top: 132px;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-shell {
  width: min(100% - 64px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(32px, calc((100vw - var(--max)) / 2 + 32px));
  border-bottom: 1px solid var(--rule);
  background: var(--cream);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
}

.dial-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: currentColor;
}

.dial-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dial-mark circle {
  fill: currentColor;
}

.dial-mark .dial-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--body);
  font-size: 13px;
  line-height: 1;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-content: center;
  justify-items: center;
  gap: 5px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--navy);
}

.button,
.quiet-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.button-small {
  min-height: 36px;
  padding-inline: 15px;
  font-size: 12px;
}

.quiet-cta {
  background: transparent;
  color: var(--navy);
}

.button-gold {
  border-color: var(--amber-dark);
  background: var(--amber-dark);
  color: var(--navy);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--amber-strong);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
}

h1 {
  max-width: 660px;
  margin-bottom: 24px;
  font-size: clamp(38px, 5vw, 42px);
  line-height: 1.1;
}

.hero-h1 {
  max-width: none;
  margin: 0 0 26px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(48px, 6.4vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.018em;
  color: var(--navy);
  font-variant-ligatures: common-ligatures discretionary-ligatures;
  font-feature-settings: "liga" 1, "dlig" 1;
}

.hero-h1 .line {
  display: block;
  overflow: hidden;
}

.hero-h1 .line > span {
  display: inline-block;
  transform: translateY(0);
}

.hero-h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber-strong);
}

h2 {
  max-width: 540px;
  margin-bottom: 20px;
  font-size: clamp(26px, 3.2vw, 30px);
  line-height: 1.2;
}

h3 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.3;
}

p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.75;
}

.hero {
  width: min(100% - 64px, var(--max-wide));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
  padding: 88px 0 56px;
}

.hero-copy {
  min-width: 0;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-strong);
}

.eyebrow-rule {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--amber-strong);
  margin-right: 6px;
}

.eyebrow-dot {
  color: rgba(168, 111, 8, 0.6);
}

.hero-subhead {
  max-width: 480px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* RIGHT: three-dials framework as the hero graphic */
.hero-frame {
  position: relative;
  padding: 8px 0 0;
  border-top: 1px solid var(--rule);
  align-self: stretch;
}

.hero-frame-tag {
  position: absolute;
  top: -10px;
  right: 0;
  padding: 0 10px;
  background: var(--cream);
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  color: var(--amber-strong);
}

.hero-row {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: end;
  gap: 24px;
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--rule);
}

.hero-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--amber-dark);
}

.hero-row .n {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(64px, 7vw, 92px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.hero-row-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 14px;
}

.hero-row-body .verb {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.05;
  color: var(--navy);
}

.hero-row-body .of {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.05;
  color: var(--muted);
}

.hero-row .meta {
  align-self: end;
  padding-bottom: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-strong);
}

.credential-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--cream-2);
  padding: 26px 0 24px;
  overflow: hidden;
}

.credential-shell {
  width: min(100% - 64px, var(--max-wide));
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  align-items: center;
  gap: 36px 48px;
  text-align: left;
}

.credential-label {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: var(--navy);
  padding-right: 24px;
  border-right: 1px solid rgba(168, 111, 8, 0.4);
}

.logo-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 26px;
  row-gap: 10px;
}

.logo-list span {
  position: relative;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.logo-list span + span::before {
  content: "·";
  position: absolute;
  top: 50%;
  left: -16px;
  transform: translateY(-58%);
  color: var(--amber-strong);
  font-size: 22px;
  font-weight: 700;
}

.pattern {
  padding: 64px 0 56px;
}

.pattern p:last-child,
.products .intro {
  max-width: 540px;
}

.band {
  background: var(--cream-2);
}

.build,
.products {
  padding: 64px 0 68px;
}

.capability-grid,
.engagement-grid,
.product-grid {
  display: grid;
  gap: 22px;
}

.capability-grid,
.engagement-grid {
  grid-template-columns: repeat(3, 1fr);
}

.capability-grid article {
  position: relative;
  padding: 18px 18px 0 0;
  border-top: 1px solid rgba(168, 111, 8, 0.42);
}

.capability-grid span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(168, 111, 8, 0.42);
  color: var(--amber-strong);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.capability-grid p,
.engagement-grid p,
.product-grid p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.72;
}

.dark-band {
  background: var(--navy);
  color: var(--cream);
}

.engagements {
  padding: 68px 0 64px;
}

.engagements .eyebrow {
  color: var(--amber-dark);
}

.engagements h2 {
  color: var(--cream);
}

.engagement-grid article {
  position: relative;
  min-height: 360px;
  padding: 22px 20px;
  border: 1px solid rgba(26, 35, 50, 0.2);
  background: var(--white);
}

.engagement-grid article::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: var(--amber);
}

.price {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(168, 111, 8, 0.5);
  color: var(--amber-strong);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.best-for {
  margin-top: 22px;
  color: rgba(26, 35, 50, 0.68);
  font-size: 12px !important;
  line-height: 1.65 !important;
}

.automation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.74fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--rule);
}

.automation > div:first-child {
  padding-left: 18px;
  border-left: 4px solid var(--amber);
}

.automation h2 {
  max-width: 620px;
  margin-bottom: 14px;
}

.automation p {
  max-width: 580px;
}

.automation a {
  color: var(--amber-strong);
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.automation-panel {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(168, 111, 8, 0.34);
  background: var(--cream-2);
}

.automation-panel span {
  padding: 10px 12px;
  border-left: 3px solid var(--amber);
  background: rgba(255, 255, 255, 0.38);
  color: var(--body);
  font-size: 12px;
  font-weight: 600;
}

.automation-panel strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
}

.product-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
}

.product-grid article {
  padding: 18px;
  border: 1px solid rgba(168, 111, 8, 0.34);
  background: rgba(242, 237, 229, 0.62);
}

.product-preview {
  min-height: 126px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(26, 35, 50, 0.16);
  background: var(--cream);
}

.pressflow-preview {
  display: grid;
  align-content: center;
  gap: 12px;
}

.pressflow-preview span {
  display: block;
  height: 9px;
  background: linear-gradient(90deg, var(--amber) 0 28%, rgba(26, 35, 50, 0.14) 28% 100%);
}

.buildscore-preview {
  display: grid;
  place-items: center;
  text-align: center;
}

.buildscore-preview strong {
  color: var(--amber-strong);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 46px;
  font-weight: 500;
  line-height: 1;
}

.buildscore-preview span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.sitemark-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: end;
}

.sitemark-preview span {
  display: block;
  min-height: 38px;
  border-top: 4px solid var(--amber);
  background: rgba(26, 35, 50, 0.08);
}

.sitemark-preview span:nth-child(2) {
  min-height: 70px;
}

.sitemark-preview span:nth-child(3) {
  min-height: 96px;
}

.snapshot {
  display: grid;
  gap: 28px;
  padding: 80px 0 72px;
}

.snapshot .eyebrow {
  margin-bottom: 0;
}

.snapshot-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  gap: 36px 56px;
  align-items: end;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}

.snapshot h2 {
  max-width: 560px;
  margin-bottom: 0;
}

.snapshot-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
}

.snapshot-meta li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
}

.snapshot-meta span {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-strong);
}

.case-steps {
  margin: 24px 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 48px;
}

.case-steps > li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(168, 111, 8, 0.34);
}

.case-step {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  color: var(--amber-strong);
}

.case-steps h3 {
  margin: 0;
  max-width: 460px;
  font-size: 22px;
  line-height: 1.25;
}

.case-steps p {
  margin: 0;
  max-width: 460px;
  font-size: 14px;
  line-height: 1.7;
}

.case-ships {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 460px;
}

.case-ships li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--body);
}

.case-ships li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 1px;
  background: var(--amber-strong);
}

.snapshot-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 16px 0 0;
}

.snapshot-kpis div {
  padding-top: 18px;
  border-top: 1px solid rgba(168, 111, 8, 0.42);
}

.snapshot-kpis dt {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}

.snapshot-kpis dd {
  margin: 10px 0 0;
  color: var(--body);
  font-size: 13px;
  line-height: 1.55;
}

.snapshot-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  font-family: "Playfair Display", Georgia, serif;
}

.closing {
  padding: 72px 0 64px;
  background: var(--navy);
  text-align: center;
}

.closing .section-shell {
  display: grid;
  justify-items: center;
}

.closing .eyebrow {
  color: var(--amber-dark);
}

.closing h2 {
  max-width: 620px;
  color: var(--cream);
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid rgba(242, 237, 229, 0.14);
  background: var(--navy);
  color: var(--cream);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  color: var(--cream);
}

.footer-brand .dial-mark {
  color: var(--amber-dark);
}

.site-footer p {
  max-width: 360px;
  margin: 12px 0 0;
  color: rgba(242, 237, 229, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.site-footer a,
.site-footer button {
  color: rgba(242, 237, 229, 0.76);
  font-size: 13px;
}

.site-footer button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-footer a:hover,
.site-footer button:hover {
  color: var(--amber-dark);
}

.site-footer .copyright {
  grid-column: 1 / -1;
  max-width: none;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(242, 237, 229, 0.12);
  color: rgba(242, 237, 229, 0.52);
  font-size: 12px;
}

@media (max-width: 820px) {
  .section-shell {
    width: min(100% - 64px, var(--max));
  }

  .site-header {
    padding-inline: 32px;
  }

  .dial-mark {
    width: 30px;
    height: 30px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 67px 24px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--rule);
    background: var(--cream);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--rule);
  }

  .site-nav .button {
    margin-top: 14px;
  }

  .hero {
    padding-top: 82px;
  }

  .hero,
  .capability-grid,
  .engagement-grid,
  .product-grid,
  .automation,
  .snapshot,
  .snapshot-head,
  .snapshot-meta,
  .case-steps,
  .snapshot-kpis,
  .credential-shell {
    grid-template-columns: 1fr;
  }

  .snapshot-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-frame {
    margin-top: 8px;
  }

  .hero-row {
    grid-template-columns: 88px 1fr auto;
    gap: 18px;
  }

  .credential-shell {
    gap: 18px;
    text-align: center;
    justify-items: center;
  }

  .credential-label {
    border-right: none;
    padding-right: 0;
    text-align: center;
    max-width: 720px;
  }

  .logo-list {
    justify-content: center;
  }

  .capability-grid article {
    padding-right: 0;
  }

  .engagement-grid article {
    min-height: auto;
  }

  .hero-actions,
  .button,
  .quiet-cta {
    width: 100%;
  }

  .logo-list span {
    font-size: 15px;
  }

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

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

@media (max-width: 480px) {
  .section-shell {
    width: min(100% - 48px, var(--max));
  }

  .site-header {
    padding-inline: 24px;
  }

  h1 {
    font-size: 38px;
  }
}
