
:root {
    --charcoal: #29292b;
    --black: #232326;
    --panel: #353538;
    --line: #6c666a;
    --blush: #f0d6df;
    --cream: #f6eff1;
    --muted: #d4c7cd;
    --ink: #292528
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px
}

body {
    margin: 0;
    background: var(--charcoal);
    color: var(--cream);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5
}

body, html {
    max-width: 100%;
    overflow-x: clip
}

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

button {
    font: inherit;
    cursor: pointer
}

img {
    max-width: 100%
}

.wrap {
    width: min(1200px, calc(100% - 76px));
    margin: auto
}

header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #252528F0;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #514d50
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 70px
}

.logo {
    font-family: Georgia, serif;
    font-style: italic;
    color: var(--blush);
    font-size: 27px
}

.nav-links {
    display: flex;
    gap: 23px
}

.nav-links a {
    font-size: 12px;
    letter-spacing: .04em;
    color: #e8dfe3
}

.nav-links a:hover {
    color: var(--blush)
}

section {
    padding: 92px 0
}

.eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .19em;
    font-weight: 800;
    color: #f3c7d6;
    display: block;
    margin-bottom: 21px
}

h1, h2, h3, p {
    margin-top: 0
}

h1, h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: 1.08
}

h1 {
    font-size: clamp(60px, 8.2vw, 118px)
}

h2 {
    font-size: clamp(39px, 5.4vw, 73px)
}

h3 {
    font-size: 25px;
    line-height: 1.2
}

.lead {
    font-size: 17px;
    color: #e0d4da;
    line-height: 1.7;
    max-width: 650px
}

.script {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    color: var(--blush);
    font-weight: 400
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 23px;
    background: var(--blush);
    border: 1px solid var(--blush);
    color: #292528;
    font-weight: 750;
    font-size: 13px
}

.btn:hover {
    background: #fff1f5
}

.btn.secondary {
    background: transparent;
    color: #f3e5eb;
    border-color: #a899a1
}

.btn.secondary:hover {
    background: #454047
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px
}

.hero {
    padding: 80px 0 94px;
    background: radial-gradient(ellipse at 72% 23%, #4a4549 0%, transparent 47%), #29292b
}

.hero-grid {
    display: grid;
    grid-template-columns:1.13fr .87fr;
    align-items: center;
    gap: 60px
}

.hero h1 {
    margin-bottom: 25px
}

.hero-identity {
    font-weight: 800;
    font-size: 18px;
    color: #fff0f5;
    border-left: 4px solid #edb7c9;
    padding: 6px 0 6px 14px;
    margin: 0 0 17px
}

.hero-photo {
    margin: 0;
    background: #51484c;
    border: 1px solid #a48e99;
    position: relative;
    box-shadow: 14px 14px 0 #403a3e
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 525px;
    object-fit: contain;
    object-position: center bottom
}

.hero-photo figcaption {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: #f0d6df;
    color: #2e292b;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em
}

.ticker {
    border-block: 1px solid #6c6268;
    padding: 14px 0;
    color: #e8d5de;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden
}

.ticker .wrap {
    display: flex;
    justify-content: space-between;
    gap: 22px
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    border-bottom: 1px solid #72686e;
    padding-bottom: 28px;
    margin-bottom: 36px
}

.section-head h2 {
    margin: 0;
    max-width: 800px
}

.section-head .eyebrow {
    margin: 0 0 12px
}

.section-num {
    font-family: Georgia, serif;
    font-style: italic;
    color: #d7b2c0;
    font-size: 40px
}

.approach {
    background: #343235
}

.approach-intro {
    max-width: 750px;
    color: #e0d5d9;
    margin-bottom: 30px
}

.process {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 13px
}

.process article {
    border: 1px solid #777077;
    padding: 25px;
    min-height: 255px;
    display: flex;
    flex-direction: column
}

.process b {
    font-family: Georgia, serif;
    font-style: italic;
    color: #e8c0cd;
    font-size: 31px;
    font-weight: 400
}

.process h3 {
    margin-top: auto;
    margin-bottom: 12px;
    color: #f9edf1;
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 27px
}

.process p {
    font-size: 14px;
    color: #e1d6da;
    margin: 0
}

.skills {
    background: #f1dfe5;
    color: #302a2e
}

.skills .section-head {
    border-color: #b99da8
}

.skills .eyebrow {
    color: #81556a
}

.skills .section-num {
    color: #8e6476
}

.skills h2 {
    color: #332b30
}

.skills h2 .script {
    color: #95667b
}

.skill-grid {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 12px
}

.skill {
    border: 1px solid #bd9daa;
    background: #f8eef1;
    text-align: left;
    padding: 20px;
    min-height: 115px;
    display: flex;
    gap: 14px;
    align-items: center;
    color: #302b2e
}

.skill .symbol {
    font-family: Georgia, serif;
    font-size: 31px;
    color: #9d7181;
    min-width: 32px
}

.skill strong {
    font-size: 17px;
    line-height: 1.25
}

.skill:hover, .skill.active {
    background: white;
    border-color: #8f6677
}

.skill-detail {
    margin-top: 12px;
    background: #393539;
    color: #f5e9ee;
    padding: 25px;
    border-left: 4px solid #c998aa
}

.skill-detail h3 {
    margin-bottom: 9px;
    font-family: Georgia, serif;
    font-weight: 400
}

.skill-detail p {
    margin: 0;
    color: #e0d2d8
}

.projects {
    background: #2c2b2e
}

.case-grid {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 13px
}

.case-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #f5e8ed;
    color: #30292d;
    border: 1px solid #d8bcc7
}

.case-cover {
    height: 225px;
    background: #ebdce2;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch
}

.brand-tile {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 13px;
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, #ead9e0, #f7e9ed);
    color: #5b3e4c
}

.brand-wordmark {
    font-family: Georgia, serif;
    font-size: clamp(29px, 3.2vw, 45px);
    font-style: italic;
    line-height: 1.05;
    white-space: pre-line;
    letter-spacing: -.05em
}

.brand-subtitle {
    font-size: 10px;
    letter-spacing: .19em;
    text-transform: uppercase
}

.case-text {
    padding: 23px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.case-text .eyebrow {
    color: #835a6a;
    font-size: 10px;
    letter-spacing: .09em;
    margin-bottom: 13px
}

.case-text h3 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 24px;
    color: #30292d;
    margin-bottom: 15px
}

.case-text p {
    font-size: 13px;
    line-height: 1.6;
    color: #655961;
    margin-bottom: 20px
}

.outline-btn {
    margin-top: auto;
    align-self: flex-start;
    border: 1px solid #ad8696;
    color: #4c3440;
    background: transparent;
    padding: 11px 16px;
    font-size: 12px;
    font-weight: 800
}

.outline-btn:hover {
    background: #ead1da
}

.about {
    background: #383639
}

.about-grid {
    display: grid;
    grid-template-columns:1.12fr .88fr;
    gap: 60px;
    align-items: center
}

.about p {
    color: #e0d5da;
    line-height: 1.75
}

.about-photo {
    margin: 0;
    background: #534a4f;
    border: 1px solid #786c72;
    display: flex;
    justify-content: center
}

.about-photo img {
    width: 100%;
    height: auto;
    max-height: 660px;
    object-fit: contain
}

.about .eyebrow {
    margin-bottom: 18px
}

.about h2 {
    margin-bottom: 28px
}

.footer {
    background: #242426;
    padding: 95px 0 30px
}

.editorial-contact {
    display: grid;
    grid-template-columns:1.12fr .88fr;
    gap: 55px;
    align-items: center
}

.editorial-contact-main h2 {
    margin-bottom: 23px
}

.editorial-contact-main h2 em {
    color: #f0cbd8
}

.contact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px
}

.contact-tags span {
    font-size: 11px;
    border: 1px solid #786a72;
    padding: 9px 12px;
    color: #e9dce1
}

.contact-panel {
    padding: 32px;
    background: #f1dfe5;
    color: #30292d
}

.contact-panel .eyebrow {
    color: #83596b
}

.contact-panel h3 {
    font-family: Georgia, serif;
    font-weight: 400;
    color: #30292d;
    font-size: 38px
}

.contact-panel p {
    color: #665b60;
    font-size: 14px
}

.contact-action {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #bfa3af;
    padding: 16px 0;
    font-size: 13px;
    font-weight: 800
}

.contact-action span {
    font-size: 20px
}

.contact-note {
    border-top: 1px solid #bfa3af;
    padding-top: 18px;
    font-size: 11px;
    color: #776570
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #62575d;
    margin-top: 65px;
    padding-top: 20px;
    color: #cdbec5;
    font-size: 12px
}

/* Existing working modal/gallery/video interactions retained */
dialog {
    width: min(1000px, calc(100vw - 20px));
    max-height: 92dvh;
    border: 0;
    padding: 0;
    background: #faf4f6;
    color: #30282d;
    box-shadow: 0 30px 100px #0009
}

dialog::backdrop {
    background: #08080bcc
}

.dialog-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    background: #ead6de;
    gap: 12px
}

.dialog-head h3 {
    margin: 0;
    color: #30282d
}

.close {
    border: 0;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    background: white;
    color: #30282d;
    font-size: 26px
}

.dialog-body {
    padding: 26px;
    max-height: calc(92dvh - 75px);
    overflow: auto
}

.dialog-body h2, .dialog-body h3, .dialog-body h4 {
    color: #30282d
}

.dialog-body .eyebrow {
    color: #835a6a
}

.dialog-body p {
    color: #62565c
}

.case-detail-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 22px
}

.proof {
    background: #f1e1e7;
    border-left: 4px solid #a87b8d;
    padding: 18px;
    margin: 18px 0
}

.gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 15px 0
}

.gallery img {
    height: min(54dvh, 560px);
    max-width: 85%;
    width: auto;
    object-fit: contain;
    border: 1px solid #dcc8d0;
    cursor: zoom-in;
    scroll-snap-align: center
}

.gallery-note {
    font-size: 12px
}

.video-dialog {
    background: #19191b
}

.video-dialog .dialog-head {
    background: #302b30;
    color: white
}

.video-dialog video {
    display: block;
    width: 100%;
    max-height: 75dvh
}

.lightbox {
    width: min(96vw, 1200px);
    background: #18181b
}

.lightbox .dialog-head {
    background: #302b30;
    color: white
}

.lightbox img {
    display: block;
    max-width: 100%;
    max-height: 82dvh;
    margin: auto;
    object-fit: contain
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s, transform .6s
}

.reveal.visible {
    opacity: 1;
    transform: none
}

@media (max-width: 850px) {
    .wrap {
        width: calc(100% - 42px)
    }

    section {
        padding: 70px 0
    }

    .hero-grid, .about-grid, .editorial-contact {
        grid-template-columns:1fr;
        gap: 35px
    }

    .hero-photo {
        max-width: 560px;
        width: 100%;
        margin: auto
    }

    .hero-photo img {
        height: auto;
        max-height: 540px
    }

    .case-grid {
        grid-template-columns:1fr 1fr
    }

    .process {
        grid-template-columns:1fr
    }

    .process article {
        min-height: 0
    }

    .process h3 {
        margin-top: 24px
    }

    .skill-grid {
        grid-template-columns:1fr
    }

    .skill {
        min-height: 0
    }
}

@media (max-width: 590px) {
    html {
        scroll-padding-top: 66px
    }

    .wrap {
        width: calc(100% - 34px)
    }

    nav {
        min-height: 64px
    }

    .logo {
        font-size: 23px
    }

    .nav-links {
        gap: 13px
    }

    .nav-links a {
        font-size: 11px
    }

    .nav-links a:nth-child(2), .nav-links a:nth-child(3) {
        display: none
    }

    section {
        padding: 57px 0
    }

    .hero {
        padding: 45px 0 60px
    }

    h1 {
        font-size: clamp(51px, 11.7vw, 73px)
    }

    h2 {
        font-size: clamp(38px, 9.2vw, 57px)
    }

    .hero-identity {
        font-size: 16px
    }

    .lead {
        font-size: 15px
    }

    .actions {
        display: grid;
        grid-template-columns:1fr 1fr;
        gap: 9px
    }

    .actions .btn {
        padding: 13px 9px;
        font-size: 11px
    }

    .hero-photo {
        box-shadow: 8px 8px 0 #403a3e
    }

    .hero-photo img {
        max-height: 460px
    }

    .ticker .wrap {
        font-size: 10px;
        gap: 14px
    }

    .ticker .wrap span:last-child {
        display: none
    }

    .section-head {
        padding-bottom: 18px;
        margin-bottom: 25px
    }

    .section-num {
        font-size: 29px
    }

    .case-grid {
        grid-template-columns:1fr
    }

    .case-cover {
        height: 210px
    }

    .brand-wordmark {
        font-size: 42px
    }

    .case-text {
        padding: 22px
    }

    .case-text h3 {
        font-size: 24px
    }

    .about-photo img {
        max-height: none
    }

    .footer {
        padding: 65px 0 25px
    }

    .contact-panel {
        padding: 25px
    }

    .footer-bottom {
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 45px
    }

    .dialog-body {
        padding: 17px
    }

    .case-detail-grid {
        grid-template-columns:1fr;
        gap: 0
    }

    .gallery img {
        height: 49dvh;
        max-width: 88%
    }
}

@media (max-width: 365px) {
    .actions {
        grid-template-columns:1fr
    }

    .hero h1 {
        font-size: 46px
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }
}

#modal-tools {
    white-space: pre-line;
}


