/* ==========================================================================
   Dream Homes Build — public site styles

   1. Fonts & tokens        6. Home sections         11. Projects & gallery
   2. Base                  7. Cards & lists         12. Journal
   3. Layout & typography   8. Page hero             13. Footer
   4. Buttons & links       9. Forms & planner       14. Motion
   5. Header & navigation  10. Services & process    15. Responsive
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------- */

@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/cormorantgaramond-normal.woff2") format("woff2");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/cormorantgaramond-italic.woff2") format("woff2");
    font-weight: 300 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-normal.woff2") format("woff2");
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Brand: navy and gold */
    --ink-950: #060914;
    --ink-900: #0a0f22;
    --ink-800: #10162f;
    --ink-700: #19203f;
    --ink-600: #262e54;
    --gold: #f0b323;
    --gold-200: #f8d88a;
    --gold-700: #a87a12;
    --sand-50: #faf7f0;
    --sand-100: #f2ede1;
    --sand-200: #e2dbc9;

    --text: #ece9e2;
    --text-dim: #a4a9c0;
    --text-ink: #12173a;
    --text-ink-dim: #565b76;
    --line: rgba(255, 255, 255, 0.12);
    --line-ink: rgba(18, 23, 58, 0.14);
    --danger: #ff8a7a;
    --ok: #7fd6a4;

    --font-display: "Cormorant Garamond", "Iowan Old Style", "Times New Roman", serif;
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

    --container: 1320px;
    --gutter: clamp(1.25rem, 4vw, 3.5rem);
    --section: clamp(4.5rem, 9vw, 9rem);
    --header-h: 88px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Base ----------------------------------------------------------------- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    margin: 0;
    background: var(--ink-900);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    font-variant-numeric: lining-nums;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.is-locked {
    overflow: hidden;
}

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

img {
    height: auto;
}

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

p {
    margin: 0 0 1.25em;
}

p:last-child {
    margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

dl,
dd {
    margin: 0;
}

address {
    font-style: normal;
}

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

button {
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
}

fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

[hidden] {
    display: none !important;
}

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

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

.icon {
    flex: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 200;
    padding: 0.75rem 1.25rem;
    background: var(--gold);
    color: var(--ink-950);
    font-weight: 700;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: none;
}

/* 3. Layout & typography -------------------------------------------------- */

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    position: relative;
    padding-block: var(--section);
}

.section--tight-top {
    padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.section--deep {
    background: var(--ink-950);
}

.section--sand {
    background: var(--sand-100);
    color: var(--text-ink);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0 0 1.5rem;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 2.5rem;
    height: 1px;
    background: currentColor;
}

.section--sand .eyebrow {
    color: var(--gold-700);
}

.h2,
.h3 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.h2 {
    font-size: clamp(2.25rem, 4.6vw, 4.25rem);
    line-height: 1.05;
}

.h3 {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    line-height: 1.15;
}

h1 em,
h2 em,
.h2 em {
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
}

.section--sand h2 em,
.section--sand .h2 em {
    color: var(--gold-700);
}

.lead {
    font-size: clamp(1.075rem, 1.4vw, 1.25rem);
    line-height: 1.65;
    color: var(--text);
}

.section--sand .lead {
    color: var(--text-ink);
}

.section p:not(.lead):not(.eyebrow),
.prose {
    color: var(--text-dim);
}

.section--sand p:not(.lead):not(.eyebrow) {
    color: var(--text-ink-dim);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem 4rem;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head > div:first-child {
    max-width: 46rem;
}

.section-head__text {
    max-width: 26rem;
    margin: 0;
}

.section-head__actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: none;
}

.section-head--center {
    justify-content: center;
    text-align: center;
}

.section-head--center .eyebrow {
    justify-content: center;
}

.section-head--center .eyebrow::after {
    content: "";
    width: 2.5rem;
    height: 1px;
    background: currentColor;
}

.check-list {
    display: grid;
    gap: 0.75rem;
    margin: 1.75rem 0 2rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text);
    font-weight: 500;
}

.check-list .icon {
    margin-top: 0.3em;
    color: var(--gold);
}

.check-list--cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 2rem;
}

.empty-state {
    padding: 4rem 1rem;
    text-align: center;
    border: 1px dashed var(--line);
}

/* Rich text written in the admin editor */
.prose > * + * {
    margin-top: 1.25em;
}

.prose h2,
.prose h3 {
    margin-top: 2em;
    color: var(--text);
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    line-height: 1.15;
}

.prose h3 {
    font-size: 1.5rem;
}

.prose a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.prose ul,
.prose ol {
    padding-left: 1.25rem;
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li + li {
    margin-top: 0.5em;
}

.prose li::marker {
    color: var(--gold);
}

.prose blockquote {
    margin-inline: 0;
    padding-left: 1.5rem;
    border-left: 2px solid var(--gold);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.4;
}

.prose strong {
    color: var(--text);
}

.prose--article {
    max-width: 44rem;
    font-size: 1.075rem;
    line-height: 1.85;
}

.prose--legal {
    margin-inline: auto;
}

/* 4. Buttons & links ------------------------------------------------------ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    min-height: 3.5rem;
    padding: 0.9rem 1.9rem;
    border: 1px solid transparent;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn .icon {
    transition: transform 0.35s var(--ease);
}

.btn:hover .icon-arrow-right {
    transform: translateX(5px);
}

.btn:hover .icon-arrow-left {
    transform: translateX(-5px);
}

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

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

.btn--ghost {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--text);
}

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

.btn--dark {
    background: var(--text-ink);
    color: var(--sand-50);
}

.btn--dark:hover {
    background: var(--ink-950);
    color: var(--gold);
}

.btn--sm {
    min-height: 2.9rem;
    padding: 0.65rem 1.35rem;
    font-size: 0.72rem;
}

.btn--block {
    display: flex;
    width: 100%;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--gold);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}

.link-arrow:hover {
    gap: 1.1rem;
    color: var(--gold);
}

.link-arrow--dark {
    border-color: var(--gold-700);
    color: var(--text-ink);
}

.link-arrow--dark:hover {
    color: var(--gold-700);
}

.slider-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.slider-nav__btn {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text);
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.slider-nav__btn:hover:not(:disabled) {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink-950);
}

.slider-nav__btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.slider-nav__count {
    min-width: 4.5rem;
    color: var(--text-dim);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-align: center;
}

.slider-nav__count b {
    color: var(--gold);
}

/* 5. Header & navigation -------------------------------------------------- */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-h);
    border-bottom: 1px solid transparent;
    transition: transform 0.5s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease), height 0.4s var(--ease);
}

