:root {
  color-scheme: dark;
  --ink: #0f2b20;
  --ink-soft: #173d2b;
  --forest: #22513b;
  --forest-light: #347255;
  --green: #7da46a;
  --green-bright: #a7c77b;
  --green-pale: #d2e1b8;
  --sage: #dce7d6;
  --sage-light: #eef4ea;
  --paper: #f6faf3;
  --white: #f7fbf5;
  --muted-light: #c8d8c3;
  --muted-dark: #5d7565;
  --line-dark: rgba(215, 233, 211, 0.18);
  --line-light: rgba(23, 61, 45, 0.17);
  --shadow: 0 28px 70px rgba(5, 28, 19, 0.32);
  --radius: 24px;
  --display: "Oswald", Impact, sans-serif;
  --body: "Manrope", Arial, sans-serif;
  --script: "Caveat", cursive;
  --page: min(1180px, calc(100% - 48px));
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.shell {
  width: var(--page);
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--green-pale);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "✦";
  color: var(--green);
  font-size: 0.88rem;
}

.eyebrow--dark {
  color: var(--forest);
}

.eyebrow--dark::before,
.eyebrow--dark::after {
  color: var(--green);
}

/*
.section-title {
  max-width: 900px;
  margin-bottom: 28px;
  color: inherit;
  font-family: var(--display);
  font-size: clamp(3.15rem, 7.4vw, 7.1rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-transform: uppercase;
} */

