/* OXBAR About Us reconstruction */
.oxa-page,
.oxa-page * {
    box-sizing: border-box;
}

.oxa-page {
    --oxa-green: #31dc1f;
    --oxa-soft-green: #ddffdf;
    --oxa-light: #f4f5f7;
    --oxa-black: #030303;
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;
    color: var(--oxa-black);
    background: var(--oxa-light);
    font-family: Arial, Helvetica, sans-serif;
}

.oxa-page a {
    color: inherit;
    text-decoration: none;
}

.oxa-page button {
    font: inherit;
}

.oxa-shell {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

body.oxhp-about-active .page-title,
body.oxhp-about-active .entry-title,
body.oxhp-about-active .breadcrumbs,
body.oxhp-about-active .yoast-breadcrumb,
body.oxhp-about-active .wd-breadcrumbs,
body.oxhp-about-active .page-title-default,
body.oxhp-about-active .title-size-default {
    display: none !important;
}

body.oxhp-about-active .site-content,
body.oxhp-about-active .main-page-wrapper,
body.oxhp-about-active .container,
body.oxhp-about-active .content-layout-wrapper,
body.oxhp-about-active .entry-content {
    max-width: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Hero */
.oxa-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: clamp(520px, 36.6vw, 700px);
    background: var(--oxa-soft-green);
}

.oxa-hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: clamp(54px, 6.6vw, 96px) clamp(38px, 5.9vw, 82px) clamp(54px, 5.6vw, 80px);
}

.oxa-hero-title {
    position: relative;
    width: min(520px, 100%);
    margin: 0 auto;
    padding-top: clamp(20px, 3vw, 45px);
}

.oxa-hero-title span {
    position: relative;
    z-index: 2;
    display: block;
    margin-left: 27%;
    font-size: clamp(30px, 3.4vw, 50px);
    line-height: .9;
    font-style: italic;
    font-weight: 400;
}

.oxa-hero-title strong {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: -3px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(72px, 8.1vw, 124px);
    line-height: .72;
    letter-spacing: -.085em;
    font-style: italic;
    font-weight: 700;
    white-space: nowrap;
}

.oxa-hero-mark {
    position: absolute;
    z-index: 3;
    top: -3%;
    right: 3%;
    width: clamp(105px, 11vw, 168px);
    height: auto;
    filter: drop-shadow(0 18px 18px rgba(34, 200, 26, .11));
    animation: oxa-mark-float 2.8s ease-in-out infinite;
    pointer-events: none;
}

.oxa-hero-copy > p {
    width: min(410px, 100%);
    margin: 0 auto;
    font-size: clamp(13px, 1.05vw, 16px);
    line-height: 1.55;
}

.oxa-hero-media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #d7d6d0;
}

.oxa-hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.025);
    transition: opacity .8s ease, visibility .8s ease, transform 6.4s ease;
}

.oxa-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.oxa-hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.oxa-hero-dots {
    position: absolute;
    z-index: 4;
    right: 26px;
    bottom: 22px;
    display: flex;
    gap: 8px;
}

.oxa-hero-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,.14);
    cursor: pointer;
}

.oxa-hero-dots button.is-active {
    background: var(--oxa-green);
    border-color: var(--oxa-green);
}

@keyframes oxa-mark-float {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(-17px) rotate(3deg); }
}

/* Mission */
.oxa-mission {
    min-height: 565px;
    padding: clamp(62px, 6.2vw, 88px) 0 42px;
    background: var(--oxa-light);
}

.oxa-eyebrow {
    margin: 0 0 5px;
    font-size: clamp(15px, 1.45vw, 20px);
    line-height: 1.2;
    font-weight: 600;
}

.oxa-mission h1 {
    max-width: 1050px;
    margin: 0;
    color: #030303;
    font-size: clamp(38px, 4.45vw, 64px);
    line-height: .99;
    letter-spacing: -.055em;
    font-weight: 700;
}

.oxa-mission h1 span {
    display: block;
}

.oxa-mission h1 em {
    color: #dedede;
    font-style: normal;
}

