@font-face { font-family: Oswald; src: url("assets/oswald.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: Old Standard; src: url("assets/old-standard.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: Caveat; src: url("assets/caveat-quote.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root { --paper: #f1e8d5; --ink: #171613; --orange: #ff691f; --muted: #594e41; --rule: #a59782; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font: 18px/1.55 "Old Standard", Georgia, serif;
  background: var(--paper) repeating-linear-gradient(95deg, #5a3e1705 0 1px, transparent 1px 5px);
}
.wrap { width: min(1224px, calc(100% - 96px)); margin-inline: auto; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3, .brand, .rubric, figcaption { font-family: Oswald, "Arial Narrow", sans-serif; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.mast {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  border-bottom: 4px double var(--ink);
  font: 600 14px/1.4 system-ui, sans-serif;
}
.brand { font-size: clamp(23px, 3vw, 37px); text-transform: uppercase; text-decoration: none; line-height: 1.05; }
.mast nav, .social { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.mast nav a { text-decoration: none; }
.mast nav a:hover { text-decoration: underline; }
.office { white-space: nowrap; }
.hero { display: grid; grid-template-columns: 1.24fr 1fr; align-items: center; gap: 20px; padding-block: 54px 64px; }
.hero-copy { position: relative; z-index: 1; }
.rubric { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
h1 { font-size: clamp(44px, 6.35vw, 96px); font-weight: 700; text-transform: uppercase; line-height: 1.03; letter-spacing: -.035em; }
h1 span {
  display: inline-block;
  padding: .04em .11em .12em;
  margin-top: .13em;
  background: var(--orange);
  font-size: .79em;
  transform: rotate(-2deg);
  clip-path: polygon(0 4%, 19% 0, 35% 5%, 64% 0, 96% 3%, 100% 0, 99% 92%, 75% 100%, 59% 96%, 32% 100%, 0 97%);
}
.intro { max-width: 420px; font-size: 21px; margin: 25px 0 20px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 19px;
  min-height: 54px;
  padding: 11px 17px;
  border: 2px solid var(--ink);
  background: var(--orange);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font: 700 16px/1.35 system-ui, sans-serif;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.button span { font-size: 23px; line-height: 1; }
.button:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.collage { aspect-ratio: 1 / 1.1; position: relative; isolation: isolate; }
.newsprint {
  position: absolute;
  inset: 5% 4% 11% 2%;
  overflow: hidden;
  transform: rotate(5deg);
  background: #e0d2b2;
  border: 1px solid #a59782;
  box-shadow: 4px 6px 10px #30240c26;
  padding: 5%;
}
.newsprint strong { font-size: clamp(21px, 3.1vw, 44px); line-height: 1; }
.newsprint p { border-block: 2px solid; font: 600 11px/2 Oswald, sans-serif; letter-spacing: .12em; margin: 6px 0; }
.newsprint div { columns: 3; column-rule: 1px solid #a59782; font-size: 11px; line-height: 1.38; }
.orange-paper {
  position: absolute;
  inset: 23% 9% 6% 0;
  transform: rotate(-6deg);
  background: radial-gradient(#17161340 .8px, transparent 1px) 0 0 / 5px 5px, var(--orange);
  clip-path: polygon(0 4%, 8% 2%, 12% 4%, 22% 1%, 35% 3%, 50% 0, 62% 3%, 79% 0, 84% 3%, 100% 1%, 98% 33%, 100% 65%, 98% 97%, 82% 99%, 74% 97%, 49% 100%, 29% 98%, 8% 100%, 1% 97%, 2% 69%, 0 45%);
}
.portrait { position: absolute; inset: 0 2% 3% 8%; filter: drop-shadow(-3px 1px 0 #fff4db) drop-shadow(3px 2px 0 #fff4db); display: flex; align-items: end; }
.portrait picture { display: contents; }
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.09);
  clip-path: polygon(35% 29%,34% 24%,34% 18%,37% 14%,42% 11.5%,49% 10.6%,55% 11%,59% 13%,62% 16%,63% 21%,65% 25%,65% 28%,64% 32%,63% 36%,64% 39%,70% 42%,77% 45%,81% 50%,84% 60%,86% 68%,89% 78%,91% 85%,93% 90%,92% 95%,89% 98%,89% 100%,23% 100%,22% 94%,23% 88%,15% 92%,11% 91%,8% 89%,5% 85%,5% 78%,7% 72%,10% 66%,11% 59%,14% 53%,15% 50%,20% 48%,24% 46%,28% 41%,34% 39%,39% 37.5%,39% 34%,36% 34%,34.5% 32%);
}
figcaption { position: absolute; left: 0; bottom: 4%; transform: rotate(-5deg); background: var(--ink); color: var(--paper); padding: 9px 14px; font-weight: 600; font-size: 17px; line-height: 1.2; }
figcaption::before { content: ""; position: absolute; width: 48px; height: 13px; top: -7px; left: 6px; background: #ffde9bc9; transform: rotate(-12deg); }
.services, .about { padding-block: 52px 64px; border-top: 4px double var(--ink); }
h2 { font-size: clamp(36px, 5vw, 63px); font-weight: 700; text-transform: uppercase; line-height: 1.07; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.cards article { border-bottom: 1px solid var(--rule); padding-bottom: 14px; }
.cards img { display: block; width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; border: 1px solid var(--rule); }
h3 { font-size: 26px; line-height: 1.15; margin: 14px 0 8px; }
.cards p, .about p { color: var(--muted); }
.about { display: grid; align-items: center; grid-template-columns: 1.2fr 1fr; gap: 36px; }
.about p { max-width: 540px; margin-top: 14px; }
blockquote { width: fit-content; font: 700 clamp(29px, 4vw, 49px)/1.03 Caveat, cursive; background: var(--orange); padding: 18px 23px; transform: rotate(-3deg); }
footer { background: var(--ink); color: var(--paper); padding-block: 56px 39px; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-bottom: 34px; border-bottom: 1px solid #82786a; }
.contact h2 { font-size: clamp(32px, 4vw, 57px); }
.contact p { margin-top: 9px; }
.contact .button { border-color: var(--orange); box-shadow: none; }
.contact .button:focus-visible { outline-color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1fr .8fr 1.2fr; gap: 22px; margin-top: 24px; font: 15px/1.7 system-ui, sans-serif; }
.social { padding: 0; margin: 4px 0 0; list-style: none; gap: 3px 14px; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .hero { padding-block: 34px 50px; }
  .mast-phone { display: none; }
  .cards { gap: 15px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .mast { align-items: start; flex-direction: column; justify-content: center; min-height: 0; gap: 2px; padding: 12px 0 5px; }
  .mast nav { gap: 18px; }
  .mast nav a { display: flex; align-items: center; min-height: 34px; }
  .hero, .cards, .about, .footer-grid { grid-template-columns: 1fr; }
  .hero { gap: 13px; padding-block: 23px 36px; }
  .desktop { display: none; }
  h1 { font-size: clamp(39px, 11.6vw, 61px); }
  .rubric { font-size: 13px; margin-bottom: 10px; }
  .intro { font-size: 19px; margin: 15px 0 14px; }
  .collage { width: min(100%, 420px); justify-self: center; }
  .newsprint strong { font-size: clamp(25px, 8vw, 34px); }
  .services, .about { padding-block: 34px 42px; }
  .cards { gap: 24px; margin-top: 20px; }
  .about { gap: 22px; }
  footer { padding-block: 35px 30px; }
  .contact { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}

/* ── Чем помогаю: общее (22.11) ── */
.svc-head { display: flex; align-items: end; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; }
.svc-lead { max-width: 430px; color: var(--muted); font-size: 18px; }
.svc { display: flex; flex-direction: column; border: 0; padding: 0; }
.svc-pic { position: relative; }
.svc-pic img { display: block; width: 100%; height: auto; aspect-ratio: 1.79; object-fit: cover; }
.svc-body { display: flex; flex-direction: column; flex: 1; }
.svc h3 { font-size: clamp(25px, 2.3vw, 31px); text-transform: uppercase; letter-spacing: -.01em; margin: 0; }
.svc-list { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 9px; font-size: 16.5px; line-height: 1.45; }
.svc-list li { position: relative; padding-left: 30px; }
.svc-list b { font-weight: 700; color: var(--ink); }
.svc-btn { margin-top: auto; align-self: start; }
@media (max-width: 620px) {
  .svc-list { font-size: 17px; }
  .svc-btn { align-self: stretch; }
}

.svc-c .cards { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
.svc-c .svc { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; padding-block: 34px; border-top: 1px solid var(--rule); }
.svc-c .svc:nth-child(2) .svc-pic { order: 2; }
.svc-c .svc-pic { transform: rotate(-1.2deg); box-shadow: 4px 6px 12px #30240c33; }
.svc-c .svc:nth-child(2) .svc-pic { transform: rotate(1.2deg); }
.svc-c .svc-num { font: 700 clamp(64px, 8vw, 110px)/.8 Oswald, sans-serif; color: transparent; -webkit-text-stroke: 2px var(--orange); margin-bottom: 8px; }
.svc-c .svc h3 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.02; }
.svc-c .svc-idea { align-self: start; margin-top: 12px; background: var(--ink); color: var(--paper); padding: 6px 12px 8px; font: 600 17px/1.3 Oswald, sans-serif; text-transform: uppercase; letter-spacing: .02em; transform: rotate(-1.5deg); }
.svc-c .svc-list { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding-block: 14px; margin-top: 18px; }
.svc-c .svc-list li::before { content: "■"; position: absolute; left: 4px; top: .02em; color: var(--orange); font-size: 15px; }
@media (max-width: 760px) {
  .svc-c .svc { grid-template-columns: 1fr; gap: 20px; padding-block: 28px; }
  .svc-c .svc:nth-child(2) .svc-pic { order: 0; }
}
