/* Тенев и Гачев. Шистово сиво от логото, един цвят за действие, името като главен образ. */

@font-face { font-family: "Source Serif"; src: url(fonts/source-serif-4-cyrillic-standard-normal.woff2) format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Source Serif"; src: url(fonts/source-serif-4-latin-standard-normal.woff2) format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif"; src: url(fonts/source-serif-4-cyrillic-standard-italic.woff2) format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Source Serif"; src: url(fonts/source-serif-4-latin-standard-italic.woff2) format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Commissioner"; src: url(fonts/commissioner-cyrillic-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Commissioner"; src: url(fonts/commissioner-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --ink: #24333b;        /* шисти: хедър, тъмни ленти, текст */
    --slate: #56666f;      /* цветът на логото: втори текст */
    --ash: #9fb0b7;        /* текст върху шисти, втори план */
    --mist: #e7ecec;       /* светла лента */
    --paper: #fbfcfb;      /* основен фон */
    --seal: #7a2c33;       /* восъчен печат: връзки и основно действие */
    --line: #cfd8da;
    --serif: "Source Serif", Georgia, "Times New Roman", serif;
    --sans: "Commissioner", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--seal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--seal); outline-offset: 2px; }
.band-ink :focus-visible, .hero :focus-visible, .top :focus-visible { outline-color: #fff; }

.wrap { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: .5rem; top: .5rem; }

/* Горна лента */
.top { background: var(--ink); color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.wordmark { color: #fff; text-decoration: none; font-family: var(--serif); font-size: 1.375rem; letter-spacing: .01em; }
.wordmark img { max-height: 3rem; width: auto; }
.wm-amp { font-style: italic; color: var(--ash); }
.nav { display: flex; align-items: center; gap: 1.75rem; font-size: .9375rem; }
.nav a { color: #fff; text-decoration: none; padding-block: .4rem; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: #fff; }
.nav .lang { color: var(--ash); }
.menu-btn { display: none; background: none; border: 1px solid var(--ash); color: #fff; font: inherit; font-size: .9375rem; padding: .35rem .8rem; border-radius: 2px; cursor: pointer; }

/* Начална лента: името е образът. Снимката излиза извън лентата надолу. */
.hero { background: var(--ink); color: #fff; padding-top: clamp(2.5rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.hero-text { padding-bottom: clamp(2.5rem, 6vw, 5rem); position: relative; z-index: 1; }
.hero-legal { display: block; font-family: var(--sans); font-size: 1.0625rem; font-weight: 400; line-height: 1.4; color: var(--ash); margin-bottom: 1.25rem; }
.hero-name { display: block; font-size: clamp(4rem, 1.2rem + 11.5vw, 11.5rem); line-height: .94; font-weight: 300; letter-spacing: -.015em; font-optical-sizing: auto; }
.hero-name > span { display: block; }
.hero-second { white-space: nowrap; margin-left: -.04em; }
.hero-amp { font-style: italic; font-weight: 200; color: var(--ash); }
.hero-lead { font-family: var(--serif); font-size: clamp(1.1875rem, 1rem + .6vw, 1.4375rem); line-height: 1.45; max-width: 34em; margin: clamp(1.75rem, 3vw, 2.75rem) 0 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin: 0; }
.hero-links { display: grid; gap: .5rem; justify-items: start; }
.hero-img { margin: 0 0 -3.5rem; position: relative; z-index: 1; }
.hero-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.btn { display: inline-block; background: var(--seal); color: #fff; border: 0; border-radius: 2px; padding: .8rem 1.4rem; font: 500 1rem/1.3 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: #65232a; }
.btn:disabled { opacity: .6; cursor: default; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mist); }
.link-light { color: #fff; }

/* Ленти със съдържание */
.band { padding-block: clamp(3.5rem, 7vw, 6rem); }
.band-areas { padding-top: clamp(6.5rem, 10vw, 9rem); }
.band-mist { background: var(--mist); }
.band-ink { background: var(--ink); color: #fff; }
.band-ink a:not(.btn) { color: #fff; }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 5vw, 5rem); }
.split-head h2 + p { margin-top: 1.25rem; }

.area-list { border-top: 1px solid var(--line); }
.area { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: .4rem 2rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.area h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); transition: color .15s; }
.area p { margin: 0; color: var(--slate); }
.area:hover h3 { color: var(--seal); }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 2rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; }
.steps li::before { content: counter(s); grid-row: span 2; font: 300 2.5rem/1 var(--serif); color: var(--slate); }
.steps h3 { margin-bottom: .4rem; }
.steps p { color: var(--slate); max-width: 38em; }

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 3rem); }
.person-pic { aspect-ratio: 4 / 5; background: var(--ink); margin-bottom: 1rem; overflow: hidden; display: grid; place-items: center; }
.person-pic img { width: 100%; height: 100%; object-fit: cover; }
.monogram { font: 300 clamp(4rem, 8vw, 7rem)/1 var(--serif); color: var(--ash); }
.person-role { color: var(--slate); margin: .25rem 0 1rem; }
.person-text p { max-width: 36em; }

.facts { margin: 0; display: grid; gap: 1.25rem; align-content: start; }
.facts dt { font-size: .9375rem; color: var(--slate); }
.band-ink .facts dt { color: var(--ash); }
.facts dd { margin: .1rem 0 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; }
.facts dd a { overflow-wrap: anywhere; }
.facts dd a[rel] { font: 400 .9375rem/1.6 var(--sans); }

/* Вътрешни страници */
.page-head { background: var(--ink); color: #fff; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-head h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); font-weight: 300; line-height: 1.05; letter-spacing: -.01em; max-width: 18em; }
.page-intro { font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; max-width: 36em; color: #dfe6e7; margin: 1.25rem 0 0; }
.prose-wrap { max-width: 44rem; }
.prose { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.65; }
.prose h2 { font-size: 1.625rem; margin: 2.25em 0 .6em; }
.prose h3 { font-size: 1.3125rem; margin: 1.75em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.25em; border-left: 3px solid var(--line); color: var(--slate); }
.prose figure { margin: 1.75em 0; }
.prose figcaption { font: 400 .9375rem/1.5 var(--sans); color: var(--slate); margin-top: .5em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.services { padding-block: clamp(1rem, 3vw, 2.5rem); }
.service { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.service:last-child { border-bottom: 0; }
.service-head p { color: var(--slate); margin-top: 1rem; max-width: 30em; }
.service-items { margin: 0; padding: 0; list-style: none; font-family: var(--serif); font-size: 1.1875rem; line-height: 1.4; }
.service-items li { padding-block: .7rem; border-bottom: 1px solid var(--line); }
.service-items li:first-child { padding-top: 0; }
.service-items li:last-child { border-bottom: 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-text { font-family: var(--serif); font-size: 1.375rem; line-height: 1.35; max-width: 30em; margin: 0; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(2rem, 6vw, 6rem); }
.form { display: grid; gap: .35rem; max-width: 40rem; }
.form label:not(.check) { font-size: .9375rem; margin-top: .9rem; }
.form label:first-child { margin-top: 0; }
.form input[type=text], .form input[type=email], .form textarea { width: 100%; font: inherit; color: inherit; background: #fff; border: 1px solid #8b9aa1; border-radius: 2px; padding: .65rem .8rem; }
.form textarea { resize: vertical; }
.form-note { font-size: .9375rem; color: var(--slate); margin: 1rem 0 .5rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: 1.1rem; }
.check input { margin-top: .35rem; width: 1.05rem; height: 1.05rem; accent-color: var(--seal); }
.form .btn { justify-self: start; }
#form-status { margin: .75rem 0 0; min-height: 1.6em; }
#form-status.ok { color: #24603f; }
#form-status.err { color: var(--seal); }

.faq { display: grid; gap: 1.75rem; }
.faq h3 { font-size: 1.3125rem; margin-bottom: .35rem; }
.faq p { color: var(--slate); max-width: 40em; }

/* Статии */
.art-list, .art-page { display: grid; gap: 2.5rem; }
.art-page { max-width: 56rem; }
.art-card.has-img { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.5rem; }
.art-card .card-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.art-card h3 { margin-bottom: .5rem; }
.art-card h3 a { color: inherit; text-decoration: none; }
.art-card h3 a:hover { color: var(--seal); text-decoration: underline; text-decoration-thickness: 1px; }
.art-card p:last-child { color: var(--slate); }
.art-meta { font-size: .9375rem; color: var(--slate); margin-bottom: .4rem; }
.art-meta-head { color: var(--ash); margin-bottom: 1rem; }
.art-author { margin: 1.25rem 0 0; color: var(--ash); }
.art-author a { color: #fff; }
.article .prose-wrap { padding-block: clamp(2.5rem, 5vw, 4rem); }
.art-cover { margin: 0 0 2.25rem; }
.art-cover img { width: 100%; }
.disclaimer { font-size: .9375rem; color: var(--slate); margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }

/* Долна лента */
.foot { background: #1b272d; color: #c6d1d4; font-size: .9375rem; padding-block: 2.75rem; }
.foot a { color: #fff; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr 1fr; gap: 1.75rem clamp(1.5rem, 3vw, 3rem); }
.foot-name { color: #fff; font-family: var(--serif); font-size: 1.0625rem; margin-bottom: .25rem; }

@media (max-width: 62rem) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-text { padding-bottom: 0; }
    .hero-img img { aspect-ratio: 16 / 9; }
    .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
    .menu-btn { display: block; }
    .top-in { flex-wrap: wrap; padding-block: .75rem; }
    .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: .25rem; padding-bottom: .5rem; }
    .nav.open { display: flex; }
    .area, .service { grid-template-columns: minmax(0, 1fr); }
    .people { grid-template-columns: minmax(0, 1fr); }
    .person-pic { max-width: 20rem; }
    .art-card.has-img { grid-template-columns: minmax(0, 1fr); }
    .foot-in { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}