/* Reference-inspired editorial redesign: near-black, burgundy, champagne, compact grids */
:root {
    --charcoal: #130F11;
    --burgundy: #44151F;
    --rose: #A85C70;
    --champagne: #E9C7B5
}

html, body {
    background: #110D0F !important;
    color: #F4E8E5 !important
}

header {
    background: #100C0EEB !important;
    border-bottom: 1px solid #51323B !important
}

.logo {
    color: #E6B7AC !important;
    font-size: 23px !important;
    font-style: normal !important;
    letter-spacing: .06em !important
}

.nav-links a {
    color: #F0DCD9 !important
}

.eyebrow {
    color: #CDA69E !important;
    font-size: 10px !important;
    letter-spacing: .15em !important
}

h1, h2, h3 {
    color: #F2DEDA !important
}

.hero {
    background: radial-gradient(ellipse at 50% 55%, #4B1622 0%, #200D13 48%, #100C0E 100%) !important;
    padding: 35px 0 38px !important;
    min-height: 660px;
    overflow: hidden
}

.hero-grid {
    display: block !important;
    position: relative !important;
    min-height: 590px
}

.hero-grid > div:first-child {
    position: relative;
    z-index: 3;
    min-height: 590px;
    pointer-events: none
}

.hero-grid > div:first-child .actions, .hero-grid > div:first-child a {
    pointer-events: auto
}

.hero h1 {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: clamp(92px, 15vw, 235px) !important;
    letter-spacing: -.095em !important;
    line-height: .9 !important;
    color: #E6C5B3 !important;
    margin: 32px 0 0 !important;
    font-weight: 400 !important;
    white-space: nowrap
}

.hero .eyebrow {
    display: block !important;
    color: #D8B7AE !important
}

.hero-identity {
    position: absolute !important;
    top: 355px;
    left: 0;
    border: 0 !important;
    background: transparent !important;
    color: #F4E4DF !important;
    font-size: 19px !important;
    padding: 0 !important;
    font-weight: 700 !important
}

.hero .lead {
    position: absolute;
    left: 0;
    top: 395px;
    max-width: 300px !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: #E8D2CE !important
}

.hero .actions {
    position: absolute;
    top: 505px;
    left: 0;
    margin: 0 !important
}

.hero .btn {
    background: transparent !important;
    border: 1px solid #B68C88 !important;
    color: #F5E4DE !important;
    border-radius: 30px !important;
    padding: 11px 18px !important;
    font-size: 11px !important
}

.hero .btn:hover {
    background: #4B2530 !important
}

.hero-model {
    position: absolute !important;
    right: 10%;
    bottom: -38px;
    width: 49%;
    height: 530px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 2
}

.hero-model img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    mix-blend-mode: normal
}

.ticker {
    background: #210F16 !important;
    border-color: #603C45 !important;
    color: #D8B9B2 !important
}

section {
    padding: 66px 0 !important
}

.section-head {
    border-color: #5E454C !important;
    padding-bottom: 17px !important;
    margin-bottom: 23px !important
}

.section-head h2 {
    font-size: clamp(35px, 4.4vw, 57px) !important
}

.section-num {
    color: #9C6978 !important;
    font-size: 29px !important
}

.projects {
    background: #140F12 !important
}

.case-grid {
    gap: 0 !important;
    border: 1px solid #533940 !important
}

.case-card, .case-card:last-child {
    border: 0 !important;
    border-right: 1px solid #533940 !important;
    background: #20171B !important;
    color: #F2E2DF !important
}

.case-card:last-child {
    border-right: 0 !important
}

.case-cover {
    height: 210px !important;
    background: #3C2029 !important
}

.brand-tile {
    background: linear-gradient(145deg, #522B35, #25161D) !important;
    color: #E9C7B5 !important
}

.brand-wordmark {
    font-style: normal !important;
    letter-spacing: -.07em !important
}

.brand-subtitle {
    color: #E1B8B1 !important
}

.project-index {
    position: absolute;
    z-index: 3;
    top: 11px;
    left: 14px;
    font-family: Georgia, serif;
    font-size: 20px;
    color: #E8C3B6
}

.case-text {
    background: #20171B !important;
    color: #F0DCD9 !important;
    padding: 18px !important
}

.case-text h3 {
    font-size: 21px !important;
    color: #F2DAD5 !important
}

.case-text p {
    color: #CBB5B6 !important;
    font-size: 12px !important
}

.case-text .eyebrow {
    color: #D7A9A5 !important
}

.outline-btn {
    color: #E7C8C2 !important;
    border-color: #7B5961 !important;
    font-size: 11px !important
}

.outline-btn:hover {
    background: #442630 !important
}

.ref-process {
    background: #1C1418 !important
}

.process {
    gap: 0 !important;
    border: 1px solid #5A3B46 !important
}

.process article {
    border-right: 1px solid #5A3B46 !important;
    padding: 18px !important;
    min-height: 190px !important
}

.process article:last-child {
    border-right: 0 !important
}

.process b {
    font-size: 23px !important;
    color: #B88793 !important
}

.process h3 {
    font-size: 21px !important;
    margin-top: 23px !important
}

.process p {
    font-size: 12px !important;
    color: #CBB8B9 !important
}

.ref-tools {
    background: #1B1317 !important;
    color: #F3E3DF !important
}

.ref-tools h2, .ref-tools h2 .script {
    color: #E8C1B6 !important
}

.ref-tools .eyebrow {
    color: #D0A9A4 !important
}

.skill-grid {
    gap: 9px !important
}

.skill {
    background: #2B1E24 !important;
    border: 1px solid #503943 !important;
    color: #EAD9D6 !important;
    padding: 17px !important;
    min-height: 75px !important
}

.skill strong {
    color: #EAD9D6 !important;
    font-size: 14px !important
}

.skill .symbol {
    color: #D9A6A8 !important;
    font-size: 23px !important
}

.skill.active, .skill:hover {
    background: #512C39 !important;
    border-color: #9D6876 !important
}

.skill-detail {
    background: #261B20 !important;
    border-left-color: #B77988 !important
}

.about {
    background: #1A1116 !important
}

.about-photo {
    background: #32232B !important;
    border-color: #5D3E49 !important
}

.about-photo img {
    object-fit: contain !important
}

.ref-feedback {
    background: #1D1418 !important
}

.feedback-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 0;
    border: 1px solid #5D3E49
}

.feedback-quote {
    padding: 28px;
    border-right: 1px solid #5D3E49
}

.feedback-quote:last-child {
    border-right: 0
}

.feedback-quote p {
    font-family: Georgia, serif;
    font-size: 20px;
    line-height: 1.45;
    color: #F2DAD5
}

.feedback-quote small {
    color: #C39C9C;
    font-size: 11px
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 48px;
    color: #A96D7F;
    line-height: .8
}

.footer {
    background: #130E11 !important;
    border-top: 1px solid #5D3E49 !important
}

.contact-panel {
    background: #281B21 !important;
    border-color: #674753 !important;
    color: #F1DEDA !important
}

.contact-panel h3 {
    color: #F0DAD6 !important
}

.contact-panel p {
    color: #CBB5B6 !important
}

.contact-panel .eyebrow {
    color: #D3A6A3 !important
}

.contact-action {
    color: #F0DAD6 !important;
    border-color: #64434F !important
}

.contact-note {
    color: #C5A4A8 !important
}

.footer-bottom {
    border-color: #533A43 !important
}

dialog {
    background: #F8EFF0 !important;
    color: #34272D !important
}

.dialog-head h3, .dialog-body h2, .dialog-body h3 {
    color: #34272D !important
}

@media (max-width: 850px) {
    .hero {
        min-height: 700px !important
    }

    .hero-grid, .hero-grid > div:first-child {
        min-height: 630px !important
    }

    .hero h1 {
        font-size: clamp(80px, 16vw, 145px) !important
    }

    .hero-model {
        right: 0;
        width: 70%;
        height: 490px;
        bottom: -35px
    }

    .hero-identity {
        top: 285px
    }

    .hero .lead {
        top: 325px;
        max-width: 260px !important
    }

    .hero .actions {
        top: 450px
    }

    .case-grid {
        grid-template-columns:repeat(3, minmax(0, 1fr)) !important
    }

    .case-text h3 {
        font-size: 18px !important
    }
}

@media (max-width: 590px) {
    .hero {
        padding: 25px 0 30px !important;
        min-height: 670px !important
    }

    .hero-grid, .hero-grid > div:first-child {
        min-height: 610px !important
    }

    .hero h1 {
        font-size: clamp(65px, 17.2vw, 106px) !important;
        letter-spacing: -.105em !important;
        margin-top: 55px !important
    }

    .hero-model {
        right: -12%;
        width: 95%;
        height: 405px;
        bottom: 0
    }

    .hero-identity {
        top: 210px;
        font-size: 15px !important
    }

    .hero .lead {
        top: 247px;
        max-width: 225px !important;
        font-size: 12px !important;
        background: #170D12B8;
        padding: 8px
    }

    .hero .actions {
        top: 345px;
        display: flex !important;
        flex-direction: column;
        align-items: flex-start
    }

    .hero .btn {
        font-size: 10px !important;
        padding: 9px 13px !important
    }

    .case-grid {
        grid-template-columns:1fr !important
    }

    .case-card {
        border-right: 0 !important;
        border-bottom: 1px solid #533940 !important
    }

    .case-card:last-child {
        border-bottom: 0 !important
    }

    .case-cover {
        height: 190px !important
    }

    .process {
        display: block !important
    }

    .process article {
        border-right: 0 !important;
        border-bottom: 1px solid #5A3B46 !important;
        min-height: 0 !important
    }

    .process article:last-child {
        border-bottom: 0 !important
    }

    .feedback-grid {
        grid-template-columns:1fr
    }

    .feedback-quote {
        border-right: 0;
        border-bottom: 1px solid #5D3E49
    }

    .feedback-quote:last-child {
        border-bottom: 0
    }

    .feedback-quote p {
        font-size: 18px
    }
}


/* Complete art-direction shift: soft taupe, ivory, sand, ink — inspired by the supplied Taplink reference */
:root {
    --taupe: #CFC9C6;
    --taupe2: #E1D8CE;
    --ivory: #FCFAF7;
    --sand: #E8D0AD;
    --ink: #342F2D;
    --soft-ink: #665B55
}

html, body {
    background: #D4CECA !important;
    color: #3A322F !important
}

body {
    font-family: Arial, Helvetica, sans-serif !important
}

header {
    background: #E7E0DBF2 !important;
    border-bottom: 1px solid #BDB3AB !important;
    box-shadow: 0 3px 20px #5B4D4520
}

.logo {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-style: normal !important;
    font-size: 26px !important;
    color: #534640 !important;
    letter-spacing: -.04em !important
}

.nav-links a {
    color: #554B47 !important;
    font-size: 12px !important
}

.nav-links a:hover {
    color: #A07A59 !important
}

main {
    overflow: hidden
}

section {
    padding: 72px 0 !important
}

.eyebrow, .hero .eyebrow, .ref-tools .eyebrow, .case-text .eyebrow, .contact-panel .eyebrow {
    color: #6F5B4E !important;
    font-weight: 750 !important;
    letter-spacing: .14em !important
}

h1, h2, h3, .section-head h2 {
    color: #4C413A !important
}

h1, h2 {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-weight: 400 !important
}

.script, h2 .script, .editorial-contact-main h2 em {
    color: #9E8778 !important;
    font-style: italic !important
}

.lead {
    color: #665B55 !important
}

