:root {
  --bg: #071019;
  --bg-deep: #03070c;
  --surface: rgba(9, 20, 30, 0.82);
  --surface-strong: rgba(10, 22, 33, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.05);
  --line: rgba(181, 211, 232, 0.14);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #f7f6f2;
  --muted: #b9c6cf;
  --accent: #d2a566;
  --accent-strong: #f1c58c;
  --accent-soft: rgba(210, 165, 102, 0.16);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --radius-lg: 32px;
  --radius-md: 22px;
  --container: min(1180px, calc(100% - 1.5rem));
  --font-size-base: 100%;
  --header-height: 5.25rem;
}

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

html {
  font-size: var(--font-size-base);
  -webkit-text-size-adjust: 100%;
}

html.motion-enabled {
  scroll-behavior: smooth;
}

section[id], main[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Heebo", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 16%, rgba(241, 197, 140, 0.16), transparent 18rem),
    radial-gradient(circle at 84% 10%, rgba(76, 126, 163, 0.18), transparent 20rem),
    linear-gradient(180deg, #08131d 0%, #060d15 48%, #04090f 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}

body.nav-open {
  overflow: hidden;
}

body.cookie-banner-open .accessibility-toggle {
  bottom: 12rem;
}

body.accessibility-high-contrast {
  --surface: rgba(0, 0, 0, 0.98);
  --surface-strong: rgba(0, 0, 0, 0.98);
  --surface-soft: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.34);
  --line-strong: rgba(255, 255, 255, 0.5);
  --text: #fff;
  --muted: #fff;
  --accent: #ffd84d;
  --accent-strong: #ffe992;
  background: #000;
}

body.accessibility-readable-font {
  font-family: Arial, sans-serif;
}

body.accessibility-underline-links a {
  text-decoration: underline !important;
}

body.accessibility-stop-motion *,
body.accessibility-stop-motion *::before,
body.accessibility-stop-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

img {
  max-width: 100%;
}

kbd {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-family: "Manrope", sans-serif;
  font-size: 0.92em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 70;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  color: #000;
  background: #fff;
  transform: translateY(-200%);
}

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

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at center, rgba(210, 165, 102, 0.18), transparent 18rem),
    linear-gradient(180deg, rgba(2, 6, 10, 0.92), rgba(2, 6, 10, 1));
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.intro-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.intro-screen__content {
  text-align: center;
}

.intro-screen__logo {
  width: min(10rem, 34vw);
  margin-bottom: 1rem;
}

.intro-screen__eyebrow,
.brand__eyebrow,
.section-tag,
.cinematic-card__label,
.about__panel-label {
  display: inline-block;
  font-family: "Manrope", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.section-tag,
.about .section-tag,
.about__panel-label,
.about .about__panel-label,
.cinematic-card__label {
  font-family: "Heebo", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: normal;
}

.intro-screen__title {
  margin: 1rem 0 0.45rem;
  font-size: clamp(2.8rem, 12vw, 5.6rem);
  line-height: 0.92;
}

.intro-screen__subtitle {
  margin: 0;
  color: var(--muted);
}

.site-shell {
  position: relative;
  isolation: isolate;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.site-shell::before {
  inset: 0 auto auto 0;
  width: min(42rem, 72vw);
  height: 42rem;
  background: radial-gradient(circle, rgba(210, 165, 102, 0.08), transparent 68%);
}

.site-shell::after {
  top: 30rem;
  left: 0;
  right: 0;
  height: 42rem;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02), transparent);
}

