.allergen-body { background: var(--cream); color: var(--black); }

.info-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 88px;
  padding: 10px max(24px, calc((100vw - 1220px) / 2));
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  background: rgb(11 9 8 / 97%);
  color: white;
}

.info-header .brand { justify-self: start; }
.info-header nav { display: flex; align-items: center; gap: 28px; }
.info-header nav a {
  color: rgb(255 255 255 / 62%);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}
.info-header nav a:hover,
.info-header nav a[aria-current="page"] { color: white; }
.info-header > .button { justify-self: end; }

.allergen-hero { padding: 108px 0 116px; background: var(--black); color: white; }
.allergen-hero__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, .75fr); gap: clamp(64px, 9vw, 132px); align-items: end; }
.allergen-hero .eyebrow { color: rgb(255 255 255 / 48%); }
.allergen-hero h1 { margin-top: 24px; max-width: 850px; font-size: clamp(5rem, 8.2vw, 8.8rem); }
.allergen-hero h1 em { color: var(--orange); font-weight: 400; }
.allergen-lead { max-width: 760px; margin-top: 34px; color: rgb(255 255 255 / 64%); font-size: 1.06rem; line-height: 1.75; }

.page-jumps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.page-jumps a {
  padding: 9px 14px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  color: rgb(255 255 255 / 72%);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}
.page-jumps a:hover { border-color: var(--orange); color: white; }

.safety-notice { padding: 36px; border-top: 3px solid var(--orange); background: var(--charcoal-2); }
.safety-notice__label { color: var(--orange); font-size: .62rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.safety-notice h2 { margin-top: 20px; font-size: clamp(2rem, 3.3vw, 3.4rem); line-height: 1; }
.safety-notice p:not(.safety-notice__label) { margin-top: 22px; color: rgb(255 255 255 / 65%); font-size: .84rem; }

.guide-section { padding: 124px 0; }
.guide-section--cream { background: var(--cream); }
.guide-section--dark { background: var(--charcoal); color: white; }
.guide-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .62fr); gap: 90px; align-items: end; }
.guide-heading h2 { margin-top: 18px; font-size: clamp(4.2rem, 7vw, 7.6rem); }
.guide-heading > p,
.guide-heading > div:last-child > p { color: rgb(11 9 8 / 62%); }
.guide-section--dark .eyebrow { color: rgb(255 255 255 / 44%); }
.guide-section--dark .guide-heading > div:last-child > p { color: rgb(255 255 255 / 58%); }

.choice-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 76px; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.choice-steps li { min-height: 290px; padding: 30px 40px 20px 0; border-right: 1px solid var(--line-dark); }
.choice-steps li + li { padding-left: 40px; }
.choice-steps li:last-child { border-right: 0; }
.choice-steps span { color: var(--fire); font-size: .63rem; font-weight: 900; letter-spacing: .14em; }
.choice-steps h3 { margin-top: 70px; font-size: clamp(2rem, 3vw, 3rem); }
.choice-steps p { margin-top: 18px; color: rgb(11 9 8 / 61%); font-size: .82rem; }

.source-link { display: inline-block; margin-top: 24px; color: var(--orange); font-size: .72rem; font-weight: 800; text-underline-offset: 5px; }
.allergen-list { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; padding: 0; border-top: 1px solid rgb(255 255 255 / 15%); border-left: 1px solid rgb(255 255 255 / 15%); list-style: none; }
.allergen-list li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; align-content: center; align-items: center; min-height: 210px; padding: 24px; border-right: 1px solid rgb(255 255 255 / 15%); border-bottom: 1px solid rgb(255 255 255 / 15%); }
.allergen-list li > span { grid-column: 1 / -1; display: block; color: var(--orange); font-size: .58rem; font-weight: 900; letter-spacing: .13em; }
.allergen-list img { width: 72px; height: 72px; border-radius: 50%; background: white; box-shadow: 0 10px 28px rgb(0 0 0 / 18%); }
.allergen-list strong { display: block; font-family: var(--serif); font-size: 1.48rem; font-weight: 400; line-height: 1.05; }
.allergen-list small { display: block; margin-top: 10px; color: rgb(255 255 255 / 44%); font-size: .67rem; line-height: 1.45; }
.allergen-icon-credit { margin-top: 28px; color: rgb(255 255 255 / 46%); font-size: .64rem; line-height: 1.65; }
.allergen-icon-credit a { color: rgb(255 255 255 / 72%); text-underline-offset: 4px; }

