@font-face {
    font-family: "Lato";
    src: url("../fonts/lato-400.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/lato-700.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Marcellus";
    src: url("../fonts/marcellus-400.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --ink: #211c19;
    --muted: #6f655e;
    --paper: #fffdf9;
    --cream: #f7f1e8;
    --apricot: #e79b67;
    --apricot-dark: #bd7042;
    --line: rgba(33, 28, 25, 0.14);
    --dark: #191512;
    --white: #ffffff;
    --radius: 1.25rem;
    --shadow: 0 24px 70px rgba(40, 27, 18, 0.14);
    --container: 76rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Lato", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.2em;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3 {
    font-family: "Marcellus", Georgia, serif;
    font-weight: 400;
    line-height: 1.12;
}

h1 {
    font-size: clamp(2.65rem, 6vw, 5.8rem);
    letter-spacing: -0.035em;
}

h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 4vw, 3.8rem);
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.45rem;
}

address {
    font-style: normal;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin-inline: auto;
}

.section {
    padding-block: clamp(4.5rem, 9vw, 8.5rem);
}

.section--tint {
    background: var(--cream);
}

.section--dark {
    color: var(--white);
    background: var(--dark);
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1rem;
    color: var(--white);
    background: var(--dark);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eyebrow {
    margin-bottom: 0.75rem;
    color: var(--apricot-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    border: 1px solid var(--apricot);
    border-radius: 999px;
    color: var(--dark);
    background: var(--apricot);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
    color: var(--white);
    background: var(--apricot-dark);
    border-color: var(--apricot-dark);
    transform: translateY(-2px);
}

.button--small {
    min-height: 2.75rem;
    padding-inline: 1.15rem;
}

.button--ghost {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.62);
}

.button--ghost:hover,
.button--ghost:focus-visible {
    color: var(--dark);
    background: var(--white);
    border-color: var(--white);
}

.text-link {
    display: inline-block;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-decoration: none;
    text-transform: uppercase;
}

.text-link::after {
    content: " →";
    color: var(--apricot-dark);
}

.text-link:hover,
.text-link:focus-visible {
    text-decoration: underline;
}

.topbar {
    color: rgba(255, 255, 255, 0.84);
    background: var(--dark);
    font-size: 0.82rem;
}

.topbar__inner {
    display: flex;
    min-height: 2.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.topbar p {
    margin: 0;
}

.topbar a {
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}

.site-header {
    position: relative;
    z-index: 100;
    background: rgba(255, 253, 249, 0.97);
    border-bottom: 1px solid var(--line);
}

.nav-shell {
    display: flex;
    min-height: 6.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: block;
    flex: 0 0 auto;
}

.brand img {
    width: auto;
    height: 4rem;
    object-fit: contain;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 1.45rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-nav ul a {
    position: relative;
    padding-block: 0.45rem;
    font-size: 0.92rem;
    text-decoration: none;
}

.primary-nav ul a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    content: "";
    background: var(--apricot);
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.primary-nav ul a:hover::after,
.primary-nav ul a:focus-visible::after,
.primary-nav ul a[aria-current="page"]::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    padding: 0.7rem;
    border: 0;
    border-radius: 50%;
    background: var(--cream);
    cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
    position: relative;
    display: grid;
    min-height: min(47rem, calc(100svh - 8.75rem));
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--dark);
}

.hero__image,
.hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__image {
    object-fit: cover;
    object-position: center 42%;
}

.hero__overlay {
    background: linear-gradient(90deg, rgba(20, 14, 11, 0.9) 0%, rgba(20, 14, 11, 0.58) 52%, rgba(20, 14, 11, 0.18) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-block: 6rem 9rem;
}

.hero__content h1 {
    max-width: 13ch;
    margin-bottom: 1.5rem;
}

.hero__content .eyebrow,
.section--dark .eyebrow,
.page-hero--image .eyebrow {
    color: #f1b790;
}

.hero__lead {
    max-width: 39rem;
    margin-bottom: 2.2rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-card {
    position: absolute;
    z-index: 3;
    right: max(1rem, calc((100% - var(--container)) / 2));
    bottom: 0;
    display: grid;
    width: min(37rem, calc(100% - 2rem));
    grid-template-columns: 1fr 1fr;
    gap: 0;
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.hero-card p {
    padding: 1.4rem 1.6rem;
    margin: 0;
}

.hero-card p + p {
    border-left: 1px solid var(--line);
}

.hero-card strong {
    display: block;
    margin-bottom: 0.25rem;
    font-family: "Marcellus", Georgia, serif;
    font-size: 1.1rem;
    font-weight: 400;
}

.hero-card a {
    color: var(--apricot-dark);
    font-weight: 700;
    text-decoration: none;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
}

.split--intro {
    align-items: start;
}

.split--intro h2 {
    max-width: 12ch;
    margin-bottom: 0;
}

.prose {
    max-width: 41rem;
    color: var(--muted);
    font-size: 1.08rem;
}

.prose p:last-child {
    margin-bottom: 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading--light > p {
    max-width: 28rem;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.68);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
}

.service-card {
    min-height: 17rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--paper);
}

.service-card > span {
    color: var(--apricot-dark);
    font-family: "Marcellus", Georgia, serif;
}

.service-card h3 {
    margin: 4rem 0 0.75rem;
}

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

.split--media {
    grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
}

.split--reverse .image-frame {
    order: 2;
}

.image-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.image-frame::after {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 5rem;
    height: 5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.75);
    content: "";
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-frame--landscape {
    aspect-ratio: 4 / 3;
}

.image-feature__content {
    max-width: 34rem;
}

.image-feature__content > p:not(.eyebrow) {
    color: var(--muted);
}

.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem 1.25rem;
    padding: 0;
    margin: 2rem 0;
    list-style: none;
}

.check-list li::before {
    margin-right: 0.5rem;
    color: var(--apricot-dark);
    content: "✓";
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.25rem;
}

.team-card {
    margin: 0;
}

.team-card img {
    width: 100%;
    aspect-ratio: 4 / 4.7;
    margin-bottom: 1.1rem;
    border-radius: 0.85rem;
    object-fit: cover;
    object-position: top center;
    filter: saturate(0.88);
}

.team-card h3 {
    margin-bottom: 0.2rem;
}

.team-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
}

.brands {
    padding-block: 3.5rem;
}

.brand-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    align-items: center;
}

