/* Seasonal overrides retain all approved typography, spacing, photos and form rules. */
.season-row{display:flex;flex-wrap:wrap;gap:0 8px;align-items:center;padding:0;margin-block:0}
.season-row button{min-width:44px;min-height:44px;padding:8px 6px;cursor:pointer;font:inherit;font-size:.82rem;color:var(--muted)}
.season-row button[aria-pressed="true"]{border-bottom-color:var(--wine);color:var(--wine-dark);font-weight:700}
.season-row button:focus-visible{outline:3px solid var(--wine);outline-offset:-3px}
.season-row .season-auto{margin-left:auto}
@media(max-width:390px){.season-row{gap:0 4px}.season-row button{padding-inline:4px;font-size:.78rem}.season-row .season-auto{margin-left:0}}
:root[data-season="winter"]{
  --paper:#f6f9f8;
  --ink:#263b43;
  --muted:#485f69;
  --line:#a7bec4;
  --ground:#eaf3f3;
  --mat:#e0ecec;
  --note:#f0f6f5;
  --edge:#6c939e;
  --cover:#f6f9f8;
  --motif-autumn-header:url("seasons/winter/autumn-header.svg");
  --motif-cases-album-stamp:url("seasons/winter/cases-album-stamp.svg");
  --motif-catalog-herbarium:url("seasons/winter/catalog-herbarium.svg");
  --motif-corporate-acorns:url("seasons/winter/corporate-acorns.svg");
  --motif-examples-pressed-tabs:url("seasons/winter/examples-pressed-tabs.svg");
  --motif-faq-bookmark:url("seasons/winter/faq-bookmark.svg");
  --motif-footer-autumn-rain:url("seasons/winter/footer-autumn-rain.svg");
  --motif-order-fallen-leaf-route:url("seasons/winter/order-fallen-leaf-route.svg");
  --motif-quote-golden-light:url("seasons/winter/quote-golden-light.svg");
  --motif-sample-woodgrain:url("seasons/winter/sample-woodgrain.svg");
  --motif-sport-leaf-track:url("seasons/winter/sport-leaf-track.svg");
  --wardrobe-received:url("seasons/winter/participant-received.svg");
  --wardrobe-pending:url("seasons/winter/participant-pending.svg");
}
:root[data-season="spring"]{
  --paper:#fcf9f4;
  --ink:#343a2b;
  --muted:#536044;
  --line:#b8c3aa;
  --ground:#f7f4e9;
  --mat:#edf1e4;
  --note:#f8e8df;
  --edge:#7d9b6c;
  --cover:#fcf9f4;
  --motif-autumn-header:url("seasons/spring/autumn-header.svg");
  --motif-cases-album-stamp:url("seasons/spring/cases-album-stamp.svg");
  --motif-catalog-herbarium:url("seasons/spring/catalog-herbarium.svg");
  --motif-corporate-acorns:url("seasons/spring/corporate-acorns.svg");
  --motif-examples-pressed-tabs:url("seasons/spring/examples-pressed-tabs.svg");
  --motif-faq-bookmark:url("seasons/spring/faq-bookmark.svg");
  --motif-footer-autumn-rain:url("seasons/spring/footer-autumn-rain.svg");
  --motif-order-fallen-leaf-route:url("seasons/spring/order-fallen-leaf-route.svg");
  --motif-quote-golden-light:url("seasons/spring/quote-golden-light.svg");
  --motif-sample-woodgrain:url("seasons/spring/sample-woodgrain.svg");
  --motif-sport-leaf-track:url("seasons/spring/sport-leaf-track.svg");
  --wardrobe-received:url("seasons/spring/participant-received.svg");
  --wardrobe-pending:url("seasons/spring/participant-pending.svg");
}
:root[data-season="summer"]{
  --paper:#fcfaf1;
  --ink:#293e30;
  --muted:#49604b;
  --line:#b4c4a8;
  --ground:#f5f4df;
  --mat:#e8efd9;
  --note:#f1e3b9;
  --edge:#668b60;
  --cover:#fcfaf1;
  --motif-autumn-header:url("seasons/summer/autumn-header.svg");
  --motif-cases-album-stamp:url("seasons/summer/cases-album-stamp.svg");
  --motif-catalog-herbarium:url("seasons/summer/catalog-herbarium.svg");
  --motif-corporate-acorns:url("seasons/summer/corporate-acorns.svg");
  --motif-examples-pressed-tabs:url("seasons/summer/examples-pressed-tabs.svg");
  --motif-faq-bookmark:url("seasons/summer/faq-bookmark.svg");
  --motif-footer-autumn-rain:url("seasons/summer/footer-autumn-rain.svg");
  --motif-order-fallen-leaf-route:url("seasons/summer/order-fallen-leaf-route.svg");
  --motif-quote-golden-light:url("seasons/summer/quote-golden-light.svg");
  --motif-sample-woodgrain:url("seasons/summer/sample-woodgrain.svg");
  --motif-sport-leaf-track:url("seasons/summer/sport-leaf-track.svg");
  --wardrobe-received:url("seasons/summer/participant-received.svg");
  --wardrobe-pending:url("seasons/summer/participant-pending.svg");
}
:root:not([data-season="autumn"]) [data-season-motif="autumn-header.svg"]{content:var(--motif-autumn-header)}
:root:not([data-season="autumn"]) [data-season-motif="cases-album-stamp.svg"]{content:var(--motif-cases-album-stamp)}
:root:not([data-season="autumn"]) [data-season-motif="catalog-herbarium.svg"]{content:var(--motif-catalog-herbarium)}
:root:not([data-season="autumn"]) [data-season-motif="corporate-acorns.svg"]{content:var(--motif-corporate-acorns)}
:root:not([data-season="autumn"]) [data-season-motif="examples-pressed-tabs.svg"]{content:var(--motif-examples-pressed-tabs)}
:root:not([data-season="autumn"]) [data-season-motif="faq-bookmark.svg"]{content:var(--motif-faq-bookmark)}
:root:not([data-season="autumn"]) [data-season-motif="footer-autumn-rain.svg"]{content:var(--motif-footer-autumn-rain)}
:root:not([data-season="autumn"]) [data-season-motif="order-fallen-leaf-route.svg"]{content:var(--motif-order-fallen-leaf-route)}
:root:not([data-season="autumn"]) [data-season-motif="quote-golden-light.svg"]{content:var(--motif-quote-golden-light)}
:root:not([data-season="autumn"]) [data-season-motif="sample-woodgrain.svg"]{content:var(--motif-sample-woodgrain)}
:root:not([data-season="autumn"]) [data-season-motif="sport-leaf-track.svg"]{content:var(--motif-sport-leaf-track)}
:root:not([data-season="autumn"]) [data-season-wardrobe="received"]{content:var(--wardrobe-received)}
:root:not([data-season="autumn"]) [data-season-wardrobe="pending"]{content:var(--wardrobe-pending)}

