:root {
  --bg: #f5f1ea;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-muted: #ede6dc;
  --text: #181614;
  --text-soft: #5f584f;
  --border: rgba(24, 22, 20, 0.1);
  --border-strong: rgba(24, 22, 20, 0.18);
  --accent: #f7931a;
  --accent-deep: #d87200;
  --accent-soft: rgba(247, 147, 26, 0.14);
  --shadow-soft: 0 16px 36px rgba(20, 16, 12, 0.08);
  --shadow: 0 24px 60px rgba(20, 16, 12, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shell: 1180px;
  --header-height: 5.4rem;
  --header-offset: 5.4rem;
}

@font-face {
  font-family: "Cardo Local";
  src: url("/assets/fonts/cardo-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(247, 147, 26, 0.14), transparent 24rem),
    radial-gradient(circle at left center, rgba(105, 83, 59, 0.08), transparent 28rem),
    linear-gradient(180deg, #fbf8f3 0%, var(--bg) 100%);
  line-height: 1.6;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(247, 147, 26, 0.06), transparent 18rem);
  opacity: 0.85;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
}

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

.shell {
  width: min(calc(100% - clamp(1.2rem, 3vw, 2rem)), var(--shell));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(251, 248, 243, 0.78);
  border-bottom: 1px solid rgba(24, 22, 20, 0.06);
  box-shadow: 0 8px 24px rgba(24, 22, 20, 0.04);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-height);
  transition: gap 180ms ease, padding 180ms ease, min-height 180ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand span {
  display: grid;
  gap: 0.15rem;
  overflow: hidden;
}

.brand strong,
.footer-brand strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand small,
.footer-brand small {
  display: block;
  color: var(--text-soft);
  font-size: 0.85rem;
  max-height: 2rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease, max-height 180ms ease;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.2rem;
  font-size: 0.96rem;
  transition: opacity 180ms ease, transform 180ms ease, max-height 180ms ease;
}

.site-nav a {
  position: relative;
  color: var(--text-soft);
}

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

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent 80%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

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

.nav-cta {
  padding: 0.92rem 1.45rem;
  border-radius: 999px;
  background: rgba(247, 147, 26, 0.12);
  color: var(--text) !important;
  border: 1px solid rgba(247, 147, 26, 0.2);
  line-height: 1.1;
}

.nav-cta::after {
  display: none;
}

.hero-section {
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--header-offset));
  min-height: calc(100svh - var(--header-offset));
  min-height: calc(100dvh - var(--header-offset));
  padding: clamp(1.25rem, 3vh, 2.5rem) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(1.4rem, 2.6vw, 2.4rem);
  align-items: center;
}

.hero-copy,
.hero-card,
.signal-card,
.service-card,
.principle-card,
.timeline-card,
.pricing-card,
.contact-card,
.profile-panel,
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 245, 238, 0.9));
}

.hero-copy::before,
.hero-card::before,
.pricing-card::before,
.closing-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 42%);
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -3rem;
  top: -3rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 147, 26, 0.18), rgba(247, 147, 26, 0));
  filter: blur(10px);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  font-family: "Cardo Local", Georgia, serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 8vw, 5.8rem);
}

.hero-title-wide {
  max-width: 12ch;
  font-size: clamp(2.8rem, 6.2vw, 5.15rem);
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

.hero-lead {
  max-width: 40rem;
  margin: 1.4rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--text);
}

.hero-body,
.section-head p,
.pricing-layout > div > p,
.contact-copy p,
.profile-copy p,
.timeline-card p,
.principle-card p,
.fit-list p,
.service-card li,
.service-result,
.signal-card p,
.footer-note {
  color: var(--text-soft);
}

.hero-body {
  max-width: 38rem;
  margin: 1rem 0 0;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 3.5rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  box-shadow: 0 10px 25px rgba(24, 22, 20, 0.06);
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(24, 22, 20, 0.1);
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.22), transparent 55%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}

.button:hover::before {
  transform: translateX(120%);
}

.button-primary {
  background: var(--accent);
  color: #1d1308;
}

.button-primary:hover {
  background: #ff9f2c;
}

.hero-primary-cta {
  min-width: min(23rem, 100%);
  min-height: 3.85rem;
  padding: 1.08rem 1.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 18px 38px rgba(216, 114, 0, 0.2);
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.7);
}

.button-secondary:hover {
  border-color: rgba(24, 22, 20, 0.2);
}

.compliance-note,
.contact-note {
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  background: rgba(247, 147, 26, 0.08);
  color: var(--text-soft);
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 239, 230, 0.88));
}

.portrait-wrap {
  padding: 1.2rem;
  min-height: clamp(22rem, 42vw, 34rem);
}