.hero {
    background: radial-gradient(ellipse at 74% 36%, #E9DAC8 0%, transparent 53%), linear-gradient(120deg, #D2CBC7, #E4D8CB) !important;
    padding: 76px 0 88px !important;
    min-height: 0 !important;
    position: relative
}

.hero:before {
    content: "";
    position: absolute;
    inset: 15% -7% 4% 4%;
    border: 2px solid #FFF9F0A8;
    border-radius: 50%;
    transform: rotate(-18deg);
    pointer-events: none
}

.hero-grid {
    display: grid !important;
    grid-template-columns:1.1fr .9fr !important;
    align-items: center !important;
    min-height: 570px !important;
    gap: 44px !important;
    position: relative
}

.hero-grid > div:first-child {
    position: relative !important;
    z-index: 3 !important;
    min-height: 0 !important;
    pointer-events: auto !important
}

.hero h1 {
    position: relative !important;
    font-size: clamp(74px, 10.2vw, 155px) !important;
    letter-spacing: -.085em !important;
    line-height: .89 !important;
    white-space: normal !important;
    color: #65564D !important;
    margin: 26px -20% 34px 0 !important;
    font-weight: 400 !important
}

.hero-identity {
    position: static !important;
    background: transparent !important;
    border-left: 3px solid #A98B74 !important;
    color: #4B3D37 !important;
    padding: 7px 0 7px 15px !important;
    margin: 0 0 17px !important;
    font-size: 18px !important
}

.hero .lead {
    position: static !important;
    background: none !important;
    color: #65564D !important;
    max-width: 390px !important;
    font-size: 16px !important;
    padding: 0 !important;
    line-height: 1.7 !important
}

.hero .actions {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    margin-top: 27px !important;
    gap: 10px !important
}

.hero .btn, .btn {
    background: #3E3937 !important;
    border: 1px solid #3E3937 !important;
    color: #FFF8F0 !important;
    border-radius: 3px !important;
    font-size: 12px !important;
    padding: 14px 19px !important
}

.hero .btn.secondary, .btn.secondary {
    background: transparent !important;
    border: 1px solid #8F8177 !important;
    color: #4A403A !important
}

.hero .btn:hover, .btn:hover {
    background: #63564D !important;
    color: white !important
}

.hero-model {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    max-width: 490px !important;
    justify-self: end !important;
    background: #F3EAE1 !important;
    border: 9px solid #F8F5F1 !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 48px #5C50452B !important;
    overflow: hidden
}

.hero-model img {
    display: block !important;
    width: 100% !important;
    height: 550px !important;
    object-fit: contain !important;
    object-position: center bottom !important
}

.ticker {
    background: #EFE9E4 !important;
    border-block: 1px solid #C7BAB0 !important;
    color: #77665A !important
}

.soft-panel {
    position: relative
}

.approach, .ref-process {
    background: #F9F6F2 !important
}

.section-head {
    border-bottom: 1px solid #CDBFB5 !important
}

.section-head h2 {
    font-size: clamp(39px, 5vw, 64px) !important
}

.section-num {
    color: #AA9485 !important
}

.approach-intro {
    color: #6D5F56 !important
}

.process {
    gap: 14px !important;
    border: 0 !important
}

.process article {
    background: #EEE5DA !important;
    border: 1px solid #D9C8B8 !important;
    border-radius: 10px !important;
    min-height: 220px !important;
    padding: 25px !important
}

.process b {
    color: #987B65 !important;
    font-size: 29px !important
}

.process h3 {
    color: #4A3D36 !important;
    font-size: 25px !important
}

.process p {
    color: #6D6058 !important;
    font-size: 14px !important
}

.skills, .ref-tools {
    background: #E5DCD4 !important;
    color: #4C413A !important
}

.ref-tools h2, .ref-tools h2 .script {
    color: #53443B !important
}

.skill-grid {
    gap: 12px !important
}

.skill {
    background: #FBF9F6 !important;
    border: 1px solid #D6C8BC !important;
    border-radius: 10px !important;
    color: #4D413A !important;
    padding: 20px !important;
    min-height: 95px !important;
    box-shadow: 0 5px 18px #6A57410D
}

.skill strong {
    color: #51453E !important;
    font-size: 16px !important
}

.skill .symbol {
    color: #AA8C74 !important;
    font-size: 27px !important
}

.skill.active, .skill:hover {
    background: #EBD5B7 !important;
    border-color: #C8A77F !important
}

.skill-detail {
    background: #FBF9F6 !important;
    color: #4B3D36 !important;
    border: 1px solid #D4C5B8 !important;
    border-left: 5px solid #A58A72 !important;
    border-radius: 7px !important
}

.skill-detail h3 {
    color: #4B3D36 !important
}

.skill-detail p {
    color: #685C54 !important
}

.projects {
    background: #D6CDC6 !important
}

.case-grid {
    display: grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap: 15px !important;
    border: 0 !important
}

.case-card, .case-card:last-child {
    background: #FFFCF9 !important;
    border: 1px solid #D7C9BE !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 14px 32px #56463C18 !important
}

.case-cover {
    height: 230px !important;
    background: #E8D6BF !important
}

.brand-tile {
    background: linear-gradient(140deg, #E9D1B0, #F5EAE0) !important;
    color: #58473C !important
}

.brand-wordmark {
    color: #57473F !important;
    font-family: Georgia, serif !important;
    font-weight: 400 !important;
    font-style: normal !important
}

.brand-subtitle {
    color: #8A6E5A !important
}

.project-index {
    color: #796052 !important
}

.case-text {
    background: #FFFCF9 !important;
    color: #3F3530 !important;
    padding: 24px !important
}

.case-text h3 {
    color: #473B35 !important;
    font-size: 23px !important
}

.case-text p {
    color: #776B63 !important;
    font-size: 13px !important
}

.outline-btn {
    color: #514239 !important;
    border: 1px solid #C3AB94 !important;
    border-radius: 4px !important
}

.outline-btn:hover {
    background: #F1E5D8 !important
}

.about {
    background: #F8F5F1 !important
}

.about p {
    color: #655B55 !important
}

.about-photo {
    background: #E5D9CE !important;
    border: 9px solid #FFFCF9 !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 30px #56463C1B !important;
    overflow: hidden
}

.about-photo img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    max-height: 660px !important
}

.ref-feedback {
    background: #E8DED5 !important
}

.feedback-grid {
    border: 0 !important;
    gap: 15px !important
}

.feedback-quote {
    background: #FBF8F4 !important;
    border: 1px solid #D6C7B9 !important;
    border-radius: 12px !important;
    padding: 30px !important
}

.feedback-quote p {
    color: #4B3F38 !important
}

.feedback-quote small {
    color: #847166 !important
}

.quote-mark {
    color: #B4977E !important
}

.footer {
    background: #D2C9C3 !important;
    border-top: 1px solid #BDAFA4 !important
}

.editorial-contact-main h2 {
    color: #483B35 !important
}

.editorial-contact-main .lead {
    color: #655951 !important
}

.contact-tags span {
    border-color: #B6A89D !important;
    color: #5E514A !important
}

.contact-panel {
    background: #FFFCF9 !important;
    border: 1px solid #D6C9BF !important;
    border-radius: 17px !important;
    box-shadow: 0 18px 35px #56463C20 !important;
    color: #483B35 !important
}

.contact-panel h3 {
    color: #4A3C35 !important
}

.contact-panel p {
    color: #70645D !important
}

.contact-action {
    color: #53453D !important;
    border-color: #D6C7BA !important
}

.contact-action:hover {
    color: #96775F !important
}

.contact-note {
    color: #87766A !important
}

.footer-bottom {
    border-color: #B7A79C !important;
    color: #65574E !important
}

.footer-bottom a {
    color: #55443C !important
}

dialog {
    background: #FFFCF9 !important;
    color: #463B35 !important
}

.dialog-head {
    background: #EADCCD !important
}

.dialog-head h3, .dialog-body h2, .dialog-body h3 {
    color: #493D36 !important
}

.dialog-body p {
    color: #645951 !important
}

.proof {
    background: #F2E7DC !important;
    border-left-color: #B69A7D !important
}

.gallery img {
    border-color: #D8C8B8 !important
}

@media (max-width: 950px) {
    .hero-grid {
        grid-template-columns:1fr 1fr !important;
        gap: 22px !important;
        min-height: 0 !important
    }

    .hero h1 {
        font-size: clamp(60px, 10vw, 105px) !important
    }

    .hero-model img {
        height: 470px !important
    }

    .case-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important
    }

    .case-card:last-child {
        grid-column: auto !important
    }
}

@media (max-width: 700px) {
    section {
        padding: 56px 0 !important
    }

    .hero {
        padding: 46px 0 65px !important
    }

    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important
    }

    .hero-grid > div:first-child {
        width: 100% !important
    }

    .hero h1 {
        font-size: clamp(60px, 13vw, 92px) !important;
        margin: 17px 0 24px !important;
        overflow-wrap: anywhere
    }

    .hero-identity {
        font-size: 17px !important
    }

    .hero .lead {
        font-size: 15px !important
    }

    .hero .actions {
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: row !important
    }

    .hero-model {
        width: min(100%, 430px) !important;
        max-width: 430px !important;
        margin: auto !important;
        border-width: 7px !important
    }

    .hero-model img {
        height: auto !important;
        max-height: 500px !important
    }

    .process {
        display: grid !important;
        grid-template-columns:1fr !important
    }

    .process article {
        min-height: 0 !important
    }

    .case-grid {
        grid-template-columns:1fr !important
    }

    .case-card, .case-card:last-child {
        border: 1px solid #D7C9BE !important
    }

    .case-cover {
        height: 205px !important
    }

    .feedback-grid {
        grid-template-columns:1fr !important
    }

    .feedback-quote {
        border: 1px solid #D6C7B9 !important
    }

    .contact-panel {
        padding: 25px !important
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: clamp(49px, 12.7vw, 59px) !important
    }

    .hero .actions {
        display: grid !important;
        grid-template-columns:1fr !important
    }

    .hero .btn {
        width: 100% !important
    }
}


/* Editorial cutout integration — original photo pixels, transparent background */
.hero {
    background: radial-gradient(ellipse at 75% 55%, #F4E9DF 0%, transparent 55%), linear-gradient(120deg, #DED3CB, #E8DFD6) !important
}

.hero:before {
    inset: 14% 2% 5% 8% !important;
    border: 1px solid #FFFDF8D9 !important
}

.hero-grid {
    isolation: isolate
}

.hero-grid:after {
    content: "";
    position: absolute;
    right: 8%;
    top: 10%;
    width: 46%;
    aspect-ratio: 1;
    border: 1px solid #B99E8C;
    opacity: .55;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none
}

.hero h1 {
    position: relative;
    z-index: 0;
    letter-spacing: -.075em !important;
    color: #766052 !important
}

.hero-model, .hero-photo {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    align-self: end
}

.hero-model img, .hero-photo img {
    display: block !important;
    width: 100% !important;
    height: 580px !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    filter: drop-shadow(0 16px 18px #70594B20)
}

.about-photo {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important
}

.about-photo img {
    width: 100% !important;
    max-height: 620px !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    filter: drop-shadow(0 13px 20px #594A3C16)
}

@media (min-width: 951px) {
    .hero-grid {
        grid-template-columns:1.04fr .96fr !important;
        gap: 20px !important
    }

    .hero h1 {
        font-size: clamp(68px, 9.2vw, 145px) !important;
        margin-right: -27% !important
    }

    .hero-model {
        max-width: 570px !important;
        z-index: 2 !important
    }
}

@media (max-width: 950px) {
    .hero-model img, .hero-photo img {
        height: 510px !important
    }
}

@media (max-width: 700px) {
    .hero-grid:after {
        right: 6%;
        top: 48%;
        width: 85%
    }

    .hero h1 {
        font-size: clamp(55px, 12.8vw, 87px) !important;
        margin-right: 0 !important
    }

    .hero-model {
        max-width: 450px !important
    }

    .hero-model img, .hero-photo img {
        height: auto !important;
        max-height: 550px !important
    }

    .about-photo img {
        max-height: none !important
    }
}


/* Exact composition-inspired first screen; other sections and interactions retained */
#home.hero {
    padding: 0 !important;
    min-height: 0 !important;
    background: #EDE3DD !important;
    color: #352E2B !important;
    overflow: hidden !important
}

#home.hero::before {
    display: none !important
}

.reference-hero {
    position: relative;
    max-width: 1440px;
    margin: auto;
    padding: 0 5.1% 65px;
    min-height: 940px;
    background: radial-gradient(ellipse at 50% 48%, #FAF1ED 0%, #F2E8E2 48%, #E8DBD3 100%);
    isolation: isolate
}

.reference-top {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 7
}

.reference-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    min-width: 200px
}

.reference-brand > span {
    font-family: Georgia, serif;
    font-size: 31px;
    letter-spacing: -.04em;
    color: #3F3733
}

.reference-brand small {
    font-size: 11px;
    letter-spacing: .3em;
    color: #5F534D;
    margin-top: 7px
}

.reference-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.6vw, 39px)
}

.reference-nav a {
    font-size: 13px;
    color: #403834 !important;
    white-space: nowrap
}

.reference-nav a:hover {
    text-decoration: underline
}

.reference-top-cta {
    border-radius: 30px;
    background: #806653;
    color: #fff !important;
    padding: 13px 24px;
    font-size: 14px;
    white-space: nowrap
}

.reference-top-cta span {
    font-size: 20px;
    margin-left: 15px
}

.reference-stage {
    height: 670px;
    position: relative;
    isolation: isolate
}

.reference-kicker {
    position: absolute;
    top: 32px;
    left: 0;
    z-index: 3;
    font-size: 12px;
    letter-spacing: .21em;
    color: #514740 !important
}

.reference-word {
    position: absolute;
    top: 73px;
    left: -.8%;
    width: 102%;
    z-index: 0;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-weight: 400 !important;
    font-size: clamp(90px, 13.5vw, 195px) !important;
    line-height: .95 !important;
    letter-spacing: -.085em !important;
    color: #80695B !important;
    white-space: nowrap;
    margin: 0 !important;
    text-align: center
}

.reference-rings {
    position: absolute;
    z-index: 0;
    top: 210px;
    left: 28%;
    width: 69%;
    height: 600px;
    border: 1.5px solid #B69A88;
    border-radius: 50%;
    transform: rotate(-19deg);
    pointer-events: none
}

.reference-rings::after {
    content: "";
    position: absolute;
    width: 94%;
    height: 58%;
    border-top: 1px solid #B69A88;
    top: 73%;
    left: -38%;
    border-radius: 50%;
    transform: rotate(-8deg)
}

.reference-spark {
    position: absolute;
    right: 1.5%;
    top: 320px;
    color: #B39B89;
    font-size: 58px;
    z-index: 2
}

.reference-person {
    position: absolute;
    z-index: 2;
    bottom: -16px;
    left: 35%;
    height: 640px;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 7px 12px #7C5B4D15)
}

.reference-intro {
    position: absolute;
    z-index: 4;
    left: 0;
    top: 260px;
    max-width: 390px
}

.reference-intro h2 {
    font-family: Georgia, serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
    font-size: clamp(28px, 3.4vw, 47px) !important;
    line-height: 1.19 !important;
    color: #332C29 !important;
    margin: 0 0 36px !important
}

.reference-intro p {
    font-size: 14px;
    color: #4D423C !important;
    line-height: 1.8;
    border-left: 1px solid #967A68;
    padding-left: 18px;
    margin-bottom: 33px
}

