@font-face { font-family: "Forum"; src: url(fonts/forum-cyrillic.woff2) format("woff2"); font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Forum"; src: url(fonts/forum-latin.woff2) format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Golos"; font-weight: 400; src: url(fonts/golos-cyrillic-400.woff2) format("woff2"); font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos"; font-weight: 400; src: url(fonts/golos-latin-400.woff2) format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Golos"; font-weight: 500; src: url(fonts/golos-cyrillic-500.woff2) format("woff2"); font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos"; font-weight: 500; src: url(fonts/golos-latin-500.woff2) format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }

:root {
  --ink: #17201d;
  --ink-soft: #4d5854;
  --paper: #f5f2eb;
  --paper-deep: #ebe6db;
  --on-ink: #f1eee6;
  --on-ink-soft: #a9b0a8;
  --brass: #b08d57;
  --brass-dark: #7d6132;
  --rule: #d4cdbe;
  --rule-ink: #36423d;
  --serif: "Forum", Georgia, "Times New Roman", serif;
  --sans: "Golos", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--sans); }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }

/* Hero */
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: min(100svh, 820px); background: var(--ink); color: var(--on-ink); }
.flutes {
  position: absolute; inset: 0 0 0 auto; width: 46%;
  background: repeating-linear-gradient(90deg, rgba(241,238,230,.11) 0 1px, transparent 1px 22px, rgba(0,0,0,.2) 22px 34px, transparent 34px 44px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 75%);
  mask-image: linear-gradient(90deg, transparent, #000 75%);
}
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; }
.brand { display: block; }
.brand img { display: block; width: 118px; height: auto; }
.nav-links { display: flex; gap: 32px; font-size: 16px; }
.nav-links a { text-decoration: none; color: var(--on-ink-soft); transition: color .15s; }
.nav-links a:hover { color: var(--on-ink); }

.hero-body { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-block: 72px 80px; scroll-margin-top: 0; }
.eyebrow { color: var(--brass); font-size: 15px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
h1 { font-size: clamp(88px, 19vw, 216px); line-height: .95; letter-spacing: .01em; margin: 16px 0 28px -.04em; }
.lead { max-width: 24em; font: 400 clamp(24px, 3vw, 34px)/1.25 var(--serif); }
.hero-phone { align-self: flex-start; margin-top: 40px; padding-bottom: 4px; border-bottom: 1px solid var(--brass); font-size: 20px; font-weight: 500; text-decoration: none; transition: color .15s; }
.hero-phone:hover { color: var(--brass); }

/* Sections */
h2 { font-size: clamp(36px, 4.6vw, 54px); line-height: 1.1; }
section { scroll-margin-top: 16px; }

.about { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-block: 120px; }
.statement { font: 400 clamp(28px, 3.5vw, 42px)/1.22 var(--serif); }
.about-intro { margin-top: 44px; color: var(--ink-soft); }
.values { margin-top: 14px; border-top: 1px solid var(--rule); }
.values li { padding-block: 16px; border-bottom: 1px solid var(--rule); font-weight: 500; }

.services { padding-block: 112px 120px; background: var(--paper-deep); }
.services-head { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: baseline; margin-bottom: 56px; }
.services-head p { color: var(--ink-soft); font-size: 20px; }
.service-list { counter-reset: service; border-top: 1px solid var(--ink); }
.service-list li { counter-increment: service; display: grid; grid-template-columns: 1fr 2fr; gap: 14px 48px; padding-block: 40px; border-bottom: 1px solid var(--rule); }
.service-list li::before { content: "0" counter(service); color: var(--brass-dark); font: 400 34px/1.15 var(--serif); }
.service-list h3 { font-size: clamp(27px, 3vw, 36px); line-height: 1.15; }
.service-list p { grid-column: 2; max-width: 36em; color: var(--ink-soft); }

.contacts { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-block: 120px; }
.contact-list a { display: block; padding-block: 22px; border-bottom: 1px solid var(--rule); font: 400 clamp(28px, 4.4vw, 50px)/1.15 var(--serif); text-decoration: none; overflow-wrap: anywhere; transition: color .15s; }
.contact-list a:first-child { border-top: 1px solid var(--rule); }
.contact-list a:hover { color: var(--brass-dark); }
.contact-list span { display: block; margin-bottom: 6px; color: var(--ink-soft); font: 400 15px/1.4 var(--sans); }

.footer { padding-block: 32px; background: var(--ink); color: var(--on-ink-soft); font-size: 15px; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  .flutes { width: 70%; opacity: .55; }
  .nav { padding-block: 20px; }
  .nav-links { gap: 16px; font-size: 15px; }
  .brand img { width: 88px; }
  .hero { min-height: 88svh; }
  .hero-body { padding-block: 48px 56px; }
  .about, .contacts { grid-template-columns: 1fr; gap: 28px; padding-block: 72px; }
  .services { padding-block: 72px; }
  .services-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 36px; }
  .service-list li { grid-template-columns: 1fr; gap: 10px; padding-block: 28px; }
  .service-list p { grid-column: auto; }
}
