:root {
    --ink: #141414;
    --muted: #5e594f;
    --paper: #e8e4db;
    --paper-2: #f6f4ee;
    --line: rgba(20, 20, 20, 0.12);
    --hot: #e23b12;
    --hot-2: #c42f0c;
    --display: "Alumni Sans", "Arial Narrow", sans-serif;
    --sans: "Golos Text", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--paper);
}

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

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

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

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 0.88;
    text-transform: uppercase;
}

h2 { font-size: clamp(42px, 5vw, 76px); margin-bottom: 12px; }

a { color: var(--hot-2); }

.wrap {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.skip {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 80;
    background: #fff;
    color: var(--ink);
    padding: 8px 12px;
}

.skip:focus { top: 12px; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    position: fixed;
    z-index: 40;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1280px, calc(100% - 24px));
    color: #f6f4ee;
}

.header-inner {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px 14px 22px;
    border-radius: 999px;
    background: rgba(16, 16, 16, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
}

.site-header.is-solid,
.site-header.is-open {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    padding: 10px 20px 12px;
    background: rgba(232, 228, 219, 0.94);
    backdrop-filter: blur(16px);
}

.site-header.is-solid .header-inner,
.site-header.is-open .header-inner {
    width: min(1280px, 100%);
    margin: 0 auto;
    background: transparent;
    color: var(--ink);
    border-color: transparent;
    backdrop-filter: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    flex: 0 0 auto;
}

.logo-mark {
    display: block;
    width: 78px;
    height: 78px;
    flex: 0 0 auto;
}

.site-header .logo-mark {
    width: auto;
    height: 58px;
}

.site-header .logo-mark img {
    width: auto;
    height: 100%;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    display: block;
}

.site-header:not(.is-solid):not(.is-open) .logo-mark img {
    filter: brightness(0) invert(1);
}

.logo-text { display: flex; flex-direction: column; line-height: 1; }

.logo-text strong {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: 0.12em;
    font-size: 22px;
    text-transform: uppercase;
}

.logo-text small {
    font-size: 11px;
    letter-spacing: 0.02em;
    opacity: 0.7;
}

.nav { margin-left: 8px; }

.nav-list {
    display: flex;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.nav-list a[aria-current="page"] { background: rgba(255, 255, 255, 0.16); }
.site-header.is-solid .nav-list a[aria-current="page"],
.site-header.is-open .nav-list a[aria-current="page"] { background: rgba(20, 20, 20, 0.08); }

.header-phones {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.15;
}

.header-phones a {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.header-phones a + a {
    font-weight: 500;
    font-size: 12px;
    opacity: 0.72;
}

.header-call-icon,
.nav-toggle { display: none; }

.header-cta { flex: 0 0 auto; }

.nav-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    color: inherit;
    position: relative;
    padding: 0;
}

.site-header.is-solid .nav-toggle,
.site-header.is-open .nav-toggle { border-color: rgba(20, 20, 20, 0.16); }

.nav-toggle span:not(.sr-only) {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 1.5px;
    background: currentColor;
}

.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 24px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.btn-hot { background: var(--hot); color: #fff8f5; }
.btn-hot:hover { background: var(--hot-2); }

.btn-glass {
    color: #f6f4ee;
    border-color: rgba(246, 244, 238, 0.4);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.btn-glass:hover { background: rgba(255, 255, 255, 0.16); }

.btn-line {
    background: transparent;
    color: var(--ink);
    border-color: rgba(20, 20, 20, 0.2);
}

.eyebrow {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #f0c2b4;
}

.eyebrow.ink { color: var(--hot-2); }

.hero, .subhero, .contact-visual {
    position: relative;
    color: #f6f4ee;
    overflow: hidden;
}

.hero { min-height: 100svh; display: flex; align-items: flex-end; padding: 120px 0 34px; }
.subhero { min-height: 68svh; display: flex; align-items: flex-end; padding: 130px 0 42px; }

.hero img, .hero-video, .subhero img, .contact-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero img, .hero-video { object-position: center center; }

.hero-video { z-index: 0; }
.contact-visual img { object-position: center 40%; }

.hero-scrim, .subhero-scrim, .contact-visual::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.28) 0%, rgba(8, 8, 8, 0.05) 38%, rgba(8, 8, 8, 0.72) 100%);
}

.hero-scrim {
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.5) 0%, rgba(8, 8, 8, 0.48) 48%, rgba(8, 8, 8, 0.74) 100%);
}