.oxa-mission-line {
    display: block;
    width: 100%;
    height: clamp(190px, 22vw, 300px);
    margin-top: 10px;
    object-fit: fill;
    object-position: center bottom;
    transform-origin: left bottom;
}

/* Philosophy */
.oxa-philosophy {
    min-height: 540px;
    padding: clamp(58px, 6vw, 82px) 0;
    background: var(--oxa-light);
}

.oxa-philosophy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
    align-items: center;
    gap: clamp(44px, 7vw, 100px);
}

.oxa-philosophy-copy-column {
    min-width: 0;
}

.oxa-philosophy-heading {
    position: relative;
    width: max-content;
    max-width: 100%;
}

.oxa-philosophy-heading h2 {
    margin: 0;
    font-size: clamp(43px, 4.2vw, 61px);
    line-height: .95;
    letter-spacing: -.055em;
    font-weight: 300;
}

.oxa-philosophy-heading strong {
    font-weight: 800;
}

.oxa-philosophy-counter {
    position: absolute;
    top: -47px;
    right: -42px;
    display: grid;
    place-items: center;
    width: clamp(58px, 5.2vw, 72px);
    height: clamp(58px, 5.2vw, 72px);
    border-radius: 50%;
    color: #fff;
    background: #000;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 2.6vw, 38px);
    font-weight: 400;
}

.oxa-philosophy-copies {
    position: relative;
    min-height: 125px;
    margin-top: 18px;
}

.oxa-philosophy-copy {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .45s ease, transform .45s ease, visibility .45s ease;
}

.oxa-philosophy-copy.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.oxa-philosophy-copy h3 {
    margin: 0;
    color: var(--oxa-green);
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.25;
    font-weight: 500;
}

.oxa-philosophy-copy p {
    max-width: 570px;
    margin: 2px 0 0;
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.12;
}

.oxa-philosophy-controls {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.oxa-philosophy-controls button {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 50%;
    color: #111;
    background: transparent;
    font-size: 12px;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.oxa-philosophy-controls button.is-active,
.oxa-philosophy-controls button:hover,
.oxa-philosophy-controls button:focus-visible {
    color: #fff;
    background: #000;
    border-color: #000;
    transform: translateY(-2px);
}

.oxa-philosophy-media {
    position: relative;
    aspect-ratio: 1.34 / 1;
    overflow: hidden;
    background: #d9dde1;
}

.oxa-philosophy-image {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.035);
    transition: opacity .65s ease, visibility .65s ease, transform 1.1s ease;
}

.oxa-philosophy-image.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.oxa-philosophy-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About title */
.oxa-about-title {
    padding: clamp(65px, 7vw, 100px) 0 clamp(42px, 5vw, 68px);
    background: var(--oxa-light);
}

.oxa-about-title h2 {
    margin: 0;
    font-size: clamp(74px, 11.1vw, 160px);
    line-height: .82;
    letter-spacing: -.075em;
    font-weight: 500;
    white-space: nowrap;
}

/* Event gallery */
.oxa-gallery {
    padding: 20px 0 86px;
    background: #fff;
}

.oxa-gallery-frame {
    overflow: hidden;
    padding: 12px;
    border-radius: 23px;
    background: #050505;
}

.oxa-gallery-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: oxa-gallery-scroll 48s linear infinite;
}

.oxa-gallery-set {
    display: flex;
    flex: 0 0 auto;
}

.oxa-gallery-set img {
    display: block;
    flex: 0 0 auto;
    width: clamp(190px, 18vw, 245px);
    height: clamp(210px, 18.5vw, 255px);
    object-fit: cover;
}

.oxa-gallery-frame:hover .oxa-gallery-track,
.oxa-gallery-frame:focus-within .oxa-gallery-track {
    animation-play-state: paused;
}

@keyframes oxa-gallery-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Contact */
.oxa-contact {
    padding: 8px 20px 72px;
    background: #fff;
    text-align: center;
}

.oxa-contact-inner {
    width: min(520px, 100%);
    margin-inline: auto;
}