.section-title {
  max-width: 1200px;
  margin-bottom: 28px;
  color: inherit;
  font-family: var(--display);
  font-size: clamp(2.85rem, 6.4vw, 6.9rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-transform: uppercase;
  white-space: pre-line;
}


.section-title span {
  color: var(--green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 14px 20px 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  box-shadow: 0 14px 28px rgba(47, 105, 72, 0.26);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.1;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button::after {
  content: "→";
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1rem;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(47, 105, 72, 0.36);
}

.button:focus-visible,
.site-nav a:focus-visible,
.brand:focus-visible,
.work-card:focus-visible,
.inline-link:focus-visible {
  outline: 3px solid var(--green-pale);
  outline-offset: 4px;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 22px 0;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  width: var(--page);
  margin-inline: auto;
}

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

.brand__mark {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: var(--green-bright);
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.05em;
}

.brand__text {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand__text strong {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand__text small {
  color: var(--muted-light);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
}

.site-nav a {
  position: relative;
  color: rgba(247, 251, 245, 0.82);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-contact {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease;
}

.header-contact:hover,
.header-contact:focus-visible {
  border-color: var(--green);
  background: rgba(125, 164, 106, 0.13);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 860px;
  overflow: hidden;
  padding: 152px 0 168px;
  background:
    radial-gradient(circle at 73% 34%, rgba(125, 164, 106, 0.34), transparent 31%),
    radial-gradient(circle at 42% 62%, rgba(40, 94, 65, 0.32), transparent 34%),
    linear-gradient(135deg, #0c241a 0%, #204b36 55%, #0f2b20 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.28;
  background-image:
    repeating-linear-gradient(116deg, transparent 0 74px, rgba(255, 255, 255, 0.027) 75px 76px),
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.07) 0 1px, transparent 2px);
  background-size: auto, 31px 31px;
}

.hero__ring {
  position: absolute;
  z-index: -1;
  width: 560px;
  aspect-ratio: 1;
  top: 152px;
  right: -150px;
  border: 2px solid rgba(167, 199, 123, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 54px rgba(167, 199, 123, 0.045),
    0 0 0 118px rgba(167, 199, 123, 0.028);
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(370px, 0.96fr);
  align-items: center;
  gap: clamp(20px, 4vw, 74px);
  width: var(--page);
  margin-inline: auto;
}

.hero__copy {
  position: relative;
  z-index: 3;
  padding-top: 18px;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--sage);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__kicker::before,
.hero__kicker::after {
  content: "✦";
  color: var(--green);
  font-size: 0.8rem;
}

.hero h1 {
  position: relative;
  max-width: 720px;
  margin: 0 0 30px;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(5.5rem, 9.2vw, 9.2rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.78;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(5, 28, 19, 0.45), 0 14px 50px rgba(5, 28, 19, 0.5);
}

.hero h1 span {
  display: block;
}

.hero h1 em {
  position: absolute;
  right: 7%;
  bottom: -1.1rem;
  color: var(--green-bright);
  font-family: var(--script);
  font-size: clamp(4.2rem, 7vw, 7rem);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.8;
  text-transform: none;
  transform: rotate(-5deg);
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -10px;
  left: -4px;
  height: 19px;
  border-top: 4px solid currentColor;
  border-radius: 50%;
  transform: rotate(-2deg);
}

.hero__tagline {
  max-width: 560px;
  margin: 50px 0 26px;
  color: rgba(247, 251, 245, 0.78);
  font-size: clamp(0.96rem, 1.35vw, 1.1rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero__small-link {
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-decoration-color: rgba(219, 232, 216, 0.38);
  text-underline-offset: 6px;
  text-transform: uppercase;
}

.hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 590px;
}

.hero__visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 2% 4% 0 5%;
  border-radius: 50% 50% 22px 22px / 30% 30% 14px 14px;
  background:
    linear-gradient(90deg, rgba(15, 43, 32, 0.48), transparent 28%),
    linear-gradient(0deg, #183d2c 0%, transparent 30%),
    linear-gradient(135deg, transparent 48%, rgba(125, 164, 106, 0.24));
  pointer-events: none;
}

.hero__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 48% 48% 24px 24px / 27% 27% 18px 18px;
  background: #2b6247;
  box-shadow: var(--shadow);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(0.82) contrast(1.04);
}

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 43, 32, 0.35), transparent 30%),
    linear-gradient(0deg, rgba(13, 39, 28, 0.65), transparent 35%),
    radial-gradient(circle at 76% 36%, transparent 0 24%, rgba(52, 100, 70, 0.12) 55%, rgba(16, 46, 33, 0.4) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  z-index: 3;
  right: -26px;
  bottom: 75px;
  display: grid;
  width: 112px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(17, 48, 35, 0.66);
  box-shadow: 0 18px 50px rgba(6, 24, 16, 0.32);
  color: var(--sage);
  font-family: var(--display);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  transform: rotate(9deg);
}

.hero__badge strong {
  display: block;
  color: var(--green-bright);
  font-size: 1.85rem;
  letter-spacing: -0.05em;
}

.hero__spark {
  position: absolute;
  z-index: 3;
  top: 15%;
  right: -3%;
  color: var(--green-bright);
  font-size: 4rem;
  line-height: 1;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.32));
}

.hero-strip {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateY(44%);
}

.hero-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: var(--page);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(215, 233, 211, 0.2);
  border-radius: 22px;
  background: rgba(18, 53, 38, 0.9);
  box-shadow: 0 24px 50px rgba(7, 27, 18, 0.34);
  backdrop-filter: blur(18px);
}

.hero-fact {
  min-height: 220px;
  padding: 32px 22px 42px;
  text-align: center;
}

.hero-fact + .hero-fact {
  border-left: 1px solid var(--line-dark);
}

.hero-fact strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-bright);
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-fact h2 {
  margin-bottom: 4px;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.18;
  text-transform: uppercase;
}

.hero-fact p {
  margin-bottom: 0;
  color: var(--muted-light);
  font-size: 0.68rem;
  line-height: 1.4;
}

/* About */
.about {
  position: relative;
  overflow: hidden;
  padding: 170px 0 112px;
  background:
    radial-gradient(circle at 83% 68%, rgba(125, 164, 106, 0.25), transparent 22%),
    linear-gradient(145deg, var(--sage-light), var(--sage));
  color: var(--ink);
}

.about::after {
  content: "система";
  position: absolute;
  right: -35px;
  bottom: 25px;
  color: rgba(125, 164, 106, 0.18);
  font-family: var(--script);
  font-size: clamp(8rem, 18vw, 17rem);
  font-weight: 600;
  line-height: 0.7;
  transform: rotate(-11deg);
  pointer-events: none;
}

.about__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  align-items: start;
  gap: clamp(46px, 7vw, 98px);
}