.site-header.is-scrolled {
    --header-h: 72px;
    background: rgba(6, 9, 20, 0.86);
    border-color: var(--line);
    backdrop-filter: blur(16px) saturate(140%);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.site-header__logo img {
    width: clamp(150px, 14.7vw, 212px);
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.4vw, 2.5rem);
}

.site-nav__list > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding-block: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.3s var(--ease);
}

.site-nav__list > li > a::after {
    content: "";
    position: absolute;
    inset: auto 0 0.4rem;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}

.site-nav__list > li > a:hover,
.site-nav__list > li > a[aria-current="page"] {
    color: var(--gold);
}

.site-nav__list > li > a:hover::after,
.site-nav__list > li > a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-nav__has-panel {
    position: static;
}

.nav-panel {
    position: absolute;
    inset: 100% 0 auto;
    padding: 0 var(--gutter);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.site-nav__has-panel:hover .nav-panel,
.site-nav__has-panel:focus-within .nav-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.nav-panel__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    max-width: var(--container);
    margin-inline: auto;
    padding: 1rem;
    background: var(--ink-950);
    border: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.nav-panel__item {
    display: block;
}

.nav-panel__thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ink-800);
}

.nav-panel__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.7) brightness(0.75);
    transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
}

.nav-panel__item:hover img {
    transform: scale(1.06);
    filter: none;
}

.nav-panel__text {
    display: grid;
    gap: 0.2rem;
    padding: 1rem 0.5rem 0.5rem;
}

.nav-panel__num {
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.nav-panel__title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1.15;
    transition: color 0.3s var(--ease);
}

.nav-panel__item:hover .nav-panel__title {
    color: var(--gold);
}

.nav-panel__tag {
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.5;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-header__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color 0.3s var(--ease);
}

.site-header__phone .icon {
    color: var(--gold);
}

.site-header__phone:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.menu-toggle__bars {
    position: relative;
    width: 18px;
    height: 10px;
}

.menu-toggle__bars i {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}

.menu-toggle__bars i:first-child {
    top: 0;
}

.menu-toggle__bars i:last-child {
    top: 100%;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child {
    top: 50%;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child {
    top: 50%;
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
    background: var(--ink-950);
    overflow-y: auto;
    animation: menu-in 0.5s var(--ease);
}

@keyframes menu-in {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
}

.mobile-menu__nav > ul > li {
    border-bottom: 1px solid var(--line);
}

.mobile-menu__nav > ul > li > a {
    display: block;
    padding: 0.9rem 0;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 7vw, 2.5rem);
    line-height: 1.1;
}

.mobile-menu__sub {
    display: grid;
    gap: 0.6rem;
    padding: 0 0 1.25rem 1rem;
    border-left: 1px solid var(--gold);
    margin-bottom: 1rem;
}

.mobile-menu__sub a {
    color: var(--text-dim);
}

.mobile-menu__foot {
    display: grid;
    gap: 1rem;
}

.mobile-menu__contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dim);
}

.mobile-menu__contact .icon {
    color: var(--gold);
}

/* 6. Home sections -------------------------------------------------------- */

/* Hero */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: max(100svh, 46rem);
    overflow: hidden;
    background: var(--ink-950);
}

.hero__slides,
.hero__slide {
    position: absolute;
    inset: 0;
}

.hero__slide {
    opacity: 0;
    transition: opacity 1.6s var(--ease);
}

.hero__slide.is-active {
    opacity: 1;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12);
}

.hero__slide.is-active img {
    animation: hero-zoom 9s linear forwards;
}

@keyframes hero-zoom {
    from {
        transform: scale(1.12);
    }

    to {
        transform: scale(1);
    }
}

.hero__slides::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 9, 20, 0.92) 0%, rgba(6, 9, 20, 0.62) 42%, rgba(6, 9, 20, 0.18) 100%),
        linear-gradient(0deg, rgba(6, 9, 20, 0.92) 0%, rgba(6, 9, 20, 0) 45%);
}

.hero__inner {
    position: relative;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: clamp(2.5rem, 6vh, 5rem);
}

.hero__content {
    max-width: 50rem;
}

.hero__title {
    margin-bottom: 1.75rem;
    font-size: clamp(3rem, 7.6vw, 7rem);
    line-height: 0.94;
    letter-spacing: -0.02em;
}

.hero__text {
    max-width: 36rem;
    margin-bottom: 2.5rem;
    color: rgba(236, 233, 226, 0.82);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.hero__index {
    display: grid;
    gap: 1.1rem;
    flex: none;
    width: 17rem;
    padding-bottom: 0.5rem;
}

.hero__dot {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 0.9rem;
    width: 100%;
    color: rgba(236, 233, 226, 0.5);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-align: left;
    transition: color 0.4s var(--ease);
}

.hero__dot:hover,
.hero__dot.is-active {
    color: var(--text);
}

.hero__dot-num {
    color: var(--gold);
    font-weight: 700;
}

.hero__dot-bar {
    grid-column: 1 / -1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.hero__dot-bar i {
    display: block;
    width: 0;
    height: 100%;
    background: var(--gold);
}

.hero__dot.is-active .hero__dot-bar i {
    animation: hero-progress var(--hero-interval, 7s) linear forwards;
}

@keyframes hero-progress {
    to {
        width: 100%;
    }
}

.hero__stats {
    position: relative;
    border-top: 1px solid var(--line);
    background: rgba(6, 9, 20, 0.55);
    backdrop-filter: blur(10px);
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.6rem 1.5rem 1.6rem 0;
}

.stat + .stat {
    padding-left: clamp(1rem, 2.5vw, 2.5rem);
    border-left: 1px solid var(--line);
}

.stat__value {
    order: -1;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 3.6vw, 3.5rem);
    font-weight: 500;
    line-height: 1;
    font-variant-numeric: lining-nums tabular-nums;
}

.stat__label {
    color: var(--text-dim);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.stat-strip--large {
    border-block: 1px solid var(--line);
}

.stat-strip--large .stat {
    padding-block: clamp(2rem, 4vw, 3.5rem);
}

.stat-strip--large .stat__value {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
}

/* Ticker */
.ticker {
    overflow: hidden;
    padding-block: 1.4rem;
    background: var(--gold);
    color: var(--ink-950);
}

.ticker__track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: max-content;
    animation: ticker 38s linear infinite;
}

.ticker__track span {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.ticker__track i {
    width: 7px;
    height: 7px;
    background: var(--ink-950);
    transform: rotate(45deg);
}

@keyframes ticker {
    to {
        transform: translateX(calc(-50% - 1.25rem));
    }
}

/* Intro / about split */
.intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 7rem);
}

