:root {
  --ink: #101417;
  --graphite: #24292d;
  --muted: #667176;
  --line: #dce1de;
  --paper: #fbfaf6;
  --porcelain: #eef3ef;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-deep: #0a4f49;
  --sage: #7f9c8a;
  --amber: #c88935;
  --clay: #9b5139;
  --blue: #31566b;
  --shadow: 0 24px 70px rgba(16, 20, 23, 0.14);
  --radius: 8px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

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

button {
  cursor: pointer;
}

ul,
dl,
dd {
  margin: 0;
}

.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(var(--max-width), calc(100% - 44px));
  margin: 0 auto;
}

.section-block {
  padding: 104px 0;
}

.site-header {
  position: fixed;
  inset: 18px 22px auto;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius);
  background: rgba(251, 250, 246, 0.84);
  box-shadow: 0 16px 44px rgba(16, 20, 23, 0.1);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(220, 225, 222, 0.94);
  background: rgba(251, 250, 246, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 19px;
  color: rgba(36, 41, 45, 0.74);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal-deep);
}

.header-cta,
.sticky-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--white);
  background: var(--ink);
  font-weight: 850;
  white-space: nowrap;
}

.header-cta {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  box-shadow: 0 18px 42px rgba(10, 79, 73, 0.28);
  background: var(--teal-deep);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: var(--ink);
}

.hero {
  min-height: 88vh;
  padding: 146px 0 80px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 20, 23, 0.92) 0%, rgba(16, 20, 23, 0.64) 44%, rgba(16, 20, 23, 0.08) 100%),
    linear-gradient(180deg, rgba(16, 20, 23, 0.04), rgba(16, 20, 23, 0.6)),
    url("assets/northframe-dental-ops-hero.png") center / cover no-repeat;
}

.hero-inner {
  display: flex;
  min-height: calc(88vh - 226px);
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.why-section .eyebrow,
.booking-section .eyebrow,
.contact-section .eyebrow {
  color: #a8e0d7;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  color: var(--white);
  font-size: 5.45rem;
}

h2 {
  color: var(--ink);
  font-size: 3.45rem;
}

h3 {
  color: var(--ink);
  font-size: 1.22rem;
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
}

.hero-actions,
.booking-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  line-height: 1;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--teal-deep);
  box-shadow: 0 18px 36px rgba(15, 118, 110, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--teal);
}

.btn-secondary,
.btn-quiet {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.btn-quiet {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.05);
}

.btn-secondary-light {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin: 44px 0 0;
}

