:root {
    --bg: #f4f2ee;
    --ink: #1f2020;
    --muted: #686a66;
    --line: rgba(31, 32, 32, .16);
    --dark: #202020;
    --dark-line: rgba(255, 255, 255, .16);
    --paper: #fffaf3;
    --accent: #cfe8dc;
    --accent-strong: #98c9b6;
    --danger: #9f2f2f;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.45;
}

a {
    color: inherit;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 64px;
    padding: 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    background: rgba(51, 43, 52, .96);
    color: #fff;
    backdrop-filter: blur(18px);
}

.site-header-overlay {
    position: fixed;
    left: 0;
    right: 0;
    min-height: 58px;
    margin: 0;
    border-radius: 0 0 24px 24px;
    background: rgba(51, 43, 52, .82);
}

.brand {
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    gap: 28px;
    font-size: 13px;
    text-transform: uppercase;
}

.site-nav a {
    text-decoration: none;
}

.site-menu {
    display: block;
    padding: 0;
    border: 0;
}

.site-menu summary {
    display: none;
}

.site-menu .site-nav {
    display: flex;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 44vw);
    gap: 24px;
    min-height: calc(100vh - 64px);
    padding: 56px 48px 28px;
    overflow: hidden;
}

.hero-fullbleed {
    display: block;
    min-height: 0;
    height: min(760px, 82vh);
    min-height: 620px;
    padding: 104px 48px 48px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .2) 52%, rgba(0, 0, 0, .44)),
        linear-gradient(0deg, rgba(0, 0, 0, .68), transparent 45%),
        linear-gradient(135deg, #4b4d4b, #d9dad5 54%, #1f2020);
    background-position: var(--hero-bg-position, top center);
    background-size: cover;
}

.hero-fullbleed.has-hero-bg {
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .2) 52%, rgba(0, 0, 0, .44)),
        linear-gradient(0deg, rgba(0, 0, 0, .68), transparent 45%),
        var(--hero-image);
}

.hero-fullbleed::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    pointer-events: none;
    background: rgba(255, 255, 255, .08);
    transform: translateX(18px);
    filter: blur(18px);
    opacity: .18;
}

.hero-fullbleed::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, transparent 42%, rgba(255, 255, 255, .16) 47%, transparent 54%);
    mix-blend-mode: screen;
    opacity: .22;
}

.hero-copy {
    position: relative;
    z-index: 3;
    align-self: end;
    max-width: 780px;
    padding-bottom: 72px;
}

.hero-fullbleed .hero-copy {
    position: absolute;
    left: 48px;
    right: 430px;
    bottom: 84px;
    max-width: 920px;
    padding-bottom: 0;
}

.hero-fullbleed .eyebrow {
    color: rgba(255, 255, 255, .78);
}

.hero-fullbleed h1 {
    max-width: 1040px;
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(48px, 6.2vw, 108px);
    line-height: .9;
    text-shadow: 0 12px 48px rgba(0, 0, 0, .38);
}

.hero-fullbleed .hero-copy p {
    color: rgba(255, 255, 255, .84);
    font-weight: 700;
}

.hero-fullbleed .button {
    border-color: rgba(255, 255, 255, .88);
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
}

.hero-meta {
    position: absolute;
    top: 96px;
    left: 48px;
    right: 48px;
    z-index: 3;
    display: flex;
    justify-content: end;
    gap: 24px;
    color: rgba(255, 255, 255, .86);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-stat {
    position: absolute;
    right: 48px;
    bottom: 86px;
    z-index: 3;
    display: grid;
    gap: 12px;
    width: min(330px, calc(100% - 96px));
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 250, 243, .92);
    color: #5b4f57;
}

.hero-stat strong {
    font-size: 34px;
    line-height: 1;
    text-transform: uppercase;
}

.hero-stat span {
    font-weight: 800;
    text-transform: uppercase;
}

