/* hellomarina.ru — портфолио Марины Гаджираджабовой
   Токены взяты из макета Figma «Портфолио v2» */
:root {
  --bg: #121212;
  --yellow: #ffe522;
  --heading: #f5f4ef;
  --body: #dcdcd4;
  --muted: #adada5;
  --card-text: #c9c9c1;
  --line: #30302d;
  --card: #181816;
  --radius: 12px;
  --content: 1020px;
  --gutter: 90px;
  --grid: 71%; /* как в макете 1440: 1020 из 1440 */
  --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  /* одна сетка на всём сайте: ширина = ширина MARINA G ’26 в первом экране */
  width: min(var(--content), var(--grid));
  margin: 0 auto;
  padding: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--yellow); color: #121212; padding: 8px 16px; border-radius: 999px; z-index: 10;
}
.skip-link:focus { left: 16px; }

:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px; padding-bottom: 22px;
}
.logo {
  color: var(--yellow); text-decoration: none;
  font-size: 20px; font-weight: 600; letter-spacing: -0.4px; line-height: 30px;
}
.nav { display: flex; gap: 32px; }
.nav a {
  color: var(--yellow); text-decoration: none;
  font-size: 20px; line-height: 30px;
}
.nav a:hover, .logo:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }

/* ---------- Hero (desktop: пропорции макета через container query units) ---------- */
.hero { container-type: inline-size; overflow-x: clip; }
.hero-name span, .m-name span { white-space: nowrap; }
.hero-canvas {
  /* композиция масштабируется целиком по ширине контента: MARINA G ’26 занимает
     ровно ту же ширину, что шапка и проекты. Координаты — из макета 1020×690 */
  --u: calc(100cqw / 1020);
  container-type: inline-size;
  position: relative;
  width: 100%;
  aspect-ratio: 1020 / 690;
  color: #ffe318;
}
.hero-canvas > * { position: absolute; margin: 0; }
.hero-role {
  left: 0; right: 0; top: 0; text-align: center;
  font-weight: 600; font-size: calc(22 * var(--u)); line-height: calc(28 * var(--u));
}
.hero-name {
  left: 0; right: 0; top: calc(52 * var(--u)); height: calc(298 * var(--u));
  font-family: var(--display); font-weight: 400; color: var(--yellow);
  font-size: calc(276 * var(--u)); line-height: calc(298 * var(--u));
  letter-spacing: calc(-6.9 * var(--u));
}
.hero-name span { position: absolute; top: 0; left: 0; }
.hero-name span:nth-child(2) { left: calc(843 * var(--u)); }
.hero-year {
  left: calc(979 * var(--u)); top: calc(288 * var(--u));
  font-family: var(--display); font-size: calc(32 * var(--u)); line-height: 1; color: var(--yellow);
}
.hero-photo {
  left: calc(237 * var(--u)); top: calc(232 * var(--u));
  width: calc(243 * var(--u)); height: calc(277 * var(--u));
  border-radius: calc(12 * var(--u)); object-fit: cover;
}
.hero-label, .hero-list {
  font-weight: 600; font-size: calc(11.4 * var(--u)); line-height: calc(15 * var(--u));
  text-transform: uppercase; white-space: nowrap;
}
.hero-tools-label { left: 0; top: calc(438 * var(--u)); }
.hero-tools { left: calc(105 * var(--u)); top: calc(438 * var(--u)); }
.hero-skills-label { left: calc(520 * var(--u)); top: calc(438 * var(--u)); }
.hero-skills { left: calc(521 * var(--u)); top: calc(576 * var(--u)); }
.hero-verbs {
  left: 0; top: 0; width: 100%; height: 100%; pointer-events: none;
  font-weight: 700; font-size: calc(24 * var(--u)); line-height: 1; text-transform: uppercase;
}
.hero-verbs span { position: absolute; white-space: nowrap; }
.hero-verbs span:nth-child(1) { left: calc(743 * var(--u)); top: calc(436 * var(--u)); }
.hero-verbs span:nth-child(2) { left: calc(781 * var(--u)); top: calc(460 * var(--u)); }
.hero-verbs span:nth-child(3) { left: calc(846 * var(--u)); top: calc(484 * var(--u)); }
.hero-verbs span:nth-child(4) { left: calc(809 * var(--u)); top: calc(509 * var(--u)); }
.hero-verbs span:nth-child(5) { left: calc(760 * var(--u)); top: calc(533 * var(--u)); }
.hero-mobile { display: none; }