.hero-metrics div {
  min-height: 110px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-metrics dt {
  color: var(--white);
  font-size: 1.72rem;
  font-weight: 900;
  line-height: 1;
}

.hero-metrics dd {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.trust-authority {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.trust-grid article {
  min-height: 170px;
  padding: 24px;
  background: var(--white);
}

.trust-grid span,
.card-kicker,
.package-label,
.process-grid span,
.before-after-grid article > span,
.case-metrics span,
.why-grid span,
.roi-output-grid span,
.audit-checklist span,
.resource-card span,
.case-study-card span,
.outreach-grid span {
  display: inline-block;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.audit-offer {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.audit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 46px;
  align-items: start;
}

.audit-layout .btn,
.roi-layout .btn {
  margin-top: 26px;
}

.audit-checklist {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 18px 48px rgba(16, 20, 23, 0.06);
}

.audit-checklist article {
  min-height: 170px;
  padding: 24px;
  background: var(--paper);
}

.audit-checklist h3 {
  margin-top: 22px;
}

.audit-checklist p {
  margin: 12px 0 0;
  color: var(--muted);
}

.trust-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 1.02rem;
}

.trust-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.align-left {
  margin-left: 0;
  text-align: left;
}

.align-left p:not(.eyebrow) {
  margin-left: 0;
}

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

.service-card,
.package-card,
.testimonial-grid figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(16, 20, 23, 0.06);
}

.service-card {
  display: flex;
  min-height: 336px;
  flex-direction: column;
  padding: 24px;
}

.card-kicker {
  margin-bottom: 54px;
  color: var(--teal-deep);
}

.service-card:nth-child(2) .card-kicker,
.service-card:nth-child(5) .card-kicker {
  color: var(--clay);
}

.service-card:nth-child(3) .card-kicker,
.service-card:nth-child(6) .card-kicker {
  color: var(--blue);
}

.service-card p,
.service-card strong,
.package-card li,
.process-grid p,
.why-grid p,
.before-after-grid li,
.case-metrics span,
.testimonial-grid figcaption,
.faq-list p,
.contact-layout p,
.site-footer p,
.calendly-fallback p,
.booking-copy p,
.company-story p,
.roi-layout p {
  color: var(--muted);
}

.service-card p {
  margin: 14px 0 0;
  font-size: 0.96rem;
}

.service-card strong {
  display: block;
  margin-top: auto;
  padding-top: 26px;
  color: var(--teal-deep);
  font-size: 0.9rem;
}

.inline-cta {
  padding: 58px 0;
  color: var(--white);
  background: var(--graphite);
}

.inline-cta-light {
  color: var(--ink);
  background: var(--white);
  border-block: 1px solid var(--line);
}

.cta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-row h2 {
  max-width: 760px;
  color: currentColor;
  font-size: 2.35rem;
}

.inline-cta .eyebrow {
  color: #a8e0d7;
}

.inline-cta-light .eyebrow {
  color: var(--teal);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.package-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 28px;
}

.package-featured {
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow: 0 24px 70px rgba(15, 118, 110, 0.16);
}

.package-card h3 {
  margin-top: 34px;
  font-size: 1.62rem;
}

.package-price {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.package-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.package-card li {
  position: relative;
  padding-left: 22px;
}

.package-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--teal);
}

.package-card .btn {
  width: 100%;
}

.package-actions {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.package-audit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--teal-deep);
  background: var(--paper);
  font-size: 0.9rem;
  font-weight: 850;
}

.package-note {
  max-width: 760px;
  margin: 26px auto 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--white);
  text-align: center;
}

.resource-grid,
.case-study-grid,
.outreach-grid {
  display: grid;
  gap: 14px;
}

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

.resource-card,
.case-study-card,
.outreach-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(16, 20, 23, 0.06);
}

.resource-card {
  min-height: 300px;
  padding: 28px;
}

.resource-card h3,
.case-study-card h3,
.outreach-grid h3 {
  margin-top: 30px;
}

.resource-card p,
.case-study-card p,
.case-study-card li,
.outreach-grid p {
  color: var(--muted);
}

.resource-card p,
.outreach-grid p {
  margin: 14px 0 0;
}

.resource-card a {
  display: inline-flex;
  margin-top: 28px;
  color: var(--teal-deep);
  font-weight: 850;
  border-bottom: 2px solid currentColor;
}
}

.why-section {
  color: var(--white);
  background: var(--graphite);
}

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

.why-section .section-heading p:not(.eyebrow),
.why-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 52px;
  align-items: start;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.16);
}

.why-grid article {
  min-height: 226px;
  padding: 28px;
  background: var(--graphite);
}

.why-grid h3 {
  margin-top: 26px;
}

