@font-face{font-family:'Open Sans Condensed';font-style:normal;font-weight:300;font-display:swap;src:url(/fonts/open-sans-condensed-300-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Open Sans Condensed';font-style:normal;font-weight:300;font-display:swap;src:url(/fonts/open-sans-condensed-300-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Open Sans Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/open-sans-condensed-700-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Open Sans Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/open-sans-condensed-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'PT Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pt-sans-400-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'PT Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pt-sans-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'PT Sans';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/pt-sans-700-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'PT Sans';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/pt-sans-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
:root {
  --ink: #141414;
  --text: #2e2e2e;
  --muted: #6a6a6a;
  --line: #dcdcdc;
  --hl: #e3e3e3;
  --soft: #f3f3f3;
  --white: #fff;
  --cond: "Open Sans Condensed", "PT Sans Narrow", "Arial Narrow", sans-serif;
  --sans: "PT Sans", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font: 17px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: #000; text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--cond); font-weight: 300; color: var(--ink); line-height: 1.1; margin: 0 0 .6em; text-transform: uppercase; }
h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 1.2em; }
.prose h2, .prose h3 { text-transform: none; font-weight: 700; }
p { margin: 0 0 1em; }
/* the grey highlight behind headings is the original site's signature */
.hl { background: var(--hl); padding: .02em .22em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: var(--white); padding: 8px 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border: 2px solid var(--ink);
  font: 700 17px/1.1 var(--cond); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; text-align: center; transition: background-color .15s, color .15s; }
.btn--lg { min-height: 54px; padding: 12px 28px; font-size: 19px; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--white); color: var(--ink); text-decoration: none; }

/* Header */
.site-header__top { display: flex; justify-content: center; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.logo img { width: 250px; height: auto; }
.burger { display: none; }
.main-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav__row { display: flex; align-items: center; gap: 24px; }
.main-nav__list { display: flex; gap: 32px; }
.main-nav__list > li { position: relative; }
.main-nav__list > li > a { display: inline-block; padding: 13px 0; font: 700 18px/1.2 var(--cond); text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.main-nav__list > li > a:hover, .main-nav__list > li.is-active > a { color: var(--ink); border-bottom-color: var(--ink); }
.nav-mail { margin-left: auto; font: 700 17px var(--cond); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); text-decoration: none; }
.nav-mail:hover { color: var(--ink); }
.sub-toggle { display: none; }

@media (min-width: 900px) {
  .has-sub > a { padding-right: 16px !important; background: no-repeat right center / 10px 6px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23999' stroke-width='1.5'/%3E%3C/svg%3E"); }
  .sub { position: absolute; left: -16px; top: 100%; z-index: 30; min-width: 320px; padding: 8px 0 !important; background: var(--white);
    border: 1px solid var(--line); border-top: 3px solid var(--ink); box-shadow: 0 12px 28px rgba(0,0,0,.12);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility 0s .15s; }
  li:hover > .sub, li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .sub a { display: block; padding: 7px 18px; color: var(--text); text-decoration: none; font-size: 16px; }
  .sub a:hover, .sub a[aria-current] { background: var(--soft); color: var(--ink); }
}
@media (max-width: 899px) {
  .site-header__top { justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
  .logo img { width: 170px; }
  .burger { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; background: none; border: 0;
    font: 700 18px var(--cond); text-transform: uppercase; color: var(--ink); cursor: pointer; }
  .burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background-color .2s; }
  .burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
  .burger__bars::before { top: -7px; } .burger__bars::after { top: 7px; }
  .burger[aria-expanded="true"] .burger__bars { background: transparent; }
  .burger[aria-expanded="true"] .burger__bars::before { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .main-nav__row { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 16px; }
  .main-nav__list { flex-direction: column; gap: 0; }
  .main-nav li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
  .main-nav li > a { flex: 1; padding: 12px 0; border: 0 !important; margin: 0; color: var(--ink); }
  .sub { display: none; width: 100%; padding-left: 16px !important; }
  .sub li:last-child { border-bottom: 0; }
  .sub a { text-decoration: none; }
  .has-sub.is-open > .sub { display: block; }
  .sub-toggle { display: block; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
  .sub-toggle::before, .sub-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--ink); transition: transform .2s; }
  .sub-toggle::after { transform: rotate(90deg); }
  .has-sub.is-open > .sub-toggle::after { transform: rotate(0); }
  .nav-mail { margin: 16px 0 0; font-size: 19px; color: var(--ink); }
}

/* Page */
main.wrap { padding-top: 28px; padding-bottom: 56px; }
.page-head { margin-bottom: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 14px; padding: 0; font-size: 15px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "→"; margin: 0 8px; color: #aaa; }
.crumbs a { color: var(--muted); }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink); max-width: 62ch; }
.intro { padding-bottom: 8px; }
.intro h1 { font-size: clamp(34px, 6vw, 60px); }
.section-title { margin-top: 32px; }

/* Tiles: photo + label on grey highlight, as on the original home page */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
/* 13 services: the first tile is wide (phones/tablets) or 2x2 (desktop) so the grid closes evenly */
.tiles > li:first-child { grid-column: span 2; }
.tiles > li:first-child .tile { aspect-ratio: 2 / 1; }
@media (min-width: 1000px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .tiles > li:first-child { grid-row: span 2; }
  .tiles > li:first-child .tile { aspect-ratio: auto; height: 100%; }
  .tiles > li:first-child .tile__label { font-size: 30px; }
}
.tile { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); text-decoration: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.tile:hover img { transform: scale(1.05); }
.tile__label { position: absolute; left: 10px; right: 10px; bottom: 12px; font: 300 22px/1.3 var(--cond); text-transform: uppercase; color: var(--ink); }
.tile__label { background: rgba(255,255,255,.9); padding: 2px 8px; width: fit-content; max-width: calc(100% - 20px); }
.tile:hover .tile__label { background: var(--white); font-weight: 700; }
@media (max-width: 479px) { .tiles { gap: 10px; } .tile { aspect-ratio: 1; } .tile__label { font-size: 17px; left: 6px; bottom: 6px; padding: 1px 5px; } }

/* Article */
.article { display: grid; gap: 28px; align-items: start; }
.article > * { min-width: 0; }
.media { margin: 0; }
.media img { width: 100%; max-width: 434px; }
@media (min-width: 900px) { .article { grid-template-columns: 7fr 5fr; gap: 48px; } .article .media { order: 2; position: sticky; top: 24px; } }
.prose { max-width: 75ch; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.2em; }
.prose li { position: relative; padding-left: 22px; margin-bottom: .5em; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 8px; height: 2px; background: var(--ink); }
.contacts { display: grid; gap: 24px; margin: 0; }
.contacts dt { font: 700 16px/1.2 var(--cond); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 4px; }
.contacts dd { margin: 0; font-size: 22px; color: var(--ink); }
.contacts dd a { text-decoration: none; font-weight: 700; }

/* CTA and footer */
.contact-cta { background: var(--soft); padding: 44px 0; }
.contact-cta__inner { display: grid; gap: 20px 48px; align-items: center; }
.contact-cta__title { margin: 0 0 12px; }
.contact-cta p { margin: 0; color: var(--muted); max-width: 55ch; }
@media (min-width: 900px) { .contact-cta__inner { grid-template-columns: 1fr auto; } }
@media (max-width: 559px) { .contact-cta .btn { width: 100%; font-size: 17px; padding-left: 12px; padding-right: 12px; } }
.site-footer { background: #1a1a1a; color: #b5b5b5; font-size: 15px; }
.site-footer a { color: #e8e8e8; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__grid { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 28px; }
.site-footer__name { font: 300 24px/1.2 var(--cond); text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.site-footer__nav { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.site-footer__nav li { margin-bottom: 7px; break-inside: avoid; }
.site-footer__bottom { border-top: 1px solid #333; padding-top: 16px; padding-bottom: 24px; color: #8a8a8a; font-size: 14px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 2fr 1fr; gap: 48px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
