/* ========== ABOUT PAGE — EDITORIAL ========== */

.noam-about-page {
    --about-ink: #0b1733;
    --about-blue: #1e57c8;
    --about-text: #4f596c;
    --about-line: #dfe3ea;
    --about-bg: #f6f7f9;
    max-width: 100%;
    overflow: hidden;
    background: #ffffff;
    color: var(--about-ink);
}

.noam-about-page,
.noam-about-page *,
.noam-about-page *::before,
.noam-about-page *::after {
    box-sizing: border-box;
    font-family: "Be Vietnam Pro", "Inter", "Lexend", Arial, Helvetica, sans-serif !important;
}

.noam-about-container {
    width: min(100% - 40px, 1180px) !important;
    max-width: 1180px !important;
    margin-inline: auto;
    padding-inline: 0 !important;
}

.noam-about-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px !important;
    color: var(--about-blue) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase;
}

.noam-about-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    flex: none;
}

.noam-about-page h2 {
    margin: 0 0 20px;
    color: var(--about-ink) !important;
    font-size: clamp(28px, 3.4vw, 42px) !important;
    font-weight: 700 !important;
    line-height: 1.06 !important;
    letter-spacing: -0.035em !important;
    text-transform: none !important;
    text-wrap: balance;
}

.noam-about-page p,
.noam-about-page div {
    text-wrap: pretty;
}

/* ---------- Opening: manifesto + campaign film ---------- */

.noam-about-intro {
    padding: clamp(44px, 6vw, 88px) 0 clamp(48px, 6vw, 92px);
}

.noam-about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(36px, 5vw, 72px);
}

.noam-about-lead {
    max-width: 46ch;
    margin: 0 !important;
    color: var(--about-text) !important;
    font-size: clamp(16px, 1.2vw, 18px) !important;
    font-weight: 400 !important;
    line-height: 1.72 !important;
}

.noam-about-lead::first-letter {
    float: left;
    margin: 10px 14px 0 0;
    color: var(--about-blue);
    font-size: 62px;
    font-weight: 600;
    line-height: 0.72;
}

.noam-about-signature {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3em;
    margin: 32px 0 0 !important;
    font-size: clamp(22px, 2.2vw, 30px) !important;
    font-weight: 600 !important;
    font-style: italic;
    line-height: 1.15 !important;
    letter-spacing: -0.03em;
}

.noam-about-signature span:first-child {
    color: var(--about-blue);
}

.noam-about-signature span:last-child {
    display: inline-block;
    overflow: hidden;
    max-width: 0;
    color: var(--about-ink);
    white-space: nowrap;
    animation: noam-about-typing 2.2s steps(16, end) 600ms forwards,
               noam-about-typing-done 1ms linear 2.9s forwards;
}

@keyframes noam-about-typing {
    from { max-width: 0; }
    to { max-width: 9.8em; }
}

@keyframes noam-about-typing-done {
    to { overflow: visible; }
}

.noam-about-video {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #0b0b0d;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 26px 54px -22px rgba(11, 23, 51, 0.55);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease;
}

.noam-about-video:hover {
    transform: translateY(-4px);
    box-shadow: 0 34px 66px -24px rgba(11, 23, 51, 0.6);
}

.noam-about-video img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
}

.noam-about-video:hover img {
    transform: scale(1.035);
    opacity: 0.92;
}

.noam-about-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.noam-about-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    transform: translate(-50%, -50%);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), background 260ms ease;
}

.noam-about-video-play::after {
    content: "";
    margin-left: 5px;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 19px solid var(--about-ink);
}

.noam-about-video:hover .noam-about-video-play {
    background: #ffffff;
    transform: translate(-50%, -50%) scale(1.08);
}

