:root {
    --ink: #f7efe1;
    --black: #050505;
    --charcoal: #11100e;
    --soft-black: #1b1814;
    --gold: #c9a15b;
    --gold-bright: #e5c17a;
    --gold-deep: #8f6b2f;
    --champagne: #f4dfb6;
    --paper: #090807;
    --ivory: #fff8ec;
    --white: #ffffff;
    --muted: #c8b894;
    --line: rgba(229, 193, 122, 0.22);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(201, 161, 91, 0.18), transparent 34rem),
        var(--paper);
}

a {
    color: inherit;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 4vw, 56px);
    max-width: 100vw;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0));
    border-bottom: 0;
    backdrop-filter: none;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    min-width: 180px;
}

.brand-logo {
    width: clamp(168px, 17vw, 245px);
    height: auto;
    max-height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.58));
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
}

.site-nav a {
    text-decoration: none;
    font-weight: 900;
    font-size: 0.76rem;
    padding: 11px 12px;
    border-radius: 0;
    color: var(--champagne);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.82);
}

.site-nav a:hover {
    color: var(--black);
    background: var(--gold-bright);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--gold);
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--black);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    max-width: 100vw;
    background: var(--black);
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.8)),
        linear-gradient(90deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.52)),
        radial-gradient(circle at center, rgba(201, 161, 91, 0.12), transparent 42rem);
}

.hero-content {
    position: relative;
    width: min(1180px, calc(100% - 36px));
    max-width: none;
    margin: 0 auto;
    padding: clamp(70px, 8vw, 116px) 0;
    overflow: hidden;
    color: var(--champagne);
    text-align: center;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--gold-bright);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.34em;
    font-size: 0.78rem;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    display: inline-block;
    max-width: 100%;
    margin: 0;
    padding: 10px clamp(16px, 3vw, 36px) 16px;
    color: rgba(244, 223, 182, 0.92);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(4rem, 9.4vw, 8.9rem);
    font-weight: 700;
    line-height: 0.78;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    overflow-wrap: break-word;
    background: rgba(0, 0, 0, 0.34);
    border-top: 1px solid rgba(229, 193, 122, 0.48);
    border-bottom: 1px solid rgba(229, 193, 122, 0.48);
    text-shadow: 0 16px 35px rgba(0, 0, 0, 0.72);
}

.hero-copy {
    max-width: 780px;
    margin: 24px auto 0;
    color: var(--white);
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    font-weight: 800;
    line-height: 1.35;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.88);
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    justify-content: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 20px;
    border: 0;
    border-radius: 0;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    max-width: 100%;
    text-align: center;
    white-space: normal;
}

.button.primary {
    color: var(--black);
    background: linear-gradient(135deg, #f2d493, var(--gold));
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
}

.button.secondary {
    color: var(--champagne);
    border: 1px solid var(--gold);
    background: rgba(0, 0, 0, 0.76);
}

.button.dark {
    color: var(--black);
    background: var(--gold-bright);
}

.button.full {
    width: 100%;
}

.gold-section-line {
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
    box-shadow: 0 0 28px rgba(229, 193, 122, 0.28);
}

.about-showcase {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(360px, 1.2fr) minmax(240px, 0.9fr);
    min-height: 680px;
    background: var(--black);
}

.about-image,
.about-image-stack {
    min-width: 0;
}

.about-image {
    position: relative;
    overflow: hidden;
    background: var(--black);
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 680px;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.05);
}

.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.22));
}

.about-image-main img {
    object-position: 16% center;
}

.about-image-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    border-left: 6px solid var(--gold);
}

.about-image-stack .about-image img {
    object-position: 72% center;
}

.about-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 5vw, 74px);
    color: #090807;
    background:
        radial-gradient(circle at center, rgba(255, 248, 236, 0.5), transparent 26rem),
        linear-gradient(135deg, #b99456, #f0ddb8 48%, #b38b4b);
}

