:root {
  --paper: #fff;
  --ink: #13201e;
  --muted: #40514e;
  --green: #00665d;
  --petrol-dark: #004941;
  --orange: #ff9f42;
  --rule: #cddad7;
  --wash: #fff;
}
h1, h2 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.052em;
  line-height: 1.04;
}
h2 { line-height: 1.1; }
.language {
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--paper);
  font-size: .9rem;
}
.language > * {
  width: 44px;
  border-radius: 999px;
  font-weight: 700;
}
.language a:hover { background: #edf6f4; text-decoration: underline; }
.language [aria-current] {
  background: var(--green);
  color: var(--paper);
  text-decoration: none;
}
.hero h1, .story h2, .method h2, .sessions h2 {
  max-width: none;
  text-wrap: wrap;
}
@media (min-width: 811px) {
  .hero h1 { font-size: clamp(2.65rem, 4.55vw, 3.6rem); }
  .story h2 { font-size: clamp(2rem, 3.2vw, 2.55rem); }
}

.hero {
  margin-block: 0;
  padding: clamp(45px, 7vw, 101px) 0 clamp(42px, 6vw, 85px);
  gap: clamp(32px, 6.5vw, 94px);
  background: var(--paper);
  color: var(--ink);
}
.hero .eyebrow { color: var(--green); }
.eyebrow, .story .eyebrow {
  font-size: clamp(1.2rem, 1.7vw, 1.42rem);
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: -.015em;
}
.hero .lead, .hero .hero-meta { color: var(--muted); }
.hero h1 { margin-bottom: .26em; }
.hero h1::after {
  content: "";
  display: block;
  width: clamp(104px, 2.55em, 164px);
  height: 5px;
  margin-top: .31em;
  background: var(--orange);
  transform-origin: left;
}
.hero .button { background: var(--green); border-color: var(--green); color: var(--paper); }
.button { border-radius: 999px; padding-inline: 20px; }
.hero .button:hover { background: var(--petrol-dark); border-color: var(--petrol-dark); }
.hero .hero-secondary { color: var(--green); }
.hero a:focus-visible { outline-color: var(--green); }
.hero .portrait {
  position: relative;
  width: min(calc(100% - 9px), 432px);
  justify-self: center;
  aspect-ratio: 1.02;
  margin-right: 9px;
  margin-bottom: 9px;
  isolation: isolate;
}
.hero .portrait, .hero .portrait img { border-radius: 28px 28px 16px 28px; }
.hero .portrait img { object-position: 50% 24%; }
.hero .portrait::after {
  content: "";
  position: absolute;
  inset: auto -9px -9px auto;
  width: 31%;
  height: 43%;
  border-radius: 30px 14px 23px 12px;
  background: var(--green);
  z-index: -1;
}

.story {
  border-top: 0;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  padding-block: clamp(43px, 6vw, 85px);
}
.story-photo { width: min(100%, 360px); aspect-ratio: 4 / 5; }
.story-photo, .story-photo img { border-radius: 28px; }
.story-photo img { object-position: 73% 50%; }
.method { border-top: 0; }
.method .method-layout {
  border-top: 0;
  border-radius: 36px;
  background: #edf6f4;
  padding: clamp(26px, 5vw, 64px);
}
.method + .section { border-top: 0; }
.method h2 { max-width: none; }
.method h2::before {
  content: "";
  display: block;
  width: 1.3em;
  height: 4px;
  background: var(--green);
  margin-block: .32em .3em;
  border-radius: 99px;
}
.method .method-copy { max-width: none; margin-top: clamp(22px, 3vw, 38px); }
.method-moments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3.2vw, 42px); }
.method-moments > div { border-top: 1px solid #a0bfba; padding-top: 13px; }
.method-moments h3 { color: var(--ink); font-size: 1.03rem; line-height: 1.35; margin: 0 0 8px; }
.method-moments p { font-size: 1rem; line-height: 1.56; }
.method .method-note {
  width: fit-content;
  padding: 14px 20px;
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  background: var(--paper);
  color: var(--petrol-dark);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  font-weight: 700;
}
.intro-call {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #a0bfba;
}
.intro-call h3 { margin: 0 0 8px; font-size: 1.08rem; line-height: 1.35; }
.intro-call p { max-width: 64ch; font-size: 1rem; line-height: 1.56; }
.intro-call p + p { margin-top: .6em; }
.call-button { justify-self: start; background: var(--paper); color: var(--petrol-dark); border-color: var(--green); }
.call-button:hover, .practical .button:hover { background: #edf6f4; }
.hero-contact {
  width: fit-content;
  max-width: 100%;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: #edf6f4;
}
.hero-contact .button { margin: 0; padding-inline: 15px; }
.hero-contact .call-button { background: var(--paper); color: var(--petrol-dark); }
.hero-contact .call-button:hover { background: #dcefeb; }
.call-actions { display: flex; align-items: start; flex-wrap: wrap; gap: 8px; }
.hero-contact .call-caption { margin-top: 10px; font-size: .91rem; line-height: 1.45; }
.hero-contact .call-caption strong { white-space: nowrap; }
.hero-contact .call-reminder { margin-top: 4px; color: var(--muted); font-size: .84rem; line-height: 1.45; }
@media (max-width: 490px) {
  .hero-contact .booking-button { flex-basis: 100%; justify-content: center; }
}
.hero-contact button { font-family: inherit; cursor: pointer; }
.hero-contact button:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.message-popover {
  position: fixed;
  inset: 0;
  width: min(360px, calc(100% - 32px));
  height: fit-content;
  max-height: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  margin: auto;
  padding: clamp(14px, 4vw, 20px);
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 44px #13201e35;
}
.message-popover::backdrop { background: #13201e45; }
.message-heading { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 10px; margin-bottom: 12px; }
.message-heading h2 { margin: 0; font-size: 1.16rem; line-height: 1.24; letter-spacing: -.025em; }
.message-close {
  appearance: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #edf6f4;
  color: var(--petrol-dark);
}
.message-close svg { display: block; }
.message-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.message-links a {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  min-height: 82px;
  padding: 10px;
  border: 1px solid var(--rule);
  border-radius: 13px;
  background: #edf6f4;
  color: var(--petrol-dark);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}
.message-links a:hover, .message-close:hover { background: #dcefeb; }
.message-links a:focus-visible { outline-offset: -4px; }
.privacy-copy { max-width: 68ch; }
.privacy-nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 20px; }
.privacy-nav .language { flex: none; }
.privacy-nav .language > * { width: auto; min-width: 72px; min-height: 44px; padding-inline: 10px; }
.privacy-home { font-weight: 700; }
.privacy-copy h2 { margin: 1.3em 0 .35em; font-size: 1.35rem; }
.privacy-copy p { margin: .7em 0; line-height: 1.6; }
.privacy-copy .privacy-draft { border-left: 4px solid var(--orange); padding: 8px 14px; background: #edf6f4; }
.footer-inner { align-items: flex-start; }
.footer-contact { min-width: 0; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0 18px; font-style: normal; }
.footer-links a { gap: 5px; }

@media (prefers-reduced-motion: no-preference) {
  .hero h1::after { animation: traccia-iniziale 650ms cubic-bezier(.25,.65,.3,1) both; }
  .hero .portrait { animation: ingresso-ritratto 480ms cubic-bezier(.25,.65,.3,1) both; }
  .button span, .hero-secondary span { display: inline-block; transition: transform 180ms ease; }
  .button:is(:hover, :focus-visible) span { transform: translate(2px,-2px); }
  .hero-secondary:is(:hover, :focus-visible) span { transform: translateY(2px); }
}
@keyframes traccia-iniziale { from { transform: scaleX(.12); } to { transform: scaleX(1); } }
@keyframes ingresso-ritratto { from { transform: translateY(6px); } to { transform: none; } }

@media (max-width: 675px) {
  .hero { width: calc(100% - 40px); padding: 31px 0 35px; gap: 23px; }
  .hero .portrait { width: min(calc(100% - 9px), 310px); aspect-ratio: 1.14; }
  .story { grid-template-columns: minmax(0, 1fr); }
  .story-photo { width: min(100%, 310px); aspect-ratio: 4 / 5; }
  .method .method-layout { border-radius: 24px; }
  .method-moments { grid-template-columns: 1fr; gap: 15px; }
  .hero .portrait, .hero .portrait img, .story-photo, .story-photo img { border-radius: 21px; }
}
