/* About page — aligned with the approved Home and Contact design system. */
.about-page.dv-home {
  --about-ink: #413329;
  --about-muted: #756f67;
  --about-gold: #8e6d3e;
  --about-line: #d3c8b8;
  --about-paper: #fbf9f5;
  --about-cream: #f1ece3;
  background: var(--about-paper);
  color: var(--about-ink);
}

.about-page.dv-home main {
  overflow: hidden;
  background: var(--about-paper);
}

.about-page.dv-home .container {
  width: min(100% - 176px, 1200px);
}

.about-page.dv-home main section {
  scroll-margin-top: 96px;
}

.about-page.dv-home main :is(h1, h2, h3, p) {
  text-wrap: balance;
}

.about-page.dv-home main :is(h1, h2, h3) {
  color: var(--about-ink);
  font-family: var(--font-body);
}

.about-page.dv-home main :is(h1, h2) em {
  color: var(--about-gold);
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
}

.about-page.dv-home .about-section-heading > p:last-child,
.about-page.dv-home .about-patient-journey__heading > p:last-child,
.about-page.dv-home .about-faq__heading > p:last-child {
  max-width: 42rem;
  margin: 18px 0 0;
  color: var(--about-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.about-page.dv-home .about-text-link {
  position: relative;
}

.about-page.dv-home .about-text-link::before {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(.72);
  transform-origin: left;
  transition: transform 280ms var(--ease-standard);
}

.about-media-card {
  min-width: 0;
  margin: 0;
  padding: 8px 8px 10px;
  border: 1px solid var(--about-line);
  border-radius: 18px;
  background: var(--about-paper);
  box-shadow: 0 10px 28px rgba(65, 51, 41, .06);
  transition: transform 380ms var(--ease-standard), border-color 300ms ease, box-shadow 380ms var(--ease-standard);
}

.about-media-card__image {
  display: block;
  min-height: 0;
  overflow: hidden;
  border-radius: 13px;
}

.about-media-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-standard);
}

.about-media-card figcaption {
  margin: 0;
  padding: 9px 7px 0;
  color: var(--about-muted);
  font-size: .76rem;
  line-height: 1.5;
}

.about-page.dv-home .about-hero {
  position: relative;
  padding: 22px 0 clamp(54px, 6vw, 78px);
  overflow: clip;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, .95) 0 22%, rgba(255, 255, 255, .25) 48%, transparent 66%),
    radial-gradient(circle at 12% 38%, rgba(241, 236, 227, .94), transparent 34%),
    var(--about-paper);
}

.about-page.dv-home .about-hero__stage {
  position: relative;
  width: var(--dv-shell-wrap);
  height: clamp(440px, 40vw, 520px);
  min-height: 0;
  display: grid;
  place-items: center;
}

.about-page.dv-home .about-hero__content {
  position: relative;
  z-index: 5;
  width: min(100%, 620px);
  text-align: center;
}

.about-page.dv-home .about-hero__content .dv-kicker {
  justify-content: center;
}

.about-page.dv-home .about-hero__title {
  margin: 0;
  font-size: clamp(2.6rem, 4.2vw, 4.2rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.025em;
  white-space: normal;
}

.about-page.dv-home .about-hero__title em {
  display: inline;
  margin: 0;
  font-size: 1em;
}

.about-page.dv-home .about-hero__intro {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--about-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.about-page.dv-home .about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  margin-top: 24px;
}

.about-hero-photo {
  position: absolute;
  z-index: 2;
  margin: 0;
  filter: drop-shadow(0 12px 20px rgba(65, 51, 41, .12));
}

.about-hero-photo__frame {
  width: 100%;
  height: 100%;
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(65, 51, 41, .12);
  border-radius: 18px;
  background: #fff;
  transition: transform 420ms var(--ease-standard), box-shadow 420ms var(--ease-standard);
}

.about-hero-photo img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 700ms var(--ease-standard);
}

.about-hero-photo--consultation {
  top: 4%;
  left: 0;
  width: clamp(118px, 11vw, 155px);
  aspect-ratio: 4 / 3;
  transform: rotate(-3deg);
}

.about-hero-photo--consultation img {
  object-position: center 58%;
}

.about-hero-photo--care {
  bottom: 9%;
  left: 3%;
  width: clamp(96px, 9vw, 128px);
  aspect-ratio: 3 / 4;
  transform: rotate(2deg);
}

