:root {
  color-scheme: light;
  --ink: #2d1619;
  --muted: #655453;
  --deep: #2d1319;
  --accent: #a0152b;
  --accent-hover: #7a1021;
  --paper: #fbf8f5;
  --white: #fff;
  --line: #e7dbd5;
  --display: Georgia, "Times New Roman", serif;
  --header: 76px;
  --wrap: 1232px;
  --gutter: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.22,.7,.32,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 18px); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 "Inter", "Segoe UI", Arial, sans-serif; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.045em; }
h2 { font-size: clamp(2.15rem, 4.35vw, 4.15rem); }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.42rem); letter-spacing: -.025em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
img { display: block; width: 100%; object-fit: cover; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ac6524; outline-offset: 5px; }
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: clamp(62px, 8vw, 117px); }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 20; inset: 12px auto auto 12px; background: white; padding: 8px 16px; }

.header { position: sticky; top: 0; z-index: 8; background: #fff; border-bottom: 1px solid #e7d8ce; }
.header-inner { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 9px; min-height: 44px; max-width: 100%; }
.brand-name { font: 700 clamp(1.25rem, 2.35vw, 1.7rem)/1 var(--display); letter-spacing: .065em; color: var(--accent-hover); }
.brand-symbol { position: relative; flex: none; display: block; width: clamp(62px, 7vw, 77px); aspect-ratio: 2.5; overflow: hidden; }
.brand-symbol img { position: absolute; width: 117%; max-width: none; height: auto; left: -8.5%; top: -2%; mix-blend-mode: multiply; }
.brand-full { display: inline-flex; width: min(100%, 244px); }
.brand-logo { width: 100%; height: auto; aspect-ratio: 1280 / 853; object-fit: contain; border-radius: 6px; }
.nav { display: flex; gap: clamp(22px, 3vw, 44px); align-items: center; font-size: .94rem; font-weight: 600; }
.nav a { padding-block: 8px; transition: color 220ms; }
.nav a:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 53px; max-width: 100%; padding: 12px 24px; border: 1px solid transparent; border-radius: 5px; font-size: .94rem; font-weight: 650; line-height: 1.4; text-align: center; transition: background 240ms, border-color 240ms, transform 240ms var(--ease); }
.button:hover { transform: translateY(-2px); }
.primary { color: white; background: var(--accent); }
.primary:hover { background: var(--accent-hover); }
.outline { color: var(--ink); border-color: #d3b7ab; background: transparent; }
.outline:hover { background: #f5ebe5; border-color: #a87a58; }
.header .button { min-height: 43px; padding-inline: 19px; }
.menu-toggle, .nav-mobile-action { display: none; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #865319; font-size: .81rem; letter-spacing: .15em; font-weight: 750; margin-bottom: 17px; }
.eyebrow b { font-weight: inherit; }
.eyebrow span { flex: 0 0 22px; height: 1px; background: currentColor; }
.hero { min-height: clamp(520px, 46vw, 650px); position: relative; display: grid; align-items: center; isolation: isolate; overflow: hidden; background: var(--deep); color: white; }
.hero-photo { position: absolute; inset: 0 0 0 37%; z-index: -1; }
.hero-photo img { height: 100%; object-position: 56% 53%; filter: saturate(.82) sepia(.16); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--deep), #35111887 37%, #3b120f19 78%), linear-gradient(0deg, #260f196b, transparent 38%); }
.hero-inner { padding-block: 62px; }
.hero-copy { max-width: 725px; animation: slide-in 490ms var(--ease) both; --from-x: -24px; --from-y: 0px; }
.hero h1 { font-size: clamp(3.85rem, 6.8vw, 6.75rem); letter-spacing: -.055em; }
.hero-kicker { color: #f0cd92; margin-bottom: 25px; }
.hero-description { max-width: 445px; color: #f2e3df; font-size: clamp(1.025rem, 1.65vw, 1.22rem); margin-block: 25px 31px; }
.hero-caption { position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: 26px; display: flex; gap: 9px; align-items: center; color: #f9eee3; background: #2d1319cf; border: 1px solid #ffffff36; padding: 6px 12px; border-radius: 4px; font-size: .81rem; }
.hero-caption i { display: block; width: 12px; height: 12px; border: 1px solid #eed0a0; background: repeating-linear-gradient(-45deg, transparent 0 2px, #eed0a095 2px 3px); }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 26px; margin-bottom: 30px; }
.section-intro { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.125rem); }
.section-top .section-intro { padding-bottom: 3px; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.filter { min-height: 43px; padding: 8px 16px; background: white; border: 1px solid var(--line); border-radius: 5px; font-size: .92rem; font-weight: 600; transition: background 220ms, color 220ms, border-color 220ms; }
.filter:hover { border-color: var(--accent); }
.filter[aria-pressed="true"] { color: white; border-color: var(--accent-hover); background: var(--accent-hover); }
.products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 21px; align-items: stretch; }
.card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: white; transition: transform 260ms var(--ease), box-shadow 260ms; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px #57232b18; }
.card-media { aspect-ratio: 1.24; overflow: hidden; background: #eee6df; }
.card img { height: 100%; transition: transform 350ms var(--ease); }
.card:hover img { transform: scale(1.035); }
.card-body { padding: 17px 19px 22px; flex: 1; }
.card-label { display: block; color: var(--muted); margin-bottom: 6px; font-size: .86rem; }
.empty { grid-column: 1 / -1; min-height: 125px; display: grid; place-items: center; padding: 20px; border: 1px dashed var(--line); border-radius: 6px; color: var(--muted); }
.about { background: #f2e8df; overflow: hidden; }
.about-grid, .clients-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 7vw, 108px); }
.about-image { position: relative; border-radius: 8px; background: #e1d1c4; overflow: hidden; }
.about-image img { aspect-ratio: 1.33; height: auto; }
.about-image span { position: absolute; left: 15px; bottom: 15px; background: var(--deep); padding: 5px 11px; color: white; font-size: .85rem; border-radius: 4px; }
.about-copy .section-intro, .clients .section-intro { margin-block: 23px 25px; }
.capabilities { padding: 0; margin: 0; list-style: none; font-weight: 600; }
.capabilities li { padding-block: 11px; border-top: 1px solid #d7c5b9; }
.capabilities li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 12px 2px 0; background: var(--accent); border-radius: 2px; }
.facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 31px; }
.fact { border-top: 2px solid #bd8640; padding: 21px 4px 0; }
.fact p, .steps p { margin-top: 9px; }
.fact p { color: var(--muted); }
.clients { background: var(--deep); color: white; overflow: hidden; }
.clients .eyebrow { color: #f0cd92; }
.clients .section-intro, .steps p { color: #e6d4ce; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: steps; }
.steps li { position: relative; padding: 20px 0 20px 49px; border-top: 1px solid #68444a; counter-increment: steps; }
.steps li::before { content: counter(steps); position: absolute; left: 0; top: 19px; width: 31px; line-height: 29px; text-align: center; border: 1px solid #bf9065; border-radius: 50%; font-size: .85rem; color: #f7d39e; }
.footer { background: #241217; color: #f8ebe6; padding-block: 52px 27px; }
.footer-main { display: grid; grid-template-columns: 1fr 1.6fr; gap: 36px; }
.footer h2 { font-size: 1.75rem; margin-bottom: 15px; }
.footer-note { margin-top: 15px; color: #d0b8b5; max-width: 315px; font-size: .9rem; }
.contact-data { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 24px; margin: 0; }
.contact-data > div { padding-bottom: 7px; border-bottom: 1px solid #624049; min-width: 0; }
.contact-data dt { font-size: .85rem; color: #e0c8c3; }
.contact-data dd { margin: 0; min-height: 1.1rem; overflow-wrap: anywhere; }
.contact-data a:not(.messenger-link), .contact-email { text-decoration: underline; }
.contact-email { padding: 0; border: 0; background: none; text-align: left; overflow-wrap: anywhere; }
.phone-contacts { display: grid; gap: 12px; padding-block: 4px 6px; }
.phone-number { display: inline-block; font-weight: 650; text-underline-offset: .2em; }
.messenger-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.messenger-link { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; min-height: 36px; border: 1px solid #76555b; border-radius: 6px; font-size: .875rem; font-weight: 600; white-space: nowrap; transition: background-color 180ms, border-color 180ms; }
.messenger-link img { width: 16px; height: 16px; object-fit: contain; }
.messenger-link:hover { background: #41252c; border-color: #b58c8c; }
.messenger-note { color: #d0b8b5; font-size: .83rem; }
.footer-bottom { margin-top: 32px; padding-top: 14px; border-top: 1px solid #624049; font-size: .84rem; color: #d0b8b5; }
.detail { min-height: 57vh; padding-top: clamp(28px,5vw,68px); }
.breadcrumb { display: inline-block; margin-bottom: 32px; color: #8d1425; font-weight: 620; }
.breadcrumb:hover { text-decoration: underline; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); grid-template-rows: auto 1fr; grid-template-areas: "gallery intro" "gallery info"; align-items: start; column-gap: clamp(28px,6vw,90px); }
.detail-intro { grid-area: intro; }
.detail-info { grid-area: info; }
.gallery { grid-area: gallery; }
.detail h1 { font-size: clamp(2.4rem,5vw,4.6rem); margin-bottom: 19px; }
.detail .button { margin-top: 20px; }
.gallery-main { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #f5eee9; border-radius: 7px; }
.gallery-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumb { width: 84px; height: 69px; padding: 3px; background: white; border: 1px solid #d5c1b8; border-radius: 5px; }
.thumb img { height: 100%; border-radius: 3px; }
.thumb-labelled { display: flex; flex-direction: column; gap: 5px; align-items: stretch; flex: 0 1 100px; min-width: 0; height: auto; text-align: center; padding: 4px 4px 6px; }
.thumb-labelled img { height: auto; aspect-ratio: 1.28; }
.thumb-labelled span { font-size: .82rem; line-height: 1.25; overflow-wrap: anywhere; }
.thumb[aria-pressed="true"] { border: 2px solid var(--accent); }
.specs { margin: 22px 0 0; }
.specs div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; border-top: 1px solid var(--line); padding-block: 9px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.dialog { width: min(510px,calc(100% - 30px)); max-height: calc(100% - 30px); max-height: calc(100dvh - 30px); overflow: auto; border: 0; border-radius: 12px; color: var(--ink); padding: clamp(22px,4vw,36px); box-shadow: 0 20px 90px #2d131957; }
.dialog::backdrop { background: #2d1319b0; }
.dialog[open] { animation: slide-in 260ms var(--ease) both; }
.dialog h2 { font-size: 2rem; margin-right: 33px; }
.dialog p { margin-top: 13px; color: var(--muted); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dialog-actions .button { min-height: 44px; padding: 8px 13px; }
.dialog .dialog-recipient { margin-top: 8px; font-size: .92rem; overflow-wrap: anywhere; }
.dialog-status:empty { display: none; }
.dialog-close { position: absolute; inset: 15px 15px auto auto; width: 42px; height: 42px; background: #eef1f8; border: 0; border-radius: 6px; font-size: 1.55rem; }
.dialog textarea { font: inherit; width: 100%; min-height: 92px; resize: vertical; padding: 10px; margin-top: 14px; border: 1px solid #cbb0a7; border-radius: 5px; }
.dialog label { display: block; margin-top: 15px; font-weight: 650; }
.reveal-pending { opacity: 0; transform: translate(var(--from-x,0px), var(--from-y,20px)); }
.from-left { --from-x: -22px; --from-y: 0px; }
.from-right { --from-x: 22px; --from-y: 0px; }
.slide { animation: slide-in 380ms var(--ease) both; }
@keyframes slide-in { from { opacity: 0; transform: translate(var(--from-x,0px), var(--from-y,18px)); } to { opacity: 1; transform: translate(0,0); } }

@media (max-width: 850px) {
  :root { --header: 66px; }
  .header-action { display: none; }
  .hero-photo { left: 28%; }
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-top { align-items: start; flex-direction: column; gap: 12px; }
  .desktop { display: none; }
}
@media (max-width: 720px) {
  .menu-toggle { display: inline-grid; width: 44px; height: 44px; place-content: center; gap: 5px; background: #f5ebe5; border: 0; border-radius: 5px; }
  .menu-toggle span { display: block; width: 19px; height: 2px; background: var(--ink); transition: transform 230ms var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav { position: absolute; display: grid; inset: 100% 0 auto; max-height: calc(100vh - var(--header)); max-height: calc(100dvh - var(--header)); overflow-y: auto; padding: 14px var(--gutter) 20px; gap: 4px; background: white; box-shadow: 0 12px 18px #2d131922; opacity: 0; transform: translateY(-13px); visibility: hidden; transition: opacity 230ms, transform 230ms var(--ease), visibility 230ms; }
  .nav.open { opacity: 1; transform: translateY(0); visibility: visible; }
  .nav a { min-height: 44px; padding-block: 10px; }
  .nav-mobile-action { display: inline-flex; justify-self: start; margin-top: 7px; }
  .hero { min-height: unset; align-items: end; }
  .hero-photo { inset: 0 0 24%; }
  .hero-photo img { object-position: 62% 47%; }
  .hero-photo::after { background: linear-gradient(0deg,var(--deep),#2d131939 90%),linear-gradient(90deg,#2d131982,transparent); }
  .hero-inner { padding-block: clamp(157px,47vw,250px) 42px; }
  .hero h1 { font-size: clamp(2.15rem,10vw,4.4rem); letter-spacing: -.055em; }
  .hero-kicker { margin-bottom: 15px; }
  .hero-description { margin-block: 18px 22px; }
  .hero-caption { display: none; }
  .filter { min-height: 44px; padding-inline: 13px; }
  .products { gap: 12px; }
  .card-media { aspect-ratio: 1; }
  .card-body { padding: 11px 10px 14px; }
  .card-label { font-size: .79rem; }
  .card h3 { font-size: 1.04rem; line-height: 1.2; overflow-wrap: anywhere; }
  .about-grid, .clients-grid, .footer-main, .facts { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; grid-template-areas: "intro" "gallery" "info"; row-gap: 22px; }
  .detail .breadcrumb { margin-bottom: 24px; }
  .detail h1 { font-size: clamp(2rem,8vw,3.45rem); }
  .detail-intro .eyebrow { margin-bottom: 10px; }
  .detail-info .specs { margin-top: 0; }
  .detail-info .button { width: 100%; }
  .facts { gap: 20px; }
  .about-image { order: 2; }
  .about-grid, .clients-grid { gap: 31px; }
  .contact-data { gap: 11px 14px; }
}
@media (max-width: 520px) { .contact-data { grid-template-columns: 1fr; } .messenger-link { min-height: 44px; } }
@media (max-width: 350px) { .products { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal-pending { opacity: 1; transform: none; }
}
