.root {
  --author-paper: #f5efe4;
  --author-ink: #352c24;
  --author-muted: #736a5c;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 13%, rgb(255 255 255 / .44), transparent 29%),
    linear-gradient(180deg, #f3eddf 0%, var(--author-paper) 72%, #faf7f1 100%);
  color: var(--author-ink);
}

.topline {
  width: min(87.2%, 1660px);
  min-height: 62px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: clamp(20px, 2vw, 36px);
  padding-top: 11px;
}

.topline p {
  font-size: clamp(10px, .72vw, 12px);
  line-height: 1.3;
  letter-spacing: .16em;
}

.topline p:last-child {
  color: var(--rose-deep);
}

.topline > span {
  height: 1px;
  background: color-mix(in srgb, var(--rose-deep) 30%, transparent);
}

.stage {
  position: relative;
  isolation: isolate;
  width: min(87.2%, 1660px);
  height: clamp(500px, 33.8vw, 650px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 35.7% 61.9%;
  grid-template-rows: 1fr;
  column-gap: 2.4%;
}

.copy {
  position: relative;
  z-index: 4;
  min-width: 0;
  align-self: start;
  padding-top: clamp(12px, 1.2vw, 23px);
}

.copy h2 {
  display: flex;
  flex-direction: column;
  font-size: clamp(72px, 6.7vw, 129px);
  line-height: .73;
  letter-spacing: -.05em;
}

.titleMask {
  display: block;
  overflow: hidden;
  padding: .15em .1em;
  margin: -.15em -.1em;
}

.titleMask > * {
  display: block;
  width: fit-content;
  white-space: nowrap;
  will-change: auto;
}

.titleMask em {
  padding-right: .08em;
  color: var(--rose-deep);
}

.subcopy {
  margin-top: clamp(20px, 1.5vw, 29px);
  color: var(--author-muted);
  font-size: clamp(21px, 1.8vw, 34px);
  line-height: .98;
  letter-spacing: -.035em;
}

.photo {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: clamp(20px, 1.65vw, 32px);
  background: #ded3c2;
  box-shadow: 0 22px 65px rgb(67 39 48 / .08);
}

.photo img {
  object-fit: cover;
  object-position: 50% 40%;
}

.card {
  position: absolute;
  z-index: 5;
  left: 0;
  bottom: 0;
  width: 35.7%;
  min-height: clamp(190px, 12.45vw, 239px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(17px, 1vw, 19px) clamp(25px, 2.15vw, 41px);
  border: 1px solid rgb(255 255 255 / .76);
  border-radius: clamp(16px, 1.15vw, 22px);
  background: rgb(250 247 245 / .9);
  box-shadow: 0 20px 55px rgb(61 38 45 / .07);
  backdrop-filter: blur(12px) saturate(1.04);
  -webkit-backdrop-filter: blur(12px) saturate(1.04);
}

.cardLabel {
  color: var(--rose-deep);
  font-size: clamp(9px, .72vw, 13px);
  line-height: 1.4;
  letter-spacing: .27em;
}

.cardCopy {
  margin: clamp(8px, .7vw, 13px) 0 clamp(7px, .55vw, 11px);
  color: #675f53;
  font-size: clamp(12px, .88vw, 16px);
  line-height: 1.36;
  letter-spacing: -.015em;
}

.cta {
  align-self: flex-start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 1.25vw, 24px);
  font-family: var(--serif);
  font-size: clamp(15px, 1.05vw, 20px);
  line-height: 1;
}

.cta > span:first-child {
  padding-bottom: 3px;
  background: linear-gradient(var(--rose-deep), var(--rose-deep)) left bottom / 0 1px no-repeat;
  transition: background-size .45s cubic-bezier(.16, 1, .3, 1);
}

.ctaCircle {
  width: clamp(42px, 3vw, 58px);
  height: clamp(42px, 3vw, 58px);
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid color-mix(in srgb, var(--rose-deep) 72%, transparent);
  border-radius: 50%;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), background-color .35s ease, color .35s ease;
}

.ctaCircle svg {
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}

.sideNote {
  position: absolute;
  z-index: 4;
  top: 19px;
  right: clamp(-55px, -3vw, -42px);
  display: flex;
  align-items: center;
  flex-direction: column;
  color: var(--rose-deep);
  pointer-events: none;
}

.sideNote span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-style: normal;
  font-size: clamp(9px, .66vw, 12px);
  line-height: 1;
  letter-spacing: .2em;
}