.dietary-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(480px, 1fr); gap: clamp(70px, 10vw, 150px); align-items: start; }
.dietary-intro { position: sticky; top: 140px; }
.dietary-intro h2 { margin-top: 18px; font-size: clamp(4rem, 6vw, 6.5rem); }
.dietary-intro > p:last-child { max-width: 570px; margin-top: 28px; color: rgb(11 9 8 / 60%); }
.dietary-definitions { border-top: 1px solid var(--line-dark); }
.dietary-definitions > div { display: grid; grid-template-columns: 160px 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line-dark); }
.dietary-definitions dt { font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; }
.dietary-definitions dd { color: rgb(11 9 8 / 61%); font-size: .82rem; }

.cross-contact { padding: 120px 0; background: #d8c4a5; }
.cross-contact__grid { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(330px, .58fr); gap: 55px; align-items: start; }
.cross-contact__number { color: var(--fire); font-family: var(--serif); font-size: 6.2rem; line-height: .8; }
.cross-contact h2 { margin-top: 18px; font-size: clamp(4rem, 6vw, 6.8rem); }
.cross-contact__grid > div:last-child { padding-top: 34px; }
.cross-contact__grid > div:last-child p { color: rgb(11 9 8 / 66%); }
.cross-contact__grid > div:last-child p + p { margin-top: 20px; color: var(--black); font-weight: 800; }

.allergen-cta { padding: 86px 0; background: var(--black); color: white; }
.allergen-cta__inner { display: grid; grid-template-columns: 1fr minmax(320px, .55fr) auto; gap: 70px; align-items: center; }
.allergen-cta .eyebrow { color: rgb(255 255 255 / 44%); }
.allergen-cta h2 { margin-top: 10px; font-size: clamp(3.4rem, 5vw, 5.4rem); }
.allergen-cta__inner > p { color: rgb(255 255 255 / 55%); font-size: .8rem; }

.info-footer { padding: 42px 0; background: #050404; color: white; }
.info-footer__grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.info-footer strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.info-footer p { margin-top: 3px; color: rgb(255 255 255 / 46%); font-size: .68rem; }
.info-footer nav { display: flex; gap: 26px; }
.info-footer a { color: rgb(255 255 255 / 62%); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.info-footer a:hover { color: white; }

@media (max-width: 980px) {
  .info-header { grid-template-columns: 1fr auto; }
  .info-header nav { display: none; }
  .allergen-hero__grid,
  .guide-heading,
  .dietary-layout { grid-template-columns: 1fr; }
  .dietary-intro { position: static; }
  .allergen-list { grid-template-columns: repeat(2, 1fr); }
  .cross-contact__grid { grid-template-columns: 80px 1fr; }
  .cross-contact__grid > div:last-child { grid-column: 2; }
  .allergen-cta__inner { grid-template-columns: 1fr auto; }
  .allergen-cta__inner > p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 700px) {
  .info-header { min-height: 72px; padding-inline: 18px; }
  .info-header .brand-name small { display: none; }
  .info-header > .button { min-height: 42px; padding-inline: 13px; font-size: .58rem; }
  .allergen-hero { padding: 72px 0 82px; }
  .allergen-hero__grid { gap: 52px; }
  .allergen-hero h1 { font-size: clamp(4rem, 18vw, 6rem); }
  .safety-notice { padding: 28px; }
  .guide-section { padding: 82px 0; }
  .guide-heading { gap: 30px; }
  .choice-steps { grid-template-columns: 1fr; margin-top: 52px; }
  .choice-steps li,
  .choice-steps li + li { min-height: 0; padding: 26px 0 34px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .choice-steps h3 { margin-top: 26px; }
  .allergen-list { grid-template-columns: 1fr; margin-top: 50px; }
  .allergen-list li { min-height: 150px; }
  .dietary-layout { gap: 54px; }
  .dietary-definitions > div { grid-template-columns: 1fr; gap: 12px; }
  .cross-contact { padding: 84px 0; }
  .cross-contact__grid { grid-template-columns: 1fr; gap: 30px; }
  .cross-contact__number { font-size: 4rem; }
  .cross-contact__grid > div:last-child { grid-column: 1; padding-top: 0; }
  .allergen-cta__inner { grid-template-columns: 1fr; gap: 26px; }
  .allergen-cta__inner > p { grid-column: 1; grid-row: auto; }
  .allergen-cta__inner .button { justify-self: start; }
  .info-footer__grid { align-items: flex-start; flex-direction: column; }
  .info-footer nav { flex-wrap: wrap; gap: 16px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .dietary-intro { position: static; }
}

/* Wide-screen and small-device refinements */
@media (min-width: 1440px) {
  :root { --shell: min(1500px, calc(100vw - 8vw)); }
  .info-header { padding-inline: max(40px, calc((100vw - 1640px) / 2)); }
  .allergen-hero h1 { max-width: 1080px; font-size: clamp(6rem, 7vw, 10rem); }
  .allergen-lead { max-width: 860px; }
  .guide-heading { gap: clamp(90px, 7vw, 150px); }
}

@media (min-width: 1900px) {
  :root { --shell: min(1680px, calc(100vw - 10vw)); }
  .info-header { padding-inline: max(56px, calc((100vw - 1840px) / 2)); }
  .allergen-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .guide-section { padding-block: 150px; }
  .choice-steps li { min-height: 320px; }
}

@media (min-width: 2400px) {
  :root { --shell: min(1780px, calc(100vw - 14vw)); }
  .allergen-hero h1 { font-size: clamp(7rem, 5vw, 10.5rem); }
  .allergen-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .page-jumps {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -16px;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
  .page-jumps::-webkit-scrollbar { display: none; }
  .page-jumps a { flex: 0 0 auto; min-height: 42px; display: inline-flex; align-items: center; }
  .allergen-cta__inner .button { width: 100%; }
}

@media (max-width: 480px) {
  :root { --shell: calc(100vw - 28px); }
  .info-header { padding-inline: 14px; }
  .info-header .brand { min-width: 0; }
  .info-header .brand-name strong { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .allergen-hero { padding: 62px 0 72px; }
  .allergen-hero h1 { font-size: clamp(3.6rem, 17vw, 5.2rem); }
  .allergen-lead { margin-top: 26px; font-size: 1rem; }
  .safety-notice { padding: 24px; }
  .guide-section { padding: 72px 0; }
  .guide-heading h2 { font-size: clamp(3.2rem, 14vw, 4.8rem); }
  .allergen-list li { grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 20px; }
  .allergen-list img { width: 58px; height: 58px; }
  .allergen-list strong { font-size: 1.3rem; }
  .dietary-intro h2, .cross-contact h2 { font-size: clamp(3.1rem, 14vw, 4.6rem); }
  .cross-contact { padding: 72px 0; }
  .allergen-cta { padding: 70px 0; }
  .allergen-cta h2 { font-size: clamp(3rem, 13vw, 4.2rem); }
  .info-footer { padding: 34px 0; }
}

@media (max-width: 360px) {
  :root { --shell: calc(100vw - 24px); }
  .info-header .brand-name strong { max-width: 135px; font-size: 1.05rem; }
  .info-header > .button { padding-inline: 10px; }
  .allergen-list li { grid-template-columns: 50px minmax(0, 1fr); }
  .allergen-list img { width: 50px; height: 50px; }
}

@media (pointer: coarse) {
  .info-header > .button,
  .page-jumps a,
  .allergen-cta .button { min-height: 44px; }
}