.intro__media {
    position: relative;
    padding: 0 12% 14% 0;
}

.intro__media--right {
    padding: 0 0 14% 12%;
}

.intro__img {
    width: 100%;
    object-fit: cover;
}

.intro__img--main {
    aspect-ratio: 4 / 5;
}

.intro__img--inset {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52%;
    aspect-ratio: 4 / 3;
    border: 10px solid var(--ink-900);
}

.intro__media--right .intro__img--inset {
    right: auto;
    left: 0;
}

.intro__badge {
    position: absolute;
    top: 2rem;
    right: calc(12% - 3.5rem);
    display: grid;
    place-content: center;
    gap: 0.2rem;
    width: 9rem;
    height: 9rem;
    padding: 1rem;
    background: var(--gold);
    color: var(--ink-950);
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
}

.intro__badge b {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.intro__content .h2 {
    margin-bottom: 1.75rem;
}

/* Service panels */
.svc-panels {
    display: flex;
    gap: 0.5rem;
    height: clamp(26rem, 62vh, 38rem);
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.svc-panel {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    background: var(--ink-800);
    transition: flex-grow 0.8s var(--ease);
}

.svc-panel.is-active {
    flex-grow: 3.2;
}

.svc-panel__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.7) brightness(0.45);
    transition: filter 0.8s var(--ease), transform 1.4s var(--ease);
}

.svc-panel.is-active .svc-panel__img {
    filter: brightness(0.8);
    transform: scale(1.04);
}

.svc-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 9, 20, 0.92) 0%, rgba(6, 9, 20, 0) 60%);
}

.svc-panel__num {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 1;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.svc-panel__body {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    display: grid;
    gap: 0.6rem;
    padding: 1.75rem 1.5rem;
}

.svc-panel__icon {
    color: var(--gold);
}

.svc-panel__title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.9vw, 1.9rem);
    line-height: 1.1;
    transition: font-size 0.6s var(--ease);
}

.svc-panel.is-active .svc-panel__title {
    font-size: clamp(1.9rem, 3vw, 2.75rem);
}

.svc-panel__text,
.svc-panel__more {
    max-width: 26rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    color: rgba(236, 233, 226, 0.8);
    transition: opacity 0.4s var(--ease), max-height 0.6s var(--ease);
}

.svc-panel__more {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.svc-panel.is-active .svc-panel__text,
.svc-panel.is-active .svc-panel__more {
    max-height: 8rem;
    opacity: 1;
    transition-delay: 0.25s;
}

/* Project rail */
.rail {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
    scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    cursor: grab;
}

.rail::-webkit-scrollbar {
    display: none;
}

.rail.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.rail.is-dragging a {
    pointer-events: none;
}

.rail__item {
    flex: none;
    width: clamp(17rem, 36vw, 33rem);
    scroll-snap-align: start;
}

.rail-progress {
    height: 1px;
    margin-top: 3rem;
    background: var(--line);
}

.rail-progress i {
    display: block;
    width: 20%;
    height: 3px;
    margin-top: -1px;
    background: var(--gold);
    transition: width 0.2s linear;
}

/* Why choose us */
.reasons__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2.5rem, 6vw, 6rem);
}

.reasons__head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    align-self: start;
}

.reasons__head .h2 {
    margin-bottom: 1.5rem;
}

.reasons__head .btn {
    margin-top: 1.5rem;
}

.reason-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line-ink);
    border-left: 1px solid var(--line-ink);
}

.reason {
    padding: clamp(1.75rem, 3vw, 2.75rem);
    border-right: 1px solid var(--line-ink);
    border-bottom: 1px solid var(--line-ink);
    transition: background-color 0.4s var(--ease);
}

.reason:hover {
    background: var(--sand-50);
}

.reason__icon {
    display: grid;
    place-items: center;
    width: 3.75rem;
    height: 3.75rem;
    margin-bottom: 1.75rem;
    border: 1px solid var(--gold-700);
    border-radius: 50%;
    color: var(--gold-700);
}

.reason__title {
    margin-bottom: 0.75rem;
    font-size: 1.7rem;
}

.pillar-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.pillar {
    position: relative;
    padding: clamp(1.75rem, 3vw, 2.75rem);
    background: var(--sand-50);
    border: 1px solid var(--line-ink);
}

.pillar__num {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    color: var(--sand-200);
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
}

/* Process steps (home) */
.step-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 4rem);
    counter-reset: step;
}

.step {
    position: relative;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
}

.step::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--gold);
    transform: rotate(45deg);
}

.step__num {
    display: block;
    margin-bottom: 1.5rem;
    color: transparent;
    font-family: var(--font-display);
    font-size: clamp(4rem, 7vw, 6.5rem);
    line-height: 0.9;
    -webkit-text-stroke: 1px var(--gold);
}

.step__title {
    margin-bottom: 0.9rem;
    font-size: clamp(1.6rem, 2.3vw, 2.1rem);
}

/* Testimonials */
.testimonials__inner {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(2rem, 6vw, 6rem);
}

.quote-slider {
    position: relative;
}