.sideNote i {
  width: 1px;
  height: clamp(54px, 4.9vw, 94px);
  margin-top: 15px;
  background: var(--rose-deep);
  opacity: .72;
}

.sideNote b {
  width: 12px;
  height: 12px;
  margin-top: -1px;
  border: 1px solid var(--rose-deep);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #f9eeee 0 10%, #bd8d96 42%, #765c39 100%);
  box-shadow: 0 2px 5px rgb(53 35 42 / .2);
}

.thread {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.thread path {
  fill: none;
  stroke: var(--rose-deep);
  stroke-width: 1.2;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  opacity: .8;
}

.threadDesktop {
  top: calc(100% - 42px);
  left: calc((100vw - 100%) / -2);
  width: 100vw;
  height: 110px;
}

.threadMobile {
  display: none;
}

.closing {
  position: relative;
  z-index: 3;
  min-height: clamp(164px, 11.5vw, 221px);
  padding: clamp(48px, 3.5vw, 67px) 6.4% clamp(23px, 2vw, 38px);
}

.closingEyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
  margin-bottom: clamp(9px, .75vw, 14px);
  color: var(--rose-deep);
  font-size: clamp(8px, .64vw, 12px);
  line-height: 1;
  letter-spacing: .25em;
}

.closingEyebrow span {
  width: clamp(43px, 4vw, 77px);
  height: 1px;
  background: var(--line);
}

.closingRow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.closingStatement {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .22em;
  font-family: var(--serif);
  font-size: clamp(31px, 2.72vw, 52px);
  line-height: 1.05;
  letter-spacing: -.038em;
  white-space: nowrap;
}

.closingStatement > * {
  display: block;
}

.closingMonogram,
.closingSeal {
  position: absolute;
  display: flex;
  align-items: center;
  top: 50%;
  transform: translateY(-50%);
}

.closingMonogram {
  left: 0;
  gap: clamp(25px, 2.7vw, 52px);
}

