/*
Theme Name: Installer365
Theme URI: https://installer365.ru/
Author: Александр Мясников
Description: Лёгкая персональная тема частного компьютерного мастера.
Version: 0.2.2
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: installer365
*/

:root {
  --page: #f3eee4;
  --paper: #fffdf8;
  --ink: #17262d;
  --muted: #5b6a70;
  --line: #d7d3ca;
  --accent: #1e5f78;
  --accent-dark: #17485c;
  --accent-soft: #dcebf0;
  --warm: #d48a43;
  --warm-soft: #f5e8d7;
  --dark: #133a4b;
  --white: #fffdf8;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 55px rgb(27 52 62 / 9%);
  --shell: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 1%, rgb(212 138 67 / 12%), transparent 22rem),
    linear-gradient(rgb(30 95 120 / 2.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(30 95 120 / 2.5%) 1px, transparent 1px),
    var(--page);
  background-size: auto, 32px 32px, 32px 32px, auto;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

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

h1, h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(38px, 5.2vw, 68px); }
h2 { font-size: clamp(30px, 3.4vw, 46px); }
h3 { margin-bottom: 7px; font-size: 19px; line-height: 1.28; }
p { margin-bottom: 16px; }

:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--accent-dark);
  transform: translateY(-160%);
}

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

.shell,
.section-shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.site-header { border-bottom: 1px solid rgb(23 72 92 / 14%); background: rgb(255 253 248 / 78%); }

.header-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand strong { font-size: 15px; letter-spacing: .035em; }
.brand span { color: var(--muted); font-size: 13px; }
.header-phone { font-size: 14px; font-weight: 760; text-decoration: none; }

.hero {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid #315c6c;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 91% 7%, rgb(212 138 67 / 23%), transparent 27rem),
    linear-gradient(138deg, #102f3c 0%, #17485c 68%, #1a5268 100%);
  color: var(--white);
  box-shadow: 0 26px 75px rgb(18 48 61 / 22%);
}

.hero-grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  grid-template-areas:
    "main photo"
    "actions photo"
    "micro photo";
  align-content: center;
  align-items: center;
  gap: 20px 64px;
  padding: clamp(42px, 5.5vw, 72px);
}

