﻿:root {
  --bg: #0f0f10;
  --bg-soft: #171718;
  --panel: #1f1f21;
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f5f4f1;
  --text-soft: #d4d0c9;
  --muted: #a7a39d;
  --accent: #cdb083;
  --accent-strong: #e8bd7b;
  --radius: 18px;
  --header-h: 88px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lato", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-dark {
  background: linear-gradient(180deg, var(--bg) 0%, #131314 100%);
}

.section-light {
  background: #f8f5ef;
  color: #121212;
}

.section-anchor {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* ── Clients slider ── */
.clients-slider {
  overflow: hidden;
  margin-top: -30px;
  margin-bottom: 40px;
  height: 60px;
}

.clients-slider.reveal.is-visible {
  opacity: 1;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  height: 100%;
  animation: slide-left 30s linear infinite;
}

.clients-track img {
  height: 60px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes slide-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.section-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--text-soft);
}

.section-light .section-heading p {
  color: #4d4d4d;
}

.section-kicker {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 700;
}

.section-light .section-kicker {
  color: #8f6e3c;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background-color 260ms ease, backdrop-filter 260ms ease, border-color 260ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  border-color: var(--line-soft);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand img {
  width: 190px;
  min-width: 190px;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

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

.nav-link {
  position: relative;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f1ede7;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  margin-inline: auto;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 220ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.submenu-toggle {
  display: none;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  padding: 0;
  place-items: center;
  cursor: pointer;
  color: var(--text);
}

.submenu-toggle span {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform 180ms ease;
}

.submenu {
  position: absolute;
  left: 0;
  top: calc(100% + 14px);
  min-width: 300px;
  background: rgba(10, 10, 10, 0.98);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 30;
}

.submenu-link {
  display: block;
  padding: 10px 12px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e4dfd8;
  border-radius: 8px;
}

.submenu-link:hover {
  background: rgba(205, 176, 131, 0.2);
  color: var(--accent-strong);
}

.nav-item.has-submenu:hover .submenu,
.nav-item.has-submenu:focus-within .submenu,
.nav-item.has-submenu.is-open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-cta {
  border: 1px solid rgba(205, 176, 131, 0.5);
  padding: 10px 15px;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--accent-strong);
  transition: background-color 200ms ease, color 200ms ease;
}

.header-cta:hover {
  background: var(--accent-strong);
  color: #101010;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
  place-items: center;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 3px auto;
  transition: transform 180ms ease, opacity 180ms ease;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
}

.hero-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 620ms ease, visibility 620ms ease;
  overflow: hidden;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 460px at 50% 0%, rgba(0, 0, 0, 0.15) 0%, transparent 74%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.64) 0%, rgba(8, 8, 8, 0.78) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding-top: var(--header-h);
}

.hero-content::before,
.hero-content::after {
  content: "";
  width: 1px;
  height: clamp(70px, 8vw, 110px);
  background: rgba(205, 176, 131, 0.9);
}

.hero-content::before {
  margin-bottom: 10px;
}

.hero-content::after {
  margin-top: 10px;
}

.hero-kicker {
  margin: 0;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent-strong);
}

.hero h1,
.hero h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.02;
  font-size: clamp(2.6rem, 7.8vw, 5.6rem);
  max-width: 860px;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
}

.hero-text {
  margin: 0;
  color: var(--text-soft);
  max-width: 670px;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  margin-top: 16px;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 220ms ease;
}

.btn-outline {
  border-color: rgba(205, 176, 131, 0.55);
  color: var(--accent-strong);
  background: rgba(0, 0, 0, 0.22);
}

.btn-outline:hover {
  background: var(--accent-strong);
  color: #101010;
}

.btn-solid {
  background: var(--accent-strong);
  color: #121212;
}

.btn-solid:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(7, 7, 7, 0.35);
  color: #fff;
  cursor: pointer;
  font-size: 1.45rem;
}

.hero-arrow-prev {
  left: 24px;
}

.hero-arrow-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.about-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 420px;
  border: 1px solid var(--line-soft);
  background: #0b0b0d;
}

.about-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 10%, rgba(0, 0, 0, 0.94) 100%);
}

.about-content {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 8, 9, 0.08) 0%, rgba(8, 8, 9, 0.72) 100%);
  backdrop-filter: blur(2px);
}

.about-content h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.28rem;
}

.about-content p {
  color: #dad6ce;
  margin: 12px 0 14px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.about-card:hover img {
  transform: scale(1.05);
}

.inline-link {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--accent-strong);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.15) 0%, rgba(12, 12, 12, 0.78) 85%),
    var(--bg-image);
  background-size: cover;
  background-position: center;
  color: #f8f8f8;
}

.service-card h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.36rem;
}

.service-card p {
  margin: 10px 0 14px;
  color: #e4e1da;
  flex-grow: 1;
}

.service-link {
  align-self: start;
  border: 1px solid rgba(232, 189, 123, 0.72);
  padding: 8px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: rgba(7, 7, 7, 0.34);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.service-link:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #141414;
}

.service-tag {
  align-self: start;
  border: 1px solid rgba(232, 189, 123, 0.6);
  padding: 6px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}

.filter-btn {
  border: 1px solid rgba(205, 176, 131, 0.5);
  background: transparent;
  color: var(--text);
  padding: 10px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #131313;
}

.portfolio-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 920px;
  margin: 0 auto;
}

