:root {
  --frame: #3f3f42;
  --navy: #222326;
  --navy-2: #303034;
  --blue: #de2727;
  --blue-dark: #bf1e24;
  --orange: #f58220;
  --silver: #8b8d91;
  --ice: #fff2ea;
  --ice-2: #fff8f4;
  --text: #191b20;
  --muted: #707276;
  --line: #eadbd5;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(40, 27, 24, 0.12);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--frame);
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.js-animations {
  overflow-x: clip;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: min(100%, 1460px);
  margin: 0 auto;
  background: var(--white);
  min-height: 100vh;
}

.page-pad {
  padding: 72px 76px;
}

.nav-wrap {
  position: absolute;
  inset: 26px 76px auto;
  z-index: 10;
}

.site-nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px 10px 10px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  min-width: max-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(191, 30, 36, 0.12);
}

.brand-mark img {
  width: 110%;
  height: 110%;
  object-fit: contain;
}

.brand span {
  display: block;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: #414247;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 99px;
  background: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--ice);
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  content: "";
}

.menu-toggle span {
  margin: 0 auto;
  position: relative;
}

.menu-toggle span::before {
  position: absolute;
  top: -6px;
}

.menu-toggle span::after {
  position: absolute;
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--blue) 72%);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(222, 39, 39, 0.24);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  padding: 0;
  min-height: auto;
}

.round-btn {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(63, 63, 66, 0.25);
  background: transparent;
  color: var(--navy);
}

.round-btn.blue {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 720px;
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(34, 35, 38, 0.78) 0%, rgba(34, 35, 38, 0.44) 36%, rgba(34, 35, 38, 0.06) 74%),
    linear-gradient(0deg, rgba(191, 30, 36, 0.23), rgba(34, 35, 38, 0.06)),
    url("assets/hero-dental.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-inner {
  min-height: 720px;
  padding: 180px 76px 64px;
  display: grid;
  align-content: end;
  gap: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.74fr);
  gap: 72px;
  align-items: end;
}

.hero-grid > * {
  min-width: 0;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(50px, 7vw, 92px);
  line-height: 0.93;
  letter-spacing: 0;
  max-width: 680px;
}

.hero h1 em,
.page-hero h1 em,
.section-title em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

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

.hero-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.58;
  max-width: 530px;
  margin: 24px 0 0;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-side {
  color: var(--white);
  align-self: end;
}

.hero-side p {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.5;
  max-width: 500px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-fact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 14px;
}

.mini-avatar-row {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.mini-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid var(--white);
  margin-right: -10px;
  background: var(--ice);
}

.section-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-title.center {
  text-align: center;
}

.section-title.small {
  font-size: clamp(34px, 4vw, 56px);
}

.micro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.micro::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--silver);
}

.about-home {
  position: relative;
  overflow: hidden;
  background: var(--white);
  text-align: center;
}

.about-home .lead {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

.about-home .lead span {
  color: var(--silver);
}

.about-float {
  position: absolute;
  width: 165px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.about-float.left {
  left: 92px;
  top: 215px;
  transform: rotate(9deg);
}

.about-float.right {
  right: 82px;
  top: 205px;
  transform: rotate(-3deg);
}

.info-strip {
  margin-top: 76px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.info-item {
  position: relative;
  padding: 0 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.info-item + .info-item {
  border-left: 1px solid var(--line);
}

.info-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  color: var(--white);
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-item strong {
  display: block;
  color: var(--navy);
  margin-bottom: 5px;
}

.band {
  background: var(--ice);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 48px;
}

.section-arrows {
  display: flex;
  gap: 12px;
}

.service-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 18px;
}

.service-card,
.insight-card,
.contact-card,
.value-card {
  background: var(--white);
  border: 1px solid rgba(63, 63, 66, 0.08);
  border-radius: var(--radius-md);
}

.service-card {
  padding: 24px 18px 18px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-icon {
  width: 34px;
  height: 34px;
  color: var(--navy);
}

.service-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.service-card img {
  width: 100%;
  height: 116px;
  margin-top: auto;
  object-fit: cover;
  border-radius: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(40, 27, 24, 0.08);
}

.team-card h3 {
  margin: 18px 0 6px;
  font-size: 18px;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.experience {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1fr);
  gap: 90px;
  align-items: center;
}

.experience-media {
  position: relative;
}

.experience-media img {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.comfort-note {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(40, 27, 24, 0.16);
}

.quote-mark {
  color: var(--blue);
  font-family: var(--serif);
  font-size: 82px;
  line-height: 0.6;
  margin-bottom: 18px;
}

.quote-text {
  margin: 24px 0;
  color: var(--navy);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.24;
}

.patient {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.patient img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
}

.patient strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
}

.faq-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 56px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  color: var(--navy);
  padding: 18px 24px;
  text-align: left;
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
}

.faq-question .round-btn {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  transform: rotate(90deg);
}

.faq-item.open {
  background: var(--ice);
  border-color: transparent;
}

.faq-item.open .faq-question .round-btn {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: rotate(-90deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  display: block;
}

.contact-card {
  padding: 34px;
  box-shadow: 0 16px 36px rgba(40, 27, 24, 0.08);
}

.contact-card h3 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  font-weight: 500;
}

.contact-line {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.45;
}

.contact-line strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insight-card {
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(40, 27, 24, 0.08);
}

.insight-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.insight-body {
  padding: 20px 24px 22px;
}

.insight-body h3 {
  min-height: 56px;
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.22;
}

.insight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.74);
}

.footer-top {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 260px;
  gap: 60px;
  align-items: center;
  padding: 68px 76px 50px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}

.footer .brand,
.footer h2,
.footer h3,
.footer strong {
  color: var(--white);
}

.footer-logo {
  margin-bottom: 26px;
}

.footer-copy {
  margin: 0 0 32px;
  max-width: 360px;
  line-height: 1.6;
}

.footer h2 {
  margin: 0 0 24px;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 0.98;
}

.footer h2 em {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
}

.footer-top img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0.86;
}