.why-grid p {
  margin: 14px 0 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.process-grid article {
  min-height: 286px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.process-grid article:last-child {
  border-right: 0;
}

.process-grid span {
  margin-bottom: 70px;
}

.process-grid p {
  margin: 14px 0 0;
}

.roi-section {
  background: var(--porcelain);
}

.roi-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 46px;
  align-items: center;
}

.roi-calculator {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.roi-calculator label {
  display: grid;
  gap: 9px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
}

.roi-calculator input {
  width: 100%;
  min-height: 56px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
}

.roi-calculator input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.roi-output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.roi-output-grid div {
  min-height: 156px;
  padding: 22px;
  background: var(--ink);
}

.roi-output-grid span {
  color: rgba(255, 255, 255, 0.62);
}

.roi-output-grid strong {
  display: block;
  margin-top: 20px;
  color: var(--white);
  font-size: 2.3rem;
  line-height: 1;
}

.results-section,
.case-studies-section {
  background: var(--porcelain);
}

.case-study-card {
  min-height: 390px;
  padding: 28px;
}

.case-study-card ol {
  display: grid;
  gap: 14px;
  padding-left: 20px;
  margin: 24px 0 0;
}

.case-study-status {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(16, 20, 23, 0.98)),
    var(--ink);
}

.case-study-status h3,
.case-study-status p {
  color: var(--white);
}

.case-study-status span {
  color: #a8e0d7;
}

.before-after-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 44px;
  align-items: start;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.before-after-grid article {
  min-height: 420px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(16, 20, 23, 0.06);
}

.before-panel > span {
  color: var(--clay);
}

.after-panel > span {
  color: var(--teal-deep);
}

.before-after-grid h3 {
  margin-top: 32px;
}

.before-after-grid ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.before-after-grid li {
  position: relative;
  padding-left: 24px;
}

.before-after-grid li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: currentColor;
}

.case-metrics {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.case-metrics div {
  min-height: 136px;
  padding: 22px;
  background: var(--white);
}

.case-metrics strong {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 2.5rem;
  line-height: 1;
}

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

.testimonial-grid figure {
  min-height: 286px;
  margin: 0;
  padding: 28px;
}

.testimonial-grid blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.45;
}

.testimonial-grid figcaption {
  margin-top: 34px;
  font-size: 0.92rem;
  font-weight: 800;
}

.company-section {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 52px;
  align-items: start;
}

.company-story {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-left: 4px solid var(--teal);
  background: var(--paper);
}

.company-story p {
  margin: 0;
  font-size: 1.06rem;
}

.pilot-disclaimer {
  max-width: 620px;
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: var(--radius);
  color: var(--teal-deep);
  background: rgba(15, 118, 110, 0.08);
  font-size: 0.94rem;
  font-weight: 850;
}

.company-section .pilot-disclaimer {
  color: var(--teal-deep);
}

.contact-section .pilot-disclaimer {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

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

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

.outreach-grid article {
  min-height: 300px;
  padding: 26px;
}

.booking-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.92), rgba(16, 20, 23, 0.99)),
    var(--ink);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: 46px;
  align-items: center;
}

.booking-copy h2 {
  color: var(--white);
}

.booking-copy p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
}

.booking-points {
  margin-top: 28px;
}

.booking-points span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
}

.calendly-panel {
  min-height: 646px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.calendly-inline-widget {
  width: 100%;
  min-width: 320px;
  height: 620px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}

.calendly-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  padding: 18px;
  border-radius: 6px;
  background: var(--white);
}

.calendly-fallback p {
  margin: 0;
}

.faq-list {
  max-width: 870px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  position: relative;
  min-height: 78px;
  padding: 24px 58px 24px 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 22px;
  right: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--teal-deep);
  background: var(--white);
}

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

.faq-list p {
  max-width: 700px;
  margin: 0 0 24px;
}

.contact-section {
  padding: 104px 0;
  color: var(--white);
  background: var(--graphite);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 52px;
  align-items: start;
}

.contact-layout h2 {
  color: var(--white);
}