.about-hero-photo--mukul {
  bottom: 0;
  left: 17%;
  width: clamp(88px, 8vw, 116px);
  aspect-ratio: 4 / 5;
  transform: rotate(-1.5deg);
}

.about-hero-photo--clinic {
  top: 3%;
  right: 0;
  width: clamp(145px, 14vw, 190px);
  aspect-ratio: 4 / 3;
  transform: rotate(3deg);
}

.about-hero-photo--surbhi {
  right: 4%;
  bottom: 9%;
  width: clamp(94px, 9vw, 124px);
  aspect-ratio: 4 / 5;
  transform: rotate(-2deg);
}

.about-hero-photo--treatment {
  right: 18%;
  bottom: 0;
  width: clamp(84px, 8vw, 112px);
  aspect-ratio: 3 / 4;
  transform: rotate(2deg);
}

.about-hero-label {
  position: absolute;
  z-index: 3;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--about-line);
  border-radius: 999px;
  background: rgba(251, 249, 245, .94);
  color: var(--about-ink);
  box-shadow: 0 8px 22px rgba(65, 51, 41, .08);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .035em;
}

.about-hero-label--location { top: 13%; left: 18%; }
.about-hero-label--implants { top: 15%; right: 19%; }
.about-hero-label--planning { right: 19%; bottom: 14%; }

.about-hero__scroll {
  position: absolute;
  bottom: 2px;
  left: 50%;
  z-index: 5;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--about-muted);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.about-hero__scroll-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--about-line);
  border-radius: 50%;
  transition: transform 280ms var(--ease-standard), background-color 280ms ease;
}

.about-story,
.about-image-story,
.about-principles,
.about-visual-sequence,
.about-patient-journey {
  padding: clamp(56px, 5vw, 80px) 0;
}

.about-story {
  background: #fff;
}

.about-story__layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(320px, 1fr);
  gap: 36px clamp(36px, 5vw, 64px);
  align-items: start;
}

.about-story__heading h2 {
  max-width: 10em;
}

.about-story__copy p {
  max-width: 640px;
  margin: 0 0 16px;
  color: var(--about-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.about-story__copy .about-text-link {
  margin-top: 4px;
}

.about-story__media {
  grid-column: 1 / -1;
  width: min(100%, 1000px);
  justify-self: center;
}

.about-story__media .about-media-card__image {
  aspect-ratio: 16 / 7;
}

.about-image-story,
.about-visual-sequence {
  background: var(--about-cream);
}

.about-image-story__heading,
.about-visual-sequence__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
  gap: 20px 48px;
  align-items: end;
  margin-bottom: 32px;
}

.about-image-story__heading > :not(:last-child),
.about-visual-sequence__heading > :not(:last-child) {
  grid-column: 1;
}

.about-image-story__heading > p:last-child,
.about-visual-sequence__heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  margin: 0;
}

.about-image-story__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.about-image-story__item {
  display: flex;
  flex-direction: column;
}

.about-image-story__item .about-media-card__image {
  flex: 1;
}

.about-image-story__item--wide {
  grid-column: 1 / 8;
  grid-row: 1;
  aspect-ratio: 16 / 9;
}

.about-image-story__item--tall {
  grid-column: 8 / 13;
  grid-row: 1 / 3;
}

.about-image-story__item--procedure {
  grid-column: 1 / 4;
  grid-row: 2;
  aspect-ratio: 1;
}

.about-image-story__item--room {
  grid-column: 4 / 8;
  grid-row: 2;
  aspect-ratio: 4 / 3;
}

.about-principles {
  background: var(--about-paper);
}

.about-principles__heading {
  display: grid;
  grid-template-columns: .42fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.about-principles__heading h2 {
  max-width: 11em;
}

.about-principles__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--about-line);
}

.about-principle {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 6px 18px;
  padding: 26px 32px 28px 0;
  border-bottom: 1px solid var(--about-line);
}

.about-principle:nth-child(even) {
  padding-right: 0;
  padding-left: 32px;
  border-left: 1px solid var(--about-line);
}