.portrait-wrap img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 0.6rem);
}

.hero-card-body {
  display: grid;
  align-content: end;
  gap: 0.8rem;
  padding: 0 1.5rem 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 248, 240, 0.72) 24%, rgba(255, 248, 240, 0.92));
}

.card-kicker {
  margin: 0;
  color: var(--accent-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.stat-list li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.stat-list strong {
  font-size: 1.1rem;
}

.stat-list span {
  color: var(--text-soft);
}

.signal-section {
  padding: 0.8rem 0 2.25rem;
}

.signal-grid,
.principles-grid,
.timeline-grid {
  display: grid;
  gap: clamp(0.9rem, 1.8vw, 1.2rem);
}

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

.signal-card,
.principle-card,
.timeline-card {
  padding: 1.4rem;
  border-radius: var(--radius-md);
}

.signal-card,
.service-card,
.principle-card,
.timeline-card,
.pricing-card,
.contact-card,
.profile-panel,
.faq-list details,
.local-panel,
.mini-cta,
.fit-list article {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

.signal-card:hover,
.service-card:hover,
.principle-card:hover,
.timeline-card:hover,
.pricing-card:hover,
.contact-card:hover,
.profile-panel:hover,
.faq-list details:hover,
.local-panel:hover,
.fit-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 147, 26, 0.24);
  box-shadow: 0 30px 70px rgba(20, 16, 12, 0.14);
}

.signal-card h2 {
  font-size: 1.5rem;
}

.signal-card p {
  margin: 0.6rem 0 0;
}

.section {
  position: relative;
  padding: clamp(2.6rem, 5vw, 4.4rem) 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(237, 230, 220, 0.36), rgba(237, 230, 220, 0.14));
  border-block: 1px solid rgba(24, 22, 20, 0.05);
}

.section-muted::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 147, 26, 0.25), transparent);
}

.section-head {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
  margin-bottom: 2rem;
}

.section-head h2,
.closing-copy h2 {
  position: relative;
}

.section-head h2::after,
.closing-copy h2::after {
  content: "";
  display: block;
  width: 5rem;
  height: 3px;
  margin-top: 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(247, 147, 26, 0.15));
}

.section-head.compact {
  margin-bottom: 1.5rem;
}

.section-head p {
  margin: 0;
}

.service-grid,
.fit-list,
.pricing-layout,
.contact-grid,
.footer-grid,
.profile-grid,
.two-column,
.local-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
}

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

.service-card {
  position: relative;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent 75%);
  opacity: 0.7;
}

.service-index {
  margin: 0 0 1rem;
  color: var(--accent-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-card ul,
.profile-panel ul,
.pricing-card ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.profile-panel li,
.pricing-card li {
  position: relative;
  padding-left: 1.2rem;
  margin-top: 0.7rem;
}

.service-card li::before,
.profile-panel li::before,
.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
}

.service-result {
  margin: 1rem 0 0;
  font-weight: 600;
}

.two-column {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

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

.fit-list article,
.profile-panel {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.fit-list p {
  margin: 0.6rem 0 0;
}

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

.local-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: start;
}

.local-panel h3 {
  margin-bottom: 1.05rem;
}

.bitpen-section {
  padding-top: 3rem;
}

.bitpen-frame {
  position: relative;
  padding: clamp(1rem, 2vw, 1.45rem);
  border-radius: calc(var(--radius-xl) + 0.35rem);
  border: 1px solid rgba(24, 22, 20, 0.08);
  background:
    radial-gradient(circle at top right, rgba(247, 147, 26, 0.18), transparent 13rem),
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(244, 237, 227, 0.92));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.bitpen-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.16), transparent 36%),
    radial-gradient(circle at 14% 88%, rgba(24, 22, 20, 0.05), transparent 20rem);
}

.bitpen-intro,
.bitpen-products {
  position: relative;
  z-index: 1;
}

.bitpen-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
  gap: 0.95rem 1.45rem;
  align-items: start;
  margin-bottom: 1.3rem;
}

.bitpen-intro h2 {
  max-width: 13ch;
}

.bitpen-intro p {
  margin: 0;
  color: var(--text-soft);
  max-width: 34rem;
}

.bitpen-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.15rem);
}

.bitpen-product {
  display: grid;
  grid-template-rows: auto 1fr;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 22, 20, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 34px rgba(20, 16, 12, 0.08);
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.bitpen-product:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 147, 26, 0.24);
  box-shadow: 0 26px 52px rgba(20, 16, 12, 0.12);
}

.bitpen-product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 5 / 4;
  min-height: 13rem;
  padding: 0.35rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(247, 147, 26, 0.12), transparent 10rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 237, 227, 0.88));
}

