:root {
    --forest-950: #050505;
    --forest-900: #101010;
    --forest-800: #242424;
    --forest-700: #4a4a4a;
    --sand-50: #faf8f3;
    --sand-100: #f5f1e7;
    --sand-200: #e6dfd2;
    --gold-500: #d1a13a;
    --gold-600: #b98522;
    --gold-700: #72520a;
    --ink: #202124;
    --muted: #5f6266;
    --white: #fff;
    --success: #17633a;
    --danger: #a12626;
    --line: rgba(17, 17, 17, .17);
    --shadow: 0 24px 70px rgba(0, 0, 0, .16);
    --radius-sm: .4rem;
    --radius: .8rem;
    --radius-lg: 1.4rem;
    --container: 74rem;
}

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

html {
    font-family: Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    margin: 0;
    background: var(--sand-50);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

.site-page { padding-bottom: 4rem; }

body, button, input, select, textarea { font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { max-width: 100%; }
button { cursor: pointer; }
h1, h2, h3, p { overflow-wrap: break-word; }

h1, h2, h3 {
    margin-top: 0;
    color: var(--forest-950);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.08;
}

h1 { font-size: clamp(3rem, 13vw, 6.7rem); }
h2 { font-size: clamp(2.35rem, 8vw, 4.6rem); }
h3 { font-size: 1.55rem; line-height: 1.08; }
p { margin-top: 0; }

:focus-visible {
    outline: .2rem solid #f4c95d;
    outline-offset: .22rem;
    box-shadow: 0 0 0 .12rem var(--forest-950);
}

::selection { background: var(--gold-500); color: var(--forest-950); }

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin-inline: auto;
}

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

.skip-link {
    position: fixed;
    z-index: 999;
    top: .75rem;
    left: .75rem;
    padding: .8rem 1rem;
    transform: translateY(-160%);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--forest-950);
    font-weight: 800;
    box-shadow: var(--shadow);
}

.skip-link:focus { transform: translateY(0); }

.preview-banner {
    display: flex;
    min-height: 2.7rem;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: .45rem 1rem;
    background: #e2b750;
    color: #172433;
    font-size: .82rem;
    font-weight: 700;
    text-align: center;
}

.preview-banner a { text-decoration-thickness: .1rem; text-underline-offset: .18rem; }

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background: rgba(16, 16, 16, .97);
    color: var(--white);
}

.preview-banner + .site-header { top: 0; }

.header-inner {
    display: flex;
    min-height: 4.7rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .72rem;
    color: var(--white);
    text-decoration: none;
}

.brand > span:last-child { display: grid; line-height: 1.05; }
.brand strong { font-family: Arial, Helvetica, sans-serif; font-size: 1.18rem; font-weight: 900; letter-spacing: -.01em; }
.brand small { margin-top: .18rem; color: #d2d2d2; font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.brand-logo { width: 3.75rem; height: 3.75rem; flex: 0 0 auto; object-fit: contain; }

.brand-dark { color: var(--forest-950); }
.brand-dark small { color: var(--muted); }

.nav-toggle {
    display: grid;
    width: 2.8rem;
    min-height: 2.8rem;
    place-content: center;
    gap: .3rem;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--white);
}

.nav-toggle span[aria-hidden] { width: 1.15rem; height: 2px; background: currentColor; }

.primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    padding: .75rem 1rem 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: var(--forest-900);
}

.primary-nav.is-open { display: grid; }

.primary-nav a {
    min-height: 3rem;
    padding: .75rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: #f1f1f1;
    font-weight: 700;
    text-decoration: none;
}

.primary-nav a:hover { color: var(--gold-500); }
.header-cta { display: none; }

.button {
    display: inline-flex;
    min-height: 3.2rem;
    align-items: center;
    justify-content: center;
    padding: .8rem 1.25rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-size: .94rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold-500); color: var(--forest-950); }
.button-primary:hover { background: var(--gold-600); }
.button-secondary { border-color: rgba(255, 255, 255, .35); background: transparent; color: var(--white); }
.button-secondary:hover { border-color: var(--white); }
.button-ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.button-small { min-height: 2.7rem; padding: .55rem .9rem; font-size: .8rem; }

.hero {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 2rem;
    background: var(--forest-900);
    color: #f1f1f1;
}

.hero::before {
    position: absolute;
    top: -15rem;
    right: -12rem;
    width: 29rem;
    height: 29rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(255, 255, 255, .025), 0 0 0 10rem rgba(255, 255, 255, .018);
    content: "";
}