.about__lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: #31543f;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.85;
}

.about__quote {
  position: relative;
  margin: 38px 0 0;
  padding: 25px 28px 25px 76px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  color: var(--forest);
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.18;
  text-transform: uppercase;
}

.about__quote::before {
  content: "“";
  position: absolute;
  top: 7px;
  left: 8px;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 5.5rem;
  line-height: 1;
}

.direction-panel {
  padding: 36px;
  border: 1px solid rgba(218, 236, 215, 0.09);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 0, rgba(125, 164, 106, 0.2), transparent 31%),
    linear-gradient(145deg, #193f2d, #26583f);
  box-shadow: var(--shadow);
  color: var(--white);
  transform: rotate(1.2deg);
}

.direction-panel__label {
  margin-bottom: 24px;
  color: var(--green-bright);
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.direction {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 19px 0;
  border-top: 1px solid var(--line-dark);
}

.direction:first-of-type {
  border-top-color: rgba(125, 164, 106, 0.42);
}

.direction__number {
  color: var(--green-bright);
  font-family: var(--display);
  font-size: 1.18rem;
}

.direction h3 {
  margin-bottom: 7px;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.direction p {
  margin-bottom: 0;
  color: var(--muted-light);
  font-size: 0.83rem;
  line-height: 1.65;
}

/* Work */
.work {
  position: relative;
  padding: 112px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 40%, rgba(106, 149, 91, 0.14), transparent 25%),
    linear-gradient(180deg, #0e281e, #1e4733 48%, #133326);
}

.work::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: repeating-linear-gradient(155deg, transparent 0 88px, rgba(255, 255, 255, 0.04) 89px 90px);
  pointer-events: none;
}

.work__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
}

.work__top .section-title {
  margin-bottom: 0;
}

.work__aside {
  max-width: 320px;
  margin-bottom: 6px;
  color: var(--muted-light);
  font-size: 0.9rem;
}

.work-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.work-card {
  position: relative;
  display: flex;
  min-height: 340px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 5%, rgba(125, 164, 106, 0.2), transparent 26%),
    rgba(34, 82, 57, 0.72);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.work-card:nth-child(1),
.work-card:nth-child(4) {
  grid-column: span 7;
}

.work-card:nth-child(2),
.work-card:nth-child(3) {
  grid-column: span 5;
}

.work-card:nth-child(5) {
  grid-column: span 12;
  min-height: 255px;
}

.work-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  top: -84px;
  right: -72px;
  border: 1px solid rgba(210, 225, 184, 0.21);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(210, 225, 184, 0.03), 0 0 0 57px rgba(210, 225, 184, 0.022);
}

.work-card:hover,
.work-card:focus-visible {
  z-index: 2;
  border-color: rgba(167, 199, 123, 0.7);
  box-shadow: 0 24px 45px rgba(4, 20, 13, 0.32);
  transform: translateY(-5px);
}

