:root {
    color-scheme: light;
    --ink: #18130f;
    --soft-ink: #3b352e;
    --muted: #746c61;
    --paper: #eeece5;
    --chalk: #faf8f1;
    --smoke: #d8d6cf;
    --moss: #354339;
    --river: #31595c;
    --rust: #a84d34;
    --ochre: #b78235;
    --line: rgba(24, 19, 15, 0.16);
    --display: Georgia, Cambria, "Times New Roman", serif;
    --text: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    --mono: "Courier New", Consolas, monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--text);
    background:
        linear-gradient(90deg, rgba(24, 19, 15, 0.055) 1px, transparent 1px) 0 0 / 96px 96px,
        var(--paper);
    color: var(--ink);
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 12px clamp(16px, 4vw, 54px);
    color: #fffdf7;
    background: rgba(19, 16, 13, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--display);
    font-size: 22px;
    font-weight: 700;
    min-width: 0;
}

.brand img {
    width: 42px;
    height: 42px;
    padding: 5px;
    background: #fffdf7;
    border: 1px solid rgba(255, 253, 247, 0.6);
    object-fit: contain;
}

.brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav {
    justify-self: end;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: clamp(12px, 2vw, 28px);
    color: rgba(255, 253, 247, 0.82);
    font-family: var(--mono);
    font-size: 15px;
}

.nav a,
.header-call,
.primary-link,
.form-link,
.pdf-link,
.program-tile a,
.request-form button {
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav a:hover,
.brand:hover {
    color: #eac77f;
}

.header-call,
.primary-link,
.request-form button {
    border: 1px solid #c78c42;
    background: #c78c42;
    color: #17100b;
    font-weight: 800;
}

.header-call {
    padding: 14px 20px;
    font-family: var(--mono);
    font-size: 14px;
}

.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #fffdf7;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    background: url("main.jfif") center / cover no-repeat;
    transform: scale(1.015);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(19, 16, 13, 0.88), rgba(19, 16, 13, 0.38) 45%, rgba(19, 16, 13, 0.18)),
        linear-gradient(0deg, rgba(19, 16, 13, 0.92), rgba(19, 16, 13, 0.04) 58%);
}

.hero-content {
    position: relative;
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    padding: 155px 0 82px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--ochre);
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.detail-copy h2,
.request-copy h2 {
    margin: 0;
    font-family: var(--display);
    font-weight: 700;
    line-height: 0.96;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 770px;
    font-size: clamp(64px, 12vw, 162px);
}

.hero-subtitle {
    max-width: 650px;
    margin: 20px 0 0;
    font-family: var(--display);
    font-size: clamp(24px, 3.4vw, 48px);
    line-height: 1.04;
}

.hero-note {
    max-width: 480px;
    margin: 22px 0 0;
    color: rgba(255, 253, 247, 0.72);
    font-size: 20px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
}

.hero-actions span {
    color: rgba(255, 253, 247, 0.66);
    font-family: var(--mono);
    font-size: 15px;
}

.primary-link,
.form-link,
.pdf-link,
.program-tile a,
.request-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 16px 24px;
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.form-link,
.program-tile a {
    border: 1px solid currentColor;
}

.primary-link:hover,
.header-call:hover,
.request-form button:hover {
    background: #d49b4a;
    transform: translateY(-1px);
}

.form-link:hover,
.program-tile a:hover,
.pdf-link:hover {
    background: var(--ink);
    color: #fffdf7;
    transform: translateY(-1px);
}

.scroll-cue {
    position: absolute;
    left: clamp(16px, 4vw, 54px);
    bottom: 26px;
    font-family: var(--mono);
    color: rgba(255, 253, 247, 0.76);
    text-decoration: none;
}

.section {
    padding: clamp(58px, 9vw, 118px) clamp(16px, 4vw, 56px);
}

.section-heading,
.request-section,
.program-detail,
.service-grid,
.program-preview {
    width: min(1180px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1.55fr);
    gap: clamp(20px, 5vw, 70px);
    align-items: start;
    margin-bottom: 34px;
}

.section-heading h2,
.detail-copy h2,
.request-copy h2 {
    font-size: clamp(46px, 6.8vw, 88px);
}

.service-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.72fr 0.9fr;
    gap: 0;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}

