/* PDEA COA homepage - architectural design layer.
   Loaded after homepage.css; restyles the home-* components as drafting-table / studio visuals. */

:root {
    --arch-paper: #f3f0e8;
    --arch-paper-2: #ebe7dc;
    --arch-ink: #12151c;
    --arch-blue: #1d3f9a;
    --arch-deep: #0f2257;
    --arch-orange: #ff6b2c;
    --arch-line: rgba(18, 21, 28, 0.16);
    --arch-serif: "Fraunces", Georgia, "Times New Roman", serif;
    --arch-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
    --arch-grid: linear-gradient(var(--arch-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--arch-line) 1px, transparent 1px);
}

body:has(.architecture-home) {
    background: var(--arch-paper) !important;
}

/* Reading progress */
.home-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 2000;
    height: 3px;
    background: linear-gradient(90deg, var(--arch-orange), var(--arch-blue));
    transform: scaleX(var(--progress, 0));
    transform-origin: left;
    pointer-events: none;
}

/* Typography */
.home-hero h1,
.home-section-heading h2,
.home-intro__copy h2,
.home-purpose__heading h2,
.home-learning__copy h2 {
    font-family: var(--arch-serif);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.home-hero h1 em,
.home-section-heading h2 em,
.home-intro__copy h2 em,
.home-purpose__heading h2 em,
.home-learning__copy h2 em,
.home-cta h2 em {
    background: none;
    color: var(--arch-orange);
    font-family: var(--arch-serif);
    font-style: italic;
    font-weight: 500;
    -webkit-text-fill-color: var(--arch-orange);
}

.home-eyebrow {
    color: var(--arch-ink);
    font-family: var(--arch-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.home-eyebrow__line {
    width: 28px;
    background: var(--arch-orange);
}

.home-section-heading--center .home-eyebrow {
    justify-content: center;
}

/* Buttons */
.home-button {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    font-family: var(--arch-mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    isolation: isolate;
}

.home-button::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--arch-orange);
    content: "";
    transform: translateY(101%);
    transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-button:hover::before {
    transform: translateY(0);
}

.home-button:not(.home-button--outline):not(.home-button--light) {
    background: var(--arch-ink);
    background-image: none;
    box-shadow: none;
    color: #fff;
}

.home-button--light {
    background: var(--arch-ink);
    color: #fff;
}

.home-button--outline {
    border-color: var(--arch-ink);
    background: transparent;
    color: var(--arch-ink);
}

.home-button:hover,
.home-button--light:hover,
.home-button--outline:hover {
    border-color: var(--arch-orange);
    box-shadow: none;
    color: #fff;
}

.home-text-link {
    background: linear-gradient(var(--arch-orange), var(--arch-orange)) left bottom / 0 2px no-repeat;
    color: var(--arch-ink);
    font-weight: 700;
    transition: background-size 300ms ease, color 200ms ease;
}

.home-text-link:hover {
    background-size: 100% 2px;
    color: var(--arch-blue);
}

/* Hero */
.home-hero {
    background:
        radial-gradient(520px circle at var(--mx, 25%) var(--my, 40%), rgba(255, 107, 44, 0.14), transparent 70%),
        var(--arch-grid),
        var(--arch-paper);
    background-size: auto, 56px 56px, 56px 56px, auto;
    border-bottom: 1px solid var(--arch-line);
}

.home-hero__media {
    border: 0;
    border-radius: 50vw 50vw 0 0;
    box-shadow: 14px 14px 0 var(--arch-orange);
    inset: 48px max(var(--home-gutter), calc((100vw - var(--home-width)) / 2)) 0 auto;
}

.home-hero__swiper {
    transform: translateY(var(--parallax, 0px)) scale(1.08);
}

.home-hero__wash {
    background: linear-gradient(0deg, rgba(15, 34, 87, 0.7), transparent 45%);
}

.home-hero__tag {
    position: absolute;
    left: 1.2rem;
    z-index: 2;
    padding: 0.35rem 0.6rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--arch-ink);
    font-family: var(--arch-mono);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-hero__tag--top {
    bottom: 3.2rem;
}

.home-hero__tag--bottom {
    bottom: 1.2rem;
    background: var(--arch-orange);
    color: #fff;
}

.home-hero__plan {
    position: absolute;
    top: 50%;
    right: max(calc(var(--home-gutter) - 12%), 0px);
    z-index: 0;
    width: min(46vw, 560px);
    color: var(--arch-blue);
    opacity: 0.22;
    pointer-events: none;
    transform: translateY(-50%);
    animation: plan-spin 90s linear infinite;
}

@keyframes plan-spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.home-hero__crosshair {
    position: absolute;
    z-index: 1;
    width: 22px;
    height: 22px;
    background:
        linear-gradient(var(--arch-ink), var(--arch-ink)) center / 100% 1px no-repeat,
        linear-gradient(var(--arch-ink), var(--arch-ink)) center / 1px 100% no-repeat;
    opacity: 0.55;
}

.home-hero__crosshair--tl {
    top: 24px;
    left: var(--home-gutter);
}

.home-hero__crosshair--br {
    right: var(--home-gutter);
    bottom: 24px;
}

.home-hero h1 {
    font-size: clamp(2.8rem, 5.6vw, 5.6rem);
    max-width: 640px;
}

.home-hero__description {
    color: #4a4f5c;
    font-size: 1.05rem;
}

.home-hero__meta {
    color: var(--arch-ink);
    font-family: var(--arch-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
}

.home-hero__arrow {
    border-radius: 2px;
    transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.home-hero__arrow:hover {
    background: var(--arch-orange);
    color: #fff;
    transform: scale(1.06);
}

/* Marquee */
.home-marquee {
    overflow: hidden;
    background: var(--arch-ink);
    color: #fff;
}

.home-marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 42s linear infinite;
}

.home-marquee:hover .home-marquee__track {
    animation-play-state: paused;
}

.home-marquee__list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-marquee__list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.6rem;
    font-family: var(--arch-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 200ms ease, background-color 200ms ease;
}

.home-marquee__list li::after {
    margin-left: 1.6rem;
    color: var(--arch-orange);
    content: "+";
}

.home-marquee__list li i {
    color: var(--arch-orange);
    font-size: 1rem;
}

.home-marquee__list li:hover {
    background: var(--arch-orange);
}

.home-marquee__list li:hover i,
.home-marquee__list li:hover::after {
    color: #fff;
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* Intro */
.home-intro {
    background: var(--arch-paper);
}

.home-intro__visual {
    border-radius: 50vw 50vw 0 0;
}

.home-intro__visual img {
    border-radius: inherit;
}

.home-fact {
    border-top: 2px solid var(--arch-ink);
    transition: border-color 250ms ease, transform 250ms ease;
}

.home-fact:hover {
    border-color: var(--arch-orange);
    transform: translateY(-3px);
}

.home-fact__number {
    font-family: var(--arch-serif);
}

.home-purpose {
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--arch-paper);
}

.home-purpose .home-section-heading h2 {
    max-width: none;
    font-size: clamp(2rem, 6.5vw, 3.6rem);
    line-height: 1.1;
}

.home-purpose .home-eyebrow {
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.14em;
}

@media (min-width: 992px) {
    .home-purpose .home-section-heading h2 {
        font-size: clamp(2.6rem, 3.6vw, 3.6rem);
        white-space: nowrap;
    }
}

.home-purpose__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.2rem, 2.5vw, 2rem);
}

.home-purpose__item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(1.8rem, 3.5vw, 3rem);
    overflow: hidden;
    border: 1px solid var(--arch-ink);
    border-radius: 4px;
    background: #fff;
    box-shadow: 8px 8px 0 var(--arch-ink);
    transition: transform 350ms ease, box-shadow 350ms ease;
}

.home-purpose__item--vision {
    background: var(--arch-ink);
    box-shadow: 8px 8px 0 var(--arch-orange);
    color: #fff;
}

.home-purpose__item:hover {
    box-shadow: 12px 12px 0 var(--arch-orange);
    transform: translate(-4px, -4px);
}

.home-purpose__item--vision:hover {
    box-shadow: 12px 12px 0 var(--arch-blue);
}

.home-purpose__watermark {
    position: absolute;
    right: -0.4rem;
    bottom: -1.6rem;
    color: rgba(18, 21, 28, 0.05);
    font-family: var(--arch-serif);
    font-size: clamp(4.5rem, 10vw, 8rem);
    font-style: italic;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.home-purpose__item--vision .home-purpose__watermark {
    color: rgba(255, 255, 255, 0.07);
}

.home-purpose__badge {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 1.2rem;
    place-items: center;
    border-radius: 2px;
    background: var(--arch-orange);
    color: #fff;
    font-size: 1.6rem;
    transition: transform 300ms ease;
}

.home-purpose__item:hover .home-purpose__badge {
    transform: rotate(-8deg) scale(1.08);
}

.home-purpose__item--vision .home-purpose__badge {
    background: #fff;
    color: var(--arch-ink);
}

.home-purpose__label {
    margin-bottom: 0.8rem;
    color: var(--arch-orange);
    font-family: var(--arch-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-purpose__item h3 {
    margin: 0 0 1rem;
    color: inherit;
    font-family: var(--arch-serif);
    font-size: clamp(1.5rem, 2.6vw, 2.15rem);
    font-weight: 500;
    line-height: 1.2;
}

.home-purpose__item h3 em {
    color: var(--arch-orange);
    font-style: italic;
}

.home-purpose__item p {
    position: relative;
    margin: 0 0 1rem;
    color: #4a4f5c;
    font-size: 1rem;
    line-height: 1.75;
}

.home-purpose__item--vision p {
    color: rgba(255, 255, 255, 0.78);
}

.home-purpose__points {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.4rem 0 1.2rem;
    padding: 0;
    list-style: none;
}

.home-purpose__points li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid currentColor;
    border-radius: 2px;
    font-family: var(--arch-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.home-purpose__points li i {
    color: var(--arch-orange);
}

.home-purpose__points li:hover {
    border-color: var(--arch-orange);
    background: var(--arch-orange);
    color: #fff;
}

.home-purpose__points li:hover i {
    color: #fff;
}

.home-purpose__item .home-purpose__note {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--arch-line);
    font-size: 0.9rem;
}

@media (max-width: 860px) {
    .home-purpose__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .home-purpose__item,
    .home-purpose__item--vision {
        box-shadow: 5px 5px 0 var(--arch-orange);
    }

    .home-purpose__item:hover,
    .home-purpose__item--vision:hover {
        box-shadow: 7px 7px 0 var(--arch-orange);
        transform: translate(-2px, -2px);
    }
}

/* Trust strip */
.home-card-page {
    background: var(--arch-paper);
}

.home-trust-strip {
    position: relative;
    padding-block: 0;
    background: var(--arch-ink);
    border-block: 0;
    color: #fff;
}

.home-trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.home-trust-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.6rem 1.4rem;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    overflow: hidden;
    transition: background-color 300ms ease;
}

.home-trust-item:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.home-trust-item::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--arch-orange);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 350ms ease;
}

.home-trust-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.home-trust-item:hover::after {
    transform: scaleX(1);
}

.home-trust-item__icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 2px;
    background: transparent;
    color: var(--arch-orange);
    font-size: 1.4rem;
    transition: background-color 250ms ease, color 250ms ease, transform 250ms ease;
}

