:root {
    --ivory: #f3eee7;
    --paper: #faf7f3;
    --sand: #e7ddd1;
    --line: #ddd2c4;
    --ink: #221c17;
    --brown: #3d3128;
    --muted: #6e6258;
    --gold: #8d6840;
    --gold-soft: #c4a27a;
    --espresso: #161210;
    --white: #fffcf9;
    --serif: "Cormorant Garamond", "Times New Roman", serif;
    --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
    --script: "Great Vibes", "Palatino Linotype", serif;
    --header: 5.4rem;
    --max: 1180px;
    --shadow: 0 18px 50px rgba(34, 28, 23, 0.08);
}

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

html {
    font-size: calc(100% + 1px);
    scroll-behavior: smooth;
}

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

body.menu-open { overflow: hidden; }

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

a { color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0;
}

p { margin: 0; }

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

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--ink);
    color: var(--ivory);
    padding: 0.7rem 1rem;
    z-index: 80;
}

.skip:focus { top: 1rem; }

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

.wrap {
    width: min(var(--max), calc(100% - 2.4rem));
    margin-inline: auto;
}

.wrap-narrow { width: min(760px, calc(100% - 2.4rem)); }

.section { padding: clamp(4.2rem, 8vw, 7rem) 0; }

.section-sand { background: var(--ivory); }

.section-tight { padding-top: 0; }

.eyebrow {
    margin: 0 0 0.85rem;
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.lede {
    max-width: 40rem;
    color: var(--brown);
    font-size: 1.08rem;
    font-weight: 300;
}

.section-head { max-width: 40rem; margin-bottom: 2.4rem; }

.section-head h2,
.page-intro h1,
.hero h1,
.empty-state h1 {
    font-size: clamp(2.7rem, 5.4vw, 4.6rem);
}

.section-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.section-head-row h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
}

.text-link::after { content: "→"; }

.text-link:hover { color: var(--ink); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.85rem 1.35rem;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--ivory);
    text-decoration: none;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover { background: var(--gold); border-color: var(--gold); color: white; }

.btn-line,
.btn-line-dark { background: transparent; }

.btn-line { color: white; border-color: rgba(255, 255, 255, 0.7); }

.btn-line:hover { background: white; color: var(--ink); border-color: white; }

.btn-line-dark { color: var(--ink); }

.hero-actions, .cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header);
    background: rgba(243, 238, 231, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}

.site-header.is-stuck { border-bottom-color: var(--line); }

.header-bar {
    height: 100%;
    width: min(var(--max), calc(100% - 2.4rem));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
    min-width: 7.2rem;
}

.logo-script {
    font-family: var(--script);
    font-size: 2.35rem;
    line-height: 0.7;
    font-weight: 400;
}

.logo-sub {
    margin-top: 0.45rem;
    padding-left: 0.34em;
    font-size: 0.62rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--muted);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.desktop-nav > a,
.has-sub > a {
    text-decoration: none;
    font-size: 1.05rem;
    color: var(--brown);
}

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

.has-sub { position: relative; }

.sub {
    position: absolute;
    top: calc(100% + 0.9rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 15.5rem;
    padding: 0.7rem;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
}

.has-sub:hover .sub,
.has-sub:focus-within .sub { display: grid; }

.sub a {
    text-decoration: none;
    padding: 0.55rem 0.7rem;
    font-size: 1.05rem;
    color: var(--brown);
}

.sub a:hover { background: var(--ivory); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 0.7rem; }

.cta-short { display: none; }

.menu-toggle {
    width: 2.8rem;
    height: 2.8rem;
    border: 1px solid var(--line);
    background: transparent;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
    display: block;
    width: 1.1rem;
    height: 1px;
    background: var(--ink);
    position: relative;
}

.menu-lines::before,
.menu-lines::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-lines::before { top: -5px; }
.menu-lines::after { top: 5px; }

.menu-open .menu-lines { background: transparent; }
.menu-open .menu-lines::before { top: 0; transform: rotate(40deg); }
.menu-open .menu-lines::after { top: 0; transform: rotate(-40deg); }

.drawer {
    position: fixed;
    inset: var(--header) 0 0 0;
    z-index: 45;
    background: var(--ivory);
    overflow: auto;
    padding: 1.5rem 1.2rem 3rem;
}

.drawer-nav { display: grid; gap: 0.35rem; width: min(36rem, 100%); margin-inline: auto; }

.drawer-nav > a {
    text-decoration: none;
    font-family: var(--serif);
    font-size: clamp(2.2rem, 8vw, 3.4rem);
    line-height: 1.1;
    padding: 0.15rem 0;
}

.drawer-group {
    display: grid;
    gap: 0.35rem;
    padding: 0.4rem 0 0.8rem;
    border-bottom: 1px solid var(--line);
}

.drawer-group a {
    text-decoration: none;
    color: var(--muted);
    font-size: 1.1rem;
}

.drawer .btn { margin-top: 1rem; justify-self: start; }

.hero {
    position: relative;
    min-height: calc(100svh - var(--header));
    display: grid;
    align-items: end;
    color: white;
    background: var(--espresso);
    overflow: hidden;
}

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

.hero-media img { object-position: center 40%; }

.hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(22, 18, 16, 0.78) 0%, rgba(22, 18, 16, 0.62) 46%, rgba(22, 18, 16, 0.28) 100%),
        linear-gradient(180deg, rgba(22, 18, 16, 0.28) 0%, rgba(22, 18, 16, 0.45) 45%, rgba(22, 18, 16, 0.72) 100%);
}