.hero-main { grid-area: main; align-self: end; }
.hero-actions { grid-area: actions; align-self: center; }
.hero-micro { grid-area: micro; align-self: start; max-width: 650px; margin: 0; color: #c7d6dc; font-size: 14px; }

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.hero .eyebrow, .section-dark .eyebrow, .contact-section .eyebrow { color: #9bcbd9; }
.hero h1 { max-width: 690px; margin-bottom: 18px; }
.hero-invite { display: block; margin-top: .14em; font-size: .82em; }
.hero-promise { max-width: 680px; margin-bottom: 0; color: #d8e3e7; font-size: clamp(18px, 1.7vw, 21px); }
.hero-promise strong { color: var(--white); }

.hero-photo {
  grid-area: photo;
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 7px solid rgb(255 253 248 / 92%);
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 50px rgb(5 25 34 / 30%);
  transform: rotate(1deg);
}

.hero-photo img { width: 100%; height: 535px; object-fit: cover; object-position: 50% 43%; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 780;
  text-decoration: none;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.button-primary:hover { border-color: #154457; background: #154457; }
.hero .button-primary { border-color: #f7fbfc; background: #f7fbfc; color: var(--accent-dark); }
.hero .button-primary:hover { background: var(--accent-soft); }
.button-secondary { background: transparent; color: var(--accent-dark); }
.button-secondary:hover { background: var(--accent-soft); }
.hero .button-secondary { border-color: #a9ccd7; color: #fff; }
.hero .button-secondary:hover { background: rgb(255 255 255 / 10%); }
.button-secondary-on-dark { border-color: #b4d2db; background: transparent; color: #fff; }
.button-secondary-on-dark:hover { background: rgb(255 255 255 / 10%); }

.consent-slot:empty { display: none; }

.consent-slot {
  margin-top: 16px;
}

.consent-slot .i365-consent {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 20px 24px;
  overflow: visible !important;
  border: 1px solid #c9d9df !important;
  border-radius: var(--radius-md) !important;
  background: var(--paper) !important;
  box-shadow: none !important;
  color: var(--ink) !important;
}

.consent-slot .i365-consent__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.consent-slot .i365-consent h2 { margin: 0 0 5px; font-family: inherit; font-size: 18px; }
.consent-slot .i365-consent p { max-width: 720px; margin: 0; color: var(--muted); font-size: 14px; }
.consent-slot .i365-consent a { color: var(--accent-dark); font-size: 13px; }
.consent-slot .i365-consent__actions { display: flex; gap: 8px; margin: 0; }
.consent-slot .i365-consent__action {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 780;
}
.consent-slot .i365-consent__action:hover,
.consent-slot .i365-consent__action:focus-visible { background: var(--accent-soft); }
.consent-slot .i365-consent__preferences .i365-consent__actions { margin-top: 14px; }
.consent-slot .i365-consent__category { border-color: var(--line); }
.consent-slot .i365-consent__status { min-height: 0; margin-top: 8px; color: #8d2b24; font-weight: 700; }
.status-message { margin-top: 10px; color: var(--muted); font-size: 13px; }

.section {
  margin-top: 22px;
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.section-soft { background: linear-gradient(150deg, #fdfbf5 0%, #eef5f6 100%); }
.section-heading { max-width: 820px; margin-bottom: 30px; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 17px; }

.terms-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.term { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.term:nth-child(-n+2) { border-top: 0; }
.term-number { color: var(--warm); font-family: Georgia, serif; font-size: 18px; font-weight: 760; }
.term p { margin-bottom: 0; color: var(--muted); }

.quote { max-width: 820px; margin: 34px 0 0; padding: 22px 26px; border-left: 4px solid var(--warm); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--warm-soft); }
.quote blockquote { margin-bottom: 9px; font-family: Georgia, serif; font-size: 19px; line-height: 1.45; }
.quote figcaption, .case-quote figcaption { color: var(--muted); font-size: 13px; }
.quote a, .case-quote a { color: var(--accent-dark); }
.quote-inline { margin-top: 22px; }

.task-list { border-top: 1px solid #cad8dc; }
.task-list details, .faq-list details { border-bottom: 1px solid #cad8dc; }
.task-list summary, .faq-list summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; font-weight: 760; list-style: none; }
.task-list summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.task-list summary::after, .faq-list summary::after { content: "+"; flex: 0 0 auto; color: var(--accent); font-size: 24px; font-weight: 400; }
.task-list details[open] summary::after, .faq-list details[open] summary::after { content: "−"; }
.task-list details p, .faq-list details p { max-width: 820px; margin: -3px 40px 18px 0; color: var(--muted); }
.next-step { margin-top: 28px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: var(--radius-md); background: var(--accent-soft); }
.next-step p { margin: 0; }
.text-link, .footer-button { padding: 0; border: 0; background: transparent; cursor: pointer; color: var(--accent-dark); font-weight: 780; text-decoration: underline; text-underline-offset: 4px; }

.process-list { max-width: 860px; margin: 0; padding: 0; list-style: none; counter-reset: process; }
.process-list li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding-bottom: 25px; }
.process-list li:not(:last-child)::before { content: ""; position: absolute; top: 44px; bottom: 4px; left: 23px; width: 1px; background: #b9ced5; }
.process-list li > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 820; }
.process-list p { margin-bottom: 0; color: var(--muted); }

.section-dark { border-color: #2a576a; background: linear-gradient(145deg, #102f3c, #17485c); color: #f7fbfc; box-shadow: 0 25px 60px rgb(16 47 60 / 17%); }
.section-dark .section-heading > p:last-child { color: #c9d9df; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 16px; }
.case-card { min-width: 0; overflow: hidden; border: 1px solid rgb(255 255 255 / 17%); border-radius: var(--radius-md); background: #fffdf8; color: var(--ink); box-shadow: 0 15px 35px rgb(6 29 39 / 14%); }
.case-image, .comparison { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #d7e0e2; }
.comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; }
.comparison figure { position: relative; min-width: 0; margin: 0; overflow: hidden; }
.comparison figure + figure { border-left: 2px solid #fff; }
.comparison img { width: 100%; height: 100%; object-fit: cover; }
.comparison figcaption { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; background: rgb(16 47 60 / 88%); color: #fff; font-size: 12px; font-weight: 760; }
.case-body { padding: 22px; }
.case-tag { margin-bottom: 10px; color: var(--accent); font-size: 11px; font-weight: 820; letter-spacing: .09em; text-transform: uppercase; }
.case-body dl { margin-bottom: 0; }
.case-body dt { margin-top: 13px; color: var(--accent-dark); font-size: 12px; font-weight: 820; text-transform: uppercase; }
.case-body dd { color: var(--muted); font-size: 14px; }
.case-source { margin: 17px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.case-quote { margin: 18px 0 0; padding: 15px; border-radius: var(--radius-sm); background: var(--warm-soft); }
.case-quote blockquote { margin-bottom: 7px; font-size: 14px; }

.person-section { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(34px, 6vw, 72px); }
.person-photo { overflow: hidden; margin: 0; border-radius: 22px; background: #e4e1d8; transform: rotate(-1deg); }
.person-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.person-photo figcaption { padding: 10px 14px; color: var(--muted); font-size: 12px; }
.work-gallery-head { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: -18px 0 -18px; }
.work-gallery-head h3 { margin: 0; }
.work-gallery-head span { display: none; color: var(--muted); font-size: 12px; }
.work-gallery { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; outline: none; }
.work-gallery:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 12px; }
.work-gallery-card { overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.work-gallery-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.work-gallery-card figcaption { padding: 10px 12px 12px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.person-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.fact-list { margin: 26px 0; padding: 0; list-style: none; }
.fact-list li { position: relative; margin-top: 11px; padding-left: 24px; }
.fact-list li::before { content: ""; position: absolute; top: .55em; left: 0; width: 9px; height: 9px; border: 2px solid var(--accent); border-radius: 50%; }
.source-links { display: flex; flex-wrap: wrap; gap: 9px 18px; }
.source-links a { color: var(--accent-dark); font-weight: 730; text-underline-offset: 3px; }

.faq-list { border-top: 1px solid #cad8dc; }
.faq-list summary { font-size: 17px; }

.contact-section { border-color: #315c6c; background: linear-gradient(135deg, #102f3c, #17485c); color: #fff; box-shadow: 0 25px 60px rgb(16 47 60 / 18%); }
.contact-section > div { max-width: 760px; margin-inline: auto; text-align: center; }
.contact-section h2 { max-width: 760px; }
.contact-section > div > p:not(.eyebrow) { max-width: 720px; color: #cbdbe0; }
.contact-section .actions { justify-content: center; }
.contact-note { margin: 16px 0 0; font-size: 13px; }

.site-footer { margin-top: 24px; padding: 34px 0 110px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 36px; }
.footer-grid p { margin: 5px 0 0; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; font-size: 13px; }

.legal-page {
  max-width: 860px;
  margin-top: 42px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.legal-page h1 { max-width: 760px; font-size: clamp(34px, 5vw, 58px); hyphens: auto; overflow-wrap: break-word; }
.legal-page h2 { margin-top: 42px; font-size: clamp(25px, 3vw, 34px); }
.legal-page p, .legal-page li { max-width: 760px; }
.legal-page a { color: var(--accent-dark); }
.legal-date { color: var(--muted); }
.legal-footer { padding-bottom: 40px; }
.footer-links [aria-current="page"] { text-decoration-thickness: 2px; }

.mobile-bar {
  position: fixed;
  z-index: 20;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  padding: 8px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border: 1px solid #c9d6da;
  border-radius: 20px;
  background: rgb(255 253 248 / 95%);
  box-shadow: 0 15px 40px rgb(23 72 92 / 22%);
  backdrop-filter: blur(12px);
}

.mobile-bar[hidden] { display: none !important; }
.mobile-bar .button { min-height: 48px; padding-inline: 12px; }

.channel-dialog {
  width: min(520px, calc(100% - 28px));
  max-height: min(720px, calc(100dvh - 32px));
  margin: auto;
  padding: 26px;
  border: 1px solid #b9ccd3;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 90px rgb(8 35 46 / 35%);
}

.channel-dialog::backdrop { background: rgb(8 28 37 / 58%); backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dialog-head h2 { margin-bottom: 0; font-size: 30px; }
.dialog-close { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; color: var(--accent-dark); font-size: 28px; line-height: 1; }
.channel-dialog > p { color: var(--muted); }
.channel-list { display: grid; gap: 9px; }
.channel-list a, .channel-disabled { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 16px; border: 1px solid #c7d6dc; border-radius: var(--radius-sm); text-decoration: none; }
.channel-list a:hover { border-color: var(--accent); background: var(--accent-soft); }
.channel-list span span, .channel-list a span { color: var(--muted); font-size: 13px; text-align: right; }
.channel-disabled { opacity: .62; }
.dialog-note { margin: 18px 0 0; font-size: 14px; }
.dialog-note a { color: var(--accent-dark); font-weight: 760; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 20px 36px; padding: 40px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card { display: grid; grid-template-columns: minmax(220px, .78fr) minmax(0, 1.22fr); }
  .case-image, .comparison { height: 100%; aspect-ratio: auto; }
  .terms-list { grid-template-columns: 1fr; }
  .term:nth-child(2) { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .shell, .section-shell { width: min(100% - 24px, var(--shell)); }
  .header-row { min-height: 52px; }
  .brand { gap: 7px; }
  .brand strong { font-size: 13px; }
  .brand span { font-size: 11px; }
  .header-phone:not(.header-back-link) { font-size: 0; }
  .header-phone:not(.header-back-link)::after { content: "Позвонить"; font-size: 13px; }

  .hero { margin-top: 12px; border-radius: 22px; }
  .hero-grid {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    padding: 22px 20px 20px;
  }
  .hero-main { align-self: auto; }
  .hero h1 { max-width: 350px; margin-bottom: 12px; font-size: clamp(35px, 10.3vw, 43px); line-height: 1.02; }
  .hero-invite { margin-top: .18em; font-size: .76em; white-space: nowrap; }
  .hero-promise { max-width: 350px; font-size: 16px; line-height: 1.4; }
  .hero .eyebrow { max-width: 330px; margin-bottom: 9px; font-size: 10px; line-height: 1.4; }

  .hero-photo {
    order: 1;
    overflow: hidden;
    border: 4px solid rgb(255 253 248 / 92%);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 14px 34px rgb(5 25 34 / 25%);
    transform: none;
  }
  .hero-photo img { width: 100%; height: clamp(205px, 57vw, 230px); object-fit: cover; object-position: 50% 37%; }
  .hero-actions { order: 2; display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .hero-actions .button { width: 100%; padding-inline: 12px; }
  .hero-micro { order: 3; font-size: 12px; line-height: 1.42; }

  .consent-slot .i365-consent { padding: 18px !important; }
  .consent-slot .i365-consent__summary { grid-template-columns: 1fr; gap: 14px; }
  .consent-slot .i365-consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .consent-slot .i365-consent__action { min-height: 48px; padding: 8px 10px; line-height: 1.2; }

  .section { margin-top: 16px; padding: 30px 20px; border-radius: 22px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading > p:last-child { font-size: 15px; }
  h2 { font-size: 31px; }
  h3 { font-size: 18px; }

  .term { grid-template-columns: 34px minmax(0, 1fr); gap: 9px; padding: 17px 0; }
  .term p { font-size: 14px; }
  .quote { margin-top: 24px; padding: 18px 18px; }
  .quote blockquote { font-size: 17px; }

  .task-list summary, .faq-list summary { min-height: 61px; font-size: 15px; line-height: 1.35; }
  .task-list details p, .faq-list details p { margin-right: 28px; font-size: 14px; }
  .next-step { display: block; padding: 18px; }
  .next-step .text-link { margin-top: 8px; }

  .process-list li { grid-template-columns: 42px minmax(0, 1fr); gap: 13px; }
  .process-list li > span { width: 42px; height: 42px; }
  .process-list li:not(:last-child)::before { top: 39px; left: 20px; }
  .process-list p { font-size: 14px; }

  .case-grid { display: grid; grid-template-columns: 1fr; }
  .case-card { display: block; }
  .case-image, .comparison { width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .case-body { padding: 20px; }

  .person-section { display: flex; flex-direction: column; align-items: stretch; gap: 27px; }
  .person-photo { max-height: none; }
  .person-photo img { aspect-ratio: 1; object-position: center; }
  .person-copy > p:not(.eyebrow) { font-size: 15px; }
  .source-links { gap: 9px 15px; }

  .work-gallery-head { width: 100%; margin: -2px 0 -12px; }
  .work-gallery-head span { display: inline; }

  .work-gallery {
    width: calc(100% + 20px);
    display: flex;
    gap: 12px;
    margin: -2px -20px 0 0;
    padding: 0 20px 8px 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
  }
  .work-gallery-card { min-width: min(76vw, 285px); scroll-snap-align: start; }
  .work-gallery-card img { aspect-ratio: 4 / 3; }

  .contact-section .actions { display: grid; grid-template-columns: 1fr 1fr; }

  .footer-grid { display: block; }
  .footer-links { margin-top: 20px; display: grid; justify-content: start; }
  .site-footer { padding-bottom: 100px; }
  .mobile-bar { display: grid; }
}

@media (max-width: 374px) {
  .shell, .section-shell { width: calc(100% - 18px); }
  .hero-grid { padding-inline: 17px; }
  .hero h1 { font-size: 34px; }
  .hero-invite { font-size: .74em; }
  .hero-photo img { height: 198px; }
  .consent-slot .i365-consent__actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