.about-principle__number {
  grid-row: 1 / 3;
  padding-top: 4px;
  color: var(--about-gold);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.about-principle h3 {
  margin: 0;
}

.about-principle p {
  max-width: 500px;
  margin: 6px 0 0;
  color: var(--about-muted);
  font-size: .94rem;
  line-height: 1.65;
}

.about-visual-sequence {
  overflow: clip;
}

.about-visual-sequence__track {
  width: min(100% - 64px, 1200px);
  display: grid;
  grid-template-columns: .85fr 1fr 1.2fr 1fr .85fr;
  gap: 14px;
  align-items: center;
  margin: 32px auto 0;
}

.about-visual-sequence__item {
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 5;
}

.about-visual-sequence__item .about-media-card__image {
  flex: 1;
}

.about-visual-sequence__item--one { transform: translateY(14px) rotate(-1deg); }
.about-visual-sequence__item--two { transform: translateY(-8px); }
.about-visual-sequence__item--four { transform: translateY(-8px); }
.about-visual-sequence__item--five { transform: translateY(14px) rotate(1deg); }

.about-patient-journey {
  background: #fff;
}

.about-patient-journey__layout {
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.about-patient-journey__heading {
  position: sticky;
  top: 124px;
}

.about-patient-journey__steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--about-line);
  list-style: none;
}

.about-patient-journey__steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--about-line);
}