.closingMonogram strong {
  color: var(--rose-deep);
  font-family: var(--serif);
  font-size: clamp(40px, 3.1vw, 60px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.closingMonogram span,
.closingSeal > span {
  width: clamp(55px, 8vw, 154px);
  height: 1px;
  background: var(--line);
}

.closingSeal {
  right: 0;
  gap: clamp(22px, 2.2vw, 42px);
}

.seal {
  width: clamp(78px, 6.7vw, 129px);
  height: auto;
  overflow: visible;
  color: var(--rose-deep);
}

.sealText {
  fill: currentColor;
  font-family: var(--sans);
  font-size: 7px;
  letter-spacing: .14em;
}

.sealMark {
  fill: currentColor;
  font-family: var(--serif);
  font-size: 35px;
  font-style: italic;
}

.seal circle {
  fill: currentColor;
}

.closingNote {
  margin-top: clamp(8px, .65vw, 13px);
  text-align: center;
  color: #736b60;
  font-size: clamp(9px, .72vw, 14px);
  line-height: 1.3;
  letter-spacing: .25em;
}

@media (hover: hover) {
  .cta:hover > span:first-child {
    background-size: 100% 1px;
  }

  .cta:hover .ctaCircle {
    color: var(--ivory);
    background: var(--rose-deep);
    transform: rotate(7deg);
  }

  .cta:hover .ctaCircle svg {
    transform: translate(2px, -2px);
  }
}

.cta:focus-visible > span:first-child {
  background-size: 100% 1px;
}

.cta:focus-visible .ctaCircle {
  color: var(--ivory);
  background: var(--rose-deep);
}

.cta:active .ctaCircle {
  transform: scale(.94);
}

.motionReady [data-author-motion="fade"],
.motionReady [data-author-motion="subcopy"],
.motionReady [data-author-motion="photo"],
.motionReady [data-author-motion="card"],
.motionReady [data-author-motion="final"] {
  opacity: 0;
}

.motionReady [data-author-motion="title"] {
  opacity: 0;
  transform: translateY(112%);
}

.motionReady [data-author-motion="subcopy"] {
  transform: translateY(18px);
}

.motionReady [data-author-motion="photo"] {
  transform: translate(24px, 25px) scale(1.018);
}

.motionReady [data-author-motion="card"] {
  transform: translateY(24px);
}

.motionReady [data-author-motion="line"] {
  stroke-dashoffset: 1;
}

.motionReady [data-author-motion="bead"] {
  opacity: 0;
  transform: translate(-4px, 5px);
}

.motionVisible [data-author-motion="fade"],
.motionVisible [data-author-motion="subcopy"],
.motionVisible [data-author-motion="photo"],
.motionVisible [data-author-motion="card"],
.motionVisible [data-author-motion="final"],
.motionVisible [data-author-motion="title"],
.motionVisible [data-author-motion="bead"] {
  opacity: 1;
  transform: none;
}

.motionReady.motionArmed [data-author-motion="fade"],
.motionReady.motionArmed [data-author-motion="subcopy"],
.motionReady.motionArmed [data-author-motion="photo"],
.motionReady.motionArmed [data-author-motion="card"],
.motionReady.motionArmed [data-author-motion="final"],
.motionReady.motionArmed [data-author-motion="title"],
.motionReady.motionArmed [data-author-motion="bead"] {
  transition: opacity 1.1s cubic-bezier(.16, 1, .3, 1), transform 1.25s cubic-bezier(.16, 1, .3, 1);
}

.motionReady .titleMask:nth-child(1) [data-author-motion="title"] { transition-delay: .06s; }
.motionReady .titleMask:nth-child(2) [data-author-motion="title"] { transition-delay: .18s; }
.motionReady .titleMask:nth-child(3) [data-author-motion="title"] { transition-delay: .3s; }
.motionReady [data-author-motion="subcopy"] { transition-delay: .36s; }
.motionReady [data-author-motion="photo"] { transition-delay: .16s; }
.motionReady [data-author-motion="card"] { transition-delay: .5s; }
.motionReady .closingEyebrow[data-author-motion="final"] { transition-delay: .62s; }
.motionReady .closingStatement span[data-author-motion="final"] { transition-delay: .7s; }
.motionReady .closingStatement em[data-author-motion="final"] { transition-delay: .82s; }
.motionReady .closingNote[data-author-motion="final"] { transition-delay: .94s; }

.motionVisible [data-author-motion="line"] {
  animation: author-line-draw 2s .24s cubic-bezier(.16, 1, .3, 1) both;
}

.motionVisible [data-author-motion="bead"] {
  animation: author-bead-settle 1.6s .76s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes author-line-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes author-bead-settle {
  0% { opacity: 0; transform: translate(-5px, 5px); }
  48% { opacity: 1; transform: translate(2px, -2px); }
  72% { opacity: 1; transform: translate(-1px, 1px); }
  100% { opacity: 1; transform: none; }
}

@media (min-width: 701px) and (max-width: 1180px) {
  .topline,
  .stage {
    width: 88%;
  }

  .stage {
    grid-template-columns: 39% 58%;
    column-gap: 3%;
  }

  .copy h2 {
    font-size: clamp(66px, 7.5vw, 88px);
  }

  .subcopy {
    font-size: clamp(20px, 2.3vw, 27px);
  }

  .card {
    width: 39%;
    padding-inline: clamp(22px, 2.3vw, 29px);
  }

  .cardCopy {
    font-size: clamp(12px, 1.18vw, 14px);
  }

  .sideNote {
    right: -43px;
  }

  .closingStatement {
    font-size: clamp(27px, 3.2vw, 38px);
  }

  .closingMonogram span,
  .closingSeal > span {
    width: 46px;
  }
}

@media (max-width: 860px) and (min-width: 701px) {
  .sideNote,
  .closingMonogram span,
  .closingSeal > span,
  .closingEyebrow span {
    display: none;
  }

  .closingStatement {
    font-size: 28px;
  }
}

@media (max-width: 700px) {
  .root {
    background:
      radial-gradient(circle at 86% 9%, rgb(255 255 255 / .52), transparent 26%),
      linear-gradient(180deg, #f2eadd 0%, #f8f2e8 100%);
  }

  .topline {
    width: 88%;
    min-height: 56px;
    grid-template-columns: 1fr max-content;
    gap: 10px;
    padding-top: 1px;
    border-bottom: 1px solid var(--line);
  }

  .topline > span {
    display: none;
  }

  .topline p {
    font-size: clamp(9px, 2.55vw, 11px);
    letter-spacing: .09em;
  }

  .topline p:last-child {
    max-width: 130px;
    text-align: right;
    font-size: clamp(7px, 2.05vw, 9px);
    line-height: 1.45;
    letter-spacing: .06em;
  }

  .stage {
    width: 100%;
    height: clamp(406px, 127vw, 635px);
    min-height: 0;
    display: block;
  }

  .copy {
    position: absolute;
    z-index: 4;
    top: 6.8vw;
    left: 6%;
    width: 76%;
    padding: 0;
  }

  .copy h2 {
    font-size: clamp(53px, 14.7vw, 64px);
    line-height: .78;
    letter-spacing: -.055em;
  }

  .titleMask:nth-child(1) > span,
  .titleMask:nth-child(2) > span {
    font-size: .82em;
  }

  .subcopy {
    margin-top: clamp(18px, 5vw, 22px);
    color: #73695a;
    font-size: clamp(14px, 3.8vw, 17px);
    line-height: 1.18;
    letter-spacing: -.025em;
  }

  .photo {
    position: absolute;
    z-index: 2;
    top: 3.5vw;
    right: 5%;
    width: min(51%, 300px);
    height: clamp(384px, 120vw, 570px);
    border-radius: clamp(17px, 4.8vw, 21px);
    box-shadow: 0 16px 42px rgb(67 39 48 / .08);
  }

  .photo img {
    object-position: 27% 50%;
  }

  .card {
    left: 4%;
    top: min(59vw, 315px);
    bottom: auto;
    width: min(52%, 280px);
    min-height: clamp(192px, 60vw, 285px);
    padding: clamp(18px, 5.2vw, 23px) clamp(17px, 4.7vw, 21px) clamp(14px, 4.2vw, 18px);
    border-radius: clamp(16px, 4.5vw, 19px);
    background: rgb(250 247 245 / .91);
    backdrop-filter: blur(11px) saturate(1.03);
    -webkit-backdrop-filter: blur(11px) saturate(1.03);
  }

  .cardLabel {
    font-size: clamp(8px, 2.2vw, 9.5px);
    letter-spacing: .22em;
  }

  .cardCopy {
    margin: clamp(9px, 2.5vw, 11px) 0 clamp(7px, 2vw, 9px);
    font-size: clamp(10.5px, 2.85vw, 12.3px);
    line-height: 1.34;
    letter-spacing: -.012em;
  }

  .cta {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
    font-size: clamp(12px, 3.25vw, 14px);
    white-space: nowrap;
  }

  .ctaCircle {
    width: 44px;
    height: 44px;
  }

  .ctaCircle svg {
    width: 20px;
    height: 20px;
  }

  .sideNote,
  .threadDesktop {
    display: none;
  }

  .threadMobile {
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .closing {
    min-height: 0;
    padding: clamp(31px, 8.8vw, 38px) 6% clamp(25px, 7.2vw, 31px);
  }

  .closingEyebrow,
  .closingMonogram {
    display: none;
  }

  .closingRow {
    display: block;
  }

  .closingStatement {
    display: block;
    padding-right: 4%;
    font-size: clamp(26px, 7.35vw, 32px);
    line-height: .99;
    letter-spacing: -.045em;
    white-space: nowrap;
  }

  .closingStatement > * {
    width: fit-content;
  }

  .closingStatement em {
    margin-top: .06em;
  }

  .closingSeal {
    top: 48%;
    right: 0;
    transform: translateY(-50%);
  }

  .closingSeal > span {
    display: none;
  }

  .seal {
    width: 19vw;
    min-width: 71px;
    max-width: 82px;
  }

  .closingNote {
    margin-top: clamp(13px, 3.6vw, 16px);
    padding-right: 18vw;
    text-align: left;
    font-size: clamp(9px, 2.65vw, 11.5px);
    line-height: 1.35;
    letter-spacing: .015em;
  }
}

@media (max-width: 374px) {
  .copy h2 {
    font-size: 52px;
  }

  .cardCopy {
    font-size: 10.2px;
  }

  .closingStatement {
    font-size: 25.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta > span:first-child,
  .ctaCircle,
  .ctaCircle svg {
    transition: none;
  }

  .cta:hover .ctaCircle,
  .cta:active .ctaCircle,
  .cta:hover .ctaCircle svg {
    transform: none;
  }
}

/* Portrait and text adapted to Joelane's supplied photograph. */
.stage { height: 575px; }
.photo img { object-position: 50% 90%; }
.cardCopy { font-size: 15px; line-height: 1.5; }
.cardLabel { font-size: 11px; letter-spacing: .15em; }
.closingStatement { white-space: normal; }
@media (max-width: 1100px) and (min-width: 701px) {
 .stage { height: 675px; }
 .cardCopy { font-size: 15px; }
}
@media (max-width: 700px) {
 .stage { display: flex; flex-direction: column; height: auto; padding: 30px 6% 0; gap: 26px; }
 .copy { position: relative; top: auto; left: auto; width: 100%; }
 .copy h2 { font-size: 17vw; line-height: .85; }
 .subcopy { font-size: 18px; line-height: 1.4; }
 .photo { position: relative; top: auto; right: auto; width: 100%; height: 112vw; max-height: 550px; }
 .photo img { object-position: 50% 90%; }
 .card { position: relative; left: auto; top: auto; bottom: auto; width: 100%; min-height: 0; padding: 25px; margin-top: -55px; }
 .cardCopy { font-size: 16px; line-height: 1.6; margin-block: 15px; }
 .cardLabel { font-size: 12px; line-height: 1.5; }
 .cta { font-size: 17px; }
 .threadMobile { display: none; }
 .closingStatement { font-size: 7.1vw; white-space: normal; line-height: 1.2; padding-right: 0; }
 .closingSeal { display: none; }
 .closingNote { font-size: 12px; line-height: 1.6; letter-spacing: .07em; }
}

/* Professional biography retains the portrait, editorial card and seal. */
:global(.doctor-about) .stage { height: auto; max-width: 1440px; display: grid; grid-template-columns: .95fr 1.05fr; grid-template-rows: min-content 1fr; gap: 28px 5%; padding-block: 35px; }
:global(.doctor-about) .copy { position: relative; inset: auto; width: 100%; padding: 0; grid-column: 1; }
:global(.doctor-about) .copy h2 { font-size: clamp(45px,4.5vw,78px); line-height: 1.02; }
:global(.doctor-about) .titleMask>* { white-space: normal; }
:global(.doctor-about) .subcopy { font-family: var(--sans); font-size: 16px; line-height: 1.8; letter-spacing: 0; }
:global(.doctor-about) .photo { position: relative; inset: auto; grid-column: 2; grid-row: 1/3; width: 100%; max-width: 520px; height: auto; min-height: 0; aspect-ratio: 2/3; align-self: center; justify-self: center; }
:global(.doctor-about) .photo img { object-fit: contain; object-position: center; }
:global(.doctor-about) .card { position: relative; inset: auto; width: 100%; grid-column: 1; align-self: start; margin: 0; padding: 28px; }
:global(.doctor-about) .cardCopy { font-size: 16px; line-height: 1.75; }
:global(.doctor-about) .closingStatement { display: block; white-space: normal; max-width: 850px; margin-inline: auto; font-size: clamp(25px,2.5vw,38px); line-height: 1.3; }
:global(.doctor-about) .closingStatement > * { display: inline; }
:global(.doctor-about) .closingMonogram,:global(.doctor-about) .closingSeal,:global(.doctor-about) .closingEyebrow,:global(.doctor-about) .closingNote { display: none; }
@media(max-width:700px) {
 :global(.doctor-about) .stage { display: flex; flex-direction: column; width: 88%; padding: 30px 0 0; gap: 28px; }
 :global(.doctor-about) .copy h2 { font-size: clamp(43px,12vw,62px); }
 :global(.doctor-about) .titleMask:nth-child(1)>span,:global(.doctor-about) .titleMask:nth-child(2)>span { font-size: 1em; }
 :global(.doctor-about) .photo { min-height: 0; height: auto; max-height: none; }
 :global(.doctor-about) .card { margin-top: 0; padding: 24px; }
 :global(.doctor-about) .closingStatement { text-align: left; font-size: 29px; }
 :global(.doctor-about) .closing { padding-block: 35px 55px; }
}