.reference-intro a {
    display: inline-flex;
    gap: 32px;
    align-items: center;
    background: #826755;
    color: white !important;
    border-radius: 35px;
    padding: 14px 25px;
    font-size: 15px
}

.reference-intro a span {
    font-size: 23px
}

.reference-services {
    position: absolute;
    right: 0;
    top: 385px;
    z-index: 3;
    border-left: 1px solid #9C8374;
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding-left: 18px;
    font-size: 12px;
    letter-spacing: .09em;
    color: #554942
}

.reference-benefits {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    background: #F8F1EBB8;
    backdrop-filter: blur(7px);
    border-radius: 14px;
    padding: 35px 25px;
    box-shadow: 0 10px 40px #6B4D3910;
    gap: 0
}

.reference-benefits > div {
    padding: 0 28px;
    border-right: 1px solid #D4C3B8
}

.reference-benefits > div:last-child {
    border: 0
}

.reference-icon {
    font-family: Georgia, serif;
    color: #886E5E;
    font-size: 43px;
    line-height: 1.2
}

.reference-benefits p {
    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 1.38;
    color: #3F3732 !important;
    margin: 13px 0 0
}

@media (max-width: 1100px) {
    .reference-hero {
        padding-inline: 4%
    }

    .reference-top {
        gap: 15px
    }

    .reference-brand {
        min-width: 155px
    }

    .reference-brand > span {
        font-size: 27px
    }

    .reference-brand small {
        font-size: 9px
    }

    .reference-nav {
        gap: 14px
    }

    .reference-nav a {
        font-size: 12px
    }

    .reference-top-cta {
        padding: 11px 16px;
        font-size: 12px
    }

    .reference-person {
        left: 34%;
        height: 590px
    }

    .reference-word {
        font-size: 13.2vw !important
    }

    .reference-services {
        right: 0;
        top: 420px
    }

    .reference-intro {
        top: 275px
    }

    .reference-intro h2 {
        font-size: 35px !important
    }

    .reference-benefits > div {
        padding: 0 15px
    }

    .reference-benefits p {
        font-size: 16px
    }
}

@media (max-width: 760px) {
    .reference-hero {
        padding: 0 20px 30px;
        min-height: 0
    }

    .reference-top {
        height: 75px;
        flex-wrap: wrap;
        gap: 8px
    }

    .reference-brand {
        min-width: 0
    }

    .reference-brand > span {
        font-size: 26px
    }

    .reference-brand small {
        font-size: 9px
    }

    .reference-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding: 8px 0 12px;
        gap: 20px;
        scrollbar-width: none
    }

    .reference-top-cta {
        margin-left: auto;
        font-size: 11px;
        padding: 10px 13px
    }

    .reference-top-cta span {
        margin-left: 5px
    }

    .reference-stage {
        height: 690px;
        margin-top: 32px
    }

    .reference-kicker {
        top: 20px;
        font-size: 9px;
        letter-spacing: .18em
    }

    .reference-word {
        top: 64px;
        left: -2%;
        width: 104%;
        font-size: clamp(52px, 13.4vw, 102px) !important;
        letter-spacing: -.09em !important
    }

    .reference-person {
        left: 50%;
        transform: translateX(-50%);
        height: 450px;
        bottom: 0;
        z-index: 2
    }

    .reference-rings {
        top: 260px;
        left: 8%;
        width: 110%;
        height: 450px
    }

    .reference-spark {
        top: 250px;
        right: 0;
        font-size: 38px
    }

    .reference-intro {
        top: 180px;
        left: 0;
        max-width: 240px
    }

    .reference-intro h2 {
        font-size: clamp(23px, 5.2vw, 34px) !important;
        margin-bottom: 18px !important
    }

    .reference-intro p {
        font-size: 11px;
        line-height: 1.6;
        margin-bottom: 15px;
        padding-left: 10px
    }

    .reference-intro a {
        font-size: 11px;
        padding: 11px 15px;
        gap: 10px
    }

    .reference-services {
        right: 0;
        top: 410px;
        gap: 9px;
        font-size: 9px;
        padding-left: 8px;
        background: #F3E8E280
    }

    .reference-benefits {
        grid-template-columns:repeat(2, 1fr);
        gap: 0;
        padding: 20px 10px
    }

    .reference-benefits > div {
        padding: 13px;
        border-right: 0;
        border-bottom: 1px solid #D4C3B8
    }

    .reference-benefits > div:nth-child(odd) {
        border-right: 1px solid #D4C3B8
    }

    .reference-benefits > div:nth-last-child(-n+2) {
        border-bottom: 0
    }

    .reference-icon {
        font-size: 30px
    }

    .reference-benefits p {
        font-size: 14px;
        margin-top: 6px
    }
}

@media (max-width: 400px) {
    .reference-stage {
        height: 625px
    }

    .reference-word {
        font-size: 13.2vw !important
    }

    .reference-intro {
        top: 155px;
        max-width: 220px
    }

    .reference-intro h2 {
        font-size: 24px !important
    }

    .reference-person {
        height: 405px
    }

    .reference-services {
        top: 375px
    }
}


/* User-requested refinements */
.reference-word {
    top: 42px !important
}

.reference-stage {
    overflow: visible !important
}

.reference-person {
    z-index: 2 !important
}

#approach .process {
    gap: 12px !important;
    align-items: stretch !important
}

#approach .process article {
    min-height: 0 !important;
    padding: 17px 19px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start
}

#approach .process article b {
    font-size: 17px !important;
    line-height: 1.1 !important;
    margin: 0 0 8px !important
}

#approach .process article h3 {
    font-size: 21px !important;
    line-height: 1.18 !important;
    margin: 0 0 9px !important
}

#approach .process article p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 0 !important
}

#about .about-photo {
    background: #D9C8BA !important;
    border: 1px solid #C6AD99 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    padding: 0 !important;
    box-shadow: 0 14px 35px #66504320 !important
}

#about .about-photo img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: none !important
}

#video-dialog {
    width: min(94vw, 980px) !important;
    max-width: 980px !important;
    max-height: 95dvh !important;
    overflow: auto !important;
    background: #241E1C !important;
    border-radius: 12px !important;
    padding: 0 !important
}

#video-dialog video {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: calc(90dvh - 95px) !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    background: #141112 !important;
    border-radius: 0 !important
}

#video-dialog .dialog-head {
    background: #382E2B !important;
    color: #fff !important
}

@media (max-width: 760px) {
    .reference-word {
        top: 43px !important
    }

    #approach .process article {
        padding: 16px !important
    }

    #approach .process article h3 {
        font-size: 19px !important
    }

    #video-dialog {
        width: 96vw !important
    }

    #video-dialog video {
        max-height: 75dvh !important
    }
}


/* Final hero/title correction and original-photo background integration */
@media (min-width: 761px) {
    .reference-word {
        top: -66px !important;
        z-index: 3 !important;
        line-height: .9 !important
    }

    .reference-person {
        z-index: 2 !important
    }
}

@media (max-width: 760px) {
    .reference-word {
        top: 16px !important;
        z-index: 3 !important
    }

    .reference-person {
        z-index: 2 !important
    }
}

#about .about-photo {
    background: #D4C0AF !important;
    border: 0 !important;
    border-radius: 15px !important;
    overflow: hidden !important
}

#about .about-photo img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important
}


/* Final visual balance: centered, smaller title, lowered from previous version */
@media (min-width: 761px) {
    .reference-word {
        top: 26px !important;
        left: 0 !important;
        width: 100% !important;
        font-size: clamp(80px, 10.5vw, 151px) !important;
        letter-spacing: -.075em !important;
        line-height: 1 !important;
        text-align: center !important;
        z-index: 1 !important;
        white-space: nowrap !important
    }

    .reference-person {
        z-index: 2 !important
    }
}

@media (max-width: 760px) {
    .reference-word {
        top: 57px !important;
        left: 0 !important;
        width: 100% !important;
        font-size: clamp(44px, 11.8vw, 87px) !important;
        letter-spacing: -.08em !important;
        line-height: 1 !important;
        text-align: center !important;
        z-index: 1 !important;
        white-space: nowrap !important
    }

    .reference-person {
        z-index: 2 !important
    }
}

@media (max-width: 400px) {
    .reference-word {
        font-size: 11.6vw !important
    }
}

#feedback {
    padding: 85px 0 !important;
    background: radial-gradient(ellipse at center, #f8eee7, #e9ded6) !important
}

.review-heading {
    text-align: center;
    padding: 0 18px 38px
}

.review-overline {
    font-size: 12px;
    letter-spacing: .32em;
    color: #725646;
    font-weight: 700
}

.review-heading h2 {
    font: italic 400 clamp(38px, 6vw, 74px)/1.1 Georgia, serif;
    color: #624636;
    margin: 17px 0
}

.review-heading p {
    color: #957c6d;
    font-size: 18px
}

.review-grid {
    max-width: 1240px;
    margin: auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 15px
}

.review-card {
    background: #fff8f2c9;
    border: 1px solid #f7eee6;
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 10px 32px #876b5910
}

.review-client {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 70px
}

.review-client h3 {
    font-size: 20px;
    color: #48352a;
    margin: 0
}

.review-mark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e8d5c3;
    color: #604736;
    font-weight: 700;
    font-size: 17px;
    display: grid;
    place-items: center;
    flex: none
}

.review-card:nth-child(2) .review-mark {
    background: #d6ebf8;
    color: #23699d
}

.review-card:nth-child(3) .review-mark {
    background: #dbe9d5;
    color: #4c7b55
}

.review-thumb {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: top;
    border-radius: 14px;
    background: #e8ddd6
}

.review-quote {
    margin: 0;
    color: #49362d;
    font: italic 17px/1.5 Georgia, serif;
    min-height: 105px
}

.review-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: auto
}

.review-tags span {
    font-size: 12px;
    color: #604737;
    background: #f0e2d7;
    padding: 7px 10px;
    border-radius: 25px
}

.review-open {
    cursor: pointer;
    border: 0;
    border-radius: 28px;
    background: #76513d;
    color: #fff;
    padding: 14px;
    font-size: 15px
}

.review-open:hover {
    background: #52382c
}

#review-modal {
    border: 0;
    border-radius: 16px;
    padding: 0;
    width: min(94vw, 840px);
    max-height: 92dvh;
    background: #fbf6f1;
    overflow: auto
}

#review-modal::backdrop {
    background: #1d1716bf
}

.review-modal-bar {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f6eae0;
    padding: 12px 20px;
    z-index: 2;
    color: #49362d
}

.review-modal-bar button {
    border: 0;
    background: transparent;
    font-size: 32px;
    cursor: pointer;
    color: #49362d
}

#review-full {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain
}

@media (max-width: 780px) {
    .review-grid {
        grid-template-columns:1fr;
        max-width: 500px
    }

    .review-thumb {
        height: 300px
    }

    .review-quote {
        min-height: 0
    }

    .review-heading h2 {
        font-size: 42px
    }
}

.review-card {
    justify-content: space-between !important;
    text-align: center !important
}

.review-client {
    justify-content: center !important;
    min-height: 40px !important
}

.review-logo-area {
    height: 205px;
    display: grid;
    place-items: center;
    background: #fffaf5;
    border-radius: 16px;
    padding: 22px;
    overflow: hidden
}

.review-logo {
    max-width: 100%;
    max-height: 175px;
    object-fit: contain;
    image-rendering: auto
}

.review-quote {
    text-align: left;
    min-height: 90px
}

.review-tags {
    justify-content: center
}

#review-modal {
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;
    z-index: 99999 !important
}

#review-modal[open] {
    display: block !important
}

#review-modal .review-modal-bar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important
}

#review-close {
    background: #795847 !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    line-height: 1 !important;
    display: grid !important;
    place-items: center !important
}

#about .about-photo {
    background: #d8c4b5 !important;
    overflow: hidden !important;
    border-radius: 22px !important
}

#about .about-photo img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    filter: none !important;
    display: block !important
}

@media (max-width: 760px) {
    .review-logo-area {
        height: 190px
    }
}

.review-fallback-logo {
    font: bold clamp(30px, 3vw, 48px)/1.05 Arial, sans-serif;
    color: #3172ae;
    letter-spacing: -.04em;
    text-align: center
}

#feedback .review-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 290px;
    padding: 32px 24px
}

#feedback .review-logo-area {
    width: 124px;
    height: 124px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    background: #f5f0e9
}

#feedback .review-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block
}

#feedback .review-client {
    margin: 0
}

#feedback .review-open {
    margin-top: auto
}


/* Fit the entire original testimonial screenshot within the available viewport. */
#review-modal {
    width: max-content !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    overflow: hidden !important;
}

#review-modal .review-modal-bar {
    position: relative !important;
    flex-shrink: 0;
    min-height: 62px;
    box-sizing: border-box;
}

#review-modal #review-full {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 100px) !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

@media (max-width: 600px) {
    #review-modal #review-full {
        max-height: calc(100dvh - 92px) !important
    }
}


/* Updated case photo covers — keep text legible over photographs. */
.case-card .case-cover.case-photo-cover {
    background-size: cover !important;
    background-position: center 42% !important;
    background-repeat: no-repeat !important;
    background-color: #246b76 !important;
    isolation: isolate
}

.case-card .case-cover.case-photo-2 {
    background-color: #287d91 !important;
    background-position: center 43% !important
}

.case-card .case-cover.case-photo-3 {
    background-color: #3b4b5b !important;
    background-position: center 54% !important
}

.case-card .case-photo-cover .brand-tile {
    background: transparent !important;
    color: #fff !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .6) !important;
    justify-content: flex-end !important;
    padding: 24px !important
}

