/* Instagram extends the existing red, blue and gold storefront. */
body[data-page="instagram"] #main > #store-page-content { display: block; }
.instagram-page {
  --ig-text: #f3f5fc;
  --ig-muted: #bdcbe2;
  --ig-gold: #edc37c;
  --ig-blue: #79baff;
  min-width: 0;
  color: var(--ig-text);
  padding-bottom: 30px;
}
.instagram-page [hidden] { display: none !important; }
.instagram-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.instagram-page svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.instagram-page :is(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--ig-gold); outline-offset: 5px; }
.instagram-page ::selection { color: #141221; background: var(--ig-gold); }
.instagram-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 84px); padding: 18px 0 58px; }
.instagram-hero-copy { min-width: 0; }
.instagram-hero h1 { font: 700 clamp(56px, 7vw, 96px)/.98 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.instagram-hero-copy > p:not(.instagram-load-note) { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.8; max-width: 43ch; color: var(--ig-muted); margin: 24px 0 16px; }
.instagram-handle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; max-width: 100%; color: var(--ig-gold); font-size: 15px; font-weight: 650; }
.instagram-handle span { overflow-wrap: anywhere; min-width: 0; }
.instagram-handle:hover { text-decoration: underline; text-underline-offset: 5px; }
.instagram-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 21px; }
.instagram-actions .button { min-height: 50px; border-radius: 6px; font-size: 14px; padding: 13px 18px; }
.instagram-actions .button-outline { border-color: #9ab7df6b; }
.instagram-load-note { color: var(--ig-muted); font-size: 13px; line-height: 1.7; max-width: 52ch; margin-top: 15px; }
.instagram-identity { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 28px clamp(20px, 3vw, 42px) 25px; border-radius: 16px; overflow: hidden; background: linear-gradient(132deg, #552735 0%, #211c35 44%, #123a62 100%); box-shadow: 0 26px 56px #02071370; isolation: isolate; }
.instagram-identity::before { content: ''; position: absolute; inset: 14px; border: 1px solid #edc37c47; border-radius: 10px; pointer-events: none; z-index: -1; }
.instagram-logo-stage { display: grid; place-items: center; min-height: 230px; padding: 18px 0; }
.instagram-logo-stage img { width: 100%; height: auto; max-width: 460px; transform: rotate(-4deg); filter: drop-shadow(0 14px 14px #05051280); transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.instagram-identity-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 23px; border-top: 1px solid #edc37c47; color: #e3c9c6; font-size: 13px; line-height: 1.6; min-width: 0; }
.instagram-identity-caption > span { min-width: 0; }
.instagram-identity-caption strong { display: block; color: #f3ddae; font-size: clamp(14px, 1.6vw, 18px); font-weight: 650; margin-top: 3px; overflow-wrap: anywhere; }
.instagram-identity-caption > svg { color: var(--ig-gold); }
.instagram-feed-section, .instagram-preview { min-width: 0; padding-top: 38px; border-top: 1px solid #7f9abd40; scroll-margin-top: 125px; }
.instagram-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.instagram-section-heading > div { min-width: 0; }
.instagram-section-heading h2 { font: 700 clamp(32px, 4vw, 48px)/1.08 var(--display); letter-spacing: -.015em; }
.instagram-section-heading p { color: var(--ig-muted); font-size: 14px; line-height: 1.75; margin-top: 11px; max-width: 65ch; }
.instagram-text-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 3px; background: transparent; color: var(--ig-gold); font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #edc37c70; flex-shrink: 0; }
.instagram-text-button:hover { text-decoration-color: currentColor; }
.instagram-text-button:disabled { opacity: .65; }
.instagram-feed-status, .instagram-preview-status { font-size: 14px; line-height: 1.75; color: #d3def0; max-width: 70ch; }
.instagram-feed-status:empty { display: none; }
.instagram-feed-status:not(:empty) { margin-bottom: 18px; }
.instagram-feed-empty { padding: clamp(24px, 4vw, 45px); background: #10233b; border-radius: 12px; }
.instagram-feed-empty h3 { font: 700 clamp(25px, 3vw, 34px)/1.2 var(--display); }
.instagram-feed-empty p { font-size: 15px; line-height: 1.8; max-width: 60ch; color: var(--ig-muted); margin: 13px 0; }
.instagram-inline-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; max-width: 100%; color: var(--ig-gold); font-size: 14px; font-weight: 650; line-height: 1.6; text-decoration: underline; text-decoration-color: #edc37c66; text-underline-offset: 5px; }
.instagram-inline-link:hover { text-decoration-color: currentColor; }
.instagram-inline-link svg { width: 18px; height: 18px; }
.instagram-swipe-hint { font-size: 13px; line-height: 1.75; color: var(--ig-muted); max-width: 70ch; margin-bottom: 15px; }
.instagram-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(390px, 43%); gap: 22px; align-items: start; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 8px; padding: 8px 8px 22px; margin-inline: -8px; scrollbar-width: thin; scrollbar-color: #b6a36c #14253c; min-width: 0; }
.instagram-rail::-webkit-scrollbar { height: 7px; }
.instagram-rail::-webkit-scrollbar-track { background: #14253c; }
.instagram-rail::-webkit-scrollbar-thumb { background: #b6a36c; border-radius: 4px; }
.instagram-post { min-width: 0; scroll-snap-align: start; scroll-margin-inline: 8px; background: #101f35; border-radius: 12px; overflow: hidden; }
.instagram-post-heading { display: flex; justify-content: space-between; gap: 13px; flex-wrap: wrap; padding: 14px 18px; color: #c4d5ed; font-size: 12px; line-height: 1.5; }
.instagram-post-heading > span:last-child { color: #f0c897; }
.instagram-media { display: grid; place-items: center; position: relative; aspect-ratio: 4 / 5; background: #060d1b; overflow: hidden; }
.instagram-media:focus-visible { outline-offset: -5px; }
.instagram-media > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.instagram-media--missing { background: #182c49; }
.instagram-media-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; max-width: 28ch; padding: 28px; text-align: center; color: #e0d1b3; font-size: 15px; line-height: 1.7; }
.instagram-media-fallback > svg { width: 38px; height: 38px; }
.instagram-play { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-radius: 6px; background: #070d1eea; color: #f6dfb4; font-size: 14px; font-weight: 650; }
.instagram-post-copy { padding: 20px 19px 16px; }
.instagram-caption-text, .instagram-caption p { font-size: 14px; line-height: 1.85; color: #d8e2f2; white-space: pre-wrap; overflow-wrap: anywhere; }
.instagram-caption-text { margin-bottom: 12px; }
.instagram-caption { margin-bottom: 8px; }
.instagram-caption summary { min-height: 44px; padding: 10px 2px; color: #e0d5bf; cursor: pointer; font-size: 14px; line-height: 1.7; }
.instagram-caption p { padding: 10px 0 14px; }
.instagram-rail-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 14px 0 0; }
.instagram-rail-controls > span { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ig-muted); }
.instagram-rail-arrows { display: flex; gap: 10px; flex-shrink: 0; }
.instagram-arrow { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 10px; border: 1px solid #92aed050; border-radius: 50%; color: var(--ig-gold); background: #11233d; transition: background .2s ease, border-color .2s ease; }
.instagram-arrow:hover:not(:disabled) { background: #213c5c; border-color: var(--ig-gold); }
.instagram-arrow:disabled { opacity: .4; }
.instagram-preview { margin-top: 24px; padding-bottom: 24px; }
.instagram-embed-host { width: min(100%, 540px); min-width: 0; margin: 26px auto; }
.instagram-embed-host > :is(blockquote, iframe) { min-width: 0 !important; max-width: 100% !important; width: 100% !important; margin: 0 !important; }
.instagram-embed-host blockquote { padding: 32px 22px; color: var(--ig-muted); font-size: 15px; line-height: 1.8; background: #11243d; border-radius: 12px; }
.instagram-embed-host blockquote a { text-decoration: underline; text-underline-offset: 4px; }
.instagram-return { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #7f9abd40; margin-top: 50px; padding-top: 24px; }
.instagram-return p { font-size: 16px; line-height: 1.7; color: var(--ig-muted); }
@media (hover: hover) and (pointer: fine) {
  .instagram-identity:hover .instagram-logo-stage img { transform: rotate(0deg) translateY(-4px); }
}
@media (max-width: 900px) {
  .instagram-hero { gap: 30px; }
  .instagram-logo-stage { min-height: 175px; }
  .instagram-identity { padding: 24px; }
  .instagram-identity-caption { align-items: flex-start; }
  .instagram-actions .button { width: 100%; }
}
@media (max-width: 640px) {
  .instagram-hero { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 5px 0 36px; }
  .instagram-hero h1 { font-size: clamp(52px, 14vw, 76px); line-height: 1; }
  .instagram-hero-copy > p:not(.instagram-load-note) { margin-top: 19px; }
  .instagram-actions { margin-top: 17px; }
  .instagram-identity { width: 100%; padding: 20px 25px; }
  .instagram-logo-stage { min-height: 155px; padding: 13px 0; }
  .instagram-logo-stage img { max-width: 360px; }
  .instagram-identity-caption { padding-top: 16px; align-items: center; }
  .instagram-identity-caption strong { font-size: 16px; }
  .instagram-feed-section, .instagram-preview { padding-top: 28px; scroll-margin-top: 108px; }
  .instagram-section-heading { flex-wrap: wrap; gap: 9px; }
  .instagram-section-heading .instagram-text-button { padding-inline: 0; }
  .instagram-rail { grid-auto-columns: 90%; gap: 15px; }
  .instagram-post-heading { padding: 13px 15px; }
  .instagram-post-copy { padding: 17px 16px 13px; }
  .instagram-rail-controls { align-items: flex-start; }
  .instagram-rail-controls > span { padding-top: 10px; }
  .instagram-return { flex-wrap: wrap; gap: 5px; margin-top: 35px; }
}
@media (prefers-reduced-motion: reduce) {
  .instagram-page *, .instagram-page *::before, .instagram-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .instagram-identity .instagram-logo-stage img { transform: rotate(-4deg) !important; }
  .instagram-page .button:hover { transform: none; }
}
.motion-off .instagram-page *, .motion-off .instagram-page *::before, .motion-off .instagram-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.motion-off .instagram-identity .instagram-logo-stage img { transform: rotate(-4deg) !important; }
.motion-off .instagram-page .button:hover { transform: none; }