.eyebrow,
.section-label {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3,
.article-link strong {
    max-width: 100%;
    overflow-wrap: normal;
    hyphens: none;
}

h1 {
    max-width: 980px;
    margin-bottom: 24px;
    font-size: clamp(64px, 12vw, 188px);
    line-height: .8;
    letter-spacing: 0;
    text-transform: uppercase;
}

h2 {
    margin-bottom: 24px;
    font-size: clamp(32px, 4vw, 60px);
    line-height: .92;
    letter-spacing: 0;
    text-transform: uppercase;
}

#services h2 {
    font-size: clamp(34px, 5.2vw, 78px);
}

.formats-section {
    background:
        linear-gradient(90deg, rgba(244, 242, 238, .8) 0%, rgba(244, 242, 238, .58) 42%, rgba(244, 242, 238, .14) 100%),
        linear-gradient(0deg, rgba(244, 242, 238, .34), rgba(244, 242, 238, .08)),
        url("/images/formats-support-hands.png") center right / cover no-repeat;
}

.formats-section .service-card {
    position: relative;
    overflow: visible;
    border-color: rgba(31, 32, 32, .18);
    background: rgba(255, 250, 243, .62);
    box-shadow: 0 18px 46px rgba(61, 48, 38, .1);
    backdrop-filter: blur(7px);
}

.formats-section .service-card-featured {
    isolation: isolate;
    z-index: 1;
    padding-top: 38px;
    border-color: rgba(76, 53, 70, .38);
    background:
        linear-gradient(135deg, rgba(255, 250, 243, .9), rgba(232, 218, 200, .7)),
        rgba(255, 250, 243, .74);
    box-shadow: 0 22px 54px rgba(76, 53, 70, .18);
}

.service-card-featured::before {
    position: absolute;
    top: 0;
    right: 12px;
    bottom: 0;
    z-index: -1;
    width: 34px;
    content: "";
    background: linear-gradient(90deg, rgba(246, 229, 192, .38), rgba(255, 248, 225, .74), rgba(246, 229, 192, .38));
}

.service-card-featured::after {
    position: absolute;
    top: 42px;
    right: 0;
    left: 0;
    z-index: -1;
    height: 28px;
    content: "";
    //background: linear-gradient(rgba(246, 229, 192, .38), rgba(255, 248, 225, .7), rgba(246, 229, 192, .38));
}

.service-gift-bow {
    position: absolute;
    top: -62px;
    right: -48px;
    z-index: 4;
    width: 158px;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 10px 12px rgba(61, 48, 38, .16));
    transform: rotate(9deg);
}

.service-card-featured h3,
.service-card-featured p,
.service-card-featured dl {
    position: relative;
    z-index: 1;
}

h3 {
    font-size: 22px;
    line-height: 1.05;
    text-transform: uppercase;
}

.hero-copy p,
.lead {
    max-width: 560px;
    color: var(--muted);
    font-size: 20px;
}

.hero-photo {
    align-self: stretch;
    min-height: 520px;
    border-radius: 8px;
}

.hero-note {
    position: absolute;
    right: 48px;
    bottom: 36px;
    max-width: 260px;
    font-weight: 700;
}

.hero-fullbleed .hero-note {
    z-index: 3;
    right: 48px;
    bottom: 20px;
    max-width: 330px;
    color: rgba(255, 255, 255, .78);
}

.unstable-photo {
    position: relative;
    overflow: hidden;
    background: #d7d8d2;
}

.unstable-photo img,
.unstable-photo .photo-placeholder {
    filter: grayscale(1) contrast(1.08);
}

.unstable-photo::before,
.unstable-photo::after {
    position: absolute;
    inset: 0;
    content: "";
    background: inherit;
    opacity: .55;
    pointer-events: none;
}

.unstable-photo::before {
    transform: translate(-18px, 10px);
    filter: blur(12px) grayscale(1);
    mix-blend-mode: multiply;
}

.unstable-photo::after {
    //transform: translate(22px, -8px);
    border-top: 1px solid rgba(255, 255, 255, .55);
    filter: blur(4px);
    opacity: .32;
}

.photo-placeholder {
    min-height: 100%;
    background:
        linear-gradient(100deg, rgba(255, 255, 255, .18), transparent 34%),
        radial-gradient(circle at 44% 34%, #efefeb 0 7%, transparent 8%),
        linear-gradient(135deg, #4b4d4b, #d9dad5 54%, #1f2020);
}

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--ink);
    color: #fff;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.button-light {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--ink);
}

