:root {
  --color-bg-main: #faf8f5;
  --color-bg-surface: #ffffff;
  --color-bg-subtle: #f3efe9;
  --color-bg-card-hover: #efe9e0;
  --color-text-primary: #2c241e;
  --color-text-secondary: #63564c;
  --color-text-muted: #968679;
  --color-accent: #8e7051;
  --color-accent-hover: #755b40;
  --color-sage: #8ca6b5;
  --color-sage-hover: #7593a4;
  --color-btn-telegram: #527599;
  --color-btn-telegram-hover: #405f7f;
  --color-border: #e8e1d7;
  --color-border-subtle: #f0eae1;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-script: "Caveat", cursive;
  --fs-display: clamp(2.6rem, 3.2vw + 0.8rem, 4.15rem);
  --fs-title: clamp(1.85rem, 1.2vw + 1rem, 2.5rem);
  --fs-lead: 1.35rem;
  --fs-body: 1rem;
  --fs-meta: 0.75rem;
  --fs-hero: var(--fs-display);
  --fs-h2: var(--fs-title);
  --fs-h3: var(--fs-lead);
  --measure: min(1120px, calc(100% - clamp(1.5rem, 5vw, 4rem)));
  --header-h: 4.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg-main);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

::selection {
  background: #e7d9c8;
  color: var(--color-text-primary);
}

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

.wrap {
  width: var(--measure);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  padding: 0.55rem 0.8rem;
  background: var(--color-text-primary);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.6rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-h);
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.header-row {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 14rem;
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-decoration: none;
  justify-self: start;
}

.nav {
  display: flex;
  gap: 1.15rem;
}

.nav a {
  text-decoration: none;
  color: var(--color-text-secondary);
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--color-text-primary);
}

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang {
  display: flex;
  gap: 0.15rem;
}

.lang a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.4rem;
}