.home-trust-item strong {
    display: block;
    color: #fff;
    font-family: var(--arch-serif);
    font-size: 1.12rem;
    font-weight: 500;
    line-height: 1.25;
}

.home-trust-item small {
    display: block;
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    line-height: 1.4;
}

.home-trust-item:hover .home-trust-item__icon {
    background: var(--arch-orange);
    color: #fff;
    transform: rotate(-8deg) scale(1.08);
}

@media (max-width: 991px) {
    .home-trust-strip__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-trust-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .home-trust-item:nth-child(even) {
        border-right: 1px solid rgba(255, 255, 255, 0.14);
    }
}

@media (max-width: 520px) {
    .home-trust-strip__grid {
        grid-template-columns: 1fr;
    }

    .home-trust-item {
        padding: 1.1rem 1rem;
        border-right: 1px solid rgba(255, 255, 255, 0.14);
    }

    .home-trust-item__icon {
        width: 46px;
        height: 46px;
    }
}

/* Pillars */
.home-pillars {
    background: #fff;
}

.home-pillar {
    border: 1px solid var(--arch-line);
    border-radius: 4px;
    background: var(--arch-paper);
    box-shadow: none;
    transition: background-color 350ms ease, color 350ms ease, transform 350ms ease, border-color 350ms ease;
}

