:root {
  --ink: #111821;
  --ink-2: #22303d;
  --muted: #65717d;
  --line: #d8dde1;
  --paper: #f7f5f0;
  --white: #fffdf8;
  --steel: #e9edf0;
  --navy: #071522;
  --navy-2: #10263a;
  --brass: #a47635;
  --brass-dark: #7f5c2d;
  --focus: #1d72d2;
  --max: 1220px;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(17, 24, 33, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-180%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border: 1px solid var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 245, 240, 0.92);
  border-bottom: 1px solid rgba(216, 221, 225, 0.85);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.brand strong,
.site-footer strong {
  display: block;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-2);
  font-size: 15px;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--brass-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

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

.hero {
  padding: 56px 0 40px;
  background:
    linear-gradient(90deg, var(--paper) 0%, var(--paper) calc(50% + 56px), var(--navy) calc(50% + 56px), var(--navy) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.85fr);
  gap: 40px;
  align-items: start;
}

.eyebrow,
.section-kicker,
.case-item span,
.media-grid span {
  margin: 0 0 14px;
  color: var(--brass-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 670px;
  margin-bottom: 24px;
  font-size: clamp(40px, 4.7vw, 64px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.lead {
  max-width: 620px;
  color: var(--ink-2);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 34px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  background: var(--navy);
  color: var(--white);
}

.button.primary:hover {
  background: var(--navy-2);
}

.button.secondary,
.button.light {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button.secondary:hover,
.button.light:hover {
  border-color: var(--brass);
}

.text-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--brass);
  text-underline-offset: 5px;
}

.location {
  color: var(--muted);
  font-size: 15px;
}

.hero-portrait {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  justify-self: start;
  width: min(100%, 540px);
  margin: 0;
  padding: 24px;
  background: transparent;
  color: rgba(255, 253, 248, 0.78);
}

.hero-portrait img {
  width: min(100%, 480px);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow);
}

figcaption {
  padding: 12px 14px;
  color: inherit;
  font-size: 13px;
  line-height: 1.35;
}

.metrics {
  background: var(--navy);
  color: var(--white);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255, 253, 248, 0.15);
}

.metrics article {
  min-height: 150px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 253, 248, 0.15);
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 45px);
  font-weight: 500;
  line-height: 1.05;
}

.metrics span {
  color: rgba(255, 253, 248, 0.76);
}

.section {
  padding: 76px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 72px;
}

.prose p {
  max-width: 720px;
  color: var(--ink-2);
  font-size: 19px;
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head p:not(.section-kicker) {
  color: var(--muted);
}

.services {
  background: var(--white);
}

.services-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 28px;
  align-items: start;
}

.risk-panel {
  position: sticky;
  top: 104px;
  padding: 28px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
}

.risk-panel ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: rgba(255, 253, 248, 0.78);
}

.risk-panel li + li {
  margin-top: 12px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-list article {
  min-height: 202px;
  padding: 26px;
  background: var(--white);
}

.service-list p,
.case-item p,
.commission-list p,
.about p,
.media-grid p,
.contact p,
.site-footer p {
  color: var(--muted);
}

.cases {
  background: var(--steel);
}

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

.case-item {
  grid-column: span 4;
  min-height: 292px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(17, 24, 33, 0.08);
  border-radius: var(--radius);
}

.case-item.featured {
  grid-column: span 8;
  background: var(--navy);
  color: var(--white);
}

.case-item.featured p,
.case-item.featured span {
  color: rgba(255, 253, 248, 0.75);
}

.case-item strong {
  display: block;
  margin-top: 18px;
  line-height: 1.35;
}

.case-item a,
.media-grid a {
  display: inline-block;
  margin-top: 18px;
  color: inherit;
  font-weight: 700;
  text-decoration-color: var(--brass);
  text-underline-offset: 5px;
}

.commissions {
  background: var(--navy);
  color: var(--white);
}

.commission-top {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: start;
  margin-bottom: 40px;
}

.commission-top h2 {
  max-width: 850px;
}

.commission-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 253, 248, 0.16);
  border: 1px solid rgba(255, 253, 248, 0.16);
}