.dark-section {
    background:
        linear-gradient(var(--dark-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--dark-line) 1px, transparent 1px),
        var(--dark);
    background-size: 112px 112px;
    color: #f4f2ee;
}

.approach-section {
    background:
        linear-gradient(rgba(65, 55, 47, .18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(65, 55, 47, .18) 1px, transparent 1px),
        #d5c3ad;
    background-size: 112px 112px;
    color: #2d2925;
}

.approach-section .section-text {
    color: rgba(45, 41, 37, .78);
}

.approach-section .button-light {
    border-color: #3c342d;
    background: #3c342d;
    color: #fffaf3;
}

.philosophy-aside {
    position: relative;
    display: grid;
    align-content: start;
    gap: 18px;
    outline: none;
}

.philosophy-aside > p {
    margin-bottom: 0;
}

.philosophy-aside > .button {
    justify-self: start;
}

.philosophy-gift {
    position: absolute;
    top: 92px;
    right: -26px;
    display: block;
    width: 190px;
    margin: 0;
    color: #fffaf3;
    text-decoration: none;
    transition: transform .25s ease;
}

.philosophy-gift img {
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 18px rgba(61, 48, 38, .2));
}

.philosophy-gift span {
    position: absolute;
    right: -8px;
    bottom: 30px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
    background: #4c3546;
    box-shadow: 0 8px 20px rgba(61, 48, 38, .18);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    transform: rotate(-7deg);
}

.philosophy-gift:hover,
.philosophy-gift:focus-visible {
    outline: none;
    transform: translateY(-6px) rotate(1deg);
}

.philosophy-gift:focus-visible span {
    outline: 2px solid #3c342d;
    outline-offset: 4px;
}

.grid-section,
.section,
.visual-row,
.faq-section,
.contact-section {
    padding: 72px 48px;
}

.grid-section {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) minmax(260px, 420px);
    gap: 32px;
    align-items: start;
}

.section {
    border-top: 1px solid var(--line);
}

.section-head {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) auto;
    gap: 32px;
    align-items: start;
    margin-bottom: 36px;
}

.section-text {
    color: rgba(244, 242, 238, .72);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-card,
.article-link,
.auth-card {
    padding: 28px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .44);
}

.service-card p {
    color: var(--muted);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
    gap: 48px;
    align-items: start;
    max-width: 1080px;
    margin-left: 192px;
}

.about-copy {
    display: grid;
    gap: 20px;
    max-width: 700px;
    font-size: 20px;
}

.about-copy p {
    margin: 0;
}

.personal-note {
    padding: 24px;
    border-left: 3px solid var(--accent-strong);
    background: rgba(207, 232, 220, .3);
    font-weight: 700;
}

.requests-section .request-intro,
.requests-section .request-grid {
    grid-column: 2 / -1;
}

.request-intro {
    color: rgba(45, 41, 37, .82);
}

.request-grid,
.safety-grid,
.step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.request-card,
.safety-grid article,
.step-grid article {
    padding: 24px;
    border: 1px solid var(--line);
}

.request-card {
    border-color: rgba(45, 41, 37, .2);
    background: rgba(255, 250, 243, .28);
}

.request-card h3,
.safety-grid h3,
.step-grid h3 {
    margin-bottom: 12px;
}

.request-card p,
.safety-grid p,
.step-grid p {
    margin: 0;
}

.request-card p {
    color: rgba(45, 41, 37, .82);
}

.safety-grid article,
.step-grid article {
    background: rgba(255, 255, 255, .32);
}