.home-pillar h3,
.home-pillar p {
    transition: color 350ms ease;
}

.home-pillar:hover,
.home-pillar.is-scroll-active {
    border-color: var(--arch-ink);
    background: var(--arch-ink);
    box-shadow: 8px 8px 0 var(--arch-orange);
    transform: translate(-4px, -4px);
}

.home-pillar:hover h3,
.home-pillar.is-scroll-active h3 {
    color: #fff;
}

.home-pillar:hover p,
.home-pillar.is-scroll-active p {
    color: rgba(255, 255, 255, 0.74);
}

.home-pillar__index,
.home-category-card__index {
    display: none;
}

.home-pillar__icon {
    border-radius: 2px;
    transition: background-color 300ms ease, color 300ms ease, transform 300ms ease;
}

.home-pillar:hover .home-pillar__icon {
    background: var(--arch-orange);
    color: #fff;
    transform: rotate(-6deg);
}

/* Categories */
.home-categories {
    position: relative;
    background:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        var(--arch-ink);
    background-size: 56px 56px, 56px 56px, auto;
    color: #fff;
}

.home-categories .home-section-heading h2,
.home-categories .home-eyebrow {
    color: #fff;
}

.home-categories .home-section-heading p:not(.home-eyebrow) {
    color: rgba(255, 255, 255, 0.68);
}