.oxa-contact h2 {
    margin: 0;
    font-size: clamp(32px, 3.2vw, 45px);
    line-height: 1;
    font-weight: 800;
}

.oxa-contact p {
    margin: 8px 0 25px;
    font-size: 14px;
}

.oxa-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    min-width: 148px;
    padding: 12px 24px;
    border-radius: 12px;
    color: #fff;
    background: #000;
    font-size: 14px;
    font-weight: 600;
    transition: transform .2s ease, background .2s ease;
}

.oxa-contact a:hover,
.oxa-contact a:focus-visible {
    background: var(--oxa-green);
    transform: translateY(-2px);
}

/* Scroll reveal */
.oxa-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .75s ease, transform .75s cubic-bezier(.22,.7,.24,1);
}

.oxa-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.oxa-mission.is-visible .oxa-mission-line {
    animation: oxa-line-arrive 1.2s cubic-bezier(.2,.75,.2,1) both .12s;
}

@keyframes oxa-line-arrive {
    from { opacity: 0; transform: translateY(35px) scaleX(.72); }
    to { opacity: 1; transform: translateY(0) scaleX(1); }
}

/* Tablet */
@media (max-width: 980px) {
    .oxa-hero {
        min-height: 520px;
    }

    .oxa-hero-copy {
        padding-inline: 34px;
    }

    .oxa-hero-title strong {
        font-size: clamp(64px, 8.8vw, 88px);
    }

    .oxa-philosophy-grid {
        grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr);
        gap: 38px;
    }

    .oxa-about-title h2 {
        white-space: normal;
    }
}

/* Mobile */
@media (max-width: 720px) {
    .oxa-shell {
        width: min(100% - 28px, 1200px);
    }

    .oxa-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .oxa-hero-copy {
        min-height: 420px;
        padding: 52px 22px 42px;
    }

    .oxa-hero-title {
        width: min(430px, 100%);
    }

    .oxa-hero-title span {
        margin-left: 19%;
        font-size: clamp(28px, 9vw, 42px);
    }

    .oxa-hero-title strong {
        font-size: clamp(66px, 20vw, 96px);
        white-space: normal;
    }

    .oxa-hero-mark {
        right: 1%;
        width: clamp(92px, 28vw, 132px);
    }

    .oxa-hero-copy > p {
        width: 100%;
        font-size: 13px;
    }

    .oxa-hero-media {
        aspect-ratio: 1 / .94;
    }

    .oxa-mission {
        min-height: 470px;
        padding-top: 52px;
    }

    .oxa-mission h1 {
        font-size: clamp(35px, 10.5vw, 50px);
        line-height: 1.03;
    }

    .oxa-mission-line {
        height: 185px;
        margin-top: 22px;
    }

    .oxa-philosophy {
        padding: 65px 0 70px;
    }

    .oxa-philosophy-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .oxa-philosophy-heading h2 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .oxa-philosophy-counter {
        top: -35px;
        right: -31px;
        width: 56px;
        height: 56px;
        font-size: 26px;
    }

    .oxa-philosophy-copies {
        min-height: 155px;
    }

    .oxa-philosophy-copy p {
        font-size: 16px;
        line-height: 1.28;
    }

    .oxa-philosophy-media {
        aspect-ratio: 1.28 / 1;
        order: -1;
    }

    .oxa-about-title {
        padding-top: 54px;
    }

    .oxa-about-title h2 {
        font-size: clamp(68px, 24vw, 108px);
        line-height: .86;
    }

    .oxa-gallery {
        padding-bottom: 65px;
    }

    .oxa-gallery-frame {
        padding: 9px;
        border-radius: 18px;
    }

    .oxa-gallery-set img {
        width: 190px;
        height: 205px;
    }

    .oxa-contact {
        padding-bottom: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .oxa-hero-mark,
    .oxa-gallery-track,
    .oxa-mission-line {
        animation: none !important;
    }

    .oxa-hero-slide,
    .oxa-philosophy-copy,
    .oxa-philosophy-image,
    .oxa-reveal {
        transition: none !important;
    }

    .oxa-reveal {
        opacity: 1;
        transform: none;
    }
}
