:root {
    --ivory: #f3eee6;
    --paper: #fbf8f3;
    --ink: #1a1714;
    --ink-soft: #3a332c;
    --muted: #756c63;
    --line: #e3d9cc;
    --gold: #9c7742;
    --gold-deep: #7d5d30;
    --white: #fffcf8;
    --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", serif;
    --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
    --header: 78px;
    --shadow: 0 16px 40px rgba(26, 23, 20, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.65;
}

body.nav-open {
    overflow: hidden;
}

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

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

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 0.96;
}

h1 {
    margin: 0.15em 0 0;
    font-size: clamp(3.4rem, 7vw, 6.4rem);
}

h2 {
    margin: 0.15em 0 0;
    font-size: clamp(2.4rem, 4vw, 4rem);
}

h3 {
    margin: 0.2em 0 0;
    font-size: 2rem;
}

p {
    margin: 0;
}

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

::selection {
    background: #e7d3ae;
    color: var(--ink);
}

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

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 20;
    padding: 10px 14px;
    background: var(--ink);
    color: var(--paper);
}

.skip-link:focus {
    top: 12px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.wrap {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold-deep);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.lede {
    max-width: 42rem;
    margin-top: 22px;
    color: var(--ink-soft);
    font-size: 1.12rem;
    font-weight: 300;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header);
    border-bottom: 1px solid transparent;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(251, 248, 243, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    pointer-events: none;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px rgba(26, 23, 20, 0.05);
}

.header-bar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 28px;
    height: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.brand span {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand strong {
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav a {
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 400;
}

.site-nav a.is-current {
    color: var(--ink);
    box-shadow: inset 0 -1px 0 var(--gold);
}

.nav-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 1px;
    margin: 0;
    background: var(--ink);
    transition: transform 0.2s ease;
}

.nav-toggle span:nth-child(2) {
    transform: translate(-50%, -4px);
}

.nav-toggle span:nth-child(3) {
    transform: translate(-50%, 3px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translate(-50%, -0.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translate(-50%, -0.5px) rotate(-45deg);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
}

.btn-small {
    min-height: 40px;
    padding: 0 16px;
}

.btn-gold {
    background: var(--ink);
    color: var(--paper);
}

.btn-gold:hover {
    background: var(--gold-deep);
}

.btn-ghost {
    border-color: rgba(255, 252, 248, 0.55);
    color: var(--paper);
    background: transparent;
}

.btn-ghost:hover {
    background: rgba(255, 252, 248, 0.1);
}

.text-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--gold-deep);
    font-size: 0.95rem;
    box-shadow: inset 0 -1px 0 var(--gold);
}

.hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: calc(100vh - var(--header));
    color: var(--paper);
    background: #241e18;
    overflow: hidden;
}

.hero-media,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media {
    object-fit: cover;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(18, 14, 11, 0.78), rgba(18, 14, 11, 0.28) 58%, rgba(18, 14, 11, 0.18)),
        linear-gradient(180deg, rgba(18, 14, 11, 0.08), rgba(18, 14, 11, 0.45));
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding: 72px 0 64px;
}

.hero .eyebrow {
    color: #e6d3b0;
}

.hero h1 {
    max-width: 11ch;
}

.hero-lede {
    max-width: 34rem;
    margin-top: 22px;
    color: rgba(251, 248, 243, 0.86);
    font-size: 1.15rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.section {
    padding: 88px 0;
}

.section-tight {
    padding-top: 20px;
}

.intro-grid,
.split,
.story,
.notes,
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px 72px;
    align-items: start;
}

.intro-copy p,
.story p,
.service-copy p,
.project p,
.notes p {
    color: var(--ink-soft);
}

.story p + p,
.service-copy p + ul,
.project p + a {
    margin-top: 16px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 28px;
}

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

.room-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.room-card img,
.service-row img,
.project img,
.story img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--ivory);
}

.service-row img {
    aspect-ratio: 5 / 4;
}

.project img {
    aspect-ratio: 3 / 2;
    object-position: center;
}

.story img {
    aspect-ratio: 4 / 5;
}

