/* TCC and support share the same editorial palette and typography. */
.tcc-section,
.support-section {
  --approaches-peach: #f9dfcd;
  --approaches-coral: #eca17f;
  background: var(--paper);
}

.tcc-layout {
  column-gap: clamp(36px, 5vw, 70px);
  row-gap: 28px;
}

.tcc-intro > p:not(.eyebrow) {
  font-size: 1.0625rem;
  color: var(--muted);
}

.tcc-triangle {
  display: block;
  grid-column: 2;
  grid-row: 1 / 3;
  place-self: center;
  width: 100%;
  max-width: 31rem;
  height: auto;
  stroke: none;
}

.tcc-triangle-links {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.45;
  opacity: .85;
}

.tcc-triangle-labels {
  fill: var(--cocoa);
  font: 400 21px var(--serif);
  letter-spacing: -.55px;
}

.tcc-closing {
  align-self: start;
}

.tcc-closing > p {
  max-width: 49ch;
  margin: 0;
  color: var(--cocoa);
  font: 400 1.0625rem/1.65 var(--sans);
}

.tcc-closing strong {
  font-weight: 600;
}

.support-layout {
  align-items: center;
}

.support-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0 0 2.125rem;
  width: 100%;
  min-width: 0;
  align-self: center;
}

.support-visual::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 3.125rem 0 0;
  border-radius: 24px;
  background: radial-gradient(ellipse 126% 112% at 100% 106%,
    var(--peach) calc(100% - .5px), transparent calc(100% + .5px));
}