.case-card .case-photo-cover .brand-wordmark {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: clamp(26px, 3vw, 37px) !important;
    letter-spacing: -.03em !important
}

.case-card .case-photo-cover .brand-subtitle {
    color: #f0f8f9 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .12em !important
}

.case-card:nth-child(1) .case-text {
    border-top: 4px solid #3c8996 !important
}

.case-card:nth-child(2) .case-text {
    border-top: 4px solid #4a9ca8 !important
}

.case-card:nth-child(3) .case-text {
    border-top: 4px solid #596b81 !important
}


/* Contact details: editorial labels rather than button-like tags. */
#contact .contact-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 17px;
}

#contact .contact-tags span {
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #65574e !important;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

#contact .contact-tags span::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: #a58c77;
}

#contact .contact-panel a[href^="mailto:"] {
    overflow-wrap: anywhere;
}


#contact .contact-email-button {
    width: 100%;
    background: transparent;
    border: 0;
    border-top: 1px solid #D6C7BA;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    align-items: center;
    color: #53453D !important
}

#contact .contact-email-button:hover, #contact .contact-email-button:focus-visible {
    color: #96775F !important
}

#contact .contact-email-button:focus-visible {
    outline: 2px solid #96775F;
    outline-offset: 3px
}

#contact .contact-email-reveal {
    padding: 4px 0 17px;
    font-size: 14px;
    overflow-wrap: anywhere
}

#contact .contact-email-reveal[hidden] {
    display: none !important
}

#contact .contact-email-reveal a {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #53453D
}

#feedback .review-grid {
    align-items: stretch !important
}

#feedback .review-card {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    justify-content: flex-start !important;
    align-items: center !important
}

#feedback .review-text-full {
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
    color: #49362b;
    margin: 16px 0 0;
    width: 100%;
    white-space: normal;
    overflow: visible
}

#feedback {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important
}

#about h2, #about h2 .script, #contact h2, #contact h2 .script {
    color: #49362b !important;
    -webkit-text-fill-color: #49362b !important
}

.always-top {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    padding: 11px 17px;
    border-radius: 30px;
    background: #49362b;
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 3px 14px #49362b30;
    font-size: 13px
}

@media (max-width: 600px) {
    .always-top {
        bottom: 12px;
        right: 12px;
        padding: 9px 13px
    }
}

#feedback .review-text-full[hidden] {
    display: none !important
}

#review-modal #review-text-content {
    white-space: pre-wrap;
    padding: 24px;
    line-height: 1.65;
    font-size: 16px;
    color: #52382c;
    overflow: auto;
    max-height: calc(85dvh - 65px);
    box-sizing: border-box;
}

#review-modal {
    overflow: auto !important
}

#feedback .review-card {
    min-height: 0 !important;
    height: auto !important;
    gap: 12px !important;
    justify-content: flex-start !important
}

#feedback .review-client {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important
}

#feedback .review-client h3 {
    margin: 0 !important
}

#feedback .review-open {
    margin: 0 !important
}

#review-modal {
    width: min(92vw, 680px) !important;
    height: auto !important;
    min-height: 0 !important
}

#review-modal .review-modal-bar {
    min-height: 0 !important;
    padding: 10px 18px !important
}

#review-modal #review-text-content {
    padding: 12px 18px 18px !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    line-height: 1.55 !important
}

/* Center the four primary navigation links. */
.reference-top .reference-nav {
    justify-content: center;
    flex: 1 1 auto;
}

@media (min-width: 901px) {
    .reference-top {
        display: grid;
        grid-template-columns:1fr auto 1fr
    }

    .reference-top-cta {
        justify-self: end
    }

    .reference-top .reference-nav {
        justify-self: center
    }
}

@media (max-width: 600px) {
    .reference-top .reference-nav {
        flex: 0 0 100%;
        justify-content: center;
        gap: clamp(10px, 4vw, 20px)
    }
}

#review-modal[open] {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    inset: 50% auto auto 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    height: fit-content !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 32px) !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

#review-modal .review-modal-bar {
    flex: 0 0 auto !important;
}

#review-modal #review-text-content {
    flex: 0 1 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 10px 18px 14px !important;
    margin: 0 !important;
    overflow-y: auto !important;
    white-space: pre-wrap !important;
}

#video-dialog {
    width: min(94vw, 1100px, calc((90dvh - 64px) * 16 / 9)) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 95dvh !important;
    overflow: hidden !important;
    margin: auto !important
}

#video-dialog video {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
    max-height: none !important;
    object-fit: contain !important
}

#video-dialog .dialog-head {
    min-height: 0 !important;
    padding: 10px 16px !important
}

#blog {
    background: radial-gradient(ellipse at 20% 10%, #e9dfd4 0, transparent 45%), #f6f0e9;
    padding: 28px clamp(12px, 3vw, 40px) 20px;
    margin: 24px auto;
    color: #503b2c
}

#blog .blog-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px
}

#blog .blog-kicker:before, #blog .blog-kicker:after {
    content: "";
    width: 48px;
    height: 1px;
    background: #b8a493
}

#blog h2 {
    font-weight: 400;
    margin: 12px 0
}

#blog .blog-intro {
    font-family: Georgia, serif;
    margin-bottom: 22px;
    line-height: 1.4
}

#blog .blog-phones {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 16px
}

#blog .blog-item {
    width: auto;
    display: grid;
    grid-template-columns:minmax(0, .95fr) minmax(0, 1fr);
    gap: clamp(12px, 2vw, 24px);
    align-items: center;
    text-align: left;
    background: #eee5db;
    border-radius: 22px;
    padding: 18px;
    min-width: 0
}

#blog .blog-phone {
    width: 100%;
    aspect-ratio: 9/16;
    max-width: 245px;
    border: 6px solid #28221e;
    outline: 1px solid #aa9581;
    border-radius: 28px;
    box-shadow: 0 8px 16px #503b2c26;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
    background: white
}

#blog .blog-phone img {
    width: 100%;
    height: auto;
    object-fit: contain;
    flex: none
}

#blog .blog-phone.ig {
    padding-top: 20px;
    gap: 12px
}

#blog .blog-phone.ig .ig-grid {
    margin-top: 4px
}

#blog .blog-notch {
    position: absolute;
    top: 5px;
    left: 35%;
    width: 30%;
    height: 9px;
    background: #28221e;
    border-radius: 12px
}

#blog .blog-phone.tg {
    background: #101923
}

#blog .blog-copy h3 {
    font: 400 clamp(23px, 3vw, 44px)/1.1 Georgia, serif;
    margin: 12px 0;
    color: #503b2c
}

#blog .blog-copy p {
    font: 400 clamp(14px, 1.55vw, 20px)/1.45 Georgia, serif;
    margin: 0 0 22px
}

#blog .blog-link {
    background: #70553e;
    color: white;
    border: 0;
    padding: 11px 16px;
    font: 400 clamp(12px, 1.3vw, 17px)/1.2 Georgia, serif;
    white-space: normal
}

#blog .blog-end {
    border-top: 1px solid #c8b8a8;
    padding-top: 14px;
    margin-top: 20px;
    font: 400 11px/1.6 Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .18em
}

@media (max-width: 850px) {
    #blog .blog-phones {
        grid-template-columns:1fr
    }

    #blog .blog-item {
        max-width: 580px;
        width: 100%;
        margin: auto
    }
}

@media (max-width: 420px) {
    #blog .blog-item {
        padding: 12px;
        gap: 12px
    }

    #blog .blog-phone {
        border-width: 4px;
        border-radius: 18px
    }

    #blog .blog-copy svg {
        width: 32px;
        height: 32px
    }
}

#blog {
    display: block;
    min-height: 0;
    padding: clamp(30px, 4vw, 64px) 4%;
    background: #f8f1e9;
    color: #49301f;
    text-align: center;
    font-family: Georgia, serif
}

#blog .blog-kicker {
    font: 500 13px/1.5 Arial, sans-serif;
    letter-spacing: .24em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px
}

#blog .blog-kicker:before, #blog .blog-kicker:after {
    content: '';
    width: 65px;
    height: 1px;
    background: #b9a899
}

#blog h2 {
    font: 400 clamp(30px, 4.25vw, 70px)/1.12 Georgia, serif;
    margin: 18px 0 12px;
    color: #49301f;
    letter-spacing: -.035em
}

#blog .blog-intro {
    font: 400 clamp(17px, 1.8vw, 28px)/1.3 Georgia, serif;
    max-width: 900px;
    margin: 0 auto 28px
}

#blog .blog-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 22px;
    max-width: 1500px;
    margin: auto
}

#blog .blog-tile {
    display: grid;
    grid-template-columns:46% 1fr;
    align-items: center;
    gap: 5%;
    padding: 18px 5%;
    background: #f1e8df;
    border-radius: 30px;
    text-align: left;
    min-width: 0
}

#blog .blog-phone {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: multiply
}

#blog .blog-logo {
    width: clamp(35px, 4vw, 65px);
    height: auto;
    display: block;
    mix-blend-mode: multiply
}

#blog h3 {
    font: 400 clamp(25px, 3vw, 50px)/1.1 Georgia, serif;
    margin: 12px 0 20px;
    color: #49301f
}

#blog .blog-copy {
    font: 400 clamp(16px, 1.55vw, 25px)/1.35 Georgia, serif;
    margin: 0 0 30px
}

#blog .blog-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #6c503a;
    color: white;
    border-radius: 40px;
    padding: 13px 22px;
    text-decoration: none;
    font: 400 clamp(14px, 1.3vw, 21px)/1.2 Arial, sans-serif;
    transition: background .2s, transform .2s
}

#blog .blog-link:hover {
    background: #49301f;
    transform: translateY(-2px)
}

#blog .blog-link:focus-visible {
    outline: 3px solid #a17d59;
    outline-offset: 4px
}

#blog .blog-end {
    border-top: 1px solid #cdbfb2;
    margin: 20px auto 0;
    padding-top: 12px;
    font: 400 12px/1.6 Arial, sans-serif;
    letter-spacing: .22em;
    text-transform: uppercase
}

@media (max-width: 850px) {
    #blog .blog-grid {
        grid-template-columns:1fr;
        max-width: 650px
    }

    #blog .blog-tile {
        gap: 5%
    }
}

@media (max-width: 400px) {
    #blog .blog-tile {
        padding: 12px;
        gap: 10px
    }

    #blog .blog-copy {
        margin-bottom: 15px
    }

    #blog .blog-link {
        padding: 10px 12px
    }

    #blog .blog-kicker {
        letter-spacing: .12em;
        gap: 8px
    }
}

#blog img.blog-phone {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    aspect-ratio: auto !important;
    max-width: 100% !important;
    overflow: visible !important;
}

#one-wheel-case .ow-trailer {
    display: grid;
    grid-template-columns:minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(16px, 3vw, 40px);
    margin-top: 24px;
    padding: 20px;
    border: 1px solid #d8c9b9;
    border-radius: 16px;
    background: #faf7f2
}

#one-wheel-case .ow-trailer video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    background: #17171d;
    border-radius: 10px
}

#one-wheel-case .ow-trailer h3 {
    margin: 8px 0;
    font-size: clamp(21px, 2.1vw, 32px);
    line-height: 1.2
}

#one-wheel-case .ow-trailer p {
    margin: 8px 0 12px;
    line-height: 1.55
}

#one-wheel-case .ow-trailer small {
    color: #796453
}

@media (max-width: 720px) {
    #one-wheel-case .ow-trailer {
        grid-template-columns:1fr;
        padding: 14px
    }
}

#blog {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #eee1d4;
    border-radius: 20px;
    margin: 32px auto;
    padding: 30px 16px 26px;
    text-align: center;
    color: #43291d;
    max-width: 1440px
}

#blog .blog-decor {
    position: absolute;
    z-index: -1;
    bottom: 0;
    width: 23%;
    height: 75%;
    object-fit: cover;
    pointer-events: none
}

#blog .blog-left {
    left: 0
}

#blog .blog-right {
    right: 0
}

#blog .blog-kicker {
    font-size: 13px;
    letter-spacing: .22em;
    text-transform: uppercase
}

#blog h2 {
    font-family: Georgia, serif;
    font-size: clamp(26px, 4vw, 56px);
    line-height: 1.13;
    margin: 12px 0;
    color: #43291d
}

#blog .blog-intro {
    font-size: clamp(14px, 1.7vw, 21px);
    max-width: 780px;
    margin: 0 auto 24px
}

#blog .blog-phones {
    display: flex;
    justify-content: center;
    gap: clamp(12px, 3vw, 36px);
    position: relative
}

#blog .blog-item {
    width: min(36%, 330px);
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px
}

#blog .blog-phone {
    width: 100%;
    aspect-ratio: 9/16;
    border: 6px solid #302923;
    border-radius: 30px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 5px 0 #9e8066, 0 12px 24px #49311c30;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box
}

#blog .blog-phone img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain
}

#blog .blog-phone.tg {
    background: #101923
}

#blog .blog-link {
    display: inline-block;
    border: 1px solid #795b45;
    border-radius: 40px;
    padding: 9px 18px;
    color: #43291d;
    background: #f4e9de;
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: clamp(13px, 1.6vw, 19px)
}

#blog .blog-end {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: clamp(14px, 1.6vw, 21px);
    margin: 22px auto 0
}

@media (max-width: 650px) {
    #blog .blog-decor {
        display: none
    }

    #blog .blog-item {
        width: 46%
    }

    #blog .blog-phone {
        border-width: 4px;
        border-radius: 18px
    }

    #blog .blog-link {
        padding: 8px 12px
    }
}