.footer-links {
  padding: 44px 76px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 34px;
}

.footer h3 {
  margin: 0 0 22px;
  font-size: 16px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  font-size: 14px;
}

.footer a:hover {
  color: var(--white);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  font-weight: 800;
}

.footer-bottom {
  padding: 0 76px 38px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.page-hero {
  position: relative;
  min-height: 540px;
  padding: 180px 76px 76px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(34, 35, 38, 0.82), rgba(34, 35, 38, 0.36)),
    var(--page-hero-image, url("assets/hero-dental.png"));
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.page-hero p {
  margin: 26px 0 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.6;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 70px;
}

.prose {
  max-width: 890px;
}

.prose h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.prose h3 {
  margin: 42px 0 14px;
  color: var(--navy);
  font-size: 26px;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.prose p {
  margin: 0 0 24px;
}

.prose ul {
  margin: 0;
  padding-left: 22px;
}

.side-panel {
  position: sticky;
  top: 24px;
  align-self: start;
}

.side-panel .contact-card {
  margin-bottom: 22px;
}

.value-stack {
  display: grid;
  gap: 16px;
}

.value-card {
  padding: 24px;
}

.value-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-detail {
  padding: 30px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
}

.service-detail h3 {
  margin-top: 0;
}

.map-card {
  min-height: 310px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 25% 30%, rgba(245, 130, 32, 0.26), transparent 30%),
    linear-gradient(135deg, #fff0e5, #fffafa);
  color: var(--navy);
  text-align: center;
  padding: 30px;
  border: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  color: var(--navy);
  background: var(--white);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(222, 39, 39, 0.12);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.service-nav-list {
  display: grid;
  gap: 12px;
}

.service-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy);
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.service-nav-list a:hover,
.service-nav-list a.active {
  background: var(--ice);
  border-color: rgba(222, 39, 39, 0.32);
  transform: translateX(4px);
}

.service-image-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 38px 0;
}

.service-image-strip img {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 32px rgba(40, 27, 24, 0.09);
}

.service-cta-band {
  margin-top: 44px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--ice);
}

.service-cta-band h3 {
  margin-top: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card,
.post-nav-card {
  background: var(--white);
  border: 1px solid rgba(63, 63, 66, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(40, 27, 24, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.blog-card:hover,
.post-nav-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(40, 27, 24, 0.12);
  border-color: rgba(222, 39, 39, 0.18);
}

.blog-card img,
.article-hero-image {
  width: 100%;
  object-fit: cover;
}

.blog-card img {
  height: 220px;
}

.blog-card-body,
.post-nav-card {
  padding: 24px;
}

.blog-card h2,
.blog-card h3,
.post-nav-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.2;
}

.blog-card p,
.post-nav-card p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.post-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--blue));
}

.article-hero-image {
  aspect-ratio: 1.7 / 1;
  margin: 0 0 42px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.article-note {
  margin: 40px 0;
  padding: 28px;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--ice-2);
  color: var(--navy);
  font-size: 18px;
  line-height: 1.6;
}