.subhero-scrim {
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.34) 0%, rgba(8, 8, 8, 0.28) 42%, rgba(8, 8, 8, 0.72) 100%);
}

.contact-visual::after {
    content: "";
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.74) 0%, rgba(8, 8, 8, 0.66) 46%, rgba(8, 8, 8, 0.82) 100%);
}

.hero-layout, .subhero-copy, .contact-visual-copy { position: relative; z-index: 2; }

.hero-layout { z-index: 2; }

.hero h1, .subhero h1, .page-intro h1, .contact-visual h1 {
    font-size: clamp(58px, 7.6vw, 112px);
    max-width: 100%;
    margin: 0;
    overflow-wrap: break-word;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    margin-top: 22px;
}

.hero-bottom p, .subhero p {
    max-width: min(36em, 100%);
    margin: 0;
    color: rgba(246, 244, 238, 0.86);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

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

.rail-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.rail-row div {
    padding: 18px 16px;
    border-left: 1px solid var(--line);
}

.rail-row div:first-child { border-left: 0; padding-left: 0; }

.rail-row span {
    display: block;
    color: var(--hot);
    font-family: var(--display);
    font-size: 20px;
    letter-spacing: 0.04em;
}

.rail-row strong {
    display: block;
    margin-top: 4px;
    font-size: 16px;
}

.section { padding: 84px 0; }
.section-tight { padding-top: 28px; }

.section-intro {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: end;
    margin-bottom: 28px;
}

.section-intro p, .ask-lead, .split-copy p, .work p { color: var(--muted); }

.section-ink {
    background: #111;
    color: #f6f4ee;
}

.section-ink .section-intro p { color: rgba(246, 244, 238, 0.68); }

.bento {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 12px;
}

.bento-main { grid-row: 1 / span 2; }

.shot {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 22px;
    min-height: 220px;
    color: #fff;
    text-decoration: none;
}

.shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.shot:hover img { transform: scale(1.045); }

.shot span, .bento-main span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 1;
    font-family: var(--display);
    font-size: clamp(36px, 3vw, 54px);
    line-height: 0.86;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.shot small {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    letter-spacing: 0.08em;
    color: #ffd0c2;
}

.shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55));
}

.mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.tile {
    position: relative;
    display: block;
    min-height: 280px;
    overflow: hidden;
    border-radius: 18px;
    color: #f6f4ee;
    text-decoration: none;
}

.tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tile:hover img { transform: scale(1.045); }

.tile span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: block;
    padding: 64px 16px 16px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.tile strong {
    display: block;
    max-width: 100%;
    font-family: var(--display);
    font-size: clamp(26px, 2vw, 34px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 0.9;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.tile em {
    display: -webkit-box;
    margin-top: 8px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: rgba(246, 244, 238, 0.82);
    font-style: normal;
    font-size: 14px;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
}

.split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: stretch;
}

.shot-still { min-height: 520px; }

.split-copy { display: flex; flex-direction: column; justify-content: center; }

.pair { display: grid; gap: 18px; margin-top: 8px; }

.pair h3 { font-size: 36px; margin-bottom: 6px; }

.cols-3, .cols-2 {
    display: grid;
    gap: 12px;
}

.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: 1fr 1fr; }

.cols-3 article, .plain-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px 22px 24px;
}

.card-photo {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 16px;
}

.cols-3 h3, .plain-card h2 {
    font-size: clamp(36px, 3.4vw, 56px);
    margin-bottom: 10px;
    line-height: 0.9;
}

.cols-3 h3 { color: var(--hot); }

.cols-3 p, .plain-card p { color: var(--muted); }

.plain-card .text-link { display: inline-block; margin-top: 8px; }

.reviews { align-items: stretch; }

.review {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 22px 22px 20px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.review p {
    margin: 0 0 22px;
    font-size: 17px;
}

.review footer {
    margin-top: auto;
    font-weight: 700;
}

.review footer span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-weight: 500;
    font-size: 14px;
}

.map-frame {
    height: 460px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #d9d4c8;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.service-hero h1 { font-size: clamp(42px, 5vw, 78px); max-width: 16em; }

.service-open {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.72fr);
    column-gap: 36px;
    row-gap: 18px;
    align-items: start;
}

.service-copy { grid-column: 1; grid-row: 1; }
.service-prose { grid-column: 1; grid-row: 2; }
.service-figure { grid-column: 2; grid-row: 1 / span 2; }

