:root {
    --accent: #ffffff;
    --bg: #050505;
    --surface: #0a0a0a;
    --text: #f0f0f0;
    --muted: #888888;
    --line: #222222;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", "Inter", "Arial Narrow", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    text-transform: uppercase;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5vw;
}

.brand {
    display: inline-block;
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--accent);
}

main {
    padding: 18px 5vw 60px;
    position: relative;
}

.ambient {
    display: none;
}

.ambient-one {
    display: none;
}

.ambient-two {
    display: none;
}

.section {
    margin: 0;
    padding: 50px 0;
    border-bottom: 1px solid var(--line);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 48px;
    align-items: center;
    min-height: calc(100vh - 108px);
    padding-top: 24px;
    padding-bottom: 24px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.hero-content > div:first-child {
    margin-bottom: 20px;
}

.hero-content > div:last-child {
    margin-top: 28px;
}

.eyebrow {
    font-size: 0.70rem;
    letter-spacing: 4px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 15px;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    word-spacing: 0.16em;
}

h2 {
    font-size: clamp(2.5rem, 6vw, 6rem);
    line-height: 0.85;
    margin-bottom: 40px;
    max-width: 100%;
}

.hero h1 {
    font-size: clamp(3.7rem, 7.1vw, 7.2rem);
    margin-bottom: 0;
    line-height: 0.88;
    max-width: 100%;
    word-spacing: 0.16em;
    letter-spacing: 0.02em;
}

.hero p {
    color: var(--muted);
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 32px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 2px solid var(--text);
    background: transparent;
    color: var(--text);
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.btn:hover {
    background: var(--text);
    color: var(--bg);
}

.btn-primary {
    border-color: var(--text);
    background: var(--text);
    color: var(--bg);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text);
}

.btn-secondary {
    border-color: var(--line);
    color: var(--muted);
}

.btn-secondary:hover {
    border-color: var(--text);
    color: var(--bg);
    background: var(--text);
}

.hero-card {
    position: relative; /* ensure positioning context */
    display: block;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--bg);
    filter: grayscale(100%);
    transition: filter 0.4s ease;
    height: 100%;
    min-height: 0;
    align-self: stretch;
    text-decoration: none;
    overflow: hidden;
}

.hero-card:hover {
    filter: grayscale(0%);
}

.hero-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 640px;
    aspect-ratio: 4/5;
    display: block;
    object-fit: cover;
    border-bottom: none;
}

.hero-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
    color: #ffffff;
    padding: 60px 20px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
}

.hero-card span {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: inherit;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.hero-card p {
    margin: 8px 0 0;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: inherit;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 30px;
}

.section-head a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.70rem;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.section-head a:hover {
    color: var(--text);
    border-bottom: 1px solid var(--text);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--line);
    background: var(--bg);
}

.card {
    background: transparent;
    border: 0;
    padding: 0;
}

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

.media-link {
    display: block;
    position: relative;
    overflow: hidden;
    border: 0;
    text-decoration: none;
}

.media-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    font-size: clamp(1rem, 1.8vw, 1.6rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-media {
    width: 100%;
    height: 100%;
    aspect-ratio: 3/4;
    display: block;
    object-fit: cover;
    margin-bottom: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    filter: grayscale(100%) contrast(1.2);
}

.media-link:hover .card-media {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1);
}

.media-link:hover .media-overlay {
    opacity: 1;
}

.card p {
    color: var(--muted);
    margin-bottom: 0;
}

.highlight {
    background: #eeeeea;
    color: #050505;
    padding: 100px 5vw;
    margin: 50px -5vw;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.highlight h2 {
    color: #050505;
    font-size: clamp(3rem, 10vw, 8rem);
    letter-spacing: 0.03em;
    margin-bottom: 60px;
    line-height: 0.85;
    word-spacing: 0.18em;
}

.services-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2rem;
}

.services-title-mobile {
    display: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
}

