/* Own Visa v5 implementation candidate, based on the approved corrected concept.
   No remote fonts, imports, tracker pixels or animation dependency. */
:root {
  color-scheme: light;
  --paper: #fbf7cc;
  --paper-deep: #f2edb9;
  --ink: #122f24;
  --muted: #475044;
  --red: #b71d20;
  --rule: #b5b78f;
  --white: #fffdf2;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--serif); font-size: 1.125rem; line-height: 1.58; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
button, input, textarea, select { font: inherit; }
input, select, textarea { min-width: 0; }
button, summary { cursor: pointer; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: .06em; }
a:hover { color: var(--red); }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--red); outline-offset: 4px; border-radius: 2px;
}
button:disabled, fieldset:disabled { cursor: default; }
p, ul, ol, figure { margin: 0 0 1.2rem; }
h1, h2, h3 { margin: 0 0 1rem; line-height: 1.06; font-weight: 600; letter-spacing: -.042em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 4.8vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.2vw, 3.6rem); }
h3 { font-size: clamp(1.45rem, 2.1vw, 2.25rem); }
li { margin-bottom: .6rem; }
main, .masthead, .site-footer { max-width: 1440px; margin-inline: auto; }
main { padding-inline: clamp(1.1rem, 3.1vw, 3.1rem); }
.skip-link { position: absolute; z-index: 20; left: 1rem; top: -10rem; padding: 1rem; background: var(--white); }
.skip-link:focus { top: 1rem; }
.masthead { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3.5rem); padding: 1.25rem clamp(1.1rem, 3.1vw, 3.1rem); border-bottom: 1px solid var(--rule); }
.brand { position: relative; display: inline-flex; flex-direction: column; flex: 0 0 auto; text-decoration: none; font-size: 4.6rem; line-height: .85; letter-spacing: -.07em; font-weight: 700; }
.brand > span { position: relative; padding-right: .15em; }
.brand svg { position: absolute; width: .36em; height: .44em; right: -.17em; top: -.13em; overflow: visible; fill: var(--red); }
.brand small { padding: .5rem 0 0 .38rem; font-family: var(--sans); font-size: .91rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.desktop-nav { flex: 1; }
.desktop-nav ul, .site-footer nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 1.5rem; list-style: none; padding: 0; margin: 0; }
.desktop-nav li, .site-footer nav li { margin: 0; }
.desktop-nav a { display: block; padding: .6rem 0; font-size: 1rem; text-decoration: none; }
.desktop-nav a[aria-current=page] { text-decoration: underline; text-decoration-color: var(--red); }
.masthead-note { flex: 0 0 auto; margin: 0; border-left: 1px solid var(--rule); padding-left: 1.25rem; text-transform: uppercase; font-family: var(--sans); font-size: .67rem; letter-spacing: .05em; line-height: 1.55; }
.mobile-nav { display: none; }
.eyebrow { font-family: var(--sans); font-size: .75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .11em; line-height: 1.55; }
.food-image { display: block; position: relative; overflow: hidden; background: var(--paper-deep); aspect-ratio: 1; }
.food-image > img { width: 100%; height: 100%; object-fit: cover; }
/* Parent's 2x3 atlas: the real bitmap stays intact; only its chosen cell is shown.
   Inline positions/sizes derive exclusively from validated integer atlas values. */