.quote-slider__mark {
    position: absolute;
    top: -2.5rem;
    right: 0;
    color: rgba(240, 179, 35, 0.12);
    font-family: var(--font-display);
    font-size: 18rem;
    line-height: 0.7;
    pointer-events: none;
    user-select: none;
}

.quote-slider__track {
    position: relative;
    display: grid;
}

.quote {
    grid-area: 1 / 1;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), visibility 0.7s;
}

.quote.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.quote__stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.quote__stars .icon {
    fill: currentColor;
}

.quote blockquote {
    margin: 0 0 2rem;
}

.quote blockquote p {
    color: var(--text) !important;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.3vw, 2.05rem);
    line-height: 1.4;
}

.quote figcaption {
    display: grid;
    gap: 0.15rem;
    padding-left: 1.25rem;
    border-left: 2px solid var(--gold);
}

.quote__name {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.quote__role {
    color: var(--text-dim);
    font-size: 0.85rem;
}

.quote-slider .slider-nav {
    margin-top: 2.5rem;
}

/* CTA band */
.cta-band {
    position: relative;
    display: grid;
    place-items: center;
    min-height: min(78vh, 44rem);
    padding-block: var(--section);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 120%, rgba(240, 179, 35, 0.22), transparent 60%),
        var(--ink-800);
    text-align: center;
}

.cta-band__media {
    position: absolute;
    inset: 0;
}

.cta-band__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-band__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 9, 20, 0.94), rgba(6, 9, 20, 0.72));
}

.cta-band__inner {
    position: relative;
    display: grid;
    justify-items: center;
}

.cta-band .eyebrow::after {
    content: "";
    width: 2.5rem;
    height: 1px;
    background: currentColor;
}

.cta-band__title {
    max-width: 15ch;
    margin-bottom: 1.5rem;
    font-size: clamp(2.75rem, 7vw, 6rem);
    line-height: 0.98;
}

.cta-band__text {
    max-width: 36rem;
    margin-bottom: 2.5rem;
    color: rgba(236, 233, 226, 0.8);
}

.cta-band .btn-row {
    justify-content: center;
}

/* 7. Cards & lists -------------------------------------------------------- */

.project-card {
    display: block;
}

.project-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ink-800);
}

.project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
    user-select: none;
}

.project-card:hover .project-card__media img {
    transform: scale(1.06);
}

.project-card__view {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--gold);
    color: var(--ink-950);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.6) rotate(-45deg);
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}

.project-card:hover .project-card__view,
.project-card:focus-visible .project-card__view {
    opacity: 1;
    transform: none;
}

.project-card__body {
    display: grid;
    gap: 0.3rem;
    padding-top: 1.25rem;
}

.project-card__type {
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.project-card__title {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    line-height: 1.15;
    transition: color 0.3s var(--ease);
}

.project-card:hover .project-card__title {
    color: var(--gold);
}

.project-card__meta {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 2rem);
}

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

/* Editorial rhythm on the projects page: every third card spans the row */
.project-grid:not(.project-grid--3) .project-grid__item:nth-child(3n + 1):not([hidden]) {
    grid-column: 1 / -1;
}

.project-grid:not(.project-grid--3) .project-grid__item:nth-child(3n + 1) .project-card__media {
    aspect-ratio: 21 / 9;
}

.project-grid.is-filtered .project-grid__item {
    grid-column: auto !important;
}

.project-grid.is-filtered .project-card__media {
    aspect-ratio: 4 / 3 !important;
}

.project-grid__item {
    animation: card-in 0.6s var(--ease) both;
}

@keyframes card-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 2rem);
}

.post-card__media {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--ink-800);
}

.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.post-card:hover .post-card__media img {
    transform: scale(1.06);
}

.post-card__body {
    padding-top: 1.5rem;
}

.post-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 0.9rem !important;
    color: var(--gold) !important;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.post-card__meta span:not(.post-lead__flag) {
    color: var(--text-dim);
}

.post-card__meta span:not(.post-lead__flag)::before {
    content: "·";
    margin-right: 1rem;
}

.post-card__title {
    margin-bottom: 0.75rem;
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    line-height: 1.18;
}

.post-card__title a {
    transition: color 0.3s var(--ease);
}

.post-card__title a:hover {
    color: var(--gold);
}

.post-card__excerpt {
    margin-bottom: 1.5rem !important;
}

/* FAQ accordion */
.faq-section {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(2rem, 6vw, 6rem);
}

.faq-section__head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    align-self: start;
    display: grid;
    justify-items: start;
    gap: 1rem;
}

.faq-section__head .eyebrow,
.faq-section__head p {
    margin: 0;
}

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

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

.faq summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1.6rem 0;
    cursor: pointer;
    list-style: none;
}

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

.faq__num {
    color: var(--gold-700);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.faq__q {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.2;
}

.faq__icon {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--line-ink);
    border-radius: 50%;
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.4s var(--ease);
}

.faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq[open] .faq__icon {
    background: var(--text-ink);
    border-color: var(--text-ink);
    color: var(--gold);
}

.faq[open] .faq__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq__a {
    max-width: 44rem;
    padding: 0 0 1.75rem 2.6rem;
}

.faq[open] .faq__a {
    animation: faq-in 0.5s var(--ease);
}

@keyframes faq-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
}

/* Aside cards */
.aside-card {
    padding: clamp(1.5rem, 2.5vw, 2.25rem);
    background: var(--ink-800);
    border: 1px solid var(--line);
}

.aside-card + .aside-card {
    margin-top: 1.5rem;
}

.aside-card--gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink-950);
}

.aside-card--gold p {
    color: rgba(6, 9, 20, 0.78) !important;
}

.aside-card--gold .h3 {
    margin: 1rem 0 0.75rem;
}

.aside-card--plain {
    background: transparent;
}

.aside-card__label {
    margin-bottom: 1.25rem;
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.aside-card__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.aside-card__or {
    margin: 1.5rem 0 0 !important;
    font-size: 0.85rem;
}

.aside-card--plain .aside-card__phone {
    justify-content: flex-start;
    margin-top: 0.5rem;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
}

.aside-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
    transition: color 0.3s var(--ease), padding 0.3s var(--ease);
}