.work-card__number {
  position: absolute;
  top: 25px;
  left: 28px;
  color: var(--green-bright);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.work-card h3 {
  max-width: 700px;
  margin-bottom: 13px;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-transform: uppercase;
}

.work-card p {
  max-width: 650px;
  margin-bottom: 22px;
  color: var(--muted-light);
  font-size: 0.87rem;
  line-height: 1.7;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: var(--green-pale);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.inline-link::after {
  content: "↗";
  font-size: 1rem;
}

/* Services */
.services {
  position: relative;
  overflow: hidden;
  padding: 112px 0 124px;
  background:
    radial-gradient(circle at 95% 80%, rgba(125, 164, 106, 0.3), transparent 29%),
    linear-gradient(140deg, var(--sage-light), #d8e5d2);
  color: var(--ink);
}

.services__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
  align-items: start;
  gap: clamp(42px, 7vw, 96px);
}

.services__list {
  margin-top: 38px;
  border-top: 1px solid var(--line-light);
}

.service {
  display: grid;
  grid-template-columns: 52px minmax(190px, 0.75fr) minmax(240px, 1.25fr);
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-light);
}

.service__number {
  color: var(--green);
  font-family: var(--display);
  font-size: 1rem;
}

.service h3 {
  margin-bottom: 0;
  color: var(--forest);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: uppercase;
}

.service p {
  margin-bottom: 0;
  color: #526f5d;
  font-size: 0.84rem;
  line-height: 1.65;
}

.services-card {
  position: sticky;
  top: 28px;
  margin-top: 74px;
  padding: 38px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0, rgba(125, 164, 106, 0.21), transparent 28%),
    linear-gradient(145deg, #183d2c, #22513b);
  box-shadow: var(--shadow);
  color: var(--white);
  transform: rotate(-1deg);
}

.services-card__small {
  margin-bottom: 19px;
  color: var(--green-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.services-card h3 {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.services-card > p:not(.services-card__small) {
  margin-bottom: 28px;
  color: var(--muted-light);
  font-size: 0.9rem;
}

.services-card__points {
  display: grid;
  gap: 0;
  margin-bottom: 28px;
}

.services-card__points span {
  padding: 13px 0;
  border-top: 1px solid var(--line-dark);
  color: var(--sage);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.services-card__points span::before {
  content: "✦";
  margin-right: 10px;
  color: var(--green-bright);
}

/* Quick tasks */
.quick {
  position: relative;
  padding: 82px 0;
  background:
    linear-gradient(rgba(12, 36, 26, 0.91), rgba(12, 36, 26, 0.91)),
    url("https://portfolio-liziko.vercel.app/images/footer-1280.jpg") center / cover;
}

.quick::before,
.quick::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 199, 123, 0.5));
}

.quick::before {
  left: 0;
}

.quick::after {
  right: 0;
  transform: scaleX(-1);
}

.quick__heading {
  margin-bottom: 40px;
  text-align: center;
}

.quick__heading .eyebrow {
  justify-content: center;
  margin-bottom: 13px;
}

.quick__heading h2 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.5vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.quick__heading p {
  margin-bottom: 0;
  color: var(--muted-light);
  font-size: 0.9rem;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.quick-item {
  position: relative;
  min-height: 155px;
  padding: 26px 22px 24px;
  text-align: center;
}

.quick-item + .quick-item {
  border-left: 1px solid var(--line-dark);
}

.quick-item__icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  place-items: center;
  border: 1px solid rgba(167, 199, 123, 0.5);
  border-radius: 50%;
  color: var(--green-bright);
  font-family: var(--display);
  font-size: 1rem;
}

.quick-item p {
  margin-bottom: 0;
  color: var(--sage);
  font-size: 0.78rem;
  line-height: 1.55;
}

/* Audience */
.audience {
  padding: 112px 0 122px;
  background:
    radial-gradient(circle at 30% 20%, rgba(119, 160, 103, 0.16), transparent 28%),
    linear-gradient(180deg, #0f2b20, #204b36);
}

/*
.audience__heading {
  display: grid;
  grid-template-columns: minmax(290px, 0.7fr) minmax(0, 1.3fr);
  align-items: end;
  gap: 56px;
  margin-bottom: 45px;
} */


.audience__heading {
  display: grid;
  grid-template-columns: 1fr 320px; /* Або minmax(500px, 1fr) auto */
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 45px;
}

.audience__heading .section-title {
  margin-bottom: 0;
}

.audience__intro {
  max-width: 320px;
  margin: 0 0 8px auto;
  color: var(--muted-light);
  font-size: 0.94rem;
}

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

.audience-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  padding: 31px;
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    #24553d;
}

.audience-card::after {
  content: "“";
  position: absolute;
  right: 22px;
  bottom: -34px;
  color: rgba(167, 199, 123, 0.12);
  font-family: Georgia, serif;
  font-size: 12rem;
  line-height: 1;
}

.audience-card__top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 54px;
}

.audience-card__number {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--display);
  font-size: 1rem;
}

.audience-card h3 {
  margin-bottom: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-transform: uppercase;
}

.audience-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--sage);
  font-size: 1.02rem;
  line-height: 1.7;
}

.audience-card__stars {
  position: absolute;
  bottom: 24px;
  left: 30px;
  color: var(--green-bright);
  font-size: 0.83rem;
  letter-spacing: 0.16em;
}

