/* === site.css === */

html,
body { margin: 0; overflow-x: clip; font-family: var(--font-body); font-weight: 400; display: flex; flex-direction: column; min-height: 100vh; }

body,
input,
textarea,
select { font-family: var(--font-body); }

#content { flex: 1; }

/* -----------------------------------------------
   THANK YOU PAGE
   ----------------------------------------------- */
.thankyou {
    display: flex;
    align-items: center;
    padding: var(--spacing-5xl) var(--container-padding);
    min-height: 50vh;
}

.thankyou__inner {
    max-width: 42rem;
}

.thankyou__rule {
    display: block;
    width: 2.5rem;
    height: 3px;
    background-color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
}

.thankyou__label {
    font-family: var(--font-nav);
    font-size: var(--text-body);
    font-weight: 400;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 var(--spacing-sm);
}

.thankyou__title {
    font-family: var(--font-heading);
    font-size: var(--text-display);
    font-weight: 400;
    line-height: var(--leading-display);
    letter-spacing: var(--tracking-display);
    color: var(--color-black);
    margin: 0 0 var(--spacing-xl);
}

.thankyou__body {
    font-size: var(--text-body-lg);
    line-height: var(--leading-body-lg);
    letter-spacing: var(--tracking-body);
    color: var(--color-text);
    margin: 0 0 var(--spacing-3xl);
}

.thankyou__body a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.thankyou__body a:hover {
    text-decoration: none;
    opacity: 0.75;
}

.thankyou__btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 1.75rem;
    font-family: var(--font-nav);
    font-size: var(--text-btn);
    font-weight: 400;
    color: var(--color-white);
    background-color: var(--color-primary);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.thankyou__btn:hover {
    opacity: 0.88;
}

/* -----------------------------------------------
   ERROR PAGES (404, 500)
   ----------------------------------------------- */
.error-page {
    display: flex;
    align-items: center;
    padding: var(--spacing-5xl) var(--container-padding);
    min-height: 50vh;
}

.error-page__inner {
    max-width: 42rem;
}

.error-page__code {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 12vw, 10rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--color-gray-mid);
    margin: 0 0 var(--spacing-lg);
}

.error-page__rule {
    display: block;
    width: 2.5rem;
    height: 3px;
    background-color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
}

.error-page__label {
    font-family: var(--font-nav);
    font-size: var(--text-body);
    font-weight: 400;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 var(--spacing-sm);
}

.error-page__title {
    font-family: var(--font-heading);
    font-size: var(--text-display);
    font-weight: 400;
    line-height: var(--leading-display);
    letter-spacing: var(--tracking-display);
    color: var(--color-black);
    margin: 0 0 var(--spacing-xl);
}

.error-page__body {
    font-size: var(--text-body-lg);
    line-height: var(--leading-body-lg);
    letter-spacing: var(--tracking-body);
    color: var(--color-text);
    margin: 0 0 var(--spacing-3xl);
}

.error-page__body a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.error-page__body a:hover {
    text-decoration: none;
}

.error-page__btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 1.75rem;
    font-family: var(--font-nav);
    font-size: var(--text-btn);
    font-weight: 400;
    color: var(--color-white);
    background-color: var(--color-primary);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.error-page__btn:hover {
    opacity: 0.88;
}

h1,
h2,
h3,
h4,
h5,
h6 { font-family: var(--font-heading); }

button,
.btn,
a.btn,
input[type="button"],
input[type="submit"],
input[type="reset"] { font-family: var(--font-nav); }

.section-heading { display: flex; flex-direction: column; gap: 0.875rem; }

.section-heading__rule { display: block; width: 6.0625rem; height: 0.125rem; background-color: var(--color-black); }

.section-heading__title { margin: 0; font-family: var(--font-heading); font-size: 1.5625rem; font-weight: 500; line-height: 1.4; letter-spacing: -0.03em; color: var(--color-black); }

/* -----------------------------------------------
   Hero section
   ----------------------------------------------- */
.hero { position: relative; overflow: hidden; height: 762px; background: linear-gradient(180deg, #eef2f7 0%, #eef1f4 45%, #f4f3ee 100%); }

.hero__inner { position: relative; z-index: 2; display: flex; justify-content: center; width: 100%; padding-top: 86px; padding-left: 0; padding-right: 0; padding-bottom: 0; }

.hero__content { width: 100%; max-width: 1263px; text-align: center; }

.hero__title { margin: 0; font-family: var(--font-heading); font-size: clamp(2.875rem, 7vw, 5rem); font-weight: 500; line-height: 1; letter-spacing: -0.06em; color: var(--color-hero-text); text-wrap: balance; }

.hero__subtitle { max-width: 1256px; margin: 13px auto 0; font-family: var(--font-body); font-size: 22px; font-weight: 400; line-height: 28px; letter-spacing: -0.03em; color: var(--color-hero-text); text-wrap: balance; }

.hero__subtitle-break { display: none; }

.hero__media { position: absolute; inset: 0; z-index: 1; overflow: hidden; }

.hero__media-img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center -149px; }

.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.18) 18%, rgba(255, 255, 255, 0) 34%); pointer-events: none; }