.aside-nav li:last-child a {
    border-bottom: 0;
    padding-bottom: 0;
}

.aside-nav a:hover,
.aside-nav a[aria-current="page"] {
    padding-left: 0.5rem;
    color: var(--gold);
}

.fact-list > div {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
}

.fact-list dt {
    color: var(--text-dim);
    font-size: 0.85rem;
}

.fact-list dd {
    font-weight: 600;
    text-align: right;
}

.fact-list + .btn {
    margin-top: 1.75rem;
}

.next-list {
    display: grid;
    gap: 0.9rem;
    counter-reset: next;
}

.next-list li {
    position: relative;
    padding-left: 2.25rem;
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.55;
    counter-increment: next;
}

.next-list li::before {
    content: counter(next);
    position: absolute;
    top: 0.1rem;
    left: 0;
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 700;
}

/* 8. Page hero ------------------------------------------------------------ */

.page-hero {
    position: relative;
    padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(3rem, 6vw, 5.5rem);
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(240, 179, 35, 0.13), transparent 60%),
        var(--ink-950);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent 60%);
}

.page-hero--image {
    padding-bottom: clamp(4rem, 9vw, 8rem);
}

.page-hero__media {
    position: absolute;
    inset: 0;
}

.page-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: hero-zoom 12s var(--ease) both;
}

.page-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 9, 20, 0.94) 0%, rgba(6, 9, 20, 0.7) 50%, rgba(6, 9, 20, 0.35) 100%),
        linear-gradient(0deg, rgba(6, 9, 20, 0.85), transparent 50%);
}

.page-hero__inner {
    position: relative;
}

.breadcrumbs {
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    color: var(--text-dim);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 0.75rem;
    color: var(--gold);
}

.breadcrumbs a:hover {
    color: var(--gold);
}

.breadcrumbs [aria-current] {
    color: var(--text);
}

.page-hero__title {
    max-width: 17ch;
    font-size: clamp(2.75rem, 6.6vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
}

.page-hero__title--article {
    max-width: 22ch;
    font-size: clamp(2.25rem, 4.6vw, 4.25rem);
    line-height: 1.05;
}

.page-hero__text {
    max-width: 38rem;
    margin-top: 1.75rem;
    color: rgba(236, 233, 226, 0.8);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.page-hero--article {
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.page-hero--article::after {
    display: none;
}

/* 9. Forms & planner ------------------------------------------------------ */

.form-card {
    padding: clamp(1.5rem, 4vw, 3.5rem);
    background: var(--ink-800);
    border: 1px solid var(--line);
}

.form-card__intro {
    margin: 0.75rem 0 2rem !important;
    font-size: 0.95rem;
}

.form-card__intro a,
.form-note a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.form-grid--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 28rem;
    margin-top: 2rem;
}

.field--wide,
.form-grid__actions {
    grid-column: 1 / -1;
}

.form-grid__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 2rem;
}

.field label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

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

.field label small,
.planner__sub small {
    margin-left: 0.4rem;
    color: var(--text-dim);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.field input,
.field textarea {
    width: 100%;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 0;
    color: var(--text);
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

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

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(164, 169, 192, 0.6);
}

.field input:hover,
.field textarea:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.field input:focus,
.field textarea:focus {
    outline: 0;
    background: rgba(240, 179, 35, 0.05);
    border-color: var(--gold);
}

.field--error input,
.field--error textarea {
    border-color: var(--danger);
}

.field__error {
    margin: 0.5rem 0 0 !important;
    color: var(--danger) !important;
    font-size: 0.85rem;
}

.form-note {
    margin: 0 !important;
    color: var(--text-dim);
    font-size: 0.82rem;
    line-height: 1.5;
}

.form-note--ok {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ok) !important;
}

.form-note--error {
    color: var(--danger) !important;
}

.form-alert {
    margin: 0 0 1.75rem !important;
    padding: 1rem 1.25rem;
    background: rgba(255, 138, 122, 0.08);
    border-left: 2px solid var(--danger);
    color: var(--danger) !important;
    font-size: 0.95rem;
}

.form-success {
    display: grid;
    justify-items: start;
    gap: 1rem;
    padding-block: clamp(1rem, 4vw, 3rem);
}

.form-success__icon {
    display: grid;
    place-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: var(--gold);
    color: var(--ink-950);
    border-radius: 50%;
}

.form-success p {
    max-width: 34rem;
    margin: 0;
}

/* Contact */
.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.contact-cards {
    display: grid;
    border-top: 1px solid var(--line);
}

.contact-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--line);
}

.contact-card__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 3.25rem;
    height: 3.25rem;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
}

.contact-card__label {
    margin-bottom: 0.4rem;
    color: var(--text-dim);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.contact-card address,
.contact-card__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.contact-card__value:hover {
    color: var(--gold);
}

.contact-card .link-arrow {
    margin-top: 1rem;
    font-size: 0.72rem;
}

.map {
    height: clamp(20rem, 45vw, 30rem);
    background: var(--ink-800);
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) invert(0.92) contrast(0.9) hue-rotate(190deg);
}

/* Build planner */
.planner__grid {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
}

.planner__aside {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
}

.planner__steps,
.planner__bar {
    display: none;
}

.planner.is-enhanced .planner__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.planner__steps li {
    color: var(--text-dim);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.4s var(--ease);
}

.planner__steps li span {
    display: block;
    margin-bottom: 0.2rem;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0;
}

.planner__steps li.is-active,
.planner__steps li.is-done {
    color: var(--gold);
}

.planner.is-enhanced .planner__bar {
    display: block;
    height: 2px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    background: var(--line);
}

.planner__bar i {
    display: block;
    width: 25%;
    height: 100%;
    background: var(--gold);
    transition: width 0.6s var(--ease);
}

.planner__step + .planner__step {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--line);
}

.planner.is-enhanced .planner__step {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
}

.planner.is-enhanced .planner__step.is-current {
    display: block;
    animation: card-in 0.5s var(--ease);
}

.planner__step legend {
    margin-bottom: 1.75rem;
    padding: 0;
}