.hero .eyebrow,
.page-hero .eyebrow { color: #f0e2cf; }

.hero h1,
.hero .lede,
.page-hero h1,
.page-hero .lede { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }

.hero-content,
.page-hero .wrap { position: relative; z-index: 1; }

.hero-content {
    width: min(var(--max), calc(100% - 2.4rem));
    margin: 0 auto 2.35rem;
}

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

.hero .lede { color: rgba(255, 252, 249, 0.86); margin-top: 1rem; }

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 40rem;
    margin-top: 2.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-points strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1;
}

.hero-points span {
    display: block;
    margin-top: 0.35rem;
    color: rgba(255, 252, 249, 0.75);
    font-size: 0.82rem;
}

.page-hero {
    position: relative;
    min-height: 24rem;
    display: grid;
    align-items: end;
    color: white;
    background: var(--espresso);
    overflow: hidden;
}

.page-hero .wrap { margin-bottom: 2.4rem; }
.page-hero h1 { max-width: 14ch; color: white; }
.page-hero .lede { color: rgba(255, 252, 249, 0.86); margin-top: 0.8rem; }
.page-hero .eyebrow { color: var(--gold-soft); }

.page-intro { padding: clamp(3.2rem, 7vw, 5.2rem) 0 1rem; }
.page-intro h1 { max-width: 14ch; }
.page-intro .lede { margin-top: 1rem; }

.split {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.split .media { min-height: 22rem; }

.media { overflow: hidden; background: var(--sand); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.project-card:hover img,
.service-card:hover img { transform: scale(1.04); }
.media-portrait { aspect-ratio: 4 / 5; }
.media-wide { aspect-ratio: 16 / 11; }
.media-square { aspect-ratio: 1; }

.cards-3, .cards-2, .principle-grid, .step-grid, .journal-grid {
    display: grid;
    gap: 1.4rem;
}

.service-card, .project-card, .journal-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-card-copy, .project-card-meta, .journal-card div { padding-top: 0.9rem; }

.service-card h3, .project-card h3, .journal-card h3 {
    font-size: 1.85rem;
    margin: 0.2rem 0 0.4rem;
}

.project-card-meta span, .journal-card span, .meta-list dt {
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.service-card p, .project-card p, .journal-card p { color: var(--muted); font-size: 0.96rem; }

.feature-grid {
    display: grid;
    gap: 1.2rem;
}

.feature-main .media { aspect-ratio: 4 / 5; min-height: 24rem; }

.principle-grid, .step-grid { margin-top: 0.4rem; }

.principle, .step {
    padding: 1.4rem 0;
    border-top: 1px solid var(--line);
}

.principle .num, .step .num {
    font-family: var(--serif);
    color: var(--gold);
    font-size: 1.4rem;
}

.principle h3, .step h3 { font-size: 2rem; margin: 0.35rem 0 0.45rem; }
.principle p, .step p { color: var(--muted); }

.band {
    position: relative;
    color: white;
    overflow: hidden;
    min-height: 26rem;
    display: grid;
    align-items: end;
}

.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(22, 18, 16, 0.62); }
.band .wrap { position: relative; z-index: 1; padding: 3.5rem 0; }
.band h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); max-width: 12ch; }
.band p { max-width: 34rem; margin-top: 0.8rem; color: rgba(255, 252, 249, 0.86); }

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.4rem 0 1.8rem;
}

.filters a, .filters button {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--brown);
    text-decoration: none;
    min-height: 2.6rem;
    padding: 0.4rem 0.85rem;
    cursor: pointer;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.filters .is-on, .filters a:hover, .filters button:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--ivory);
}

.project-layout {
    display: grid;
    gap: 2rem;
}

