:root {
  --theme-primary: #35513d;
  --theme-primary-dark: #203126;
  --theme-accent: #d9cf77;
  --theme-paper: #eff2e7;
  --theme-ink: #243027;
  --white: #fff;
  --muted: #66706d;
  --line: color-mix(in srgb, var(--theme-ink) 16%, transparent);
  --shadow: 0 24px 70px rgba(13, 35, 32, 0.13);
  --radius: 1.25rem;
  --shell: 74rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--theme-ink);
  background: var(--white);
  font-synthesis: none;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--theme-ink);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at 15% 10%, color-mix(in srgb, var(--theme-accent) 14%, transparent), transparent 24rem);
  content: "";
  pointer-events: none;
}

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

button,
input,
textarea {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--theme-accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  color: var(--theme-primary-dark);
  background: var(--theme-accent);
  transform: translateY(-150%);
}

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

.demo-banner {
  display: flex;
  position: relative;
  z-index: 20;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  color: var(--theme-primary-dark);
  background: var(--theme-accent);
  font-size: 0.86rem;
  text-align: center;
}

.demo-banner strong {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.narrow {
  max-width: 50rem;
}

.prose {
  max-width: 46rem;
}

.section-pad {
  padding-block: clamp(4rem, 8vw, 7rem);
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 18ch;
  margin-bottom: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7.5vw, 6.4rem);
  font-weight: 500;
}

h2 {
  margin-bottom: 1.1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 500;
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--muted);
}

.utility {
  color: rgba(255, 255, 255, 0.82);
  background: var(--theme-primary-dark);
  font-size: 0.8rem;
}

.utility .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.35rem;
}

.utility a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--theme-primary-dark);
  font-weight: 850;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.6rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--theme-primary-dark);
  background: var(--theme-accent);
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.15rem);
}

.main-nav a {
  color: var(--theme-ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--theme-primary);
}

.main-nav .nav-cta {
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--theme-primary);
}

.main-nav .nav-cta:hover {
  color: var(--theme-primary-dark);
  background: var(--theme-accent);
}

.menu-button {
  display: none;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  color: var(--theme-ink);
  background: var(--white);
  font-weight: 750;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 44rem;
  color: var(--white);
  background: var(--theme-primary-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--theme-primary-dark) 98%, transparent) 0 42%,
    color-mix(in srgb, var(--theme-primary-dark) 82%, transparent) 62%,
    color-mix(in srgb, var(--theme-primary-dark) 38%, transparent) 100%
  );
  content: "";
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.04);
}

.hero-media figcaption,
.feature-media figcaption,
.project-card-media figcaption {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 2;
  max-width: min(28rem, calc(100% - 1.4rem));
  padding: 0.35rem 0.55rem;
  border-radius: 0.3rem;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(8, 23, 20, 0.76);
  font-size: 0.66rem;
  line-height: 1.35;
}

.hero::before,
.hero::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  width: 44rem;
  height: 44rem;
  top: -22rem;
  right: -9rem;
}

