:root {
    --ink: #16171a;
    --ink-soft: #2b3138;
    --text: #252a31;
    --text-soft: #4a545d;
    --sand: #f3ecdf;
    --paper: #fffaf2;
    --clay: #c76f43;
    --clay-dark: #a5552d;
    --steel: #54737b;
    --mist: #d8e3e2;
    --line: rgba(22, 23, 26, 0.12);
    --line-strong: rgba(22, 23, 26, 0.24);
    --shadow: 0 18px 40px rgba(22, 23, 26, 0.10);
    --shadow-soft: 0 10px 24px rgba(22, 23, 26, 0.06);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: min(1180px, calc(100vw - 2rem));
    --header-height: 5.5rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    font-size: 17px;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(84, 115, 123, 0.18), transparent 28%),
        linear-gradient(180deg, #efe8dd 0%, #fffaf3 18%, #fffaf3 100%);
    line-height: 1.72;
    text-rendering: optimizeLegibility;
}

p,
li,
.faq-item__body,
.info-block span,
.problem-list__item span,
.benefit span,
.quote p,
.hero-card__figure span,
.form-note,
.status-message {
    color: var(--text-soft);
    font-size: 1rem;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

::selection {
    background: rgba(199, 111, 67, 0.2);
}

.site-shell {
    position: relative;
    overflow: hidden;
}

.site-shell::before,
.site-shell::after {
    content: "";
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: -1;
}

.site-shell::before {
    width: 28rem;
    height: 28rem;
    right: -10rem;
    top: 8rem;
    background: radial-gradient(circle, rgba(84, 115, 123, 0.16), transparent 68%);
}

.site-shell::after {
    width: 26rem;
    height: 26rem;
    left: -8rem;
    bottom: 10rem;
    background: radial-gradient(circle, rgba(199, 111, 67, 0.14), transparent 70%);
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
}

.eyebrow--dark {
    border-color: rgba(22, 23, 26, 0.12);
    background: rgba(84, 115, 123, 0.08);
    color: var(--steel);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(255, 250, 242, 0.92);
    border-bottom: 1px solid rgba(22, 23, 26, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    gap: 1rem;
}

main {
    padding-top: calc(var(--header-height) + 0.35rem);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-weight: 700;
    flex-shrink: 0;
}

.brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 6rem;
}

.brand__mark img {
    display: block;
    width: auto;
    height: 4.8rem;
    max-width: min(18rem, 40vw);
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.site-nav__links a {
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    color: rgba(22, 23, 26, 0.72);
    font-size: 0.94rem;
    font-weight: 600;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
    color: var(--ink);
    background: rgba(84, 115, 123, 0.1);
}

.menu-toggle {
    display: none;
    border: 1px solid rgba(22, 23, 26, 0.12);
    background: var(--paper);
    color: var(--ink);
    border-radius: 999px;
    padding: 0.65rem 0.95rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 3.25rem;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    background: var(--ink);
    color: white;
    box-shadow: var(--shadow-soft);
}

.button--primary:hover {
    background: #0f1012;
}

.button--secondary {
    background: transparent;
    color: var(--ink);
    border-color: rgba(22, 23, 26, 0.14);
}

.button--secondary:hover {
    background: rgba(84, 115, 123, 0.08);
}

.button--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.18);
}

.hero {
    position: relative;
    padding: 3rem 0 2.25rem;
}

.hero__panel {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(16, 21, 25, 0.96), rgba(44, 58, 64, 0.94)),
        #111519;
    color: white;
    padding: clamp(1.35rem, 3vw, 2.35rem);
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    box-shadow: var(--shadow);
}

.hero__panel::before,
.hero__panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__panel::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.4;
}

.hero__panel::after {
    background: radial-gradient(circle at top right, rgba(199, 111, 67, 0.28), transparent 28%);
}

.hero__copy,
.hero__aside {
    position: relative;
    z-index: 1;
}

.hero__aside {
    display: flex;
    align-items: center;
}