.noam-about-video-label {
    position: absolute;
    left: 20px;
    bottom: 18px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.noam-about-video.is-playing .noam-about-video-play,
.noam-about-video.is-playing .noam-about-video-label {
    display: none;
}

/* ---------- Statement band ---------- */

.noam-about-statement {
    position: relative;
    isolation: isolate;
    width: min(100% - 40px, 1180px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 22px;
    background: var(--about-blue);
    box-shadow: 0 30px 64px -28px rgba(11, 23, 51, 0.5);
}

/*
 * The band says "Beyond A.M., into P.M.", so it plays out a day: warm morning
 * light in the top-left at entry, a single slow sweep across the panel, then a
 * cool evening settle. The brand blue underneath never changes.
 */

.noam-about-daylight,
.noam-about-nightfall,
.noam-about-sunsweep {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.noam-about-daylight {
    opacity: 1;
    background: radial-gradient(118% 88% at 10% -6%, rgba(255, 214, 152, 0.34), rgba(255, 214, 152, 0) 56%);
    transition: opacity 2600ms 800ms ease;
}

.noam-about-nightfall {
    opacity: 0;
    background: linear-gradient(168deg, rgba(6, 16, 48, 0) 24%, rgba(6, 16, 48, 0.5) 100%);
    transition: opacity 2600ms 800ms ease;
}

.noam-about-statement.is-visible .noam-about-daylight {
    opacity: 0.18;
}

.noam-about-statement.is-visible .noam-about-nightfall {
    opacity: 1;
}

.noam-about-sunsweep {
    background: linear-gradient(104deg, rgba(255, 255, 255, 0) 34%, rgba(255, 240, 214, 0.16) 50%, rgba(255, 255, 255, 0) 66%);
    transform: translate3d(-115%, 0, 0);
}

.noam-about-statement.is-visible .noam-about-sunsweep {
    animation: noam-about-sunsweep 2400ms 500ms cubic-bezier(0.33, 0, 0.2, 1) forwards;
}

@keyframes noam-about-sunsweep {
    to { transform: translate3d(115%, 0, 0); }
}

/*
 * Deliberately time-based rather than scroll-linked: body carries
 * overflow-y:auto site-wide while html is the real scroller, so any view()
 * timeline inside the page measures against a scrollport that never moves and
 * freezes. A one-shot sequence on entry also works in browsers without
 * scroll-driven animations at all.
 */

.noam-about-statement-media img {
    transform: scale(1.07);
    transition: transform 3200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.noam-about-statement.is-visible .noam-about-statement-media img {
    transform: scale(1);
}

/* Word-by-word mask reveal for the headline. */

.noam-about-statement-copy .noam-about-statement-title {
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.28em;
    /* the 16ch cap that keeps other h2 lines short would split "P.M." off alone */
    max-width: none;
}

.noam-about-word {
    display: inline-block;
    overflow: hidden;
    /* room for descenders so the mask never clips a "y" at rest */
    padding-bottom: 0.14em;
    margin-bottom: -0.14em;
}

/* keeps "into P.M." on one line so a narrow screen breaks the title between
   the two halves of the day rather than stranding "P.M." on its own */
.noam-about-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 0 0.28em;
}

/* spans exactly from the start of "A.M.," to the end of "P.M.", so the marker
   below can travel that distance without measuring anything in JS */
.noam-about-track {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.28em;
}

.noam-about-word > span {
    display: inline-block;
    transform: translate3d(0, 115%, 0);
    filter: blur(7px);
    transition: transform 950ms cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms),
                filter 620ms ease var(--d, 0ms);
}

.noam-about-statement.is-visible .noam-about-word > span {
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

/*
 * The line is about a day changing hands, so the light does too: "A.M." starts
 * lit and dims, "P.M." starts dim and takes over, and a warm marker crosses
 * between them and cools as it goes.
 */

.noam-about-time > span {
    transition: transform 950ms cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms),
                filter 620ms ease var(--d, 0ms),
                color 1500ms ease 1000ms;
}

.noam-about-am > span {
    color: #ffffff;
}

.noam-about-pm > span {
    color: rgba(255, 255, 255, 0.55);
}

.noam-about-statement.is-visible .noam-about-am > span {
    color: rgba(255, 255, 255, 0.55);
}

.noam-about-statement.is-visible .noam-about-pm > span {
    color: #ffffff;
}

.noam-about-sun {
    position: absolute;
    left: 0;
    bottom: -0.06em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    opacity: 0;
    background: #ffd08a;
    box-shadow: 0 0 12px 2px rgba(255, 208, 138, 0.65);
    transition: left 1900ms cubic-bezier(0.45, 0, 0.2, 1) 950ms,
                background 1900ms ease 950ms,
                box-shadow 1900ms ease 950ms,
                opacity 400ms ease 950ms;
}

.noam-about-statement.is-visible .noam-about-sun {
    left: calc(100% - 7px);
    opacity: 1;
    background: #dbe3f6;
    box-shadow: 0 0 10px 1px rgba(219, 227, 246, 0.4);
}

@media (max-width: 767.98px) {
    /* the track wraps to two lines here, so the marker would cross mid-air */
    .noam-about-sun {
        display: none;
    }
}

.noam-about-statement-copy .noam-about-kicker,
.noam-about-statement-body {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.noam-about-statement.is-visible .noam-about-kicker {
    opacity: 1;
    transform: none;
}

.noam-about-statement.is-visible .noam-about-statement-body {
    opacity: 1;
    transform: none;
    transition-delay: 420ms;
}

.noam-about-statement-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
    align-items: stretch;
}

.noam-about-statement-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 4.4vw, 62px);
    color: #ffffff;
}

