:root {
  --black: #0b0b0b;
  --black-soft: #171717;
  --black-panel: #202020;
  --grey: #6c6c68;
  --grey-light: #bdbdb7;
  --line: #d5d4cf;
  --line-dark: #383838;
  --paper: #f1f0eb;
  --paper-soft: #f7f6f2;
  --white: #ffffff;
  --max: 1180px;
  --radius-large: 30px;
  --radius-medium: 22px;
  --radius-small: 14px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: -100px;
  z-index: 999;
  padding: 10px 15px;
  color: var(--black);
  background: var(--white);
  border-radius: 999px;
  text-decoration: none;
}

.skip-link:focus {
  top: 14px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: rgba(11, 11, 11, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand span {
  margin-top: 7px;
  color: var(--grey-light);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 10px 13px;
  color: #e7e7e3;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--black);
  background: var(--white);
}

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

.menu-button {
  display: none;
  min-height: 42px;
  padding: 0 17px;
  color: var(--white);
  background: transparent;
  border: 1px solid #484848;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 18%, rgba(255,255,255,0.085), transparent 25rem),
    linear-gradient(115deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 100%),
    linear-gradient(25deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 100%),
    var(--black);
  background-size: auto, 160px 160px, 220px 220px, auto;
}

.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(50px, 7vw, 95px);
  align-items: center;
  padding: 104px 0;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--grey-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 8.5vw, 112px);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -0.05em;
}

.hero-lead {
  max-width: 740px;
  margin-bottom: 38px;
  color: #deded9;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.52;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--white);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: 160ms ease;
}

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

.button-secondary {
  color: var(--white);
  background: transparent;
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--white);
  background: transparent;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--black);
  background: var(--white);
}

.hero-panel {
  overflow: hidden;
  border: 1px solid #3e3e3e;
  border-radius: var(--radius-large);
  background: rgba(25, 25, 25, 0.85);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.panel-head {
  min-height: 160px;
  display: grid;
  align-content: center;
  gap: 1px;
  padding: 28px;
  color: #f4f4f0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.055), transparent 55%),
    var(--black-panel);
  border-bottom: 1px solid #3a3a3a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 0.87;
  letter-spacing: -0.05em;
}

.panel-head span:nth-child(2) {
  color: #8c8c86;
}

.hero-facts {
  padding: 9px 28px 18px;
}

.fact {
  padding: 24px 0;
  border-bottom: 1px solid #393939;
}

.fact:last-child {
  border-bottom: 0;
}

.fact strong,
.fact span {
  display: block;
}

.fact strong {
  margin-bottom: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
}

.fact span {
  color: var(--grey-light);
  font-size: 13px;
}

.section {
  padding: 118px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1.45fr);
  gap: 72px;
  align-items: start;
  margin-bottom: 64px;
}