.hero h1,
.page-hero h1 {
    margin: 1rem 0 1rem;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.hero p,
.page-hero p {
    margin: 0 0 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 40rem;
    font-size: 1.08rem;
    line-height: 1.78;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
}

.hero-card {
    align-self: center;
    width: 100%;
    /*background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);*/
    border-radius: 26px;
    padding: 0.8rem;
}

.hero-slideshow {
    display: grid;
    gap: 0.85rem;
}

.hero-slideshow__track {
    position: relative;
    min-height: 21rem;
}

.hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(0.985);
    transition: opacity 260ms ease, transform 260ms ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    min-height: 21rem;
    object-fit: cover;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
}

.hero-slide figcaption {
    position: absolute;
    left: 0.8rem;
    bottom: 0.8rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(16, 21, 25, 0.78);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.84rem;
    font-weight: 700;
}

.hero-slideshow__nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.hero-slideshow__dot {
    width: 0.7rem;
    height: 0.7rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
}

.hero-slideshow__dot.is-active {
    background: white;
}

.trust-strip {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1rem;
}

.trust-strip__item {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.48);
    box-shadow: var(--shadow-soft);
}

.trust-strip__item strong {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

section {
    padding: 3.25rem 0;
}

.section-head {
    display: flex;
    gap: 1rem;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.section-head h2,
.section-head h3,
.page-section h2,
.cta-band h2,
.footer-cta h2 {
    margin: 0.4rem 0 0;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.section-head p,
.page-section p,
.footer-cta p {
    max-width: 42rem;
    margin: 0;
    color: var(--text-soft);
}

.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 1.2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
}

.card h3,
.card h4 {
    margin: 0.5rem 0 0.7rem;
    font-size: 1.3rem;
    line-height: 1.28;
}

.card p,
.card li {
    color: var(--text-soft);
}

.card ul {
    padding-left: 1.1rem;
    margin: 0.9rem 0 0;
}

.problem-layout {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.problem-note {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: 28px;
    background: linear-gradient(155deg, rgba(84, 115, 123, 0.12), rgba(255, 255, 255, 0.84));
    border: 1px solid var(--line);
}

.problem-note::before {
    content: "";
    position: absolute;
    inset: auto -2rem -2rem auto;
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    background: rgba(199, 111, 67, 0.12);
}

.problem-list {
    display: grid;
    gap: 1rem;
}

.problem-list__item {
    padding: 1.25rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--line);
}

.problem-list__item strong,
.benefit strong,
.process-step strong,
.info-block strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--ink-soft);
}

.service-card {
    display: grid;
    gap: 0.75rem;
}

.service-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.service-card__meta span,
.tag {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(84, 115, 123, 0.1);
    color: var(--steel);
    font-size: 0.82rem;
    font-weight: 700;
}

.benefit {
    padding: 1.1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
}

.drawing-grid,
.drawing-pair {
    display: grid;
    gap: 1rem;
}

.drawing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.drawing-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.drawing-card {
    overflow: hidden;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.drawing-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #fbfbfa;
}

.drawing-card figcaption {
    padding: 0.9rem 1rem 1rem;
}

.drawing-card strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--ink-soft);
}

.drawing-card span {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.drawing-feature {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
}

.drawing-stack {
    display: grid;
    gap: 1rem;
}

.process {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
    position: relative;
    padding: 1.35rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
}

.process-step__number {
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    margin-bottom: 0.85rem;
    border-radius: 999px;
    background: rgba(199, 111, 67, 0.14);
    color: var(--clay-dark);
    font-weight: 800;
}

.quote {
    padding: 1.6rem;
    border-radius: 28px;
    background: linear-gradient(160deg, rgba(22, 23, 26, 0.96), rgba(44, 58, 64, 0.96));
    color: white;
    box-shadow: var(--shadow);
}

.quote p {
    margin: 0;
    font-size: 1.04rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.78;
}

.quote strong {
    display: block;
    margin-top: 1rem;
    font-size: 0.95rem;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.74);
}

.faq-item__title {
    margin: 0;
    padding: 1.2rem 1.3rem 0;
    color: var(--ink);
    font-weight: 700;
}

.faq-item__body {
    padding: 0.75rem 1.3rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-soft);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-band,