/* -----------------------------------------------
   Hero — Tablet (768px+)
   ----------------------------------------------- */
@media (min-width: 768px) {
    .section-heading { gap: 2rem; }

    .hero { height: clamp(34rem, 56vw, 47.625rem); }

    .hero__inner { padding-top: clamp(3.5rem, 5.5vw, 5.375rem); }

    .hero__content { max-width: min(1263px, calc(100vw - 2rem)); }

    .hero__subtitle { max-width: min(1256px, calc(100vw - 2rem)); }

    .hero__media-img { object-position: center clamp(-9rem, -11vw, -5rem); }
}

/* -----------------------------------------------
   Hero — Desktop (992px+)
   ----------------------------------------------- */
@media (min-width: 1230px) {
    .hero__inner { padding-top: 86px; }

    .hero__title { font-size: 5rem; }

    .hero__subtitle { margin-top: 13px; font-size: 22px; line-height: 28px; }
}

@media (min-width: 768px) and (max-width: 1229px) {
    .hero__inner { padding-top: 3.5rem; }

    .hero__content { max-width: 44rem; }

    .hero__subtitle { max-width: 34rem; margin-top: 1rem; font-size: 1.375rem; line-height: 1.5; padding: 0.625rem 1rem; border-radius: 0.75rem; background-color: rgba(255, 255, 255, 0.78); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); text-wrap: pretty; }

    .hero__media::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.44) 18%, rgba(255, 255, 255, 0.12) 36%, rgba(255, 255, 255, 0) 52%); }
}

@media (min-width: 992px) and (max-width: 1229px) {
    .hero { height: clamp(36rem, 50vw, 42rem); }

    .hero__content { max-width: 52rem; }

    .hero__title { font-size: 4.25rem; }

    .hero__subtitle { max-width: 40rem; font-size: 1.25rem; line-height: 1.45; }

    .hero__media-img { object-position: center -3rem; }
}

/* -----------------------------------------------
   Hero — Wide desktop (1230px+)
   ----------------------------------------------- */
@media (min-width: 1230px) {
    .hero { height: 762px; }

    .hero__media-img { object-position: center 70%; }
}