:root:not([data-season="autumn"]) .season-bar{background:var(--note)}
:root:not([data-season="autumn"]) :is(.hero,.page-hero){background-color:var(--ground)}
:root:not([data-season="autumn"]) :is(.feedback-families,.feedback-choice,.feedback-reading,.feedback-faq,.feedback-award,.feedback-inquiry-card,.product-gallery,.real-cases,.case-gallery,.template-home #quote,.template-case .page-hero,.template-cases .page-hero){background-color:var(--note)}
:root:not([data-season="autumn"]) :is(.feedback-family-grid>a,.feedback-choice-grid>a,.feedback-article-grid>article,.passport,.article-index){background-color:var(--paper);border-color:var(--edge)}
:root:not([data-season="autumn"]) .order{background-color:var(--mat);border-top-color:var(--edge)}
:root:not([data-season="autumn"]) .quote{background-color:var(--note)}
:root[data-season="winter"]{--motif-card-accent:url("seasons/winter/card-accent.svg")}
:root[data-season="spring"]{--motif-card-accent:url("seasons/spring/card-accent.svg")}
:root[data-season="summer"]{--motif-card-accent:url("seasons/summer/card-accent.svg")}
:root:not([data-season="autumn"]) :is(.template-catalog .sample-copy,.real-case-card .sample-copy)::after{border:0;border-radius:0;background:var(--motif-card-accent) center/contain no-repeat;transform:none}
/* Existing sparse home hero placement, kept out of copy and actual medal photos. */
:root:not([data-season="autumn"]) .template-home .hero{background-image:var(--motif-autumn-header);background-repeat:no-repeat;background-position:right bottom;background-size:min(510px,75%) 54px}
:root:not([data-season="autumn"]) .template-home #catalog{background-image:var(--motif-catalog-herbarium);background-repeat:no-repeat;background-position:right top;background-size:min(440px,65%) 38px}
/* Consent remains separate from cookie settings and has a readable touch target. */
.stage-consent{min-height:44px;align-items:center;gap:12px;padding-block:8px;cursor:pointer}
.stage-consent input{width:22px;height:22px;flex:0 0 22px}
.privacy-settings{padding:16px 0;background:var(--paper);border-top:1px solid var(--line);color:var(--ink)}
.cookie-notice summary{min-height:44px;display:list-item;align-content:center;cursor:pointer;font-weight:650;width:fit-content;max-width:100%;padding:10px 6px}
.cookie-notice-content{max-width:80ch;padding-block:8px 16px;line-height:1.6}
.cookie-notice-content p{margin:0 0 12px}
.cookie-choices{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center}
.cookie-choices .quiet{min-height:44px;padding:8px 4px}
.cookie-notice a{text-underline-offset:3px}
.cookie-notice :is(button,a,summary):focus-visible{outline:3px solid var(--wine);outline-offset:3px}
.season-state{font-size:.75rem;color:var(--muted);min-width:0;flex-basis:100%;padding:0 6px 6px}
:root:not([data-season="autumn"]) .season-state{padding-right:150px;min-height:28px;background:var(--motif-autumn-header) right bottom/140px 24px no-repeat}
:root:not([data-season="autumn"]) .template-home #order{background-image:var(--motif-order-fallen-leaf-route);background-repeat:no-repeat;background-position:right bottom;background-size:min(420px,90%) 36px}
@media(max-width:390px){:root:not([data-season="autumn"]) .season-state{padding-right:90px;background-size:84px 24px;min-height:32px}}
.privacy-settings:has(.cookie-notice[hidden]){display:none}
html[data-cookie-choice="all"]:not([data-cookie-open="true"]) .privacy-settings,html[data-cookie-choice="necessary"]:not([data-cookie-open="true"]) .privacy-settings{display:none}
.cookie-notice{scroll-margin-top:calc(var(--header-measured,var(--header)) + 12px)}
.cookie-footer-tools{background:#2e2622;color:#fbf1e5;padding-block:8px}
.cookie-footer-tools form{margin:0}
.cookie-footer-tools .quiet{min-height:44px}
/* Shared case overrides remove old backgrounds; keep the seasonal cue in flow. */
:root:not([data-season="autumn"]) :is(.template-case .case-block,.feedback-case-row>.case-block)::before{content:"";display:block;width:min(240px,100%);height:32px;margin-bottom:12px;background:var(--motif-order-fallen-leaf-route) left center/contain no-repeat;pointer-events:none}
/* The related block has its own reserved cue above its heading, outside the grid. */
:root:not([data-season="autumn"]) .template-category :is(.route-related,.related)::before{content:"";display:block;width:min(220px,100%);height:34px;margin-top:12px;margin-bottom:12px;background:var(--motif-catalog-herbarium) left center/contain no-repeat;pointer-events:none}
/* The complete 420x60 footer drawing must fit narrow viewports without cropping. */
:root:not([data-season="autumn"]) footer{background-size:min(420px,100%) auto}

/* Motif scale follows source aspect ratio; the frame supplies the actual column edge. */
.feedback-families,.feedback-faq{--section-motif:var(--motif-corporate-acorns,url("corporate-acorns.svg"));--section-motif-width:clamp(220px,22vw,320px);--section-motif-ratio:360/72}
.feedback-choice{--section-motif:var(--motif-catalog-herbarium,url("catalog-herbarium.svg"));--section-motif-width:clamp(240px,26vw,380px);--section-motif-ratio:440/67}
.feedback-reading{--section-motif:var(--motif-faq-bookmark,url("faq-bookmark.svg"));--section-motif-width:clamp(88px,8vw,112px);--section-motif-ratio:185/109}
.feedback-award,.template-case .email-project-gallery{--section-motif:var(--motif-examples-pressed-tabs,url("examples-pressed-tabs.svg"));--section-motif-width:clamp(220px,24vw,340px);--section-motif-ratio:375/75}
.template-home #quote,.feedback-inquiry-card{--section-motif:var(--motif-quote-golden-light,url("quote-golden-light.svg"));--section-motif-width:clamp(220px,22vw,300px);--section-motif-ratio:325/74}
.template-home :is(#cases,#artworks),.template-cases .real-cases{--section-motif:var(--motif-cases-album-stamp,url("cases-album-stamp.svg"));--section-motif-width:clamp(84px,8vw,112px);--section-motif-ratio:150/110}
.template-home :is(#cases,#artworks),.feedback-reading,.feedback-families,.feedback-choice,.feedback-faq,.feedback-award,.template-home #quote,.template-cases .real-cases,.template-case .email-project-gallery,.feedback-inquiry-card{background-image:none;padding-bottom:32px}
:is(.feedback-reading,.feedback-families,.feedback-choice,.feedback-faq,.feedback-award,.template-cases .real-cases,.template-case .email-project-gallery)>.frame::after,.template-home :is(#cases,#artworks,#quote)>.frame::after,.feedback-inquiry-card::after{content:"";display:block;width:min(var(--section-motif-width),100%);aspect-ratio:var(--section-motif-ratio);margin:24px 0 0 auto;background:var(--section-motif) center/contain no-repeat;pointer-events:none}
.feedback-inquiry-card{padding-bottom:24px}
.template-home #quote>.quote-grid::after{grid-column:1/-1;margin-top:0}
@media(min-width:621px){.template-home #quote>.quote-grid{row-gap:24px}}
@media(max-width:620px){.template-home #quote>.quote-grid::after{margin-top:8px}}
:is(.template-category,.template-guide,.template-system,.template-article) .article-copy>h2::before,:is(.template-category,.template-guide,.template-article) .feedback-buyer-answer>h2::before{width:min(260px,100%);height:36px}

/* Compact nonmodal bottom notice: actions stay outside the scrollable copy. */
:root{--cookie-fallback-space:0px}
:root:has(.cookie-notice:not([hidden])){--cookie-fallback-space:256px}
html[data-cookie-choice="all"]:not([data-cookie-open="true"]),html[data-cookie-choice="necessary"]:not([data-cookie-open="true"]){--cookie-fallback-space:0px}
html{scroll-padding-bottom:calc(var(--cookie-measured-space,var(--cookie-fallback-space)) + 12px)}
body{padding-bottom:var(--cookie-measured-space,var(--cookie-fallback-space))}
.privacy-settings{position:fixed;z-index:10;inset:auto 16px 16px auto;width:min(560px,calc(100% - 32px));padding:0;border:1px solid var(--line);border-radius:8px;box-shadow:0 5px 22px #18231b26;overflow:visible;background:var(--paper)}
.privacy-settings>.frame{width:auto;max-width:none;margin:0;padding:0}
.cookie-notice{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;max-block-size:var(--cookie-popup-max,min(240px,50dvh));padding:12px 16px;scroll-margin:0}
.cookie-notice[hidden]{display:none}
.cookie-notice-title{margin:0;font-size:.875rem;font-weight:700;line-height:20px}
.cookie-notice-content{min-height:0;overflow:auto;overscroll-behavior:contain;max-width:none;padding:0;font-size:.875rem;line-height:1.45}
.cookie-notice-content p{margin:0}
.cookie-choices{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center;margin:0}
.cookie-choices :is(.button,.quiet){min-height:44px;padding:8px 10px;font-size:.875rem}
.cookie-notice-title:focus-visible{outline:2px solid var(--wine);outline-offset:2px}
/* Product-gallery artwork gets its own row, away from the intro label and photos. */
.product-gallery{background-image:none;--section-motif:var(--motif-examples-pressed-tabs,url("examples-pressed-tabs.svg"));--section-motif-width:clamp(220px,24vw,340px);--section-motif-ratio:375/75;padding-bottom:32px}
.product-gallery>.frame::after{content:"";display:block;width:min(var(--section-motif-width),100%);aspect-ratio:var(--section-motif-ratio);margin:24px 0 0 auto;background:var(--section-motif) center/contain no-repeat;pointer-events:none}