.service-grid article {
    min-height: 250px;
    padding: clamp(20px, 3vw, 34px);
    border-right: 1px solid var(--line);
    background: rgba(250, 248, 241, 0.58);
}

.service-grid article:nth-child(2) {
    margin-top: 42px;
    background: var(--moss);
    color: #fffdf7;
}

.service-grid article:nth-child(3) {
    margin-top: -24px;
    background: rgba(49, 89, 92, 0.13);
}

.service-grid article:last-child {
    border-right: 0;
}

.service-grid span,
.tile-label {
    color: var(--rust);
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.service-grid article:nth-child(2) span,
.service-grid article:nth-child(2) p {
    color: rgba(255, 253, 247, 0.76);
}

.service-grid h3,
.program-tile h3,
.detail-copy h3 {
    margin: 18px 0 10px;
    font-family: var(--display);
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.02;
}

.service-grid p,
.program-tile p,
.detail-copy p,
.request-copy p,
.feature-list {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.62;
}

.program-preview {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
    margin-top: 50px;
    align-items: stretch;
}

.program-tile {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(26px, 4vw, 48px);
    color: #fffdf7;
    background-position: center;
    background-size: cover;
    position: relative;
    isolation: isolate;
}

.program-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(16, 13, 10, 0.84), rgba(16, 13, 10, 0.08));
}

.program-tile::after {
    content: "";
    position: absolute;
    inset: 12px;
    z-index: -1;
    border: 1px solid rgba(255, 253, 247, 0.34);
}

.tile-men {
    background-image: url("men/2.jpeg");
}

.tile-women {
    min-height: 360px;
    margin-top: 64px;
    background-image: url("women/10.jpeg");
}

.program-tile p {
    max-width: 540px;
    color: rgba(255, 253, 247, 0.8);
}

.program-tile a {
    width: fit-content;
    margin-top: 16px;
}

.program-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
}

.detail-copy,
.detail-media,
.benefit-grid,
.request-copy,
.request-form {
    min-width: 0;
}

.detail-copy h2,
.request-copy h2,
.section-heading h2,
.program-tile h3 {
    overflow-wrap: break-word;
}

.men-detail {
    width: 100%;
    max-width: none;
    background:
        linear-gradient(90deg, rgba(255, 253, 247, 0.04) 1px, transparent 1px) 0 0 / 82px 82px,
        var(--moss);
    color: #fffdf7;
}

.men-detail.program-detail {
    grid-template-columns: minmax(0, 1fr);
}

.men-detail .detail-copy,
.men-detail .detail-media {
    width: min(980px, 100%);
}

.men-detail .detail-copy {
    justify-self: center;
    text-align: center;
}

.men-detail .detail-media {
    justify-self: center;
}

.men-detail .detail-copy p,
.men-detail .feature-list {
    color: rgba(255, 253, 247, 0.76);
}

.lead {
    font-family: var(--display);
    font-size: clamp(26px, 2.8vw, 36px);
    line-height: 1.2 !important;
    color: inherit !important;
}

.feature-list {
    padding-left: 0;
    list-style: none;
    text-align: left;
}

.feature-list li {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 253, 247, 0.18);
}

.feature-list li:last-child {
    border-bottom: 1px solid rgba(255, 253, 247, 0.18);
}

.ready {
    font-family: var(--display);
    font-size: 38px;
    color: #fffdf7 !important;
}

.detail-media video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
}

.photo-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 24%);
    gap: 9px;
    margin-top: 9px;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 8px;
}

.photo-strip img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.05);
}

.women-detail {
    align-items: center;
    background: var(--chalk);
}

.women-detail .detail-copy h2 {
    font-size: clamp(40px, 5.9vw, 76px);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr 0.88fr;
    gap: 0;
    margin: 30px 0;
    border-top: 1px solid var(--line);
}

.benefit-grid div {
    min-height: 68px;
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: clamp(20px, 2.2vw, 28px);
}

.benefit-grid div:nth-child(odd) {
    padding-right: 20px;
}

.benefit-grid div:nth-child(even) {
    padding-left: 20px;
    color: var(--river);
}

.women-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pdf-link {
    background: var(--rust);
    color: #fffdf7;
}

.women-media video {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #000;
}