@media (max-width: 767px) {
    .hero { display: flex; flex-direction: column-reverse; height: auto; background: none; overflow: visible; }

    .hero__inner { justify-content: flex-start; padding: 0.875rem 1rem 0; }

    .hero__content { width: 100%; max-width: 100%; text-align: left; }

    .hero__title { font-size: 3rem; line-height: 1; letter-spacing: -0.06em; }

    .hero__subtitle { width: 100%; max-width: 100%; margin-top: 0.6875rem; font-size: 1rem; line-height: 1.75; text-wrap: normal; }

    .hero__subtitle-break { display: block; }

    .hero__media { position: relative; inset: auto; height: 28.4375rem; background-color: #deedff; }

    .hero__media-img { object-position: center top; }

    .hero__media::after { display: none; }
}

@media (min-width: 390px) and (max-width: 767px) {
    .hero__subtitle-break { display: none; }
}

/* -----------------------------------------------
   About section
   ----------------------------------------------- */
.about { padding: 1.125rem 0 1.5rem; }

.about__inner.container { padding-left: 0; padding-right: 0; }

.about__header { margin-bottom: 2rem; }

.about__accent { width: 10rem; }

.about__heading { font-size: var(--text-h2); line-height: 1.185; }

.about__body { display: flex; flex-direction: column; gap: 2rem; }

.about__media { position: relative; }

.about__media-frame { position: relative; }

.about__viewport { overflow: hidden; width: 100%; }

.about__track { display: flex; gap: 1rem; transition: transform 320ms ease; will-change: transform; }

.about__slide { flex: 0 0 100%; width: 100%; }

.about__slide-img { display: block; width: 100%; height: auto; aspect-ratio: 734 / 551; object-fit: cover; }

.about__fade { display: none; }

.about__nav { display: flex; gap: 0.3125rem; margin-top: 0.875rem; }

.about__nav-btn { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border: none; border-radius: 50%; color: var(--color-white); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: opacity var(--transition-fast); }

.about__nav-btn:hover:not(:disabled) { opacity: 0.85; }

.about__nav-btn:not(:disabled) { background-color: var(--color-primary); }

.about__nav-btn:disabled { background-color: var(--color-gray); cursor: default; opacity: 1; }

.about__text { font-family: var(--font-body); font-size: var(--text-body-lg); font-weight: 400; line-height: var(--leading-body-lg); letter-spacing: var(--tracking-body); color: var(--color-black); }

.about__text p { margin: 0 0 1.5rem; }

.about__text p:last-child { margin-bottom: 0; }

/* -----------------------------------------------
   About — Mobile (767px and down)
   ----------------------------------------------- */
@media (max-width: 767px) {
    .about { padding: 0 0 1.5rem; }

    .about__inner.container { padding-left: 1rem; padding-right: 1rem; }

    .about__header { width: 100%; margin-bottom: 1.5rem; }

    .about__accent { display: none; }

    .about__heading { width: 100%; font-size: 2rem; line-height: 1.1875; letter-spacing: -0.03em; }

    .about__body { gap: 0; }

    .about__media { margin-right: -1rem; }

    .about__viewport { width: calc(100vw - 1rem); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }

    .about__viewport::-webkit-scrollbar { display: none; }

    .about__track { display: inline-flex; gap: 0.6875rem; min-width: max-content; padding-right: 1rem; }

    .about__slide { flex: 0 0 14.8125rem; width: 14.8125rem; }

    .about__slide-img { width: 14.8125rem; height: 15.4375rem; aspect-ratio: auto; }

    .about__nav { gap: 0.233625rem; margin-top: 0.5rem; }

    .about__nav-btn { width: 2.383125rem; height: 2.383125rem; }

    .about__text { margin-top: 1rem; padding-right: 0; font-size: 1rem; line-height: 1.75; }

    .about__text p { margin-bottom: 0.75rem; }
}

/* -----------------------------------------------
   About — Tablet (768px+)
   ----------------------------------------------- */
@media (min-width: 768px) {
    .section-heading__rule { width: 17.625rem; }

    .about { padding: 1.75rem 0 2.25rem; }

    .about__inner.container { padding-left: 1rem; padding-right: 1rem; }

    .about__header { margin-bottom: 2.5rem; }

    .about__accent { width: 17.625rem; }

    .about__heading { max-width: 42rem; }

    .about__nav-btn { width: 3.1875rem; height: 3.1875rem; }
}

/* -----------------------------------------------
   About — Desktop (992px+)
   ----------------------------------------------- */
@media (min-width: 992px) {
    .about { padding: 1.875rem 0 2.75rem; }

    .about__inner.container { padding-left: 0; padding-right: 0; }

    .about__header { width: min(70.625rem, 100%); margin-bottom: 4.125rem; }

    .about__heading { max-width: 70.625rem; font-size: 3.375rem; line-height: 1.13; }

    .about__body { position: relative; display: grid; grid-template-columns: minmax(0, 76.75rem) minmax(18rem, 33.5rem); align-items: start; justify-content: space-between; gap: 1.25rem; }

    .about__media { min-width: 0; padding-bottom: 5rem; }

    .about__media-frame { position: relative; }

    .about__viewport { width: min(100%, 76.75rem); }

    .about__track { gap: 2.1875rem; }

    .about__slide { flex: 0 0 45.875rem; width: 45.875rem; }

    .about__fade {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        left: auto;
        width: clamp(16rem, 24vw, 22rem);
        height: 100%;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.72) 58%, rgba(255, 255, 255, 0.94) 82%, rgba(255, 255, 255, 1) 100%);
        pointer-events: none;
        z-index: 2;
    }

    .about__text { position: relative; z-index: 3; min-width: 0; width: auto; max-width: 33.5rem; padding-top: 2rem; padding-left: 0; font-size: 1.125rem; line-height: 1.5556; }

    .about__nav { position: absolute; left: 0; bottom: 0; margin-top: 0; gap: 0.3125rem; }
}

@media (min-width: 992px) and (max-width: 1229px) {
    .about { padding: 1.375rem 0 2.5rem; }

    .about__header { width: min(61rem, 100%); margin-bottom: 2.75rem; }

    .about__heading { max-width: 58rem; font-size: 3rem; line-height: 1.08; }

    .about__body { grid-template-columns: minmax(0, 1fr) minmax(20rem, 30.5rem); align-items: center; gap: 1.75rem; }

    .about__media { position: relative; min-width: 0; padding-bottom: 3.5rem; }

    .about__media-frame { width: fit-content; max-width: 100%; align-self: center; margin-top: 1.5rem; }

    .about__viewport { width: clamp(31rem, 46vw, 36rem); max-width: 100%; }

    .about__track { gap: 1.25rem; }

    .about__slide { flex-basis: clamp(31rem, 46vw, 36rem); width: clamp(31rem, 46vw, 36rem); }

    .about__fade { display: none; }

    .about__text { max-width: 30.5rem; padding-top: 0; font-size: 1rem; line-height: 1.625; }

    .about__nav { position: absolute; left: 0; bottom: 0; margin-top: 0; gap: 0.25rem; }

    .about__nav-btn { width: 2.875rem; height: 2.875rem; }
}

@media (min-width: 1230px) and (max-width: 1439px) {
    .about__inner.container { padding-left: 2rem; padding-right: 2rem; }
}

@media (min-width: 1440px) {
    .about__inner.container { padding-left: 4rem; padding-right: 4rem; }

    .about__viewport { width: min(100%, 76.75rem); }

    .about__track { gap: 2.1875rem; }

    .about__slide { flex-basis: 45.875rem; width: 45.875rem; }

    .about__fade { display: block; }
}

@media (min-width: 2200px) {
    .hero__media-img { object-position: center 60%; }
}
