.tofaa-about {
    --about-purple: #7c4fa0;
    --about-purple-dark: #5d3678;
    --about-lilac: #b083bc;
    --about-lime: #d1d635;
    --about-pink: #e85b91;
    --about-peach: #f2c4aa;
    --about-cream: #fffaf5;
    --about-page: #f7e9df;
    --about-ink: #211827;
    overflow: hidden;
    background: radial-gradient(circle at 8% 24%, rgba(209, 214, 53, .16), transparent 22%), radial-gradient(circle at 94% 67%, rgba(176, 131, 188, .17), transparent 25%), var(--about-page);
    color: var(--about-ink);
    font-family: "Rubik", sans-serif;
}

.tofaa-about *, .tofaa-about *::before, .tofaa-about *::after { box-sizing: border-box; }
main.tofaa-about { padding-top: 0 !important; }
.tofaa-about__shell { width: min(1480px, calc(100% - 64px)); margin: 0 auto; padding: 9px 0 92px; }
.tofaa-about__hero, .tofaa-about__story-card, .tofaa-about__method, .tofaa-about__forms, .tofaa-about__principles, .tofaa-about__closing { border: 1px solid var(--about-ink); }

.tofaa-about__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
    min-height: 610px;
    overflow: hidden;
    border-radius: 44px;
    background: var(--about-cream);
    box-shadow: 0 10px 0 rgba(33, 24, 39, .16);
}

.tofaa-about__hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(54px, 7vw, 112px); }
.tofaa-about__eyebrow { margin: 0 0 14px; color: var(--about-purple); font-size: 14px; font-weight: 900; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; }
.tofaa-about h1, .tofaa-about h2, .tofaa-about h3, .tofaa-about p { font-family: inherit; }
.tofaa-about h1 { max-width: 900px; margin: 0 0 30px; color: var(--about-purple); font-size: clamp(39px, 3.7vw, 58px); font-weight: 1000; letter-spacing: -.045em; line-height: 1.02; }
.tofaa-about__lead { max-width: 850px; margin: 0; color: var(--about-purple); font-size: clamp(20px, 1.8vw, 27px); font-weight: 600; letter-spacing: -.015em; line-height: 1.42; }