/* Cooperation */
.cooperation {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 112px 0;
  background:
    linear-gradient(90deg, rgba(15, 43, 32, 0.98) 0%, rgba(23, 61, 45, 0.9) 49%, rgba(18, 53, 38, 0.46) 100%),
    url("https://portfolio-liziko.vercel.app/images/liziko-01.webp") 85% 38% / min(54vw, 760px) auto no-repeat,
    #173a29;
}

.cooperation::after {
  content: "ваш результат";
  position: absolute;
  z-index: -1;
  right: 5%;
  bottom: 8%;
  color: rgba(167, 199, 123, 0.62);
  font-family: var(--script);
  font-size: clamp(4.5rem, 10vw, 10rem);
  font-weight: 600;
  line-height: 0.72;
  transform: rotate(-9deg);
  text-align: center;
}

.cooperation__copy {
  position: relative;
  z-index: 2;
  max-width: 670px;
}

.cooperation__copy .section-title {
  font-size: clamp(3.8rem, 7.5vw, 7.4rem);
}

.cooperation__text {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(247, 251, 245, 0.78);
  font-size: 1rem;
  line-height: 1.85;
}

.cooperation__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 33px;
  padding: 0;
  list-style: none;
}

.cooperation__proof li {
  padding: 8px 13px;
  border: 1px solid rgba(225, 240, 223, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 700;
}

/* Footer */
.site-footer {
  padding: 27px 0;
  border-top: 1px solid var(--line-dark);
  background: #081a12;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--page);
  margin-inline: auto;
  color: rgba(247, 251, 245, 0.55);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.site-footer strong {
  color: var(--sage);
}

.site-footer a {
  color: var(--green-pale);
  font-weight: 800;
  text-transform: uppercase;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Tablet */
@media (max-width: 980px) {
  :root {
    --page: min(100% - 36px, 760px);
  }

  .site-nav {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .hero {
    min-height: auto;
    padding-bottom: 170px;
  }

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

  .hero__copy {
    max-width: 700px;
  }

  .hero h1 {
    font-size: clamp(5.3rem, 14vw, 8rem);
  }

  .hero__visual {
    min-height: 620px;
  }

  .hero__photo {
    inset: 0 7%;
  }

  .hero__badge {
    right: 2%;
  }

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

  .hero-fact:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .hero-fact:nth-child(4) {
    border-top: 1px solid var(--line-dark);
  }

  .about {
    padding-top: 220px;
  }

  .about__layout,
  .services__layout {
    grid-template-columns: 1fr;
  }

  .direction-panel,
  .services-card {
    max-width: 680px;
    transform: none;
  }

  .services-card {
    position: relative;
    top: auto;
    margin-top: 0;
  }

  .work-card:nth-child(n) {
    grid-column: span 6;
  }

  .work-card:nth-child(5) {
    grid-column: span 12;
  }

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

  .quick-item:nth-child(3) {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .quick-item:nth-child(4) {
    border-top: 1px solid var(--line-dark);
  }

  .audience__heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .audience__intro {
    max-width: 630px;
    margin: 0;
  }

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

  .audience-card {
    min-height: 270px;
  }

  .cooperation {
    background:
      linear-gradient(90deg, rgba(15, 43, 32, 0.98) 0%, rgba(23, 61, 45, 0.9) 62%, rgba(18, 53, 38, 0.58) 100%),
      url("https://portfolio-liziko.vercel.app/images/liziko-01.webp") 100% 38% / auto 100% no-repeat,
      #173a29;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --page: calc(100% - 28px);
    --radius: 18px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    padding: 14px 0;
  }

  .site-header__inner {
    gap: 10px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand__text small {
    display: none;
  }

  .brand__text strong {
    font-size: 0.84rem;
  }

  .header-contact {
    padding: 9px 12px;
    font-size: 0.64rem;
  }

  .hero {
    min-height: 800px;
    padding: 102px 0 250px;
    background: #123125;
  }

  .hero__layout {
    display: block;
  }

  .hero__visual {
    position: absolute;
    z-index: -1;
    inset: 72px 0 0;
    min-height: 0;
  }

  .hero__photo {
    inset: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    background: #123125;
  }

  .hero__visual::before {
    display: none;
  }

  .hero__photo::after {
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(11, 34, 24, 0.2) 0%, rgba(11, 34, 24, 0.4) 40%, rgba(11, 34, 24, 0.85) 80%, #0f2b20 100%),
      linear-gradient(90deg, rgba(11, 34, 24, 0.5), transparent 70%);
    mix-blend-mode: normal;
  }

  .hero__ring,
  .hero__badge,
  .hero__spark {
    display: none;
  }

  .hero__copy {
    display: flex;
    min-height: 520px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 0 24px;
  }

  .hero__kicker {
    margin-bottom: 9px;
    font-size: 0.61rem;
  }

  .hero h1 {
    max-width: 94%;
    margin-bottom: 20px;
    font-size: clamp(4.15rem, 19vw, 6rem);
    line-height: 0.8;
  }

  .hero h1 em {
    right: 0;
    bottom: -2.8rem;
    font-size: clamp(3.5rem, 17vw, 5.3rem);
    transform: rotate(-5deg) translateY(8px);
  }

  .hero h1 em::after {
    bottom: -7px;
    border-top-width: 3px;
  }

  .hero__tagline {
    margin: 37px 0 18px;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .button {
    min-height: 48px;
    padding: 11px 16px 11px 20px;
    font-size: 0.74rem;
  }

  .hero-strip {
    transform: translateY(0);
  }

  .hero-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 28px);
    border-radius: 17px;
  }

  .hero-fact {
    min-height: 112px;
    padding: 17px 12px;
  }

  .hero-fact strong {
    font-size: 1.25rem;
  }

  .hero-fact h2 {
    font-size: 0.86rem;
  }

  .hero-fact p {
    font-size: 0.6rem;
  }

  .about,
  .work,
  .services,
  .audience,
  .cooperation {
    padding: 82px 0;
  }

  .about {
    padding-top: 84px;
  }

  .section-title {
    font-size: clamp(2.9rem, 15vw, 4.7rem);
  }

  .about__layout,
  .services__layout {
    gap: 34px;
  }

  .about__lead {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .about__quote {
    padding: 22px 12px 22px 52px;
    font-size: 1.5rem;
  }

  .about__quote::before {
    left: 2px;
    font-size: 4.5rem;
  }

  .direction-panel,
  .services-card {
    padding: 26px 22px;
  }

  .direction {
    grid-template-columns: 34px 1fr;
    gap: 10px;
  }

  .work__top {
    display: block;
  }

  .work__aside {
    margin-top: 22px;
  }

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

  .work-card:nth-child(n) {
    grid-column: auto;
    min-height: 310px;
    padding: 25px 22px;
  }

  .work-card h3 {
    font-size: 2.25rem;
  }

  .service {
    grid-template-columns: 38px 1fr;
    gap: 8px 12px;
  }

  .service p {
    grid-column: 2;
  }

  .services-card h3 {
    font-size: 2.75rem;
  }

  .quick {
    padding: 70px 0;
  }

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

  .quick-item {
    display: grid;
    min-height: 0;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 15px;
    padding: 18px 6px;
    text-align: left;
  }

  .quick-item + .quick-item,
  .quick-item:nth-child(3),
  .quick-item:nth-child(4) {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .quick-item__icon {
    margin: 0;
  }

  .audience__heading {
    margin-bottom: 32px;
  }

  .audience-card {
    min-height: 286px;
    padding: 25px 22px;
  }

  .audience-card__top {
    margin-bottom: 40px;
  }

  .cooperation {
    padding-bottom: 360px;
    background:
      linear-gradient(180deg, rgba(15, 43, 32, 1) 0%, rgba(20, 58, 42, 0.93) 54%, rgba(20, 58, 42, 0.25) 100%),
      url("https://portfolio-liziko.vercel.app/images/liziko-01.webp") 58% 100% / auto 52% no-repeat,
      #173a29;
  }

  .cooperation::after {
    right: 1%;
    bottom: 7%;
    font-size: 4.2rem;
  }

  .cooperation__copy .section-title {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