html:has(#case-dialog[open]) {
    overflow: hidden !important;
    overscroll-behavior: none;
}

#case-dialog, #case-dialog .dialog-body {
    overscroll-behavior: contain;
}

#case-dialog .dialog-body {
    -webkit-overflow-scrolling: touch;
}


/* Убираем бежевый контур вокруг макетов телефонов, сохраняя сами макеты. */
#blog .blog-phone {
    outline: none !important;
}

/* Фраза оформлена основным шрифтом сайта — Arial, без декоративного курсива и капслока. */
#blog .blog-end {
    font-family: Arial, Helvetica, sans-serif !important;
    font-style: normal !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}


/* Убираем бежевую подложку и внешнюю рамку; сам телефон и его чёрный корпус остаются. */
#blog .blog-grid img.blog-phone {
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

#whoosh-case {
    background: radial-gradient(ellipse at 15% 35%, #e5cfb7 0, transparent 48%), #f7eee5;
    color: #573421;
    padding: clamp(24px, 4vw, 58px) 5%;
    scroll-margin-top: 65px
}

#whoosh-case * {
    box-sizing: border-box
}

#whoosh-case .wc-wrap {
    max-width: 1200px;
    margin: auto
}

#whoosh-case .wc-head {
    text-align: center;
    margin: 0 0 22px
}

#whoosh-case .wc-head span, #whoosh-case .wc-card span {
    font: 600 10px Arial;
    letter-spacing: 2px
}

#whoosh-case h2 {
    font: normal clamp(29px, 4.1vw, 57px)/1.1 Georgia, serif;
    margin: 10px 0 5px;
    color: #573421
}

#whoosh-case .wc-head p {
    font: clamp(15px, 1.8vw, 23px) Georgia;
    margin: 0
}

#whoosh-case .wc-main {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 4%;
    align-items: center
}

#whoosh-case .wc-visual {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center
}

#whoosh-case .wc-phone {
    position: relative;
    width: 48%;
    max-width: 245px;
    height: auto;
    z-index: 2;
    filter: drop-shadow(8px 12px 9px #583b2844);
    margin-right: 30%
}

#whoosh-case .wc-paper {
    position: absolute;
    left: 44%;
    top: 14%;
    width: 45%;
    height: 72%;
    background: linear-gradient(130deg, #fff4e5, #e6ccb0);
    box-shadow: 8px 10px 0 #c9a98b, 14px 18px 20px #69492b33;
    transform: rotate(-6deg);
    padding: 12% 5% 5%;
    font: 18px Georgia;
    letter-spacing: 2px
}

#whoosh-case .wc-paper strong {
    display: block;
    font: italic 76px Georgia;
    margin-top: 12px
}

#whoosh-case .wc-paper em {
    font: italic 17px Georgia;
    letter-spacing: 0
}

#whoosh-case .wc-clip {
    position: absolute;
    right: 12%;
    top: -10px;
    width: 17px;
    height: 50px;
    border: 3px solid #b48651;
    border-radius: 12px;
    transform: rotate(20deg)
}

#whoosh-case h3 {
    font: normal clamp(20px, 2vw, 28px) Georgia;
    margin: 0 0 7px;
    color: #573421
}

#whoosh-case .wc-info p, #whoosh-case .wc-info li {
    font: 14px/1.45 Arial;
    color: #302922;
    margin: 0
}

#whoosh-case .wc-info hr {
    border: 0;
    border-top: 1px solid #d5bfae;
    margin: 12px 0
}

#whoosh-case ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px
}

#whoosh-case li {
    padding: 3px 0
}

#whoosh-case li:before {
    content: '✓';
    display: inline-grid;
    place-items: center;
    background: #e5c7a8;
    color: #805332;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    margin-right: 9px
}

#whoosh-case .wc-stats {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 9px
}

#whoosh-case .wc-stats div {
    background: #efdfd0;
    border-radius: 14px;
    padding: 12px;
    font: 14px Georgia
}

#whoosh-case .wc-stats strong {
    display: block;
    font: italic 39px/1 Georgia
}

#whoosh-case .wc-cards {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 14px;
    margin-top: 18px
}

#whoosh-case .wc-card {
    position: relative;
    overflow: hidden;
    text-align: left;
    display: block;
    min-height: 145px;
    border: 1px solid #ead8c7;
    background: linear-gradient(120deg, #f9eee3, #ead5c1);
    border-radius: 14px;
    padding: 20px 42% 20px 22px;
    color: #573421;
    cursor: pointer;
    box-shadow: none;
    transition: transform .2s, box-shadow .2s
}

#whoosh-case .wc-card:hover, #whoosh-case .wc-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px #69492b26;
    outline: 2px solid #ad8867
}

#whoosh-case .wc-card h3 {
    margin: 12px 0
}

#whoosh-case .wc-card u {
    font: 13px Arial;
    text-underline-offset: 4px
}

#whoosh-case .wc-mini {
    position: absolute;
    right: 5%;
    top: 25px;
    width: 32%;
    height: 150px;
    background: #fff3e6;
    box-shadow: 5px 5px 0 #d8b99a, 0 8px 15px #79533433;
    transform: rotate(12deg);
    padding: 15px;
    font: italic 13px Georgia;
    pointer-events: none
}

#whoosh-case .wc-bars {
    display: flex;
    gap: 5px;
    align-items: end;
    height: 55px
}

#whoosh-case .wc-bars i {
    width: 15%;
    background: #c9a585;
    height: 35%
}

#whoosh-case .wc-bars i:nth-child(2) {
    height: 55%
}

#whoosh-case .wc-bars i:nth-child(3) {
    height: 75%
}

#whoosh-case .wc-bars i:nth-child(4) {
    height: 95%
}

#whoosh-case .wc-calendar div {
    margin-top: 12px;
    line-height: 1.8;
    background: repeating-linear-gradient(0deg, transparent 0 20px, #ddc6b2 20px 21px)
}

#whoosh-case footer {
    text-align: center;
    font: italic 11px/1.5 Georgia;
    letter-spacing: 1px;
    margin-top: 15px;
    background: none;
    padding: 0;
    color: #76543e
}

@media (max-width: 720px) {
    #whoosh-case .wc-main, #whoosh-case .wc-cards {
        grid-template-columns:1fr
    }

    #whoosh-case .wc-visual {
        min-height: 300px
    }

    #whoosh-case .wc-phone {
        max-width: 185px
    }

    #whoosh-case .wc-paper {
        max-width: 190px;
        padding: 35px 20px
    }

    #whoosh-case .wc-card {
        min-height: 135px
    }
}

#whoosh-audit, #whoosh-plan {
    width: min(850px, 94vw);
    max-height: 85vh;
    overflow: auto;
    background: #faf3ea;
    color: #493629;
    border: 1px solid #d8c9b9;
    border-radius: 18px;
    padding: 24px;
    margin: auto
}

#whoosh-audit::backdrop, #whoosh-plan::backdrop {
    background: #29252199
}

#whoosh-audit .close, #whoosh-plan .close {
    float: right
}

#whoosh-audit .gallery {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px
}

#whoosh-audit .gallery img {
    width: 100%
}

#whoosh-plan table {
    width: 100%;
    border-collapse: collapse
}

#whoosh-plan td, #whoosh-plan th {
    border: 1px solid #d8c9b9;
    padding: 8px
}

#whoosh-audit h3, #whoosh-plan h3 {
    margin-top: 16px
}

@media (max-width: 600px) {
    #whoosh-case .whoosh-art {
        width: 100%
    }
}

#about {
    background: #F4EFE8 !important
}

#contact {
    background: #EAE1D5 !important;
    border-color: #D8C9B9 !important
}

#whoosh-case {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: #F4EFE8 !important
}

#whoosh-case .wc-visual {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    display: grid;
    grid-template-columns:48% 48%;
    gap: 4%;
    align-items: center;
    justify-items: center;
    min-height: 0;
    padding: 12px 0
}

#whoosh-case .wc-phone {
    width: 100%;
    max-width: 245px;
    margin: 0;
    display: block;
    border: 0 !important;
    outline: 0 !important
}

#whoosh-case .wc-paper {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 220px;
    padding: 32px 14px 22px;
    transform: rotate(-3deg);
    max-width: 245px;
    letter-spacing: 1px;
    text-align: center;
    z-index: 1
}

#whoosh-case .wc-paper span {
    font: clamp(12px, 1.35vw, 19px)/1.4 Georgia, serif;
    letter-spacing: 1px;
    display: block
}

#whoosh-case .wc-paper strong {
    font-size: clamp(44px, 5vw, 76px);
    line-height: 1.05
}

#whoosh-case .wc-paper em {
    display: block;
    white-space: normal;
    font-size: clamp(13px, 1.5vw, 18px)
}

#whoosh-case .wc-card {
    padding-right: 40%;
    border-color: #ead8c7 !important
}

#whoosh-case .wc-card h3, #whoosh-case .wc-card u {
    overflow-wrap: normal;
    word-break: normal
}

#whoosh-audit, #whoosh-plan {
    box-sizing: border-box !important;
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;
    width: min(850px, 94vw) !important;
    height: fit-content !important;
    max-height: 88dvh !important;
    padding: 0 !important;
    overflow: auto !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    background: #faf3ea !important
}

#whoosh-audit .wc-dialog-head, #whoosh-plan .wc-dialog-head {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 22px;
    background: #faf3ea;
    border-bottom: 1px solid #d8c9b9
}

#whoosh-audit .wc-dialog-head h2, #whoosh-plan .wc-dialog-head h2 {
    font: normal clamp(22px, 3vw, 32px)/1.2 Georgia;
    margin: 0 !important;
    color: #493629 !important;
    min-width: 0
}

#whoosh-audit .wc-close, #whoosh-plan .wc-close {
    flex: 0 0 auto;
    white-space: nowrap;
    width: auto;
    height: auto;
    padding: 10px 15px;
    border: 0;
    border-radius: 24px;
    background: #795847;
    color: white;
    font: 14px Arial;
    cursor: pointer
}

#whoosh-audit .wc-dialog-body, #whoosh-plan .wc-dialog-body {
    padding: 20px 22px;
    min-width: 0;
    overflow-x: auto;
    text-align: left
}

#whoosh-audit .wc-dialog-body h3, #whoosh-plan .wc-dialog-body h3 {
    font: normal 22px/1.3 Georgia;
    margin: 18px 0 6px;
    color: #493629
}

#whoosh-audit .wc-dialog-body p, #whoosh-plan .wc-dialog-body p {
    font: 15px/1.6 Arial;
    margin: 0 0 12px;
    color: #493629
}

#whoosh-audit .gallery {
    grid-template-columns:repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    align-items: start
}

#whoosh-audit .gallery a {
    min-width: 0
}

#whoosh-audit .gallery img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain
}

#whoosh-plan table {
    min-width: 480px
}

@media (max-width: 720px) {
    #whoosh-case .wc-paper {
        min-height: 180px;
        padding: 24px 8px 15px
    }

    #whoosh-case .wc-visual {
        min-height: 0
    }

    #whoosh-case .wc-card {
        padding-right: 40%
    }
}


#whoosh-case {
    background: radial-gradient(ellipse at 8% 45%, #d9bfa6 0, transparent 38%), linear-gradient(110deg, #f3e6d8, #faf1e9 65%, #f3e7dc) !important;
    padding: clamp(16px, 2vw, 32px) 5% !important;
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
    color: #573421 !important
}

#whoosh-case .wc-wrap {
    max-width: 1500px;
    width: 100%;
    margin: auto
}

#whoosh-case .wc-head {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 12px !important;
    text-align: center
}

#whoosh-case .wc-kicker {
    font: 500 clamp(9px, 1vw, 14px) Arial;
    letter-spacing: .24em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px
}

#whoosh-case .wc-kicker:before, #whoosh-case .wc-kicker:after {
    content: '';
    width: 60px;
    height: 1px;
    background: #b9a18e
}

#whoosh-case h2 {
    font: normal clamp(28px, 4vw, 66px)/1.12 Georgia !important;
    color: #573421 !important;
    margin: 8px 0 5px !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important
}

#whoosh-case .wc-head p {
    font: clamp(16px, 1.9vw, 28px)/1.25 Georgia !important;
    color: #573421 !important
}

#whoosh-case .wc-main {
    grid-template-columns:1fr 1fr;
    gap: 3%;
    align-items: center
}

#whoosh-case .wc-visual {
    display: block !important;
    position: relative;
    min-height: clamp(300px, 30vw, 480px) !important;
    padding: 0 !important;
    overflow: visible !important;
    background: none !important
}

#whoosh-case .wc-phone {
    position: absolute !important;
    left: 12%;
    top: 0;
    width: 49% !important;
    max-width: none !important;
    height: auto !important;
    max-height: 125%;
    object-fit: contain;
    z-index: 3;
    filter: drop-shadow(10px 18px 13px #65452b55);
    transform: rotate(-5deg);
    pointer-events: none
}

#whoosh-case .wc-paper {
    position: absolute !important;
    left: 53%;
    top: 17%;
    width: 40% !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 12% 5% 9% !important;
    text-align: left;
    transform: rotate(-5deg);
    background: linear-gradient(130deg, #fff3e5, #ecd6bd) !important;
    box-shadow: 12px 13px 0 #d9bda0, 15px 20px 20px #69492b44;
    border: 1px solid #fff8ef;
    border-radius: 5px
}