.section-label {
  margin: 8px 0 0;
  color: var(--grey);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-label-light {
  color: #a9a9a3;
}

h2 {
  max-width: 890px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 80px;
}

.intro-lead {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3.4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.intro-copy p {
  color: #454541;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.services {
  background:
    radial-gradient(circle at 8% 20%, rgba(0,0,0,0.035), transparent 24rem),
    var(--paper);
}

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

.service {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid #cbc9c2;
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 14px 35px rgba(0,0,0,0.035);
}

.service-dark {
  color: var(--white);
  background: var(--black-soft);
  border-color: var(--black-soft);
  box-shadow: 0 20px 55px rgba(0,0,0,0.16);
}

.service-number {
  display: block;
  margin-bottom: auto;
  color: var(--grey);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.service-dark .service-number {
  color: #a6a6a0;
}

.service h3 {
  margin: 52px 0 17px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.service p {
  margin-bottom: 0;
  color: #4c4c47;
}

.service-dark p {
  color: #c8c8c1;
}

.statement {
  color: var(--white);
  background:
    radial-gradient(circle at 90% 5%, rgba(255,255,255,0.07), transparent 24rem),
    var(--black-soft);
}

.statement-inner {
  display: grid;
  grid-template-columns: minmax(170px, 0.4fr) minmax(0, 1.6fr);
  gap: 72px;
}

.statement-index {
  margin: 13px 0 0;
  color: #9a9a94;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.statement blockquote {
  max-width: 960px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(43px, 6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.statement blockquote + p {
  max-width: 650px;
  margin: 38px 0 0 auto;
  color: #c6c6c0;
  font-size: 18px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  min-height: 300px;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--paper-soft);
}

.step span {
  display: block;
  margin-bottom: 55px;
  color: var(--grey);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.step h3 {
  margin-bottom: 14px;
  font-size: 17px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.step p {
  margin-bottom: 0;
  color: #50504b;
  font-size: 15px;
}

.about {
  background: var(--paper);
}

.about-card {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.2fr);
  gap: 80px;
  padding: clamp(38px, 6vw, 66px);
  border: 1px solid #c8c6bf;
  border-radius: var(--radius-large);
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-name {
  font-size: clamp(45px, 5vw, 67px);
  line-height: 0.98;
}

.about-subline {
  display: block;
  margin-top: 22px;
  color: var(--grey);
  font-size: 13px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.about-copy {
  padding-top: 6px;
}

.about-copy p {
  color: #41413d;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr);
  gap: 80px;
  align-items: end;
}

.contact h2 {
  margin-bottom: 30px;
}

.contact p {
  max-width: 680px;
  color: #cacac4;
  font-size: 18px;
}

.contact-box {
  padding: 34px;
  border: 1px solid #414141;
  border-radius: var(--radius-medium);
  background: #151515;
  box-shadow: 0 22px 60px rgba(0,0,0,0.25);
}

.contact-box small {
  display: block;
  margin-bottom: 14px;
  color: #9c9c96;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mail-link {
  display: inline-block;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 3vw, 35px);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  overflow-wrap: anywhere;
}

.location {
  margin-top: 27px;
  color: #b8b8b1;
  font-size: 14px;
}

.site-footer {
  color: #bcbcb6;
  background: #050505;
  border-top: 1px solid #292929;
}

.footer-inner {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: #d6d6d1;
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.legal-main {
  min-height: calc(100vh - 184px);
  display: grid;
  place-items: center;
  padding: 84px 0;
  background:
    radial-gradient(circle at 90% 8%, rgba(0,0,0,0.045), transparent 24rem),
    var(--paper);
}

.legal-card {
  padding: clamp(34px, 7vw, 70px);
  border: 1px solid #c7c5be;
  border-radius: var(--radius-large);
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin: 0 0 28px;
  color: var(--black);
  font-size: clamp(47px, 8vw, 78px);
  line-height: 1;
}

.legal-card .lead {
  max-width: 700px;
  margin-bottom: 30px;
  color: #3f3f3b;
  font-size: 19px;
}

.notice {
  margin: 35px 0;
  padding: 25px;
  border-left: 4px solid var(--black);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  background: var(--paper-soft);
}

.notice strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.legal-contact {
  color: #55554f;
}

.legal-contact a {
  font-weight: 700;
  text-underline-offset: 4px;
}

.back-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  padding: 11px 20px;
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--black);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.back-button:hover,
.back-button:focus-visible {
  color: var(--black);
  background: var(--white);
}

@media (max-width: 960px) {
  .nav a:not(.nav-contact) {
    display: none;
  }

  .hero-inner,
  .section-head,
  .intro-grid,
  .statement-inner,
  .about-card,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-inner {
    padding: 82px 0;
  }

  .hero-panel {
    max-width: 600px;
  }

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

  .service {
    min-height: 290px;
  }

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

  .about-card {
    padding: 42px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

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

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

  .brand strong {
    font-size: 15px;
  }

  .brand span {
    font-size: 9px;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow);
  }

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

  .nav a,
  .nav a:not(.nav-contact) {
    display: block;
    padding: 13px;
    color: var(--black);
  }

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

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 70px 0;
  }

  h1 {
    font-size: clamp(50px, 15vw, 76px);
  }

  .hero-lead {
    font-size: 18px;
  }

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

  .button {
    width: 100%;
  }

  .section {
    padding: 82px 0;
  }

  .section-head {
    margin-bottom: 45px;
  }

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

  .step {
    min-height: 0;
  }

  .about-card {
    padding: 28px;
  }

  .contact-box {
    padding: 28px;
  }

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

  .legal-main {
    padding: 54px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