.brand-logos img {
    width: 100%;
    max-width: 9rem;
    max-height: 3.75rem;
    margin-inline: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.64;
}

.page-hero {
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.page-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 30rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-block: 5rem;
}

.page-hero__inner > div {
    max-width: 48rem;
}

.page-hero h1 {
    margin-bottom: 1.3rem;
}

.page-hero__inner > div > p:last-child {
    max-width: 40rem;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.14rem;
}

.page-hero__index {
    margin: 0;
    color: rgba(189, 112, 66, 0.12);
    font-family: "Marcellus", Georgia, serif;
    font-size: clamp(8rem, 20vw, 18rem);
    line-height: 0.75;
}

.page-hero--image {
    color: var(--white);
    background: var(--dark);
}

.page-hero--image > img,
.page-hero__scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.page-hero--image > img {
    object-fit: cover;
    object-position: center;
}

.page-hero__scrim {
    background: linear-gradient(90deg, rgba(20, 14, 11, 0.88), rgba(20, 14, 11, 0.28));
}

.page-hero--image .page-hero__inner > div > p:last-child {
    color: rgba(255, 255, 255, 0.8);
}

.price-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.price-intro p {
    max-width: 43rem;
    margin: 0;
    color: var(--muted);
}

.price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.price-card {
    padding: clamp(1.5rem, 3vw, 2.3rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.price-card h2 {
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.65rem;
}

.price-card dl,
.price-card dt,
.price-card dd {
    margin: 0;
}

.price-card dl > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding-block: 0.72rem;
}

.price-card dl > div + div {
    border-top: 1px dashed var(--line);
}

.price-card dt {
    color: var(--muted);
}

.price-card dd {
    color: var(--ink);
    font-weight: 700;
    white-space: nowrap;
}

.student-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(3rem, 8vw, 8rem);
    align-items: center;
}

.student-copy p:not(.eyebrow) {
    color: var(--muted);
}

.student-copy .button {
    margin-top: 1rem;
}