.noam-about-statement-copy .noam-about-kicker {
    color: rgba(255, 255, 255, 0.78) !important;
}

.noam-about-statement-copy h2 {
    max-width: 16ch;
    color: #ffffff !important;
}

.noam-about-statement-body {
    max-width: 56ch;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.78 !important;
}

.noam-about-statement-media {
    position: relative;
    margin: 0;
    min-height: 100%;
    overflow: hidden;
    background: #16408f;
}

.noam-about-statement-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center 22%;
}

.noam-about-statement-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(30, 87, 200, 0.42), rgba(30, 87, 200, 0) 38%);
    pointer-events: none;
}

/* ---------- Chapters ---------- */

.noam-about-chapter {
    padding: clamp(56px, 7vw, 104px) 0;
}

.noam-about-chapter + .noam-about-chapter {
    padding-top: 0;
}

.noam-about-chapter-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 76px);
}

.noam-about-chapter--reverse .noam-about-chapter-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.noam-about-chapter--reverse .noam-about-media {
    order: 2;
}

.noam-about-media {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: var(--about-bg);
}

.noam-about-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.noam-about-media:hover img {
    transform: scale(1.04);
}

.noam-about-media figcaption {
    position: absolute;
    left: 18px;
    bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--about-ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.noam-about-chapter-copy > div {
    max-width: 48ch;
    color: var(--about-text) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
}

.noam-about-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(30, 87, 200, 0.32);
    color: var(--about-blue) !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: gap 220ms ease, border-color 220ms ease;
}

.noam-about-link::after {
    content: "→";
    font-size: 15px;
    line-height: 1;
}

.noam-about-link:hover {
    gap: 16px;
    border-color: var(--about-blue);
}

/* ---------- Values ---------- */

.noam-about-values {
    padding: clamp(56px, 7vw, 100px) 0 clamp(64px, 8vw, 110px);
    background: var(--about-bg);
}

.noam-about-values-head {
    max-width: 620px;
    margin-bottom: clamp(28px, 3.6vw, 46px);
}

.noam-about-values-head h2 {
    margin-bottom: 0;
}

.noam-about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--about-line);
}

.noam-about-values-grid > div {
    padding: clamp(26px, 2.6vw, 38px) clamp(20px, 2.2vw, 32px) 4px 0;
}