.hero::after {
  width: 22rem;
  height: 22rem;
  right: 5rem;
  bottom: -12rem;
  border-color: color-mix(in srgb, var(--theme-accent) 38%, transparent);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.65fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.hero h1,
.page-hero h1 {
  color: inherit;
}

.hero-lede,
.page-hero p {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.eyebrow,
.kicker {
  margin-bottom: 1rem;
  color: var(--theme-primary);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.kicker-light {
  color: var(--theme-accent);
}

.actions,
.link-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button-primary {
  color: var(--theme-primary-dark);
  background: var(--theme-accent);
}

.button-quiet {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.button-light {
  color: var(--theme-primary-dark);
  background: var(--white);
}

.button.full {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.micro-proof {
  margin-top: 1.15rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.85rem;
}

.hero-panel {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  color: var(--theme-ink);
  background: var(--theme-paper);
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.quick-links {
  display: grid;
  margin-block: 1.4rem;
  border-top: 1px solid var(--line);
}

.quick-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
  text-decoration: none;
}

.quick-links a:hover {
  color: var(--theme-primary);
}

.panel-phone {
  color: var(--theme-primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.proof-bar {
  border-bottom: 1px solid var(--line);
  background: var(--theme-paper);
}

.proof-bar .shell {
  display: flex;
  min-height: 5.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.proof-bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 750;
}

.proof-bar li::before,
.check-list li::before {
  margin-right: 0.55rem;
  color: var(--theme-primary);
  content: "✓";
  font-weight: 900;
}

.proof-bar a,
.text-link {
  color: var(--theme-primary);
  font-weight: 800;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

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

.content-card,
.evidence-card,
.project-card,
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 44px rgba(13, 35, 32, 0.06);
}

.content-card {
  position: relative;
  display: flex;
  min-height: 20rem;
  flex-direction: column;
  padding: clamp(1.4rem, 2.8vw, 2rem);
  overflow: hidden;
}

.content-card::after {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--theme-accent) 18%, transparent);
  content: "";
}

.content-card h2,
.content-card h3 {
  margin-top: auto;
  font-family: Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
}

.card-index {
  display: grid;
  width: 2.75rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--theme-primary-dark);
  background: var(--theme-accent);
  font-weight: 900;
}

.card-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  color: var(--theme-primary);
  font-weight: 800;
}

.card-evidence {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.section-ink {
  color: var(--white);
  background: var(--theme-primary-dark);
}

.section-ink p {
  color: rgba(255, 255, 255, 0.7);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}

.statement-card,
.evidence-card {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.statement-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.statement-card blockquote {
  margin: 0 0 1.5rem;
  font-family: Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.25;
}

.statement-card a {
  color: var(--theme-accent);
}

.statement-mark {
  color: var(--theme-accent);
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0.7;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(15rem, 0.7fr);
  align-items: center;
  gap: 3rem;
}

.project-visual {
  position: relative;
  min-width: 0;
}

.feature-media,
.project-card-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--theme-paper);
}

.feature-media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-media img,
.project-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-stamp {
  position: relative;
  display: grid;
  min-height: 20rem;
  place-content: center;
  padding: 2rem;
  border-radius: 50% 50% 45% 55%;
  color: var(--white);
  background: var(--theme-primary);
  text-align: center;
  transform: rotate(2deg);
}

.project-visual .project-stamp {
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  width: 9.5rem;
  min-height: 9.5rem;
  padding: 1.2rem;
  box-shadow: 0 1rem 2.5rem rgba(8, 23, 20, 0.24);
}

.project-visual .project-stamp strong {
  font-size: 1.15rem;
}

.project-stamp::before {
  position: absolute;
  inset: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  border-radius: inherit;
  content: "";
}

.project-stamp span,
.project-stamp strong {
  position: relative;
}

.project-stamp span {
  color: var(--theme-accent);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-stamp strong {
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}

.section-paper {
  background: var(--theme-paper);
}

.link-row a,
.tag-row span {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--theme-primary);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.advice-list {
  display: grid;
  gap: 0.75rem;
}

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

.advice-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.advice-list.large .advice-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.advice-card h3 {
  margin-bottom: 0.35rem;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.advice-card p {
  margin: 0;
}

.advice-card a {
  flex: 0 0 auto;
  color: var(--theme-primary);
  font-weight: 800;
}

.page-hero {
  color: var(--white);
  background: linear-gradient(135deg, var(--theme-primary-dark), var(--theme-primary));
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.breadcrumbs {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: inherit;
}

.check-list {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}

.evidence-card {
  background: var(--theme-paper);
}

.evidence-card h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  color: var(--theme-primary-dark);
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  max-width: 52rem;
  margin: 0.75rem 0 0;
}

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

.project-card {
  overflow: hidden;
}

.project-card-media {
  aspect-ratio: 16 / 9;
}

.project-card-copy {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.project-card h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.project-outcome {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.article-body {
  font-family: Georgia, serif;
  font-size: 1.18rem;
}

.article-body h2 {
  margin-top: 2.5rem;
}

.article-cta {
  margin-top: 3rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--theme-paper);
}

.article-cta h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.related-answer {
  margin-top: 2.5rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border-left: 0.35rem solid var(--theme-accent);
  background: var(--theme-paper);
}

.related-answer h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(20rem, 1.25fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.contact-line {
  display: block;
  width: fit-content;
  margin-bottom: 0.55rem;
  color: var(--theme-primary);
  font-family: Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 600;
}

.form-card {
  padding: clamp(1.3rem, 4vw, 2.5rem);
  background: var(--theme-paper);
}

.field,
.field-row {
  display: grid;
  gap: 0.45rem;
}

.field-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  color: var(--theme-primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  color: var(--theme-ink);
  background: var(--white);
}

.field input {
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
}

.field textarea {
  padding: 0.8rem;
  resize: vertical;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
}

.demo-form :disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.final-cta {
  color: var(--white);
  background: var(--theme-primary);
}

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

.final-cta h2 {
  max-width: 16ch;
  margin: 0;
}

.final-cta .kicker {
  color: var(--theme-accent);
}

.site-footer {
  padding-block: 4rem 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  background: #081714;
}

.brand-light {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-grid h2 {
  color: var(--white);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a {
  color: inherit;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
}

.mobile-actions {
  display: none;
}

[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.64;
  pointer-events: none;
  text-decoration: none;
}

body[data-style="rapid"] {
  --radius: 0.55rem;
}

body[data-style="rapid"] h1,
body[data-style="rapid"] h2,
body[data-style="rapid"] .content-card h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 850;
  letter-spacing: -0.055em;
}

body[data-style="rapid"] .hero {
  background: linear-gradient(118deg, var(--theme-primary-dark) 0 64%, var(--theme-primary) 64%);
}

body[data-style="rapid"] .hero-panel {
  border-top: 0.45rem solid var(--theme-accent);
  box-shadow: 1rem 1rem 0 color-mix(in srgb, var(--theme-accent) 32%, transparent);
}

body[data-style="rapid"] .proof-bar li::before {
  content: "●";
}

body[data-style="precision"] {
  --radius: 0.2rem;
}

body[data-style="precision"] .hero {
  background-color: var(--theme-primary-dark);
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 3rem 3rem;
}

body[data-style="precision"] .eyebrow,
body[data-style="precision"] .kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

body[data-style="precision"] .brand-mark,
body[data-style="precision"] .card-index {
  border-radius: 0.15rem;
}

body[data-style="precision"] .content-card {
  border-left: 0.35rem solid var(--theme-primary);
}

body[data-style="construct"] {
  --radius: 0;
}

body[data-style="construct"] h1,
body[data-style="construct"] h2,
body[data-style="construct"] .content-card h3 {
  font-family: Arial Narrow, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

body[data-style="construct"] .hero {
  background: linear-gradient(90deg, var(--theme-primary-dark) 0 76%, var(--theme-accent) 76%);
}

body[data-style="construct"] .content-card,
body[data-style="construct"] .project-card {
  box-shadow: 0.65rem 0.65rem 0 var(--theme-paper);
}

body[data-style="construct"] .project-stamp {
  min-height: 15rem;
  border-radius: 0;
  transform: none;
}

body[data-style="weatherproof"] {
  --radius: 0.35rem;
}

body[data-style="weatherproof"] .hero::before {
  width: 58rem;
  height: 26rem;
  top: -9rem;
  right: -10rem;
  border-radius: 0;
  border-width: 0 0 1px;
  transform: rotate(-16deg);
}

body[data-style="weatherproof"] .hero-panel {
  border-top: 0.45rem solid var(--theme-accent);
  clip-path: polygon(0 1.5rem, 50% 0, 100% 1.5rem, 100% 100%, 0 100%);
  padding-top: 3rem;
}

body[data-style="weatherproof"] .project-stamp {
  border-radius: 0.4rem;
  clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%);
  transform: none;
}

body[data-style="editorial"] {
  --radius: 0;
  letter-spacing: 0.008em;
}

body[data-style="editorial"] .site-header,
body[data-style="editorial"] .hero,
body[data-style="editorial"] .page-hero {
  color: var(--theme-ink);
  background: var(--theme-paper);
}

body[data-style="editorial"] .hero-lede,
body[data-style="editorial"] .page-hero p {
  color: var(--muted);
}

body[data-style="editorial"] .hero-media::after {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--theme-paper) 98%, transparent) 0 48%,
    color-mix(in srgb, var(--theme-paper) 84%, transparent) 68%,
    color-mix(in srgb, var(--theme-paper) 18%, transparent) 100%
  );
}

body[data-style="editorial"] .micro-proof {
  color: var(--muted);
}

body[data-style="editorial"] .hero h1 {
  max-width: 17ch;
  font-size: clamp(3.6rem, 5vw, 5rem);
  font-style: italic;
}

body[data-style="editorial"] .hero-panel {
  border: 0;
  border-left: 1px solid var(--line);
  box-shadow: none;
}

body[data-style="editorial"] .content-card {
  min-height: 24rem;
  border-width: 1px 0 0;
  box-shadow: none;
}

body[data-style="security"] {
  --radius: 1.8rem;
}

body[data-style="security"] .hero {
  background: radial-gradient(circle at 80% 50%, var(--theme-primary) 0 0.35rem, transparent 0.4rem),
    repeating-radial-gradient(circle at 80% 50%, transparent 0 3.2rem, rgba(255, 255, 255, 0.06) 3.25rem 3.35rem),
    var(--theme-primary-dark);
}

body[data-style="security"] .brand-mark,
body[data-style="security"] .card-index {
  border-radius: 50% 50% 45% 45%;
  box-shadow: inset 0 0 0 0.35rem color-mix(in srgb, var(--theme-primary-dark) 18%, transparent);
}

body[data-style="security"] .hero-panel {
  border: 0.2rem solid var(--theme-accent);
  box-shadow: 0 0 0 0.55rem rgba(255, 255, 255, 0.08);
}

body[data-style="organic"] {
  --radius: 2.25rem 0.8rem 2.25rem 0.8rem;
}

body[data-style="organic"] .hero {
  background: radial-gradient(ellipse at 88% 12%, color-mix(in srgb, var(--theme-accent) 30%, transparent), transparent 34%),
    linear-gradient(145deg, var(--theme-primary-dark), var(--theme-primary));
}

body[data-style="organic"] .hero-panel,
body[data-style="organic"] .content-card,
body[data-style="organic"] .project-card {
  border-radius: var(--radius);
}

body[data-style="organic"] .brand-mark,
body[data-style="organic"] .card-index {
  border-radius: 65% 35% 58% 42%;
  transform: rotate(-7deg);
}

body[data-style="organic"] .project-stamp {
  border-radius: 58% 42% 63% 37%;
}

body[data-style="clinical"] {
  --radius: 0.65rem;
}

body[data-style="clinical"] .hero,
body[data-style="clinical"] .page-hero {
  color: var(--theme-ink);
  background: linear-gradient(115deg, var(--white) 0 60%, var(--theme-paper) 60%);
}

body[data-style="clinical"] .hero-lede,
body[data-style="clinical"] .page-hero p {
  color: var(--muted);
}

body[data-style="clinical"] .hero-panel {
  border: 1px solid var(--theme-primary);
  box-shadow: 0 1.5rem 0 -1rem var(--theme-accent);
}

body[data-style="clinical"] .hero-media::after {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--white) 98%, transparent) 0 48%,
    color-mix(in srgb, var(--white) 86%, transparent) 66%,
    color-mix(in srgb, var(--white) 24%, transparent) 100%
  );
}

body[data-style="clinical"] .content-card::after {
  right: 1.25rem;
  bottom: 1.25rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--theme-primary);
}

body[data-style="orderly"] {
  --radius: 0.85rem;
}

body[data-style="orderly"] h1,
body[data-style="orderly"] h2,
body[data-style="orderly"] .content-card h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 750;
}

