/* Visual refinement for the homepage: theatrical editorial, light and tactile. */
@font-face {
  font-family: "Tryam Editorial";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("assets/fonts/prata-regular.ttf") format("truetype");
}

@font-face {
  font-family: "Tryam Display";
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
  src: url("assets/fonts/wix-madefor-display-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Tryam Display";
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
  src: url("assets/fonts/wix-madefor-display-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Tryam Text";
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
  src: url("assets/fonts/wix-madefor-text-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Tryam Text";
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
  src: url("assets/fonts/wix-madefor-text-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Tryam Text";
  font-style: italic;
  font-display: swap;
  font-weight: 400 800;
  src: url("assets/fonts/wix-madefor-text-cyrillic-wght-italic.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Tryam Text";
  font-style: italic;
  font-display: swap;
  font-weight: 400 800;
  src: url("assets/fonts/wix-madefor-text-latin-wght-italic.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f3f4f1;
  --white: #fbfbf7;
  --line: rgba(20, 32, 44, .14);
  --shadow: 0 30px 80px rgba(35, 55, 72, .13);
}

body {
  font-family: "Tryam Text", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 7%, rgba(255, 255, 255, .95), transparent 28rem),
    var(--paper);
}

body::after {
  content: "";
  position: fixed;
  z-index: 40;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  background-image:
    radial-gradient(circle at 17% 29%, #14202c 0 .45px, transparent .75px),
    radial-gradient(circle at 71% 61%, #14202c 0 .35px, transparent .7px);
  background-position: 0 0, 7px 9px;
  background-size: 13px 13px, 17px 17px;
  mix-blend-mode: multiply;
}

h1,
h2,
h3,
.format-item strong,
.event-core figcaption strong {
  font-family: "Tryam Editorial", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.03em;
}

.brand-name,
.footer-phone { font-family: "Tryam Display", "Avenir Next", Avenir, sans-serif; }

h2 {
  max-width: 820px;
  font-size: clamp(2.9rem, 4.75vw, 5.45rem);
  line-height: .98;
}

.section {
  padding-block: clamp(68px, 4.5vw, 88px);
}

.hero + .ideas {
  padding-top: clamp(52px, 3.5vw, 68px);
}

.section-heading p,
.layers-heading p,
.story-heading p,
.home-video-copy p,
.reviews-intro p {
  font-size: clamp(1.04rem, 1.3vw, 1.2rem);
  line-height: 1.62;
}

.site-header,
.site-header.is-scrolled {
  background: rgba(243, 244, 241, .86);
  box-shadow: 0 10px 36px rgba(20, 32, 44, .035);
}

.button {
  border-radius: 11px 11px 25px 11px;
  font-weight: 760;
}

.hero {
  background:
    radial-gradient(ellipse at 78% 32%, rgba(13, 167, 181, .13), transparent 30%),
    radial-gradient(ellipse at 10% 62%, rgba(255, 196, 61, .1), transparent 27%),
    linear-gradient(118deg, #f8f8f5 0%, #f1f3ef 58%, #edf3f1 100%);
}

.hero-paper::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 17%;
  left: -5%;
  width: 28%;
  height: 58%;
  border: 1px solid rgba(241, 75, 35, .2);
  border-width: 1px 0;
  transform: rotate(-2deg);
  pointer-events: none;
}

.hero-title {
  width: 100%;
  margin-bottom: 38px;
  font-size: clamp(3.9rem, 5.25vw, 6.25rem);
  font-weight: 780;
  letter-spacing: -.052em;
  line-height: .94;
}

.hero-accent-line {
  padding-bottom: .08em;
  font-family: "Tryam Text", "Avenir Next", Avenir, sans-serif;
  font-weight: 780;
  letter-spacing: -.055em;
}

.hero-accent-line::after {
  bottom: .04em;
  height: .11em;
  opacity: .72;
}

.hero-copy {
  max-width: 540px;
  color: #526270;
  font-size: clamp(1.03rem, 1.28vw, 1.18rem);
  line-height: 1.65;
}

.hero-actions .text-link {
  padding: 12px 2px;
  border-bottom: 0;
  gap: 9px;
}

.hero-actions .text-link i {
  font-size: 1.15em;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}

.hero-actions .text-link:hover i {
  transform: translate(3px, -3px);
}

.hero-stage::before {
  top: 1.5%;
  right: -1%;
  width: 92%;
  height: 94%;
  border: 1px solid rgba(13, 167, 181, .48);
  background: rgba(13, 167, 181, .14);
  box-shadow: 0 34px 90px rgba(33, 75, 88, .13);
  transform: rotate(1.1deg);
}

.hero-stage-image {
  inset: 2.5% 2.5% 8% 1%;
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 22px 55px rgba(20, 32, 44, .11);
}

.ideas {
  background:
    radial-gradient(ellipse at 88% 24%, rgba(241, 75, 35, .065), transparent 25rem),
    linear-gradient(180deg, #f3f4f1, #f8f8f5);
}

.idea-editor-image,
.program-photo,
.format-visual img,
.story-stage > img,
.care-photo,
.home-video-frame,
.event-core {
  box-shadow: 0 26px 72px rgba(35, 55, 72, .12);
}

.idea-editor-image {
  border-radius: 42% 42% 26px 10px / 15% 15% 26px 10px;
}

.idea-selector button.is-active:not(.idea-choice-featured) {
  color: var(--orange);
}

.idea-editor-copy h3,
.program-content h3,
.event-detail h3 {
  letter-spacing: -.045em;
  text-transform: none;
}

.programs {
  background:
    radial-gradient(ellipse at 90% 12%, rgba(13, 167, 181, .07), transparent 32rem),
    var(--white);
}

.programs-intro h2 {
  font-size: clamp(2.9rem, 4.5vw, 5rem);
}

.program-card-wide {
  width: 84%;
}

.program-photo {
  border-radius: 34px 10px 34px 10px;
}

.program-photo-alice img {
  object-position: center 20%;
}

.program-content {
  padding-top: 24px;
}

.program-content h3 {
  font-size: clamp(2rem, 2.8vw, 3.25rem);
  line-height: 1;
}

.program-content a {
  border-radius: 50%;
}

.formats {
  background:
    radial-gradient(ellipse at 18% 35%, rgba(13, 167, 181, .2), transparent 34rem),
    linear-gradient(145deg, #152535, #101d2a 72%);
}

.format-copy h2 {
  font-size: clamp(3rem, 5vw, 5.9rem);
}

.format-item strong,
.event-core figcaption strong {
  font-family: "Tryam Editorial", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.025em;
}

.story {
  background:
    radial-gradient(ellipse at 12% 28%, rgba(255, 196, 61, .1), transparent 28rem),
    linear-gradient(180deg, #f8f8f5, #f2f4f1);
}

.story-heading {
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 830px;
}

.story-stage > img {
  border-radius: 44px 12px 44px 12px;
}

.story-point {
  border-color: rgba(20, 32, 44, .12);
  border-radius: 18px 18px 36px 18px;
  background: rgba(251, 251, 247, .88);
  box-shadow: 0 18px 44px rgba(20, 32, 44, .08);
}

.help-strip {
  background: rgba(251, 251, 247, .88);
}

.layers {
  background:
    radial-gradient(ellipse at 8% 24%, rgba(13, 167, 181, .17), transparent 32rem),
    linear-gradient(145deg, #172a3b, #101e2b 76%);
}

.event-core figcaption {
  right: 20%;
  border-radius: 0 24px 0 0;
  background: rgba(255, 196, 61, .94);
  backdrop-filter: blur(10px);
}

.event-step:hover,
.event-step.is-active {
  border-radius: 12px;
  background: rgba(255, 255, 255, .055);
}

.home-video {
  background:
    radial-gradient(ellipse at 72% 42%, rgba(255, 196, 61, .1), transparent 28rem),
    var(--white);
}

.home-video-poster::before {
  background: rgba(255, 196, 61, .72);
}

.care {
  background:
    radial-gradient(ellipse at 16% 55%, rgba(13, 167, 181, .08), transparent 28rem),
    linear-gradient(180deg, #f3f4f1, #f8f8f5);
}

.care-copy h2,
.contact-form-wrap h2 {
  font-size: clamp(2.8rem, 4.25vw, 4.85rem);
}

.reviews {
  background:
    linear-gradient(90deg, rgba(15, 27, 39, .92), rgba(15, 27, 39, .32)),
    url("assets/home-carousel/02.webp") center 40% / cover;
}

.trusted-panel {
  background: rgba(251, 251, 247, .95);
  box-shadow: 0 28px 76px rgba(6, 18, 28, .24);
}

.trusted-panel h3 {
  font-family: "Tryam Editorial", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.03em;
}

.process {
  background:
    radial-gradient(ellipse at 86% 18%, rgba(241, 75, 35, .055), transparent 30rem),
    var(--white);
}

.process-line {
  gap: 16px;
  background: transparent;
}

.process-line article {
  border: 1px solid rgba(20, 32, 44, .1);
  border-radius: 18px 18px 38px 18px;
  background: rgba(251, 251, 247, .78);
  box-shadow: 0 18px 45px rgba(20, 32, 44, .055);
}

.process-line article::after {
  top: 0;
  left: 28px;
  width: 42px;
  height: 5px;
  border-radius: 0 0 5px 5px;
}

.process-line i {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 38px;
  border: 1px solid rgba(13, 167, 181, .24);
  border-radius: 15px 15px 26px 15px;
  color: var(--teal);
  font-size: 2.15rem;
  background: rgba(13, 167, 181, .09);
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .35s cubic-bezier(.16, 1, .3, 1);
}

.process-line article:hover i {
  border-color: rgba(241, 75, 35, .28);
  background: rgba(241, 75, 35, .09);
}

.contact {
  background:
    radial-gradient(ellipse at 78% 28%, rgba(13, 167, 181, .08), transparent 28rem),
    var(--paper);
}

.contact-photo img {
  filter: saturate(.96) contrast(1.02);
}

@supports (animation-timeline: view()) {
  @media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
    .story-stage > img {
      animation: storyCamera linear both;
      animation-timeline: view();
      animation-range: entry 5% exit 90%;
    }
  }
}

@keyframes storyCamera {
  from { transform: translateY(18px) scale(1.025); }
  to { transform: translateY(-18px) scale(1); }
}

@media (max-width: 1340px) {
  .hero-title {
    font-size: clamp(3.55rem, 6.1vw, 5.45rem);
  }
}

/* Give the editorial hero enough presence on wide desktop displays. */
@media (min-width: 1440px) {
  :root {
    --shell: min(1660px, calc(100vw - 88px));
  }

  .site-header {
    height: 80px;
    padding-inline: clamp(34px, 2.7vw, 58px);
  }

  .site-header.is-scrolled {
    height: 70px;
  }

  .brand-logo {
    height: 64px;
  }

  .desktop-nav {
    gap: clamp(15px, 1.3vw, 30px);
    font-size: clamp(.72rem, .57vw, .86rem);
  }

  .desktop-nav .nav-featured {
    min-height: 52px;
    padding-inline: 21px;
    font-size: .92rem;
  }

  .phone {
    font-size: .84rem;
  }

  .button-small {
    min-height: 44px;
    padding-inline: 20px;
    font-size: .8rem;
  }

  .hero-editorial {
    padding-top: 112px;
  }

  .hero-paper {
    grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
    gap: clamp(44px, 3.6vw, 72px);
  }

  .hero-copy-column {
    min-width: 0;
    padding-block: 36px 56px;
  }

  .hero-title {
    max-width: 780px;
    margin-bottom: 42px;
    font-size: clamp(5rem, 5.05vw, 7.2rem);
    line-height: .92;
  }

  .hero-title span,
  .hero-accent-line {
    max-width: 100%;
  }

  .hero-copy {
    max-width: 610px;
    margin-bottom: 34px;
    font-size: clamp(1.16rem, .98vw, 1.32rem);
  }

  .hero-stage {
    min-width: 0;
    min-height: clamp(690px, 72vh, 820px);
  }

  .hero-actions {
    gap: 34px;
  }

  .hero-actions .button {
    min-height: 58px;
    padding-inline: 32px;
  }
}

@media (max-width: 767px) {
  body::after {
    opacity: .035;
  }

  .section {
    padding-block: 56px;
  }

  .hero-editorial {
    padding-bottom: 0;
  }

  .hero-copy-column {
    padding-bottom: 24px;
  }

  .hero + .ideas {
    padding-top: 48px;
  }

  h2 {
    font-size: clamp(2.65rem, 12.5vw, 4.3rem);
  }

  .hero {
    background:
      radial-gradient(ellipse at 78% 24%, rgba(13, 167, 181, .12), transparent 22rem),
      linear-gradient(145deg, #f8f8f5, #eef2ef);
  }

  .hero-paper::before {
    display: none;
  }

  .hero-title {
    font-size: clamp(3rem, 13.2vw, 4.75rem);
    line-height: .91;
  }

  .hero-accent-line {
    padding-right: 8px;
    box-shadow: none;
  }

  .hero-stage::before {
    width: 96%;
    background: rgba(13, 167, 181, .12);
  }

  .program-card-wide {
    width: 100%;
  }

  .story-heading {
    gap: 14px;
  }

  .story-stage > img {
    height: 410px;
    border-radius: 30px 10px 30px 10px;
  }

  .story-point {
    border-radius: 14px 14px 28px 14px;
  }

  .process-line {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-stage > img {
    animation: none !important;
  }
}