.noam-about-values-grid > div + div {
    padding-left: clamp(20px, 2.2vw, 32px);
    border-left: 1px solid var(--about-line);
}

.noam-about-values-grid span {
    display: block;
    margin-bottom: 16px;
    color: var(--about-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.noam-about-values-grid h3 {
    margin: 0 0 10px;
    color: var(--about-ink) !important;
    font-size: clamp(18px, 1.6vw, 21px) !important;
    font-weight: 700 !important;
    line-height: 1.24 !important;
    letter-spacing: -0.02em;
}

.noam-about-values-grid p {
    margin: 0 !important;
    color: var(--about-text) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.72 !important;
}

.noam-about-tagline {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 34px);
    margin: clamp(44px, 5vw, 70px) 0 0 !important;
    color: var(--about-blue) !important;
    font-size: clamp(18px, 2vw, 26px) !important;
    font-weight: 600 !important;
    font-style: italic;
    letter-spacing: -0.02em;
    text-align: center;
}

.noam-about-tagline::before,
.noam-about-tagline::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--about-line);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .noam-about-intro-grid,
    .noam-about-chapter-grid,
    .noam-about-chapter--reverse .noam-about-chapter-grid {
        grid-template-columns: 1fr;
    }

    .noam-about-chapter--reverse .noam-about-media {
        order: 0;
    }

    .noam-about-media img {
        aspect-ratio: 4 / 3;
    }

    .noam-about-statement-inner {
        grid-template-columns: 1fr;
    }

    .noam-about-statement-media img {
        min-height: 0;
        aspect-ratio: 4 / 3;
        object-position: center 18%;
    }

    .noam-about-statement-media::after {
        background: linear-gradient(to bottom, rgba(30, 87, 200, 0.34), rgba(30, 87, 200, 0) 40%);
    }

    .noam-about-values-grid {
        grid-template-columns: 1fr;
    }

    .noam-about-values-grid > div {
        padding: 26px 0;
        border-bottom: 1px solid var(--about-line);
    }

    .noam-about-values-grid > div + div {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .noam-about-container,
    .noam-about-statement {
        width: calc(100% - 32px) !important;
    }

    .noam-about-statement {
        border-radius: 18px;
    }

    .noam-about-lead::first-letter {
        margin-top: 6px;
        font-size: 50px;
    }

    .noam-about-signature {
        margin-top: 26px !important;
    }

    .noam-about-video {
        border-radius: 14px;
    }

    .noam-about-video-play {
        width: 62px;
        height: 62px;
    }

    .noam-about-video-play::after {
        border-top-width: 10px;
        border-bottom-width: 10px;
        border-left-width: 15px;
    }

    .noam-about-media {
        border-radius: 14px;
    }

    .noam-about-media img {
        aspect-ratio: 4 / 5;
    }

    .noam-about-tagline {
        display: block;
        text-align: center;
    }

    .noam-about-tagline::before,
    .noam-about-tagline::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .noam-about-page *,
    .noam-about-page *::before,
    .noam-about-page *::after {
        animation-duration: 1ms !important;
        animation-delay: 0ms !important;
        transition-duration: 1ms !important;
    }

    .noam-about-signature span:last-child {
        max-width: none;
        overflow: visible;
    }

    /* Land the statement band on its finished state instead of animating it. */
    .noam-about-word > span,
    .noam-about-statement-copy .noam-about-kicker,
    .noam-about-statement-body {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .noam-about-am > span {
        color: rgba(255, 255, 255, 0.55);
    }

    .noam-about-pm > span {
        color: #ffffff;
    }

    .noam-about-sun {
        display: none;
    }

    .noam-about-sunsweep {
        animation-name: none !important;
        opacity: 0;
    }

    .noam-about-statement-media img {
        transform: none;
    }

    .noam-about-daylight {
        opacity: 0.18;
    }

    .noam-about-nightfall {
        opacity: 1;
    }
}