.planner__sub {
    margin: 2.25rem 0 1rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

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

.choice,
.pill {
    position: relative;
    display: block;
    cursor: pointer;
}

.choice input,
.pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice__box {
    position: relative;
    display: grid;
    gap: 0.9rem;
    height: 100%;
    padding: 1.4rem 1.25rem;
    border: 1px solid var(--line);
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.choice:hover .choice__box {
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.choice__icon {
    color: var(--gold);
}

.choice__label {
    padding-right: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.choice__desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.55;
}

.choice__tick {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--gold);
    color: var(--ink-950);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.choice input:checked + .choice__box {
    background: rgba(240, 179, 35, 0.08);
    border-color: var(--gold);
}

.choice input:checked + .choice__box .choice__tick {
    opacity: 1;
    transform: none;
}

.choice input:focus-visible + .choice__box,
.pill input:focus-visible + span {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pill span {
    display: block;
    padding: 0.8rem 1.3rem;
    border: 1px solid var(--line);
    border-radius: 99px;
    font-size: 0.92rem;
    font-weight: 600;
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.pill:hover span {
    border-color: rgba(255, 255, 255, 0.4);
}

.pill input:checked + span {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink-950);
}

.planner__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: clamp(2rem, 4vw, 3rem);
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.planner__actions .btn:only-child,
.planner__actions [data-planner-back][hidden] ~ .btn {
    margin-left: auto;
}

.planner__hint {
    text-align: right;
}

/* 10. Services & process -------------------------------------------------- */

.service-row {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
}

.service-row + .service-row {
    margin-top: var(--section);
}

.service-row--flip .service-row__media {
    order: 2;
}

.service-row__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ink-800);
}

.service-row__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease);
}

.service-row:hover .service-row__media img {
    transform: scale(1.05);
}

.service-row__num {
    display: block;
    margin-bottom: 1rem;
    color: transparent;
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    line-height: 0.9;
    -webkit-text-stroke: 1px var(--gold);
}

.service-row .h2 {
    font-size: clamp(2.1rem, 3.8vw, 3.5rem);
}

.service-row .h2 a:hover {
    color: var(--gold);
}

.service-row__tag {
    margin: 0.75rem 0 1.5rem !important;
    color: var(--gold) !important;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.3;
}

.service-detail__grid,
.project-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}

.service-detail__aside {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
}

.service-detail__main .lead {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--gold);
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    line-height: 1.35;
}

.feature-box {
    margin-top: 3.5rem;
    padding: clamp(1.5rem, 3vw, 2.75rem);
    background: var(--ink-800);
    border: 1px solid var(--line);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 2.5rem;
    margin-top: 1.75rem;
}

.feature-grid li {
    display: flex;
    gap: 0.85rem;
    color: var(--text);
    font-weight: 500;
    line-height: 1.5;
}

.feature-grid .icon {
    margin-top: 0.2em;
    color: var(--gold);
}

/* Process timeline */
.timeline {
    position: relative;
    display: grid;
    gap: clamp(2rem, 4vw, 3.5rem);
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2.5rem;
    width: 1px;
    background: linear-gradient(180deg, var(--gold), var(--line) 85%, transparent);
}

.timeline__item {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr);
    gap: clamp(1.25rem, 4vw, 4rem);
}

.timeline__num {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    display: grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--ink-900);
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.9rem;
}

.timeline__card {
    padding: clamp(1.5rem, 4vw, 3.5rem);
    background: var(--ink-800);
    border: 1px solid var(--line);
}

.timeline__icon {
    display: inline-block;
    margin-bottom: 1.25rem;
    color: var(--gold);
}

.timeline__card .h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.9rem, 3.2vw, 2.9rem);
}

.timeline__card .check-list {
    margin-bottom: 0;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}

.mini-services {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.mini-service {
    position: relative;
    display: grid;
    align-content: start;
    gap: 0.6rem;
    height: 100%;
    padding: clamp(1.5rem, 2.5vw, 2.25rem);
    background: var(--ink-950);
    transition: background-color 0.4s var(--ease);
}

.mini-service:hover {
    background: var(--ink-800);
}

.mini-service__icon {
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.mini-service__title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1.15;
}

.mini-service__text {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.55;
}

.mini-service__arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--text-dim);
    transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.mini-service:hover .mini-service__arrow {
    color: var(--gold);
    transform: translate(3px, -3px);
}

.safety__grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
}

.safety__icon {
    display: grid;
    place-items: center;
    width: clamp(9rem, 18vw, 15rem);
    aspect-ratio: 1;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    box-shadow: 0 0 0 1.25rem rgba(240, 179, 35, 0.06), 0 0 0 2.5rem rgba(240, 179, 35, 0.03);
}

.safety__grid .h2 {
    margin-bottom: 1.5rem;
}

.safety__grid .lead {
    max-width: 44rem;
}

/* 11. Projects & gallery -------------------------------------------------- */

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.filter-chip {
    padding: 0.75rem 1.4rem;
    border: 1px solid var(--line);
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.filter-chip sup {
    margin-left: 0.25rem;
    color: var(--gold);
    font-size: 0.65rem;
}

.filter-chip:hover {
    border-color: var(--gold);
}

.filter-chip.is-active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink-950);
}

.filter-chip.is-active sup {
    color: inherit;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 0.75rem;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.gallery__item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ink-800);
    cursor: zoom-in;
}

.gallery__item--lead {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 8;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.gallery__item:hover img {
    transform: scale(1.04);
}

.gallery__zoom {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    background: rgba(6, 9, 20, 0.7);
    border: 1px solid var(--line);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.gallery__item:hover .gallery__zoom {
    background: var(--gold);
    color: var(--ink-950);
}

.project-detail__main .lead {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    line-height: 1.3;
}

.project-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-block: 1px solid var(--line);
}

.project-nav__link {
    position: relative;
    display: grid;
    align-content: center;
    gap: 0.6rem;
    min-height: 15rem;
    padding: 2.5rem var(--gutter);
    overflow: hidden;
}

.project-nav__link + .project-nav__link {
    border-left: 1px solid var(--line);
}

.project-nav__link--next {
    justify-items: end;
    text-align: right;
}

.project-nav__link img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: brightness(0.35);
    transform: scale(1.08);
    transition: opacity 0.6s var(--ease), transform 1.2s var(--ease);
}