body[data-style="orderly"] .hero {
  background: linear-gradient(135deg, var(--theme-primary-dark) 0 50%, var(--theme-primary) 50%);
}

body[data-style="orderly"] .hero-panel,
body[data-style="orderly"] .content-card,
body[data-style="orderly"] .project-card {
  box-shadow: none;
}

body[data-style="orderly"] .content-card {
  min-height: 17rem;
  border-top: 0.3rem solid var(--theme-primary);
}

body[data-style="craft"] {
  --radius: 0.25rem;
}

body[data-style="craft"]::before {
  background-image: repeating-linear-gradient(0deg, transparent 0 8px, color-mix(in srgb, var(--theme-primary) 3%, transparent) 8px 9px);
}

body[data-style="craft"] .hero {
  background: linear-gradient(100deg, var(--theme-primary-dark) 0 72%, var(--theme-primary) 72%);
}

body[data-style="craft"] .hero-panel,
body[data-style="craft"] .content-card,
body[data-style="craft"] .project-card {
  border: 1px solid var(--theme-ink);
  box-shadow: 0.5rem 0.5rem 0 var(--theme-accent);
}

body[data-style="craft"] .brand-mark,
body[data-style="craft"] .card-index {
  border-radius: 0;
  transform: rotate(-3deg);
}