.support-phone {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: clamp(10rem, 15vw, 12rem);
  left: 2%;
  aspect-ratio: 1 / 2.06;
  border-radius: 15% / 7.3%;
  background: linear-gradient(90deg, #464647, #242426 89%, #333335 94%, #666564 95.5%, #464647 98%, #333335);
  box-shadow: inset 0 0 0 1px #575657, 0 4px 7px rgb(52 32 27 / 11%);
  /* The slight shear offsets the top while keeping the lettering nearly level. */
  transform: perspective(48rem) rotateZ(5deg) skewX(-4deg) rotateY(-22deg) rotateX(5deg);
}

.support-phone::before {
  content: '';
  position: absolute;
  inset: .35% 4.8% .35% .55%;
  border-radius: 14.5% / 7%;
  background: #171719;
  box-shadow: inset 0 0 0 1px #555456;
}

.support-phone-controls {
  position: absolute;
  top: 34%;
  right: 1.35%;
  width: 1.5%;
  height: 11%;
  border-radius: 2px;
  background: #333335;
  box-shadow: inset 0 0 0 .5px #666564;
}

.support-phone-screen {
  position: absolute;
  inset: 1.6% 7% 1.6% 2.8%;
  overflow: hidden;
  border-radius: 12% / 5.8%;
  background: var(--white);
  color: var(--cocoa);
  text-align: center;
  container-type: inline-size;
}

.support-phone-screen::before {
  content: '';
  position: absolute;
  inset: 2.15% 35% auto;
  height: 3.2%;
  border-radius: 100px;
  background: radial-gradient(circle at 86% 48%, #34363a 0 2%, transparent 5%), #19191a;
}

.support-phone-identity {
  position: absolute;
  inset: 47% 0 auto;
  transform: translateY(-50%);
}

.support-phone-portrait {
  display: block;
  width: 46cqi;
  aspect-ratio: 1;
  margin: 0 auto 6cqi;
  border-radius: 50%;
  background: var(--peach) url("assets/salome-hero-jersey-chocolat-640.webp?v=2") center top / 142% auto no-repeat;
}

.support-phone-name {
  display: block;
  font: 400 22cqi/1.04 var(--serif);
  letter-spacing: -.045em;
}

.support-phone-profession {
  display: block;
  margin-top: 7cqi;
  font: 400 max(.8125rem, 8.8cqi)/1.35 var(--sans);
}

.support-visual .support-phone-logo {
  position: absolute;
  inset: auto 0 12%;
  width: max(55%, 4.25rem);
  height: auto;
  margin-inline: auto;
}

.approaches-transition {
  margin: 0;
  padding: 28px 0 12px;
  background: none;
}

.approaches-note {
  display: block;
  position: relative;
  top: auto;
  max-width: 650px;
  margin: 0 auto;
  padding: 0 0 0 18px;
  border: 0;
  border-radius: 0;
  background: none;
}

.approaches-note::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 3px;
  background: var(--approaches-coral);
}

.approaches-note-text {
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .tcc-section { padding-bottom: 36px; }
  .support-section { padding-top: 36px; }
  .tcc-triangle { margin: 24px auto 0; }
  .tcc-closing { margin-top: 24px; }
  .tcc-closing > p { max-width: none; }
  .support-visual {
    max-width: 34rem;
    margin-inline: auto;
    margin-block: 3rem 1.25rem;
    padding-bottom: 1.875rem;
    scroll-margin-block-end: calc(5rem + env(safe-area-inset-bottom));
  }
  .support-phone { width: clamp(9rem, 39vw, 10.75rem); }
  .approaches-transition { padding-top: 22px; }
  .approaches-note { padding-left: 16px; }
  .mobile-booking.is-compact {
    width: 210px;
    min-height: 44px;
    padding: 10px 15px;
  }
}

.method-intro {
  --method-rule: color-mix(in srgb, var(--accent) 26%, var(--apricot-pale));
  --method-curve: clamp(1.2rem, 3.5vw, 3rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 2.75rem 3rem;
  text-align: center;
  background: var(--paper);
  color: var(--cocoa);
}

.method-intro::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 -5%;
  background: var(--apricot-pale);
  border-radius: 0 0 52% 48% / 0 0 var(--method-curve) var(--method-curve);
}

.method-intro h2 {
  margin: 0;
  font: 500 .875rem/1.4 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: inherit;
}

.method-pair {
  display: grid;
  gap: 2.3125rem;
  margin: 1.25rem 0 0;
}

.method-pair > div {
  position: relative;
  min-width: 0;
}

.method-pair dt {
  max-width: 31ch;
  margin-inline: auto;
  font: 400 clamp(1.3125rem, 2.1vw, 1.7rem)/1.25 var(--serif);
  letter-spacing: -.02em;
  text-wrap: balance;
}

.method-pair dd {
  max-width: 34ch;
  margin: .375rem auto 0;
  color: var(--accent);
  font: 400 .9375rem/1.4 var(--sans);
  text-wrap: balance;
}

.method-pair dd a {
  display: inline-block;
  position: relative;
}

.method-pair dd a::after {
  content: '';
  position: absolute;
  inset: -.25rem 0;
}

.method-pair dd a span:first-child {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.method-pair dd a:hover {
  color: var(--cocoa);
}

.method-arrow {
  font-size: .875em;
}

.method-pair > div + div::before {
  content: '';
  position: absolute;
  background: var(--method-rule);
}

@media (max-width: 760px) {
  .method-pair > div + div::before {
    inset-inline: 0;
    top: -1.1875rem;
    width: 2rem;
    height: 1px;
    margin-inline: auto;
  }
}

@media (min-width: 761px) {
  .method-intro {
    padding-block: clamp(2.75rem, 4vw, 4rem) clamp(3rem, 4.5vw, 4.5rem);
  }
  .method-pair {
    max-width: 62rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    margin: 1.75rem auto 0;
  }
  .method-pair > div + div::before {
    width: 1px;
    height: 2rem;
    inset-inline-start: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
  }
}

.tcc-examples {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 72ch;
  margin: 2rem auto 0;
}

.tcc-examples h3 {
  margin: 0 0 1.25rem;
  color: var(--cocoa);
  font: 400 clamp(1.5rem, 2.2vw, 1.875rem)/1.2 var(--serif);
  letter-spacing: -.025em;
}

.tcc-examples-list {
  --example-inset: 1.25rem;
  background: color-mix(in srgb, var(--apricot-pale) 78%, var(--white));
  border-radius: 1.25rem;
}

.tcc-examples details {
  position: relative;
  border: 0;
}

.tcc-examples details + details::before {
  content: "";
  position: absolute;
  inset: 0 .875rem auto;
  border-top: 1px solid color-mix(in srgb, var(--muted) 16%, transparent);
  pointer-events: none;
}

.tcc-examples details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .875rem;
  min-height: 4.25rem;
  padding: .6875rem var(--example-inset);
  list-style: none;
  color: var(--cocoa);
  font: 600 1.0625rem/1.4 var(--sans);
  scroll-margin-block-end: calc(5rem + env(safe-area-inset-bottom));
}

.tcc-examples summary::-webkit-details-marker { display: none; }
.tcc-examples summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
  border-radius: 1rem;
}

.tcc-examples .tcc-toggle {
  position: relative;
  flex: 0 0 2rem;
  height: 2rem;
  background: var(--peach);
  border-radius: 49% 53% 46% 51% / 55% 50% 49% 46%;
  transform: none;
}

.tcc-toggle::before,
.tcc-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  width: .875rem;
  height: 0;
  margin: auto;
  border-top: 1.5px solid currentColor;
}

.tcc-toggle::after {
  transform: rotate(90deg);
  transition: transform 250ms ease;
}

.tcc-examples details[open] .tcc-toggle::after { transform: rotate(0); }

.tcc-examples details::details-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 250ms ease, content-visibility 250ms allow-discrete;
}

.tcc-examples details[open]::details-content { grid-template-rows: 1fr; }

.tcc-examples dl {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding-inline: var(--example-inset);
  color: var(--cocoa);
}

.tcc-examples dl > div + div { margin-top: 1.25rem; }
.tcc-examples dl > div:last-child { padding-bottom: 1.5rem; }

.tcc-examples dt {
  color: var(--muted);
  font: 500 .875rem/1.4 var(--sans);
}

.tcc-examples dd {
  margin: .375rem 0 0;
  font: 400 1rem/1.5 var(--sans);
}

.tcc-examples dd em {
  font: italic 400 1.1875rem/1.35 var(--serif);
}

@media (prefers-reduced-motion: reduce) {
  .tcc-examples details::details-content,
  .tcc-toggle::after { transition: none; }
}
