:root {
  --bg: #f5f4ef;
  --surface: #ffffff;
  --ink: #17201c;
  --ink-2: #3b4641;
  --muted: #66716b;
  --line: #e2e0d8;
  --brand: #0f3b2e;
  --brand-2: #1d5c47;
  --accent: #c2410c;
  --gold: #f2b33d;
  --radius: 10px;
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-2); }
h1, h2, h3 { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* top bar + masthead */
.topbar { background: var(--brand); color: #d6e5de; font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar__links { display: flex; gap: 18px; }
.topbar__links a:hover { color: #fff; }
.masthead { background: var(--surface); border-bottom: 1px solid var(--line); }
.masthead__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--brand); }
.brand:hover { color: var(--brand); }
.brand__logo { height: 72px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 700 30px/1 var(--serif); letter-spacing: -.01em; color: var(--brand); }
.brand__name b { color: var(--accent); font-weight: 700; }
.brand__tag { font-size: 13px; color: var(--muted); margin-top: 4px; }
.search { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 16px; width: min(360px, 100%); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; padding: 6px 0; color: var(--ink); }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(29, 92, 71, .15); }
.search button { border: 0; background: var(--brand); color: #fff; border-radius: 999px; height: 34px; min-width: 34px; padding: 0 10px; cursor: pointer; display: grid; place-items: center; font: 600 14px var(--sans); }
.search--page { width: 100%; max-width: 560px; margin: 0 0 24px; background: var(--surface); }
.search--page button { padding: 0 18px; }

/* nav */
.nav { background: var(--surface); border-bottom: 3px solid var(--brand); position: sticky; top: 0; z-index: 20; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav__list::-webkit-scrollbar { display: none; }
.nav__list a { display: block; padding: 13px 14px 11px; font-weight: 600; font-size: 15px; white-space: nowrap; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -3px; }
.nav__list a:hover { color: var(--brand); }
.nav__list a[aria-current] { color: var(--brand); border-bottom-color: var(--accent); }

/* ads */
.ad { margin-top: 20px; position: relative; }
.ad img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.ad__label { display: block; text-align: right; margin-top: 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

.main { padding-top: 24px; padding-bottom: 48px; }

/* cards */
.kicker { display: inline-block; font: 700 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 8px; }
.meta { display: inline-flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
.meta__views { display: inline-flex; align-items: center; gap: 4px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 6px 24px rgba(23, 32, 28, .08); }
.card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe5e1; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.03); }
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { font: 700 19px/1.25 var(--serif); }
.card__lede { margin: 0; color: var(--ink-2); font-size: 15px; }
.card .meta { margin-top: auto; }
.card--compact .card__title { font-size: 17px; }
.card--lead { position: relative; border: 0; }
.card--lead .card__img { aspect-ratio: 16 / 9; }
.card--lead .card__body { padding: 20px 24px 24px; }
.card--lead .card__title { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
.card--lead .card__lede { font-size: 17px; }
.card--row { flex-direction: row; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 14px 0; gap: 14px; }
.card--row:hover { box-shadow: none; }
.card--row:first-child { padding-top: 0; }
.card--row .card__img { width: 128px; flex: none; aspect-ratio: 4 / 3; border-radius: 8px; }
.card--row .card__body { padding: 0; gap: 6px; }
.card--row .card__title { font-size: 17px; }
.card--row .card__lede { display: none; }
.card--wide { flex-direction: row; margin-bottom: 8px; }
.card--wide .card__img { width: 46%; flex: none; aspect-ratio: auto; min-height: 240px; }
.card--wide .card__body { padding: 22px 24px; justify-content: center; }
.card--wide .card__title { font-size: 26px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 28px; margin-bottom: 36px; }
.hero__side { background: var(--surface); border-radius: var(--radius); padding: 18px 18px 4px; border: 1px solid var(--line); }
.hero__side .card--row:last-child { border-bottom: 0; }

/* sections + layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.sec { margin-bottom: 36px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; border-top: 3px solid var(--ink); padding-top: 10px; margin-bottom: 16px; }
.sec-head h2 { font: 700 22px/1.2 var(--serif); }
.sec-head__more { font-size: 14px; font-weight: 600; color: var(--brand-2); }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--4 .card__title { font-size: 16px; }
.stack { display: flex; flex-direction: column; }

.interview { display: grid; grid-template-columns: 240px 1fr; gap: 0; background: var(--brand); color: #e7efe9; border-radius: var(--radius); overflow: hidden; }
.interview__img img { width: 100%; height: 100%; object-fit: cover; }
.interview__body { padding: 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.interview h3 { font: 700 23px/1.25 var(--serif); color: #fff; }
.interview h3 a:hover { color: var(--gold); }
.interview p { margin: 0; color: #c9d8cf; }
.interview .meta { color: #a9c0b4; }

.gallery-band { background: var(--ink); margin: 8px -20px 0; padding: 24px 20px 28px; border-radius: var(--radius); }
.gallery-band .sec-head { border-top-color: var(--gold); }
.gallery-band .sec-head h2 { color: #fff; }
.gallery-band .sec-head__more { color: var(--gold); }
.gallery-band__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gtile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; }
.gtile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gtile:hover img { transform: scale(1.05); }
.gtile__t { position: absolute; inset: auto 0 0 0; padding: 30px 12px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: #fff; font: 600 14px/1.3 var(--sans); }
.gtile:hover { color: #fff; }

/* sidebar */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 64px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.box__h { font: 700 18px/1.2 var(--serif); margin-bottom: 12px; }
.ranked { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.ranked li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ranked li:first-child { border-top: 0; padding-top: 0; }
.ranked a { font-weight: 600; font-size: 15px; line-height: 1.35; display: block; margin-bottom: 4px; }
.ranked__n { font: 700 26px/1 var(--serif); color: var(--accent); min-width: 22px; }
.ranked--big li { padding: 16px 0; }
.ranked--big a { font: 700 20px/1.3 var(--serif); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); }
.chip:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.box--cta { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #dbe8e1; border: 0; }
.box--cta .box__h { color: #fff; }
.box--cta p { margin: 0 0 14px; font-size: 15px; }
.btn { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 700; padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer; font-size: 15px; font-family: var(--sans); }
.btn:hover { background: #ffc85c; color: var(--ink); }

/* page head */
.page-head { margin-bottom: 22px; }
.page-head h1 { font: 700 clamp(28px, 4vw, 40px)/1.15 var(--serif); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a + a::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a:hover { color: var(--brand-2); }
.empty { color: var(--muted); padding: 24px 0; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; }
.pager a { background: var(--surface); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; }
.pager__pos { color: var(--muted); font-weight: 500; font-size: 14px; margin: 0 auto; }

/* article */
.article { background: var(--surface); border-radius: var(--radius); padding: 32px 40px 36px; border: 1px solid var(--line); }
.article__head h1 { font: 700 clamp(28px, 3.6vw, 42px)/1.15 var(--serif); letter-spacing: -.01em; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.article__fig { margin: 24px -40px; }
.article__fig img { width: 100%; max-height: 640px; object-fit: cover; }
.article__fig figcaption { padding: 8px 40px 0; font-size: 14px; color: var(--muted); }
.prose { font: 400 19px/1.7 var(--serif); color: #222b27; max-width: 72ch; overflow-wrap: anywhere; }
.prose p { margin: 0 0 1.1em; }
.prose a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 2px; }
.prose img { border-radius: 8px; margin: 1em 0; }
.prose iframe { max-width: 100%; aspect-ratio: 16 / 9; height: auto; width: 100%; border: 0; }
.prose h2, .prose h3 { font-family: var(--serif); margin: 1.4em 0 .5em; }
.prose table { border-collapse: collapse; width: 100%; font: 15px/1.4 var(--sans); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.prose th { background: var(--bg); }
.prose .lead { font-size: 22px; line-height: 1.5; color: var(--ink); }
.article__gallery { margin-top: 28px; }
.article__gallery h2 { font: 700 22px var(--serif); margin-bottom: 12px; }
.article__gallery h2 span { color: var(--muted); font-weight: 400; }
.pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.pics a { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; display: block; }
.pics img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pics a:hover img { transform: scale(1.05); }
.article__foot { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.source { margin: 0; color: var(--muted); font-size: 14px; }
.source a { color: var(--brand-2); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.share__btn { font: 600 14px var(--sans); border: 1px solid var(--line); background: var(--bg); padding: 8px 14px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.share__btn--fb { background: #1877f2; color: #fff; border-color: #1877f2; }
.share__btn--viber { background: #7360f2; color: #fff; border-color: #7360f2; }
.share__btn--fb:hover, .share__btn--viber:hover { color: #fff; filter: brightness(1.08); }
.article .sec { margin: 32px 0 0; }
.embed { aspect-ratio: 16 / 9; margin: 24px 0; }
.embed iframe { width: 100%; height: 100%; border: 0; border-radius: 8px; }
.card__img--video { position: relative; }
.card__img--video::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 34px; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }

.lightbox { position: fixed; inset: 0; background: rgba(8, 12, 10, .94); z-index: 100; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { color: #ddd; margin-top: 10px; font-size: 15px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; font-size: 34px; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; }
.lightbox__x { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

/* static pages */
.price-table { margin: 1em 0 1.4em; }
.contact-cards { display: grid; grid-template-columns: minmax(0, 360px); gap: 14px; margin: 8px 0 24px; max-width: 72ch; }
.ccard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-weight: 600; display: flex; flex-direction: column; gap: 4px; overflow-wrap: anywhere; }
.ccard span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.form { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(29, 92, 71, .15); }
.form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 12px 16px; border-radius: 8px; max-width: 560px; }
.notice--ok { background: #e3f3ea; color: #135a3a; }
.notice--err { background: #fde8e1; color: #8a2a0a; }
.notfound { text-align: center; max-width: 560px; margin: 40px auto; }
.notfound h1 { font: 700 36px var(--serif); margin-bottom: 10px; }
.notfound .search { margin: 20px auto; }

/* footer */
.footer { background: #0c2a21; color: #b7c9c0; padding: 40px 0 24px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer p { margin: 12px 0 0; max-width: 46ch; }
.brand--footer .brand__name { color: #fff; font-size: 26px; }
.footer__h { font: 700 13px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 12px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a:hover { color: var(--gold); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 16px; font-size: 13px; color: #8ea69a; }

/* responsive */
@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .gallery-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--wide { flex-direction: column; }
  .card--wide .card__img { width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
  .article { padding: 22px 20px 26px; }
  .article__fig { margin: 20px -20px; }
  .article__fig figcaption { padding: 8px 20px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar__date { display: none; }
  .topbar__links { gap: 14px; overflow-x: auto; white-space: nowrap; }
  .masthead__in { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .brand__name { font-size: 26px; }
  .brand__logo { height: 58px; }
  .masthead .brand { align-self: center; }
  .search { width: 100%; }
  .nav__list a { padding: 12px 11px 10px; font-size: 14px; }
  .ad { margin-top: 14px; }
  .main { padding-top: 18px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .grid--4 .card, .grid--2 .card { flex-direction: row; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding-bottom: 14px; gap: 12px; }
  .grid--4 .card__img, .grid--2 .card__img { width: 112px; flex: none; aspect-ratio: 4 / 3; border-radius: 8px; }
  .grid--4 .card__body, .grid--2 .card__body { padding: 0; }
  .grid--2 .card__lede { display: none; }
  .grid { gap: 14px; }
  .card--row .card__img { width: 112px; }
  .card--row .card__title, .grid .card__title { font-size: 16px; }
  .card--lead { margin: 0 -16px; border-radius: 0; }
  .card--lead .card__body { padding: 16px; }
  .hero__side { padding: 14px 14px 0; }
  .interview { grid-template-columns: 1fr; }
  .interview__img { aspect-ratio: 16 / 9; }
  .gallery-band { margin: 8px -16px 0; border-radius: 0; padding: 20px 16px; }
  .sidebar { grid-template-columns: minmax(0, 1fr); }
  .article { margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; padding: 20px 16px 24px; }
  .article__fig { margin: 18px -16px; }
  .article__fig figcaption { padding: 8px 16px 0; }
  .prose { font-size: 18px; }
  .contact-cards { grid-template-columns: 1fr; }
  .pager { flex-wrap: wrap; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
