:root {
  color-scheme: light;
  --ink: #151312;
  --text: #2b2926;
  --muted: #6c6761;
  --paper: #f6f3ec;
  --surface: #ffffff;
  --wine: #8b2332;
  --wine-dark: #4e111d;
  --teal: #0d665b;
  --brass: #c39b4d;
  --blue: #315f83;
  --line: rgba(21, 19, 18, 0.14);
  --shadow: 0 24px 70px rgba(21, 19, 18, 0.16);
  --max: 1160px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.62;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: 5rem;
  line-height: 0.96;
  color: #fff;
  text-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

h2 {
  max-width: 760px;
  font-size: 2.85rem;
  line-height: 1.06;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.22;
}

p {
  margin: 0;
}

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

.skip-link:focus {
  z-index: 100;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  min-height: 76px;
  padding: 0 max(20px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: rgba(18, 15, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.nav .nav-contact {
  margin-left: 6px;
  color: #1b1715;
  background: #fff;
}

.nav .nav-contact:hover,
.nav .nav-contact:focus-visible {
  color: #1b1715;
  background: #f0dfb9;
}

.lang-switch {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
}

.lang-switch a,
.lang-switch span {
  min-width: 38px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0;
  text-decoration: none;
}

.lang-switch span {
  color: var(--ink);
  background: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle svg,
.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  padding: 126px max(20px, calc((100vw - var(--max)) / 2)) 76px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 13, 13, 0.98) 0%, rgba(16, 13, 13, 0.76) 42%, rgba(16, 13, 13, 0.3) 73%, rgba(16, 13, 13, 0.12) 100%),
    url("assets/photos/hero-zhadko.webp") center center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(0deg, rgba(16, 13, 13, 0.66), rgba(16, 13, 13, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.24rem;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.44);
}

.hero-actions,
.contact-actions,
.direct-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.2;
}

.button-primary {
  color: #fff;
  background: var(--wine);
  box-shadow: 0 18px 36px rgba(139, 35, 50, 0.32);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--wine-dark);
  outline: none;
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.1);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.photo-credit {
  position: absolute;
  z-index: 2;
  right: max(20px, calc((100vw - var(--max)) / 2));
  bottom: 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fact-strip div {
  min-height: 136px;
  padding: 26px max(20px, calc((100vw - var(--max)) / 2 / 4));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #211d1b;
}

.fact-strip strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1;
}

.fact-strip span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.section {
  padding: 88px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--surface);
}

.section-muted {
  background: var(--paper);
}

.section-dark {
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(90deg, rgba(16, 13, 13, 0.94), rgba(16, 13, 13, 0.84)),
    url("assets/photos/background-concert.webp") center center / cover no-repeat;
}

.section-dark h2,
.section-dark h3,
.section-dark .light h2 {
  color: #fff;
}

.section-dark .eyebrow {
  color: #e1bd6a;
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading.light {
  margin-bottom: 42px;
}

.two-column,
.collab-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 52px;
  align-items: start;
}

.prose {
  display: grid;
  gap: 18px;
  max-width: 760px;
  font-size: 1.08rem;
}

.portrait-panel {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf7;
  box-shadow: var(--shadow);
}

.portrait-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}

.portrait-panel p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.service-grid article {
  min-height: 290px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.service-grid span {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--brass);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.service-grid p {
  margin-top: 14px;
}

.name-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.name-list li {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 11px 14px;
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  background: #f4f8f6;
  font-weight: 750;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 150px;
  width: 1px;
  background: var(--line);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 34px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.36rem;
  font-weight: 700;
}

.timeline div::before {
  content: "";
  position: absolute;
  left: 143px;
  top: 33px;
  width: 15px;
  height: 15px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 1px rgba(13, 102, 91, 0.26);
}

.timeline p {
  max-width: 680px;
  margin-top: 8px;
  color: var(--muted);
}

.media-grid,
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.media-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.media-card p {
  margin-top: 14px;
  color: var(--muted);
}

.media-card a {
  margin-top: auto;
  padding-top: 24px;
  color: var(--wine);
  font-weight: 850;
  text-decoration: none;
}

.media-card a:hover,
.media-card a:focus-visible,
.link-list a:hover,
.link-list a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.photo-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 42px rgba(21, 19, 18, 0.1);
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.photo-grid figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.link-list a {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 44px;
  align-items: center;
  padding: 82px max(20px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(14, 19, 18, 0.9), rgba(14, 19, 18, 0.72)),
    linear-gradient(135deg, var(--teal), var(--wine));
}

.contact-section h2 {
  color: #fff;
}

.contact-section p {
  max-width: 700px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.direct-contact {
  margin-top: 26px;
}

.contact-actions {
  justify-content: flex-end;
}

.contact-actions span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.site-footer {
  min-height: 92px;
  padding: 24px max(20px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
}

.site-footer a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .site-header {
    min-height: 70px;
  }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    top: 13px;
    right: auto;
    left: min(calc(100vw - 62px), 326px);
  }

  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 22px;
    background: rgba(18, 15, 15, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a,
  .nav .nav-contact,
  .lang-switch {
    min-height: 48px;
    margin: 0;
    justify-content: center;
  }

  .lang-switch {
    align-self: center;
    width: min(100%, 220px);
  }

  .hero {
    min-height: 78svh;
    padding-top: 112px;
    background:
      linear-gradient(90deg, rgba(16, 13, 13, 0.96), rgba(16, 13, 13, 0.74)),
      url("assets/photos/hero-zhadko.webp") 64% center / cover no-repeat;
  }

  .fact-strip,
  .service-grid,
  .media-grid,
  .photo-grid,
  .link-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-column,
  .collab-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .portrait-panel {
    max-width: 380px;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.35rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 1.9rem;
  }

  .brand span:last-child {
    max-width: 170px;
    line-height: 1.15;
  }

  .hero {
    min-height: 76svh;
    padding: 104px 18px 58px;
    background:
      linear-gradient(180deg, rgba(16, 13, 13, 0.82), rgba(16, 13, 13, 0.72)),
      url("assets/photos/hero-zhadko.webp") 63% center / cover no-repeat;
  }

  .hero-content {
    width: min(100%, 340px);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero .eyebrow {
    max-width: 320px;
    font-size: 0.75rem;
    line-height: 1.25;
  }

  .button {
    width: 100%;
  }

  .direct-contact {
    width: 100%;
  }

  .photo-credit {
    left: 18px;
    right: 18px;
    bottom: 12px;
  }

  .fact-strip,
  .service-grid,
  .media-grid,
  .photo-grid,
  .link-list {
    grid-template-columns: 1fr;
  }

  .fact-strip div {
    min-height: 104px;
    padding: 22px 18px;
  }

  .section,
  .contact-section {
    padding: 64px 18px;
  }

  .two-column,
  .collab-layout {
    gap: 32px;
  }

  .service-grid article {
    min-height: auto;
  }

  .service-grid span {
    margin-bottom: 26px;
  }

  .timeline::before {
    left: 17px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 48px;
  }

  .timeline div::before {
    left: 10px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