.intro-label {
    margin: 0 0 26px;
    color: #090807;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

.about-panel h2 {
    margin: 0 0 28px;
    color: #090807;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.2rem, 4.8vw, 4.6rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.about-lead {
    margin: 0 0 28px;
    color: #090807;
    font-weight: 900;
    line-height: 1.45;
    text-transform: uppercase;
}

.about-details {
    display: grid;
    gap: 12px;
    margin: 0;
}

.about-details div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 14px;
}

.about-details dt,
.about-details dd {
    margin: 0;
    color: #090807;
    font-size: 1rem;
    line-height: 1.35;
}

.about-details dt {
    text-transform: uppercase;
}

.about-button {
    align-self: center;
    margin-top: 44px;
    min-width: min(370px, 100%);
    color: var(--white);
    background: #383d3f;
}

.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--black);
    color: var(--champagne);
}

.stats-band div {
    min-height: 128px;
    padding: 28px;
    border-right: 1px solid var(--line);
}

.stats-band strong {
    display: block;
    color: var(--gold);
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    font-weight: 900;
}

.stats-band span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.section {
    padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 72px);
    max-width: 100vw;
    overflow-x: clip;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(32px, 5vw, 74px);
    align-items: start;
}

.split h2,
.page-hero h1 {
    margin: 0;
    color: var(--champagne);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.1rem, 4.4vw, 4.8rem);
    font-weight: 700;
    line-height: 0.98;
    text-transform: uppercase;
}

.feature-list {
    display: grid;
    gap: 14px;
}

.feature-list p,
.spec-grid article,
.contact-info article,
.note-strip {
    margin: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(27, 24, 20, 0.96), rgba(10, 9, 8, 0.96));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.homes-grid,