.atlas-image > img { position: absolute; max-width: none; object-fit: fill; }
/* Keep atlas cells square even where ordinary single photographs use a wide crop. */
.food-image.atlas-image { aspect-ratio: 1 !important; }
.home-hero { min-height: 540px; position: relative; isolation: isolate; margin-inline: calc(-1 * clamp(1.1rem, 3.1vw, 3.1rem)); border-bottom: 1px solid var(--rule); }
.hero-food { position: absolute; z-index: -1; inset: 0 0 0 31%; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.05fr); gap: .45rem; }
.hero-plate { height: 100%; aspect-ratio: auto; clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%); }
.hero-plate img { object-position: 55% 50%; }
.hero-sides { display: grid; grid-template-rows: 1fr 1fr; min-height: 0; gap: .45rem; }
.hero-sides .food-image { aspect-ratio: auto; min-height: 0; }
.hero-copy { max-width: 53%; padding: 3.3rem 0 3.8rem clamp(1.1rem, 3.1vw, 3.1rem); }
.hero-copy h1 { font-size: clamp(3.5rem, 6.2vw, 6.45rem); line-height: .94; margin-block: 1.1rem 1.4rem; }
.hero-deck { max-width: 23rem; font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1.24; }
.hero-recipe { display: inline-block; max-width: 19rem; margin-top: .6rem; color: var(--red); font-size: 1.55rem; line-height: 1.12; font-weight: 700; }
.hero-recipe span { white-space: nowrap; }
.soup-feature { padding-block: 2.6rem 2.2rem; border-bottom: 1px solid var(--rule); }
.section-intro { display: grid; grid-template-columns: 1.6fr 1fr .75fr; gap: 1.7rem; align-items: start; margin-bottom: 1.2rem; }
.section-intro h2 { margin: 0; }
.section-intro > p { font-size: 1rem; margin: 0; }
.text-link { color: var(--red); line-height: 1.45; }
.section-intro .text-link { font-size: .95rem; }
.soup-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.soup-card { min-width: 0; }
.soup-card .food-image { margin-bottom: 1rem; aspect-ratio: 1.12; }
.soup-card h3 { margin-bottom: .5rem; }
.soup-card h3 a, .story-card h3 a { text-decoration: none; }
.soup-card p { margin-bottom: .15rem; font-size: 1rem; }
.arrow-link { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--red); font-size: 1.6rem; text-decoration: none; }
.planning-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); padding-block: 2.8rem; border-bottom: 1px solid var(--rule); }
.planning-strip > div > p:not(.eyebrow) { max-width: 35rem; }
.planning-links { display: grid; gap: 1.6rem; }
.planning-links .story-card { display: grid; grid-template-columns: minmax(5rem, 24%) minmax(0, 1fr) 44px; column-gap: 1.1rem; align-items: start; }
.planning-links .story-card > .food-image { grid-column: 1; grid-row: 1 / 4; }
.planning-links .story-card > h3, .planning-links .story-card > p { grid-column: 2; }
.planning-links .story-card h3 { font-size: 1.4rem; margin: 0 0 .4rem; }
.planning-links .story-card p { font-size: .98rem; margin: 0; }
.planning-links .story-card .arrow-link { grid-column: 3; grid-row: 1 / 4; }
.archive-cards { border-left: 1px solid var(--rule); padding-left: clamp(1.5rem, 3vw, 3rem); }
.archive-cards h2 { font-size: 2.3rem; }
.archive-cards .food-image { width: min(100%, 18rem); aspect-ratio: 1.35; margin-bottom: .7rem; }
.archive-cards ol { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.archive-cards li { border-block-start: 1px solid var(--rule); padding-block: .9rem; margin: 0; }
.archive-cards a { display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; font-size: 1.45rem; text-decoration: none; }
.archive-cards a span { color: var(--red); }
.image-note { margin: .6rem 0 0; font-family: var(--sans); font-size: .74rem; line-height: 1.5; color: var(--muted); }
.article-header { padding-block: 3.4rem; border-bottom: 1px solid var(--rule); }
.article-header.has-food { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.article-header.text-only { max-width: 61rem; }
.article-header h1 { margin-bottom: 1.3rem; }
.article-deck { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.45; margin: 0; }
.article-header figure { margin: 0; }
.article-header figure .food-image { aspect-ratio: 1.16; }
.article-header figure .atlas-image { width: min(100%, 25rem); max-height: none; }
.reading-layout { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 3fr); align-items: start; gap: clamp(2rem, 4vw, 4.5rem); padding-block: 3.1rem; }
.on-this-page { border-top: 2px solid var(--ink); padding-top: .8rem; }
.on-this-page > p { font-family: var(--sans); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.on-this-page ol { padding-left: 1.25rem; font-size: .96rem; }
.on-this-page a { text-decoration: none; }
.source-copy { min-width: 0; max-width: 76ch; }
.source-section { margin-bottom: 3rem; scroll-margin-top: 1.5rem; }
.source-section h2, .sources h2, .faq h2 { font-size: clamp(1.8rem, 2.4vw, 2.65rem); }
.source-section p, .source-list li, .recipe-steps li { overflow-wrap: anywhere; }
.source-section h2 { max-width: 25ch; }
.source-section p:last-child { margin-bottom: 0; }
.home-source-title { border-top: 1px solid var(--rule); padding-top: 1.6rem; margin-bottom: 2.5rem; }
.recipe-steps { padding-left: 2rem; }
.recipe-steps li { padding: 0 0 1rem .6rem; border-bottom: 1px solid var(--rule); }
.recipe-steps li::marker { color: var(--red); font-size: 1.6rem; }
.source-list { padding-left: 1.25rem; }
.planning-process { list-style: none; padding: 1.3rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; background: var(--paper-deep); margin-bottom: 2.5rem; counter-reset: step; }
.planning-process li { counter-increment: step; margin: 0; font-size: 1rem; line-height: 1.3; }
.planning-process li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: .5rem; color: var(--red); font-size: 1.65rem; }
.menu-table-wrap { width: 100%; min-width: 0; }
table { border-collapse: collapse; table-layout: fixed; width: 100%; font-size: 1.05rem; line-height: 1.55; }
caption { text-align: left; padding: 0 0 .6rem; font-size: .85rem; color: var(--muted); }
th, td { vertical-align: top; text-align: left; padding: 1.05rem 1.1rem; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
thead th { background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: .77rem; letter-spacing: .03em; }
th:first-child { width: 31%; }
tbody th { font-size: 1.18rem; line-height: 1.24; font-weight: 600; }
tbody tr:nth-child(even) { background: #fffdf35c; }
.sources { border-top: 1px solid var(--rule); margin-top: 2.5rem; padding-top: 1.5rem; }
.sources ol { font-size: .94rem; padding-left: 1.25rem; }
.sources a { overflow-wrap: anywhere; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem; }
.guide-grid .story-card { border-top: 2px solid var(--ink); padding-top: 1rem; }
.guide-grid .story-card h3 { font-size: 1.6rem; }
.guide-grid .story-card p { font-size: 1rem; margin-bottom: 0; }
.related { border-top: 1px solid var(--rule); padding-block: 2rem 3rem; }
.related h2 { font-size: 2.3rem; }
.related ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem 2rem; list-style: none; padding: 0; }
.related a { display: block; padding-block: .6rem; font-size: 1.08rem; }
.faq { padding-block: 2rem; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding-block: .9rem; }
.faq summary { font-size: 1.25rem; min-height: 44px; }
.faq details p { margin: 1rem 0 .3rem; }
.contact-box { padding: 1.5rem; border: 1px solid var(--rule); margin-block: 2rem; background: var(--white); }
.contact-box h2 { font-size: 2rem; }
.contact-notice { color: #174f73; }
.contact-box fieldset { min-width: 0; padding: 0; border: 0; }
.contact-box legend { font-family: var(--sans); font-size: .9rem; padding-block: .5rem; }
.contact-box label { display: grid; gap: .35rem; margin-block: 1rem; }
.contact-box input, .contact-box textarea, .contact-box select { display: block; width: 100%; min-height: 48px; padding: .7rem; border: 1px solid #717861; border-radius: 0; background: #fffefa; color: var(--ink); }
.contact-box textarea { resize: vertical; }
.contact-box button { min-height: 48px; padding: .8rem 1.2rem; color: var(--paper); background: var(--ink); border: 0; }
.contact-box button:disabled { background: #6b7468; }
.publisher-contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[role=status] { margin-top: 1rem; }
[data-contact-status=dry_run] { color: #174f73; }
[data-contact-status=uncertain], [data-contact-status=network_error], [data-contact-status=unavailable], [data-contact-status=rate_limited], [data-contact-status=invalid_form], [data-contact-status=too_large] { color: #9b1d22; }
.site-footer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4rem; border-top: 1px solid var(--rule); padding: 2.2rem clamp(1.1rem, 3.1vw, 3.1rem) 3rem; background: var(--paper-deep); }
.site-footer .brand { font-size: 3.5rem; align-self: start; }
.site-footer .brand small { font-size: .7rem; }
.site-footer p { max-width: 62rem; font-size: .95rem; margin-bottom: .7rem; }
.site-footer nav ul { justify-content: start; font-size: 1rem; margin-bottom: 1rem; }
.preview-note { font-family: var(--sans); font-size: .75rem !important; color: var(--muted); }
@media (max-width: 1100px) {
  .masthead { gap: 1.5rem; }
  .masthead-note { display: none; }
  .brand { font-size: 3.75rem; }
  .brand small { font-size: .75rem; }
  .hero-food { inset-inline-start: 27%; }
  .hero-copy { max-width: 58%; }
  .section-intro { grid-template-columns: 1.5fr 1fr; }
  .section-intro .text-link { grid-column: 2; }
}
@media (max-width: 760px) {
  body { font-size: 1.0625rem; }
  .masthead { justify-content: space-between; padding-block: 1rem; }
  .brand { font-size: 3.25rem; }
  .brand small { font-size: .65rem; padding-top: .4rem; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { display: flex; gap: .6rem; align-items: center; min-height: 44px; padding: .4rem; font-family: var(--sans); font-size: .85rem; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { font-size: 1.5rem; }
  .mobile-nav nav { position: absolute; z-index: 10; right: 0; top: 100%; width: min(18rem, 85vw); padding: .7rem 1.4rem; border: 1px solid var(--rule); background: var(--paper); }
  .mobile-nav ul { list-style: none; padding: 0; margin: 0; }
  .mobile-nav a { display: block; padding-block: .75rem; min-height: 44px; }
  .home-hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-food { position: static; display: block; z-index: 0; order: 0; }
  .hero-plate { height: auto; aspect-ratio: 1.3; clip-path: none; }
  .hero-sides { display: none; }
  .hero-copy { max-width: none; padding: 1.4rem clamp(1.1rem, 3.1vw, 3.1rem) 2rem; order: 1; }
  .hero-copy .eyebrow { font-size: .64rem; margin: 0; }
  .hero-copy h1 { font-size: clamp(2.65rem, 10vw, 4.4rem); margin-block: .75rem .95rem; }
  .hero-deck { max-width: 24rem; font-size: 1.25rem; margin-bottom: .75rem; }
  .hero-recipe { max-width: 24rem; font-size: 1.35rem; }
  .section-intro { display: block; }
  .section-intro h2 { margin-bottom: .8rem; }
  .section-intro > p { margin-bottom: .7rem; }
  .soup-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
  .soup-card { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr) 44px; gap: .2rem .9rem; border-bottom: 1px solid var(--rule); padding-bottom: 1rem; align-items: center; }
  .soup-card .food-image { grid-column: 1; grid-row: 1 / 4; aspect-ratio: 1; margin: 0; }
  .soup-card h3 { grid-column: 2; font-size: 1.3rem; margin: 0; }
  .soup-card p { grid-column: 2; font-size: .9rem; line-height: 1.4; }
  .soup-card .arrow-link { grid-column: 3; grid-row: 1 / 4; }
  .soup-card:first-child { display: block; }
  .soup-card:first-child .food-image { aspect-ratio: 1.25; margin-bottom: .9rem; }
  .soup-card:first-child h3 { font-size: 1.9rem; margin-bottom: .5rem; }
  .soup-card:first-child p { font-size: 1rem; }
  .planning-strip { display: block; padding-block: 2rem; }
  .planning-links { gap: 1.3rem; }
  .planning-links .story-card { grid-template-columns: 5rem minmax(0, 1fr) 44px; gap: .2rem .8rem; }
  .planning-links .story-card h3 { font-size: 1.25rem; }
  .planning-links .story-card p { font-size: .92rem; }
  .archive-cards { margin-top: 2rem; padding: 1.6rem 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .archive-cards h2 { font-size: 2rem; }
  .archive-cards .food-image { width: 11rem; }
  .archive-cards a { font-size: 1.3rem; }
  .article-header { padding-block: 2.1rem; }
  .article-header.has-food { display: flex; flex-direction: column; gap: 1.5rem; }
  .article-header.has-food > div, .article-header figure { width: 100%; }
  .article-header h1 { font-size: clamp(2.35rem, 8.4vw, 3.8rem); }
  .article-header figure .food-image { max-height: 330px; aspect-ratio: 1.3; }
  .article-header figure .atlas-image { width: min(100%, 330px); max-height: none; }
  .article-deck { font-size: 1.2rem; }
  .reading-layout { display: block; padding-block: 1.8rem; }
  .on-this-page { margin-bottom: 2rem; }
  .on-this-page ol { columns: 2; column-gap: 1.7rem; }
  .on-this-page li { break-inside: avoid; font-size: .92rem; line-height: 1.45; }
  .source-copy { max-width: none; }
  .source-section { margin-bottom: 2.5rem; }
  .source-section h2 { font-size: 1.85rem; }
  .planning-process { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1rem; }
  th, td { padding: .85rem .65rem; }
  table { font-size: 1rem; }
  th:first-child { width: 33%; }
  tbody th { font-size: 1.06rem; }
  thead th { font-size: .68rem; }
  .guide-grid { display: block; }
  .guide-grid .story-card { margin-top: 1.3rem; }
  .related ul { grid-template-columns: 1fr; gap: 0; }
  .related li { margin: 0; border-bottom: 1px solid var(--rule); }
  .contact-box { padding: 1rem; }
  .site-footer { display: block; padding-block: 2rem; }
  .site-footer .brand { margin-bottom: 1.6rem; font-size: 3.2rem; }
  .site-footer nav ul { gap: .5rem 1.3rem; }
}
@media (max-width: 390px) {
  main { padding-inline: 1rem; }
  .masthead, .site-footer { padding-inline: 1rem; }
  .home-hero { margin-inline: -1rem; }
  .hero-copy { padding-inline: 1rem; }
  .hero-copy h1 { font-size: 2.7rem; }
  .on-this-page ol { columns: 1; }
  .planning-links .story-card { grid-template-columns: 4.3rem minmax(0, 1fr) 44px; gap: .2rem .6rem; }
  .soup-card { grid-template-columns: 4.4rem minmax(0, 1fr) 44px; gap: .2rem .6rem; }
  .planning-process { gap: .9rem; }
  .contact-box { padding: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  body { background: #fff; color: #111; font-size: 11pt; }
  .masthead, .site-footer, .on-this-page, .related, .home-hero, .soup-feature, .planning-strip, .contact-box { display: none; }
  main { max-width: none; padding: 0; }
  .reading-layout { display: block; padding: 0; }
  .source-copy { max-width: none; }
  .source-section { break-inside: auto; }
  th, td { border-color: #777; }
  thead th { color: #111; background: #eee; }
  tr { break-inside: avoid; }
  .sources { display: block; }
  .faq details:not([open]) > *:not(summary) { display: block !important; }
}

/* Current original guide artwork retains its full landscape composition. */
.article-header [data-image-role^="article-"] { aspect-ratio:16/9; }
.source-lede {font-size:1.2rem;line-height:1.65;margin:0 0 2rem;}

/* Exact legacy inline geometry, external CSS only; no CSP relaxation. */
span.rg-atlas-00 { --atlas-x:0%;--atlas-y:0%; }
span.rg-atlas-10 { --atlas-x:100%;--atlas-y:0%; }
span.rg-atlas-01 { --atlas-x:0%;--atlas-y:50%; }
span.rg-atlas-11 { --atlas-x:100%;--atlas-y:50%; }
span.rg-atlas-02 { --atlas-x:0%;--atlas-y:100%; }
span.rg-atlas-12 { --atlas-x:100%;--atlas-y:100%; }
img.rg-object-center { object-position:50% 50%; }
.atlas-image > img.rg-sheet-12 { width:200%;height:300%;left:-100%;top:-200%; }
.atlas-image > img.rg-sheet-02 { width:200%;height:300%;left:0%;top:-200%; }