.commission-list article {
  min-height: 210px;
  padding: 24px;
  background: var(--navy);
}

.commission-list time {
  display: inline-block;
  margin-bottom: 18px;
  color: #d8b073;
  font-size: 14px;
  font-weight: 700;
}

.commission-list h3 {
  color: var(--white);
}

.commission-list p {
  color: rgba(255, 253, 248, 0.72);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 54px;
  align-items: center;
}

.about figure {
  margin: 0;
  background: var(--ink);
  color: rgba(255, 253, 248, 0.72);
}

.about img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}

.media {
  background: var(--white);
}

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

.media-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.media-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
}

.media-grid div {
  padding: 22px;
}


.video-preview {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  overflow: hidden;
}

.video-preview img,
.video-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.video-frame {
  background: var(--navy);
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(7, 21, 34, 0.88);
  box-shadow: 0 10px 34px rgba(7, 21, 34, 0.34);
}

.play-button::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 21px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid var(--white);
}

.video-preview:hover .play-button,
.video-preview:focus-visible .play-button {
  background: var(--brass-dark);
}

.media-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: stretch;
}

.media-feature .video-preview,
.media-feature .video-frame {
  align-self: stretch;
}

.media-feature div {
  align-self: center;
}
.rights-note {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  background: var(--navy);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact p {
  color: rgba(255, 253, 248, 0.76);
}

.disclaimer {
  border-left: 3px solid var(--brass);
  padding-left: 18px;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-lines a {
  color: var(--white);
  font-weight: 700;
  text-decoration-color: var(--brass);
  text-underline-offset: 5px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 26px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
}

.field-group {
  display: grid;
  gap: 7px;
}

.field-group.wide,
.consent,
.contact-form button,
.form-status {
  grid-column: 1 / -1;
}

label {
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9d0d6;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

small {
  color: var(--muted);
  font-size: 13px;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 400;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #27613e;
  font-weight: 700;
}


#contact .contact-form-cf7 {
  display: block;
}
.site-footer {
  padding: 42px 0;
  background: #080d12;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.85fr 0.75fr 1fr;
  gap: 42px;
}

.site-footer p {
  margin: 10px 0 0;
  color: rgba(255, 253, 248, 0.68);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .hero {
    background: var(--paper);
  }

  .hero-grid,
  .split,
  .services-layout,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-portrait {
    width: 100%;
    max-width: 520px;
    margin-left: 0;
    padding: 0;
  }

  .metrics-grid,
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .risk-panel {
    position: static;
  }

  .commission-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-item,
  .case-item.featured {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .media-feature {
    grid-template-columns: 1fr;
  }

  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 12px 16px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 6px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .hero {
    padding: 44px 0 34px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .lead {
    font-size: 18px;
  }

  .section {
    padding: 56px 0;
  }

  .metrics-grid,
  .service-list,
  .commission-list,
  .media-grid,
  .footer-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    border-left: 0;
  }

  .metrics article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 253, 248, 0.15);
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-item,
  .case-item.featured {
    grid-column: auto;
    min-height: auto;
  }

  .commission-top {
    display: grid;
  }
}

@media (max-width: 430px) {
  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .text-link {
    width: 100%;
  }

  .text-link {
    text-align: center;
    padding: 10px 0;
  }

  .service-list article,
  .case-item,
  .risk-panel,
  .contact-form {
    padding: 22px;
  }
}
#contact .wpcf7 {
  color: var(--ink);
}

#contact .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}

#contact .wpcf7-form > fieldset.hidden-fields-container {
  display: none;
}

#contact .wpcf7-form > p {
  min-width: 0;
  margin: 0;
}

#contact .wpcf7-form > p:nth-of-type(n+6),
#contact .wpcf7-form > p:has(textarea),
#contact .wpcf7-form > p:has(input[type="file"]),
#contact .wpcf7-form > p:has(.wpcf7-acceptance),
#contact .wpcf7-form > p:has(input[type="submit"]),
#contact .wpcf7-form > .wpcf7-response-output {
  grid-column: 1 / -1;
}

#contact .wpcf7 label {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: #101820;
  visibility: visible;
  opacity: 1;
  height: auto;
  max-height: none;
  overflow: visible;
}