.approach-note {
    max-width: 840px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.step-grid article > span {
    display: block;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.first-meeting-section {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) auto;
    gap: 32px;
    align-items: end;
    padding: 72px 48px;
    background: var(--accent);
}

.first-meeting-section h2 {
    margin-bottom: 16px;
}

.first-meeting-section p {
    max-width: 760px;
    margin: 0;
    font-size: 18px;
}

dl {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
}

dt {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

dd {
    margin: 0;
    font-weight: 700;
}

.visual-row {
    display: grid;
    grid-template-columns: 160px repeat(3, minmax(160px, 1fr));
    gap: 24px;
    align-items: end;
}

.visual-card {
    min-height: 280px;
}

.visual-card h3 {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    margin: 0;
    font-size: 17px;
    color: #fff;
}

.diploma-section {
    padding: 72px 0 72px 48px;
    overflow: hidden;
}

.diploma-heading {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(260px, 420px) auto;
    gap: 32px;
    align-items: end;
    padding-right: 48px;
    margin-bottom: 42px;
}

.diploma-heading h2 {
    max-width: 760px;
    margin-bottom: 0;
}

.diploma-heading h2 span {
    display: block;
}

.diploma-heading p {
    max-width: 400px;
    margin-bottom: 4px;
    color: rgba(45, 41, 37, .76);
    font-size: 18px;
}

.diploma-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.diploma-arrow {
    width: 52px;
    min-height: 52px;
    padding: 0;
    border-color: #3c342d;
    border-radius: 50%;
    background: transparent;
    color: #3c342d;
    font-size: 22px;
}

.diploma-arrow:hover,
.diploma-arrow:focus-visible {
    background: #3c342d;
    color: #fffaf3;
}

.diploma-arrow:disabled {
    opacity: .32;
    cursor: default;
}

.diploma-counter {
    min-width: 54px;
    color: rgba(45, 41, 37, .6);
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.diploma-counter strong {
    color: #2d2925;
    font-size: 20px;
}

.diploma-viewport {
    display: flex;
    gap: 24px;
    padding: 4px 48px 20px 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.diploma-viewport::-webkit-scrollbar {
    display: none;
}

.diploma-viewport:focus-visible {
    outline: 2px solid #3c342d;
    outline-offset: 6px;
}

.diploma-slide {
    flex: 0 0 clamp(300px, 38vw, 520px);
    scroll-snap-align: start;
}

.diploma-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    padding: clamp(18px, 2.4vw, 34px);
    overflow: hidden;
    border: 1px solid rgba(45, 41, 37, .18);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(244, 239, 230, .96)),
        #fffaf3;
    box-shadow: 0 18px 46px rgba(61, 48, 38, .14);
}

.diploma-image img {
    object-fit: contain;
    filter: saturate(.9) contrast(1.02);
    transition: transform .35s ease;
}

.diploma-image span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 8px 12px;
    background: rgba(45, 41, 37, .88);
    color: #fffaf3;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
}

.diploma-image:hover img {
    transform: scale(1.018);
}

.diploma-image:hover span,
.diploma-image:focus-visible span {
    opacity: 1;
    transform: translateY(0);
}

.diploma-caption {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding-top: 18px;
}

.diploma-caption > span {
    color: rgba(45, 41, 37, .52);
    font-size: 12px;
}

.diploma-caption h3 {
    margin-bottom: 0;
    font-size: 18px;
}

.diploma-dots {
    display: flex;
    gap: 8px;
    padding: 22px 48px 0 0;
}

.diploma-dot {
    width: 30px;
    min-height: 3px;
    padding: 0;
    border: 0;
    background: rgba(45, 41, 37, .24);
}

.diploma-dot.is-active {
    background: #3c342d;
}

.has-single-diploma .diploma-controls,
.has-single-diploma .diploma-dots {
    display: none;
}

.article-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.article-list-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-link {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 14px;
    min-height: 180px;
    text-decoration: none;
}

.article-link span,
.muted {
    color: var(--muted);
}

.article-link strong {
    font-size: 24px;
    line-height: 1.05;
    text-transform: uppercase;
}

.article-link .article-read {
    width: fit-content;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor;
}

.faq-section {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 32px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details p {
    margin: 16px 0 0;
}

details {
    border: 1px solid rgba(51, 43, 52, .82);
    padding: 20px;
}

summary {
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(320px, .65fr);
    gap: 48px;
}

.contact-buttons {
    display: grid;
    gap: 16px;
    width: max-content;
    max-width: 100%;
    margin-top: 18px;
}

.contact-buttons .button {
    width: 100%;
}

.lead-form,
.auth-card {
    display: grid;
    gap: 18px;
}

.lead-flash {
    padding: 14px 16px;
    border: 1px solid var(--accent-strong);
    background: var(--accent);
    font-weight: 700;
}

.lead-form {
    align-self: start;
    scroll-margin-top: 88px;
    padding: 28px;
    border: 1px solid var(--line);
    background: rgba(255, 250, 243, .72);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.lead-form label,
.auth-card label {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
}

textarea {
    resize: vertical;
}

.lead-form input[type="text"],
.lead-form textarea,
.auth-card input {
    border-color: rgba(31, 32, 32, .18);
    background: rgba(255, 255, 255, .68);
}

.lead-form input:focus,
.lead-form textarea:focus,
.auth-card input:focus {
    outline: 2px solid var(--accent-strong);
    outline-offset: 2px;
}

.choice-group {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
}

.choice-group legend {
    padding: 0;
    font-weight: 800;
}

.choice-group label,
.consent-line {
    display: flex;
}

.choice-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.choice-pill {
    position: relative;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .64);
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
}

.choice-pill input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.choice-pill:has(input:checked) {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.consent-line {
    grid-template-columns: none;
    align-items: flex-start;
    gap: 12px;
    color: #343635;
    font-weight: 700;
}

.consent-line input {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    min-height: 22px;
    margin-top: 2px;
    accent-color: var(--ink);
}

.lead-form button {
    justify-self: start;
}

.lead-form ul {
    margin: -8px 0 0;
    padding-left: 18px;
    color: var(--danger);
}

.form-error,
.invalid-feedback {
    color: var(--danger);
}

.flash {
    padding: 16px 48px;
    background: var(--accent);
    font-weight: 700;
}

.page-shell {
    min-height: 72vh;
    padding: 72px 48px;
}

.error-body {
    min-height: 100vh;
}

.error-page {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    align-items: center;
    min-height: calc(100svh - 129px);
    padding: clamp(64px, 8vw, 120px) 48px;
    overflow: hidden;
    background:
        linear-gradient(rgba(65, 55, 47, .18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(65, 55, 47, .18) 1px, transparent 1px),
        #d5c3ad;
    background-size: 112px 112px;
    color: #2d2925;
}

.error-page::after {
    position: absolute;
    right: -12vw;
    bottom: -28vw;
    z-index: -1;
    width: 58vw;
    aspect-ratio: 1;
    border: 1px solid rgba(45, 41, 37, .2);
    border-radius: 50%;
    content: "";
    box-shadow:
        0 0 0 5vw rgba(255, 250, 243, .09),
        0 0 0 10vw rgba(255, 250, 243, .06);
}

.error-page__number {
    color: rgba(45, 41, 37, .08);
    font-size: clamp(160px, 27vw, 420px);
    font-weight: 800;
    letter-spacing: -.09em;
    line-height: .7;
    user-select: none;
}

.error-page__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: clamp(32px, 5vw, 64px);
    border: 1px solid rgba(45, 41, 37, .22);
    background: rgba(255, 250, 243, .78);
    box-shadow: 0 28px 70px rgba(61, 48, 38, .14);
    backdrop-filter: blur(8px);
}

.error-page__content .section-label {
    margin-bottom: 28px;
    color: rgba(45, 41, 37, .62);
}

.error-page__content h1 {
    max-width: 680px;
    margin-bottom: 24px;
    font-size: clamp(44px, 6vw, 88px);
    line-height: .86;
}

.error-page__message {
    max-width: 590px;
    margin-bottom: 36px;
    color: rgba(45, 41, 37, .78);
    font-size: clamp(18px, 1.7vw, 22px);
    line-height: 1.5;
}

.error-page__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.error-page__link {
    padding: 10px 0;
    border-bottom: 1px solid currentColor;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.error-page__note {
    position: absolute;
    left: 48px;
    bottom: 28px;
    margin: 0;
    color: rgba(45, 41, 37, .58);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.page-title {
    margin-bottom: 42px;
}

.materials-title h1 {
    font-size: clamp(44px, 7vw, 88px);
    line-height: .9;
}

.article-page {
    max-width: 1240px;
    margin: 0 auto;
}

.article-page > article {
    width: 100%;
}

.article-header {
    max-width: 960px;
}

.article-page h1 {
    max-width: 920px;
    margin-bottom: 28px;
    font-size: clamp(48px, 5vw, 80px);
    line-height: .94;
}

.article-header .lead {
    max-width: 720px;
    margin-bottom: 0;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.5;
}

.article-cover {
    width: min(100%, 900px);
    aspect-ratio: 16 / 9;
    min-height: 0;
    margin: 46px 0 52px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #ddd8d0;
    box-shadow: 0 18px 48px rgba(31, 32, 32, .08);
}

.article-cover img {
    object-position: center;
}

.cms-image {
    min-height: 420px;
    margin: 32px 0;
}

.prose {
    max-width: 720px;
    font-size: 19px;
    line-height: 1.7;
    color: #343635;
}

.prose > * {
    margin-bottom: 1.15em;
}

.prose h1,
.prose h2 {
    margin-top: 1.5em;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1;
}

.prose h3 {
    margin-top: 1.4em;
    font-size: 24px;
}

.prose ul,
.prose ol {
    display: grid;
    gap: .45em;
    padding-left: 1.4em;
}

.prose blockquote {
    margin-left: 0;
    padding: 6px 0 6px 22px;
    border-left: 3px solid var(--accent-strong);
    color: var(--muted);
    font-size: 1.08em;
}

.prose a {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.prose img {
    height: auto;
    margin: 28px 0;
}

.cms-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 32px;
}

.back-link {
    display: inline-block;
    margin-bottom: 42px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    text-transform: uppercase;
}

.back-link:hover,
.back-link:focus-visible {
    color: var(--ink);
}

.auth-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 32px;
    background:
        radial-gradient(circle at top right, rgba(207, 232, 220, .82), transparent 34%),
        var(--bg);
}

.auth-card {
    width: min(100%, 420px);
    gap: 24px;
    padding: 40px;
    border-color: rgba(31, 32, 32, .14);
    border-radius: 16px;
    background: rgba(255, 250, 243, .9);
    box-shadow: 0 20px 56px rgba(31, 32, 32, .09);
}

.auth-card__intro {
    display: grid;
    gap: 10px;
}

.auth-card__brand {
    width: fit-content;
    margin-bottom: 22px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.auth-card__eyebrow {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.auth-card h1 {
    max-width: none;
    margin: 0;
    font-size: clamp(38px, 7vw, 52px);
    line-height: .95;
    letter-spacing: -.04em;
    text-transform: none;
}

.auth-card__hint {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.auth-card .form-error {
    margin: 0;
    padding: 12px 14px;
    border-left: 3px solid var(--danger);
    background: rgba(159, 47, 47, .08);
    font-size: 14px;
}

.auth-card input {
    min-height: 52px;
    border-radius: 6px;
}

.auth-card input::placeholder {
    color: #8a8c88;
}

.auth-card__submit {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--dark);
    border-radius: 6px;
    background: var(--dark);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.auth-card__submit:hover {
    background: #393939;
}

.auth-card__submit:active {
    transform: translateY(1px);
}

.auth-card__submit:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 3px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 48px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .diploma-viewport {
        scroll-behavior: auto;
    }

    .diploma-image img,
    .diploma-image span,
    .philosophy-gift {
        transition: none;
    }

    .unstable-photo::before,
    .unstable-photo::after {
        display: none;
    }
}

@media (max-width: 1380px) {
    .grid-section {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .grid-section .section-text {
        grid-column: 2;
    }

    .philosophy-gift {
        position: relative;
        top: auto;
        right: auto;
        justify-self: end;
        width: 210px;
        margin: -18px 0 -32px;
    }

    .about-layout {
        margin-left: 152px;
    }

    .first-meeting-section {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .first-meeting-section .button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 1180px) {
    .hero-fullbleed {
        height: 620px;
        min-height: 620px;
    }

    .hero-fullbleed .hero-copy {
        right: 48px;
        bottom: 54px;
    }

    .hero-fullbleed h1 {
        max-width: 720px;
        font-size: clamp(54px, 8.6vw, 92px);
    }

    .hero-stat,
    .hero-fullbleed .hero-note {
        display: none;
    }
}

@media (max-width: 900px) {
    .site-header {
        min-height: 64px;
        padding: 12px 20px;
    }

    .site-header-overlay {
        position: absolute;
        border-radius: 0 0 18px 18px;
    }

    .site-menu {
        position: relative;
        display: block;
        margin-left: auto;
        padding: 0;
        border: 0;
    }

    .site-menu:not([open]) .site-nav {
        display: none;
    }

    .site-menu summary {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        padding: 0 9px;
        cursor: pointer;
        list-style: none;
        border: 0;
        border-radius: 0;
    }

    .site-menu summary::-webkit-details-marker {
        display: none;
    }

    .site-menu summary span {
        display: block;
        height: 2px;
        background: currentColor;
        transition: transform .2s ease, opacity .2s ease;
    }

    .site-menu[open] summary span:first-child {
        transform: translateY(6px) rotate(45deg);
    }

    .site-menu[open] summary span:nth-child(2) {
        opacity: 0;
    }

    .site-menu[open] summary span:last-child {
        transform: translateY(-6px) rotate(-45deg);
    }

    .site-menu summary:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: 3px;
    }

    .site-menu .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        display: grid;
        gap: 0;
        width: min(280px, calc(100vw - 40px));
        min-width: 0;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 14px;
        color: #fff;
        font-size: 12px;
        background: rgba(51, 43, 52, .98);
        box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
    }

    .site-nav a {
        display: block;
        padding: 11px 12px;
        border-radius: 8px;
    }

    .site-nav a:hover,
    .site-nav a:focus-visible {
        background: rgba(255, 255, 255, .14);
        outline: none;
    }

    .hero,
    .grid-section,
    .section-head,
    .visual-row,
    .faq-section,
    .contact-section,
    .cms-block {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .contact-buttons .button {
        width: 100%;
    }

    .grid-section .section-text {
        grid-column: auto;
    }

    .philosophy-gift {
        justify-self: end;
        width: min(220px, 72vw);
        margin: 0 4px -24px 0;
    }

    .philosophy-gift span {
        right: 0;
        bottom: 22px;
    }

    .about-layout,
    .request-grid,
    .safety-grid,
    .step-grid,
    .first-meeting-section {
        grid-template-columns: 1fr;
    }

    .about-layout {
        gap: 24px;
        margin-left: 0;
    }

    .requests-section .request-intro,
    .requests-section .request-grid,
    .first-meeting-section .button {
        grid-column: auto;
    }

    .first-meeting-section {
        gap: 24px;
        padding: 48px 20px;
    }

    .hero,
    .grid-section,
    .section,
    .visual-row,
    .faq-section,
    .contact-section,
    .page-shell {
        padding: 48px 20px;
    }

    .error-page {
        grid-template-columns: 1fr;
        align-content: center;
        min-height: calc(100svh - 129px);
        padding: 72px 20px 96px;
    }

    .error-page__number {
        position: absolute;
        top: 32px;
        left: 8px;
        z-index: -1;
        font-size: clamp(150px, 55vw, 300px);
    }

    .error-page__content {
        justify-self: center;
        width: 100%;
        max-width: 680px;
        padding: clamp(28px, 8vw, 48px);
    }

    .error-page__content h1 {
        font-size: clamp(40px, 12vw, 64px);
    }

    .error-page__note {
        left: 20px;
        bottom: 28px;
    }

    .diploma-section {
        padding: 48px 0 48px 20px;
    }

    .formats-section {
        background:
            linear-gradient(rgba(244, 242, 238, .68), rgba(244, 242, 238, .76)),
            url("/images/formats-support-hands.png") 68% center / cover no-repeat;
    }

    .formats-section .service-card {
        background: rgba(255, 250, 243, .68);
    }

    .formats-section .service-card-featured {
        padding-top: 42px;
    }

    .service-card-featured::before {
        right: 25px;
    }

    .service-gift-bow {
        top: -50px;
        right: -20px;
        width: 138px;
    }

    .diploma-heading {
        grid-template-columns: 1fr auto;
        padding-right: 20px;
        margin-bottom: 30px;
    }

    .diploma-heading > div:first-child {
        grid-column: 1 / -1;
    }

    .diploma-heading p {
        font-size: 16px;
    }

    .diploma-viewport {
        gap: 16px;
        padding-right: 20px;
    }

    .diploma-slide {
        flex-basis: min(82vw, 460px);
    }

    .diploma-dots {
        padding-right: 20px;
    }

    .hero {
        min-height: auto;
    }

    .hero-fullbleed {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        min-height: 540px;
        min-height: 100svh;
        padding: 118px 20px 36px;
        --hero-bg-position: top center;
    }

    .hero-fullbleed .hero-copy {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        display: grid;
        gap: 16px;
        width: 100%;
        max-width: 440px;
        align-self: flex-start;
        margin-top: auto;
    }

    .hero-fullbleed h1 {
        margin-bottom: 0;
        font-size: clamp(48px, 14vw, 58px);
        line-height: .9;
    }

    .hero-meta {
        //display: none;
    }

    .hero-fullbleed .eyebrow {
        display: none;
    }

    .hero-fullbleed .hero-copy p {
        max-width: 320px;
        margin-bottom: 0;
        font-size: 19px;
        line-height: 1.35;
    }

    .hero-fullbleed .button {
        justify-self: start;
    }

    .hero-stat {
        left: 20px;
        right: 20px;
        bottom: 64px;
        width: auto;
        padding: 20px;
        border-radius: 18px;
    }

    .hero-fullbleed .hero-note {
        display: none;
    }

    .hero-copy {
        padding-bottom: 20px;
    }

    h1 {
        font-size: clamp(46px, 15vw, 68px);
    }

    .article-page h1 {
        margin-bottom: 22px;
        font-size: clamp(36px, 10.5vw, 52px);
        line-height: .96;
    }

    .article-page {
        padding-top: 36px;
    }

    .article-page .back-link {
        margin-bottom: 30px;
    }

    .article-header .section-label {
        margin-bottom: 16px;
    }

    .article-header .lead {
        font-size: 17px;
        line-height: 1.5;
    }

    .article-cover {
        width: 100%;
        aspect-ratio: 4 / 3;
        margin: 32px 0 38px;
        box-shadow: 0 12px 32px rgba(31, 32, 32, .08);
    }

    .prose {
        max-width: none;
        font-size: 17px;
        line-height: 1.65;
    }

    .prose h1,
    .prose h2 {
        font-size: clamp(25px, 7.5vw, 34px);
    }

    .prose h3 {
        font-size: 21px;
    }

    .prose blockquote {
        padding-left: 16px;
    }

    h2 {
        font-size: clamp(26px, 8vw, 38px);
    }

    #services h2 {
        font-size: clamp(30px, 10vw, 42px);
    }

    .diploma-heading h2 {
        font-size: clamp(25px, 8vw, 36px);
        letter-spacing: -.025em;
    }

    .hero-photo {
        min-height: 420px;
    }

    .hero-note {
        position: static;
        max-width: none;
    }

    .card-grid,
    .article-list,
    .article-list-wide,
    .form-grid,
    .choice-pills {
        grid-template-columns: 1fr;
    }

    .site-footer {
        flex-direction: column;
        padding: 28px 20px;
    }
}

@media (max-width: 900px) and (max-height: 720px) {
    .hero-fullbleed {
        min-height: 500px;
        min-height: 100svh;
        padding-bottom: 20px;
    }

    .hero-meta {
        margin-bottom: 18px;
    }
}

@media (max-width: 480px) {
    .diploma-heading {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .diploma-controls {
        justify-content: space-between;
    }

    .diploma-slide {
        flex-basis: calc(100vw - 40px);
    }

    .diploma-caption {
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .auth-page {
        padding: 20px;
    }

    .auth-card {
        padding: 28px 24px;
    }
}

.grecaptcha-badge {
    visibility: hidden;
}