.site-shell.is-ready {
  opacity: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-height);
  background: rgba(4, 10, 15, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand__logo {
  width: 3rem;
  height: auto;
  flex-shrink: 0;
}

.brand span {
  display: block;
  min-width: 0;
}

.brand__title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  display: grid;
  gap: 0.5rem;
  padding: 1rem 0.75rem 1.25rem;
  background: rgba(3, 8, 13, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.75rem);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.main-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav a,
.footer-nav a {
  color: var(--muted);
}

.main-nav a {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-toggle,
.call-chip,
.button,
.accessibility-toggle,
.accessibility-actions button {
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-toggle__lines,
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
  content: "";
}

.nav-toggle__lines {
  position: relative;
}

.nav-toggle__lines::before {
  position: absolute;
  transform: translateY(-0.35rem);
}

.nav-toggle__lines::after {
  position: absolute;
  transform: translateY(0.35rem);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::after {
  transform: rotate(-45deg);
}

.call-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.78rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  font-weight: 700;
  white-space: nowrap;
}

.call-chip__icon {
  display: none;
}

.hero {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.75rem) 0 2.5rem;
  overflow: clip;
}

.hero__backdrop,
.hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__backdrop {
  background:
    linear-gradient(90deg, rgba(3, 9, 14, 0.94) 6%, rgba(3, 9, 14, 0.72) 46%, rgba(3, 9, 14, 0.92) 100%),
    url("assets/banner-web1.png") center/cover no-repeat;
  transform: scale(1.02);
}

.hero__ambient {
  background:
    radial-gradient(circle at 18% 28%, rgba(210, 165, 102, 0.22), transparent 18rem),
    radial-gradient(circle at 74% 24%, rgba(87, 143, 182, 0.16), transparent 20rem);
  opacity: 0.9;
}

.hero__grid,
.about__grid,
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
}

.hero__content,
.hero__card,
.hero__figure {
  position: relative;
  z-index: 1;
}

.hero__content {
  padding-top: 0.5rem;
}

.hero h1,
.section-heading h2,
.about h2,
.contact h2,
.legal-page h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.45rem, 8.2vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.hero h1 span {
  display: block;
  color: var(--accent-strong);
}

.hero__lead,
.about p,
.contact p,
.service-card p,
.timeline__item p,
.cinematic-card p,
.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.hero__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 2rem 0 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.95rem 1.45rem;
  font-weight: 700;
}

.button--primary {
  color: #081117;
  background: linear-gradient(135deg, #efc98e, #b57b33);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

.hero__highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__highlights li {
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #deebf2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cinematic-card,
.service-card,
.about__panel,
.timeline__item,
.contact-card,
.legal-page__inner,
.accessibility-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cinematic-card,
.service-card,
.about__panel,
.timeline__item,
.contact-card {
  contain: paint;
}

.cinematic-card {
  position: relative;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 48%, rgba(0, 0, 0, 0.08)),
    var(--surface-strong);
}

.cinematic-card::after {
  content: "";
  position: absolute;
  inset: auto 1.4rem 1.4rem auto;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 165, 102, 0.14), transparent 70%);
  pointer-events: none;
}

.cinematic-card__line {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
}

.cinematic-card h2 {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.7rem;
}

.stats-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.stats-grid article {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.stats-grid span {
  color: var(--muted);
}

.hero__figure {
  display: flex;
  justify-content: center;
}

.hero__figure-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(8, 20, 29, 0.76);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.hero__figure-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(241, 197, 140, 0.12), transparent 44%),
    linear-gradient(180deg, transparent 52%, rgba(3, 8, 13, 0.4));
  pointer-events: none;
}

.hero__figure-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.hero__figure-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem 0.95rem;
  border-radius: 1rem;
  background: rgba(4, 10, 15, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__figure-caption span {
  font-family: "Manrope", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.hero__figure-caption strong {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
}

.section {
  padding: 3rem 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 840px;
}

.section--muted {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.025), transparent);
}

.section--accent {
  padding-bottom: 4.25rem;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 1.5rem;
}

.projects__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

.projects__content,
.projects__panel {
  position: relative;
}