.project-nav__link:hover img {
    opacity: 1;
    transform: none;
}

.project-nav__label,
.project-nav__title {
    position: relative;
}

.project-nav__label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.project-nav__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.1;
}

/* Lightbox (built by site.js) */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    grid-template-rows: 1fr auto;
    place-items: center;
    gap: 1rem;
    padding: 4.5rem var(--gutter) 1.5rem;
    background: rgba(4, 6, 14, 0.97);
    animation: lightbox-in 0.35s var(--ease);
}

@keyframes lightbox-in {
    from {
        opacity: 0;
    }
}

.lightbox__img {
    max-width: 100%;
    max-height: calc(100vh - 11rem);
    object-fit: contain;
    animation: card-in 0.5s var(--ease);
}

.lightbox__caption {
    display: flex;
    gap: 1.5rem;
    color: var(--text-dim);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
}

.lightbox__caption b {
    color: var(--gold);
}

.lightbox__btn {
    position: absolute;
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(6, 9, 20, 0.6);
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.lightbox__btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink-950);
}

.lightbox__btn--close {
    top: 1rem;
    right: var(--gutter);
}

.lightbox__btn--prev {
    top: 50%;
    left: var(--gutter);
    transform: translateY(-50%);
}

.lightbox__btn--next {
    top: 50%;
    right: var(--gutter);
    transform: translateY(-50%);
}

/* 12. Journal ------------------------------------------------------------- */

.post-lead {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 5rem);
    margin-bottom: var(--section);
}

.post-lead__media {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--ink-800);
}

.post-lead__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease);
}

.post-lead:hover .post-lead__media img {
    transform: scale(1.04);
}

.post-lead__flag {
    padding: 0.3rem 0.7rem;
    background: var(--gold);
    color: var(--ink-950);
}

.post-lead .h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    line-height: 1.08;
}

.post-lead .h2 a:hover {
    color: var(--gold);
}

.post-lead .lead {
    margin-bottom: 2rem;
    color: var(--text-dim);
}

.article-cover {
    margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
    aspect-ratio: 21 / 9;
    overflow: hidden;
    background: var(--ink-800);
}

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

.article {
    max-width: 44rem;
    margin-inline: auto;
    padding-bottom: var(--section);
}

.article__progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 110;
    height: 3px;
}

.article__progress i {
    display: block;
    width: 0;
    height: 100%;
    background: var(--gold);
}

/* The opening paragraph of an article reads as its standfirst. */
.prose--article > p:first-child {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.35;
}

.article__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
}

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: clamp(3rem, 6vw, 5rem);
}

.pager ul {
    display: flex;
    gap: 0.4rem;
}

.pager li a {
    display: grid;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.pager li a:hover,
.pager li a[aria-current="page"] {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink-950);
}

.pager__step {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pager__step:hover {
    color: var(--gold);
}

.not-found {
    display: grid;
    place-items: center;
    min-height: 100svh;
    padding: calc(var(--header-h) + 3rem) 0 5rem;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(240, 179, 35, 0.14), transparent 60%),
        var(--ink-950);
    text-align: center;
}

.not-found__inner {
    display: grid;
    justify-items: center;
}

.not-found__code {
    margin: 0 0 1rem;
    color: transparent;
    font-family: var(--font-display);
    font-size: clamp(8rem, 26vw, 20rem);
    line-height: 0.8;
    -webkit-text-stroke: 1px var(--gold);
}

.not-found .eyebrow::after {
    content: "";
    width: 2.5rem;
    height: 1px;
    background: currentColor;
}

.not-found .lead {
    max-width: 34rem;
    margin: 1.5rem 0 2.5rem;
    color: var(--text-dim);
}

/* 13. Footer -------------------------------------------------------------- */

.site-footer {
    padding-top: clamp(4rem, 8vw, 7rem);
    background: var(--ink-950);
    border-top: 1px solid var(--line);
    color: var(--text-dim);
    font-size: 0.95rem;
}

.site-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(2rem, 6vw, 6rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
    border-bottom: 1px solid var(--line);
}

.site-footer__logo img {
    width: 14.5rem;
    margin-bottom: 1.75rem;
}

.site-footer__brand p {
    max-width: 30rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-style: italic;
    line-height: 1.4;
    color: var(--text);
}

.site-footer__heading {
    margin-bottom: 1.25rem;
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.social-list {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.75rem;
}

.social-list a {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text);
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.social-list a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink-950);
}

.newsletter-form {
    display: flex;
    margin: 1.25rem 0 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    transition: border-color 0.3s var(--ease);
}

.newsletter-form:focus-within {
    border-color: var(--gold);
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 1rem 0;
    background: none;
    border: 0;
    color: var(--text);
    font-size: 1.05rem;
}

.newsletter-form input:focus {
    outline: 0;
}

.newsletter-form button {
    display: grid;
    place-items: center;
    width: 3.25rem;
    color: var(--gold);
    transition: transform 0.3s var(--ease);
}

.newsletter-form button:hover {
    transform: translateX(4px);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem 2rem;
    padding-block: clamp(3rem, 6vw, 5rem);
}

.footer-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
}

.footer-links li {
    overflow-wrap: anywhere;
}