.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; }
.hero h1 { margin-bottom: 1.35rem; color: var(--white); }
.hero h1 span { color: #dedede; }
.hero-lead { max-width: 39rem; color: #d2d2d2; font-size: 1.08rem; }
.hero-actions { display: grid; gap: .75rem; margin: 1.7rem 0; }

.trust-list {
    display: grid;
    gap: .35rem;
    margin: 1.8rem 0 0;
    padding: 0;
    color: #ececec;
    font-size: .84rem;
    font-weight: 700;
    list-style: none;
}

.trust-list li::before { margin-right: .5rem; color: var(--gold-500); content: "✓"; }

.site-photo { margin: 0; }
.site-photo picture {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .25);
    background: #101010;
}
.site-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.site-photo figcaption { display: grid; gap: .12rem; margin-top: .65rem; color: inherit; font-size: .875rem; line-height: 1.45; opacity: .78; }
.hero-photo { color: #dedede; }
.hero-photo picture { aspect-ratio: 4 / 3; }

.hero-rule {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
    height: .38rem;
    background: var(--gold-500);
}

.credential-bar { border-bottom: 1px solid var(--line); background: var(--sand-100); }
.credential-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.credential-grid p { display: grid; margin: 0; padding: 1.25rem .6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); line-height: 1.35; }
.credential-grid p:nth-child(even) { border-right: 0; }
.credential-grid span { color: var(--muted); font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.credential-grid strong { margin-top: .25rem; color: var(--forest-900); font-size: .88rem; }

.section { padding: 5.3rem 0; }
.section-heading { max-width: 49rem; margin-bottom: 2.5rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p:last-child { color: var(--muted); }

.services-section { background: var(--sand-50); }
.service-grid { display: grid; border-top: 1px solid var(--line); }
.service-card { position: relative; min-height: 16rem; padding: 1.7rem .2rem; border-bottom: 1px solid var(--line); }
.service-card h3 { margin: 3rem 0 .7rem; }
.service-card p { max-width: 28rem; margin-bottom: 0; color: var(--muted); }
.service-index { color: var(--gold-700); font-size: .74rem; font-weight: 900; letter-spacing: .12em; }

.capability-list {
    display: grid;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--forest-900);
    color: var(--white);
}

.capability-list h3 { margin: 0; color: var(--white); }
.capability-list ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.capability-list li { position: relative; padding-left: 1.25rem; color: #dedede; }
.capability-list li::before { position: absolute; left: 0; color: var(--gold-500); content: "/"; font-weight: 900; }

.about-section { background: var(--sand-100); }
.about-grid { display: grid; gap: 2.5rem; }
.about-copy > p { color: var(--muted); }
.about-copy .large-copy { color: var(--forest-900); font-size: 1.2rem; line-height: 1.55; }
.about-facts { margin: 2.2rem 0 0; border-top: 1px solid var(--line); }
.about-facts div { display: grid; gap: .2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.about-facts dt { color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.about-facts dd { margin: 0; color: var(--forest-900); font-weight: 800; }
.portrait-photo { color: var(--forest-800); }
.portrait-photo picture { aspect-ratio: 4 / 5; border-color: var(--line); background: #dce3e9; }

.process-section { background: var(--white); }
.process-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.process-list li { display: grid; grid-template-columns: 3.2rem 1fr; gap: .9rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--gold-700); font-size: .75rem; font-weight: 900; letter-spacing: .1em; }
.process-list h3 { margin: 0 0 .45rem; font-size: 1.35rem; }
.process-list p { margin: 0; color: var(--muted); }

.work-section { background: var(--forest-900); color: #dedede; }
.work-section h2, .work-section h3 { color: var(--white); }
.work-section .section-heading > p:last-child { color: #d0d0d0; }
.project-grid { display: grid; gap: 2rem; }
.project-photo picture { aspect-ratio: 4 / 3; }
.project-photo figcaption { grid-template-columns: 1fr; align-items: baseline; color: var(--white); opacity: 1; }
.project-photo figcaption span { color: #bdbdbd; }

.quote-section { background: var(--sand-100); }
.quote-grid { display: grid; gap: 2.6rem; }
.quote-intro > p { color: var(--muted); font-size: 1.08rem; }
.contact-card { display: grid; gap: .3rem; margin-top: 2rem; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-card span { color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.contact-card a { width: fit-content; color: var(--forest-900); font-family: Arial, Helvetica, sans-serif; font-size: 1.8rem; font-weight: 900; text-decoration-color: var(--gold-500); text-underline-offset: .25rem; }
.contact-card .contact-email { font-family: Arial, Helvetica, sans-serif; font-size: .95rem; letter-spacing: 0; overflow-wrap: anywhere; }
.contact-card small { margin-top: .65rem; color: var(--muted); }

.quote-form-wrap { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.quote-form { display: grid; gap: 1.2rem; }
.field-grid { display: grid; gap: 1.2rem; }
.field-group { display: grid; gap: .35rem; }
.field-group label, .preview-form label { color: var(--forest-950); font-size: .86rem; font-weight: 800; }

input, select, textarea {
    width: 100%;
    min-height: 3rem;
    padding: .72rem .8rem;
    border: 1px solid #7e8f9d;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
}

textarea { resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--forest-700); }
input:focus, select:focus, textarea:focus { border-color: #0b67b2; box-shadow: 0 0 0 .18rem rgba(11, 103, 178, .2); outline: 0; }
[aria-invalid="true"] { border-color: var(--danger); }
.field-hint { color: var(--muted); font-size: .75rem; }
.field-error { min-height: 0; color: var(--danger); font-size: .76rem; font-weight: 700; }
.field-error:empty { display: none; }

.consent-row { display: grid; grid-template-columns: 1.3rem 1fr; gap: .65rem; align-items: start; color: var(--muted); font-size: .82rem; cursor: pointer; }
.consent-row input { width: 1.25rem; min-height: 1.25rem; margin-top: .15rem; accent-color: var(--gold-700); }
.submit-button { width: 100%; }
.form-note { margin: -.45rem 0 0; color: var(--muted); font-size: .72rem; text-align: center; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.form-alert { margin-bottom: 1rem; padding: .9rem 1rem; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: .87rem; font-weight: 700; }
.form-alert.is-error { border-color: #dfadad; background: #fff1f1; color: #7d1818; }
.form-alert.is-success { border-color: #a8d3b8; background: #effaf3; color: #124b2c; }
.form-alert[hidden] { display: none; }

.site-footer { padding: 4rem 0 1.5rem; background: var(--forest-950); color: #d2d2d2; }
.footer-grid { display: grid; gap: 2.3rem; }
.footer-grid > div { display: grid; align-content: start; gap: .4rem; }
.footer-grid p { max-width: 26rem; margin: 1rem 0 0; color: #bdbdbd; }
.footer-grid h2 { margin: 0 0 .6rem; color: #bdbdbd; font-family: Arial, Helvetica, sans-serif; font-size: .82rem; font-weight: 800; letter-spacing: 0; }
.footer-grid a { width: fit-content; color: var(--white); font-weight: 800; text-underline-offset: .22rem; }
.footer-grid span { color: #c7c7c7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem 1.5rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.13); font-size: .75rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--white); font-weight: 700; text-underline-offset: .2rem; }

.mobile-action-bar {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    min-height: 4rem;
    border-top: 1px solid rgba(255,255,255,.16);
    background: var(--forest-950);
    box-shadow: 0 -12px 32px rgba(0,0,0,.2);
}

.mobile-action-bar a {
    display: flex;
    min-height: 4rem;
    align-items: center;
    justify-content: center;
    padding: .7rem;
    color: var(--white);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}

.mobile-action-bar a:last-child { background: var(--gold-500); color: var(--forest-950); }

/* Coming soon and password gate */
.coming-soon-page { min-height: 100vh; background: var(--forest-900); color: var(--white); }
.coming-header { display: flex; width: min(calc(100% - 2rem), var(--container)); min-height: 5.5rem; margin-inline: auto; align-items: center; justify-content: space-between; gap: 1rem; }
.coming-main { position: relative; display: grid; width: min(calc(100% - 2rem), var(--container)); min-height: calc(100vh - 10rem); margin-inline: auto; align-items: center; overflow: hidden; padding: 4rem 0; }
.coming-copy { position: relative; z-index: 2; max-width: 50rem; }
.coming-copy h1 { margin-bottom: 1.4rem; color: var(--white); }
.coming-lead { max-width: 43rem; color: #d2d2d2; font-size: 1.1rem; }
.coming-structure { position: absolute; right: -8rem; bottom: 1rem; width: min(38rem, 80vw); height: min(32rem, 54vh); opacity: .11; }
.coming-structure span { position: absolute; display: block; border: 2px solid var(--white); }
.coming-structure span:nth-child(1) { inset: 25% 5% 0 15%; }
.coming-structure span:nth-child(2) { top: 0; left: 44%; width: 2px; height: 100%; border: 0; background: var(--white); }
.coming-structure span:nth-child(3) { top: 25%; left: 15%; width: 81%; height: 2px; border: 0; background: var(--white); transform: rotate(-24deg); transform-origin: left; }
.coming-structure span:nth-child(4) { top: 48%; left: 16%; width: 80%; height: 2px; border: 0; background: var(--white); }
.coming-structure span:nth-child(5) { top: 70%; left: 16%; width: 80%; height: 2px; border: 0; background: var(--white); }
.coming-footer { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; padding: 0 0 1.5rem; color: #bdbdbd; font-size: .76rem; }
.coming-footer p { margin: 0; }

.gate-page { min-height: 100vh; background: var(--sand-100); }
.gate-shell { display: grid; width: min(calc(100% - 2rem), 36rem); min-height: 100vh; margin-inline: auto; align-content: center; gap: 1.4rem; padding: 2rem 0; }
.gate-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.gate-card h1 { margin-bottom: 1rem; font-size: clamp(2.5rem, 12vw, 4.2rem); }
.gate-card > p:not(.form-alert) { color: var(--muted); }
.preview-form { display: grid; gap: .6rem; margin: 1.5rem 0; }
.preview-form .button { margin-top: .35rem; }
.text-link { font-size: .83rem; font-weight: 800; text-underline-offset: .2rem; }

@media (min-width: 36rem) {
    .hero-actions { display: flex; flex-wrap: wrap; }
    .trust-list { display: flex; flex-wrap: wrap; gap: .45rem 1.3rem; }
    .project-photo figcaption { grid-template-columns: 1fr auto; }
    .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gate-card, .quote-form-wrap { padding: 2rem; }
}

@media (min-width: 48rem) {
    .container { width: min(calc(100% - 4rem), var(--container)); }
    .section { padding: 7.5rem 0; }
    .hero { padding: 5rem 0 3rem; }
    .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(20rem, .88fr); align-items: center; gap: 4rem; }
    .hero-photo picture { aspect-ratio: 5 / 4; }
    .credential-grid { grid-template-columns: repeat(4, 1fr); }
    .credential-grid p { padding: 1.45rem 1rem; border-bottom: 0; }
    .credential-grid p:nth-child(even) { border-right: 1px solid var(--line); }
    .credential-grid p:last-child { border-right: 0; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-card { padding: 1.8rem; border-right: 1px solid var(--line); }
    .service-card:nth-child(even) { border-right: 0; }
    .capability-list { grid-template-columns: 1fr 2fr; padding: 2.2rem; }
    .capability-list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-grid { grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .75fr); align-items: center; gap: 5rem; }
    .about-facts div { grid-template-columns: 9rem 1fr; align-items: baseline; }
    .process-list li { grid-template-columns: 5rem minmax(0, 1fr); padding: 1.8rem 0; }
    .process-list li div { display: grid; grid-template-columns: minmax(14rem, .75fr) minmax(0, 1fr); gap: 2rem; }
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project-photo-wide { grid-column: span 2; }
    .project-photo-wide picture { aspect-ratio: 16 / 9; }
    .quote-grid { grid-template-columns: minmax(18rem, .72fr) minmax(0, 1.28fr); align-items: start; gap: 4rem; }
    .quote-intro { position: sticky; top: 7rem; }
    .footer-grid { grid-template-columns: 1.4fr .8fr .8fr; }
}

@media (min-width: 64rem) {
    .site-page { padding-bottom: 0; }
    .header-inner { min-height: 6rem; }
    .brand-logo { width: 4.35rem; height: 4.35rem; }
    .nav-toggle { display: none; }
    .primary-nav { position: static; display: flex; width: auto; align-items: center; gap: .3rem; padding: 0; border: 0; background: transparent; }
    .primary-nav a { min-height: auto; padding: .7rem .75rem; border: 0; font-size: .86rem; }
    .header-cta { display: inline-flex; min-height: 2.85rem; }
    .split-heading { display: grid; max-width: none; grid-template-columns: minmax(0, 1.4fr) minmax(17rem, .6fr); align-items: end; gap: 4rem; }
    .split-heading > p:last-child { margin-bottom: .5rem; }
    .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .service-card:nth-child(even) { border-right: 1px solid var(--line); }
    .service-card:last-child { border-right: 0; }
    .mobile-action-bar { display: none; }
    .coming-header, .coming-main, .coming-footer { width: min(calc(100% - 4rem), var(--container)); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

@media (prefers-contrast: more) {
    :root { --muted: #3f4144; --line: rgba(0, 0, 0, .4); }
    .button, input, select, textarea { border-width: 2px; }
}

@media print {
    .site-header, .preview-banner, .hero-actions, .quote-section, .site-footer { display: none !important; }
    body { background: #fff; color: #000; }
    .hero, .work-section { background: #fff; color: #000; }
    .hero h1, .work-section h2 { color: #000; }
    .section { padding: 2rem 0; }
}
