:root {
    color-scheme: light;
    --ink: #171715;
    --cocoa: #2d1b15;
    --muted: #5a554e;
    --paper: #fff;
    --off-white: #fff5e9;
    --orange: #ef8812;
    --bright: #ffb844;
    --coral: #f27335;
    --border: #e9dfd3;
    --gutter: clamp(1.125rem, 5vw, 4.5rem);
    --measure: 74rem;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    font-size: 100%;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b75800; outline-offset: 4px; }
.hero :focus-visible, .subhero :focus-visible, .site-footer :focus-visible { outline-color: #ffc682; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.07; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.2vw, 5rem); font-weight: 780; letter-spacing: -.073em; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 760; letter-spacing: -.065em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -.039em; }
p { text-wrap: pretty; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--measure)); margin: 0 auto; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 20; padding: .6rem 1rem; transform: translateY(-150%); background: var(--paper); }
.skip:focus { transform: translateY(0); }
.eyebrow { margin: 0 0 1.1rem; font-size: .875rem; font-weight: 750; letter-spacing: .085em; text-transform: uppercase; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.23rem); max-width: 37rem; }
.section { padding-block: clamp(3.5rem, 7.5vw, 7rem); }
.text-link {
    display: inline-block;
    width: fit-content;
    font-weight: 750;
    text-decoration-color: #b55600;
    text-decoration-thickness: 2px;
    text-underline-offset: .3em;
}
.text-link:hover { color: #9d4800; }
.button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: .6rem;
    padding: .63rem 1.13rem;
    background: linear-gradient(112deg, var(--orange), var(--bright));
    color: var(--ink);
    font: inherit;
    font-weight: 750;
    line-height: 1.28;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, box-shadow .2s ease;
}
.button:hover { background: var(--bright); }
.outline { border-color: #a97b5c; background: #2c1f1966; color: #fff; }
.outline:hover { background: #503126; }
.dark-button { background: var(--ink); color: #fff; }
.dark-button:hover { background: #35271e; }

.site-header {
    position: relative;
    z-index: 2;
    border-bottom: 3px solid var(--orange);
    border-image: linear-gradient(90deg, #9e3a21, var(--coral), var(--bright) 80%, #fff0ce) 1;
    background: #fffcf8;
}
.header-inner { display: flex; min-height: 5.05rem; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .42rem; flex-shrink: 0; text-decoration: none; }
.brand img { object-fit: contain; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 2vw, 1.8rem); }
.main-nav a, .mobile-menu a { font-weight: 650; text-decoration: none; font-size: .94rem; }
.main-nav a:hover, .main-nav [aria-current], .mobile-menu [aria-current] { text-decoration: underline; text-decoration-color: #b55600; text-decoration-thickness: 2px; text-underline-offset: .43em; }
.mobile-menu { display: none; }

.hero, .subhero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    color: white;
    background: radial-gradient(ellipse at 84% 28%, #632b16 0, #382019 35%, transparent 69%), #171411;
}
.hero::before, .subhero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent 0 31px, #ffab7227 31px 32px),
        repeating-linear-gradient(90deg, transparent 0 31px, #ffab7227 31px 32px);
    mask-image: linear-gradient(110deg, transparent 20%, #000 84%, transparent 100%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); align-items: center; gap: clamp(2rem, 4.5vw, 5rem); padding-block: clamp(3.75rem, 7vw, 6.25rem); }
.hero .eyebrow, .subhero .eyebrow { color: #ffae57; }
.hero h1 span { color: var(--bright); }
@supports (background-clip: text) {
    .hero h1 span {
        background: linear-gradient(105deg, #ffc857 8%, #ff9e4a 48%, #ff7953 95%);
        background-clip: text;
        color: transparent;
    }
}
.hero .lead { margin-top: 1.5rem; color: #e2ded9; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.75rem; }
.showcase { position: relative; isolation: isolate; padding: 10% 9% 4% 0; }
.showcase::before, .showcase::after {
    content: "";
    position: absolute;
    top: 47%;
    aspect-ratio: 1;
    transform: translateY(-50%);
    border-radius: 50%;
}
.showcase::before {
    z-index: -1;
    width: 76%;
    right: 2%;
    background: repeating-radial-gradient(circle, transparent 0 10%, #ffe5a078 10.2% 10.65%, transparent 10.9% 14%), linear-gradient(150deg, #ffb538 20%, #ef6e32 76%, #bc3729);
    box-shadow: 0 0 4rem #f97b3947;
}
.showcase::after { z-index: -2; width: 85%; right: -2.5%; border: 1px solid #ef946695; }
.web-frame, .phone-frame { overflow: hidden; background: #272421; box-shadow: 0 1.4rem 2.6rem #100805a8; }
.web-frame { border: .42rem solid #483226; border-radius: 1rem; }
.web-bar { display: flex; min-height: 1.75rem; align-items: center; gap: .24rem; padding-inline: .65rem; color: #4c3325; background: #fff2dd; font-size: .75rem; }
.web-bar i { width: .34rem; height: .34rem; flex: 0 0 auto; border-radius: 50%; background: #b9a997; }
.web-bar span { flex: 1; text-align: center; }
.web-photo, .phone-photo { position: relative; overflow: hidden; background: #42241c; }
.web-photo { aspect-ratio: 1.65; }
.web-photo img, .phone-photo img, .web-photo .project-graphic { width: 100%; height: 100%; object-fit: cover; }
.web-photo::after, .phone-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #230c0acc, #230c0a00 82%); }
.web-photo strong, .phone-photo strong { position: absolute; z-index: 1; left: 8%; top: 41%; transform: translateY(-35%); color: #fff0cf; font: italic clamp(1.25rem, 3.4vw, 3.55rem)/.98 Georgia, serif; }
.phone-frame { width: 25%; position: absolute; right: 0; bottom: 14%; border: .33rem solid #483226; border-radius: .9rem; transform: rotate(5deg); transform-origin: bottom center; }
.phone-photo { aspect-ratio: .56; }
.phone-photo img { object-position: 50% 50%; }
.phone-photo strong { font-size: clamp(.66rem, 1.46vw, 1.25rem); }
.showcase figcaption { position: relative; display: inline-block; margin-top: 1rem; padding: .35rem .67rem; border: 1px solid #d58c5c66; border-radius: .35rem; background: #271b16; color: #f3e4d3; font-size: .8125rem; }
.showcase figcaption a { text-underline-offset: .22em; }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-heading p { margin-top: .65rem; color: var(--muted); }
.section-heading > .text-link { flex-shrink: 0; }

.work-section { background: linear-gradient(155deg, #fff4e7, #fffdfa 72%); }
.work-section h2, .about-section h2 { text-decoration: underline; text-decoration-color: #ef881286; text-decoration-thickness: .09em; text-underline-offset: .18em; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2.1vw, 1.65rem); }
.project-card {
    --project-surface: #fff0e2;
    --project-edge: #eac5a7;
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid var(--project-edge);
    border-radius: 1rem;
    background: var(--project-surface);
    box-shadow: 0 .7rem 1.7rem #633a1a13;
    overflow: clip;
}
.project-card:nth-child(2) { --project-surface: #edf1e6; --project-edge: #c6d3bb; }
.project-card:nth-child(3) { --project-surface: #f9ecda; --project-edge: #e5c9a4; }
.project-picture { display: block; aspect-ratio: 1.55; overflow: hidden; background: #383028; }
.project-picture:focus-visible { outline-offset: -4px; outline-color: #ffc678; }
.project-picture img, .case-image img { width: 100%; height: 100%; object-fit: cover; }
.project-picture.fittalitas img, .case-image.fittalitas img { object-position: 50% 36%; }
.project-picture:hover img { transform: scale(1.04); }
.project-picture img { transition: transform .25s ease; }
.project-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: .62rem; padding: clamp(1rem, 2.25vw, 1.55rem); }
.project-copy h3 a { text-decoration: none; }
.project-copy h3 a:hover { text-decoration: underline; }
.category { color: #79400b; font-size: .875rem; font-weight: 750; }
.project-card:nth-child(2) .category { color: #39543b; }
.project-copy > p:not(.category) { color: var(--muted); }
.project-copy .text-link { margin-top: auto; padding-top: .6rem; }
.project-graphic { min-height: 100%; position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #633423, #2c2420); color: #ffecd2; }
.project-graphic::after { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 16px, #f0a95a15 17px 18px); }
.project-graphic i { position: absolute; z-index: -1; width: 40%; aspect-ratio: 1; border: 1px solid #eaa865; transform: rotate(45deg); }
.project-graphic i:nth-child(2) { width: 49%; opacity: .5; }
.project-graphic i:nth-child(3) { width: 58%; opacity: .25; }
.project-graphic span { font: 600 clamp(1.15rem, 2.2vw, 2.25rem)/1 Georgia, serif; }

.services-section { background: var(--off-white); }
.services-section:has(.service-grid) {
    background: radial-gradient(ellipse at 94% 32%, #ffca70 0, transparent 58%), linear-gradient(140deg, #ffd592, #ffb75c 55%, #f89243);
}
.services-section .section-heading p { color: #553620; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.service-card {
    position: relative;
    overflow: clip;
    isolation: isolate;
    padding: clamp(1.2rem, 2.8vw, 2rem);
    border: 1px solid #a55c283b;
    border-radius: .85rem;
    background: #fff8ee;
    box-shadow: 0 .35rem 1rem #73310f13;
}
.service-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 12rem;
    aspect-ratio: 1;
    right: -6.5rem;
    bottom: -8rem;
    border-radius: 50%;
    background: repeating-radial-gradient(circle, transparent 0 11px, #e4893e45 12px 13px, transparent 14px 20px), #ffdca775;
}
.service-card:nth-child(2n) { background: #fff0dc; }
.service-card:nth-child(2n)::after { border-radius: 2.3rem; transform: rotate(40deg); }
.service-card p { margin-block: .55rem .8rem; color: var(--muted); }
.about-section { background: linear-gradient(140deg, #fffdf9 20%, #ffefe0); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.about-grid > div > p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); }
.about-grid .text-link { margin-top: 1.1rem; }
.about-section .eyebrow { color: #934700; }
.about-section .about-grid > div:last-child {
    padding: clamp(1.1rem, 3.3vw, 2.2rem);
    border: 1px solid #edd4ba;
    border-radius: 1rem;
    background: #fffbf6;
}
.process-title { margin-bottom: .85rem; }
.process { padding: 0; margin: 0; list-style: none; }
.process li { padding: .85rem 0 .85rem 1.05rem; border-top: 1px solid var(--border); position: relative; }
.process li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: .4rem; height: .4rem; border-radius: 50%; background: var(--orange); }
.process li h3 { font-size: 1.08rem; }
.process li p { margin-top: .35rem; color: var(--muted); }

.contact-band {
    background:
        repeating-radial-gradient(circle at 91% 130%, transparent 0 23px, #bb4a242e 24px 25px, transparent 26px 39px),
        linear-gradient(115deg, #ffbf5c, #f88940 64%, #f27c4e);
}
.contact-band-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem; padding-block: clamp(2.75rem, 6vw, 5rem); }
.contact-band .eyebrow { margin-bottom: .6rem; }
.contact-band h2 + p { margin-top: .75rem; }
.contact-actions { display: grid; gap: .55rem; justify-items: start; }
.contact-actions > a:not(.button) { font-weight: 700; }
.site-footer { background: linear-gradient(90deg, var(--ink), var(--cocoa)); color: #e9e1d7; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.5fr auto; align-items: start; gap: 2rem; padding-block: 2.4rem; }
.site-footer .brand { padding: .36rem .48rem; background: white; border-radius: .25rem; }
.footer-inner p { margin-top: .45rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; column-gap: 1rem; row-gap: .4rem; }
.footer-inner nav a, .footer-contact a { text-decoration-color: #a99d8c; text-underline-offset: .23em; }
.footer-contact { display: grid; }

.subhero .wrap { padding-block: clamp(3.3rem, 7vw, 6.8rem); }
.subhero .lead { margin-top: 1.15rem; color: #e2ded9; max-width: 49rem; }
.subhero h1 { max-width: 72rem; }
.service-detail { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 6vw, 6rem); padding: clamp(1.4rem, 4vw, 3rem); border: 1px solid var(--border); border-inline-start: .25rem solid var(--coral); border-radius: .8rem; background: #fffbf7; scroll-margin-top: 1rem; }
.service-detail + .service-detail { margin-top: 1rem; }
.service-detail:nth-child(2n) { background: #fff2e2; border-inline-start-color: var(--orange); }
.service-detail h2, .case-copy h2, .profile h2, .contact-grid h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); }
.service-detail .summary { margin-top: .75rem; color: var(--muted); }
.service-detail ul { padding-left: 1.2rem; }
.service-detail li + li { margin-top: .35rem; }
.reference-detail { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
.case { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(1.2rem, 5vw, 4rem); align-items: center; scroll-margin-top: 1rem; }
.case-image { height: auto; aspect-ratio: 1.55; overflow: hidden; border-radius: 1rem; background: #3c3025; box-shadow: 0 .7rem 1.7rem #633a1a18; }
.case-copy .eyebrow { color: #934700; margin-bottom: .7rem; }
.case-copy p:not(.eyebrow) { margin-top: .85rem; }
.case-copy .summary { font-weight: 700; }
.case-copy .text-link { margin-top: .95rem; }
.profile-card { background: linear-gradient(130deg, #fff6ea, #ffdfb4); padding: clamp(1.3rem, 4vw, 2.5rem); border: 1px solid var(--border); border-radius: .9rem; }
.profile-card img { margin-bottom: .75rem; }
.services-section h2 + .process { margin-top: 1.4rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(1.6rem, 6vw, 5rem); }
.contact-list { margin: 1rem 0; }
.contact-list > div { padding-block: .65rem; border-top: 1px solid var(--border); }
.contact-list dt { font-weight: 750; }
.contact-list dd { margin: 0; }
.inquiry { padding: clamp(1.1rem, 3.3vw, 2rem); background: linear-gradient(145deg, #fff8ed, #ffe9cf); border: 1px solid var(--border); border-radius: .9rem; }
.inquiry > p { margin-block: .75rem 1.1rem; color: var(--muted); }
.inquiry form, .fields { display: grid; gap: .9rem; }
.fields { grid-template-columns: 1fr 1fr; }
.inquiry label { display: grid; align-content: start; gap: .35rem; font-weight: 650; }
.inquiry input, .inquiry select, .inquiry textarea { min-width: 0; max-width: 100%; width: 100%; padding: .65rem .7rem; border: 1px solid #81796d; border-radius: .25rem; background: #fff; font: inherit; font-weight: 400; color: var(--ink); }
.inquiry select { appearance: none; padding-right: 2rem; background: linear-gradient(45deg,transparent 50%,var(--ink) 50%) calc(100% - 1.02rem) 52% / .32rem .32rem no-repeat, linear-gradient(135deg,var(--ink) 50%,transparent 50%) calc(100% - .7rem) 52% / .32rem .32rem no-repeat, #fff; }
.inquiry textarea { resize: vertical; }
.inquiry button { justify-self: start; }

@media (max-width: 58rem) {
    .main-nav, .header-cta { display: none; }
    .header-inner { min-height: 4.1rem; }
    .mobile-menu { display: block; }
    .mobile-menu summary { font-weight: 750; cursor: pointer; padding: .5rem .65rem; border: 1px solid var(--border); border-radius: .22rem; }
    .mobile-menu nav { position: absolute; inset: 100% 0 auto; display: grid; padding: .5rem var(--gutter) 1rem; background: #fff; box-shadow: 0 .7rem 1rem #16120b22; }
    .mobile-menu nav a { display: block; padding-block: .58rem; }
    .hero-inner { gap: 1.45rem; }
    .hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
}

@media (max-width: 43rem) {
    .hero-inner, .about-grid, .case, .service-detail, .contact-grid, .contact-band-inner { grid-template-columns: minmax(0, 1fr); }
    .hero h1 { max-width: 11em; font-size: clamp(2.42rem, 8.6vw, 3.75rem); letter-spacing: -.062em; }
    .hero-inner { padding-block: 3rem 2.5rem; gap: 1.75rem; }
    .showcase { width: min(100%, 31rem); justify-self: center; }
    .section-heading { align-items: start; flex-direction: column; gap: .65rem; }
    .project-grid { grid-template-columns: minmax(0, 1fr); }
    .project-picture { aspect-ratio: 1.62; }
    .service-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 26rem) {
    .hero h1 span { font-size: min(1em, 9.8vw); }
    .fields { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}

@keyframes slide-in {
    from { opacity: .12; transform: translateX(var(--slide-offset)); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
    main { overflow-x: clip; }

    .hero-copy, .subhero .wrap, .showcase, .motion-enter {
        --slide-offset: calc(-1 * clamp(1.5rem, 5vw, 4.5rem));
        animation: slide-in .75s cubic-bezier(.2, .72, .25, 1) both;
    }

    .showcase, .project-picture.motion-enter, .case-image.motion-enter,
    .service-card:nth-child(even).motion-enter, .service-detail > div:nth-child(2).motion-enter,
    .about-grid > div:nth-child(2).motion-enter, .contact-grid > div:nth-child(2).motion-enter,
    .contact-band-inner > div:nth-child(2).motion-enter, .tech-tile:nth-child(even).motion-enter {
        --slide-offset: clamp(1.5rem, 5vw, 4.5rem);
    }

    .showcase { animation-delay: .11s; }
    .project-picture.motion-enter, .case-image.motion-enter { animation-duration: .88s; }

    .hero-copy:focus-within, .showcase:focus-within, .motion-enter:focus-within {
        animation: none;
    }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .project-card, .service-card {
        transition: translate .22s ease, box-shadow .22s ease;
    }

    .project-card:hover, .service-card:hover {
        translate: 0 -4px;
        box-shadow: 0 1rem 1.8rem #633a1a24;
    }
}

.tech-preview {
    background: radial-gradient(ellipse at 90% 10%, #71351c, transparent 64%), var(--ink);
    color: #fff;
}
.tech-preview .eyebrow, .tech-preview .text-link { color: #ffbc75; }
.tech-preview .text-link:hover { color: #ffe2ba; }
.tech-preview .section-heading p:not(.eyebrow) { color: #f0e4da; max-width: 38rem; }
.tech-preview :focus-visible { outline-color: #ffc682; }

.tech-strip, .tech-cards {
    display: grid;
    gap: .85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tech-strip { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.tech-tile {
    min-width: 0;
    padding: 1rem;
    border: 1px solid #e7d9c9;
    border-radius: .75rem;
    background: #fffcf8;
    color: var(--ink);
}
.tech-strip .tech-tile { display: grid; place-items: center; gap: .55rem; font-weight: 750; text-align: center; }
.tech-tile img { object-fit: contain; }
.tech-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
.tech-cards .tech-tile { display: grid; align-content: start; gap: .65rem; }
.tech-cards .tech-tile p, .tech-group > div > p { color: var(--muted); }

.tech-details { display: grid; gap: 1.35rem; }
.tech-group {
    display: grid;
    grid-template-columns: minmax(13rem, 2fr) minmax(0, 5fr);
    gap: clamp(1.2rem, 3vw, 2.25rem);
    align-items: start;
    border: 1px solid var(--border);
    border-inline-start: .25rem solid var(--coral);
    background: var(--off-white);
    border-radius: .85rem;
    padding: clamp(1.15rem, 3vw, 2rem);
}
.tech-group h2 { font-size: clamp(1.45rem, 2.75vw, 2.4rem); margin-bottom: .65rem; }
.technical-examples { margin: 1.25rem 0; padding: 1.1rem; border-radius: .55rem; background: #fff1e0; }
.technical-examples dl { margin: 1rem 0; }
.technical-examples dt { font-weight: 720; }
.technical-examples dd { margin: .2rem 0 .72rem; }
.contact-forms { display: grid; gap: 1.35rem; }
.contact-forms .inquiry { scroll-margin-top: 1rem; }
.consultation { border-inline-start: .25rem solid var(--coral); }
@media (max-width: 65rem) {
    .tech-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .main-nav { gap: .85rem; }
}
@media (max-width: 54rem) {
    .tech-group { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 36rem) {
    .tech-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .consultation .fields { grid-template-columns: minmax(0, 1fr); }
}

.header-inner { width: min(calc(100% - 2 * var(--gutter)), 84rem); }
.main-nav { gap: clamp(.7rem, 1.35vw, 1.3rem); justify-content: flex-end; }
.main-nav .nav-cta { padding-inline: 1rem; }
.latest-project { padding-inline-end: 4%; }
.latest-project .web-frame { border-color: #4f3328; }
.latest-project .web-photo::after { content: none; }
.latest-project .web-photo img { object-position: center; }
.latest-project figcaption { font-size: .9rem; }

.service-overview h2 { font-size: clamp(1.45rem, 2.35vw, 2.1rem); }
.service-overview .service-kicker {
    color: #984719;
    font-size: .82rem;
    font-weight: 750;
    margin: 0 0 .6rem;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.expertise-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: clamp(1.8rem, 6vw, 5rem);
    align-items: center;
}
.expertise-hero h1 { font-size: clamp(2.2rem, 5.5vw, 4.75rem); overflow-wrap: anywhere; }
.expertise-hero .eyebrow a { text-underline-offset: .2em; }
.expertise-map {
    padding: clamp(1rem, 3vw, 2rem);
    background: linear-gradient(145deg, #3c271e, #231b17);
    border: 1px solid #8f5638;
    border-radius: 1rem;
    color: #fff6ea;
}
.expertise-map h2 { font-size: 1.55rem; margin-bottom: 1rem; }
.expertise-map ol { list-style: none; margin: 0; padding: 0 0 0 1rem; border-inline-start: 2px solid #f9a344; }
.expertise-map li { position: relative; display: grid; gap: .33rem; }
.expertise-map li + li { margin-top: 1rem; }
.expertise-map li::before {
    content: "";
    position: absolute;
    width: .5rem;
    height: .5rem;
    inset: .48rem auto auto -1.3rem;
    border-radius: 50%;
    background: #ffd08c;
}
.expertise-map li span { color: #f4dfcf; font-size: .94rem; }
.expertise-scenario, .expertise-outcome {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    align-items: start;
    gap: clamp(1rem, 4vw, 4.25rem);
}
.expertise-scenario p { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); }
.expertise-section { background: var(--off-white); }
.expertise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.expertise-card {
    padding: clamp(1rem, 2.5vw, 1.9rem);
    border: 1px solid var(--border);
    border-inline-start: 3px solid var(--coral);
    border-radius: .7rem;
    background: #fffcf8;
}
.expertise-card p, .expertise-outcome p { margin-top: .7rem; color: var(--muted); }
.expertise-outcome { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.expertise-outcome .button { justify-self: start; }
.request-notes { padding-inline-start: 1.2rem; }
.request-notes li + li { margin-top: .45rem; }

@media (max-width: 74rem) {
    .main-nav { display: none; }
    .mobile-menu { display: block; }
}
@media (min-width: 58.01rem) and (max-width: 74rem) {
    .mobile-menu summary { font-weight: 750; cursor: pointer; padding: .55rem .75rem; }
    .mobile-menu nav { position: absolute; inset: 100% 0 auto; display: grid; padding: .5rem var(--gutter) 1rem; background: #fff; box-shadow: 0 .7rem 1rem #16120b22; }
    .mobile-menu nav a { display: block; padding-block: .55rem; }
}
@media (max-width: 53rem) {
    .expertise-hero-grid, .expertise-scenario, .expertise-outcome { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 39rem) {
    .expertise-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
    .subhero .expertise-hero-grid { animation: none; }
    .expertise-hero-grid > div:first-child, .expertise-map {
        --slide-offset: calc(-1 * clamp(1.5rem, 5vw, 4.5rem));
        animation: slide-in .75s cubic-bezier(.2, .72, .25, 1) both;
    }
    .expertise-map, .expertise-card:nth-child(even).motion-enter {
        --slide-offset: clamp(1.5rem, 5vw, 4.5rem);
    }
}

.service-jump {
    background: #fff5e7;
    border-bottom: 1px solid #ecd8bf;
}
.service-jump .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem 1.3rem;
    padding-block: .9rem;
}
.service-jump a {
    color: #683715;
    font-weight: 700;
    text-underline-offset: .22em;
}
.service-jump a:hover { color: #a34710; }
.service-uses { background: #fffcf8; }
.service-intro {
    max-width: 53rem;
    display: grid;
    gap: 1rem;
}
.service-intro p, .service-decision p { font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.service-use-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-use-grid .expertise-card { background: #fff7ec; }
.service-decision {
    background: linear-gradient(145deg, #4f3020, #271b16);
    color: #fffaf3;
}
.service-decision .wrap {
    display: grid;
    gap: .85rem;
    padding-block: clamp(2.1rem, 5vw, 4rem);
}
.service-decision h2 { color: #ffc77e; }
.service-decision p { max-width: 54rem; }
.service-flow ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 2.65rem;
    padding: 0;
    margin: 1.6rem 0 0;
    list-style: none;
    counter-reset: service-step;
}
.service-flow li {
    position: relative;
    padding: 1.1rem 0 1rem 3.25rem;
    border-top: 1px solid #e8d6c4;
    counter-increment: service-step;
}
.service-flow li::before {
    content: counter(service-step, decimal-leading-zero);
    position: absolute;
    inset: 1.02rem auto auto 0;
    color: #94421b;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.service-flow li p { margin-top: .4rem; color: var(--muted); }
.service-flow + .expertise-outcome { border-top: 1px solid #edddcd; }
.service-faq { background: var(--off-white); }
.service-faq h2 { margin-bottom: 1.25rem; }
.service-question {
    margin-bottom: .75rem;
    background: #fffdf9;
    border: 1px solid #eadac9;
    border-radius: .6rem;
}
.service-question summary { padding: 1rem 1.15rem; cursor: pointer; font-weight: 725; }
.service-question summary::marker { color: #a75224; }
.service-question p { max-width: 63rem; padding: 0 1.15rem 1.1rem; color: var(--muted); }
.service-question[open] { border-color: #dbac7e; }

@media (max-width: 55rem) {
    .service-use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 39rem) {
    .service-flow ol, .service-use-grid { grid-template-columns: minmax(0, 1fr); }
}

.back-to-top {
    position: fixed;
    z-index: 20;
    inset-inline-end: max(1rem, env(safe-area-inset-right));
    inset-block-end: max(1rem, env(safe-area-inset-bottom));
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid #743414;
    border-radius: 50%;
    background: #ffab53;
    color: #23160f;
    box-shadow: 0 .25rem .9rem #26150c40;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}
.back-to-top:hover { background: #ffc47e; }
.back-to-top:focus-visible { outline: 2px solid #23160f; outline-offset: 2px; box-shadow: 0 0 0 5px #ffdab5; }
.back-to-top[hidden] { display: none; }

.service-detail-link { margin-top: 1.25rem; }
.about-company { align-self: start; }
.reference-gallery { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.reference-gallery .project-card { scroll-margin-top: 1.25rem; }
.reference-gallery .project-copy h2 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
.reference-gallery .project-copy .text-link { overflow-wrap: anywhere; }
.reference-cover { aspect-ratio: 1.8; }
.project-picture.portrait img { object-position: center top; }
.reference-gallery .project-copy .reference-credit { font-size: .8rem; }
.reference-note summary { cursor: pointer; font-weight: 700; }
.reference-note p { margin-top: .55rem; }

.form-status { margin: 0; overflow-wrap: anywhere; }
.form-status[data-state="error"] { color: #8f2d15; }
.form-status[data-state="success"] { color: #23583e; }
.inquiry button:disabled { cursor: wait; opacity: .72; }