.projects__panel {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.projects__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.projects__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.projects-map-shell {
  position: relative;
  overflow: hidden;
  min-height: 21rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(210, 165, 102, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(5, 12, 19, 0.96), rgba(8, 18, 28, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.projects-map-shell > .projects-map {
  position: absolute;
  inset: 0;
}

.projects-map .mapboxgl-popup-content {
  background: #fff;
  color: #071019;
  font-family: "Heebo", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  direction: rtl;
  text-align: right;
  padding: 1.25rem 1.5rem 1rem;
}

.projects-map .mapboxgl-popup-close-button {
  color: #071019;
}

.projects-map__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(3, 9, 14, 0.4), rgba(3, 9, 14, 0.68)),
    radial-gradient(circle at center, rgba(210, 165, 102, 0.12), transparent 44%);
}

.projects-map-shell.is-active .projects-map__placeholder {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.cards-grid,
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service-card,
.timeline__item {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.service-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    var(--surface);
}

.service-card__index {
  margin: 0 0 1rem;
  font-family: "Manrope", sans-serif;
  color: rgba(241, 197, 140, 0.86);
  letter-spacing: 0.18em;
}

.service-card h3,
.timeline__item h3,
.legal-page h2 {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
}

.about__panel {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about__panel-image {
  width: 100%;
  height: 10rem;
  margin: 0.8rem 0 1rem;
  object-fit: cover;
  border-radius: 18px;
  opacity: 0.84;
}

.about__panel ul,
.legal-page ul {
  margin: 1rem 0 0;
  padding-right: 1.25rem;
}

.about__quote {
  margin-top: 1.4rem;
  padding: 1.1rem 1.2rem;
  border-right: 2px solid rgba(241, 197, 140, 0.6);
  border-radius: 0 1rem 1rem 0;
  background: rgba(255, 255, 255, 0.04);
}

.about__quote p,
.about__panel li,
.legal-page li {
  margin-bottom: 0.85rem;
}

.about__quote p {
  margin: 0;
  color: #edf2f6;
}

.timeline__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.contact-card {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(241, 197, 140, 0.14), rgba(255, 255, 255, 0.02)),
    rgba(11, 27, 39, 0.88);
}

.contact-card h2 {
  margin: 0 0 0.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  width: 100%;
  font-size: clamp(2.45rem, 7vw, 4rem);
  line-height: 1.1;
  color: var(--accent-strong);
}

.contact-card a {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-card a[href^="tel:"] {
  direction: ltr;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.whatsapp-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  color: #25d366;
  flex-shrink: 0;
}

.whatsapp-link__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.site-footer {
  padding: 1.4rem 0 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  content-visibility: auto;
  contain-intrinsic-size: 1px 180px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__brand {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.site-credit {
  margin-top: 0.9rem !important;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-credit a {
  color: var(--accent-strong);
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  width: 100%;
}

.cookie-banner {
  position: fixed;
  right: 0.75rem;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 55;
}

.cookie-banner__content {
  max-height: calc(100dvh - 1.5rem);
  overflow-y: auto;
  padding: 1.2rem;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(241, 197, 140, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(6, 14, 21, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
}

.cookie-banner__eyebrow {
  margin: 0 0 0.45rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.cookie-banner h2 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cookie-banner__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cookie-banner__button {
  min-height: 3rem;
}

.cookie-banner .button--ghost {
  color: var(--text);
}

.cookie-settings-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: start;
  cursor: pointer;
}

.cookie-banner__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.accessibility-toggle {
  position: fixed;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 45;
  min-height: 2.9rem;
  padding: 0.85rem 1.2rem;
  background: linear-gradient(135deg, #f3d7ab, #c28c43);
  color: #111;
  font-weight: 800;
}

.accessibility-panel {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 4.8rem;
  z-index: 46;
  width: auto;
  padding: 1.1rem;
  border-radius: 24px;
}

.accessibility-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.accessibility-panel__header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.accessibility-panel__close {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.accessibility-panel__text {
  margin: 0.7rem 0 1rem;
  color: var(--muted);
}

.accessibility-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.accessibility-actions button {
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.accessibility-panel__link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent-strong);
}

.legal-page-body {
  background:
    radial-gradient(circle at top right, rgba(199, 155, 87, 0.12), transparent 20%),
    linear-gradient(180deg, #07111a, #0b1a25);
}

.legal-page {
  padding: 3rem 0 6rem;
}

.legal-page__inner {
  padding: 1.5rem;
  border-radius: 24px;
}

.legal-page section + section {
  margin-top: 1.6rem;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

@media all {
  html.motion-enabled [data-reveal] {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.55s ease, transform 0.55s ease;
    will-change: opacity, transform;
  }

  html.motion-enabled [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  html.motion-enabled [data-reveal="delay-1"] {
    transition-delay: 0.08s;
  }

  html.motion-enabled [data-reveal="delay-2"] {
    transition-delay: 0.16s;
  }
}

/* Touch screens use visible entrance effects and an ambient hero glow. */
@media (max-width: 959px) {
  html.motion-enabled [data-reveal] {
    transform: translateY(0.875rem);
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    will-change: auto;
  }

  html.motion-enabled [data-reveal="delay-1"] {
    transition-delay: 0s;
  }

  html.motion-enabled [data-reveal="delay-2"] {
    transition-delay: 0s;
  }

  html.motion-enabled .service-card[data-reveal],
  html.motion-enabled .timeline__item[data-reveal] {
    transform: translateY(0.875rem);
  }

  html.motion-enabled [data-reveal].is-visible {
    transform: none;
  }

  html.motion-enabled .site-shell.is-ready .hero__ambient {
    animation: mobile-hero-glow 7s ease-in-out infinite alternate;
  }

  .hero:not(.is-in-view) .hero__ambient {
    animation-play-state: paused !important;
  }

  @keyframes mobile-hero-glow {
    from {
      opacity: 0.55;
    }
    to {
      opacity: 1;
    }
  }

  html.motion-enabled .hero__card.is-visible .cinematic-card__line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-strong), transparent);
    transform-origin: right center;
    animation: mobile-accent-enter 0.6s ease-out 0.15s both;
  }

  html.motion-enabled .button,
  html.motion-enabled .call-chip,
  html.motion-enabled .nav-toggle {
    transition: transform 0.14s ease-out;
  }

  html.motion-enabled .button:active,
  html.motion-enabled .call-chip:active,
  html.motion-enabled .nav-toggle:active {
    transform: scale(0.97);
  }

  @keyframes mobile-accent-enter {
    from {
      opacity: 0;
      transform: scaleX(0.15);
    }
    to {
      opacity: 1;
      transform: scaleX(1);
    }
  }
}


@media (min-width: 720px) {
  .container {
    width: min(1180px, calc(100% - 2rem));
  }

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

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

  .footer-nav {
    grid-template-columns: repeat(2, auto);
    width: auto;
  }

  .cookie-banner {
    left: auto;
    width: min(34rem, calc(100% - 1.5rem));
  }

  .cookie-banner__actions {
    grid-template-columns: 1fr;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .site-header__inner {
    display: flex;
    gap: 1.25rem;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    inset: auto;
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    background: transparent;
    border: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav a {
    padding: 0;
    background: transparent;
    border: 0;
  }

  .hero {
    min-height: min(58rem, 100vh);
    display: flex;
    align-items: center;
    padding: 2rem 0 3rem;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(21rem, 0.78fr);
    gap: 1.5rem 2rem;
    direction: ltr;
  }

  .hero__grid > * {
    direction: rtl;
  }

  .hero__content {
    padding: 2rem 0;
  }

  .hero__card {
    align-self: center;
  }

  .hero__figure {
    grid-column: 1 / -1;
    align-self: start;
  }

  .hero__figure-frame {
    aspect-ratio: 21 / 9;
  }

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

  .about__grid,
  .projects__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem;
  }

  .cards-grid,
  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__inner {
    flex-direction: row;
    align-items: center;
  }

  .footer-nav {
    grid-template-columns: repeat(4, auto);
  }

  .accessibility-panel {
    right: auto;
    width: min(24rem, calc(100% - 2rem));
  }
}

@media (max-width: 479px) {
  :root {
    --container: calc(100% - 1rem);
  }

  .brand__eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.24em;
  }

  .brand__title {
    font-size: 0.97rem;
  }

  .call-chip {
    padding-inline: 0.85rem;
    font-size: 0.92rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

  .hero__figure-frame {
    border-radius: 1.25rem;
  }

  .accessibility-toggle {
    left: 0.5rem;
    bottom: 0.5rem;
    padding: 0.78rem 1rem;
  }
}

/* Mobile composition: compact header, readable text, and bounded touch panels. */
@media (max-width: 959px) {
  :root {
    --header-height: 4.75rem;
    --container: calc(100% - 2rem);
  }

  body {
    min-height: 100svh;
  }

  .container {
    width: var(--container);
  }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) repeat(2, 2.75rem) auto;
    gap: 0.625rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand__logo {
    width: 2.75rem;
  }

  .brand__title {
    white-space: normal;
    overflow: visible;
    font-size: 1rem;
    line-height: 1.25;
  }

  .brand__eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }

  .nav-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  .main-nav {
    max-height: calc(100dvh - var(--header-height) - env(safe-area-inset-bottom) - 1rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-inline: 1rem;
    background: #071019;
  }

  .hero {
    overflow: hidden;
    padding: 1.5rem 0 2rem;
  }

  .hero__grid {
    gap: 1.25rem;
  }

  .hero__content {
    padding: 0;
  }

  .hero h1 {
    margin: 0;
    font-size: clamp(2.1rem, 8.5vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  .hero h1 span {
    margin-top: 0.25rem;
  }

  .hero__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
    margin: 1.5rem 0 0;
  }

  .hero__actions .button {
    min-height: 3.125rem;
    padding: 0.75rem 0.5rem;
    font-size: 0.95rem;
  }

  html.motion-enabled .hero__content[data-reveal] {
    transition-delay: 0.08s;
  }

  html.motion-enabled .hero__card[data-reveal] {
    transition-delay: 0.16s;
  }

  .cinematic-card {
    padding: 1.125rem;
    border-radius: 1.5rem;
  }

  .cinematic-card h2 {
    margin-top: 0;
    font-size: 1.4rem;
  }

  .cinematic-card > p {
    margin-bottom: 0;
  }

  .stats-grid {
    gap: 0;
    margin-top: 0.875rem;
  }

  .stats-grid article {
    padding: 0.75rem 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    line-height: 1.6;
  }

  .stats-grid article:last-child {
    padding-bottom: 0;
  }

  .stats-grid strong {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }

  .stats-grid span {
    font-size: 0.95rem;
  }

  .section,
  .site-footer {
    /* Keep real section heights during Safari scrolling and full-page rendering. */
    content-visibility: visible;
    contain-intrinsic-size: none;
  }

  .section {
    padding: 2rem 0;
  }

  .section-heading h2,
  .about h2,
  .projects h2,
  .legal-page h1 {
    margin: 0.5rem 0 1rem;
    font-size: clamp(1.75rem, 7.5vw, 2.35rem);
    line-height: 1.2;
    letter-spacing: -0.015em;
  }

  .section-tag,
  .about .section-tag,
  .about__panel-label,
  .about .about__panel-label {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .hero__grid > *,
  .about__grid > *,
  .projects__grid > *,
  .contact__grid > *,
  .cards-grid > *,
  .timeline > * {
    min-width: 0;
  }

  .cinematic-card,
  .service-card,
  .about__panel,
  .timeline__item,
  .contact-card {
    contain: none;
  }

  .about__panel,
  .service-card,
  .projects__panel,
  .timeline__item {
    padding: 1.125rem;
    border-radius: 1.25rem;
  }

  .about__panel ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem 1.5rem;
    margin-top: 0.75rem;
  }

  .about__panel li {
    margin: 0;
    line-height: 1.6;
  }

  .about__quote {
    padding: 0.875rem 1rem;
  }

  .service-card h3,
  .timeline__item h3 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }

  .service-card p,
  .timeline__item p {
    margin: 0;
    line-height: 1.7;
  }

  .projects__content p {
    color: var(--muted);
    line-height: 1.75;
  }

  .projects__panel-head {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .projects__panel-head p {
    margin: 0;
  }

  .projects__meta {
    font-size: 0.875rem;
  }

  .projects-map-shell {
    min-height: clamp(13rem, 32svh, 18rem);
    border-radius: 1rem;
  }

  .timeline__item {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    column-gap: 0.875rem;
    align-items: start;
  }

  .timeline__item span {
    grid-row: 1 / span 2;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0;
  }

  .timeline__item h3,
  .timeline__item p {
    grid-column: 2;
  }

  .contact-card {
    gap: 0.5rem;
    padding: 1.25rem;
    border-radius: 1.5rem;
  }

  .contact-card h2 {
    font-size: 2rem;
    padding-bottom: 0.875rem;
  }

  .contact-card a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    font-size: 1.4rem;
    padding-block: 0.25rem;
  }

  .contact-card a[href^="mailto:"] {
    font-size: clamp(0.95rem, 4.1vw, 1.15rem);
    direction: ltr;
  }

  .site-footer {
    padding: 1.5rem 0 calc(5rem + env(safe-area-inset-bottom));
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 1rem;
    width: 100%;
  }

  .footer-nav a,
  .footer-nav button {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }

  .button:not(.button--primary) {
    color: var(--text);
  }

  .cookie-banner {
    inset-inline: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    width: auto;
  }

  .cookie-banner__content {
    max-height: calc(100dvh - var(--header-height) - 1.5rem - env(safe-area-inset-bottom));
    padding: 1rem;
    border-radius: 1.25rem;
    background: #0a1621;
    overscroll-behavior: contain;
  }

  .cookie-banner p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .cookie-banner__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
  }

  .cookie-banner__button {
    padding: 0.625rem;
    font-size: 0.875rem;
    border-radius: 1rem;
  }

  .cookie-banner__link {
    grid-column: 1 / -1;
    min-height: 2.75rem;
    padding: 0.5rem;
    font-size: 0.875rem;
  }

  body.cookie-banner-open .accessibility-toggle {
    visibility: hidden;
    pointer-events: none;
  }

  .accessibility-toggle {
    left: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
  }

  .site-header__inner .accessibility-toggle {
    position: static;
    width: 2.75rem;
    padding: 0.25rem;
    font-size: 0.7rem;
  }

  .accessibility-panel {
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    max-height: calc(100dvh - var(--header-height) - 1.75rem - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #0a1621;
    border-radius: 1.25rem;
  }

  .accessibility-panel__close {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
  }

  .accessibility-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
  }

  .accessibility-actions button {
    min-height: 2.75rem;
    padding: 0.5rem;
    border-radius: 0.875rem;
    font-size: 0.9rem;
  }

  .accessibility-panel__link {
    min-height: 2.75rem;
    padding-block: 0.5rem;
    line-height: 1.5;
  }

  .legal-page {
    padding: 1.5rem 0 5rem;
  }

  .legal-page__inner {
    padding: 1.125rem;
  }

  .legal-page-body .site-header__inner {
    grid-template-columns: minmax(0, 1fr) 2.75rem;
  }

  .legal-page-body .main-nav {
    display: none;
  }
}

@media (max-width: 599px) {
  .site-header__inner {
    gap: 0.5rem;
  }

  .brand__logo {
    width: 2.25rem;
  }

  .call-chip {
    width: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
  }

  .call-chip__number {
    display: none;
  }

  .call-chip__icon {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linejoin: round;
  }
}

@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover,
  .footer-nav a:hover,
  .contact-card a:hover {
    color: var(--text);
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.motion-enabled) *,
  html:not(.motion-enabled) *::before,
  html:not(.motion-enabled) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* A wide map and a swipeable project gallery. */
.projects__grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
.projects__content { max-width: 48rem; }
.projects__content h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.3; margin-bottom: 1rem; }
.projects__content > p { color: var(--muted); line-height: 1.85; }
.projects__scope { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.65rem; font-size: 0.9rem; }
.projects__scope strong { color: var(--accent-strong); font-size: 1.4rem; }
.projects__scope > span { color: var(--accent); padding-inline: 0.4rem; }
.projects__panel { padding: 0; border-radius: 1.5rem; overflow: hidden; background: #0b1720; }
.projects__panel-head { padding: 1rem 1.5rem; margin: 0; }
.projects__map-label { display: flex; align-items: center; gap: 0.65rem; margin: 0; font-size: 0.9rem; color: var(--text); }
.projects__map-label > span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-strong); box-shadow: 0 0 12px var(--accent); flex-shrink: 0; }
.projects__reset { border: 0; background: transparent; color: var(--accent-strong); padding: 0.65rem 0; font: inherit; font-size: 0.85rem; cursor: pointer; min-height: 44px; white-space: nowrap; }
.projects-map-shell { min-height: 580px; border: 0; border-radius: 0; }
.projects__map-note { margin: 0; padding: 0.85rem 1.5rem; color: var(--muted); font-size: 0.78rem; line-height: 1.8; border-top: 1px solid var(--line); }
.projects-map__connections { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.projects-map__connections line { stroke: #f1c58c; stroke-width: 1.2; opacity: 0.75; }
.projects-map__connections circle { fill: #fff2da; }
.projects-map__placeholder { z-index: 3; }
.project-map-marker { z-index: 2; height: 42px; display: flex; align-items: center; gap: 7px; border: 1px solid #ffe0af; border-radius: 24px; background: #f1c58c; padding: 0 12px 0 5px; color: #151b21; cursor: pointer; box-shadow: 0 3px 15px #0009; font: 600 12px "Heebo", sans-serif; direction: ltr; }
.project-map-marker__number { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #15212a; color: #fff2da; font-size: 11px; flex-shrink: 0; }
.project-map-marker__city { direction: rtl; white-space: nowrap; }
.project-map-marker:hover, .project-map-marker[aria-pressed="true"] { background: #fff3dc; border-color: #fff; z-index: 3; }
.project-map-marker[aria-pressed="true"]::after { content: ""; position: absolute; inset: -5px; border: 1px solid #f1c58c; border-radius: inherit; pointer-events: none; }
html.motion-enabled .project-map-marker[aria-pressed="true"]::after { animation: project-pin-pulse 2.2s ease-out infinite; }
@keyframes project-pin-pulse { 0% { opacity: 0.8; scale: 1; } 100% { opacity: 0; scale: 1.3; } }
.projects-map .mapboxgl-popup { z-index: 4; }
.projects-map .mapboxgl-popup-content { background: #faf5ec; color: #15212a; border-radius: 14px; box-shadow: 0 12px 40px #0007; padding: 1.3rem; }
.projects-map .mapboxgl-popup-tip { border-top-color: #faf5ec; border-bottom-color: #faf5ec; }
.project-popup .project-card__city { display: block; color: #8a5c22; font-size: 0.85rem; margin-bottom: 0.45rem; }
.project-popup .project-card__title { font-size: 1.1rem; }
.project-popup .project-card__description { color: #46515b; font-size: 0.85rem; }
.projects-map .mapboxgl-popup-close-button { font-size: 1.5rem; padding: 0 0.4rem; color: #15212a; }
.projects__catalog { min-width: 0; }
.projects__toolbar { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-top: 1rem; }
.projects__toolbar .section-tag { margin-bottom: 0.5rem; }
.projects__toolbar h3 { font-size: clamp(1.2rem, 2vw, 1.65rem); margin: 0; font-weight: 500; line-height: 1.5; }
.projects__browse { display: flex; gap: 0.5rem; align-items: center; flex-shrink: 0; }
.projects__browse button { display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; width: 46px; height: 46px; background: transparent; color: var(--text); font-size: 1.35rem; cursor: pointer; transition: background 0.25s, color 0.25s; }
.projects__browse button:hover { background: var(--accent); color: #071019; }
.projects__browse button:disabled { opacity: 0.35; cursor: default; }
.projects__position { color: var(--accent-strong); font-size: 0.8rem; direction: ltr; font-variant-numeric: tabular-nums; margin-inline-end: 0.5rem; }
.projects__swipe-hint { color: var(--muted); font-size: 0.8rem; margin: 0.7rem 0 1.2rem; }
.projects__list { position: relative; display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0.3rem 0 1.2rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.project-card { flex: 0 0 calc((100% - 2rem) / 3); min-width: 0; scroll-snap-align: start; border-top: 1px solid var(--line-strong); }
.project-card__button { position: relative; display: flex; flex-direction: column; height: 100%; width: 100%; padding: 1.5rem 1.1rem; text-align: start; border: 0; border-radius: 0 0 12px 12px; background: linear-gradient(180deg, #ffffff04, transparent); color: var(--text); font: inherit; cursor: pointer; transition: background 0.35s, box-shadow 0.35s; }
.project-card__button::after { content: "↗"; color: var(--accent); margin-top: auto; padding-top: 1.5rem; font-size: 1.35rem; transition: translate 0.3s; }
.project-card:hover .project-card__button, .project-card.is-selected .project-card__button { background: linear-gradient(180deg, #d2a56614, #d2a56605); box-shadow: inset 0 2px var(--accent-strong); }
.project-card:hover .project-card__button::after { translate: -4px -4px; }
.project-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; margin-bottom: 1.5rem; }
.project-card__number { order: 2; font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.project-card__city { color: var(--accent-strong); font-size: 1.2rem; font-weight: 500; }
.project-card__title { display: block; font-size: 1.12rem; font-weight: 500; line-height: 1.6; margin-bottom: 0.75rem; }
.project-card__description { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.85; }
/* Hebrew spacing follows the typeface; tracking compresses or separates letters. */
:lang(he) :is(h1, h2, h3, .section-tag, .brand__eyebrow, .brand__title, .about__panel-label) { letter-spacing: normal; word-spacing: normal; }
@media (max-width: 959px) {
  .projects-map-shell { min-height: 520px; }
  .project-card { flex-basis: calc((100% - 1rem) / 2); }
}
@media (max-width: 599px) {
  .projects__grid { gap: 1.2rem; }
  .projects__panel-head { padding: 0.65rem 0.9rem; gap: 0.5rem; flex-wrap: nowrap; }
  .projects__map-label { max-width: 12rem; font-size: 0.75rem; line-height: 1.6; }
  .projects__reset { font-size: 0.75rem; }
  .projects-map-shell { min-height: 500px; }
  .projects__map-note { padding: 0.75rem 0.9rem; }
  .project-map-marker { width: 42px; height: 42px; padding: 0; justify-content: center; }
  .project-map-marker__number { background: transparent; color: #15212a; font-size: 13px; }
  .project-map-marker__city { display: none; }
  .projects__toolbar { align-items: center; gap: 0.75rem; }
  .projects__toolbar h3 { max-width: 12rem; font-size: 1.12rem; }
  .projects__browse { gap: 0.3rem; flex-wrap: wrap; justify-content: end; max-width: 100px; }
  .projects__position { width: 100%; text-align: center; margin: 0; }
  .projects__browse button { width: 44px; height: 44px; }
  .project-card { flex-basis: 87%; }
  .project-card__button { padding: 1.2rem 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .project-map-marker::after { animation: none !important; }
  .project-card__button, .project-card__button::after { transition: none; }
}