#whoosh-case .wc-paper span {
    font: clamp(14px, 1.7vw, 28px)/1.35 Georgia !important;
    letter-spacing: .12em;
    border-bottom: 1px solid #c9ad91;
    padding-bottom: 12px
}

#whoosh-case .wc-paper strong {
    font: italic clamp(50px, 6vw, 100px)/1 Georgia !important
}

#whoosh-case .wc-paper em {
    font: italic clamp(13px, 1.5vw, 23px)/1.3 Georgia !important
}

#whoosh-case .wc-info h3, #whoosh-case .wc-card h3 {
    color: #573421 !important;
    font: normal clamp(21px, 2vw, 32px)/1.12 Georgia !important
}

#whoosh-case .wc-info p, #whoosh-case .wc-info li {
    font: clamp(12px, 1.08vw, 17px)/1.35 Arial !important;
    color: #302922 !important;
    overflow-wrap: normal;
    word-break: normal
}

#whoosh-case .wc-info li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 3px 0
}

#whoosh-case .wc-info li:before {
    flex: 0 0 16px;
    margin: 0
}

#whoosh-case .wc-stats div {
    background: #efdfd0 !important;
    border: 1px solid #f9eee4 !important;
    padding: 12px 15px !important;
    font: clamp(13px, 1.2vw, 19px)/1.1 Georgia !important;
    overflow-wrap: normal;
    word-break: normal
}

#whoosh-case .wc-stats strong {
    font: italic clamp(34px, 3.6vw, 60px)/1 Georgia !important
}

#whoosh-case .wc-cards {
    gap: 12px;
    margin-top: 16px
}

#whoosh-case .wc-card {
    background: linear-gradient(120deg, #f7e9db, #ead5c2) !important;
    border: 1px solid #fff5ea !important;
    min-height: clamp(145px, 12vw, 190px);
    padding: 18px 42% 18px 24px !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important
}

#whoosh-case .wc-card u {
    display: inline-block;
    line-height: 1.4;
    font-size: clamp(13px, 1.1vw, 17px)
}

#whoosh-case .wc-mini {
    background: #fff1e2 !important;
    right: 6%;
    width: 32%;
    font-size: clamp(12px, 1.2vw, 18px)
}

#whoosh-case footer {
    background: none !important;
    color: #76543e !important;
    margin-top: 8px !important;
    font-size: clamp(11px, .9vw, 14px) !important
}

#whoosh-case .wc-card:first-child {
    padding-right: 42% !important
}

#whoosh-case .wc-card:first-child h3 {
    max-width: 145px
}

#whoosh-case .wc-card:first-child .wc-mini {
    right: 5%
}

@media (max-width: 800px) {
    #whoosh-case .wc-main, #whoosh-case .wc-cards {
        grid-template-columns:1fr
    }

    #whoosh-case .wc-visual {
        min-height: 390px !important
    }

    #whoosh-case .wc-phone {
        max-height: 100%;
        width: 48% !important
    }

    #whoosh-case .wc-paper {
        padding: 8% 5% !important
    }

    #whoosh-case .wc-stats div {
        padding: 10px 6px !important
    }

    #whoosh-case .wc-kicker {
        letter-spacing: .1em
    }

    #whoosh-case .wc-kicker:before, #whoosh-case .wc-kicker:after {
        width: 15px
    }
}


:root {
    --paper: #faf7f2;
    --sand: #eee3d7;
    --linen: #e5d6c7;
    --ink: #3b3029;
    --muted: #66584e;
    --accent: #765744;
    --rule: #d6c6b8
}

html, body {
    background: var(--paper) !important;
    color: var(--ink) !important;
    scroll-snap-type: none !important
}

main {
    overflow: clip !important
}

main > section, section[id] {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: clamp(40px, 5vw, 76px) 0 !important;
    scroll-snap-align: none !important;
    transform: none !important;
    border: 0 !important;
    border-bottom: 1px solid var(--rule) !important
}

#home.hero {
    background: #eee4dc !important;
    padding: 0 !important
}

.reference-hero {
    max-width: 1200px !important;
    min-height: 0 !important;
    padding: 0 32px 30px !important;
    background: transparent !important
}

.reference-top {
    height: 76px !important
}

.reference-stage {
    height: clamp(430px, 42vw, 560px) !important
}

.reference-word {
    font-size: clamp(75px, 11.5vw, 156px) !important;
    top: 22px !important;
    color: #735b4d !important
}

.reference-person {
    height: 90% !important;
    bottom: 0 !important
}

.reference-intro {
    top: 38% !important;
    max-width: 34% !important
}

.reference-intro h2 {
    font-size: clamp(25px, 3vw, 42px) !important;
    margin-bottom: 20px !important
}

.reference-services {
    top: 65% !important;
    background: transparent !important
}

.reference-rings {
    height: 70% !important;
    top: 25% !important
}

.reference-benefits {
    background: #faf7f2 !important;
    padding: 22px 12px !important;
    box-shadow: none !important;
    border: 1px solid var(--rule)
}

#approach, #projects, #about {
    background: var(--paper) !important
}

#skills, #feedback, #blog {
    background: var(--sand) !important
}

#contact {
    background: var(--linen) !important
}

#whoosh-case {
    background: linear-gradient(115deg, #ead9c7, #faf5ef 65%) !important
}

.wrap, .wc-wrap, .review-heading, .review-grid, #blog .blog-grid {
    width: min(1120px, calc(100% - 64px)) !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important
}

section h2, .section-head h2 {
    font: 400 clamp(30px, 3.6vw, 48px)/1.15 Georgia, serif !important;
    color: var(--ink) !important;
    letter-spacing: -.025em !important
}

section h3 {
    color: var(--ink) !important
}

section p, section li {
    color: var(--muted)
}

.section-head {
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
    border-color: var(--rule) !important
}

.section-num, .eyebrow, .blog-kicker, .review-overline {
    color: var(--accent) !important
}

.process, .skill-grid, .case-grid, .review-grid {
    gap: 16px !important
}

.process article, .skill, .skill-detail, .case-card, .case-text, .review-card, #blog .blog-tile, .contact-panel {
    background: #fffdf9 !important;
    border-color: var(--rule) !important;
    box-shadow: none !important;
    border-radius: 12px !important
}

.process article {
    padding: 20px !important
}

.process article p, .case-text p, .skill-detail p {
    font-size: 15px !important;
    line-height: 1.5 !important
}

.case-cover {
    height: clamp(150px, 18vw, 220px) !important
}

.case-text {
    padding: 20px !important
}

.case-text h3 {
    font-size: 23px !important;
    line-height: 1.2 !important
}

.skill {
    min-height: 76px !important;
    padding: 16px !important
}

.btn:not(.secondary), .reference-top-cta, .reference-intro a, .review-open, #blog .blog-link, .always-top {
    background: var(--accent) !important;
    color: white !important;
    border-color: var(--accent) !important
}

.outline-btn {
    border-color: var(--accent) !important;
    color: var(--ink) !important
}

#blog {
    padding-inline: 0 !important
}

#blog > h2, #blog > .blog-intro, #blog > .blog-kicker, #blog > .blog-end {
    max-width: calc(100% - 48px);
    margin-left: auto !important;
    margin-right: auto !important
}

#blog .blog-tile {
    min-width: 0 !important
}

#blog img.blog-phone {
    object-fit: contain !important;
    max-height: 360px !important;
    height: auto !important;
    filter: none !important
}

#about .about-photo {
    background: var(--sand) !important;
    border: 0 !important;
    box-shadow: none !important
}

#about .about-photo img {
    max-height: 500px !important;
    object-fit: contain !important
}

#contact .contact-panel {
    padding: 24px !important
}

#whoosh-case .wc-visual {
    display: grid !important;
    grid-template-columns:1fr 1fr !important;
    gap: 20px !important;
    align-items: center !important;
    min-height: 0 !important
}

#whoosh-case .wc-phone {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 250px !important;
    max-height: 390px !important;
    transform: rotate(-4deg) !important;
    grid-column: 1;
    grid-row: 1
}

#whoosh-case .wc-paper {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 230px !important;
    grid-column: 2;
    grid-row: 1;
    padding: 25px 14px !important;
    transform: rotate(2deg) !important;
    box-sizing: border-box !important
}

#whoosh-case .wc-paper span {
    font: 18px/1.4 Georgia !important;
    letter-spacing: .02em !important;
    overflow-wrap: anywhere
}

#whoosh-case .wc-head {
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important
}

#whoosh-case .wc-card {
    min-width: 0 !important
}

#whoosh-case .wc-info p, #whoosh-case .wc-info li {
    font-size: 15px !important;
    line-height: 1.4 !important
}

#whoosh-case .wc-stats div {
    font-size: 16px !important
}

#whoosh-case .wc-card h3 {
    font-size: 26px !important
}

@media (max-width: 760px) {
    .wrap, .wc-wrap, .review-heading, .review-grid, #blog .blog-grid {
        width: calc(100% - 32px) !important
    }

    .reference-hero {
        padding: 0 16px 24px !important
    }

    .reference-stage {
        height: 600px !important
    }

    .reference-word {
        font-size: 13vw !important
    }

    .reference-person {
        height: 67% !important
    }

    .reference-intro {
        top: 24% !important;
        max-width: 65% !important
    }

    .reference-services {
        top: 65% !important
    }

    .reference-intro h2 {
        font-size: 24px !important
    }

    .reference-benefits {
        padding: 12px !important
    }

    #whoosh-case .wc-visual {
        gap: 12px !important
    }

    #whoosh-case .wc-paper span {
        font-size: 15px !important
    }

    section[id] {
        padding: 36px 0 !important
    }

    #home.hero {
        padding: 0 !important
    }
}

#whoosh-case {
    background: radial-gradient(ellipse at 110% 110%, #ed9959 0 13%, transparent 13.2%), #faf1e6 !important;
    color: #492b16 !important;
    padding: clamp(20px, 3vw, 48px) !important;
    min-height: 0 !important;
    overflow: visible !important
}

#whoosh-case .nw {
    max-width: 1500px;
    margin: auto;
    font-family: Georgia, serif
}

#whoosh-case .nw * {
    box-sizing: border-box
}

#whoosh-case .nw-kicker {
    display: flex;
    align-items: center;
    gap: 28px;
    font: 500 clamp(12px, 1.3vw, 20px) Arial;
    letter-spacing: .16em
}

#whoosh-case .nw-kicker:after {
    content: '';
    height: 1px;
    background: #a58b75;
    flex: 1
}

#whoosh-case .nw-head {
    display: grid;
    grid-template-columns:2.1fr 1fr;
    gap: 25px;
    align-items: center;
    margin: 20px 0 30px
}

#whoosh-case .nw-head h2 {
    font: normal clamp(34px, 5.6vw, 88px)/.96 Georgia !important;
    letter-spacing: -.04em;
    margin: 0 !important;
    color: inherit !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    text-align: left !important
}

#whoosh-case .nw-head p {
    font: italic clamp(17px, 2vw, 30px) Georgia;
    margin: 14px 0 0
}

#whoosh-case aside {
    border-left: 1px solid #a58b75;
    padding: 0 0 0 24px;
    font: clamp(14px, 1.35vw, 21px)/1.5 Arial
}

#whoosh-case .nw-grid {
    display: grid;
    grid-template-columns:1.1fr .68fr 1.04fr 1.08fr;
    gap: 14px;
    align-items: stretch
}

#whoosh-case .nw button {
    cursor: pointer;
    color: inherit;
    font-family: inherit;
    text-align: left;
    border: 0;
    min-width: 0
}

#whoosh-case .nw-feed {
    grid-row: span 2;
    padding: 0;
    background: none;
    overflow: hidden;
    border-radius: 14px
}

#whoosh-case .nw-feed img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

#whoosh-case .nw-panel {
    background: linear-gradient(145deg, #f5e5d4, #f8ecdf);
    border-radius: 24px;
    padding: clamp(12px, 1.6vw, 25px);
    box-shadow: 0 5px 16px #70401b0b;
    position: relative
}

#whoosh-case .nw-panel:hover {
    box-shadow: 0 5px 18px #70401b25
}

#whoosh-case .nw-panel h3 {
    font: 500 clamp(15px, 1.6vw, 25px) Arial !important;
    letter-spacing: .08em;
    margin: 0 0 20px !important;
    color: inherit !important
}

#whoosh-case .nw-panel ul {
    padding-left: 18px;
    list-style: square;
    margin: 0;
    font-size: clamp(13px, 1.25vw, 18px);
    line-height: 1.25
}

#whoosh-case .nw-panel li {
    margin: 0 0 15px
}

#whoosh-case .nw-bars {
    display: flex;
    align-items: end;
    justify-content: end;
    gap: 5px;
    height: 42px
}

#whoosh-case .nw-bars i {
    width: 10px;
    background: #d8b28e;
    height: 25%
}

#whoosh-case .nw-bars i:nth-child(2) {
    height: 45%
}

#whoosh-case .nw-bars i:nth-child(3) {
    height: 70%
}

#whoosh-case .nw-bars i:nth-child(4) {
    height: 100%
}

#whoosh-case .nw-chart {
    display: flex;
    gap: 10px;
    align-items: center
}

#whoosh-case .nw-ring {
    flex: 1;
    aspect-ratio: 1;
    border-radius: 50%;
    background: conic-gradient(#ef9148 0 25%, #d99b68 25% 45%, #f9c397 45% 65%, #dfb28a 65% 85%, #efc69c 85%);
    display: grid;
    place-items: center
}

#whoosh-case .nw-ring > div {
    width: 66%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #f8ecdf;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: clamp(9px, 1vw, 15px)
}