.home-category-swiper {
    overflow: hidden;
    padding-bottom: 2.6rem;
}

.home-category-swiper .swiper-wrapper.home-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transform: none !important;
}

.home-category-swiper .swiper-slide {
    width: auto;
    height: auto;
}

.home-category-card {
    --cat: var(--arch-orange);
    position: relative;
    display: flex;
    height: 100%;
    min-height: 0;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.3rem;
    border: 0;
    border-radius: 0;
    background: var(--arch-ink);
    box-shadow: none;
    color: #fff;
    overflow: hidden;
    transition: background-color 380ms ease, transform 380ms ease;
}

.home-category-card--design { --cat: #ff6b2c; }
.home-category-card--materials { --cat: #c8553d; }
.home-category-card--green { --cat: #2f9e6f; }
.home-category-card--digital { --cat: #3b6cf0; }
.home-category-card--people { --cat: #8b5cf6; }
.home-category-card--life { --cat: #e0a100; }

.home-category-card:hover,
.home-category-card.is-scroll-active {
    background: var(--cat);
    box-shadow: none;
    transform: none;
}

.home-category-card__icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    background: transparent;
    color: var(--cat);
    font-size: 1.3rem;
    transition: background-color 380ms ease, color 380ms ease, transform 380ms ease;
}

.home-category-card:hover .home-category-card__icon {
    background: #fff;
    color: var(--cat);
    transform: rotate(-8deg) scale(1.08);
}

.home-category-card__title {
    flex: 1;
    color: #fff;
    font-family: var(--arch-serif);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.3;
}

.home-category-card__arrow {
    position: static;
    margin-left: auto;
    color: #fff;
    font-size: 1.1rem;
    opacity: 0.55;
    transition: transform 300ms ease, opacity 300ms ease;
}

.home-category-card .home-category-card__arrow {
    width: auto;
    height: auto;
    background: none;
}

.home-category-card:hover .home-category-card__arrow {
    opacity: 1;
    transform: translate(4px, -4px);
}

.home-category-pagination {
    display: none;
}

/* Desk messages */
.home-desk {
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--arch-paper);
}

.home-desk__title h2 {
    margin: 0 0 0.8rem;
    color: var(--arch-ink);
    font-family: var(--arch-serif);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.home-desk__title h2 em {
    background: none;
    color: var(--arch-orange);
    font-family: var(--arch-serif);
    font-style: italic;
    font-weight: 500;
}

.home-desk__head {
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) minmax(150px, 220px);
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.8rem;
}

.home-desk__title {
    text-align: center;
}

.home-desk__title h2 {
    margin: 0 0 0.8rem;
}

.home-desk__title p {
    max-width: 30rem;
    margin: 0 auto;
}

.home-desk__title::after {
    display: block;
    width: 44px;
    height: 3px;
    margin: 1.1rem auto 0;
    background: var(--arch-orange);
    content: "";
}

.home-desk__founder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    text-align: center;
    transition: transform 250ms ease;
}

.home-desk__founder:hover {
    transform: translateY(-4px);
}

.home-desk__founder img {
    width: clamp(96px, 11vw, 128px);
    height: clamp(96px, 11vw, 128px);
    padding: 4px;
    border: 2px solid var(--arch-orange);
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
    object-position: top;
    transition: box-shadow 250ms ease;
}

.home-desk__founder:hover img {
    box-shadow: 0 0 0 5px rgba(255, 107, 44, 0.2);
}

.home-desk__founder figcaption {
    width: 100%;
}

.home-desk__founder strong {
    display: block;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid var(--arch-orange);
    color: var(--arch-ink);
    font-size: 0.92rem;
}

.home-desk__founder span {
    display: block;
    margin-top: 0.4rem;
    color: var(--arch-ink);
    font-size: 0.78rem;
    font-weight: 600;
}

@media (max-width: 767px) {
    .home-desk__head {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem 0.8rem;
        margin-bottom: 2rem;
    }

    .home-desk__title {
        order: -1;
        grid-column: 1 / -1;
    }

    .home-desk__founder strong { font-size: 0.82rem; }
    .home-desk__founder span { font-size: 0.7rem; }
}

.home-desk-card {
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
    transition: transform 320ms ease, background-color 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.home-desk-card::before {
    height: 70px;
    background: var(--arch-ink);
    transition: height 380ms ease, background-color 380ms ease;
}

.home-desk-card:hover {
    border-color: var(--arch-ink);
    box-shadow: 8px 8px 0 var(--arch-orange);
    transform: translate(-4px, -4px);
}

.home-desk-card:hover::before {
    height: 100%;
    background: var(--arch-ink);
}

.home-desk-card__photo {
    width: 120px;
    height: 150px;
    border: 4px solid #fff;
    border-radius: 999px 999px 0 0;
}

.home-desk-card h3,
.home-desk-card__quote {
    position: relative;
    transition: color 320ms ease;
}

.home-desk-card:hover h3 {
    color: #fff;
}

.home-desk-card:hover .home-desk-card__quote {
    color: rgba(255, 255, 255, 0.78);
}

.home-desk-card__role {
    position: relative;
    font-family: var(--arch-mono);
}

.home-desk-card__cta {
    position: relative;
    font-family: var(--arch-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 320ms ease;
}

.home-desk-card:hover .home-desk-card__cta {
    color: var(--arch-orange);
}

/* Learning & news */
.home-learning {
    background: #fff;
}

.home-learning__visual {
    border-radius: 0 0 50vw 50vw;
}

.home-learning__visual img {
    border-radius: inherit;
}

.home-learning__visual-tag {
    border-radius: 2px;
    font-family: var(--arch-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
}

.home-learning__points span {
    transition: color 200ms ease, transform 200ms ease;
}

.home-learning__points span:hover {
    color: var(--arch-orange);
    transform: translateX(4px);
}

.home-news {
    background: var(--arch-paper-2);
}

.home-update-card {
    border: 1px solid var(--arch-line);
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
}

.home-update-card:hover {
    border-color: var(--arch-ink);
    box-shadow: 8px 8px 0 var(--arch-blue);
    transform: translate(-4px, -4px);
}

.home-update-list a {
    transition: background-color 200ms ease, color 200ms ease, padding 200ms ease;
}

.home-update-list a:hover {
    background: var(--arch-paper);
    color: var(--arch-blue);
    padding-inline: 0.75rem;
}

.home-update-card__icon {
    border-radius: 2px;
}

.home-new-label {
    background: var(--arch-orange);
    border-radius: 2px;
    color: #fff;
}

/* Testimonials */
.home-testimonials {
    padding-top: clamp(2rem, 4vw, 3.5rem);
    background:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        var(--arch-deep);
    background-size: 56px 56px, 56px 56px, auto;
}

.home-testimonials::before {
    display: none;
}

.home-testimonials__note {
    border-radius: 2px;
    font-family: var(--arch-mono);
    font-size: 0.72rem;
}

.home-testimonial-swiper {
    overflow: hidden;
    padding: 0.5rem 0.25rem 0;
}

.home-testimonial-swiper .swiper-slide {
    height: auto;
}

.home-testimonial-card {
    height: 100%;
    border-radius: 4px;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.home-testimonial-card blockquote {
    font-family: var(--arch-serif);
    font-weight: 500;
}

.home-testimonial-card:hover,
body.home-motion-ready .home-testimonial-card.is-visible:hover {
    border-color: var(--arch-orange);
    background: rgba(255, 107, 44, 0.1);
    box-shadow: none;
    transform: translateY(-4px);
}

.home-testimonial-card__mark {
    border-radius: 2px;
}

.home-testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 2rem;
}

.home-testimonial-arrow {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    background: transparent;
    color: #fff;
    transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.home-testimonial-arrow:hover {
    border-color: var(--arch-orange);
    background: var(--arch-orange);
    transform: scale(1.06);
}

.home-testimonial-arrow.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.home-testimonial-pagination,
.home-category-pagination {
    display: flex;
    gap: 0.5rem;
}

.home-testimonial-pagination .swiper-pagination-bullet,
.home-category-pagination .swiper-pagination-bullet {
    width: 26px;
    height: 3px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: background-color 200ms ease, width 200ms ease;
}

.home-testimonial-pagination .swiper-pagination-bullet-active,
.home-category-pagination .swiper-pagination-bullet-active {
    width: 42px;
    background: var(--arch-orange);
}

.home-tm-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.2rem;
}

.home-tm-head h2 {
    margin: 0.5rem 0 0.9rem;
    color: #fff;
    font-family: var(--arch-serif);
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.home-tm-head h2 em {
    background: none;
    color: var(--arch-orange);
    font-family: var(--arch-serif);
    font-style: italic;
    font-weight: 500;
}

.home-tm-head .home-eyebrow {
    color: rgba(255, 255, 255, 0.8);
}

.home-tm-head__lead {
    max-width: 38rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.home-tm-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 0.6rem;
}

.home-testimonial-swiper {
    padding: 0.5rem 0 0;
}

.home-testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.9rem 1.7rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 3px solid var(--arch-orange);
    color: #fff;
}

.home-testimonial-card__quote {
    position: absolute;
    top: 0.4rem;
    right: 0.9rem;
    color: var(--arch-orange);
    font-size: 4.2rem;
    line-height: 1;
    opacity: 0.35;
    transition: opacity 300ms ease, transform 300ms ease;
}

.home-testimonial-card:hover .home-testimonial-card__quote {
    opacity: 0.8;
    transform: scale(1.1) rotate(-6deg);
}

.home-testimonial-card__mark {
    background: var(--arch-orange);
    color: #fff;
}

.home-testimonial-card__eyebrow {
    margin: 0 0 1rem;
    color: var(--arch-orange);
    font-family: var(--arch-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-testimonial-card blockquote {
    flex: 1;
    margin: 0 0 1.5rem;
    padding: 0;
    border: 0;
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.6;
}

.home-testimonial-card__footer {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.home-testimonial-card__footer strong {
    display: block;
    color: #fff;
    font-size: 0.92rem;
}

.home-testimonial-card__footer span span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.8rem;
}

.home-testimonial-pagination {
    justify-content: center;
    margin-top: 1.8rem;
}

.home-testimonials__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: none;
    margin: 1.4rem 0 0;
    padding: 0;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.72rem;
    text-align: center;
}

@media (max-width: 767px) {
    .home-tm-head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 1.6rem;
    }

    .home-testimonial-card {
        padding: 1.5rem 1.25rem 1.2rem;
    }

    .home-testimonial-card blockquote {
        font-size: 1.05rem;
    }
}

/* Faculty, gallery, enrollment */
.home-faculty-card,
.home-gallery-card {
    border-radius: 4px;
}

.home-faculty-card:hover {
    border-color: var(--arch-ink);
    box-shadow: 8px 8px 0 var(--arch-orange);
    transform: translate(-4px, -4px);
}

.home-gallery-card {
    overflow: hidden;
}

.home-gallery-card img {
    transition: transform 600ms ease, filter 400ms ease;
}

.home-gallery-card:hover img {
    filter: saturate(1.15);
    transform: scale(1.07);
}

.home-gallery-card__label {
    font-family: var(--arch-mono);
    text-transform: uppercase;
}

.home-enrollment__inner {
    border-radius: 4px;
}

/* Principal message */
.home-faculty {
    background: var(--arch-paper);
}

.home-faculty {
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.home-faculty .home-pmsg__body .home-eyebrow {
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.14em;
}

.home-pmsg {
    display: grid;
    grid-template-columns: minmax(280px, 560px) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.home-pmsg__photo {
    position: relative;
    margin: 0;
    padding: 0 18px 18px 0;
}

.home-pmsg__photo::before {
    position: absolute;
    inset: 18px 0 0 18px;
    border-radius: 4px;
    background: var(--arch-orange);
    content: "";
    transition: transform 400ms ease;
}

.home-pmsg__photo::after {
    position: absolute;
    top: -14px;
    left: -14px;
    width: 38%;
    height: 38%;
    border-top: 2px solid var(--arch-ink);
    border-left: 2px solid var(--arch-ink);
    content: "";
    pointer-events: none;
}

.home-pmsg__photo:hover::before {
    transform: translate(8px, 8px);
}

.home-pmsg__frame {
    position: relative;
    display: block;
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: 4px;
    box-shadow: 0 18px 40px rgba(18, 21, 28, 0.22);
}

.home-pmsg__photo img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    background: var(--arch-paper-2);
    object-fit: cover;
    transition: transform 900ms ease;
}

.home-pmsg__photo:hover img {
    transform: scale(1.05);
}

.home-pmsg__photo figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: calc(100% - 1.5rem);
    padding: 0.8rem 1.1rem;
    border-left: 4px solid var(--arch-orange);
    background: var(--arch-ink);
    box-shadow: 0 10px 24px rgba(18, 21, 28, 0.3);
    color: #fff;
    line-height: 1.25;
}

.home-pmsg__photo figcaption > i {
    color: var(--arch-orange);
    font-size: 1.4rem;
}

.home-pmsg__photo figcaption strong {
    display: block;
    font-family: var(--arch-serif);
    font-size: 1.05rem;
    font-weight: 500;
}

.home-pmsg__photo figcaption span {
    display: block;
    color: var(--arch-orange);
    font-family: var(--arch-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-pmsg__body h2 {
    margin: 0 0 1.2rem;
    font-family: var(--arch-serif);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.05;
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
}

.home-pmsg__quote {
    display: block;
    height: 3.2rem;
    color: var(--arch-orange);
    font-family: var(--arch-serif);
    font-size: 6rem;
    line-height: 1;
}

.home-pmsg__body blockquote {
    margin: 0 0 1.5rem;
    padding: 0;
    border: 0;
}

.home-pmsg__body blockquote p {
    margin: 0 0 0.8rem;
    color: #2b303b;
    font-family: var(--arch-sans, inherit);
    font-size: clamp(0.98rem, 1.5vw, 1.08rem);
    font-weight: 400;
    line-height: 1.7;
}

.home-pmsg__body blockquote p.home-pmsg__greeting {
    color: var(--arch-ink);
    font-family: var(--arch-serif);
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 500;
}

.home-pmsg__clamp {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-pmsg__sign {
    margin: 0 0 1.8rem;
    padding-left: 1rem;
    border-left: 3px solid var(--arch-orange);
}

.home-pmsg__sign strong,
.home-pmsg__sign span {
    display: block;
}

.home-pmsg__sign strong {
    color: var(--arch-ink);
    font-size: 1.05rem;
}

.home-pmsg__sign span {
    color: #4a4f5c;
    font-size: 0.88rem;
}

@media (max-width: 767px) {
    .home-pmsg {
        grid-template-columns: 1fr;
    }

    .home-pmsg__photo {
        max-width: none;
    }

    .home-pmsg__photo figcaption {
        padding: 0.6rem 0.8rem;
    }
}

/* Tablet & mobile */
@media (max-width: 991px) {
    .home-category-swiper .swiper-wrapper.home-category-grid {
        display: flex;
        gap: 0;
        border: 0;
        background: none;
        transform: translate3d(0, 0, 0);
    }

    .home-category-swiper .swiper-slide {
        padding-right: 1px;
    }

    .home-category-card {
        min-height: 0;
        border: 1px solid rgba(255, 255, 255, 0.16);
    }

    .home-category-pagination {
        display: flex;
        justify-content: center;
        margin-top: 1.4rem;
    }
}

@media (max-width: 900px) {
    .home-hero {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding-bottom: 2.5rem;
    }

    .home-hero__content {
        padding-block: 3.2rem 2rem;
    }

    .home-hero__media {
        position: relative;
        inset: auto;
        order: 2;
        width: min(78%, 380px);
        height: 430px;
        margin: 0 auto 0 var(--home-gutter);
    }

    .home-hero__plan {
        top: 24%;
        right: -30%;
        width: 90vw;
    }

    .home-hero__controls {
        position: static;
        order: 3;
        justify-content: center;
        margin: 1.5rem auto 0;
    }

    .home-hero__scroll {
        display: none;
    }
}

@media (max-width: 600px) {
    .home-hero h1 {
        font-size: clamp(2.5rem, 11.5vw, 3.4rem);
    }

    .home-hero__actions .home-button {
        flex: 1 1 100%;
    }

    .home-hero__media {
        width: calc(100% - var(--home-gutter) * 2 - 14px);
        height: 380px;
        margin-inline: var(--home-gutter) auto;
        box-shadow: 10px 10px 0 var(--arch-orange);
    }

    .home-category-card {
        padding: 1rem;
    }

    .home-pillar:hover,
    .home-desk-card:hover,
    .home-update-card:hover,
    .home-faculty-card:hover {
        box-shadow: 5px 5px 0 var(--arch-orange);
        transform: translate(-2px, -2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-marquee__track,
    .home-hero__plan {
        animation: none;
    }

    .home-marquee {
        overflow-x: auto;
    }

    .home-button::before {
        transition: none;
    }
}