.unit-grid,
.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.home-card,
.unit-card,
.catalogue-panel,
.contact-card,
.side-panel,
.form-card {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.home-card {
    min-height: 260px;
    padding: 28px;
    color: var(--champagne);
    border: 1px solid var(--line);
    background: linear-gradient(145deg, #17130d, #050505);
}

.home-card:nth-child(2) {
    background: linear-gradient(145deg, #2a2011, #070605);
}

.home-card:nth-child(3) {
    color: var(--black);
    background: linear-gradient(145deg, var(--gold-bright), var(--gold-deep));
}

.home-card span {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    font-family: "Cormorant Garamond", Georgia, serif;
}

.home-card h3 {
    margin: 24px 0 12px;
    font-size: 1.55rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    text-transform: uppercase;
}

.home-card p {
    line-height: 1.55;
}

.register-interest {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    padding: clamp(76px, 10vw, 118px) clamp(18px, 5vw, 72px) 82px;
    color: var(--champagne);
    background: #282627;
    border-top: 1px solid rgba(201, 161, 91, 0.34);
}

.register-inner {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.register-logo {
    width: clamp(94px, 9vw, 138px);
    height: auto;
    margin-bottom: 30px;
    object-fit: contain;
}

.register-kicker {
    margin: 0 0 22px;
    color: var(--white);
    font-weight: 900;
    line-height: 1.35;
}

.register-interest h2 {
    margin: 0 0 56px;
    color: #d5ad69;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.7rem, 5vw, 4.6rem);
    line-height: 0.96;
    text-transform: uppercase;
}

.register-form {
    display: grid;
    gap: 28px;
    width: min(586px, 100%);
}

.register-form label {
    margin: 0;
    color: var(--white);
    text-align: left;
    font-weight: 700;
}

.register-form input {
    min-height: 42px;
    padding: 8px 0;
    color: var(--white);
    border: 0;
    border-bottom: 2px solid #c8bb9b;
    border-radius: 0;
    background: transparent;
}

.register-form input:focus {
    border-color: #d5ad69;
    background: transparent;
}

.register-form button {
    min-height: 58px;
    margin-top: 8px;
    border: 0;
    color: #050505;
    background: #d5ad69;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.register-message {
    padding: 14px;
    color: #050505;
    background: #d5ad69;
    font-weight: 800;
}

.register-skyline {
    position: absolute;
    left: 0;
    bottom: 28px;
    width: min(48vw, 720px);
    height: 360px;
    opacity: 1;
    background-image: url("../images/klcc-skyline.svg");
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
}

.page-hero {
    padding: clamp(62px, 9vw, 120px) clamp(18px, 5vw, 72px);
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(37, 28, 14, 0.92)),
        var(--black);
    border-bottom: 1px solid var(--line);
}

.page-hero p:last-child {
    max-width: 780px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.65;
}

.catalogue-hero {
    background: linear-gradient(135deg, #050505, #22190b);
}

.units-hero {
    background: #282627;
}

.units-hero .eyebrow,
.units-hero h1,
.units-hero p:last-child {
    color: var(--champagne);
}

.booking-hero {
    background: #282627;
}

.loan-hero {
    background: #282627;
}

.contact-hero {
    background: linear-gradient(135deg, #050505, #30240f);
}

.contact-hero h1,
.contact-hero p:last-child {
    color: var(--champagne);
}

.catalogue-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
}

.catalogue-panel {
    padding: clamp(28px, 5vw, 46px);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(27, 24, 20, 0.98), rgba(8, 7, 6, 0.98));
}

.catalogue-panel h2,
.side-panel h2,
.contact-card h2,
.unit-card h2 {
    margin: 0 0 18px;
    color: var(--champagne);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.65rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

.accent-panel {
    color: var(--ink);
    background: linear-gradient(145deg, #19130a, #050505);
}

.accent-panel h2 {
    color: var(--gold);
}

.mix-list {
    display: grid;
    gap: 14px;
}

.mix-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-radius: 8px;
    color: var(--champagne);
    border: 1px solid var(--line);
    background: var(--charcoal);
}

.mix-list div:nth-child(2) {
    background: #1d160c;
}

.mix-list div:nth-child(3) {
    color: var(--black);
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.mix-list strong {
    font-size: 2rem;
}

.spec-grid {
    grid-template-columns: repeat(4, 1fr);
}

.spec-grid h3,
.contact-info h3 {
    margin: 0 0 10px;
    color: var(--gold-bright);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.45rem;
    text-transform: uppercase;
}

.unit-card {
    min-height: 0;
    padding: 0;
    border: 1px solid var(--line);
    background: rgba(255, 248, 236, 0.78);
    color: #090807;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.units-section {
    background:
        radial-gradient(circle at top right, rgba(255, 248, 236, 0.7), transparent 26rem),
        linear-gradient(135deg, #f7e6c2, #d9b974 48%, #b88b3d);
}

.unit-slideshow .unit-card.is-active {
    transform: translateY(-12px);
    border-color: rgba(5, 5, 5, 0.44);
    box-shadow: 0 32px 70px rgba(5, 5, 5, 0.28);
}

.unit-card-media {
    position: relative;
    aspect-ratio: 1.28 / 1;
    overflow: hidden;
    background: #090807;
}

.unit-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.5));
}

.unit-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 3.2s ease;
}

.unit-card.is-active .unit-card-media img {
    transform: scale(1.08);
}

.unit-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 24px 24px 20px;
}

.unit-topline span {
    color: #6f4b12;
    font-weight: 900;
}

.unit-topline strong {
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--black);
    background: var(--gold-bright);
}

.unit-card h2,
.unit-card p,
.unit-card .text-link {
    margin-left: 24px;
    margin-right: 24px;
}

.unit-card h2 {
    color: #090807;
}

.unit-card p {
    color: #3e311c;
}

.text-link {
    display: inline-block;
    margin-top: 16px;
    margin-bottom: 26px;
    color: #5f3f0d;
    font-weight: 900;
}

.note-strip {
    display: flex;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--line);
    background: var(--black);
    color: var(--champagne);
}

.note-strip strong {
    color: var(--gold);
    font-size: 1.4rem;
}

.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 0;
    align-items: start;
    background: #f8f7f3;
}

.form-card,
.side-panel {
    padding: clamp(24px, 4vw, 38px);
    background: #f8f7f3;
    border: 0;
    box-shadow: none;
}

.form-layout .form-card,
.form-layout .side-panel {
    box-shadow: none;
}

.side-panel {
    color: #3f3f3d;
    border: 0;
    background: #dedbd4;
    box-shadow: none;
}

.side-panel h2,
.side-panel p {
    color: #3f3f3d;
}