#whoosh-case .nw-ring strong {
    font: italic clamp(24px, 3.5vw, 55px)/1 Georgia
}

#whoosh-case .nw-legend {
    font-size: clamp(10px, 1vw, 15px)
}

#whoosh-case .nw-legend > div {
    display: flex;
    gap: 5px;
    margin: 8px 0
}

#whoosh-case .nw-legend i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex: none
}

#whoosh-case table {
    width: 100%;
    border-collapse: collapse;
    font-size: clamp(10px, .95vw, 15px);
    background: #f9eee2
}

#whoosh-case td, #whoosh-case th {
    border: 1px solid #e3cbb4;
    padding: 7px 5px;
    text-align: left;
    white-space: normal
}

#whoosh-case th {
    background: #efddca
}

#whoosh-case .nw-flow {
    grid-column: 2/5;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    padding: 12px 0
}

#whoosh-case .nw-flow button {
    background: #efdfce;
    border-radius: 100px;
    padding: 10px 18px;
    font-size: clamp(16px, 2vw, 30px);
    text-align: center;
    flex: 1
}

#whoosh-case .nw-flow button:last-child {
    background: #e58239;
    color: white
}

#whoosh-case .nw-flow span {
    font-size: 30px;
    color: #ad682e
}

#whoosh-case .nw-bottom {
    display: grid;
    grid-template-columns:1fr 1fr 1fr 2.5fr;
    align-items: center;
    margin-top: 28px;
    text-align: center;
    font-size: clamp(15px, 1.8vw, 26px);
    line-height: 1
}

#whoosh-case .nw-bottom > div {
    border-right: 1px solid #a58b75;
    padding: 0 12px
}

#whoosh-case .nw-bottom strong {
    display: block;
    font: italic clamp(40px, 5vw, 76px)/1 Georgia;
    color: #c96019
}

#whoosh-case .nw-bottom p {
    font: italic clamp(12px, 1.3vw, 19px)/1.5 Georgia;
    text-align: left;
    padding-left: 25px
}

#whoosh-strategy {
    max-width: 650px;
    width: 90%;
    border: 0;
    border-radius: 18px;
    padding: 24px;
    background: #faf1e6;
    color: #492b16
}

#whoosh-strategy::backdrop {
    background: #39291c88
}

@media (max-width: 850px) {
    #whoosh-case .nw-head {
        grid-template-columns:1fr
    }

    #whoosh-case .nw-grid {
        grid-template-columns:1fr 1fr
    }

    #whoosh-case .nw-feed {
        grid-row: auto
    }

    #whoosh-case .nw-flow {
        grid-column: 1/-1;
        flex-wrap: wrap
    }

    #whoosh-case .nw-bottom {
        grid-template-columns:repeat(3, 1fr)
    }

    #whoosh-case .nw-bottom p {
        grid-column: 1/-1;
        text-align: center;
        padding: 0
    }

    #whoosh-case .nw-panel h3 {
        font-size: 16px !important
    }
}

@media (max-width: 480px) {
    #whoosh-case .nw-grid {
        grid-template-columns:1fr
    }

    #whoosh-case .nw-feed img {
        max-height: 400px;
        object-fit: contain
    }

    #whoosh-case .nw-ring {
        max-width: 150px
    }

    #whoosh-case .nw-flow span {
        display: none
    }
}

#whoosh-case .nw-feed {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    cursor: default;
    align-self: center
}

#whoosh-case .nw-feed img {
    width: 94%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    border-radius: 12px;
    cursor: default;
    pointer-events: none
}

#whoosh-case .nw-plan-note {
    display: block;
    font: 12px/1.4 Arial;
    margin: 0 0 8px
}

#whoosh-case table + .nw-plan-note {
    margin: 8px 0 0
}

#whoosh-case .nw-panel td, #whoosh-case .nw-panel th {
    padding: 5px 4px;
    overflow-wrap: normal;
    word-break: normal
}

#one-wheel-case {
    box-sizing: border-box;
    background: #f4ede4;
    color: #493629;
    padding: clamp(24px, 4vw, 60px) clamp(20px, 5vw, 76px);
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible
}

#one-wheel-case * {
    box-sizing: border-box
}

#one-wheel-case .ow-wrap {
    max-width: 1180px;
    margin: auto
}

#one-wheel-case .ow-kicker {
    font: 600 10px/1.5 Arial, sans-serif;
    letter-spacing: .14em;
    color: #846a57
}

#one-wheel-case h2 {
    font: 400 clamp(30px, 4vw, 53px)/1.08 Georgia, serif;
    letter-spacing: -.035em;
    margin: 9px 0;
    color: #493629
}

#one-wheel-case h2 em {
    color: #98785f;
    font-weight: 400
}

#one-wheel-case .ow-sub {
    font: 400 15px/1.5 Arial, sans-serif;
    margin: 0 0 22px;
    color: #796453
}

#one-wheel-case .ow-top {
    display: grid;
    grid-template-columns:1.13fr 1fr;
    gap: 26px;
    align-items: center
}

#one-wheel-case figure {
    margin: 0;
    min-width: 0;
    background: #fffaf4;
    border: 1px solid #d8c9b9;
    padding: 10px;
    border-radius: 12px
}

#one-wheel-case figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 7px;
    object-fit: contain
}

#one-wheel-case figcaption {
    font-size: 11px;
    color: #796453;
    margin: 7px 0
}

#one-wheel-case button {
    cursor: pointer;
    white-space: normal;
    color: inherit;
    font-family: Arial, sans-serif
}

#one-wheel-case figure button {
    border: 1px solid #aa927d;
    background: transparent;
    padding: 9px 14px;
    border-radius: 20px;
    font-size: 12px
}

#one-wheel-case .ow-intro h3 {
    font: 400 clamp(23px, 2.7vw, 34px)/1.15 Georgia, serif;
    margin: 8px 0 10px;
    color: #493629
}

#one-wheel-case .ow-intro p {
    font: 400 15px/1.55 Arial, sans-serif;
    margin: 0 0 15px
}

#one-wheel-case .ow-stats {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 10px
}

#one-wheel-case .ow-stats div {
    background: #e8dbcc;
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.4
}

#one-wheel-case .ow-stats b {
    display: block;
    font: 400 34px/1 Georgia, serif;
    color: #896a54;
    margin-bottom: 4px
}

#one-wheel-case .ow-cards {
    display: grid;
    grid-template-columns:repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px
}

#one-wheel-case .ow-cards button {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 8px;
    padding: 14px;
    min-width: 0;
    background: #fffaf4;
    border: 1px solid #d8c9b9;
    border-radius: 10px;
    overflow-wrap: break-word;
    transition: background .2s, transform .2s
}

#one-wheel-case .ow-cards button:hover {
    background: #fff;
    transform: translateY(-2px)
}

#one-wheel-case .ow-cards span {
    font-size: 9px;
    letter-spacing: .06em;
    color: #846a57
}

#one-wheel-case .ow-cards strong {
    font: 400 20px/1.15 Georgia, serif
}

#one-wheel-case .ow-cards small {
    font-size: 12px;
    line-height: 1.45;
    color: #796453
}

#one-wheel-case .ow-cards i {
    font: 600 11px/1.4 Arial, sans-serif;
    color: #86634d;
    margin-top: auto;
    padding-top: 6px
}

#one-wheel-case .ow-foot {
    font-size: 11px;
    line-height: 1.5;
    color: #796453;
    margin-top: 16px
}

#ow-project-dialog {
    padding: 0 !important;
    border: 1px solid #d8c9b9;
    border-radius: 14px;
    background: #f4ede4;
    color: #493629;
    width: min(1240px, 96vw);
    max-width: 96vw;
    height: 92vh;
    max-height: 92vh;
    overflow: hidden
}

#ow-project-dialog[open] {
    display: flex;
    flex-direction: column
}

#ow-project-dialog::backdrop {
    background: #211b16bb
}

#ow-project-dialog .ow-modalbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    font: 600 14px Arial, sans-serif;
    flex: none
}

#ow-project-dialog button {
    background: #fffaf4;
    border: 1px solid #aa927d;
    border-radius: 20px;
    padding: 8px 15px;
    color: #493629;
    cursor: pointer
}

#ow-project-dialog iframe {
    display: block;
    flex: 1;
    min-height: 0;
    width: 100%;
    border: 0;
    background: #15171d
}

@media (max-width: 850px) {
    #one-wheel-case .ow-cards {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }
}

@media (max-width: 600px) {
    #one-wheel-case .ow-top, #one-wheel-case .ow-cards {
        grid-template-columns:1fr
    }

    #one-wheel-case .ow-top {
        gap: 16px
    }
}

@media (min-width: 761px) {
    #home .reference-person {
        left: 39% !important
    }
}

#one-wheel-case figure button {
    margin-top: 10px
}

.ow-trailer.ow-trailer-compact {
    grid-template-columns:minmax(0, 1fr) auto;
    gap: 18px;
    padding: 18px 22px
}

.ow-trailer-open {
    border: 1px solid #765744;
    background: #765744;
    color: #fff;
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
    font: inherit;
    white-space: nowrap
}

#ow-trailer-dialog {
    box-sizing: border-box;
    width: min(900px, 92vw);
    max-height: 92dvh;
    padding: 18px;
    border: 0;
    border-radius: 16px;
    background: #faf7f2;
    color: #493629;
    overflow: auto
}

#ow-trailer-dialog::backdrop {
    background: rgba(30, 22, 18, .75)
}

#ow-trailer-dialog .ow-trailer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px
}

#ow-trailer-dialog h3 {
    margin: 0;
    font-size: clamp(16px, 2vw, 22px)
}

#ow-trailer-dialog button {
    background: transparent;
    border: 1px solid #d8c9b9;
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    color: inherit;
    font: inherit
}

#ow-trailer-dialog video {
    display: block;
    width: 100%;
    max-height: 72dvh;
    object-fit: contain;
    background: #17171d;
    border-radius: 8px
}

@media (max-width: 650px) {
    .ow-trailer.ow-trailer-compact {
        grid-template-columns:1fr
    }

    .ow-trailer-open {
        justify-self: start
    }
}

/* Shared editorial grid; content can expand rather than be clipped. */
body {
    --portfolio-width: 1120px;
    --portfolio-gutter: 32px;
    --portfolio-section-pad: 44px;
    --portfolio-section-height: clamp(660px, 100svh, 900px)
}

#one-wheel-case button.ow-trailer-open {
    color: #fff !important;
    background: #765744 !important;
    border-color: #765744 !important;
    font-weight: 600;
    white-space: normal !important;
    text-align: center
}

#one-wheel-case button.ow-trailer-open:hover, #one-wheel-case button.ow-trailer-open:focus-visible {
    color: #fff !important;
    background: #604535 !important;
    border-color: #604535 !important
}

#one-wheel-case .ow-trailer.ow-trailer-compact {
    grid-template-columns:minmax(0, 1fr) auto;
    gap: 18px;
    padding: 18px 22px
}

#one-wheel-case .ow-trailer-compact > *, #one-wheel-case .ow-top > *, #one-wheel-case .ow-cards > * {
    min-width: 0
}

@media (min-width: 851px) {
    body section[id]:is(#home,#approach,#skills,#projects,#one-wheel-case,#feedback,#blog,#about,#contact) {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        height: auto !important;
        min-height: var(--portfolio-section-height) !important;
        max-height: none !important;
        padding: var(--portfolio-section-pad) 0 !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        zoom: 1 !important;
        scroll-snap-align: none !important
    }

    body section[id]:is(#approach,#skills,#projects,#about,#contact) > .wrap, #one-wheel-case > .ow-wrap, #feedback > .review-heading, #feedback > .review-grid, #blog > .blog-grid, #home > .reference-hero {
        box-sizing: border-box !important;
        width: min(var(--portfolio-width), calc(100% - 2 * var(--portfolio-gutter))) !important;
        max-width: var(--portfolio-width) !important;
        margin-inline: auto !important;
        min-width: 0 !important
    }

    body #home.hero {
        padding: 0 !important
    }

    #home > .reference-hero {
        padding-inline: 0 !important;
        padding-bottom: 24px !important
    }

    #feedback > .review-heading, #feedback > .review-grid {
        padding-inline: 0 !important
    }

    #feedback > .review-heading {
        padding-bottom: 24px !important
    }

    #blog > .blog-kicker, #blog > h2, #blog > .blog-intro, #blog > .blog-end {
        max-width: min(var(--portfolio-width), calc(100% - 2 * var(--portfolio-gutter))) !important
    }

    #one-wheel-case .ow-top {
        gap: 20px
    }

    #one-wheel-case .ow-sub {
        margin-bottom: 16px
    }

    #one-wheel-case .ow-cards {
        margin-top: 16px
    }

    #one-wheel-case .ow-trailer {
        margin-top: 16px
    }

    #approach .process article, #projects .case-card, #feedback .review-card {
        min-width: 0 !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important
    }

    #about .about-grid, #contact .editorial-contact {
        gap: clamp(24px, 4vw, 48px) !important
    }

    #blog .blog-grid, #projects .case-grid, #approach .process, #skills .skill-grid, #feedback .review-grid {
        align-items: stretch
    }
}

@media (max-width: 850px) {
    #one-wheel-case > .ow-wrap {
        width: calc(100% - 32px);
        max-width: 1120px;
        margin-inline: auto
    }

    #one-wheel-case .ow-trailer.ow-trailer-compact {
        grid-template-columns:1fr;
        padding: 16px
    }

    #one-wheel-case button.ow-trailer-open {
        justify-self: start
    }
}