.service-copy h2 {
    max-width: 11em;
    font-size: clamp(48px, 5.2vw, 84px);
}

.service-dek {
    max-width: 42ch;
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 1.45;
}

.service-prose { max-width: 62ch; }
.service-prose p + p { margin-top: 16px; }

.service-figure {
    position: sticky;
    top: 120px;
    margin: 0;
}

.service-figure img {
    width: 100%;
    height: min(72vh, 640px);
    object-fit: cover;
    border-radius: 28px;
}

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

.scope-card {
    margin: 0;
    padding: 22px 22px 26px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.scope-card h3 {
    margin-bottom: 12px;
    font-size: clamp(28px, 2.2vw, 40px);
}

.scope-card p {
    margin: 0;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.5;
    text-transform: none;
}

.service-band {
    padding: 72px 0;
    background: #111;
    color: #f6f4ee;
}

.service-band .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: 28px;
    align-items: end;
}

.service-band .eyebrow { color: #ffb199; }

.service-band h2 { max-width: 10em; margin-bottom: 10px; }

.service-band p { max-width: 46ch; color: rgba(246, 244, 238, 0.72); }

.service-band .link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin: 0;
}

.service-more {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-more a {
    display: inline-flex;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper-2);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

.service-more a:hover { border-color: var(--hot); color: var(--hot-2); }

.link-row { margin-top: 28px; }

.ask {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 36px;
    align-items: start;
}

.phone-stack { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }

.phone-stack a {
    color: var(--ink);
    text-decoration: none;
    font-family: var(--display);
    font-size: clamp(32px, 3vw, 46px);
    line-height: 0.9;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.phone-stack small {
    display: block;
    margin-bottom: 4px;
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.lead-form {
    background: var(--paper-2);
    border-radius: 28px;
    padding: 22px;
    border: 1px solid var(--line);
}

.fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

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

.lead-form label span {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
}

input, select, textarea {
    width: 100%;
    border: 1px solid rgba(20, 20, 20, 0.14);
    background: #fff;
    border-radius: 14px;
    padding: 13px 14px;
}

select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #141414 50%), linear-gradient(135deg, #141414 50%, transparent 50%);
    background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

textarea { min-height: 120px; resize: vertical; }

.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 16px 0;
    font-size: 14px;
    line-height: 1.4;
}

.check input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }

.form-note { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

.hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.jump {
    position: sticky;
    top: 124px;
    z-index: 15;
    background: rgba(232, 228, 219, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.jump-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0;
}

.jump-row a {
    flex: 0 0 auto;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid var(--line);
    background: rgba(246, 244, 238, 0.7);
    border-radius: 999px;
    padding: 8px 12px;
}

.work {
    display: grid;
    grid-template-columns: 240px minmax(0, 1.3fr) minmax(220px, 0.7fr);
    gap: 24px;
    align-items: center;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    scroll-margin-top: 260px;
}

.work-photo {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 16px;
}

.work h2 {
    font-size: clamp(32px, 3vw, 48px);
    text-transform: none;
    letter-spacing: -0.03em;
    line-height: 0.95;
}

.work ul {
    margin: 0;
    padding: 8px 0 0 18px;
}

.work li + li { margin-top: 8px; }

.text-link { font-weight: 700; }

.contact-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 100svh;
}

.contact-visual { min-height: 100svh; }

.contact-visual-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100svh;
    padding: 120px 36px 40px;
}

.contact-list { list-style: none; margin: 22px 0 0; padding: 0; }

.contact-list li { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }

.contact-list span {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(246, 244, 238, 0.7);
}

.contact-list a, .contact-list strong {
    color: #fff;
    font-size: clamp(22px, 1.7vw, 32px);
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 0.95;
    text-transform: uppercase;
    text-decoration: none;
}

.contact-panel {
    padding: 120px 36px 48px;
    background: var(--paper);
}

.contact-panel .lead-form {
    background: transparent;
    border: 0;
    padding: 0;
}

.map-link { color: #fff; }

.reqs {
    display: grid;
    grid-template-columns: minmax(180px, 280px) 1fr;
    margin: 8px 0 0;
}

.reqs dt, .reqs dd {
    margin: 0;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.reqs dt { color: var(--muted); font-size: 14px; }

.reqs dd { font-weight: 600; }

.reqs dd span { display: block; }
.reqs dd span + span { margin-top: 6px; }

#requisites { scroll-margin-top: 120px; }

.page-intro { padding: 148px 0 10px; }

.page-intro h1 { font-size: clamp(56px, 8vw, 104px); }

.prose { max-width: 68ch; }
.prose p + p { margin-top: 14px; }
.prose a { font-weight: 700; }

.wrap.doc {
    width: min(74ch, calc(100% - 40px));
    max-width: none;
    margin-left: max(20px, calc((100% - 1180px) / 2));
    margin-right: auto;
}
.doc h2 {
    margin: 28px 0 8px;
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: none;
}

.site-footer {
    background: #101010;
    color: #f6f4ee;
    padding: 28px 0 24px;
    overflow: hidden;
}

.footer-mark {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(92px, 22vw, 280px);
    line-height: 0.78;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    color: #f6f4ee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.9fr;
    gap: 28px;
    margin-top: -12px;
}

.footer-lead { max-width: 34ch; color: rgba(246, 244, 238, 0.7); }

.footer-extra { display: flex; gap: 16px; margin-top: 16px; }
.footer-extra a { color: inherit; text-decoration: none; font-weight: 700; }
.footer-extra a:hover { color: #ffb199; }

.footer-label {
    margin: 0 0 12px;
    color: #ffb199;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-grid > div:nth-child(2) .footer-links { columns: 2; }
.footer-links li { break-inside: avoid; margin: 0 0 8px; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: #ffb199; }
.footer-links span { display: block; opacity: 0.55; font-size: 12px; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid rgba(246, 244, 238, 0.12);
    color: rgba(246, 244, 238, 0.66);
    font-size: 14px;
}

.footer-bottom a { color: inherit; }

.messengers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.msg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px 0 12px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.msg svg { display: block; flex: 0 0 auto; }
.msg-glyph {
    display: block;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: -0.03em;
    line-height: 1;
    text-transform: lowercase;
}

.msg-max > span:not(.msg-glyph) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.msg-wa { background: #1f8f4e; }
.msg-tg { background: #229ed9; }
.msg-max { background: #4c3fe0; }
.msg:hover { filter: brightness(1.06); }

.messengers.is-float {
    position: fixed;
    z-index: 46;
    right: 16px;
    bottom: 16px;
    margin: 0;
    flex-direction: column;
}

.messengers.is-float .msg {
    width: 48px;
    height: 48px;
    min-height: 0;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(16, 16, 16, 0.22);
}

.messengers.is-float .msg-glyph,
.messengers.is-bar .msg-glyph { font-size: 12px; }

.messengers.is-float .msg span:not(.msg-glyph),
.messengers.is-bar .msg span:not(.msg-glyph) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.object-shots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.object-shots.is-home,
.object-shots.is-service {
    grid-template-columns: repeat(4, 1fr);
}

.object-shot {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    background: #d9d4c8;
}

.object-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.object-shot:hover img { transform: scale(1.045); }

.object-lite {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background: rgba(12, 12, 12, 0.94);
    color: #f6f4ee;
}

.object-lite[hidden] { display: none; }

.object-lite figure {
    margin: 0;
    max-width: min(1200px, calc(100vw - 140px));
}

.object-lite img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(100svh - 120px);
    margin: 0 auto;
    object-fit: contain;
}

.object-lite figcaption {
    margin-top: 12px;
    color: rgba(246, 244, 238, 0.78);
    font-size: 15px;
    text-align: center;
}

.object-lite-close,
.object-lite-prev,
.object-lite-next {
    border: 0;
    background: rgba(246, 244, 238, 0.12);
    color: inherit;
    cursor: pointer;
}

.object-lite-close {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
}

.object-lite-prev,
.object-lite-next {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
}

.messengers.is-bar { display: none; margin: 0; }

@media (min-width: 701px) {
    .contact-panel .form-note { padding-right: 68px; }
}

@media (min-width: 701px) and (max-width: 1320px) {
    .footer-grid,
    .footer-bottom,
    .form-note {
        padding-right: 76px;
    }
}

.mobile-bar { display: none; }

.flash-wrap {
    position: fixed;
    z-index: 50;
    top: 88px;
    left: 50%;
    width: min(640px, calc(100% - 24px));
    transform: translateX(-50%);
}

.alert { border-radius: 16px; padding: 14px 16px; font-weight: 700; box-shadow: 0 12px 30px rgba(20, 20, 20, 0.16); }
.alert-ok { background: #e5f3e8; color: #173b28; }
.alert-bad { background: #fde8e1; color: #6d2a16; }

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

@media (max-width: 1180px) {
    .header-phones, .header-cta { display: none; }
    .header-call-icon {
        display: inline-flex;
        margin-left: auto;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        color: inherit;
        border: 1px solid rgba(255, 255, 255, 0.28);
        border-radius: 50%;
    }
    .site-header.is-solid .header-call-icon,
    .site-header.is-open .header-call-icon { border-color: rgba(20, 20, 20, 0.16); }
    .nav-toggle { display: inline-flex; }
    .nav { display: none; }
    .site-header.is-open .nav {
        display: block;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        padding: 8px;
        border-radius: 18px;
        background: #f6f4ee;
        color: var(--ink);
    }
    .nav-list { flex-direction: column; }
    .rail-row, .section-intro, .bento, .mosaic, .split, .ask, .fields, .work, .contact-split, .footer-grid, .reqs, .cols-3, .cols-2, .service-open, .scope-grid, .service-band .wrap {
        grid-template-columns: 1fr;
    }
    .object-shots,
    .object-shots.is-home,
    .object-shots.is-service {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento { grid-template-rows: none; }
    .bento-main { grid-row: auto; min-height: 320px; }
    .shot { min-height: 240px; }
    .rail-row { grid-template-columns: 1fr 1fr; }
    .hero-bottom, .contact-visual-copy, .contact-panel { display: block; }
    .hero-bottom .hero-actions { margin-top: 16px; }
    .contact-visual, .contact-visual-copy { min-height: 78svh; }
    .contact-panel { padding: 28px 20px 40px; }
    .footer-grid > div:nth-child(2) .footer-links { columns: 1; }
    .work { grid-template-columns: 1fr; gap: 10px; }
    .service-copy, .service-prose, .service-figure { grid-column: auto; grid-row: auto; }
    .service-figure { position: static; }
    .service-figure img { height: 420px; }
    .service-band .link-row { justify-content: flex-start; }
}

@media (max-width: 700px) {
    .wrap { width: min(1180px, calc(100% - 28px)); }
    .site-header .logo-mark { height: 44px; }
    .site-header { top: 8px; width: calc(100% - 12px); }
    .header-inner { padding: 10px 12px 10px 16px; }
    .hero { padding-bottom: 108px; }
    .subhero { min-height: 100svh; padding-bottom: 108px; }
    .hero h1, .subhero h1, .contact-visual h1 { font-size: 52px; line-height: 0.9; }
    .hero-bottom p, .subhero p { max-width: 100%; }
    .section { padding: 56px 0; }
    .section-tight { padding-top: 8px; }
    .contact-visual, .contact-visual-copy { min-height: 100svh; }
    .contact-visual-copy { padding: 120px 22px 108px; }
    .contact-list a, .contact-list strong { font-size: 26px; line-height: 1.05; overflow-wrap: anywhere; }
    .jump { top: 108px; }
    .jump-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 14px;
        scrollbar-width: none;
    }
    .jump-row a { scroll-snap-align: start; }
    .map-frame { height: 320px; }
    .service-figure { position: static; }
    .service-figure img { height: 280px; }
    .service-band .link-row { justify-content: flex-start; }
    .service-copy h2 { font-size: 46px; }
    .work-photo { height: 190px; }
    .work h2 { font-size: 36px; }
    .footer-mark { font-size: 88px; }
    .footer-grid { margin-top: 8px; }
    .page-intro { padding: 128px 0 8px; }
    .wrap.doc {
        width: min(74ch, calc(100% - 28px));
        margin-left: 14px;
    }
    .rail-row { grid-template-columns: 1fr; }
    .rail-row div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
    .messengers.is-float { display: none; }
    .messengers.is-bar {
        display: flex;
        gap: 8px;
    }
    .messengers.is-bar { gap: 6px; }
    .messengers.is-bar .msg {
        width: 40px;
        height: 40px;
        min-height: 0;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .mobile-bar .btn { min-height: 44px; padding: 0 10px; font-size: 14px; }
    .mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 45;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 8px;
        padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
        background: rgba(246, 244, 238, 0.96);
        box-shadow: 0 -1px 0 var(--line);
    }
    body { padding-bottom: 92px; }
    .object-lite {
        flex-direction: column;
        padding: 64px 12px 24px;
    }
    .object-lite figure { max-width: 100%; }
    .object-lite img { max-height: calc(100svh - 180px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .shot img, .tile img, .object-shot img { transition: none; }
    .hero-video { display: none; }
}