.side-panel.gold-panel {
    background: #dedbd4;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

label,
legend {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    color: #3f3f3d;
    font-weight: 900;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d8d4cc;
    border-radius: 0;
    padding: 13px 14px;
    color: #3f3f3d;
    background: #ffffff;
    font: inherit;
}

select,
select option {
    color: #3f3f3d;
}

input::placeholder,
textarea::placeholder {
    color: #9a958c;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #c7b99a;
    background: var(--white);
}

.slot-picker {
    margin: 4px 0 18px;
    padding: 0;
    border: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.slot-picker legend {
    grid-column: 1 / -1;
}

.slot-picker label {
    margin: 0;
}

.slot-picker input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.slot-picker span {
    display: grid;
    place-items: center;
    min-height: 48px;
    padding: 10px;
    border: 1px solid #d8d4cc;
    border-radius: 0;
    color: #3f3f3d;
    background: #ffffff;
    cursor: pointer;
}

.slot-picker input:checked + span {
    color: #ffffff;
    border-color: #c8bb9b;
    background: #c8bb9b;
}

.success-message {
    margin-bottom: 22px;
    padding: 16px;
    border-radius: 0;
    color: #3f3f3d;
    background: #e7dfcf;
    font-weight: 800;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
}

.contact-card {
    padding: clamp(28px, 5vw, 48px);
    color: var(--champagne);
    border: 1px solid var(--line);
    background: linear-gradient(145deg, #2b1f0d, #050505);
}

.contact-card span {
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
}

.contact-card h2 {
    color: var(--champagne);
}

.contact-info {
    display: grid;
    gap: 16px;
}

.site-footer {
    display: grid;
    place-items: center;
    min-height: 74px;
    padding: 22px clamp(18px, 5vw, 72px);
    color: #d5ad69;
    background: #282627;
    border-top: 1px solid rgba(201, 161, 91, 0.45);
}

.site-footer p {
    margin: 0;
    color: #d5ad69;
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 980px) {
    .site-header {
        gap: 14px;
    }

    .nav-toggle {
        display: block;
        flex: 0 0 auto;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 18px;
        right: 18px;
        top: 86px;
        padding: 14px;
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.92);
        box-shadow: var(--shadow);
        backdrop-filter: blur(18px);
    }

    .site-nav.open {
        display: grid;
    }

    .site-nav a {
        width: 100%;
    }

    .stats-band,
    .homes-grid,
    .unit-grid,
    .spec-grid,
    .catalogue-layout,
    .about-showcase,
    .split,
    .form-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .about-showcase {
        min-height: 0;
    }

    .about-image img,
    .about-image-stack .about-image img {
        min-height: 360px;
    }

    .about-image-stack {
        border-left: 0;
        border-top: 6px solid var(--gold);
    }

    .stats-band {
        grid-template-columns: repeat(2, 1fr);
    }

    .slot-picker {
        grid-template-columns: repeat(2, 1fr);
    }

    .note-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .register-skyline {
        width: 80vw;
    }
}

@media (max-width: 580px) {
    .site-header {
        padding-inline: 14px;
    }

    .brand {
        min-width: 0;
    }

    .brand-logo {
        width: 150px;
        max-height: 72px;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-content {
        width: calc(100% - 28px);
        padding-inline: 0;
    }

    h1 {
        display: block;
        padding-inline: 10px;
        font-size: clamp(2.45rem, 12.2vw, 3.75rem);
        line-height: 0.86;
        letter-spacing: 0.01em;
    }

    .eyebrow {
        letter-spacing: 0.18em;
        font-size: 0.68rem;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .button {
        width: 100%;
        padding-inline: 14px;
        font-size: 0.72rem;
        letter-spacing: 0.08em;
    }

    .stats-band,
    .field-grid,
    .slot-picker,
    .about-image-stack,
    .about-details div {
        grid-template-columns: 1fr;
    }

    .about-panel {
        padding: 34px 18px;
    }

    .about-image img,
    .about-image-stack .about-image img {
        min-height: 260px;
    }

    .stats-band div {
        min-height: auto;
    }

}