/* ---------- Sections ---------- */
.section { padding-top: 96px; }
.section:first-of-type { padding-top: 48px; }
.section-title {
  color: #fff; font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.3px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line);
}

/* ---------- Project cards ---------- */
.projects { display: grid; gap: 56px; margin-top: 28px; }
.project { display: block; text-decoration: none; color: inherit; }
.project-cover {
  border-radius: var(--radius); overflow: hidden; background: #1c1c1a;
  aspect-ratio: 1020 / 554;
}
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project:hover .project-cover img { transform: scale(1.02); }
.project-details {
  display: grid; grid-template-columns: 1fr 470px; gap: 40px; padding-top: 20px;
}
.project-title { color: #fff; font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: -0.5px; }
.project:hover .project-title { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.project-tags { color: var(--muted); font-size: 15px; line-height: 1.45; margin-top: 8px; }
.project-summary { color: #fff; font-size: 17px; line-height: 25px; }

/* ---------- Мини-концепты: горизонтальная карусель ---------- */
.section-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.section-head .section-title { padding-bottom: 0; border-bottom: 0; }
.carousel-nav { display: flex; gap: 12px; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 999px; padding: 0;
  border: 1.5px solid var(--yellow); background: transparent; color: var(--yellow);
  font: 20px/1 var(--font); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.carousel-btn:hover:not(:disabled) { background: var(--yellow); color: #121212; }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.concepts-track {
  display: flex; gap: 20px; margin-top: 28px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.concepts-track::-webkit-scrollbar { display: none; }
.concept { flex: 0 0 600px; max-width: 85%; margin: 0; scroll-snap-align: start; }
.concept img { width: 100%; aspect-ratio: 2040 / 1109; object-fit: cover; border-radius: 8px; background: #1c1c1a; }
.concept-title { color: #fff; font-size: 18px; font-weight: 600; line-height: 26px; margin-top: 14px; }

/* ---------- About ---------- */
.about-text { margin-top: 24px; display: grid; gap: 16px; }
.about-text p { color: #fff; font-size: 18px; line-height: 28px; }

/* ---------- Experience ---------- */
.experience { margin-top: 0; }
.job {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 28px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.job-logo { width: 72px; height: 72px; border-radius: var(--radius); object-fit: cover; }
.job-role { color: #fff; font-size: 18px; line-height: 24px; }
.job-desc { color: var(--muted); font-size: 15px; line-height: 22px; margin-top: 6px; }
.job-period { color: var(--muted); font-size: 15px; line-height: 22px; white-space: nowrap; }
.job-period-inline { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px;
  border: 1.5px solid var(--yellow); border-radius: 999px;
  color: var(--yellow); text-decoration: none; font-size: 16px; line-height: 24px;
  transition: background-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--yellow); color: #121212; }

/* ---------- Footer ---------- */
.site-footer { padding-top: 96px; padding-bottom: 80px; }
.cta { display: grid; justify-items: center; text-align: center; gap: 16px; }
.cta-title { color: #fff; font-size: 32px; font-weight: 600; line-height: 40px; }
.cta-text { color: var(--muted); font-size: 18px; line-height: 27px; }
.buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.legal {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 72px; color: var(--muted); font-size: 14px; line-height: 20px;
}

/* ---------- Case pages ---------- */
.case-cover { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1020 / 486; background: #1c1c1a; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; }
.case-head { padding-top: 64px; }
.case-title { color: var(--heading); font-size: 44px; font-weight: 700; line-height: 52px; letter-spacing: -0.5px; }
.case-lead { color: var(--muted); font-size: 19px; line-height: 28px; margin-top: 14px; }
.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 32px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.summary .card { padding: 20px; }
.summary-label { color: var(--muted); font-size: 12px; font-weight: 600; line-height: 18px; letter-spacing: .04em; text-transform: uppercase; }
.summary-value { color: #fff; font-size: 16px; line-height: 23px; margin-top: 8px; }

.block { padding-top: 72px; }
.block-sm { padding-top: 28px; }
.h2 { color: var(--heading); font-size: 32px; font-weight: 600; line-height: 40px; margin-bottom: 20px; }
.h3 { color: var(--heading); font-size: 21px; font-weight: 600; line-height: 28px; margin-bottom: 10px; }
.prose { display: grid; gap: 20px; }
.prose p { color: var(--body); font-size: 18px; line-height: 28px; }
.prose strong { color: #fff; font-weight: 700; }

.figure { margin: 28px 0 0; }
.figure img { width: 100%; border-radius: var(--radius); }
.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.figure-pair img { width: 100%; border-radius: var(--radius); }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scroll-hint { display: none; }

.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.cards-2 .card { padding: 24px; }
.card-title { color: var(--heading); font-size: 18px; font-weight: 600; line-height: 26px; }
.card-text { color: var(--muted); font-size: 15px; line-height: 23px; margin-top: 10px; }
.card-text strong { color: #fff; font-weight: 700; }
.cards-2 .card.story { display: flex; align-items: center; }
.story .card-text { margin-top: 0; }

.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 20px; }
.metric { display: grid; grid-template-columns: minmax(104px, max-content) 1fr; gap: 20px; align-items: center; padding: 20px 22px; }
.metric-name { color: var(--yellow); font-weight: 700; font-size: 15px; line-height: 21px; }
.metric-text { color: var(--card-text); font-size: 15px; line-height: 21px; }

.bullets { display: grid; gap: 12px; margin: 8px 0; }
.bullets li { display: flex; gap: 16px; align-items: center; color: var(--body); font-size: 18px; line-height: 28px; }
.bullets img { width: 13px; height: 13px; flex: none; }

.decisions { display: grid; gap: 24px; }

.case-nav { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.case-footer { padding-top: 72px; padding-bottom: 80px; }
.case-footer .legal { margin-top: 72px; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 48px; }
  .project-details { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --grid: 84%; }
}

/* ---------- Mobile (макет 390) ---------- */
@media (max-width: 720px) {
  :root { --gutter: 20px; --grid: calc(100% - 40px); --radius: 8px; }
  body { font-size: 17px; }
  .site-header .container { padding-top: 16px; padding-bottom: 16px; }
  .logo { font-size: 18px; line-height: 26px; letter-spacing: -0.3px; }
  .nav { gap: 24px; }
  .nav a { font-size: 18px; line-height: 26px; padding: 9px 0; }

  .hero-canvas { display: none; }
  .hero-mobile { display: block; padding-top: 8px; }
  /* координаты — из мобильного макета, ширина контента 350 */
  .m-canvas { --m: calc(100cqw / 350); position: relative; height: calc(297 * var(--m)); color: var(--yellow); }
  .m-canvas > * { position: absolute; margin: 0; }
  .m-role {
    left: 0; right: 0; top: calc(8 * var(--m)); text-align: center;
    font-weight: 600; font-size: calc(16 * var(--m)); line-height: calc(20 * var(--m)); color: #ffe318;
  }
  .m-name {
    left: 0; right: 0; top: calc(52 * var(--m)); height: calc(100 * var(--m));
    font-family: var(--display); font-size: calc(92 * var(--m)); line-height: calc(100 * var(--m));
    letter-spacing: calc(-2.5 * var(--m));
  }
  .m-name span { position: absolute; top: 0; left: 0; }
  .m-name span:nth-child(2) { left: calc(280 * var(--m)); }
  .m-year { left: calc(327 * var(--m)); top: calc(128 * var(--m)); font-family: var(--display); font-size: calc(15 * var(--m)); line-height: 1; }
  .m-photo {
    left: calc(79 * var(--m)); top: calc(111 * var(--m));
    width: calc(164 * var(--m)); height: calc(186 * var(--m)); object-fit: cover; border-radius: 8px;
  }
  .m-lead { color: #fff; font-size: 17px; line-height: 26px; margin-top: 24px; }

  .section { padding-top: 64px; }
  .section:first-of-type { padding-top: 56px; }
  .section-title { font-size: 22px; padding-bottom: 20px; }
  .projects { gap: 48px; margin-top: 24px; }
  .project-details { grid-template-columns: 1fr; gap: 10px; padding-top: 16px; }
  .project-title { font-size: 26px; line-height: 32px; }
  .project-tags { font-size: 14px; line-height: 20px; margin-top: 6px; }
  .project-summary { font-size: 16px; line-height: 24px; }

  .section-head { padding-bottom: 20px; }
  .carousel-nav { display: none; }
  .concepts-track {
    gap: 12px; margin: 24px calc(-1 * var(--gutter)) 0;
    padding: 0 var(--gutter); scroll-padding-left: var(--gutter);
  }
  .concept { flex-basis: 300px; max-width: 82%; }
  .concept-title { font-size: 16px; line-height: 22px; margin-top: 10px; }

  .about-text { margin-top: 20px; gap: 16px; }
  .about-text p { font-size: 17px; line-height: 26px; }

  .job { grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 16px 0; }
  .job-logo { width: 48px; height: 48px; border-radius: 8px; }
  .job-role { font-size: 17px; line-height: 22px; }
  .job-period { display: none; }
  .job-period-inline { display: block; color: var(--muted); font-size: 14px; line-height: 20px; margin-top: 4px; }
  .job-desc { font-size: 14px; line-height: 20px; }

  .site-footer { padding-top: 64px; padding-bottom: 40px; }
  .cta { gap: 16px; }
  .cta-title { font-size: 26px; line-height: 32px; }
  .cta-text { font-size: 16px; line-height: 24px; }
  .buttons { flex-direction: column; width: 100%; gap: 12px; }
  .buttons .btn, .case-nav .btn { width: 100%; }
  .legal { margin-top: 48px; font-size: 13px; line-height: 18px; gap: 4px 12px; flex-wrap: wrap; }
  .legal span { white-space: nowrap; }

  .case-head { padding-top: 48px; }
  .case-title { font-size: 32px; line-height: 38px; letter-spacing: -0.3px; }
  .case-lead { font-size: 18px; line-height: 26px; }
  .summary { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .block { padding-top: 48px; }
  .block-sm { padding-top: 24px; }
  .h2 { font-size: 26px; line-height: 32px; margin-bottom: 16px; }
  .h3 { font-size: 20px; line-height: 26px; }
  .prose { gap: 16px; }
  .prose p, .bullets li { font-size: 17px; line-height: 26px; }
  .bullets li { align-items: flex-start; gap: 12px; }
  .bullets img { margin-top: 6px; }
  .cards-2, .metrics, .figure-pair { grid-template-columns: 1fr; gap: 12px; }
  .cards-2 .card { padding: 20px; }
  .scroll-x img { cursor: zoom-in; }
  .card-title { font-size: 18px; line-height: 26px; }
  .card-text { font-size: 15px; line-height: 22px; }
  .metric { grid-template-columns: minmax(88px, max-content) 1fr; gap: 14px; padding: 16px; }
  .metric-name, .metric-text { font-size: 14px; line-height: 20px; }
  .figure { margin-top: 24px; }
  .scroll-x img { width: 700px; max-width: none; }
  .scroll-hint { display: block; color: var(--muted); font-size: 13px; line-height: 18px; margin-top: 8px; }
  .case-footer { padding-top: 64px; padding-bottom: 40px; }
  .case-nav { flex-direction: column; gap: 12px; }
  .case-footer .legal { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project-cover img { transition: none; }
}

/* ================= Motion ================= */
/* Плавный переход между страницами (Chrome, Edge, Safari 18.2+); в остальных браузерах — просто анимация входа */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise-big { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96) rotate(-2deg); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

:root { --ease: cubic-bezier(.2, .7, .2, 1); }
.site-header { animation: fade .6s ease both; }

/* Главная: первый экран собирается по очереди */
.hero-role { animation: rise .6s var(--ease) .05s both; }
.hero-name span, .m-name span { display: inline-block; animation: rise-big .9s var(--ease) both; }
.hero-name span:nth-child(1), .m-name span:nth-child(1) { animation-delay: .1s; }
.hero-name span:nth-child(2), .m-name span:nth-child(2) { animation-delay: .22s; }
.hero-photo, .m-photo { animation: pop .9s var(--ease) .35s both; }
.hero-tools-label, .hero-tools, .hero-skills-label, .hero-skills { animation: rise .6s var(--ease) .55s both; }
.hero-verbs span { animation: rise .5s var(--ease) both; }
.hero-verbs span:nth-child(1) { animation-delay: .6s; }
.hero-verbs span:nth-child(2) { animation-delay: .67s; }
.hero-verbs span:nth-child(3) { animation-delay: .74s; }
.hero-verbs span:nth-child(4) { animation-delay: .81s; }
.hero-verbs span:nth-child(5) { animation-delay: .88s; }
.m-role { animation: rise .6s var(--ease) .05s both; }
.hero-year, .m-year { animation: rise .6s var(--ease) .3s both; }
.m-lead { animation: rise .6s var(--ease) .6s both; }
/* «Проекты» появляется последним, после глаголов */
#projects-title { animation: rise .6s var(--ease) 1s both; }

/* Кейс: обложка, заголовок и карточки-сводки */
.case-cover { animation: rise .8s var(--ease) .05s both; }
.case-head { animation: rise .7s var(--ease) .18s both; }
.summary { animation: rise .7s var(--ease) .3s both; }

/* Появление блоков при прокрутке: скрываются только те, что ниже первого экрана и только когда работает JS */
.reveal-wait { opacity: 0; transform: translateY(28px); }
.reveal-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* Картинки проявляются по мере загрузки */
img.img-wait { opacity: 0; }
img.img-in { opacity: 1; transition: opacity .6s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .reveal-wait, img.img-wait { opacity: 1 !important; transform: none !important; }
}

/* ================= Lightbox: увеличение картинок в кейсах ================= */
.zoomable { cursor: zoom-in; }
.lb {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 10, 10, .94);
  display: flex; align-items: center; justify-content: center;
  overflow: auto; overscroll-behavior: contain;
  opacity: 0; transition: opacity .25s ease;
}
.lb.lb-open { opacity: 1; }
.lb-img {
  display: block; max-width: calc(100vw - 48px); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  width: auto; height: auto; object-fit: contain;
  border-radius: 8px; cursor: zoom-in;
  transform: scale(.96); transition: transform .3s var(--ease);
}
.lb.lb-open .lb-img { transform: none; }
.lb.lb-full { display: block; padding: 24px; }
.lb.lb-full .lb-img { max-width: none; max-height: none; margin: 0 auto; cursor: zoom-out; }
.lb-close {
  position: fixed; top: 16px; right: 16px; z-index: 101;
  width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--yellow);
  background: rgba(18, 18, 18, .8); color: var(--yellow);
  font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lb-close:hover { background: var(--yellow); color: #121212; }
.lb-hint {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 101;
  color: var(--muted); font-size: 13px; line-height: 18px; white-space: nowrap;
  background: rgba(18, 18, 18, .8); padding: 6px 12px; border-radius: 999px; pointer-events: none;
}
html.lb-lock, html.lb-lock body { overflow: hidden; }
@media (max-width: 720px) {
  .lb-img { max-width: 100vw; border-radius: 0; }
  .lb.lb-full { padding: 12px; }
}

/* ================= Масштаб десктопа: весь сайт на 15% компактнее макета 1200 =================
   Мобилка (до 720 px) без изменений. Сетка = ширина MARINA G ’26: 867 px на широком экране. */
@media (min-width: 721px) {
  html { zoom: 0.85; }
  :root { --grid: 60.35%; }
}
@media (min-width: 721px) and (max-width: 900px) {
  :root { --grid: 71.4%; }
}