.footer-cta {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: 32px;
    background: linear-gradient(140deg, rgba(84, 115, 123, 0.14), rgba(255, 255, 255, 0.88));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.cta-band::after,
.footer-cta::after {
    content: "";
    position: absolute;
    inset: auto -3rem -4rem auto;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    background: rgba(199, 111, 67, 0.12);
}

.cta-band__inner,
.footer-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.page-hero {
    padding: 2rem 0 0.8rem;
}

.page-hero__panel {
    border-radius: 32px;
    padding: 1.8rem;
    background: linear-gradient(155deg, rgba(22, 23, 26, 0.96), rgba(44, 58, 64, 0.95));
    color: white;
    box-shadow: var(--shadow);
}

.page-hero__panel p {
    max-width: 46rem;
}

.page-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.stack {
    display: grid;
    gap: 1rem;
}

.info-block {
    padding: 1rem 1.1rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.74);
}

.contact-layout {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form__row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
    display: grid;
    gap: 0.45rem;
}

.field label {
    font-size: 0.92rem;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid rgba(22, 23, 26, 0.16);
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    min-height: 3.25rem;
    font-size: 16px;
}

.field textarea {
    min-height: 10rem;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.menu-toggle:focus,
.button:focus,
.site-nav__links a:focus {
    outline: 3px solid rgba(84, 115, 123, 0.24);
    outline-offset: 2px;
}

.form-note,
.status-message {
    margin: 0;
    color: rgba(22, 23, 26, 0.72);
    font-size: 0.92rem;
}

.status-message[data-state="success"] {
    color: #1a6d4a;
}

.status-message[data-state="error"] {
    color: #8e2e1c;
}

.check-list {
    display: grid;
    gap: 0.8rem;
}

.check-list div {
    padding-left: 1.6rem;
    position: relative;
}

.check-list div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    background: var(--clay);
}

.site-footer {
    padding: 2.75rem 0 1.5rem;
}

.site-footer__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.7fr));
    padding-top: 2rem;
}

.site-footer__grid--centered {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
}

.site-footer__brand {
    text-align: center;
}

.site-footer__brand .utility-inline {
    justify-content: center;
}

.site-footer__grid h3,
.site-footer__grid h4 {
    margin-top: 0;
}

.site-footer__links {
    display: grid;
    gap: 0.65rem;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    color: rgba(22, 23, 26, 0.7);
    font-size: 0.92rem;
}

.utility-inline {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.muted {
    color: var(--text-soft);
}

.spacer-top {
    margin-top: 1rem;
}

.page-section {
    padding: 1.5rem 0 3rem;
}

@media (max-width: 980px) {
    .hero__panel,
    .problem-layout,
    .drawing-feature,
    .page-grid,
    .contact-layout,
    .site-footer__grid,
    .cta-band__inner,
    .footer-cta__inner {
        grid-template-columns: 1fr;
        display: grid;
    }

    .trust-strip,
    .grid-4,
    .process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .drawing-grid,
    .drawing-pair {
        grid-template-columns: 1fr;
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .section-head {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 16px;
    }

    .site-nav {
        position: relative;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav__links {
        position: absolute;
        right: 0;
        left: auto;
        top: calc(100% + 0.75rem);
        min-width: min(19rem, calc(100vw - 2rem));
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0.65rem;
        background: rgba(255, 250, 242, 0.98);
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: var(--shadow);
    }

    .site-nav[data-open="true"] .site-nav__links {
        display: flex;
    }

    .site-nav__links a {
        width: 100%;
        padding: 0.9rem 1rem;
    }

    .site-nav .button {
        display: none;
    }

    .hero {
        padding-top: 2rem;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(2.2rem, 11vw, 3.4rem);
    }

    .trust-strip,
    .grid-4,
    .process,
    .contact-form__row,
    .drawing-grid,
    .drawing-pair {
        grid-template-columns: 1fr;
    }

    .hero-card__grid {
        grid-template-columns: 1fr;
    }

    .hero-slideshow__track,
    .hero-slide img {
        min-height: 16rem;
    }

    .button-row {
        flex-direction: column;
        align-items: stretch;
    }

    .button-row .button {
        width: 100%;
    }

    .hero__meta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__meta span {
        width: 100%;
        justify-content: center;
    }

    section {
        padding: 2.5rem 0;
    }

    .site-footer__bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}