:root {
  --ink: #17172b;
  --ink-soft: #45465a;
  --paper: #f8efe4;
  --paper-2: #fffaf0;
  --line: rgba(23, 23, 43, 0.13);
  --burgundy: #84283d;
  --burgundy-dark: #4f1726;
  --gold: #bf9347;
  --sage: #657a61;
  --night: #11121d;
  --shadow: 0 20px 60px rgba(32, 23, 27, 0.14);
  --max: 1180px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 10px 14px 10px 18px;
  border: 1px solid rgba(255, 250, 240, 0.7);
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 0 12px 34px rgba(32, 23, 27, 0.11);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.paw {
  position: relative;
  width: 32px;
  height: 30px;
  flex: 0 0 auto;
  color: var(--burgundy);
}

.paw i,
.paw b {
  position: absolute;
  display: block;
  background: currentColor;
}

.paw i {
  width: 8px;
  height: 12px;
  border-radius: 999px;
}

.paw i:nth-child(1) { left: 1px; top: 9px; transform: rotate(-25deg); }
.paw i:nth-child(2) { left: 8px; top: 1px; transform: rotate(-7deg); }
.paw i:nth-child(3) { left: 18px; top: 1px; transform: rotate(7deg); }
.paw i:nth-child(4) { right: 1px; top: 9px; transform: rotate(25deg); }

.paw b {
  left: 8px;
  bottom: 1px;
  width: 18px;
  height: 15px;
  border-radius: 48% 48% 56% 56%;
  transform: rotate(45deg);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.nav a {
  padding: 10px 12px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  text-decoration: none;
  white-space: nowrap;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--burgundy);
  border-radius: 7px;
  color: var(--burgundy-dark);
  background: transparent;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.btn-primary,
.btn-small {
  color: #fffaf0;
  background: var(--burgundy);
  box-shadow: 0 14px 28px rgba(132, 40, 61, 0.22);
}

.btn-secondary {
  background: rgba(255, 250, 240, 0.7);
}

.btn-small {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 0.92rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 82px;
  background:
    radial-gradient(circle at 88% 18%, rgba(191, 147, 71, 0.23), transparent 26%),
    linear-gradient(135deg, var(--paper-2) 0%, var(--paper) 58%, #e9dac7 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(132, 40, 61, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 40, 61, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.45;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: clamp(34px, 5.6vw, 72px);
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.made-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 9px 12px;
  border: 1px solid rgba(132, 40, 61, 0.2);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.78);
  color: var(--burgundy-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.austria-flag {
  width: 34px;
  height: 22px;
  display: grid;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(23, 23, 43, 0.12);
}

.austria-flag i:nth-child(1),
.austria-flag i:nth-child(3) {
  background: #ed2939;
}

.austria-flag i:nth-child(2) {
  background: #fff;
}

.austria-flag.mini {
  width: 26px;
  height: 17px;
}

.kicker,
.eyebrow {
  margin: 0 0 14px;
  color: var(--burgundy);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-family: var(--sans);
  font-size: clamp(3rem, 5.2vw, 5.45rem);
  font-weight: 950;
  line-height: 0.97;
}

h2 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.4vw, 4.6rem);
  font-weight: 760;
  line-height: 0.98;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.14rem;
  line-height: 1.2;
}

.lead,
.section-lead {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 16px;
}

.microline {
  margin-bottom: 22px;
  color: var(--burgundy-dark);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.45;
}

.metric-row,
.infographic-row,
.question-grid,
.fact-grid,
.program-grid,
.family-grid,
.visual-card-grid {
  display: grid;
  gap: 12px;
}

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

.metric-row span,
.infographic-row article,
.question-grid span,
.before-after div,
.fact-grid article,
.support-list span,
.qr-card-grid article,
.program-grid article,
.family-grid article,
.access-points span {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 12px 30px rgba(32, 23, 27, 0.08);
}

.metric-row span {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 13px;
}

.metric-row b,
.fact-grid b {
  font-size: clamp(1.38rem, 2.5vw, 2rem);
  line-height: 1;
}

.metric-row small,
.fact-grid small {
  color: var(--ink-soft);
  font-weight: 760;
  line-height: 1.25;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: end;
}

.photo-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--night);
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-photo img {
  max-height: 650px;
}

.app-phone {
  width: 100%;
  border: 9px solid #10111b;
  border-radius: 32px;
  background: #fffaf0;
  box-shadow: 0 28px 76px rgba(11, 12, 19, 0.3);
}

.hero-phone {
  padding: 18px;
  transform: rotate(2deg);
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
}

.phone-status i {
  width: 62px;
  height: 6px;
  border-radius: 999px;
  background: #10111b;
}

.app-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.app-title strong {
  font-size: 1.35rem;
  font-weight: 950;
}

.app-card,
.scenario-card {
  padding: 14px;
  border-radius: 15px;
  background: #efe1cf;
}

.app-card b,
.app-card small,
.scenario-card span,
.scenario-card b {
  display: block;
}

.app-card small {
  margin-top: 5px;
  color: var(--ink-soft);
}

.app-grid,
.moment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.app-grid button,
.moment-grid article {
  min-height: 48px;
  padding: 9px;
  border: 1px solid rgba(23, 23, 43, 0.1);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
}

.scenario-card {
  margin-top: 12px;
  color: #fffaf0;
  background: linear-gradient(135deg, var(--burgundy), #24121a);
}

.scenario-card span {
  opacity: 0.78;
  font-size: 0.78rem;
  font-weight: 800;
}

.scenario-card b {
  margin: 5px 0 8px;
  font-size: 1.1rem;
}

.scenario-card ol {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 20px;
  font-size: 0.84rem;
  line-height: 1.25;
}

.section {
  padding: 92px 0;
}

.strip {
  padding: 34px 0 82px;
}

.infographic-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.infographic-row article {
  position: relative;
  min-height: 210px;
  padding: 22px;
}

.infographic-row article::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 48px;
  width: 36px;
  height: 2px;
  background: var(--burgundy);
}

.infographic-row article:last-child::after {
  display: none;
}

.infographic-row span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #fffaf0;
  background: var(--burgundy);
  font-weight: 900;
}