.about-patient-journey__steps > li > span {
  padding-top: 4px;
  color: var(--about-gold);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.about-patient-journey__steps h3 {
  margin: 0;
}

.about-patient-journey__steps p {
  max-width: 580px;
  margin: 6px 0 0;
  color: var(--about-muted);
  font-size: .94rem;
  line-height: 1.65;
}

.about-page.dv-home .about-faq {
  background: var(--about-cream);
}

.about-page.dv-home .about-faq__heading h2 {
  max-width: 9em;
}

.about-page.dv-home .about-faq .dv-faq {
  min-width: 0;
}

.about-page.dv-home .about-faq .dv-faq-trigger > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.about-page.dv-home .about-faq .dv-faq-answer p {
  max-width: 650px;
  color: var(--about-muted);
}

@media (hover: hover) and (pointer: fine) {
  .about-page.dv-home .about-text-link:hover::before {
    transform: scaleX(1);
  }

  .about-page.dv-home .about-text-link:hover span {
    transform: translate(2px, -2px);
  }

  .about-page.dv-home .about-hero__scroll:hover .about-hero__scroll-icon {
    background: #fff;
    transform: translateY(3px);
  }

  .about-page.dv-home .about-hero-photo:hover .about-hero-photo__frame {
    box-shadow: 0 16px 34px rgba(65, 51, 41, .12);
    transform: translateY(-3px);
  }

  .about-page.dv-home .about-hero-photo:hover img,
  .about-page.dv-home .about-media-card:hover img {
    transform: scale(1.025);
  }

  .about-page.dv-home .about-media-card:hover {
    border-color: #baaa8b;
    box-shadow: 0 14px 32px rgba(65, 51, 41, .1);
  }
}

@media (max-width: 1100px) {
  .about-page.dv-home .container {
    width: min(100% - 64px, 1200px);
  }

  .about-hero-label {
    display: none;
  }

  .about-page.dv-home .about-hero__content {
    width: min(58vw, 560px);
  }

  .about-principles__heading {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 900px) {
  .about-page.dv-home .about-hero__stage {
    height: auto;
    min-height: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    gap: 12px;
    padding-top: 34px;
  }

  .about-page.dv-home .about-hero__content {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(100%, 620px);
    margin: 0 auto 24px;
  }

  .about-hero-photo {
    position: relative;
    inset: auto;
    width: auto;
    aspect-ratio: 4 / 5;
    transform: none;
  }

  .about-hero-photo--care,
  .about-hero-photo--treatment {
    display: none;
  }

  .about-hero-photo--consultation { grid-column: 1; grid-row: 2; }
  .about-hero-photo--mukul { grid-column: 2; grid-row: 2; }
  .about-hero-photo--clinic { grid-column: 3; grid-row: 2; }
  .about-hero-photo--surbhi { grid-column: 4; grid-row: 2; }

  .about-hero__scroll {
    position: relative;
    inset: auto;
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 8px;
    transform: none;
  }

  .about-story__layout,
  .about-patient-journey__layout {
    grid-template-columns: 1fr;
  }

  .about-story__copy {
    max-width: 720px;
  }

  .about-patient-journey__heading {
    position: static;
  }

  .about-image-story__heading,
  .about-visual-sequence__heading {
    grid-template-columns: 1fr;
  }

  .about-image-story__heading > p:last-child,
  .about-visual-sequence__heading > p:last-child {
    grid-column: 1;
    grid-row: auto;
    max-width: 42rem;
  }

  .about-visual-sequence__track {
    width: 100%;
    display: flex;
    gap: 14px;
    margin-top: 28px;
    padding: 8px 32px 22px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 32px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .about-visual-sequence__track::-webkit-scrollbar {
    display: none;
  }

  .about-visual-sequence__item {
    width: min(48vw, 310px);
    flex: 0 0 auto;
    scroll-snap-align: center;
    transform: none;
  }
}

@media (max-width: 700px) {
  .about-page.dv-home .container {
    width: calc(100% - 40px);
  }

  .about-page.dv-home .about-hero {
    padding: 14px 0 48px;
  }

  .about-page.dv-home .about-hero__stage {
    width: calc(100% - 40px);
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
    padding-top: 30px;
  }

  .about-page.dv-home .about-hero__title {
    font-size: clamp(2.2rem, 8.5vw, 3rem);
  }

  .about-page.dv-home .about-hero__intro {
    max-width: 34em;
    margin-top: 14px;
    font-size: .94rem;
  }

  .about-page.dv-home .about-hero__actions {
    gap: 12px 18px;
    margin-top: 20px;
  }

  .about-hero-photo--consultation,
  .about-hero-photo--care,
  .about-hero-photo--clinic {
    display: none;
  }

  .about-hero-photo--mukul {
    display: block;
    grid-column: 1 / 4;
    grid-row: 2;
    transform: translateY(5px) rotate(-1.5deg);
  }

  .about-hero-photo--surbhi {
    display: block;
    grid-column: 4 / 7;
    grid-row: 2;
    transform: rotate(1.5deg);
  }

  .about-hero-photo--treatment {
    display: block;
    grid-column: 3 / 5;
    grid-row: 2;
    z-index: 3;
    margin: 30px 0 -12px;
    transform: rotate(1deg);
  }

  .about-hero-photo__frame {
    padding: 5px;
    border-radius: 15px;
  }

  .about-hero-photo img {
    border-radius: 10px;
  }

  .about-story,
  .about-image-story,
  .about-principles,
  .about-visual-sequence,
  .about-patient-journey {
    padding: 44px 0;
  }

  .about-story__layout {
    gap: 28px;
  }

  .about-story__media {
    padding: 6px 6px 9px;
  }

  .about-story__media .about-media-card__image {
    aspect-ratio: 4 / 3;
  }

  .about-image-story__heading,
  .about-visual-sequence__heading {
    margin-bottom: 26px;
  }

  .about-image-story__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .about-image-story__item--wide {
    grid-column: 1 / 3;
    grid-row: 1;
    aspect-ratio: 16 / 10;
  }

  .about-image-story__item--tall {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 4 / 5;
  }

  .about-image-story__item--procedure {
    grid-column: 2;
    grid-row: 2;
    aspect-ratio: 4 / 5;
  }

  .about-image-story__item--room {
    grid-column: 1 / 3;
    grid-row: 3;
    aspect-ratio: 16 / 9;
  }

  .about-principles__heading {
    margin-bottom: 22px;
  }

  .about-principles__grid {
    grid-template-columns: 1fr;
  }

  .about-principle,
  .about-principle:nth-child(even) {
    padding: 22px 0 24px;
    border-left: 0;
  }

  .about-visual-sequence__track {
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }

  .about-visual-sequence__item {
    width: min(72vw, 290px);
  }

  .about-patient-journey__layout {
    gap: 28px;
  }

  .about-patient-journey__steps li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 20px 0;
  }

  .about-page.dv-home .about-faq.dv-section {
    padding-block: 44px;
  }

  .about-page.dv-home .about-faq__layout {
    gap: 28px;
  }

  .about-page.dv-home .about-faq .dv-faq-trigger {
    min-height: 0;
    gap: 14px;
    padding: 15px 4px;
    font-size: .94rem;
  }

  .about-page.dv-home .about-faq .dv-faq-answer p {
    padding: 0 4px 20px;
    font-size: .9rem;
  }
}

@media (max-width: 390px) {
  .about-page.dv-home .about-hero__actions {
    flex-direction: column;
  }

  .about-page.dv-home .about-hero__actions .dv-button {
    width: 100%;
  }

  .about-page.dv-home .about-faq .dv-faq-trigger {
    align-items: flex-start;
  }

  .about-page.dv-home .about-faq .dv-faq-trigger svg {
    margin-top: 3px;
  }
}