.women-strip img {
    filter: saturate(0.96) contrast(1.02);
}

.request-section {
    display: grid;
    grid-template-columns: minmax(0, 0.74fr) minmax(420px, 1fr);
    gap: clamp(44px, 6vw, 96px);
    align-items: start;
}

.request-copy h2 {
    font-size: clamp(40px, 3.7vw, 60px);
    max-width: 10.5em;
}

.request-copy p {
    max-width: 430px;
}

.request-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 44px;
    padding: clamp(20px, 3vw, 34px);
    background: rgba(250, 248, 241, 0.78);
    border: 1px solid var(--ink);
}

.request-form label {
    display: grid;
    gap: 8px;
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.request-form input,
.request-form select,
.request-form textarea {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-bottom: 1px solid rgba(24, 19, 15, 0.34);
    background: transparent;
    color: var(--ink);
    padding: 12px 2px;
    font: inherit;
    font-size: 17px;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
    outline: 2px solid rgba(168, 77, 52, 0.36);
    outline-offset: 3px;
}

.request-form textarea {
    resize: vertical;
}

.full-field,
.request-form button,
.form-status {
    grid-column: 1 / -1;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.form-status {
    min-height: 22px;
    margin: 0;
    color: var(--muted);
}

.form-status.is-error {
    color: #a12e25;
}

.form-status.is-success {
    color: #236a3a;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 30px clamp(16px, 4vw, 56px);
    background: var(--ink);
    color: #fffdf7;
    font-family: var(--display);
    font-size: 22px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.footer-brand img {
    width: 42px;
    height: 42px;
    padding: 5px;
    background: #fffdf7;
    border: 1px solid rgba(255, 253, 247, 0.6);
    object-fit: contain;
}

.footer-phone {
    justify-self: end;
    font-family: var(--mono);
    font-size: 16px;
}

.footer-credit {
    justify-self: center;
    font-family: var(--mono);
    font-size: 15px;
    color: rgba(255, 253, 247, 0.82);
}

.footer-credit a {
    color: #4ea3ff;
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

@media (max-width: 940px) {
    .site-header {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .nav {
        grid-column: 1 / -1;
        justify-self: start;
        order: 3;
        justify-content: flex-start;
    }

    .section-heading,
    .program-detail,
    .request-section,
    .program-preview,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .request-copy h2 {
        max-width: 11em;
    }

    .service-grid article,
    .service-grid article:nth-child(2),
    .service-grid article:nth-child(3),
    .tile-women {
        margin-top: 0;
    }

    .service-grid article {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .men-detail .detail-copy,
    .men-detail .detail-media {
        width: min(700px, 100%);
        justify-self: center;
    }

    .men-detail .detail-copy {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .site-header {
        gap: 12px;
        padding: 10px 14px;
    }

    .brand {
        font-size: 20px;
    }

    .nav {
        width: 100%;
        max-width: calc(100vw - 28px);
        gap: 9px 13px;
        font-size: 13px;
    }

    .header-call {
        padding: 11px 13px;
        font-size: 12px;
    }

    .eyebrow,
    .hero-actions span,
    .service-grid span,
    .tile-label {
        font-size: 13px;
    }

    .service-grid p,
    .program-tile p,
    .detail-copy p,
    .request-copy p,
    .feature-list {
        font-size: 17px;
    }

    .section-heading h2,
    .detail-copy h2,
    .request-copy h2 {
        font-size: clamp(38px, 12vw, 54px);
    }

    .request-copy h2 {
        font-size: clamp(36px, 10vw, 48px);
        max-width: 100%;
    }

    .hero-content {
        padding-top: 182px;
    }

    .hero-actions,
    .women-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-link,
    .form-link,
    .pdf-link,
    .program-tile a {
        width: 100%;
    }

    .program-tile,
    .service-grid article {
        padding: 22px;
    }

    .benefit-grid,
    .request-form {
        grid-template-columns: 1fr;
    }

    .request-form {
        margin-top: 0;
    }

    .benefit-grid div:nth-child(even),
    .benefit-grid div:nth-child(odd) {
        padding-left: 0;
        padding-right: 0;
    }

    .site-footer {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .footer-credit,
    .footer-phone {
        justify-self: start;
    }
}