.bitpen-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.48);
  transform-origin: center;
}

.bitpen-product-media-featured img {
  object-fit: cover;
  transform: scale(1.4);
  object-position: center 54%;
}

.bitpen-product-media-seedpill img {
  transform: scale(0.8);
}

.bitpen-product-media-seedbox img {
  transform: scale(1.19);
}

.bitpen-product-body {
  display: grid;
  align-content: start;
  gap: 0.72rem;
  padding: 1rem;
}

.bitpen-product-kind {
  margin: 0;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.bitpen-product h3 {
  font-size: 1.2rem;
}

.bitpen-product p {
  margin: 0;
  color: var(--text-soft);
}

.bitpen-buy {
  width: 100%;
  margin-top: auto;
  min-height: 3.15rem;
}

.local-copy {
  display: grid;
  gap: 1rem;
}

.local-copy p {
  margin: 0;
  color: var(--text-soft);
}

.local-panel,
.mini-cta {
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-top: 0.8rem;
  color: var(--text-soft);
}

.detail-list li:first-child {
  margin-top: 0;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
}

.mini-cta {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mini-cta .eyebrow {
  margin-bottom: 0.5rem;
}

.mini-cta h3 {
  max-width: 38rem;
}

.principle-card p {
  margin: 0.75rem 0 0;
}

.section-profile {
  position: relative;
}

.profile-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: start;
}

.profile-copy {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
}

.profile-copy p {
  margin: 0;
}

.profile-panel h3 {
  margin-bottom: 0.8rem;
}

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

.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(247, 147, 26, 0.14);
  color: var(--accent-deep);
  font-weight: 700;
}

.pricing-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: start;
}

.pricing-card {
  position: relative;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(247, 147, 26, 0.16), transparent 11rem),
    rgba(255, 255, 255, 0.92);
}

.price-label,
.price-subline {
  margin: 0;
  color: var(--text-soft);
}

.price-figure {
  margin: 0.35rem 0;
  font-family: "Cardo Local", Georgia, serif;
  font-size: clamp(3rem, 5vw, 4.2rem);
  line-height: 1;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-list details {
  position: relative;
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
}

.faq-list summary {
  padding-right: 2rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 0.95rem;
  color: var(--accent-deep);
  font-size: 1.35rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0.8rem 0 0;
  color: var(--text-soft);
}

.contact-section {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.subpage-hero {
  padding-bottom: 2rem;
}

.subpage-hero .hero-title-wide {
  hyphens: auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.15rem 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 1rem;
}

.contact-copy p {
  margin: 0;
}

.contact-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

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

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

.field-group label {
  font-weight: 700;
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(24, 22, 20, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
}

.field-group input:focus,
.field-group textarea:focus {
  outline: 2px solid rgba(247, 147, 26, 0.25);
  border-color: rgba(247, 147, 26, 0.5);
}

.form-button {
  width: 100%;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--text-soft);
}

.form-status[data-state="success"] {
  color: #17603b;
}

.form-status[data-state="error"] {
  color: #8d2b20;
}

.site-footer {
  padding: 1.4rem 0 2.4rem;
  border-top: 1px solid rgba(24, 22, 20, 0.08);
  background: rgba(255, 255, 255, 0.5);
}

.footer-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: var(--text-soft);
}

.footer-note {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(24, 22, 20, 0.08);
  font-size: 0.92rem;
}

.closing-section {
  padding-top: 0;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.closing-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.8rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(247, 147, 26, 0.22);
  background:
    radial-gradient(circle at top right, rgba(247, 147, 26, 0.18), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 248, 239, 0.94));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.closing-copy {
  display: grid;
  gap: 0.8rem;
  max-width: 46rem;
}

.closing-copy p {
  margin: 0;
  color: var(--text-soft);
}

.closing-button {
  min-width: 17rem;
}

.js-ready .reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .bitpen-products,
  .service-grid,
  .principles-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .header-row,
  .hero-grid,
  .two-column,
  .local-grid,
  .pricing-layout,
  .contact-grid,
  .profile-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .header-row {
    gap: 0.7rem;
    padding: 0.85rem 0 0.75rem;
    min-height: auto;
  }

  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.45rem 0.9rem;
  }

  .site-nav a {
    padding: 0.15rem 0;
    font-size: 0.93rem;
  }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 0.25rem;
    max-width: 100%;
    min-width: min(18.5rem, 100%);
    min-height: 3.1rem;
    padding: 0.92rem 1.95rem;
    white-space: nowrap;
  }

  .signal-grid,
  .service-grid,
  .fit-list,
  .principles-grid,
  .timeline-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .bitpen-intro,
  .bitpen-products {
    grid-template-columns: 1fr;
  }

  .bitpen-frame {
    padding: 1rem;
  }

  .bitpen-product-media {
    aspect-ratio: 16 / 11;
    min-height: 11rem;
  }

  .closing-band {
    grid-template-columns: 1fr;
  }

  .mini-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-section {
    min-height: calc(100svh - 8.8rem);
    min-height: calc(100dvh - 8.8rem);
    padding-top: 1rem;
    padding-bottom: 1.4rem;
  }

  .hero-copy,
  .hero-card,
  .contact-card,
  .bitpen-frame,
  .closing-band {
    border-radius: 1.6rem;
  }
}