.contact-layout p {
  max-width: 580px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.contact-form input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.contact-form input:focus {
  border-color: rgba(255, 255, 255, 0.7);
}

.contact-form button {
  grid-column: 1 / -1;
  min-height: 56px;
  margin-top: 6px;
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
}

.site-footer {
  padding: 42px max(22px, calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 34px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 16px 0 0;
}

.site-footer strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
}

.site-footer address {
  font-style: normal;
}

.site-footer address a {
  display: block;
  margin-top: 8px;
}

.animate-ready [data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.animate-ready [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .site-header {
    display: flex;
    width: auto;
    max-width: none;
    justify-content: space-between;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
    flex: 0 0 42px;
    margin-left: auto;
    border-color: var(--ink);
    background: var(--ink);
  }

  .nav-toggle span:not(.sr-only) {
    background: var(--white);
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-active .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-header.nav-active .site-nav a {
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
  }

  .site-header.nav-active .site-nav a:last-child {
    border-bottom: 0;
  }

  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 2.9rem;
  }

  .hero {
    min-height: 86vh;
    padding-top: 128px;
  }

  .trust-grid,
  .service-grid,
  .package-grid,
  .resource-grid,
  .case-study-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-layout,
  .audit-layout,
  .roi-layout,
  .before-after-layout,
  .company-layout,
  .booking-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .case-metrics {
    grid-column: auto;
  }

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

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

  .process-grid article:nth-child(2) {
    border-right: 0;
  }

  .process-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 76px;
  }

  .section-shell {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .site-header {
    inset: 10px 12px auto;
    padding: 10px;
    max-width: calc(100vw - 24px);
    overflow: hidden;
  }

  .nav-toggle {
    position: fixed;
    top: 20px;
    right: 22px;
    z-index: 60;
  }

  .sticky-cta {
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: auto;
  }

  .hero {
    min-height: 84vh;
    padding: 116px 0 56px;
    background:
      linear-gradient(90deg, rgba(16, 20, 23, 0.94), rgba(16, 20, 23, 0.72)),
      url("assets/northframe-dental-ops-hero.png") center / cover no-repeat;
  }

  .hero-inner {
    min-height: calc(84vh - 172px);
    width: calc(100vw - 52px);
    max-width: calc(100vw - 52px);
    min-width: 0;
  }

  h1 {
    max-width: calc(100vw - 52px);
    font-size: 2.28rem;
  }

  h2 {
    font-size: 2.28rem;
  }

  .hero-lede {
    width: calc(100vw - 52px);
    max-width: calc(100vw - 52px);
    white-space: normal;
    font-size: 1.02rem;
  }

  .hero-actions,
  .btn,
  .cta-row {
    width: 100%;
  }

  .hero-actions {
    width: calc(100vw - 52px);
    max-width: calc(100vw - 52px);
  }

  .hero-metrics {
    display: none;
  }

  .trust-grid,
  .service-grid,
  .package-grid,
  .resource-grid,
  .case-study-grid,
  .why-grid,
  .process-grid,
  .outreach-grid,
  .roi-output-grid,
  .before-after-grid,
  .case-metrics,
  .testimonial-grid,
  .contact-form,
  .cta-row {
    grid-template-columns: 1fr;
  }

  .section-block,
  .contact-section {
    padding: 76px 0;
  }

  .inline-cta {
    padding: 48px 0;
  }

  .section-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .service-card,
  .package-card,
  .audit-checklist article,
  .resource-card,
  .case-study-card,
  .outreach-grid article,
  .why-grid article,
  .process-grid article,
  .testimonial-grid figure,
  .trust-grid article {
    min-height: auto;
  }

  .card-kicker,
  .process-grid span {
    margin-bottom: 34px;
  }

  .process-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-grid article:last-child {
    border-bottom: 0;
  }

  .before-after-grid article {
    min-height: auto;
  }

  .roi-output-grid div {
    min-height: 130px;
  }

  .calendly-panel {
    min-height: 560px;
    padding: 8px;
  }

  .calendly-inline-widget {
    min-width: 0;
    height: 540px;
  }

  .calendly-fallback {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form button {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.08rem;
  }

  h2 {
    font-size: 2rem;
  }

  .brand {
    font-size: 0.78rem;
  }
}

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