@font-face {
    font-family: "Fahkwang";
    src: url("/goldenelefantes/assets/fonts/fahkwang-regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Madefor Text";
    src: url("/goldenelefantes/assets/fonts/madefor-text.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

:root {
    color-scheme: light;
    --ink: #241d16;
    --brown: #2a1e06;
    --green: #285a3f;
    --green-dark: #173c2a;
    --pink: #e4cae4;
    --taupe: #685f50;
    --cream: #f4efe5;
    --paper: #fffdf8;
    --gold: #c99728;
    --line: rgba(42, 30, 6, .18);
    --shadow: 0 24px 70px rgba(36, 29, 22, .13);
    --display: "Fahkwang", Georgia, serif;
    --body: "Madefor Text", Arial, sans-serif;
    --page: min(1180px, calc(100vw - 80px));
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--body);
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 50%;
    padding: 12px 18px;
    border-radius: 999px;
    transform: translate(-50%, -180%);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.skip-link:focus {
    transform: translate(-50%, 0);
}

.sub-header {
    position: relative;
    display: grid;
    min-height: 500px;
    padding: 165px max(40px, calc((100vw - 1180px) / 2)) 80px;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 30%, rgba(201, 151, 40, .2), transparent 27%),
        linear-gradient(125deg, #211803 0%, var(--brown) 60%, #3a2b0b 100%);
    color: #fff;
}

.sub-header::after {
    position: absolute;
    right: -150px;
    bottom: -320px;
    width: 650px;
    height: 650px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    content: "";
}

.sub-nav {
    position: absolute;
    z-index: 10;
    top: 24px;
    left: 50%;
    display: flex;
    width: min(1280px, calc(100vw - 80px));
    min-height: 62px;
    padding: 8px 18px 8px 290px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 8px;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(16px, 2.2vw, 38px);
    transform: translateX(-50%);
    background: rgba(20, 14, 3, .64);
    backdrop-filter: blur(16px);
    font-size: 13px;
    letter-spacing: .04em;
}

.sub-nav a {
    position: relative;
    padding: 13px 0;
    white-space: nowrap;
}

.sub-nav a::after {
    position: absolute;
    right: 0;
    bottom: 7px;
    left: 0;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right;
    background: var(--gold);
    content: "";
    transition: transform .25s ease;
}

.sub-nav a:hover::after,
.sub-nav a:focus-visible::after,
.sub-nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.sub-logo {
    position: absolute;
    z-index: 11;
    top: 26px;
    left: max(40px, calc((100vw - 1280px) / 2 + 18px));
    width: 245px;
    height: 58px;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
}

.sub-logo img {
    width: 245px;
    max-width: none;
    height: auto;
    transform: translateY(-40px);
}

.sub-hero {
    position: relative;
    z-index: 2;
    width: min(650px, 58vw);
    font-family: var(--display);
}

.sub-hero::before {
    display: block;
    width: 52px;
    height: 1px;
    margin-bottom: 22px;
    background: var(--gold);
    content: "";
}

.sub-hero h1 {
    margin: 0;
    font-size: clamp(32px, 3.6vw, 52px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.045em;
}

.sub-hero p {
    max-width: 590px;
    margin: 0;
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.7;
}

.sub-hero p:first-of-type {
    margin-top: 28px;
}

.sub-hero p + p {
    margin-top: 12px;
    color: #e9d7a9;
    font-family: var(--display);
}

.sub-oils {
    position: absolute;
    z-index: 1;
    right: max(-30px, calc((100vw - 1440px) / 2 - 50px));
    bottom: 44px;
    width: min(44vw, 620px);
    height: auto;
    opacity: .86;
}

.sub-menu-button,
.sub-mobile-menu {
    display: none;
}

.sub-main {
    min-height: 500px;
    background: var(--cream);
}

.feature-page {
    padding: clamp(72px, 8vw, 120px) 0;
    background: var(--green-dark);
}

.feature-layout {
    display: grid;
    width: var(--page);
    margin: 0 auto;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    background: var(--paper);
    box-shadow: 0 32px 85px rgba(0, 0, 0, .24);
}

.feature-copy {
    display: flex;
    min-height: 620px;
    padding: clamp(48px, 6vw, 88px);
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}

.feature-copy::before {
    width: 52px;
    height: 1px;
    margin-bottom: 34px;
    background: var(--gold);
    content: "";
}

.feature-copy h1,
.feature-copy h2 {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: -.04em;
}

.feature-copy h1 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;
}

.feature-copy h2 {
    margin-top: 14px;
    color: var(--green);
    font-size: clamp(21px, 2vw, 28px);
}

.feature-copy p {
    margin: 36px 0 0;
    font-size: 17px;
    line-height: 1.8;
}

.feature-image {
    width: 100%;
    height: 100%;
    min-height: 620px;
    padding: 60px;
    background: #d6dfd3;
    object-fit: contain;
}

.legal-page {
    padding: clamp(70px, 8vw, 120px) 0;
}

.legal-page article {
    width: min(900px, calc(100vw - 48px));
    margin: 0 auto;
    padding: clamp(40px, 6vw, 80px);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.legal-page h1,
.legal-page h2,
.legal-page h4 {
    font-family: var(--display);
    font-weight: 400;
}

.legal-page h1 {
    margin: 0 0 14px;
    font-size: clamp(38px, 5vw, 60px);
    letter-spacing: -.04em;
}

.legal-page h2 {
    margin: 0 0 46px;
    color: var(--green);
    font-size: 25px;
}

.legal-page h4 {
    margin: 48px 0 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 21px;
    line-height: 1.45;
}

.legal-page p {
    margin: 0 0 22px;
    color: #51483c;
    font-size: 16px;
    line-height: 1.8;
}

.service-detail,
.service-list-page,
.calendar-page {
    padding: clamp(70px, 8vw, 120px) 0;
}

.service-detail {
    width: min(960px, calc(100vw - 48px));
    margin: 0 auto;
}

.breadcrumbs {
    display: flex;
    margin-bottom: 52px;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #796e5f;
    font-size: 13px;
}

.breadcrumbs a {
    border-bottom: 1px solid currentColor;
}

.service-detail h1,
.service-list-page h1,
.calendar-wrap > h1 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.05em;
}

.service-subtitle {
    margin: 14px 0 0;
    color: var(--green);
    font-family: var(--display);
    font-size: 23px;
}

.service-facts {
    display: grid;
    margin: 54px 0 70px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    grid-template-columns: repeat(3, 1fr);
}

.service-facts span {
    padding: 24px;
    text-align: center;
}

.service-facts span + span {
    border-left: 1px solid var(--line);
}

.service-detail h2 {
    margin: 48px 0 16px;
    font-family: var(--display);
    font-size: 27px;
    font-weight: 400;
}

.service-detail p {
    max-width: 760px;
    margin: 0;
    color: #51483c;
    font-size: 17px;
    line-height: 1.85;
}

.service-detail p a {
    border-bottom: 1px solid currentColor;
}

.service-divider {
    margin: 64px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.local-book {
    display: inline-flex;
    min-width: 180px;
    min-height: 52px;
    margin-top: 40px;
    padding: 12px 26px;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #fff;
}

.service-list-page .inner,
.calendar-wrap {
    width: var(--page);
    margin: 0 auto;
}

.booking-list {
    display: grid;
    margin-top: 60px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.booking-card {
    display: grid;
    min-height: 270px;
    padding: 20px;
    border: 1px solid var(--line);
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 28px;
    background: var(--paper);
    transition: transform .25s ease, box-shadow .25s ease;
}

.booking-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.booking-card img {
    width: 190px;
    height: 230px;
    object-fit: cover;
}

.booking-card > div {
    display: flex;
    padding: 10px 4px;
    flex-direction: column;
}

.booking-card h2 {
    margin: 0 0 20px;
    font-family: var(--display);
    font-size: 27px;
    font-weight: 400;
    line-height: 1.25;
}

.booking-card p {
    margin: 0 0 7px;
    color: #685f50;
}

.booking-card .details {
    width: max-content;
    margin-top: auto;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
}

.calendar-wrap > a {
    display: inline-block;
    margin-bottom: 34px;
    border-bottom: 1px solid currentColor;
}

.calendar-wrap > p {
    margin: 22px 0 0;
    color: #685f50;
    font-size: 18px;
}

.calendar-grid {
    display: grid;
    margin-top: 58px;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 24px;
}

.calendar-box {
    padding: clamp(28px, 4vw, 50px);
    background: var(--paper);
    box-shadow: 0 18px 55px rgba(36, 29, 22, .09);
}

.calendar-box h2 {
    margin: 0 0 12px;
    font-family: var(--display);
    font-size: 27px;
    font-weight: 400;
}

.calendar-box > p {
    margin: 0 0 30px;
    color: #716757;
    line-height: 1.7;
}

.calendar-head {
    display: grid;
    margin: 32px 0 22px;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    text-align: center;
}

.calendar-head button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    font-size: 26px;
}

.month-title {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 400;
}

.calendar-days,
.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-days span {
    padding: 10px 0;
    color: #817667;
    text-align: center;
    font-size: 12px;
}

.calendar-dates button,
.calendar-dates > span {
    min-height: 46px;
}

.calendar-dates button {
    border: 0;
    border-radius: 50%;
    background: transparent;
}

.calendar-dates button.available:hover,
.calendar-dates button.available:focus-visible {
    background: var(--pink);
}

.calendar-dates button.selected,
.time-slots button.selected {
    background: var(--green);
    color: #fff;
}

.calendar-dates button:disabled {
    color: #bbb3a7;
    cursor: not-allowed;
}

.time-slots {
    display: grid;
    margin: 34px 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.time-slots[hidden],
.booking-form[hidden],
.booking-success[hidden] {
    display: none;
}

.time-slots button {
    min-height: 46px;
    border: 1px solid var(--line);
    background: transparent;
}

.booking-form {
    display: flex;
    margin-top: 34px;
    flex-direction: column;
    gap: 14px;
}

.booking-form > input,
.booking-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 0;
    padding: 14px;
    background: #fff;
}

.booking-form textarea {
    min-height: 100px;
    resize: vertical;
}

.booking-form label {
    font-size: 14px;
    line-height: 1.5;
}

.booking-form label a {
    border-bottom: 1px solid currentColor;
}

.booking-form > button {
    min-height: 50px;
    border: 0;
    background: var(--green);
    color: #fff;
}

.booking-success {
    margin-top: 24px;
    padding: 18px;
    background: #dfeade;
    color: var(--green-dark);
    line-height: 1.6;
}

.sub-footer {
    position: relative;
    padding: 90px max(40px, calc((100vw - 1180px) / 2)) 120px;
    overflow: hidden;
    background: var(--brown);
    color: #fff;
}

.sub-footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 80px;
}

.sub-footer h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -.04em;
}

.sub-footer p,
.sub-footer address {
    color: rgba(255, 255, 255, .72);
    font-style: normal;
    line-height: 1.8;
}

.sub-footer nav {
    display: flex;
    margin-top: 34px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.sub-footer nav a,
.sub-footer p a {
    border-bottom: 1px solid transparent;
}

.sub-footer nav a:hover,
.sub-footer p a:hover {
    border-color: currentColor;
}

.sub-footer .copy {
    position: relative;
    z-index: 1;
    margin: 54px 0 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 13px;
}

.sub-wave {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 70px;
    background-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='0 100 1920 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23f4efe5' d='M1914.392 288.326c-110.231-4.798-134.428-121.68-301.124-121.68s-190.894 116.883-301.124 121.68h-15.779c-132.623-3.764-163.287-72.283-366.071-72.283s-233.445 68.519-366.071 72.283h-8.154C384.543 282.678 408.027 100 281.156 100c-123.98 0-102.173 182.678-274.845 188.326H0V300h1920v-11.674h-5.608z'/%3E%3C/svg%3E");
    background-size: 960px 100%;
}

@media (max-width: 1100px) {
    :root {
        --page: min(100% - 48px, 900px);
    }

    .sub-nav {
        display: none;
    }

    .sub-logo {
        top: 22px;
        left: 24px;
    }

    .sub-menu-button {
        position: absolute;
        z-index: 20;
        top: 27px;
        right: 24px;
        display: grid;
        width: 48px;
        height: 48px;
        border: 1px solid rgba(255, 255, 255, .3);
        border-radius: 50%;
        place-items: center;
        background: transparent;
        color: #fff;
        font-size: 0;
    }

    .sub-menu-button::before,
    .sub-menu-button::after {
        position: absolute;
        width: 19px;
        height: 1px;
        background: #fff;
        content: "";
    }

    .sub-menu-button::before {
        transform: translateY(-4px);
    }

    .sub-menu-button::after {
        transform: translateY(4px);
    }

    .sub-mobile-menu {
        position: fixed;
        z-index: 999;
        inset: 0;
        display: flex;
        padding: 80px 24px;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        transform: translateY(-102%);
        background: var(--green-dark);
        text-align: center;
        visibility: hidden;
        transition: transform .35s ease, visibility 0s linear .35s;
    }

    .sub-mobile-menu.open {
        transform: translateY(0);
        visibility: visible;
        transition: transform .35s ease;
    }

    .sub-mobile-menu a {
        padding: 12px 18px;
        font-family: var(--display);
        font-size: clamp(20px, 5vw, 29px);
    }

    .sub-mobile-menu a.active {
        color: #e8c76e;
    }

    .sub-mobile-menu button {
        position: absolute;
        top: 27px;
        right: 24px;
        width: 48px;
        height: 48px;
        border: 1px solid rgba(255, 255, 255, .3);
        border-radius: 50%;
        background: transparent;
        color: #fff;
        font-size: 30px;
    }

    .sub-header {
        min-height: 470px;
        padding: 150px 24px 70px;
    }

    .sub-oils {
        right: -12%;
        opacity: .55;
    }

    .feature-copy {
        padding: 50px;
    }

    .feature-image {
        padding: 34px;
    }

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

@media (max-width: 760px) {
    :root {
        --page: calc(100% - 32px);
    }

    .sub-logo {
        top: 18px;
        left: 16px;
        width: 205px;
        height: 49px;
    }

    .sub-logo img {
        width: 205px;
        transform: translateY(-33px);
    }

    .sub-menu-button,
    .sub-mobile-menu button {
        top: 18px;
        right: 16px;
    }

    .sub-header {
        min-height: 510px;
        padding: 130px 20px 150px;
        align-items: start;
    }

    .sub-hero {
        width: 100%;
    }

    .sub-hero h1 {
        font-size: 34px;
    }

    .sub-hero p {
        font-size: 15px;
        line-height: 1.6;
    }

    .sub-oils {
        right: -22px;
        bottom: 25px;
        width: 290px;
        max-width: 82vw;
        opacity: .58;
    }

    .feature-page {
        padding: 56px 0;
    }

    .feature-layout {
        display: flex;
        flex-direction: column;
    }

    .feature-copy {
        min-height: 0;
        padding: 48px 28px 56px;
    }

    .feature-copy p {
        font-size: 15px;
    }

    .feature-image {
        min-height: 0;
        height: auto;
        aspect-ratio: 4 / 3;
        padding: 24px;
    }

    .legal-page {
        padding: 56px 0;
    }

    .legal-page article {
        width: calc(100% - 32px);
        padding: 38px 24px;
    }

    .legal-page h2 {
        margin-bottom: 34px;
    }

    .legal-page h4 {
        margin-top: 36px;
        font-size: 19px;
    }

    .legal-page p,
    .service-detail p {
        font-size: 15px;
        line-height: 1.75;
    }

    .service-detail,
    .service-list-page,
    .calendar-page {
        padding: 56px 0;
    }

    .breadcrumbs {
        margin-bottom: 36px;
    }

    .service-facts {
        margin: 42px 0 54px;
        grid-template-columns: 1fr;
    }

    .service-facts span {
        padding: 16px;
    }

    .service-facts span + span {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .booking-list {
        margin-top: 42px;
    }

    .booking-card {
        display: block;
        padding: 16px;
    }

    .booking-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .booking-card > div {
        min-height: 220px;
        padding: 24px 8px 8px;
    }

    .calendar-wrap > p {
        font-size: 16px;
    }

    .calendar-grid {
        display: block;
        margin-top: 42px;
    }

    .calendar-box {
        margin-bottom: 18px;
        padding: 26px 18px;
    }

    .calendar-dates button,
    .calendar-dates > span {
        min-height: 39px;
    }

    .sub-footer {
        padding: 72px 24px 110px;
    }

    .sub-footer-grid {
        display: block;
    }

    .sub-footer-grid > div + div {
        margin-top: 52px;
    }

    .sub-footer .copy {
        margin-top: 50px;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