@media (max-width: 900px) {
  .utility span {
    display: none;
  }

  .utility .shell {
    justify-content: flex-end;
  }

  .menu-button {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 0.7rem;
  }

  .main-nav .nav-cta {
    text-align: center;
  }

  .hero-grid,
  .split,
  .project-feature,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media::after {
    background: color-mix(in srgb, var(--theme-primary-dark) 86%, transparent);
  }

  body[data-style="editorial"] .hero-media::after {
    background: color-mix(in srgb, var(--theme-paper) 91%, transparent);
  }

  body[data-style="clinical"] .hero-media::after {
    background: color-mix(in srgb, var(--white) 92%, transparent);
  }

  .hero-panel {
    max-width: 38rem;
  }

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

  .proof-bar .shell,
  .final-cta .shell {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1.25rem;
  }

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

@media (max-width: 620px) {
  body {
    padding-bottom: 4.2rem;
  }

  .shell {
    width: min(calc(100% - 1.25rem), var(--shell));
  }

  .section-pad {
    padding-block: 3.5rem;
  }

  h1 {
    font-size: clamp(2.6rem, 11vw, 3.4rem);
    overflow-wrap: break-word;
  }

  .page-hero h1 {
    font-size: clamp(2.6rem, 11vw, 3.4rem);
  }

  .brand > span:last-child {
    max-width: 9.5rem;
    line-height: 1.1;
  }

  .hero-grid {
    gap: 2rem;
  }

  .actions,
  .actions .button {
    width: 100%;
  }

  .card-grid,
  .advice-list.large,
  .project-grid,
  .field-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .content-card {
    min-height: 17rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-stamp {
    min-height: 16rem;
  }

  .project-visual .project-stamp {
    right: 0.5rem;
    bottom: -1.5rem;
    width: 8rem;
    min-height: 8rem;
  }

  .legal {
    flex-direction: column;
  }

  .mobile-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    min-height: 4.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 -10px 32px rgba(8, 23, 20, 0.22);
  }

  .mobile-actions a {
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--theme-primary-dark);
    font-weight: 850;
    text-decoration: none;
  }

  .mobile-actions a:last-child {
    color: var(--theme-primary-dark);
    background: var(--theme-accent);
  }
}

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

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

.demo-banner { flex-wrap: wrap; }
.demo-source-link { color: inherit; font-weight: 800; text-underline-offset: 0.18em; }