@media (max-width: 640px) {
  .header-row {
    justify-items: center;
  }

  .brand {
    justify-self: center;
  }

  .site-nav {
    justify-content: center;
    overflow: hidden;
    max-height: 8.5rem;
    visibility: visible;
  }

  body.is-mobile-header-compact .site-header {
    box-shadow: 0 10px 28px rgba(24, 22, 20, 0.07);
  }

  body.is-mobile-header-compact .header-row {
    gap: 0;
    padding: 0.72rem 0 0.68rem;
  }

  body.is-mobile-header-compact .brand img {
    width: 48px;
    height: 48px;
  }

  body.is-mobile-header-compact .site-nav {
    opacity: 0;
    max-height: 0;
    transform: translateY(-8px);
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 640px) {
  body:not(.is-nav-cta-visible) .nav-cta-delayed {
    display: none;
  }

  body.is-nav-cta-visible .nav-cta-delayed {
    display: inline-flex;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.4rem, 13vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.95rem, 10vw, 2.8rem);
  }

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

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand span {
    justify-items: start;
  }

  .site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.8rem;
  }

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

  .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    align-self: center;
    margin-top: 0.25rem;
    max-width: 100%;
    min-width: min(18.5rem, 100%);
    min-height: 3.1rem;
    padding: 0.92rem 1.95rem;
    box-shadow: none;
    white-space: nowrap;
  }

  .closing-button {
    min-width: 0;
  }

  .bitpen-products {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .header-row {
    gap: 0.65rem;
    padding: 0.7rem 0 0.8rem;
  }

  .hero-section {
    min-height: calc(100svh - 8.4rem);
    min-height: calc(100dvh - 8.4rem);
    padding-top: 0.4rem;
    padding-bottom: 0.55rem;
  }

  .hero-grid {
    display: block;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: calc(100svh - 9.4rem);
    min-height: calc(100dvh - 9.4rem);
    padding: 1rem 1rem 1.15rem;
    color: #fff;
    background:
      linear-gradient(180deg, rgba(16, 13, 10, 0.1), rgba(16, 13, 10, 0.42) 46%, rgba(16, 13, 10, 0.82) 100%),
      radial-gradient(circle at 24% 72%, rgba(16, 13, 10, 0.78), rgba(16, 13, 10, 0) 42%),
      url("/assets/images/moritz-mobile-hero.jpeg");
    background-size: cover;
    background-position: center 24%;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 48px rgba(20, 16, 12, 0.22);
  }

  .hero-copy::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 32%);
  }

  .hero-copy::after {
    display: none;
  }

  .hero-card {
    display: none;
  }

  .eyebrow {
    margin-bottom: 0.7rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .hero-copy .eyebrow {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 1rem;
  }

  .hero-actions .button-secondary,
  .hero-lead,
  .hero-body,
  .compliance-note {
    display: none;
  }

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

  .hero-copy,
  .hero-card-body,
  .service-card,
  .signal-card,
  .principle-card,
  .timeline-card,
  .pricing-card,
  .profile-panel,
  .local-panel,
  .contact-card,
  .bitpen-product-body,
  .bitpen-frame {
    padding-inline: 1rem;
  }

  .hero-lead,
  .bitpen-intro p,
  .bitpen-product p {
    font-size: 0.97rem;
  }

  .hero-copy h1 {
    max-width: 8ch;
    font-size: clamp(2.2rem, 11.4vw, 3.1rem);
    color: #fff;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  }

  .hero-copy .hero-title-wide {
    max-width: 8ch;
    font-size: clamp(2.2rem, 11.4vw, 3.1rem);
  }

  .hero-lead {
    margin-top: 0.55rem;
  }

  .hero-actions .button-primary {
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  }

  .hero-primary-cta {
    min-width: 0;
    padding: 1rem 1.2rem;
  }
}

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

  .button,
  .signal-card,
  .service-card,
  .principle-card,
  .timeline-card,
  .pricing-card,
  .contact-card,
  .profile-panel,
  .faq-list details,
  .local-panel,
  .fit-list article,
  .reveal-item {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