.price-card--featured {
    padding: clamp(2rem, 5vw, 4rem);
    background: var(--cream);
    box-shadow: var(--shadow);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(18rem, 0.72fr) minmax(28rem, 1.28fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
}

.contact-details > p:not(.eyebrow) {
    color: var(--muted);
}

.contact-item {
    padding-block: 1.25rem;
    border-top: 1px solid var(--line);
}

.contact-item h3 {
    margin-bottom: 0.35rem;
    font-size: 1.15rem;
}

.contact-item p,
.contact-item address {
    margin-bottom: 0.35rem;
    color: var(--muted);
}

.contact-item > a:not(.text-link) {
    color: var(--apricot-dark);
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
}

.contact-visuals {
    position: relative;
    min-height: 40rem;
}

.contact-visuals__main {
    width: 88%;
    height: 35rem;
    margin-left: auto;
    border-radius: var(--radius);
    object-fit: cover;
    box-shadow: var(--shadow);
}

.contact-visuals__detail {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 18rem;
    border: 0.5rem solid var(--paper);
    border-radius: var(--radius);
    object-fit: cover;
    box-shadow: var(--shadow);
}

.error-page {
    min-height: 35rem;
    text-align: center;
}

.error-page .container {
    max-width: 48rem;
}

.error-page p:not(.eyebrow) {
    color: var(--muted);
}

.contact-strip {
    padding-block: clamp(3rem, 6vw, 5rem);
    background: var(--apricot);
}

.contact-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.contact-strip h2 {
    max-width: 17ch;
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3rem);
}

.contact-strip .eyebrow {
    color: var(--dark);
}

.contact-strip__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.4rem;
}

.contact-strip .button {
    color: var(--white);
    background: var(--dark);
    border-color: var(--dark);
}

.contact-strip .button:hover,
.contact-strip .button:focus-visible {
    color: var(--dark);
    background: var(--white);
    border-color: var(--white);
}

.site-footer {
    padding-top: 5rem;
    color: rgba(255, 255, 255, 0.7);
    background: var(--dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 0.7fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-brand img {
    width: 14rem;
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    max-width: 22rem;
    margin: 0;
}

.footer-title {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.15rem;
}

.site-footer a {
    color: var(--white);
}

.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

@media (max-width: 960px) {
    .nav-shell {
        min-height: 5.5rem;
    }

    .brand img {
        height: 3.4rem;
    }

    .menu-toggle {
        display: block;
    }

    .primary-nav {
        position: fixed;
        top: 7.75rem;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        padding: 2rem;
        place-content: center;
        background: var(--paper);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-1rem);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .primary-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .primary-nav ul {
        display: grid;
        gap: 0.65rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .primary-nav ul a {
        font-family: "Marcellus", Georgia, serif;
        font-size: 1.65rem;
    }

    .menu-open .menu-toggle > span:nth-child(2) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-open .menu-toggle > span:nth-child(3) {
        opacity: 0;
    }

    .menu-open .menu-toggle > span:nth-child(4) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .service-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .topbar p {
        display: none;
    }

    .topbar__inner {
        justify-content: center;
    }

    .hero {
        min-height: 43rem;
    }

    .hero__content {
        padding-block: 5rem 11rem;
    }

    .hero__overlay {
        background: linear-gradient(90deg, rgba(20, 14, 11, 0.88), rgba(20, 14, 11, 0.48));
    }

    .hero-card {
        right: 1rem;
        left: 1rem;
        width: auto;
    }

    .split,
    .split--media,
    .student-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .split--reverse .image-frame {
        order: initial;
    }

    .section-heading,
    .price-intro,
    .contact-strip__inner,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .price-grid {
        grid-template-columns: 1fr;
    }

    .brand-logos {
        grid-template-columns: repeat(3, 1fr);
    }

    .page-hero__inner {
        min-height: 24rem;
    }

    .page-hero__index {
        position: absolute;
        right: 0;
        bottom: 2rem;
    }

    .contact-visuals {
        min-height: 32rem;
    }

    .contact-visuals__main {
        height: 29rem;
    }

    .contact-visuals__detail {
        height: 14rem;
    }
}

@media (max-width: 540px) {
    .container {
        width: min(calc(100% - 1.25rem), var(--container));
    }

    .nav-shell {
        min-height: 5rem;
    }

    .brand img {
        max-width: 12.5rem;
        height: 3rem;
    }

    .primary-nav {
        top: 7.25rem;
    }

    .hero-card {
        grid-template-columns: 1fr;
    }

    .hero-card p {
        padding: 0.9rem 1.1rem;
    }

    .hero-card p + p {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .service-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .service-card h3 {
        margin-top: 2.5rem;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .brand-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-visuals {
        min-height: auto;
    }

    .contact-visuals__main {
        width: 100%;
        height: auto;
    }

    .contact-visuals__detail {
        display: none;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