.service-item {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.service-number {
    font-family: monospace;
    font-size: 0.8rem;
    color: rgba(5, 5, 5, 0.58);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.service-summary {
    list-style: none;
}

.service-summary::-webkit-details-marker {
    display: none;
}

.service-item h3 {
    margin: 0 0 15px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: rgba(5, 5, 5, 0.9);
}

.service-item p {
    font-family: monospace;
    font-size: 0.9rem;
    color: rgba(5, 5, 5, 0.7);
    line-height: 1.6;
    margin: 0;
    text-transform: none;
}

.service-content {
    overflow: hidden;
}

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 56px;
    align-items: start;
}

.two-col p {
    font-family: monospace;
    font-size: 0.96rem;
    line-height: 1.75;
    color: #a8a8a8;
    text-transform: none;
}

.about-section {
    position: relative;
    padding-top: 64px;
    padding-bottom: 64px;
}

.about-copy {
    position: relative;
    padding-right: 36px;
}

.about-copy::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 0;
    width: 1px;
    height: calc(100% - 24px);
    background: linear-gradient(to bottom, transparent, var(--line), transparent);
}

.about-copy h2 {
    margin-bottom: 24px;
    max-width: 6ch;
}

.about-copy p {
    max-width: 42ch;
}

.note {
    background: transparent;
    border: 0;
    padding: 0 0 0 6px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
    box-shadow: none;
}

.note h3 {
    margin-bottom: 24px;
    font-size: clamp(2rem, 4.2vw, 3.35rem);
    line-height: 0.95;
    letter-spacing: 0.05em;
    color: var(--text);
    max-width: 6ch;
}

.note p {
    margin-bottom: 0;
    color: #a8a8a8;
    max-width: 34ch;
}

.footer,
.gallery-footer {
    padding: 28px 5vw 34px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.footer p,
.gallery-footer p {
    margin: 0;
    color: #6f6f6f;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact {
    border-bottom: 0;
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
    margin-top: 30px;
}

.booking-intro h2 {
    margin-bottom: 18px;
}

.booking-info p {
    font-family: monospace;
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.6;
    text-transform: uppercase;
    font-weight: 600;
}

.contacts-raw {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--line);
    color: var(--text) !important;
    font-size: 0.9rem !important;
    letter-spacing: 2px;
}

.contacts-raw a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--text);
    transition: color 0.2s, border-color 0.2s;
}

.contacts-raw a:hover {
    color: var(--muted);
    border-color: var(--muted);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--line);
    border: 2px solid var(--line);
}

.booking-form input,
.booking-form textarea {
    width: 100%;
    border: none;
    border-radius: 0;
    padding: 24px;
    font-family: inherit;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0px;
    text-transform: uppercase;
    background: var(--bg);
    color: var(--text);
    transition: background 0.3s, color 0.3s;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
    color: #333;
}

.booking-form input:focus,
.booking-form textarea:focus {
    outline: none;
    background: var(--surface);
    color: #fff;
}

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