.post-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.reveal {
  opacity: 1;
  transform: none;
}

body.js-animations .reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  filter: blur(8px);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 760ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

body.js-animations .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

body.js-animations .reveal.is-exiting {
  opacity: 0.42;
  transform: translate3d(0, -18px, 0);
  filter: blur(4px);
}

body.js-animations .reveal-item {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

body.js-animations .reveal.is-visible .reveal-item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.js-animations .hero.reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

body.js-animations .hero .hero-media {
  transform: scale(1.04);
  transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.js-animations .hero.is-visible .hero-media {
  transform: scale(1);
}

body.js-animations .page-hero.reveal {
  transform: none;
}

body.js-animations .page-hero::before {
  transform: scale(1.04);
  transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.js-animations .page-hero.is-visible::before {
  transform: scale(1);
}

body.js-animations .about-float.left {
  transform: rotate(9deg) translate3d(-18px, 18px, 0);
}

body.js-animations .about-float.right {
  transform: rotate(-3deg) translate3d(18px, 18px, 0);
}

body.js-animations .about-home.is-visible .about-float.left {
  transform: rotate(9deg) translate3d(0, 0, 0);
}

body.js-animations .about-home.is-visible .about-float.right {
  transform: rotate(-3deg) translate3d(0, 0, 0);
}

.service-card,
.team-card,
.insight-card,
.service-detail,
.value-card,
.contact-card,
.experience-media img {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover,
.team-card:hover,
.insight-card:hover,
.service-detail:hover,
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(40, 27, 24, 0.12);
  border-color: rgba(222, 39, 39, 0.18);
}

.experience-media:hover img {
  transform: scale(1.015);
}

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

  body.js-animations .reveal,
  body.js-animations .reveal-item {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.hidden {
  display: none;
}

@media (max-width: 1180px) {
  .page-pad,
  .footer-top,
  .footer-links,
  .footer-bottom,
  .hero-inner,
  .page-hero {
    padding-left: 42px;
    padding-right: 42px;
  }

  .nav-wrap {
    left: 42px;
    right: 42px;
  }

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

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

  .hero-grid,
  .experience,
  .faq-contact,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-side {
    max-width: 560px;
  }

  .about-float {
    opacity: 0.42;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  body {
    background: var(--white);
  }

  .site-shell {
    width: 100%;
  }

  .nav-wrap {
    inset: 16px 16px auto;
  }

  .site-nav {
    border-radius: 26px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 10px;
  }

  .brand {
    padding: 8px 6px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    order: 3;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 14px 14px;
    font-size: 16px;
  }

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

  .nav-links a {
    padding: 14px 2px;
    border-top: 1px solid var(--line);
  }

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

  .nav-actions .btn {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 760px;
  }

  .hero-inner {
    padding: 150px 24px 40px;
    gap: 46px;
  }

  .hero-grid {
    width: min(100%, calc(100vw - 48px));
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .hero-grid > div,
  .hero-side {
    width: 100%;
    max-width: calc(100vw - 48px);
  }

  .hero h1,
  .page-hero h1 {
    max-width: calc(100vw - 48px);
    font-size: clamp(39px, 10.6vw, 56px);
  }

  .hero-copy,
  .hero-side p {
    max-width: calc(100vw - 48px);
    overflow-wrap: break-word;
    font-size: 17px;
  }

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

  .hero-actions {
    width: min(100%, calc(100vw - 48px));
  }

  .page-pad,
  .footer-top,
  .footer-links,
  .footer-bottom,
  .page-hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-home .lead {
    font-size: 32px;
  }

  .about-float {
    display: none;
  }

  .info-strip,
  .team-grid,
  .insight-grid,
  .blog-grid,
  .post-nav-grid,
  .footer-top,
  .footer-links,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .info-item + .info-item {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }

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

  .service-row {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .service-card {
    min-width: 258px;
    scroll-snap-align: start;
  }

  .service-image-strip {
    grid-template-columns: 1fr;
  }

  .faq-question {
    font-size: 17px;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-media {
    background-position: 60% center;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 39px;
  }

  .brand span {
    font-size: 14px;
  }

  .brand small {
    font-size: 8px;
  }

  .section-title,
  .section-title.small {
    font-size: 38px;
  }

  .page-hero {
    min-height: 500px;
    padding-top: 150px;
  }

  .content-grid {
    gap: 38px;
  }

  .prose p,
  .prose li {
    font-size: 16px;
  }
}