.tofaa-about__hero-art { position: relative; min-height: 100%; overflow: hidden; perspective: 900px; background: linear-gradient(145deg, var(--about-lime), #c4d524); border-left: 1px solid var(--about-ink); }
.tofaa-about__hero-art::before, .tofaa-about__hero-art::after { position: absolute; content: ""; border: 1px solid rgba(124, 79, 160, .44); border-radius: 50%; }
.tofaa-about__hero-art::before { width: 440px; height: 440px; top: 50%; left: 50%; transform: translate(calc(-50% + var(--about-ring-one-x, 0px)), calc(-50% + var(--about-ring-one-y, 0px))); }
.tofaa-about__hero-art::after { width: 320px; height: 320px; top: 50%; left: 50%; border-color: rgba(124, 79, 160, .25); transform: translate(calc(-50% + var(--about-ring-two-x, 0px)), calc(-50% + var(--about-ring-two-y, 0px))); }

.tofaa-about__apple-card {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    width: min(72%, 340px);
    aspect-ratio: 1;
    place-items: center;
    padding: 34px;
    border: 1px solid var(--about-ink);
    border-radius: 42% 58% 47% 53% / 51% 42% 58% 49%;
    background: var(--about-purple);
    color: #fff;
    text-align: center;
    transform: translate3d(calc(-50% + var(--about-card-x, 0px)), calc(-50% + var(--about-card-y, 0px)), 0) rotateX(var(--about-card-rotate-x, 0deg)) rotateY(var(--about-card-rotate-y, 0deg)) rotateZ(-4deg);
    transform-style: preserve-3d;
    will-change: transform;
}

.tofaa-about__apple-shadow {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: block;
    width: min(72%, 340px);
    aspect-ratio: 1;
    border-radius: 42% 58% 47% 53% / 51% 42% 58% 49%;
    background: rgba(33, 24, 39, .22);
    pointer-events: none;
    transform: translate3d(calc(-50% + 14px + var(--about-shadow-x, 0px)), calc(-50% + 18px + var(--about-shadow-y, 0px)), 0) rotateZ(calc(-4deg + var(--about-shadow-rotate, 0deg)));
    will-change: transform;
}

.tofaa-about__apple-card svg { width: 66%; max-height: 190px; fill: none; stroke: var(--about-lime); stroke-linecap: round; stroke-linejoin: round; stroke-width: 8; }
.tofaa-about__apple-card strong { margin-top: -22px; color: var(--about-lime); font-size: 33px; font-weight: 1000; letter-spacing: -.04em; line-height: 1; text-transform: uppercase; }
.tofaa-about__apple-card span { margin-top: -25px; font-size: 15px; font-weight: 800; }
.tofaa-about__orbit, .tofaa-about__dot { position: absolute; z-index: 1; display: block; border: 1px solid var(--about-ink); border-radius: 50%; }
.tofaa-about__orbit--one { width: 114px; height: 114px; right: 22px; top: 64px; background: var(--about-peach); transform: translate3d(var(--about-orbit-one-x, 0px), var(--about-orbit-one-y, 0px), 0); }
.tofaa-about__orbit--two { width: 90px; height: 90px; bottom: 58px; left: 22px; background: var(--about-lilac); transform: translate3d(var(--about-orbit-two-x, 0px), var(--about-orbit-two-y, 0px), 0); }
.tofaa-about__dot { width: 24px; height: 24px; }
.tofaa-about__dot--pink { top: 88px; left: 52px; background: var(--about-pink); transform: translate3d(var(--about-dot-pink-x, 0px), var(--about-dot-pink-y, 0px), 0); }
.tofaa-about__dot--lilac { right: 52px; bottom: 58px; background: var(--about-purple); transform: translate3d(var(--about-dot-lilac-x, 0px), var(--about-dot-lilac-y, 0px), 0); }

.tofaa-about__story { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; margin-top: 54px; }
.tofaa-about__story-card { position: relative; min-height: 320px; overflow: hidden; padding: clamp(34px, 4vw, 64px); border-radius: 32px; background: var(--about-cream); box-shadow: 0 8px 0 rgba(33, 24, 39, .12); }
.tofaa-about__story-card--lilac { background: #ecdeef; }
.tofaa-about__story-card h2, .tofaa-about__section-heading h2, .tofaa-about__forms h2, .tofaa-about__principles h2 { position: relative; z-index: 1; margin: 0; color: var(--about-purple); font-size: clamp(34px, 3.4vw, 54px); font-weight: 1000; letter-spacing: -.045em; line-height: .98; }
.tofaa-about__story-card > p:last-child { position: relative; z-index: 1; max-width: 880px; margin: 28px 0 0; color: var(--about-purple); font-size: 18px; line-height: 1.65; }

.tofaa-about__method { margin-top: 54px; padding: clamp(38px, 5vw, 76px); border-radius: 42px; background: linear-gradient(140deg, var(--about-lilac), var(--about-purple) 64%, var(--about-purple-dark)); box-shadow: 0 12px 0 var(--about-ink); }
.tofaa-about__method .tofaa-about__eyebrow, .tofaa-about__method .tofaa-about__section-heading h2 { color: var(--about-lime); }
.tofaa-about__section-heading { max-width: 820px; }
.tofaa-about__section-heading > p:last-child { margin: 20px 0 0; color: #fff; font-size: 19px; line-height: 1.55; }
.tofaa-about__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 46px 0 0; padding: 0; list-style: none; }

.tofaa-about__step { position: relative; display: flex; min-height: 300px; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 26px; border: 1px solid var(--about-ink); border-radius: 25px; background: var(--about-cream); box-shadow: 0 7px 0 rgba(33, 24, 39, .28); transition: transform .24s ease, box-shadow .24s ease; }
.tofaa-about__step:hover { transform: translateY(-6px); box-shadow: 0 13px 0 rgba(33, 24, 39, .28); }
.tofaa-about__step-number { position: absolute; top: 15px; right: 18px; color: rgba(124, 79, 160, .13); font-size: 66px; font-weight: 1000; line-height: 1; }
.tofaa-about__step-icon { position: relative; z-index: 1; display: grid; width: 82px; height: 82px; place-items: center; border: 1px solid var(--about-ink); border-radius: 24px; background: var(--about-lime); box-shadow: 0 6px 0 var(--about-ink); transform: rotate(-3deg); }
.tofaa-about__step-icon svg { width: 50px; height: 50px; fill: none; stroke: var(--about-purple); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; }
.tofaa-about__step-icon svg.tofaa-about__icon-solid { width: 46px; height: 46px; fill: var(--about-purple); stroke: none; }
.tofaa-about__step h3 { position: relative; z-index: 1; margin: auto 0 0; color: var(--about-purple); font-size: clamp(20px, 1.7vw, 27px); font-weight: 950; letter-spacing: -.025em; line-height: 1.15; }

.tofaa-about__forms { position: relative; display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 52px; align-items: center; margin-top: 64px; overflow: hidden; padding: clamp(38px, 5vw, 70px); border-radius: 34px; background: radial-gradient(circle at 6% 112%, rgba(242, 196, 170, .9) 0 86px, transparent 87px), radial-gradient(circle at 94% -12%, rgba(176, 131, 188, .45) 0 145px, transparent 146px), var(--about-lime); box-shadow: 0 9px 0 rgba(33, 24, 39, .15); }
.tofaa-about__forms-heading, .tofaa-about__forms-list { position: relative; z-index: 1; }
.tofaa-about__forms-list { display: grid; gap: 14px; }
.tofaa-about__forms-list p { display: flex; gap: 18px; align-items: center; margin: 0; padding: 16px 20px; border: 1px solid var(--about-ink); border-radius: 20px; background: var(--about-cream); color: var(--about-purple); box-shadow: 0 5px 0 rgba(33, 24, 39, .14); transition: transform .2s ease, box-shadow .2s ease; }
.tofaa-about__forms-list p:hover { transform: translateY(-3px); box-shadow: 0 8px 0 rgba(33, 24, 39, .16); }
.tofaa-about__form-icon { display: grid; width: 54px; height: 54px; flex: 0 0 54px; place-items: center; border: 1px solid var(--about-ink); border-radius: 50%; background: var(--about-lime); color: var(--about-purple); }
.tofaa-about__form-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; }
.tofaa-about__form-copy { display: grid; gap: 4px; }
.tofaa-about__forms-list strong { font-size: 18px; font-weight: 950; }
.tofaa-about__forms-list .tofaa-about__form-copy > span { font-size: 16px; }

.tofaa-about__principles { position: relative; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(330px, .78fr); gap: 60px; align-items: center; margin-top: 64px; overflow: hidden; padding: clamp(40px, 6vw, 84px); border-radius: 38px; background: radial-gradient(circle at -3% 108%, rgba(209, 214, 53, .74) 0 112px, transparent 113px), radial-gradient(circle at 102% -10%, rgba(176, 131, 188, .34) 0 174px, transparent 175px), var(--about-cream); box-shadow: 0 8px 0 rgba(33, 24, 39, .13); }
.tofaa-about__principles-copy, .tofaa-about__principles-list { position: relative; z-index: 1; }
.tofaa-about__principles-copy > p:not(.tofaa-about__eyebrow) { max-width: 830px; margin: 25px 0 0; color: var(--about-purple); font-size: 17px; line-height: 1.68; }
.tofaa-about__principles-list { display: grid; gap: 14px; margin: 0; padding: 20px; border: 1px solid var(--about-ink); border-radius: 28px; background: rgba(255, 250, 245, .72); box-shadow: 8px 8px 0 rgba(33, 24, 39, .12); list-style: none; }
.tofaa-about__principles-list li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--about-ink); border-radius: 18px; background: #f0e3f2; color: var(--about-purple); font-size: 17px; font-weight: 900; box-shadow: 0 4px 0 rgba(33, 24, 39, .1); transition: transform .2s ease, box-shadow .2s ease; }
.tofaa-about__principles-list li:nth-child(1) { background: #f3f4aa; }
.tofaa-about__principles-list li:nth-child(2) { background: #f0e3f2; }
.tofaa-about__principles-list li:nth-child(3) { background: #f7dac8; }
.tofaa-about__principles-list li:hover { transform: translateX(-5px); box-shadow: 5px 5px 0 rgba(33, 24, 39, .14); }
.tofaa-about__principles-list span { position: relative; display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid var(--about-ink); border-radius: 50%; background: var(--about-lime); color: var(--about-purple); font-weight: 1000; }
.tofaa-about__principle-icon svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.tofaa-about__principle-icon.is-crossed::after { position: absolute; z-index: 2; width: 3px; height: 34px; border-radius: 999px; background: var(--about-purple); box-shadow: 0 0 0 1.5px var(--about-lime); content: ""; transform: rotate(45deg); }

.tofaa-about__closing { position: relative; margin: 64px 0 0; overflow: hidden; padding: clamp(44px, 7vw, 92px); border-radius: 38px; background: var(--about-purple); box-shadow: 0 11px 0 var(--about-ink); text-align: center; }
.tofaa-about__closing::before, .tofaa-about__closing::after { position: absolute; content: ""; border: 1px solid var(--about-ink); border-radius: 50%; }
.tofaa-about__closing::before { width: 180px; height: 180px; left: -58px; top: -68px; background: var(--about-lime); }
.tofaa-about__closing::after { width: 150px; height: 150px; right: -42px; bottom: -66px; background: var(--about-peach); }
.tofaa-about__closing > span { display: block; height: 54px; color: var(--about-lime); font-size: 96px; font-weight: 1000; line-height: 1; }
.tofaa-about__closing p { position: relative; z-index: 1; max-width: 1050px; margin: 18px auto 0; color: #fff; font-size: clamp(30px, 4.1vw, 62px); font-weight: 1000; letter-spacing: -.045em; line-height: 1.04; }
.tofaa-about__closing-button { position: relative; z-index: 1; justify-content: center; gap: 10px; width: fit-content; min-height: 44px; margin: 34px auto 0; font-size: 15px; }

.tofaa-about--motion [data-tofaa-about-reveal].is-pending { opacity: 0; transform: translateY(30px); }
.tofaa-about--motion [data-tofaa-about-reveal] { transition: opacity .65s ease, transform .65s cubic-bezier(.2, .8, .2, 1); }
.tofaa-about--motion [data-tofaa-about-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
    .tofaa-about__hero { grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); }
    .tofaa-about__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tofaa-about__step { min-height: 260px; }
}

@media (max-width: 900px) {
    .tofaa-about__shell { width: min(100% - 32px, 760px); padding-top: 12px; }
    .tofaa-about__hero { grid-template-columns: 1fr; }
    .tofaa-about__hero-copy { padding: 52px 34px 46px; }
    .tofaa-about__hero-art { min-height: 390px; border-top: 1px solid var(--about-ink); border-left: 0; }
    .tofaa-about__story, .tofaa-about__forms, .tofaa-about__principles { grid-template-columns: 1fr; }
    .tofaa-about__story { gap: 20px; }
    .tofaa-about__story-card { min-height: auto; }
    .tofaa-about__forms, .tofaa-about__principles { gap: 34px; }
}

@media (max-width: 620px) {
    .tofaa-about__shell { width: calc(100% - 20px); padding-bottom: 56px; }
    .tofaa-about__hero, .tofaa-about__method, .tofaa-about__closing { border-radius: 28px; }
    .tofaa-about__hero-copy { padding: 38px 22px 36px; }
    .tofaa-about h1 { margin-bottom: 22px; font-size: 34px; line-height: 1.05; }
    .tofaa-about__lead { font-size: 20px; line-height: 1.42; }
    .tofaa-about__hero-art { min-height: 310px; }
    .tofaa-about__apple-card { width: 220px; padding: 26px; box-shadow: 9px 12px 0 rgba(33, 24, 39, .22); }
    .tofaa-about__apple-card strong { font-size: 25px; }
    .tofaa-about__story, .tofaa-about__method, .tofaa-about__forms, .tofaa-about__principles, .tofaa-about__closing { margin-top: 38px; }
    .tofaa-about__story-card, .tofaa-about__method, .tofaa-about__forms, .tofaa-about__principles, .tofaa-about__closing { padding: 28px 21px; }
    .tofaa-about__story-card h2, .tofaa-about__section-heading h2, .tofaa-about__forms h2, .tofaa-about__principles h2 { font-size: 34px; }
    .tofaa-about__story-card > p:last-child, .tofaa-about__section-heading > p:last-child, .tofaa-about__principles-copy > p:not(.tofaa-about__eyebrow) { font-size: 16px; line-height: 1.56; }
    .tofaa-about__steps { grid-template-columns: 1fr; margin-top: 32px; }
    .tofaa-about__step { min-height: 220px; }
    .tofaa-about__forms-list p { grid-template-columns: 1fr; gap: 5px; }
    .tofaa-about__forms-list p { align-items: flex-start; }
    .tofaa-about__closing p { font-size: 31px; }
    .tofaa-about__closing-button { margin-top: 26px; }
}

@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
    .tofaa-about--motion [data-tofaa-about-reveal], .tofaa-about__step, .tofaa-about__principles-list li { transition: none; }
    .tofaa-about__step:hover { transform: none; }
    .tofaa-about__principles-list li:hover { transform: none; }
    .tofaa-about__apple-card { transform: translate3d(-50%, -50%, 0) rotateZ(-4deg); }
    .tofaa-about__hero-art::before, .tofaa-about__hero-art::after { transform: translate(-50%, -50%); }
    .tofaa-about__orbit, .tofaa-about__dot { transform: translate3d(0, 0, 0); }
}

/*
 * The legacy theme assigns every paragraph inside #primary a green colour and
 * a fixed size. Keep the new page independent without affecting other views.
 */
div#page main#primary.tofaa-about p.tofaa-about__eyebrow {
    color: var(--about-purple);
    font-size: 14px;
}

div#page main#primary.tofaa-about p.tofaa-about__lead {
    color: var(--about-purple);
    font-size: clamp(20px, 1.8vw, 27px);
}

div#page main#primary.tofaa-about .tofaa-about__story-card > p:last-child {
    color: var(--about-purple);
    font-size: clamp(16px, 1.45vw, 18px);
}

div#page main#primary.tofaa-about .tofaa-about__method p.tofaa-about__eyebrow {
    color: var(--about-lime);
}

div#page main#primary.tofaa-about .tofaa-about__section-heading > p:last-child {
    color: #fff;
    font-size: clamp(16px, 1.55vw, 19px);
}

div#page main#primary.tofaa-about .tofaa-about__forms-list p {
    color: var(--about-purple);
    font-size: inherit;
}

div#page main#primary.tofaa-about .tofaa-about__principles-copy > p:not(.tofaa-about__eyebrow) {
    color: var(--about-purple);
    font-size: clamp(16px, 1.4vw, 17px);
}

div#page main#primary.tofaa-about .tofaa-about__closing p {
    color: #fff;
    font-size: clamp(31px, 4.1vw, 62px);
}