.booking-form button {
    margin-top: 0;
    width: 100%;
    border: none;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

@media (max-width: 900px) {
    .booking-container {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    main {
        padding: 18px 4vw 60px;
    }

    .topbar {
        padding: 14px 4vw;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .brand {
        font-size: 1.6rem;
        letter-spacing: 0.22em;
        text-align: center;
    }

    .main-nav {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        font-size: 0.8rem;
    }

    .main-nav a {
        font-size: 0.72rem;
        letter-spacing: 0.18em;
    }

    .section {
        padding: 24px 0;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 24px;
        min-height: auto;
    }

    .hero-content > div:last-child {
        margin-top: 24px;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-head a {
        font-size: 0.68rem;
        letter-spacing: 0.14em;
    }

    h1, h2, h3, h4, h5, h6, strong, b {
        letter-spacing: 0.12em;
        word-spacing: 0.3em;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-item {
        text-align: left;
        padding: 0;
        border: 1px solid rgba(5, 5, 5, 0.14);
        background: rgba(255, 255, 255, 0.28);
        overflow: hidden;
    }

    .services-title {
        margin-bottom: 24px;
        font-size: 1.35rem;
        line-height: 1;
    }

    .services-title-desktop {
        display: none;
    }

    .services-title-mobile {
        display: inline;
    }

    .service-summary {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 14px;
        padding: 18px 18px 16px;
        cursor: pointer;
    }

    .service-summary::after {
        content: "+";
        font-size: 1.1rem;
        font-weight: 700;
        color: rgba(5, 5, 5, 0.68);
        line-height: 1;
    }

    .service-item[open] .service-summary::after {
        content: "−";
    }

    .service-number {
        margin: 0;
        font-size: 0.72rem;
    }

    .service-item h3 {
        margin: 0;
        font-size: 0.86rem;
        letter-spacing: 0.08em;
        color: rgba(5, 5, 5, 0.92);
    }

    .service-item p {
        padding: 0 18px 18px;
        font-size: 0.82rem;
        line-height: 1.7;
        color: rgba(5, 5, 5, 0.8);
    }

    .service-content {
        max-height: 0;
        opacity: 0;
        transform: translateY(-8px);
        transition: max-height 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
        will-change: max-height, opacity, transform;
    }

    .service-item[open] .service-content {
        opacity: 1;
        transform: translateY(0);
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.1;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-section {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .about-copy {
        padding-right: 0;
        padding-bottom: 4px;
    }

    .about-copy::after {
        display: none;
    }

    .about-copy h2,
    .note h3 {
        margin-bottom: 14px;
    }

    .about-copy h2 {
        max-width: none;
        font-size: 1.7rem;
        line-height: 0.95;
    }

    .about-copy p,
    .note p {
        font-size: 0.84rem;
        line-height: 1.72;
    }

    .note {
        padding: 8px 0 0;
    }

    .note h3 {
        margin-bottom: 14px;
        font-size: 1.7rem;
        line-height: 0.95;
        letter-spacing: 0.06em;
        color: var(--text);
        max-width: none;
    }

    .note p {
        color: #9a9a9a;
    }

    .contact > h2 {
        display: none;
    }

    .booking-container {
        gap: 22px;
        margin-top: 0;
    }

    .booking-info {
        display: contents;
    }

    .booking-intro {
        order: 1;
    }

    .booking-intro h2 {
        margin-bottom: 12px;
        font-size: 1.65rem;
        line-height: 0.95;
        max-width: 8ch;
    }

    .booking-intro p {
        margin: 0;
        font-size: 0.84rem;
        line-height: 1.72;
        text-transform: none;
        color: #a9a9a9;
        font-weight: 600;
    }

    .booking-form {
        order: 2;
    }

    .contacts-raw {
        order: 3;
        margin-top: 4px;
        padding-top: 18px;
        font-size: 0.8rem !important;
        line-height: 1.9;
        letter-spacing: 0.14em;
    }

    .footer,
    .gallery-footer {
        padding: 24px 4vw 30px;
    }

    .footer p,
    .gallery-footer p {
        font-size: 0.72rem;
        line-height: 1.8;
        letter-spacing: 0.08em;
    }
    
    .hero p.eyebrow {
        font-size: 0.70rem;
        word-spacing: 5px !important;
    }

    .hero-media {
        width: 100%;
        min-height: 0;
        max-height: 60vh;
        object-position: center 30%;
    }

    .hero-text-overlay {
        padding: 50px 18px 18px;
    }

    .media-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
        align-items: flex-end;
        justify-content: space-between;
        flex-direction: row;
        gap: 16px;
        flex-wrap: wrap;
        padding: 30px 20px;
        font-size: 1.1rem;
        font-weight: 900;
        top: auto;
        letter-spacing: 0.12em;
    }

    .media-overlay::after {
        content: "VIEW ↗";
        font-family: monospace;
        font-size: 0.70rem;
        letter-spacing: 2px;
        font-weight: normal;
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 8px 16px;
        border-radius: 40px;
        white-space: nowrap;
        backdrop-filter: blur(4px);
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }

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