.aa-home-services.section, .aa-home-support.section {
  --aa-rail-gutter: calc(5% + max(0px, (100% - 1440px) / 2));
  max-width: none;
  padding-inline: 0;
}
.aa-home-services.section { padding-top: 28px; padding-bottom: 10px; }
.aa-home-support.section { padding-top: clamp(30px, 4vw, 60px); padding-bottom: 34px; }
.aa-home-support .section-heading { margin-inline: var(--aa-rail-gutter); }
.aa-home-support .section-heading h2 { margin-block: 0; }
.aa-home-rail-track {
  --aa-track-inset: calc(var(--aa-rail-gutter) + 2px);
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 2px var(--aa-track-inset) 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--aa-track-inset);
  scrollbar-color: #8aa895 transparent;
}
.aa-home-rail-track > li {
  flex: 0 0 clamp(235px, 30%, 390px);
  min-width: 0;
  scroll-snap-align: start;
}
.aa-home-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
}
.aa-home-card:hover :is(strong, h4) { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.aa-home-card:focus-visible { outline-offset: -3px; }
.aa-home-card-image { display:flex; align-items:center; overflow:hidden; aspect-ratio: 16 / 9; background:#e6eee4; }
.aa-home-card-image > span {
  flex: 0 0 100%;
  aspect-ratio: 1;
  background: url("/_home/carousel-scenes.webp?v=1") var(--aa-photo-x) var(--aa-photo-y) / 400% 200% no-repeat;
}
.aa-home-card-copy { display: grid; gap: 5px; padding: 14px 16px 17px; line-height: 1.4; }
.aa-home-card-copy :is(strong, h4) { margin: 0; font: 700 clamp(17px, 2vw, 21px)/1.2 Manrope,Arial,sans-serif; }
.aa-home-card-copy > span { color: var(--muted); }
.aa-home-rail-controls { display: flex; gap: 8px; justify-content: flex-end; margin: 6px var(--aa-rail-gutter) 0; }
.aa-home-rail-controls[hidden] { display: none; }
.aa-home-rail-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.aa-home-rail-controls button:hover:not(:disabled) { background: var(--lime); }
.aa-home-rail-controls button:disabled { opacity: .4; cursor: default; }
.home-risks.aa-home-risks {
  max-width: none;
  margin-block: 15px 0;
  padding: clamp(30px, 4.5vw, 64px) 5%;
  background: #e6eee4;
}
.aa-home-risk-inner { max-width: 1280px; margin-inline: auto; }
.aa-home-risk-inner .section-heading h2 { margin: 0; }
.aa-home-risk-inner > p { max-width: 65ch; font-size: 16px; margin-bottom: 20px; }
.home-risks.aa-home-risks .risk-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border: 0;
  background: transparent;
}
.home-risks.aa-home-risks .risk-grid > a,
.home-risks.aa-home-risks .risk-grid > a:last-child {
  display: flex;
  flex-direction: column;
  grid-column: auto;
  min-height: 0;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.aa-home-risks .risk-grid h3 { margin: 8px 0; }
.aa-home-risks .risk-grid p { margin: 0 0 10px; font-size: 15px; }
.aa-home-risks .risk-grid .arrow { margin-top: auto; padding-top: 6px; }
.aa-home-risk-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 8px;
}
.aa-home-risk-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aa-home-risk-photo-focus img {
  transform: scale(1.58);
  transform-origin: right 24%;
}
@media (max-width: 720px) {
  .home-risks.aa-home-risks .risk-grid { grid-template-columns: minmax(0, 1fr); }
}
.discovery-grid .growth-discovery p { color: var(--ink); }
@media(max-width: 720px) {
  .aa-home-services.section { padding-top: 20px; }
  .aa-home-rail-track { gap: 12px; }
  .aa-home-rail-track > li { flex-basis: min(78%, 330px); }
  .aa-home-card-copy { padding: 12px 13px 14px; }
}
@media (max-width: 650px) {
  .aa-home-services.section, .aa-home-support.section { --aa-rail-gutter: 6%; }
}

.journey-showcase {
  --aa-rail-gutter: 6%;
  position: relative;
  isolation: isolate;
  padding-inline: 0;
  grid-template-columns: minmax(0, 1fr);
  background: #e9f0e4;
}
.journey-showcase::before, .journey-showcase::after {
  content: "";
  position: absolute;
  inset-block: 0;
  z-index: -1;
  width: 65%;
}
.journey-showcase::before {
  left: 0;
  background: url("/images/salad.jpg") center / cover no-repeat;
  mask-image: linear-gradient(90deg, #000, transparent);
  opacity: .16;
}
.journey-showcase::after {
  right: 0;
  background: url("/images/chicken.jpg") center / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000);
  opacity: .29;
}
.journey-copy { padding-inline: var(--aa-rail-gutter); }
.journey-copy p { max-width: 39ch; }
.aa-menu-rail { min-width: 0; }
.aa-menu-rail .aa-home-rail-track {
  --aa-track-inset: calc(var(--aa-rail-gutter) + 3px);
  padding-block: 6px 15px;
  align-items: stretch;
}
.aa-menu-rail .aa-home-rail-track > li { flex-basis: clamp(220px, 45%, 275px); }
@media (min-width: 851px) {
  .aa-menu-rail .aa-home-rail-track > li { flex-basis: clamp(275px, 36%, 440px); }
}
.aa-menu-screen { height: 100%; }
.aa-menu-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px 10px;
  padding: 13px 16px;
  background: #103d2f;
  color: white;
  font-size: .76rem;
}
.aa-menu-brand b { letter-spacing: .12em; }
.aa-menu-brand span { color: #dcf4a5; font-weight: 700; }
.aa-menu-photo { display: block; width: 100%; height: 114px; object-fit: cover; }
.aa-menu-content { padding: 17px 16px 21px; }
.aa-menu-content h3 { margin: 0 0 11px; font-size: 1.12rem; line-height: 1.2; }
.aa-menu-content ul { list-style: none; margin: 0; padding: 0; }
.aa-menu-content li { display: grid; gap: 4px; padding: 10px 0; border-top: 1px solid var(--line); }
.aa-menu-content strong { font-size: .9rem; line-height: 1.25; }
.aa-menu-content li span { color: #086449; font-size: .8rem; }

.qr-menu-integrations.section {
  max-width: none;
  margin-inline: 0;
  padding-block: clamp(30px, 5vw, 66px);
  padding-inline: max(6%, calc((100% - 1280px) / 2));
  background: #103d2f;
  color: #fff;
}
.qr-menu-integrations h2, .qr-menu-integrations p { color: #fff; }
.qr-menu-integrations p { max-width: 65ch; }
.qr-menu-integrations .eyebrow { color: #dcf4a5; }
.qr-menu-integrations .btn { background: #dcf4a5; color: #103d2f; }
.qr-menu-integrations .btn:hover { background: #fff; color: #103d2f; }
.qr-menu-integrations .btn:focus-visible { outline: 2px solid white; outline-offset: 4px; }

@media (max-width: 850px) {
  .journey-showcase::before, .journey-showcase::after { width: 75%; }
  .journey-copy p { margin-inline: auto; }
}
@media (max-width: 520px) {
  .aa-menu-rail .aa-home-rail-track > li { flex-basis: min(82%, 275px); }
}

.aa-home-community {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
  width: min(90%, 1280px);
  margin: clamp(24px, 4vw, 52px) auto;
  scroll-margin-top: 96px;
  background: #e7efe3;
  border-radius: 16px;
  overflow: hidden;
}
.aa-home-community > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  object-position: center;
}
.aa-home-community-copy {
  align-self: center;
  padding: clamp(24px, 4vw, 56px);
}
.aa-home-community h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3.25vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.aa-home-community p {
  max-width: 40ch;
  margin: 0 0 20px;
  font-size: 1rem;
}
.aa-home-community .btn {
  background: #103d2f;
  color: #fff;
  white-space: normal;
  text-align: center;
}
.aa-home-community .btn:hover { background: #235b43; color: #fff; }
.aa-home-community .btn:focus-visible { outline: 2px solid #103d2f; outline-offset: 4px; }
.aa-home-community + .community-invitation:not(.community-photo-invitation) { display: none; }

@media (max-width: 650px) {
  .aa-home-community { width: 88%; grid-template-columns: minmax(0, 1fr); }
  .aa-home-community > img { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
}


.aa-home-diner {
  --aa-rail-gutter: max(5%, calc((100% - 1296px) / 2));
  padding-block: clamp(24px, 4vw, 52px);
  background: #102e25;
  color: #fff;
  scroll-margin-block-start: 90px;
}
.aa-home-diner-heading, .aa-home-diner-footer { margin-inline: var(--aa-rail-gutter); }
.aa-home-diner-heading { margin-block-end: 17px; }
.aa-home-diner-heading h2 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  line-height: 1.13;
}
.aa-home-diner-heading p { color: #fff; margin: 7px 0 0; }
.aa-home-diner-footer { margin-block-start: 10px; }
.aa-home-diner-footer .btn { background: #dcf4a5; color: #103d2f; }
.aa-diner-rail .aa-home-rail-track { scrollbar-width: none; }
.aa-diner-rail .aa-home-rail-track::-webkit-scrollbar { display: none; }
.aa-diner-rail .aa-home-rail-track > li { flex-basis: clamp(260px, 35%, 500px); }
@media (max-width: 640px) {
  .aa-diner-rail .aa-home-rail-track > li { flex-basis: min(86%, 345px); }
}
.aih-diner-step {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
}
.aih-step-copy h3 { font-size: clamp(1.05rem, 2.2vw, 1.42rem); line-height: 1.18; margin: 0 0 5px; }
.aih-step-copy p { margin: 0; font-size: 1rem; line-height: 1.45; }
.aih-diner-step {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #dce5d8;
  border-radius: 14px;
  background: white;
  color: #103d2f;
  text-decoration: none;
}
.aih-member-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.aih-member-card > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.aih-member-card > div, .aih-step-copy { padding: 13px 15px 16px; }
.aih-member-card h3, .aih-step-copy h3 { font-size: clamp(1.05rem, 2.2vw, 1.42rem); line-height: 1.18; margin: 0 0 5px; }
.aih-member-card p, .aih-step-copy p { margin: 0; color: #47634f; font-size: .94rem; line-height: 1.45; }
.aih-diner-step {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  --aih-screen-width: min(84cqw, 340px);
  border: 0;
  background: #183b2d;
  color: white;
}
.aih-diner-step .aih-step-copy {
  position: relative;
  flex: 1;
  padding: 15px 17px 19px;
  background: #fcfbf7;
}
.aih-diner-step .aih-step-copy h3,
.aih-diner-step .aih-step-copy p { color: #103d2f; }
.aih-step-visual { min-height: calc(var(--aih-screen-width) * 1.694915254 + 12px); }
.aih-step-qr-frame,
.aih-journey-screen-link { position: absolute; inset: 0; }
.aih-step-qr-frame { z-index: -1; }
.aih-step-qr-frame .aih-qr-scene { --aih-photo-x: 78%; }
.aih-journey-screen-link:focus-visible { outline: 3px solid #def4aa; outline-offset: -5px; }
.aih-journey-screen-link .aih-qr-scene {
  --aih-photo-x: 64%;
  --aih-photo-y: 46%;
}
.aih-journey-screen-link .aih-qr-plane {
  width: calc(max(100cqw, 150cqh) * 1.32);
}
.aih-journey-screen-link-menu .aih-qr-scene {
  --aih-photo-x: 57%;
  --aih-photo-y: 48%;
}
.aih-journey-screen-link-menu .aih-qr-plane {
  width: calc(max(100cqw, 150cqh) * 1.58);
  rotate: -2deg;
}
.aih-qr-display {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* Project the interfaces over the source panes, then clip to the photographed glass. */
.aih-phone-display-mask {
  clip-path: polygon(52.28% 31.25%, 67.83% 32.23%, 67.25% 40.04%, 66.37% 51.76%,
    65.51% 63.48%, 64.84% 73.24%, 49.35% 71.09%, 49.87% 63.48%,
    50.72% 51.76%, 51.63% 40.04%);
}
.aih-camera-display-mask {
  clip-path: polygon(52.6% 27.54%, 68.1% 28.42%, 67.25% 40.04%, 66.37% 51.76%,
    65.51% 63.48%, 64.58% 76.25%, 49.09% 73.93%, 49.87% 63.48%,
    50.72% 51.76%, 51.63% 40.04%);
}
.aih-phone-content {
  width: 472px;
  height: 800px;
  background: #104c37;
  transform-origin: 0 0;
  transform: matrix3d(.459214024435, .001753407669, 0, -.00005924705186,
    -.062428478051, .511471860139, 0, -.00000653644304, 0, 0, 1, 0, 800, 318, 0, 1);
}
.aih-phone-content > img {
  display: block;
  width: 100%;
  height: 100%;
  clip-path: inset(0 round 12px 12px 0 0);
}
.aih-qr-camera-preview {
  position: relative;
  width: 472px;
  height: 960px;
  overflow: hidden;
  background: #111 url("https://community.anyallergies.com/assets/table-qr-scan-detail.webp") -1900px -562px / 2640px auto no-repeat;
  transform-origin: 0 0;
  transform: matrix3d(.447659041886, -.000518604686, 0, -.00006800833784,
    -.058704268417, .497519587578, 0, -.00000326800056, 0, 0, 1, 0, 805, 279, 0, 1);
}
.aih-qr-camera-preview::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 155px;
  background: linear-gradient(0deg, #111 20%, #111c 55%, transparent);
}
.aih-camera-focus { position: absolute; top: 350px; left: 85px; width: 302px; height: 302px; }
.aih-camera-shutter {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 50%;
  width: 65px;
  height: 65px;
  border: 3px solid white;
  border-radius: 50%;
  background: white;
  box-shadow: inset 0 0 0 4px #171717;
  transform: translateX(-50%);
}
.aih-qr-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: size;
  --aih-photo-x: 64%;
  --aih-photo-y: 50%;
}
.aih-qr-plane {
  position: absolute;
  left: var(--aih-photo-x);
  top: var(--aih-photo-y);
  width: max(100cqw, 150cqh);
  aspect-ratio: 3 / 2;
  transform: translate(calc(-1 * var(--aih-photo-x)), calc(-1 * var(--aih-photo-y)));
}
.aih-qr-photo { display: block; width: 100%; height: 100%; }
.aih-qr-logo-card {
  position: absolute;
  display: block;
  pointer-events: none;
}
.aih-qr-logo-card { top: 46.3%; left: 76.2%; width: 11.6%; transform: rotate(5deg) skewX(-7deg); }
.aih-qr-logo-card img { display: block; width: 100%; height: auto; }
.aih-camera-card-logo {
  position: absolute;
  left: 108px;
  top: 253px;
  width: 305px;
  transform: rotate(5deg) skewX(-7deg);
  pointer-events: none;
}
.aih-camera-card-logo img { display: block; width: 100%; height: auto; }