.room-card small,
.gallery-card figcaption span,
.footer-label {
    display: block;
    color: var(--gold-deep);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.room-card strong {
    display: block;
    margin-top: 4px;
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 500;
}

.index-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.index-list a {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.index-list span {
    grid-row: span 2;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 1.4rem;
}

.index-list strong {
    font-weight: 500;
}

.index-list em {
    color: var(--muted);
    font-style: normal;
    font-weight: 300;
}

.band {
    background: var(--ivory);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
}

.steps span,
.principle-grid span {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 1.5rem;
}

.steps p,
.principle-grid p {
    margin-top: 10px;
    color: var(--ink-soft);
}

.cta-panel {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    padding: 42px;
    background: var(--ink);
    color: var(--paper);
}

.cta-panel .eyebrow {
    color: #e6d3b0;
}

.page-hero {
    padding: 64px 0 12px;
}

.page-hero h1 {
    max-width: 14ch;
}

.story {
    align-items: center;
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.principle-grid article {
    padding: 28px 24px 32px;
    background: var(--ivory);
}

.notes ul {
    margin: 0;
    padding: 8px 0 0 18px;
    color: var(--ink-soft);
}

.notes li + li {
    margin-top: 10px;
}

.service-list {
    display: flex;
    flex-direction: column;
}

.service-row,
.project {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    padding: 42px 0;
    border-top: 1px solid var(--line);
}

.service-row.is-flip .service-copy,
.project.is-flip .project-copy {
    order: -1;
}

.service-copy ul {
    margin: 16px 0 0;
    padding: 0 0 0 18px;
    color: var(--ink-soft);
}

.project-list {
    display: flex;
    flex-direction: column;
}

.project-copy h2 {
    max-width: 14ch;
    font-size: clamp(2.1rem, 3vw, 3.1rem);
}

.project-copy p {
    max-width: 36rem;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.filter-bar button {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ink-soft);
    cursor: pointer;
}

.filter-bar button.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
}

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

.gallery-card {
    margin: 0;
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--ivory);
}

.gallery-card figcaption {
    margin-top: 10px;
    font-family: var(--serif);
    font-size: 1.45rem;
}

.gallery-empty {
    margin-top: 18px;
    color: var(--muted);
}

.contact-aside h2 {
    max-width: 10ch;
}

.contact-aside dl {
    margin: 28px 0 0;
}

.contact-aside div + div {
    margin-top: 18px;
}

.contact-aside dt {
    color: var(--gold-deep);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-aside dd {
    margin: 4px 0 0;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 0.86rem;
}

.field label span {
    color: var(--muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--paper);
    color: var(--ink);
}

.field textarea {
    resize: vertical;
    min-height: 140px;
}

.field .is-invalid {
    border-color: #8c3d32;
}

.field small,
.form-errors {
    color: #8c3d32;
    font-size: 0.85rem;
}

.form-success {
    margin: 0;
    padding: 12px 14px;
    background: #e7f0e4;
    color: #234024;
}

.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.site-footer {
    padding: 64px 0 24px;
    background: #161310;
    color: #f3eee6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(243, 238, 230, 0.14);
}

.brand-light small,
.footer-note,
.footer-base {
    color: rgba(243, 238, 230, 0.68);
}

.footer-note {
    max-width: 28rem;
    margin-top: 16px;
}

.footer-label {
    color: #e6d3b0;
    margin-bottom: 12px;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li + li {
    margin-top: 8px;
}

.footer-base {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    font-size: 0.88rem;
}

@media (max-width: 980px) {
    .card-grid,
    .steps,
    .principle-grid,
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .intro-grid,
    .split,
    .story,
    .notes,
    .contact-grid,
    .service-row,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .service-row.is-flip .service-copy {
        order: 0;
    }

    .header-cta {
        display: none;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: inline-block;
        z-index: 3;
    }

    .site-nav {
        position: fixed;
        top: var(--header);
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 30;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        height: calc(100vh - var(--header));
        height: calc(100dvh - var(--header));
        margin: 0;
        padding: 8px 28px 40px;
        overflow-y: auto;
        background: var(--paper);
        border-top: 1px solid var(--line);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .site-nav.is-open {
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-nav a {
        width: 100%;
        padding: 18px 0;
        color: var(--ink);
        font-family: var(--serif);
        font-size: 2rem;
        line-height: 1.1;
        border-bottom: 1px solid var(--line);
    }

    .site-nav a.is-current {
        color: var(--ink);
        box-shadow: inset 0 -1px 0 var(--gold);
    }

    .card-grid,
    .steps,
    .principle-grid,
    .gallery-grid,
    .field-row,
    .project {
        grid-template-columns: 1fr;
    }

    .project.is-flip .project-copy {
        order: 0;
    }

    .cta-panel,
    .footer-base {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: 64px 0;
    }

    .hero h1,
    .page-hero h1 {
        max-width: none;
    }
}

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

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}