.infographic-row p,
.moment-grid small,
.program-grid span,
.family-grid span,
.qr-card-grid span,
.visual-card-grid p,
.protocol-card li {
  color: var(--ink-soft);
  line-height: 1.45;
}

.two-col,
.app-grid-section,
.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.question-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0;
}

.question-grid span {
  padding: 14px;
  font-weight: 800;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.before-after div {
  padding: 16px;
}

.before-after div:first-child {
  border-left: 4px solid var(--gold);
}

.before-after div:last-child {
  border-left: 4px solid var(--burgundy);
}

.before-after b {
  display: block;
  margin-bottom: 6px;
}

.before-after p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.42;
}

.app-section,
.protocol-section,
.wellness-section {
  background: var(--paper-2);
}

.app-phone-large {
  max-width: 430px;
  justify-self: center;
  padding: 22px;
}

.moment-grid article {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 5px;
}

.moment-grid b,
.moment-grid small {
  display: block;
}

.flow {
  display: grid;
  grid-template-columns: auto 36px auto 36px auto 36px auto;
  align-items: center;
  gap: 8px;
  margin: 28px 0;
}

.flow span {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  color: #fffaf0;
  background: var(--night);
  font-size: 0.86rem;
  font-weight: 850;
}

.flow i {
  height: 2px;
  background: var(--burgundy);
}

.accent {
  margin: 24px 0 0;
  color: var(--burgundy-dark);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  font-weight: 760;
  line-height: 1.1;
}

.accent.center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.place-cloud,
.support-list,
.access-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.place-cloud span,
.support-list span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf0;
  font-weight: 800;
}

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

.fact-grid article {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 15px;
}

.protocol-card,
.lead-form,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 250, 240, 0.86);
  box-shadow: var(--shadow);
}

.protocol-card {
  padding: clamp(24px, 4vw, 38px);
}

.protocol-card small {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #fffaf0;
  background: var(--sage);
  font-weight: 850;
  text-transform: uppercase;
}

.protocol-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.protocol-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.qr-section {
  background: #f0e3d3;
}

.section-head {
  max-width: 850px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head p {
  color: var(--ink-soft);
  line-height: 1.55;
}

.qr-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.qr-graphic {
  position: relative;
  aspect-ratio: 1;
  border: 12px solid #fffaf0;
  border-radius: 10px;
  background:
    linear-gradient(90deg, var(--night) 22%, transparent 22% 42%, var(--night) 42% 63%, transparent 63% 80%, var(--night) 80%) 0 0 / 74px 74px,
    linear-gradient(var(--night) 22%, transparent 22% 42%, var(--night) 42% 63%, transparent 63% 80%, var(--night) 80%) 0 0 / 74px 74px,
    #fffaf0;
  box-shadow: var(--shadow);
}

.qr-graphic i {
  position: absolute;
  width: 62px;
  height: 62px;
  border: 10px solid var(--burgundy);
  background: #fffaf0;
}

.qr-graphic i:nth-child(1) { top: 18px; left: 18px; }
.qr-graphic i:nth-child(2) { top: 18px; right: 18px; }
.qr-graphic i:nth-child(3) { bottom: 18px; left: 18px; }

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

.qr-card-grid article,
.program-grid article,
.family-grid article {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.qr-card-grid b,
.program-grid b,
.family-grid b {
  font-size: 1.02rem;
}

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

.visual-card-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffaf0;
  box-shadow: var(--shadow);
}

.visual-card-grid img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  background: var(--night);
}

.visual-card-grid h3,
.visual-card-grid p {
  margin-left: 18px;
  margin-right: 18px;
}

.visual-card-grid h3 {
  margin-top: 18px;
}

.visual-card-grid p {
  margin-bottom: 20px;
}

.photo-pair {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 14px;
  align-items: start;
}

.photo-pair img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--night);
  box-shadow: var(--shadow);
}

.photo-pair img:nth-child(2) {
  margin-top: 46px;
}

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

.honest-line {
  max-width: 850px;
  margin: 28px auto 0;
  padding: 16px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.8);
  color: var(--ink-soft);
  line-height: 1.5;
}