.mosaic-item {
  appearance: none;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 0;
  background: #0f1012;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.mosaic-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.02) 50%, rgba(12, 12, 12, 0.36) 100%);
  pointer-events: none;
  z-index: 1;
}

.mosaic-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 320ms ease, filter 320ms ease;
}

.mosaic-item:hover {
  transform: translateY(-1px);
  border-color: rgba(232, 189, 123, 0.6);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.mosaic-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.mosaic-item:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.portfolio-pagination {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 920px;
  margin-inline: auto;
}

.page-btn,
.page-number {
  border: 1px solid rgba(205, 176, 131, 0.45);
  background: transparent;
  color: var(--text);
  min-width: 40px;
  height: 38px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.page-btn:hover,
.page-number:hover {
  border-color: var(--accent);
  background: rgba(205, 176, 131, 0.16);
  color: #fff;
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

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

.page-number.is-active {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #151515;
  font-weight: 700;
}

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

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line-soft);
  background: #101011;
  transition: transform 220ms ease;
}

.project-card.is-hidden {
  display: none;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.project-content {
  position: absolute;
  inset: auto 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.92) 90%);
  padding: 44px 18px 18px;
}

.project-type {
  margin: 0 0 8px;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.project-content h3 {
  margin: 0 0 14px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.18rem;
}

.project-link {
  border: 1px solid rgba(205, 176, 131, 0.5);
  background: transparent;
  color: var(--accent-strong);
  padding: 8px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-2px);
}

.jobs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.jobs-text h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.jobs-text p {
  color: #444;
  margin: 16px 0 22px;
}

.jobs-points {
  display: grid;
  gap: 14px;
}

.jobs-points article {
  background: #ffffff;
  border: 1px solid #e9e2d8;
  border-left: 3px solid #b7905e;
  border-radius: 12px;
  padding: 16px;
}

.jobs-points h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
}

.jobs-points p {
  margin: 8px 0 0;
  color: #444;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
}

.contact-info h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.contact-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text-soft);
}

.contact-list a {
  color: var(--accent-strong);
}

.contact-form {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: #dfdad1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #111214;
  color: #faf8f5;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(205, 176, 131, 0.18);
}

.form-note {
  min-height: 1.2em;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.site-footer {
  padding: 46px 0 20px;
  background: #09090b;
  border-top: 1px solid var(--line-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 26px;
}

.footer-logo {
  width: 220px;
}

.footer-grid h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.footer-grid a {
  color: #d8d3cb;
}

.footer-grid a:hover {
  color: var(--accent-strong);
}

.copyright {
  margin: 30px auto 0;
  text-align: center;
  color: #8f8c86;
  width: min(var(--container), calc(100% - 3rem));
  font-size: 0.84rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1300;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.72);
}

.modal-dialog {
  position: relative;
  width: min(1280px, calc(100% - 2rem));
  margin: min(6vh, 40px) auto;
  background: transparent;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  max-height: 90vh;
  display: block;
}

.modal-dialog img {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  background: #0b0b0c;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.modal-close {
  position: absolute;
  right: 10px;
  top: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(8, 8, 9, 0.75);
  color: #fff;
  cursor: pointer;
  font-size: 1.3rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 840px;
  }

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

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

@media (max-width: 980px) {
  :root {
    --header-h: 76px;
  }

  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-grid;
    order: 3;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: fixed;
    right: 0;
    top: var(--header-h);
    width: min(340px, 100%);
    height: calc(100vh - var(--header-h));
    background: rgba(10, 10, 10, 0.97);
    border-left: 1px solid var(--line-soft);
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 0;
    transform: translateX(100%);
    transition: transform 220ms ease;
    padding: 18px;
  }

  .nav-item {
    width: 100%;
    display: block;
  }

  body.menu-open .site-nav {
    transform: translateX(0);
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-item.has-submenu > .nav-link {
    width: calc(100% - 38px);
    border-bottom: 0;
  }

  .submenu-toggle {
    display: inline-grid;
    position: absolute;
    right: 0;
    top: 8px;
  }

  .nav-item.has-submenu.is-open .submenu-toggle span {
    transform: translateY(1px) rotate(-135deg);
  }

  .submenu {
    position: static;
    min-width: 0;
    border: 0;
    border-left: 1px solid rgba(205, 176, 131, 0.4);
    border-radius: 0;
    background: transparent;
    padding: 0 0 2px 12px;
    margin: -4px 0 10px;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    display: none;
  }

  .nav-item.has-submenu.is-open .submenu {
    display: block;
  }

  .submenu-link {
    padding: 8px 0;
    font-size: 0.72rem;
    color: #d8d3cb;
    border-radius: 0;
  }

  .nav-link::after {
    left: 0;
    margin-inline: 0;
    bottom: 8px;
  }

  .hero-arrow {
    display: none;
  }

  .services-grid,
  .jobs-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .modal-dialog {
    margin-top: 24px;
  }

  .modal-dialog img {
    max-height: 88vh;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 1.5rem));
  }

  .section {
    padding: 74px 0;
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(2.2rem, 11vw, 3.7rem);
  }

  .about-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    max-width: 100%;
  }

  .mosaic-item img {
    aspect-ratio: 4 / 3;
  }

  .portfolio-pagination {
    gap: 8px;
  }

  .page-btn,
  .page-number {
    min-width: 36px;
    height: 34px;
    font-size: 0.72rem;
  }

  .about-card {
    min-height: 360px;
  }

  .hero-kicker {
    letter-spacing: 0.16em;
  }
}