.footer-links a {
    transition: color 0.3s var(--ease);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-links__strong {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.75rem;
    line-height: 1.2;
}

.footer-contact {
    line-height: 1.8;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-block: 1.75rem;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__bottom p span {
    margin-left: 1.25rem;
    padding-left: 1.25rem;
    border-left: 1px solid var(--line);
}

.site-footer__bottom ul {
    display: flex;
    gap: 2rem;
}

.site-footer__bottom a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.site-footer__bottom a:hover {
    color: var(--gold);
}

.action-bar {
    display: none;
}

/* 14. Motion -------------------------------------------------------------- */

/* The .js class is set by boot.js; without JavaScript everything is simply visible. */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 1s var(--ease), transform 1s var(--ease);
        transition-delay: calc(var(--reveal-delay, 0) * 110ms);
    }

    /*
     * Image reveal: photos fade in while settling from a slight zoom. Opacity and
     * transform are used (not clip-path) so lazy-loading still sees the image.
     */
    .js [data-reveal="wipe"] {
        opacity: 1;
        transform: none;
    }

    .js [data-reveal="wipe"] > * {
        opacity: 0;
        transform: scale(1.08);
        transition: opacity 1.2s var(--ease), transform 1.8s var(--ease);
    }

    .js [data-reveal="wipe"] > :nth-child(n + 2) {
        transition-delay: 0.25s;
    }

    .js [data-reveal].is-visible,
    .js.reveal-all [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .js [data-reveal="wipe"].is-visible > *,
    .js.reveal-all [data-reveal="wipe"] > * {
        opacity: 1;
        transform: none;
    }

    [data-reveal-delay="1"] {
        --reveal-delay: 1;
    }

    [data-reveal-delay="2"] {
        --reveal-delay: 2;
    }

    [data-reveal-delay="3"] {
        --reveal-delay: 3;
    }

    [data-reveal-delay="4"] {
        --reveal-delay: 4;
    }

    .hero__eyebrow,
    .hero__title,
    .hero__text,
    .hero .btn-row,
    .hero__index,
    .hero__stats {
        animation: rise 1.2s var(--ease) both;
    }

    .hero__title {
        animation-delay: 0.12s;
    }

    .hero__text {
        animation-delay: 0.24s;
    }

    .hero .btn-row {
        animation-delay: 0.36s;
    }

    .hero__index,
    .hero__stats {
        animation-delay: 0.5s;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero__slide img {
        transform: none;
    }
}

/* 15. Responsive ---------------------------------------------------------- */

@media (max-width: 1399px) {
    .site-header__phone span {
        display: none;
    }
}

@media (max-width: 1180px) {
    .site-nav,
    .site-header__phone {
        display: none;
    }

    .menu-toggle {
        display: grid;
    }

    .site-header__logo img {
        width: 172px;
    }

    .hero__index {
        display: none;
    }

    .mini-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    :root {
        --header-h: 72px;
    }

    .intro__grid,
    .reasons__grid,
    .testimonials__inner,
    .faq-section,
    .contact__grid,
    .planner__grid,
    .service-row,
    .service-detail__grid,
    .project-detail__grid,
    .post-lead,
    .site-footer__top {
        grid-template-columns: minmax(0, 1fr);
    }

    .reasons__head,
    .faq-section__head,
    .planner__aside,
    .service-detail__aside {
        position: static;
    }

    .service-row--flip .service-row__media {
        order: 0;
    }

    .intro__media {
        max-width: 34rem;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-head--center {
        align-items: center;
    }

    .post-grid,
    .project-grid--3,
    .pillar-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .step-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Service panels become a stacked list */
    .svc-panels {
        flex-direction: column;
        height: auto;
    }

    .svc-panel,
    .svc-panel.is-active {
        flex: none;
        height: 17rem;
    }

    .svc-panel__img {
        filter: brightness(0.7);
    }

    .svc-panel__text,
    .svc-panel__more {
        max-height: 8rem;
        opacity: 1;
    }

    .svc-panel .svc-panel__title {
        font-size: 1.9rem;
    }

    .quote-slider__mark {
        display: none;
    }
}

@media (max-width: 719px) {
    .hero {
        min-height: max(100svh, 42rem);
    }

    .hero__slides::after {
        background: linear-gradient(0deg, rgba(6, 9, 20, 0.96) 0%, rgba(6, 9, 20, 0.7) 55%, rgba(6, 9, 20, 0.45) 100%);
    }

    .site-header__cta {
        display: none;
    }

    .stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat {
        padding: 1.1rem 0.75rem 1.1rem 0;
    }

    .stat:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .stat:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .stat__label {
        font-size: 0.68rem;
    }

    .btn-row .btn {
        flex: 1 1 100%;
    }

    .intro__badge {
        right: 0;
        width: 7rem;
        height: 7rem;
        font-size: 0.56rem;
    }

    .intro__badge b {
        font-size: 1.2rem;
    }

    .project-grid,
    .post-grid,
    .project-grid--3,
    .pillar-row,
    .reason-list,
    .form-grid,
    .feature-grid,
    .check-list--cols,
    .choice-grid--2,
    .mini-services,
    .project-nav {
        grid-template-columns: minmax(0, 1fr);
    }

    .project-grid:not(.project-grid--3) .project-grid__item:nth-child(3n + 1) .project-card__media {
        aspect-ratio: 4 / 3;
    }

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

    .choice-grid.choice-grid--2 {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .gallery__item--lead {
        aspect-ratio: 4 / 3;
    }

    .project-nav__link + .project-nav__link {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .project-nav__link {
        min-height: 10rem;
    }

    .timeline::before {
        left: 1.5rem;
    }

    .timeline__item {
        grid-template-columns: 3rem minmax(0, 1fr);
        gap: 1rem;
    }

    .timeline__num {
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }

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

    .planner.is-enhanced .planner__steps li {
        font-size: 0;
    }

    .planner.is-enhanced .planner__steps li span {
        font-size: 1.4rem;
    }

    .planner__actions .btn {
        flex: 1 1 auto;
    }

    .site-footer__bottom p span {
        display: block;
        margin: 0.25rem 0 0;
        padding: 0;
        border: 0;
    }

    .lightbox__btn--prev,
    .lightbox__btn--next {
        top: auto;
        bottom: 1rem;
        transform: none;
    }

    /* Sticky call / quote bar */
    body {
        padding-bottom: 3.75rem;
    }

    .action-bar {
        position: fixed;
        inset: auto 0 0;
        z-index: 80;
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        height: 3.75rem;
        background: var(--ink-950);
        border-top: 1px solid var(--line);
        transform: translateY(100%);
        transition: transform 0.5s var(--ease);
    }

    .action-bar.is-visible {
        transform: none;
    }

    .action-bar a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .action-bar__primary {
        background: var(--gold);
        color: var(--ink-950);
    }
}

@media print {
    .site-header,
    .mobile-menu,
    .action-bar,
    .cta-band,
    .site-footer__newsletter,
    .ticker {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }
}
