:root {
    --ink: #171717;
    --muted: #626760;
    --paper: #f7f3ea;
    --chalk: #fffdf7;
    --line: rgba(23, 23, 23, 0.14);
    --rust: #a94935;
    --sage: #6f8c87;
    --blue: #23465c;
    --font-serif: "Shippori Mincho", serif;
    --font-sans: "Noto Sans JP", "Inter", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-sans);
    line-height: 1.8;
}

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

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

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px clamp(20px, 4vw, 56px);
    color: #fff;
    mix-blend-mode: difference;
}

.brand,
.nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand {
    font-family: "Inter", sans-serif;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-mark {
    display: grid;
    width: 42px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 0.82rem;
}

.nav a {
    font-size: 0.86rem;
    font-weight: 700;
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #fff;
    background: #0d1110;
}

.hero-bg,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(9,12,12,0.84) 0%, rgba(9,12,12,0.38) 48%, rgba(9,12,12,0.12) 100%),
        linear-gradient(0deg, rgba(9,12,12,0.38), transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 100vh;
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    flex-direction: column;
    justify-content: center;
    padding: 96px 0 120px;
}

.eyebrow,
.kicker {
    margin: 0 0 16px;
    color: #d2a65b;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-family: var(--font-serif);
    font-size: clamp(3.4rem, 9vw, 8.5rem);
    font-weight: 700;
    line-height: 0.98;
}

.hero-lead {
    max-width: 620px;
    color: rgba(255,255,255,0.86);
    font-size: 1.06rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
}

.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
}

.btn.primary {
    background: var(--rust);
    color: #fff;
}

.btn.ghost {
    border: 1px solid rgba(255,255,255,0.52);
    color: #fff;
    backdrop-filter: blur(12px);
}

.hero-panel {
    position: absolute;
    z-index: 3;
    right: clamp(18px, 4vw, 54px);
    bottom: clamp(18px, 4vw, 54px);
    width: min(360px, calc(100% - 36px));
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,253,247,0.12);
    backdrop-filter: blur(20px);
}

.hero-panel span,
.floor-card p,
.editorial span {
    color: #d2a65b;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-panel strong {
    display: block;
    margin: 8px 0 16px;
    font-family: var(--font-serif);
    font-size: 1.5rem;
}

.hero-panel dl,
.spec-list {
    display: grid;
    gap: 8px;
    margin: 0;
}

.hero-panel div,
.spec-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.16);
    padding-top: 8px;
}

.hero-panel dt,
.hero-panel dd {
    margin: 0;
}

.hero-panel dt {
    color: rgba(255,255,255,0.7);
}

.section {
    padding: clamp(72px, 10vw, 132px) 0;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.concept-grid,
.property-layout,
.editorial-grid,
.visit-box {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 7vw, 88px);
    align-items: start;
}

h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.1rem, 5vw, 4.8rem);
    line-height: 1.12;
}

.lead {
    color: var(--muted);
    font-size: 1.08rem;
}

.property-band {
    background: #1c2423;
    color: #fff;
}

.property-copy p {
    color: rgba(255,255,255,0.76);
}

.spec-list {
    margin-top: 28px;
    padding: 0;
    list-style: none;
}

.spec-list li {
    border-top-color: rgba(255,255,255,0.18);
}

.spec-list span {
    color: rgba(255,255,255,0.6);
}

.floor-card {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
        repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,0.03) 12px 13px);
}

.floor-plan {
    display: grid;
    min-height: 420px;
    grid-template-columns: 1.2fr 0.8fr 0.85fr;
    grid-template-rows: 1fr 0.8fr 0.7fr;
    gap: 10px;
}

.room {
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.34);
    border-radius: 6px;
    color: rgba(255,255,255,0.82);
    font-family: "Inter", sans-serif;
    font-weight: 800;
}

.living {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    background: rgba(111,140,135,0.24);
}

.studio {
    grid-column: 3;
    grid-row: 1 / 2;
    background: rgba(164,73,53,0.22);
}

.bed {
    grid-column: 3;
    grid-row: 2 / 4;
    background: rgba(35,70,92,0.34);
}

.bath {
    grid-column: 1;
    grid-row: 3;
}

.entry {
    grid-column: 2;
    grid-row: 3;
}

.section-head {
    max-width: 720px;
    margin-bottom: 34px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
}

.gallery-card {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border-radius: 8px;
    background: #ddd;
}

.gallery-card.large {
    grid-row: span 2;
    min-height: 680px;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.gallery-card div {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 18px;
    border-radius: 8px;
    background: rgba(247,243,234,0.9);
}

.gallery-card span {
    color: var(--rust);
    font-family: "Inter", sans-serif;
    font-weight: 900;
}

.gallery-card h3 {
    margin: 4px 0 0;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.25;
}

.editorial {
    background: #fffdf7;
}

.editorial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editorial article {
    min-height: 260px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.64)),
        radial-gradient(circle at top right, rgba(111,140,135,0.18), transparent 36%);
}

.editorial h3 {
    margin: 12px 0;
    font-family: var(--font-serif);
    font-size: 1.55rem;
}

.editorial p,
.visit p {
    color: var(--muted);
}

.visit {
    background:
        linear-gradient(115deg, rgba(35,70,92,0.12), transparent 48%),
        var(--paper);
}

.visit-box {
    align-items: center;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,253,247,0.74);
    box-shadow: 0 28px 90px rgba(23,23,23,0.09);
}

.visit-form {
    display: grid;
    gap: 14px;
}

.visit-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.visit-form input,
.visit-form select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    padding: 0 14px;
}

.site-footer {
    padding: 34px clamp(20px, 4vw, 56px);
    background: #111615;
    color: #fff;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-inner span {
    color: rgba(255,255,255,0.58);
}

@media (max-width: 920px) {
    .site-header {
        position: absolute;
        mix-blend-mode: normal;
    }

    .nav {
        display: none;
    }

    .hero-content {
        justify-content: flex-end;
    }

    .hero-panel {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(100% - 36px, 1180px);
        margin: -94px auto 28px;
    }

    .concept-grid,
    .property-layout,
    .editorial-grid,
    .visit-box,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card.large,
    .gallery-card {
        min-height: 380px;
    }
}

@media (max-width: 620px) {
    h1 {
        font-size: clamp(3rem, 18vw, 5.4rem);
    }

    .hero-lead {
        font-size: 0.98rem;
    }

    .hero-panel div,
    .spec-list li,
    .footer-inner {
        flex-direction: column;
        gap: 2px;
    }

    .floor-plan {
        min-height: 340px;
        grid-template-columns: 1fr 1fr;
    }

    .living {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .studio,
    .bed,
    .bath,
    .entry {
        grid-column: auto;
        grid-row: auto;
    }
}