#contact .wpcf7-form > p:not(:has(label))::before {
  display: block;
  margin: 0 0 7px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: #101820;
}

#contact .wpcf7-form > p:not(:has(label)):has(.wpcf7-acceptance)::before,
#contact .wpcf7-form > p:not(:has(label)):has(input[type="submit"])::before {
  content: none;
}

#contact .wpcf7-form > p:not(:has(label)):nth-of-type(1)::before {
  content: "\0418\043C\044F";
}

#contact .wpcf7-form > p:not(:has(label)):nth-of-type(2)::before {
  content: "\0422\0435\043B\0435\0444\043E\043D";
}

#contact .wpcf7-form > p:not(:has(label)):nth-of-type(3)::before {
  content: "\0413\043E\0440\043E\0434";
}

#contact .wpcf7-form > p:not(:has(label)):nth-of-type(4)::before {
  content: "\041A\0430\0442\0435\0433\043E\0440\0438\044F \0432\043E\043F\0440\043E\0441\0430";
}

#contact .wpcf7-form > p:not(:has(label)):nth-of-type(5)::before {
  content: "\041A\043B\044E\0447\0435\0432\0430\044F \0434\0430\0442\0430";
}

#contact .wpcf7-form > p:not(:has(label)):has(textarea)::before {
  content: "\041A\0440\0430\0442\043A\043E\0435 \043E\043F\0438\0441\0430\043D\0438\0435 \0441\0438\0442\0443\0430\0446\0438\0438";
}

#contact .wpcf7-form > p:not(:has(label)):has(input[type="file"])::before {
  content: "\0414\043E\043A\0443\043C\0435\043D\0442";
}

#contact .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

#contact .wpcf7 br {
  display: none;
}

#contact .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
#contact .wpcf7 select,
#contact .wpcf7 textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #c9d0d6;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
}

#contact .wpcf7 label .wpcf7-form-control-wrap {
  margin-top: 7px;
}

#contact .wpcf7 textarea {
  min-height: 142px;
  resize: vertical;
}

#contact .wpcf7 .wpcf7-acceptance {
  display: block;
}

#contact .wpcf7 .wpcf7-list-item {
  display: block;
  margin: 0;
}

#contact .wpcf7 .wpcf7-acceptance label,
#contact .wpcf7 .wpcf7-list-item label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

#contact .wpcf7 input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
}

#contact .wpcf7 .wpcf7-list-item-label {
  display: inline;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  visibility: visible;
  opacity: 1;
}

#contact .wpcf7 .wpcf7-list-item-label:empty::before {
  content: "\0421\043E\0433\043B\0430\0441\0435\043D \043D\0430 \043E\0431\0440\0430\0431\043E\0442\043A\0443 \043F\0435\0440\0441\043E\043D\0430\043B\044C\043D\044B\0445 \0434\0430\043D\043D\044B\0445 \0434\043B\044F \0440\0430\0441\0441\043C\043E\0442\0440\0435\043D\0438\044F \043E\0431\0440\0430\0449\0435\043D\0438\044F.";
}

#contact .wpcf7 input[type="submit"] {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

#contact .wpcf7 input[type="submit"]:hover,
#contact .wpcf7 input[type="submit"]:focus-visible {
  background: var(--navy-2);
}

#contact .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #9f1d1d;
  font-size: 14px;
  font-weight: 700;
}

#contact .wpcf7 .wpcf7-response-output {
  margin: 4px 0 0;
  padding: 12px 14px;
  border: 1px solid #c9d0d6;
  border-left: 4px solid var(--brass);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

#contact .wpcf7 form.sent .wpcf7-response-output {
  border-left-color: #27613e;
  background: #eef8f1;
}

#contact .wpcf7 form.invalid .wpcf7-response-output,
#contact .wpcf7 form.failed .wpcf7-response-output,
#contact .wpcf7 form.aborted .wpcf7-response-output {
  border-left-color: #9f1d1d;
  background: #fff2f0;
}

@media (max-width: 768px) {
  #contact .wpcf7-form {
    grid-template-columns: 1fr;
  }

  #contact .wpcf7-form > p {
    grid-column: 1 / -1;
  }
}