.access-section {
  color: #fffaf0;
  background:
    linear-gradient(120deg, rgba(17, 18, 29, 0.88), rgba(79, 23, 38, 0.88)),
    url("assets/references/hotel-booking-with-pet.png") center / cover;
}

.access-section .eyebrow,
.access-section h2,
.access-section .section-lead {
  color: #fffaf0;
}

.access-points span {
  padding: 12px 14px;
  color: #fffaf0;
  background: rgba(255, 250, 240, 0.13);
  font-weight: 800;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  background: rgba(255, 250, 240, 0.95);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 23, 43, 0.18);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}

.form-note,
.form-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.45;
}

.form-status:not(:empty) {
  padding: 10px 12px;
  border-radius: 7px;
  color: #31563e;
  background: rgba(101, 122, 97, 0.14);
  font-weight: 800;
}

.footer {
  padding: 34px 0;
  color: #fffaf0;
  background: var(--night);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand-light {
  color: #fffaf0;
}

.brand-light .paw {
  color: var(--gold);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer a {
  color: rgba(255, 250, 240, 0.84);
  text-decoration: none;
}

.lead-modal {
  width: min(540px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #fffaf0;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
}

.lead-modal::backdrop {
  background: rgba(17, 18, 29, 0.58);
  backdrop-filter: blur(6px);
}

.modal-copy {
  padding: 32px 32px 0;
}

.modal-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 6vw, 3rem);
}

.modal-copy p:last-child {
  color: var(--ink-soft);
  line-height: 1.55;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(23, 23, 43, 0.16);
  border-radius: 50%;
  background: #fffaf0;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
}

.lead-form.compact {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.legal-page {
  min-height: 100vh;
}

.legal-hero {
  padding: 90px 0 48px;
  background: linear-gradient(120deg, var(--paper-2), var(--paper));
}

.legal-content {
  padding: 48px 0 90px;
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 52px);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft);
  line-height: 1.58;
}

.legal-card .updated {
  color: var(--burgundy);
  font-weight: 850;
}

@media (max-width: 1080px) {
  .site-header {
    width: 100%;
    border-left: 0;
    border-right: 0;
  }

  .nav {
    display: none;
  }

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

  .hero-grid,
  .two-col,
  .app-grid-section,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  }

  .infographic-row,
  .visual-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .infographic-row article::after {
    display: none;
  }

  .qr-layout {
    grid-template-columns: 1fr;
  }

  .qr-graphic {
    width: min(240px, 100%);
    margin: 0 auto;
  }

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

  .reverse .photo-frame {
    order: 2;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    position: sticky;
    min-height: 0;
    padding: 10px 12px;
    gap: 10px;
  }

  .brand {
    font-size: 1.35rem;
  }

  .site-header .btn-small {
    max-width: 156px;
    white-space: normal;
    font-size: 0.82rem;
  }

  .hero {
    padding: 34px 0 58px;
  }

  .hero::before {
    opacity: 0.25;
  }

  h1 {
    font-size: clamp(2.36rem, 11vw, 3.45rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(2.05rem, 10vw, 3.35rem);
  }

  .lead,
  .section-lead {
    font-size: 1rem;
  }

  .made-badge {
    width: 100%;
    align-items: flex-start;
    border-radius: 8px;
    line-height: 1.25;
  }

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

  .metric-row,
  .question-grid,
  .before-after,
  .fact-grid,
  .infographic-row,
  .visual-card-grid,
  .qr-card-grid,
  .program-grid,
  .family-grid,
  .photo-pair {
    grid-template-columns: 1fr;
  }

  .metric-row span {
    min-height: 70px;
  }

  .hero-visual {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-phone {
    transform: none;
  }

  .app-phone {
    border-width: 7px;
    border-radius: 24px;
  }

  .hero-phone,
  .app-phone-large {
    padding: 14px;
  }

  .app-grid,
  .moment-grid {
    gap: 8px;
  }

  .moment-grid article {
    min-height: 70px;
  }

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

  .flow i {
    width: 2px;
    height: 20px;
    justify-self: center;
  }

  .section {
    padding: 70px 0;
  }

  .strip {
    padding: 40px 0 58px;
  }

  .infographic-row article {
    min-height: 0;
    padding: 18px;
  }

  .photo-frame img,
  .visual-card-grid img,
  .photo-pair img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .photo-pair img:nth-child(2) {
    margin-top: 0;
  }

  .section-head {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer nav {
    justify-content: start;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 22px, var(--max));
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-header .btn-small {
    width: 100%;
    max-width: none;
  }

  .hero {
    padding-top: 24px;
  }

  h1 {
    font-size: clamp(2.18rem, 12vw, 3rem);
  }

  .microline {
    font-size: 0.9rem;
  }

  .app-grid button {
    min-height: 44px;
    padding: 8px;
    font-size: 0.86rem;
  }

  .moment-grid article {
    padding: 10px;
  }

  .lead-form,
  .protocol-card {
    padding: 18px;
  }

  .modal-copy {
    padding: 28px 20px 0;
  }

  .lead-modal {
    width: calc(100% - 18px);
  }
}