.lang a[aria-current="page"] {
  color: var(--color-text-primary);
  box-shadow: inset 0 -1px 0 var(--color-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 0;
  background: var(--color-sage);
  color: #fff;
  text-decoration: none;
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn::after {
  content: " →";
}

.btn:hover {
  background: var(--color-sage-hover);
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-primary);
  cursor: pointer;
}

.page {
  margin: 0;
}

.page p {
  margin: 0 0 0.9rem;
}

.page h1,
.page h2,
.page h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero,
.about,
.experience,
.faq {
  width: var(--measure);
  margin-inline: auto;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.services,
.contacts {
  width: var(--measure);
  margin-inline: auto;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
  background: var(--color-bg-subtle);
  box-shadow: 0 0 0 100vmax var(--color-bg-subtle);
  clip-path: inset(0 -100vmax);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  column-gap: clamp(1.25rem, 3vw, 3rem);
  align-items: stretch;
  padding: clamp(2.2rem, 5vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0.5rem 0;
}

.hero > figure {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  align-self: stretch;
  height: 100%;
  min-height: 100%;
  margin: 0;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 500;
  line-height: 1.05;
  color: var(--color-text-primary);
  text-wrap: balance;
}

.hero .tagline {
  margin: 0.75rem 0 0;
  max-width: 28rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero p:has(> em:only-child) {
  margin: 0.55rem 0 0.35rem;
}

.hero em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--fs-lead);
  line-height: 1.2;
  color: var(--color-accent);
}

.hero .place {
  margin: 0.85rem 0 0;
  color: var(--color-text-secondary);
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero p:has(> em:only-child) + p {
  max-width: 40rem;
  color: var(--color-text-secondary);
  font-size: var(--fs-body);
}

.hero-copy > ul,
.hero > ol,
.contacts ul,
.experience > ul,
.services > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-copy > ul {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.hero > ol {
  display: flex;
  grid-column: 3;
  grid-row: 1;
  align-self: stretch;
  justify-content: center;
  height: 100%;
  padding: 1rem 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  margin: 0;
}

.hero > ol > li {
  max-width: 11rem;
  color: var(--color-text-secondary);
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-copy > ul a,
.contacts ul a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: var(--fs-body);
  font-weight: 500;
}

.hero a[href*="t.me"],
.contacts ul a[href*="t.me"] {
  background: var(--color-btn-telegram);
  color: #fff;
}

.hero a[href*="t.me"]:hover,
.contacts ul a[href*="t.me"]:hover {
  background: var(--color-btn-telegram-hover);
}

.hero a[href*="instagram"],
.hero a[href^="#"],
.contacts ul a[href*="instagram"],
.contacts ul a[href^="mailto"],
.contacts ul a[href^="tel"] {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
}

.hero a[href*="instagram"]:hover,
.hero a[href^="#"]:hover,
.contacts ul a[href*="instagram"]:hover,
.contacts ul a[href^="mailto"]:hover,
.contacts ul a[href^="tel"]:hover {
  border-color: var(--color-accent);
  background: var(--color-bg-card-hover);
}

.hero > figure img,
.about > figure.portrait img,
.experience > figure img,
.contacts > figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.hero > figure img {
  object-position: center top;
}

.about > figure.portrait img {
  object-position: center 18%;
}

.experience > figure img {
  object-position: center 12%;
}

.contacts > figure img {
  object-position: center 15%;
}

.about {
  display: grid;
  grid-template-columns: minmax(200px, 33%) minmax(0, 1fr);
  column-gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
  padding: clamp(1rem, 3vw, 2rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}

.about > figure.portrait {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  margin: 0;
}

.about > .about-copy {
  grid-column: 2;
  grid-row: 1;
}

.about h2,
.services h2,
.experience h2,
.faq h2,
.contacts h2 {
  margin: 0 0 1.1rem;
  font-size: var(--fs-h2);
}

.about p {
  max-width: 62ch;
  color: var(--color-text-secondary);
}

.plate-city p + p {
  max-width: 16rem;
  margin: 0.75rem 0 0;
  color: var(--color-text-primary);
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.about blockquote {
  margin: 1.4rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--color-border);
  background: none;
  quotes: none;
}

.about blockquote::before,
.about blockquote::after {
  content: none;
}

.about blockquote p {
  margin: 0;
  max-width: 62ch;
  color: var(--color-text-secondary);
  font-size: var(--fs-body);
  font-style: italic;
  line-height: 1.7;
}

.about blockquote p + p {
  margin-top: 0.55rem;
  font-style: normal;
  color: var(--color-text-primary);
}

.services,
.contacts {
  display: grid;
  align-items: stretch;
  column-gap: clamp(1.25rem, 3vw, 2.75rem);
  row-gap: 1.25rem;
  padding: clamp(3.2rem, 6vw, 5.2rem) 0;
}

.services {
  display: block;
}

.services > ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.contacts {
  grid-template-columns: clamp(190px, 26%, 320px) minmax(0, 1fr);
}

.contacts > figure {
  grid-column: 1;
  grid-row: 1 / span 2;
  position: relative;
  margin: 0;
  align-self: stretch;
}

.contacts > .contact-main {
  grid-column: 2;
  grid-row: 1;
}

.contacts > .contact-main h2 {
  margin-bottom: 1rem;
}

.contacts > .requisites {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.contacts > .requisites h3 {
  margin-top: 0;
}

.services h3,
.contacts h3 {
  margin: 2.4rem 0 1rem;
  font-size: var(--fs-h3);
}

.services > p {
  max-width: 40rem;
  margin: 0 0 1.25rem;
  color: var(--color-text-secondary);
}

.services > h3:first-of-type {
  margin-top: 0;
}

.services {
  counter-reset: card;
}

.services > ul > li.section-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  counter-increment: none;
  min-height: 100%;
  padding: 1.15rem 1.1rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background-color: transparent;
  background-image:
    linear-gradient(180deg, rgba(250, 248, 245, 0.08) 0%, rgba(250, 248, 245, 0.16) 40%, rgba(250, 248, 245, 0.92) 76%, rgba(250, 248, 245, 0.96) 100%),
    url("/assets/img/aesthetic-workplace.jpg");
  background-repeat: no-repeat;
  background-size: cover, cover;
  background-position: center, center 72%;
}

.services > ul > li.section-tile::before {
  content: none;
}

.section-tile h2,
.section-tile p {
  margin: 0;
}

.section-tile p {
  margin-top: 0.45rem;
  color: var(--color-text-secondary);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.45;
}

.services > ul > li:not(.section-tile):not(.group-tile) {
  counter-increment: card;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  padding: 1.15rem 1.1rem 1rem;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  min-height: 100%;
  overflow: visible;
}

.services > ul > li.section-tile {
  background-color: transparent;
  background-image:
    linear-gradient(180deg, rgba(250, 248, 245, 0.08) 0%, rgba(250, 248, 245, 0.16) 40%, rgba(250, 248, 245, 0.92) 76%, rgba(250, 248, 245, 0.96) 100%),
    url("/assets/img/aesthetic-workplace.jpg");
  background-repeat: no-repeat;
  background-size: cover, cover;
  background-position: center, center 72%;
}

.services > ul > li:has(details[open]) {
  align-self: stretch;
}

.services > ul > li:not(.section-tile):not(.group-tile).is-wide {
  position: relative;
  z-index: 2;
  justify-self: start;
  overflow: hidden;
  cursor: pointer;
}

.services > ul > li.is-wide .more-body {
  position: absolute;
  top: 1.15rem;
  right: 1.1rem;
  bottom: 1rem;
  left: calc(var(--panel-left, 50%) + 0.7rem);
  margin: 0;
  padding-left: 0.9rem;
  overflow: auto;
  border-left: 1px solid var(--color-border);
}

.services > ul > li.is-wide .more-body p {
  margin: 0 0 0.7rem;
}

.services > ul > li.is-wide .more-body p:last-child {
  margin-bottom: 0;
}

.services .more {
  margin-top: auto;
}

.services .more summary {
  cursor: pointer;
  list-style: none;
  color: var(--color-accent);
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services .more summary::-webkit-details-marker {
  display: none;
}

.services .more p {
  margin: 0.7rem 0 0;
  color: var(--color-text-secondary);
  font-size: var(--fs-body);
  line-height: 1.55;
}

.services > ul > li::before {
  content: counter(card, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--fs-body);
  letter-spacing: 0.14em;
  color: var(--color-accent);
}

.services > ul > li > p {
  margin: 0;
}

.services > ul > li > p:first-of-type {
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  line-height: 1.15;
}

.services > ul > li > p:first-of-type strong,
.services > ul > li > p:nth-of-type(2) strong,
.experience li strong {
  font-weight: 500;
}

.services > ul > li > p:nth-of-type(2) {
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  line-height: 1;
  letter-spacing: -0.02em;
}

.services > ul > li > p:nth-of-type(3) {
  color: var(--color-text-primary);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.5;
}

.services > ul > li > p:nth-of-type(n + 4) {
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  line-height: 1.55;
}

.services > ul > li.group-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.65rem;
  counter-increment: none;
  min-width: 0;
  min-height: 100%;
  padding: 1.15rem 1.1rem 1rem;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 2px;
}

.services > ul > li.group-tile::before {
  content: none;
}

.services > ul > li.group-tile > p {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.services > ul > li.section-tile > h2 {
  margin: 0;
}

.services > ul > li.section-tile > p {
  margin: 0.45rem 0 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  color: var(--color-text-secondary);
}

.experience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(150px, 16%, 200px);
  column-gap: clamp(1.25rem, 3vw, 2.5rem);
  row-gap: 0.75rem;
  align-items: start;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
}

.experience h2 {
  margin-bottom: 0.35rem;
}

.experience > .section-lead {
  grid-column: 1;
  grid-row: 1;
}

.experience > figure.press {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  margin: 0;
  align-self: stretch;
}

.experience > .section-lead p {
  margin: 0;
  color: var(--color-text-secondary);
}

.experience > ul {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  counter-reset: exp;
  align-items: stretch;
}

.experience > ul > li {
  counter-increment: exp;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}

.experience > ul > li::before {
  content: counter(exp, decimal-leading-zero);
  display: block;
  margin-bottom: 0.28rem;
  font-family: var(--font-display);
  font-size: var(--fs-body);
  line-height: 1.2;
  letter-spacing: 0.14em;
  color: var(--color-accent);
}

.experience > ul > li > p:first-child {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  line-height: 1.1;
}

.experience > ul > li > p:nth-child(2) {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--fs-body);
  line-height: 1.4;
}

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 0 0 clamp(3.2rem, 6vw, 5rem);
}

.faq h2 {
  grid-column: 1 / -1;
}

.faq details {
  border-top: 1px solid var(--color-border);
  padding: 0.95rem 0 0.35rem;
}

.faq details:last-child {
  border-bottom: 1px solid var(--color-border);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.25;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  font-weight: 400;
  color: var(--color-accent);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  max-width: 68ch;
  margin-top: 0.75rem;
  color: var(--color-text-secondary);
}

.faq a {
  color: var(--color-accent-hover);
}

.contacts ul {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.4rem 0 0;
}

.contacts ul a {
  overflow-wrap: anywhere;
}

.hero-copy > ul a.icon-link,
.contacts ul a.icon-link {
  width: auto;
  height: auto;
  min-height: 2.6rem;
  padding: 0.35rem 0.95rem 0.35rem 0.7rem;
  gap: 0.55rem;
  border-radius: 0;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-secondary);
  flex: none;
  transition: border-color 0.2s, color 0.2s;
}

.hero-copy > ul a.icon-link:hover,
.contacts ul a.icon-link:hover {
  border-color: var(--color-accent);
  color: var(--color-text-primary);
  background: transparent;
}

.hero-copy > ul a[href^="#"] {
  border: none;
  border-radius: 0;
  background: var(--color-sage);
  color: #fff;
  min-height: 2.6rem;
  padding: 0.55rem 0.95rem;
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy > ul a[href^="#"]::after {
  content: " →";
}

.hero-copy > ul a[href^="#"]:hover {
  background: var(--color-sage-hover);
  border-color: transparent;
  color: #fff;
}

.icon-link svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
  display: block;
}

.contacts h3 {
  margin-top: 0.2rem;
}

.contacts h3 ~ p {
  margin: 0 0 0.35rem;
  color: var(--color-text-secondary);
  font-size: var(--fs-body);
  line-height: 1.5;
}

.contacts h3 ~ p a {
  color: var(--color-accent-hover);
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.4rem 0 2rem;
  color: var(--color-text-muted);
  font-size: var(--fs-meta);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  flex-wrap: wrap;
}

.footer-row p {
  margin: 0;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .services > ul > li {
    transition: transform 0.2s ease, background-color 0.2s ease;
  }

  .services > ul > li:not(.section-tile):not(.group-tile):hover {
    transform: translateY(-3px);
    background: var(--color-bg-card-hover);
  }
}

@media (max-width: 980px) {
  .services > ul {
    grid-template-columns: 1fr 1fr;
  }

  .experience > ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 6.25rem;
  }

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

  .header-tools {
    gap: 0.4rem;
  }

  .lang a {
    padding: 0.35rem 0.22rem;
    letter-spacing: 0.04em;
  }

  .header-cta {
    padding: 0.35rem 0.55rem;
    letter-spacing: 0.06em;
  }

  .header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    row-gap: 0.65rem;
  }

  .brand {
    flex: 1 1 100%;
    max-width: none;
  }

  .header-tools {
    margin-left: auto;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.35rem 1.25rem 1rem;
    background: rgba(250, 248, 245, 0.98);
    border-bottom: 1px solid var(--color-border);
  }

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

  .nav a {
    padding: 0.85rem 0;
    border-top: 1px solid var(--color-border-subtle);
    font-size: var(--fs-body);
    letter-spacing: 0.08em;
  }

  .hero,
  .about,
  .services,
  .experience,
  .contacts {
    grid-template-columns: 1fr;
  }

  .hero > figure,
  .hero > :not(figure),
  .hero > ol,
  .about > figure.portrait,
  .about > .about-copy,
  .services > h3,
  .services > ul,
  .experience > .section-lead,
  .experience > figure.press,
  .experience > ul,
  .contacts > figure.portrait,
  .contacts > .contact-main,
  .contacts > .requisites {
    grid-column: 1;
    grid-row: auto;
  }

  .hero > figure,
  .about > figure.portrait,
  .experience > figure.press,
  .contacts > figure {
    position: static;
  }

  .hero > figure img,
  .about > figure.portrait img,
  .experience > figure.press img,
  .contacts > figure.portrait img {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    max-height: 70vh;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  .experience > figure.press {
    max-width: 16rem;
  }

  .experience > figure.press img {
    max-height: 18rem;
  }

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

  .contacts > figure {
    order: 4;
    max-width: 22rem;
    margin-top: 1.5rem;
  }

  .hero > ol {
    align-self: start;
    margin-top: 1.25rem;
  }

  .hero > ol > li {
    width: auto;
    max-width: none;
  }

  .hero > figure {
    order: -1;
    max-width: none;
  }

  .hero figure img {
    width: 100%;
    max-height: 58vh;
    object-position: center 22%;
  }

  .about figure img {
    object-position: center 20%;
  }

  .about > figure {
    max-width: 22rem;
    margin-bottom: 0.5rem;
  }

  .hero-copy > ul:first-of-type,
  .contacts ul {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .hero-copy > ul > li,
  .contacts ul > li,
  .hero-copy > ul a,
  .contacts ul a,
  .hero-copy > ul a.icon-link,
  .contacts ul a.icon-link {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .services > ul {
    grid-template-columns: 1fr;
  }

  .hero-copy > ul a,
  .contacts ul a {
    width: 100%;
  }
}

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