.meta-list { display: grid; gap: 1rem; margin: 0; }
.meta-list div { border-top: 1px solid var(--line); padding-top: 0.7rem; }
.meta-list dd { margin: 0.2rem 0 0; }

.checklist { margin: 1.2rem 0 0; padding: 0; list-style: none; }
.checklist li {
    padding: 0.7rem 0;
    border-top: 1px solid var(--line);
    color: var(--brown);
}

.gallery-grid { display: grid; gap: 1rem; }
.gallery-grid .media { aspect-ratio: 4 / 3; }

.prose { max-width: 42rem; }
.prose p + p { margin-top: 1.1rem; }
.prose h2 { font-size: 2.4rem; margin: 2rem 0 0.7rem; }

.article-figure { margin: 0 0 2rem; }
.article-figure .media { aspect-ratio: 16 / 9; }

.pager {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.pager a {
    text-decoration: none;
    border-top: 1px solid var(--line);
    padding-top: 0.9rem;
}

.pager small {
    display: block;
    color: var(--gold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.pager strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }

.enquiry { display: grid; gap: 1rem; }

.field-row { display: grid; gap: 1rem; }

.field { display: grid; gap: 0.4rem; }

.field label {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.field label span { letter-spacing: 0; text-transform: none; }

.field input, .field select, .field textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--white);
    padding: 0.85rem 0.9rem;
    border-radius: 0;
    outline: none;
}

.field textarea { resize: vertical; min-height: 9rem; }

.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }

.field-error, .form-banner {
    color: #8a3b2b;
    font-size: 0.9rem;
    margin: 0;
}

.form-banner {
    padding: 0.8rem 0.9rem;
    background: #f6e8e2;
    border: 1px solid #e4c7bc;
}

.form-note { color: var(--muted); font-size: 0.92rem; }
.form-note a { color: var(--gold); }

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

.form-success {
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
}

.form-success h2 { font-size: 3rem; margin-bottom: 0.6rem; }

.faq-list { display: grid; }

.faq-item { border-top: 1px solid var(--line); }

.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-family: var(--serif);
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    line-height: 1.2;
    padding: 1.15rem 2rem 1.15rem 0;
    position: relative;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 1.05rem;
    color: var(--gold);
    font-family: var(--sans);
}

.faq-item[open] summary::after { content: "–"; }

.faq-item .answer { padding: 0 0 1.15rem; color: var(--muted); max-width: 42rem; }

.site-footer {
    background: var(--espresso);
    color: rgba(255, 252, 249, 0.82);
    padding: 4rem 0 1.4rem;
}

.footer-grid { display: grid; gap: 2rem; }

.footer-brand p { margin-top: 1rem; max-width: 22rem; font-weight: 300; }

.logo-light, .logo-light .logo-sub { color: var(--ivory); }

.site-footer .logo {
    width: max-content;
    max-width: 100%;
}

.site-footer h2 {
    font-family: var(--sans);
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--gold-soft);
    margin-bottom: 0.9rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: white; }

.footer-base {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.6rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
    color: rgba(255, 252, 249, 0.6);
}

.footer-links { display: flex; gap: 1rem; }
.footer-links a { color: rgba(255, 252, 249, 0.6); text-decoration: none; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

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

@media (min-width: 720px) {
    .cards-3, .journal-grid, .principle-grid, .step-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
    .cards-2, .field-row, .split, .project-layout, .pager { grid-template-columns: 1fr 1fr; }
    .feature-grid { grid-template-columns: 1.3fr 1fr; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (min-width: 1020px) {
    .desktop-nav { display: flex; }
    .cards-3, .step-grid { grid-template-columns: repeat(3, 1fr); }
    .principle-grid { grid-template-columns: repeat(4, 1fr); }
    .journal-grid { grid-template-columns: 1.3fr 1fr 1fr; }
    .feature-grid { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; }
    .feature-main { grid-row: 1 / span 2; }
    .feature-main .media { aspect-ratio: 3 / 4; height: auto; min-height: 34rem; }
    .project-layout { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
}

@media (max-width: 1019px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: inline-flex; }
    .cta-long { display: none; }
    .cta-short { display: inline; }
    .header-cta { padding-inline: 0.85rem; }
}

@media (max-width: 640px) {
    .hero { padding-top: 1.75rem; }
    .hero-content { margin-bottom: 2.35rem; }
    .hero-points { grid-template-columns: 1fr; gap: 0.8rem; }
    .section-head-row { flex-direction: column; align-items: flex-start; }
    .logo-script { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .js .reveal { opacity: 1; transform: none; }
}
