:root {
    color-scheme: light;
    --cream: #f7f4ed;
    --ink: #211d19;
    --muted: #625951;
    --wine: #862b32;
    --line: #dcd2c6;
    --heading: Georgia, "Times New Roman", serif;
    --body: system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.6 var(--body); }
a { color: inherit; }
a:focus-visible { outline: 3px solid #cb6a6f; outline-offset: 5px; }
img { display: block; width: 100%; object-fit: cover; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 400; line-height: 1.03; }
.wrap { width: min(91%, 1320px); margin-inline: auto; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 2; background: white; padding: 8px 12px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { min-height: 99px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; display: inline-grid; color: var(--wine); line-height: 1; padding: 10px 0; flex: none; }
.brand-name { font: 37px/.98 var(--heading); letter-spacing: .05em; }
.brand-line { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 9.5px; font-weight: 800; letter-spacing: .045em; padding-top: 5px; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.dots i:last-child { background: var(--wine); }
.brand small { color: var(--ink); justify-self: end; margin-top: 4px; font-size: 8px; }
.header nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(16px, 4vw, 55px); }
.header nav a, .header-phone { text-decoration: none; font-size: .9rem; font-weight: 650; }
.header nav a:hover { color: var(--wine); }
.header-phone { padding: 9px 15px; border: 1px solid var(--line); white-space: nowrap; }
.header-phone:hover { border-color: var(--wine); }
@media (prefers-reduced-motion: no-preference) {
    .intro-bounce {
        display: inline-block;
        animation: showroom-bounce 4.8s ease var(--bounce-delay, 1.2s) infinite;
    }
    .intro-bounce-phrase { --bounce-delay: 2.2s; }
}
@keyframes showroom-bounce {
    0%, 17%, 100% { transform: translateY(0); }
    5% { transform: translateY(-6px) rotate(-4deg); }
    9% { transform: translateY(0) scale(1.05, .94); }
    12% { transform: translateY(-3px) rotate(2deg); }
}
.hero-background {
    --hero-shade: linear-gradient(90deg, #f7f4edfa 2%, #f7f4ede8 36%, #f7f4ed66 70%, transparent);
    --hero-position: center;
    --hero-size: cover;
    --hero-built: url("/redesign/hero-library-built.webp");
    --hero-duration: 16s;
    position: relative;
    isolation: isolate;
    background: var(--hero-shade), var(--hero-built) var(--hero-position) / var(--hero-size) no-repeat, var(--cream);
}
.hero-motion-ready::before, .hero-motion-ready::after {
    content: "";
}
.hero-background::before, .hero-background::after, .hero-unlit {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-background::before {
    z-index: -2;
    background: var(--hero-shade), var(--hero-frame-plan, none) var(--hero-position) / var(--hero-size) no-repeat, var(--cream);
    animation: hero-plan var(--hero-duration) linear both;
}
.hero-background::after {
    z-index: -3;
    background: var(--hero-shade), var(--hero-frame-assembly, none) var(--hero-position) / var(--hero-size) no-repeat, var(--cream);
    animation: hero-assembly var(--hero-duration) linear both;
}
.hero-background:not(.hero-motion-ready) :is(.hero-unlit, .hero-traces) { display: none; }
.hero-unlit {
    z-index: -4;
    background: var(--hero-shade), var(--hero-frame-unlit, none) var(--hero-position) / var(--hero-size) no-repeat, var(--cream);
    animation: hero-unlit var(--hero-duration) linear both;
}
@keyframes hero-plan {
    0%, 27% { opacity: 1; }
    48%, 100% { opacity: 0; }
}
@keyframes hero-assembly {
    0%, 57% { opacity: 1; }
    78%, 100% { opacity: 0; }
}
@keyframes hero-unlit {
    0%, 85% { opacity: 1; }
    100% { opacity: 0; }
}
.hero-traces {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    pointer-events: none;
    fill: none;
    stroke: #7a4e36;
    stroke-opacity: .72;
    stroke-width: 1.1;
    stroke-linecap: round;
    animation: hide-hero-traces var(--hero-duration) linear both;
}
.hero-traces path {
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: trace-hero-edge var(--trace-duration) linear calc(var(--trace-delay) + var(--trace-offset, 0s)) both;
}
.hero-traces path:nth-child(3n + 2) { --trace-offset: .32s; }
.hero-traces path:nth-child(3n) { --trace-offset: .64s; }
.hero-trace-measurements {
    --trace-delay: .15s;
    --trace-duration: 1.45s;
    stroke-opacity: .48;
    stroke-width: .8;
}
.hero-trace-structure { --trace-delay: 1.45s; --trace-duration: 3.2s; }
.hero-trace-shelves { --trace-delay: 3.75s; --trace-duration: 3.75s; }
.hero-trace-joinery { --trace-delay: 6.25s; --trace-duration: 3.5s; }
@keyframes trace-hero-edge { to { stroke-dashoffset: 0; } }
@keyframes hide-hero-traces {
    0%, 58% { opacity: 1; }
    82%, 100% { opacity: 0; }
}
.hero-intro { padding: clamp(42px, 6vw, 87px) 0 clamp(28px, 4vw, 50px); }
.eyebrow { font-size: .75rem; font-weight: 750; letter-spacing: .115em; text-transform: uppercase; }
.hero .eyebrow { color: var(--wine); }
.hero h1 { margin: 14px 0 21px; font-size: clamp(2.85rem, 7.1vw, 7.8rem); letter-spacing: -.065em; }
.hero h1 em { font-weight: 400; color: var(--wine); }
.intro-text { max-width: 65ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.22rem); }
.hero-grid, .work-grid { display: grid; gap: clamp(12px, 2vw, 27px); }
.hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature { position: relative; display: flex; align-items: end; min-height: clamp(315px, 40vw, 550px); overflow: hidden; isolation: isolate; background: #392c25; color: white; text-decoration: none; }
.feature img, .feature::after { position: absolute; inset: 0; height: 100%; }
.feature img { z-index: -2; transition: transform .38s ease; }
.feature::after { content: ""; z-index: -1; background: linear-gradient(180deg, transparent 15%, #16110d44 36%, #100b08ed 100%); }
.feature:hover img { transform: scale(1.04); }
.feature-copy { width: 100%; padding: clamp(20px, 3vw, 39px); }
.feature .eyebrow { color: #f4e5d6; }
.feature h2 { margin: 8px 0; font-size: clamp(2rem, 4vw, 4.5rem); }
.feature-action { display: inline-flex; gap: 14px; align-items: center; margin-top: 20px; padding-bottom: 3px; border-bottom: 1px solid #fff9; font-weight: 700; font-size: .91rem; }
.work-backdrop {
    background:
        linear-gradient(180deg, var(--cream) 0%, transparent 13%, transparent 84%, var(--cream) 100%),
        url("/redesign/workbench-background.webp") center / cover no-repeat,
        var(--cream);
}
.work { padding-block: clamp(70px, 10vw, 135px); }
.work .section-head h2 { position: relative; }
.work .section-head h2::before {
    content: "";
    position: absolute;
    top: -17px;
    left: 0;
    width: 44px;
    height: 2px;
    background: var(--wine);
}
@media (max-width: 710px) {
    .work-backdrop {
        background:
            linear-gradient(180deg, transparent 0%, var(--cream) 100%),
            url("/redesign/workbench-background.webp") right top / 100% auto no-repeat,
            var(--cream);
    }
}
.section-head { margin-bottom: 29px; display: flex; justify-content: space-between; align-items: end; gap: 12px 32px; flex-wrap: wrap; }
.section-head h2, .custom h2 { font-size: clamp(2.35rem, 5vw, 5.5rem); letter-spacing: -.045em; }
.section-head p { color: var(--muted); max-width: 46ch; }
.work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-item { position: relative; border-bottom: 1px solid var(--line); padding-bottom: 15px; }
.work-item::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px;
    height: 1px;
    background: var(--wine);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
    pointer-events: none;
}
.work-item:is(:hover, :focus-within)::after { transform: scaleX(1); }
.work-item a { display: block; text-decoration: none; }
.work-item a:hover { color: var(--wine); }
.work-photo {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ddd1c2;
}
.work-photo img { height: 100%; transition: transform .48s ease; }
.work-photo::before, .work-photo::after {
    content: "";
    position: absolute;
    z-index: 1;
    pointer-events: none;
}
.work-photo::before {
    inset: 0;
    border: 1px solid #211d1929;
}
.work-photo::after {
    inset: 9px;
    border: 1px solid #fff9edb8;
    opacity: 0;
    transition: opacity .25s ease;
}
.work-item a:is(:hover, :focus-visible) img { transform: scale(1.045); }
.work-item a:is(:hover, :focus-visible) .work-photo::after { opacity: 1; }
.work-item h3 { display: flex; justify-content: space-between; gap: 10px; margin: 14px 0 7px; font-size: clamp(1.38rem, 2.4vw, 2.05rem); }
.work-item h3 span { color: var(--wine); font-family: var(--body); font-size: .68em; }
.work-item a:is(:hover, :focus-visible) h3 span { transform: translate(2px, -2px); }
.work-item h3 span { transition: transform .22s ease; }
.work-item p { color: var(--muted); font-size: .95rem; }
.work-item .work-materials { margin-bottom: 6px; color: var(--wine); font-size: .78rem; font-weight: 650; }
@media (prefers-reduced-motion: reduce) {
    .work-item::after, .work-item h3 span, .work-photo::after, .work-photo img { transition: none; }
    .work-item a:is(:hover, :focus-visible) :is(h3 span, img) { transform: none; }
}
.custom {
    position: relative;
    isolation: isolate;
    background: #241c17;
    color: #fff7e9;
}
.custom::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, #241c17 0%, #241c17ed 37%, #241c175c 76%),
        linear-gradient(180deg, #211710eb 0%, #211710a8 46%, transparent 94%),
        url("/redesign/custom-workshop.webp") center 65% / cover no-repeat;
    pointer-events: none;
}
.custom::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 6% auto 6% 0;
    width: clamp(150px, 20vw, 390px);
    background: url("/redesign/custom-joint-sketch.webp") left center / contain no-repeat;
    mask-image: linear-gradient(90deg, #000 52%, transparent);
    opacity: var(--custom-sketch-opacity, .25);
    pointer-events: none;
}
@keyframes workshop-sketch {
    0% { clip-path: inset(0 100% 0 0); opacity: 0; }
    45%, 68% { clip-path: inset(0); opacity: var(--custom-sketch-opacity, .25); }
    100% { clip-path: inset(0); opacity: 0; }
}
.custom-call-note { margin-top: 12px; font-size: .88rem; }
.custom-call strong {
    display: block;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    letter-spacing: .04em;
    line-height: 1.23;
}
@media (prefers-reduced-motion: no-preference) {
    .custom-in-view::before { animation: workshop-light 4.8s linear both; }
    .custom-in-view::after { animation: workshop-sketch 4.8s linear both; }
    .custom-in-view .custom-call { animation: workshop-call 1.15s ease-out 4.2s both; }
}
@keyframes workshop-light {
    0%, 28% { opacity: .42; }
    67% { opacity: .76; }
    100% { opacity: 1; }
}
@keyframes workshop-call {
    0%, 100% { box-shadow: 0 0 0 0 transparent; }
    38% { box-shadow: 0 0 0 5px #eca0a63b; }
}
@media (max-width: 710px) {
    .custom::after {
        --custom-sketch-opacity: .12;
        inset: auto 0 0 auto;
        width: 62%;
        height: 54%;
        background-position: right bottom;
        mask-image: linear-gradient(90deg, transparent, #000 45%);
    }
    .custom::before {
        background:
            linear-gradient(180deg, #241c17ed, #241c17bd 55%, #241c179e),
            url("/redesign/custom-workshop.webp") 72% center / cover no-repeat;
    }
}
.custom-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 8vw, 122px); padding-block: clamp(51px, 9vw, 115px); }
.custom h2 { margin: 12px 0 19px; }
.custom p:not(.eyebrow), .custom dd { color: #e1d4c8; }
.custom .eyebrow { color: #eea5a8; }
.services div { padding-block: 17px; border-bottom: 1px solid #68594e; }
.services div:first-child { border-top: 1px solid #68594e; }
.services dt { font: 1.38rem/1.2 var(--heading); margin-bottom: 4px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 100%; margin-top: 22px; background: var(--wine); color: white; padding: 11px 16px; text-decoration: none; font-weight: 700; font-size: .9rem; }
.button:hover { background: #6b2026; }
.footer { border-top: 1px solid var(--line); font-size: .8rem; }
.footer .wrap {
    padding-block: 19px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 54px;
    align-items: center;
    gap: 12px 18px;
}
@media (max-width: 600px) {
    .footer .wrap { grid-template-columns: minmax(0, 1fr) 54px; }
    .footer-credit { grid-column: 1; }
    .footer .back-to-top { grid-row: 1 / 3; }
}
.footer-credit { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--muted); line-height: 1.35; }
.footer-credit img { flex: 0 0 46px; width: 46px; aspect-ratio: 1; object-fit: contain; }
.footer-credit strong { color: var(--ink); }
.footer-credit:hover strong { color: var(--wine); }
.back-to-top {
    grid-column: -2 / -1;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 48px;
    min-height: 48px;
    color: var(--wine);
    font-weight: 700;
    text-decoration: none;
}
.back-to-top {
    width: 54px;
    height: 54px;
    border: 1px solid #b08a73;
    border-radius: 14px;
    background: #f7f4ed;
    box-shadow: 0 7px 24px #4d2c1e26;
}
.back-to-top[data-floating]:not([data-docked]) {
    position: fixed;
    z-index: 5;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
}
.back-to-top[data-floating]:not([data-docked]):not([data-visible]) { visibility: hidden; }
.back-to-top .back-to-top-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.back-to-top-ring {
    display: grid;
    place-items: center;
    width: 32px;
    aspect-ratio: 1;
    padding: 1px;
    border-radius: 50%;
    background: conic-gradient(var(--wine) var(--page-progress, 0%), #cab5a3 0);
}
.back-to-top-ring > span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--cream);
    line-height: 1;
}
.back-to-top-arrow { position: relative; display: block; font-size: 1.15rem; }
.back-to-top-arrow::after {
    content: "";
    display: block;
    width: 8px;
    height: 3px;
    margin: 1px auto 0;
    border-block: 1px solid #b08a73;
}
.back-to-top:is(:hover, :focus-visible) { color: var(--wine); border-color: var(--wine); }
@media (prefers-reduced-motion: no-preference) {
    .back-to-top-arrow { transition: transform .23s ease; }
    .back-to-top:is(:hover, :focus-visible) .back-to-top-arrow { transform: translateY(-3px); }
}
@media (max-width: 710px) {
    .desktop-break { display: none; }
    .hero-grid, .work-grid, .custom-grid { grid-template-columns: minmax(0, 1fr); }
    .feature { min-height: clamp(285px, 76vw, 490px); }
    .hero-background {
        --hero-built: url("/redesign/hero-library-built-mobile.webp");
        --hero-shade: linear-gradient(90deg, #f7f4edee, #f7f4ed9e);
        --hero-position: center top;
        --hero-size: auto 48%;
    }
    .hero-traces { height: 48%; }
    .work-grid { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .feature img { transition: none; }
    .hero-background::before, .hero-background::after, .hero-unlit, .hero-traces, .hero-traces path { display: none; animation: none; }
}

.catalogue-backdrop {
    background:
        linear-gradient(180deg, var(--cream), #f7f4ed11 12%, #f7f4ed11 86%, var(--cream)),
        url("/redesign/catalogue-paper.webp") center top / cover no-repeat,
        var(--cream);
}
.catalogue { padding-bottom: clamp(60px, 9vw, 114px); }
.catalogue-all { color: var(--wine); font-weight: 700; }
.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
    gap: 0 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.catalogue-grid li { border-top: 1px solid var(--line); }
.catalogue-grid a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 11px 0;
    text-decoration: none;
    font-weight: 640;
}
.catalogue-grid a:hover, .catalogue-grid a span { color: var(--wine); }
.catalogue-details { border-top: 1px solid var(--line); }
.catalogue-details:last-child { border-bottom: 1px solid var(--line); }
.catalogue-details summary { padding: 15px 0; cursor: pointer; font-weight: 750; }
.catalogue-details summary:hover { color: var(--wine); }

.catalogue-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}
.catalogue-group {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(16px, 2.5vw, 30px);
    border: 1px solid var(--line);
    background: linear-gradient(125deg, #fffaf1d9, #fffaf178);
}
.catalogue-group::before, .catalogue-group::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    right: 0;
    width: 100%;
    aspect-ratio: 2;
    transform: translateY(-50%);
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    mix-blend-mode: multiply;
    pointer-events: none;
    mask-image:
        linear-gradient(to right, transparent 9%, #000 48%, #000 96%, transparent),
        linear-gradient(to bottom, transparent, #000 12%, #000 87%, transparent);
    mask-composite: intersect;
    transition: opacity 5s ease-in-out;
}
.catalogue-group::before {
    background-image: var(--catalogue-sketch);
    opacity: var(--catalogue-sketch-opacity, .42);
}
.catalogue-group::after {
    background-image: var(--catalogue-photo);
    opacity: 0;
}
.catalogue-revealed::before { opacity: 0; }
.catalogue-revealed::after { opacity: var(--catalogue-photo-opacity, .39); }
@media (prefers-reduced-motion: reduce) {
    .catalogue-group::before, .catalogue-group::after { transition: none; }
    .catalogue-group::before { opacity: 0; }
    .catalogue-group::after { opacity: var(--catalogue-photo-opacity, .39); }
}
.catalogue-group:first-child {
    --catalogue-sketch: url("/redesign/catalogue-kitchen-modern-plan.webp");
    --catalogue-photo: url("/redesign/catalogue-kitchen-modern-room.webp");
}
.catalogue-group:nth-child(2) {
    --catalogue-sketch: url("/redesign/catalogue-living-plan.webp");
    --catalogue-photo: url("/redesign/catalogue-living-room.webp");
}
.catalogue-group:nth-child(3) {
    --catalogue-sketch: url("/redesign/catalogue-bedroom-plan.webp");
    --catalogue-photo: url("/redesign/catalogue-bedroom-room.webp");
}
.catalogue-group:nth-child(4) {
    --catalogue-sketch: url("/redesign/catalogue-special-plan.webp");
    --catalogue-photo: url("/redesign/catalogue-special-room.webp");
}
.catalogue-group h3 {
    margin-bottom: 15px;
    border-left: 2px solid var(--wine);
    padding-left: 11px;
    font-size: clamp(1.4rem, 2.3vw, 2rem);
}
.catalogue-group .catalogue-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 182px), 1fr)); }
.catalogue-grid li, .catalogue-summary-label { min-width: 0; overflow-wrap: anywhere; }
.catalogue-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr));
    gap: 16px;
    padding: 5px 0 24px;
    margin: 0;
    list-style: none;
}
.catalogue-card {
    display: grid;
    min-width: 0;
    grid-template-rows: auto 1fr;
    height: 100%;
    text-decoration: none;
    border: 1px solid var(--line);
    background: #fffaf1e8;
}
.catalogue-card:hover, .catalogue-card:focus-visible { border-color: var(--wine); }
.catalogue-card img { aspect-ratio: 4 / 3; background: var(--line); }
.catalogue-card-label {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    overflow-wrap: anywhere;
    gap: 10px;
    padding: 10px 12px;
    font-weight: 620;
}
.catalogue-card-label span { color: var(--wine); }
@media (max-width: 710px) {
    .catalogue-groups { grid-template-columns: 1fr; }
    .catalogue-group { --catalogue-sketch-opacity: .31; --catalogue-photo-opacity: .28; }
    .catalogue-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: clamp(18px, 3vw, 25px);
}
.hero-action-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--wine);
    background: #fffaf1d9;
    color: var(--wine);
    font-size: .88rem;
    font-weight: 750;
    text-decoration: none;
}
.hero-action-outline:hover { background: #fffaf1; }

.catalogue-details summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 9px;
    min-height: 62px;
}
.catalogue-details summary::before {
    content: "";
    width: .48em;
    height: .48em;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
}
.catalogue-details[open] summary::before { transform: rotate(45deg); }
.catalogue-details summary::-webkit-details-marker { display: none; }
.catalogue-summary-previews { display: flex; gap: 4px; }
.catalogue-summary-previews img {
    width: clamp(27px, 6vw, 48px);
    height: auto;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
}

.hero-actions .button { margin-top: 0; }
.work-photo .work-closeup {
    position: absolute;
    z-index: 1;
    inset: auto 8px 8px auto;
    width: 37%;
    height: auto;
    border: 3px solid var(--cream);
    box-shadow: 0 2px 10px #211d1933;
}
.work-item a:hover .work-closeup { transform: none; }


@media (max-width: 1100px) {
    .header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 0;
        gap: 4px 12px;
        padding-top: 8px;
    }
    .header .brand { justify-self: start; }
    .header nav {
        grid-row: 2;
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0;
        border-top: 1px solid var(--line);
    }
    .header nav a {
        display: grid;
        place-items: center;
        min-height: 44px;
        padding: 4px 2px;
        text-align: center;
    }
}

@media (max-width: 860px) {
    .custom-grid { gap: clamp(24px, 5vw, 42px); }
    .catalogue-grid a { min-height: 44px; }
}

@media (min-width: 540px) and (max-width: 710px) {
    .hero-grid, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature { min-height: 315px; }
}

@media (max-width: 620px) {
    .header nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .header nav a:nth-child(n + 4) { border-top: 1px solid var(--line); }
}

@media (max-width: 539px) {
    .wrap { width: calc(100% - 32px); }
    .hero-intro { padding-block: 30px 24px; }
    .hero h1 {
        font-size: clamp(2.3rem, 10vw, 3.1rem);
        margin-block: 10px 16px;
    }
    .hero-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }
    .hero-action-outline { justify-content: space-between; }
    .feature-copy { padding: 20px; }
    .footer .wrap { gap: 9px 12px; }
}

@media (max-width: 370px) {
    .catalogue-cards { grid-template-columns: minmax(0, 1fr); }
    .catalogue-summary-previews img:nth-child(n + 3) { display: none; }
}

@media (max-width: 370px) {
    .brand-name { font-size: 29px; }
    .brand-line { font-size: 8px; }
    .header-phone { padding-inline: 9px; }
}

.footer .brand { justify-self: start; }
.footer .brand-name, .visit-brand .brand-name { font-size: clamp(23px, 3.4vw, 30px); }
.footer .brand-line, .visit-brand .brand-line { font-size: 8px; }

.legacy-linked-keywords {
    width: min(100%, 1050px);
    margin: clamp(24px, 4vw, 48px) auto 0;
    padding-block: 1.25rem;
    border-block: 1px solid var(--line);
}
.legacy-linked-keywords h2 { margin: 0 0 .75rem; font-size: clamp(1.25rem, 3vw, 1.75rem); }
.legacy-linked-keywords ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.legacy-linked-keywords a { display: inline-block; padding: .5rem .75rem; border: 1px solid var(--line); color: var(--wine); overflow-wrap: anywhere; }
.legacy-article-note {
    width: min(100%, 80ch);
    margin: clamp(24px, 5vw, 56px) auto 0;
    padding: clamp(18px, 4vw, 36px);
    border: 1px solid var(--line);
    border-inline-start: 2px solid var(--wine);
    background: linear-gradient(105deg, #fffaf1f5 30%, #f4e8d9b8), url("./catalogue-paper.webp") center / cover;
    box-shadow: 0 16px 34px -30px #4b2a1b75;
}
.legacy-article-note h2 {
    margin: 0 0 .55em;
    color: var(--wine);
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.15;
}
.seo-note-content {
    line-height: 1.75;
    overflow-wrap: anywhere;
}
.seo-note-content > :first-child { margin-block-start: 0; }
.seo-note-content > :last-child { margin-block-end: 0; }
.seo-note-content a { color: var(--wine); text-underline-offset: .2em; }
.seo-note-content > :is(h1, h2, h3, p, ul, ol) + * { margin-block-start: .65em; }
.seo-note-content :is(img, iframe, video) { max-width: 100%; }
