/*
 * Atlasserie warm layer (v1.3).
 * The clean product-page foundation stays; this file gives it a kitchen of its own:
 * a spice-market palette, a soft serif for headlines, cultural patterns woven into
 * ribbons and covers, passport-stamp origins and spice-label chips, and a paper grain.
 * Loads after the theme, motion and plugin styles. Everything here reads tokens, so the
 * Dark style variation re-colours it without extra rules.
 */
:root {
	--atl-blue: var(--wp--preset--color--highlight, #B9461F);
	--atl-paprika: var(--wp--preset--color--highlight, #B9461F);
	--atl-paprika-deep: var(--wp--preset--color--link, #A33E1B);
	--atl-saffron: var(--wp--preset--color--saffron, #E2A23B);
	--atl-olive: var(--wp--preset--color--olive, #5E6D33);
	--atl-indigo: var(--wp--preset--color--indigo, #2D3A62);
	--atl-night: var(--wp--preset--color--night, #1C130E);
	--atl-cream: #FBF5EC;
	--atl-display: var(--wp--preset--font-family--display, Fraunces, Georgia, serif);
	--atl-serif-feel: "SOFT" 100, "WONK" 0;
	--atl-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .16 0 0 0 0 .1 0 0 0 .3 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
	--atl-brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 15 C60 6 120 5 180 9 S270 14 296 8' fill='none' stroke='%23E2A23B' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M30 20 C100 13 170 13 250 16' fill='none' stroke='%23E2A23B' stroke-width='3' stroke-linecap='round' opacity='.7'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ paper, type */
body {
	background-color: var(--wp--preset--color--paper);
	background-image: var(--atl-grain);
	background-size: 180px 180px;
}
:where(h1, h2, h3, h4, .wp-block-heading, .wp-block-site-title) { font-variation-settings: var(--atl-serif-feel); }
[class*="wp-block-atlasserie-"] :is(h1, h2, h3) { font-weight: 560; letter-spacing: -0.02em; }
::selection { background: color-mix(in srgb, var(--atl-saffron) 45%, transparent); }
:focus-visible { outline-color: color-mix(in srgb, var(--atl-paprika) 70%, transparent); }

/* eyebrows: a serif italic with a short saffron rule, like a chapter mark in a cookbook */
.atl-section-head .atl-eyebrow, .atl-eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font: italic 500 1.1875rem/1.2 var(--atl-display); letter-spacing: 0; color: var(--atl-paprika-deep);
	font-variation-settings: var(--atl-serif-feel);
}

.atl-section-head h2 { font-weight: 560; }
.atl-section-head p { color: var(--wp--preset--color--ink-soft); }

/* ------------------------------------------------------------------ masthead */
.atl-masthead { background: color-mix(in srgb, var(--wp--preset--color--paper) 82%, transparent); border-bottom-color: color-mix(in srgb, var(--wp--preset--color--ink) 10%, transparent); }
.atl-wordmark a { font-family: var(--atl-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.015em; }
.atl-wordmark a::before { width: 22px; height: 22px; background: var(--atl-paprika); }
.atl-nav .wp-block-navigation-item__content { font-weight: 500; }
.atl-nav .wp-block-navigation-item__content:hover { color: var(--atl-paprika-deep); }
.atl-nav .wp-block-navigation__submenu-container { background: color-mix(in srgb, var(--wp--preset--color--land) 96%, transparent) !important; }
.atl-search .wp-block-search__input, .atl-search-big .wp-block-search__input { background-color: var(--wp--preset--color--paper-deep); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--ink) 8%, transparent); }

/* ------------------------------------------------------------------ hero: warm night, serif title, brush-stroke word */
.atl-hero { background: var(--atl-night); color: var(--atl-cream); --atl-canvas: #F2B85A; }
.atl-hero--chart { background: radial-gradient(120% 90% at 50% 0%, #3A2418, var(--atl-night) 70%); }
.atl-hero__scrim {
	background:
		linear-gradient(to right, rgba(28, 19, 14, .7) 0%, rgba(28, 19, 14, .64) 48%, rgba(28, 19, 14, 0) 78%),
		linear-gradient(to top, rgba(28, 19, 14, .74) 0%, rgba(28, 19, 14, .26) 55%, rgba(28, 19, 14, .36) 100%),
		rgba(28, 19, 14, .32);
}
.atl-hero--home .atl-hero__scrim { background: linear-gradient(90deg, rgba(28, 19, 14, .92) 0%, rgba(28, 19, 14, .87) 50%, rgba(40, 22, 12, .62) 100%); }
.atl-hero--chart .atl-hero__scrim { background: none; }
.atl-hero__pattern { color: var(--atl-saffron); }
.atl-hero__title { font-family: var(--atl-display); font-weight: 560; letter-spacing: -0.025em; line-height: 1.02; color: var(--atl-cream); font-variation-settings: var(--atl-serif-feel); }
.atl-hero--home .atl-hero__title { font-size: clamp(2.9rem, 6vw, 5.6rem); }
.atl-hero__eyebrow, .atl-hero--home .atl-hero__eyebrow { font: italic 500 clamp(1.05rem, 1.4vw, 1.25rem)/1.2 var(--atl-display); letter-spacing: 0; color: var(--atl-cream); font-variation-settings: var(--atl-serif-feel); }
.atl-hero__rose, .atl-hero--home .atl-hero__rose { stroke: var(--atl-saffron); }
.atl-hero__lead { color: rgba(251, 245, 236, .88); }
.atl-hero__crumbs { color: rgba(251, 245, 236, .92); text-shadow: 0 1px 8px rgba(28, 19, 14, .6); }
.atl-hero__stats dd { font-family: var(--atl-display); font-weight: 560; color: var(--atl-cream); font-variation-settings: var(--atl-serif-feel); }
.atl-hero__stats dt { color: rgba(251, 245, 236, .74); }

.atl-hero__search input { background: rgba(251, 245, 236, .14); color: var(--atl-cream); }

/* the highlighted word: saffron italic, with a hand-painted brush stroke under it */
.atl-draw, .atl-js .atl-draw, .atl-js .is-in .atl-draw, .atl-js .atl-draw.is-in {
	font-style: italic; font-weight: 500; color: #F2B85A; -webkit-text-fill-color: currentColor;
	background: var(--atl-brush) 0 92% / 100% .32em no-repeat; padding: 0 .06em .04em;
	-webkit-background-clip: border-box; background-clip: border-box;
}
.atl-js .atl-draw { background-size: 0% .32em; transition: background-size 1.2s var(--atl-ease-out) .55s; }
.atl-js .is-in .atl-draw, .atl-js .atl-draw.is-in { background-size: 100% .32em; }
@keyframes atl-failsafe { to { opacity: 1; filter: none; transform: none; clip-path: none; background-size: 100% .32em; stroke-dashoffset: 0; } }

/* buttons */
.atl-hero .atl-btn--hero, .atl-btn--hero, .atl-btn--vol, .atl-btn--primary { background: var(--atl-paprika); color: #fff; box-shadow: 0 10px 24px -12px rgba(122, 46, 22, .7); }
.atl-hero .atl-btn--hero:hover, .atl-hero .atl-btn--hero:focus-visible, .atl-btn--vol:hover, .atl-btn--primary:hover { background: var(--atl-paprika-deep); color: #fff; }
.atl-hero .atl-btn--ghost, .atl-btn--ghost, .atl-hero .atl-btn--ghost:hover, .atl-hero .atl-btn--ghost:focus-visible { color: #F2B85A; }
.wp-block-button__link { box-shadow: 0 10px 24px -14px rgba(122, 46, 22, .6); }
.wp-block-button.is-style-outline .wp-block-button__link { box-shadow: none; }

/* glass card: roasted, not grey */
.atl-glass { background: rgba(42, 30, 23, var(--atl-glass-a, .8)); box-shadow: 0 0 0 1px rgba(226, 162, 59, .22) inset, 0 30px 60px -30px rgba(0, 0, 0, .7); color: var(--atl-cream); }
.atl-glass__label { font: italic 500 1rem/1.2 var(--atl-display); color: #F2B85A; }
.atl-glass__title { font-family: var(--atl-display); font-weight: 560; font-variation-settings: var(--atl-serif-feel); }
.atl-glass__meta, .atl-glass__spec { color: rgba(251, 245, 236, .76); }
.atl-glass__text { color: rgba(251, 245, 236, .88); }
.atl-glass__spec { border-top-color: rgba(226, 162, 59, .26); }

/* cursor light and reading progress in paprika */
[data-spot] { background-image: radial-gradient(320px circle at var(--mx, -400px) var(--my, -400px), color-mix(in srgb, var(--atl-saffron) 12%, transparent), transparent 70%); }
.atl-progress { background: linear-gradient(90deg, var(--atl-saffron), var(--atl-paprika)); height: 3px; }

/* ------------------------------------------------------------------ sections */
.atl-section--grey { position: relative; isolation: isolate; background: var(--wp--preset--color--paper-deep); }
.atl-section--grey::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: var(--wp--preset--color--ink); opacity: .045;
	-webkit-mask: var(--atl-card-pattern) 0 0 / auto repeat; mask: var(--atl-card-pattern) 0 0 / auto repeat;
}
.atl-section--dark { background: var(--atl-night); color: var(--atl-cream); --wp--preset--color--ink: #F3E9DA; --wp--preset--color--ink-soft: #B9A897; --wp--preset--color--paper-deep: #251A13; --wp--preset--color--land: #2E2119; }

/* ------------------------------------------------------------------ the world ribbon: a woven strip of the world's patterns */
.atl-ribbon { margin-block: 0 !important; padding: 0 !important; }
.atl-ribbon__track { display: flex; height: clamp(26px, 3vw, 36px); overflow: hidden; }
.atl-ribbon__band { position: relative; flex: 1 1 0; min-width: 0; color: rgba(251, 245, 236, .55); }
.atl-ribbon__band .atl-pattern { position: absolute; inset: 0; }
.atl-ribbon__band + .atl-ribbon__band { box-shadow: inset 2px 0 0 rgba(251, 245, 236, .5); }
.atl-ribbon__band--paprika { background: #B9461F; }
.atl-ribbon__band--saffron { background: #D99128; color: rgba(42, 29, 21, .4); }
.atl-ribbon__band--indigo { background: #2D3A62; }
.atl-ribbon__band--olive { background: #5E6D33; }
.atl-ribbon__band--clay { background: #8A4B2E; }
footer .atl-ribbon { margin-top: 0 !important; }
@media (max-width: 720px) { .atl-ribbon__band:nth-child(n+6) { display: none; } }

/* ------------------------------------------------------------------ volume covers: a plate on a patterned tablecloth */
.atl-vcard a { background: color-mix(in srgb, var(--vol) 72%, #1C130E); color: var(--atl-cream); border-radius: var(--atl-r-tile); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset; }
.atl-vcard a:hover, .atl-vcard a:focus-visible { box-shadow: 0 26px 50px -24px color-mix(in srgb, var(--vol) 70%, #000); }
.atl-vcard__cover { position: relative; display: grid; place-items: center; aspect-ratio: 1 / .86; overflow: hidden; isolation: isolate; }
.atl-vcard__pattern { position: absolute; inset: 0; z-index: -1; color: rgba(251, 245, 236, .2); }
.atl-vcard__pattern .atl-pattern { width: 100%; height: 100%; }
.atl-vcard__cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 50% 50%, color-mix(in srgb, var(--vol) 72%, #1C130E) 30%, transparent 75%); opacity: .55; }
.atl-vcard__img { width: 74%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--atl-cream); box-shadow: 0 0 0 6px rgba(251, 245, 236, .92), 0 22px 40px -12px rgba(0, 0, 0, .55); transition: transform .8s var(--atl-ease-out); }
.atl-vcard__img img { transform: scale(1.32); }
.atl-vcard a:hover .atl-vcard__img { transform: rotate(-8deg) scale(1.03); }
.atl-vcard__body { gap: 6px; padding: 18px 24px 26px; }
.atl-vcard__no { color: rgba(251, 245, 236, .78); font: italic 500 1rem/1.2 var(--atl-display); }
.atl-vcard__no .atl-dot { display: none; }
.atl-vcard__title { font: 560 1.7rem/1.08 var(--atl-display); letter-spacing: -0.02em; font-variation-settings: var(--atl-serif-feel); }
.atl-vcard__meta { color: rgba(251, 245, 236, .8); }
.atl-reel__btn { background: var(--wp--preset--color--land); color: var(--wp--preset--color--ink); box-shadow: 0 0 0 1px var(--wp--preset--color--coast); }
.atl-reel__btn:hover:not(:disabled) { background: var(--atl-paprika); color: #fff; box-shadow: none; }

/* ------------------------------------------------------------------ recipe tiles: cards with a passport stamp */
.atl-tile a { background: var(--wp--preset--color--land); box-shadow: 0 1px 2px rgba(42, 29, 21, .06), 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--ink) 6%, transparent); }
.atl-tile a:hover, .atl-tile a:focus-visible { box-shadow: 0 20px 40px -22px rgba(74, 40, 20, .5), 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--ink) 8%, transparent); }
.atl-tile a::after { background: var(--atl-paprika); }
.atl-tile a:hover::after { opacity: .06; }
.atl-tile__img { margin: 8px 8px 0; border-radius: calc(var(--atl-r-card) - 6px); }
.atl-tile__meta { font-weight: 500; }
.atl-tile__title { font-weight: 560; font-variation-settings: var(--atl-serif-feel); }
.atl-tile__origin {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
	padding: 3px 10px 3px 8px; border: 1.5px dashed color-mix(in srgb, var(--atl-paprika-deep) 70%, transparent); border-radius: 8px;
	font-size: .75rem !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--atl-paprika-deep);
	transform: rotate(-2deg); transform-origin: left center;
}
.atl-tile__origin::before { content: ""; width: 12px; height: 12px; flex: none; background: currentColor; -webkit-mask: var(--atl-pin-icon) center / contain no-repeat; mask: var(--atl-pin-icon) center / contain no-repeat; }
:root { --atl-pin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------------ map: warm choropleth on a cream chart */
.atl-plate__neat { background: var(--wp--preset--color--land); box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--ink) 7%, transparent), 0 30px 60px -40px rgba(74, 40, 20, .45); }
.atl-map__land { fill: color-mix(in srgb, var(--wp--preset--color--coast) 70%, var(--wp--preset--color--land)); }
.atl-map__land--s1 { fill: var(--atl-s1); } .atl-map__land--s2 { fill: var(--atl-s2); } .atl-map__land--s3 { fill: var(--atl-s3); } .atl-map__land--s4 { fill: var(--atl-s4); }
.atl-map__link:hover .atl-map__land, .atl-map__link:focus-visible .atl-map__land, .atl-map__link:hover .atl-map__region, .atl-map__link:focus-visible .atl-map__region { fill: var(--atl-indigo); stroke: var(--atl-indigo); }
.atl-map__region { fill: color-mix(in srgb, var(--atl-paprika) 14%, transparent); stroke: var(--atl-paprika); }
.atl-map-tip { background: rgba(28, 19, 14, .9); color: var(--atl-cream); }
.atl-legend__ring { border-color: var(--atl-paprika); background: color-mix(in srgb, var(--atl-paprika) 14%, transparent); }
.atl-locator { background: var(--wp--preset--color--paper-deep); }
.atl-locator__pin { background: var(--atl-paprika); }
.atl-locator__pin::after { background: color-mix(in srgb, var(--atl-paprika) 30%, transparent); }

/* ------------------------------------------------------------------ cook by country: spice-jar labels */
.atl-gaz { gap: 10px 12px; }
.atl-gaz a {
	border-radius: 10px; padding: 8px 10px 8px 14px; gap: 10px; font-weight: 500;
	background: var(--wp--preset--color--land); box-shadow: 0 0 0 1px var(--wp--preset--color--coast), 0 2px 0 var(--wp--preset--color--coast);
}
.atl-gaz a:hover, .atl-gaz a:focus-visible { background: var(--atl-paprika); color: #fff; box-shadow: 0 0 0 1px var(--atl-paprika), 0 2px 0 var(--atl-paprika-deep); }
.atl-gaz__n { min-width: 26px; padding: 2px 7px; border-radius: 980px; text-align: center; font-weight: 600; font-size: .75rem; color: #2A1D15; background: color-mix(in srgb, var(--atl-saffron) 55%, var(--wp--preset--color--land)); }
.atl-gaz a:hover .atl-gaz__n { background: rgba(255, 255, 255, .25); color: #fff; opacity: 1; }

/* ------------------------------------------------------------------ call to action: a paprika tablecloth */
.atl-cta { background: linear-gradient(140deg, #8E3417, #B9461F 55%, #C7612B); color: var(--atl-cream); border-radius: 32px; }
.atl-cta .atl-pattern-layer { color: #F2B85A; opacity: .2; }
.atl-cta h2 { color: var(--atl-cream); font-weight: 560; }
.atl-cta .atl-lede { color: rgba(251, 245, 236, .9); }
.atl-cta .wp-block-button__link { background: var(--atl-cream); color: #8E3417; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.atl-cta .wp-block-button__link:hover { background: #fff; color: #7A2E16; }
.atl-cta .is-style-outline .wp-block-button__link { background: transparent; color: var(--atl-cream); box-shadow: none; text-decoration: underline; text-decoration-color: rgba(251, 245, 236, .5); text-underline-offset: 4px; }

/* ------------------------------------------------------------------ recipe page */
.atl-recipe-head__kicker { font-style: italic; color: var(--atl-paprika-deep); }
.atl-spec dd { font-weight: 560; font-variation-settings: var(--atl-serif-feel); }
.atl-spec div + div { border-left: 0; }
.atl-btn { background: var(--wp--preset--color--land); box-shadow: 0 0 0 1px var(--wp--preset--color--coast); }
.atl-btn:hover, .atl-btn:focus-visible { background: var(--wp--preset--color--paper-deep); }
.atl-btn[aria-pressed="true"] { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--paper); box-shadow: none; }
.atl-btn.atl-btn--vol, .atl-btn.atl-btn--primary { background: var(--atl-paprika); color: #fff; box-shadow: 0 10px 24px -12px rgba(122, 46, 22, .7); }
.atl-btn.atl-btn--vol:hover, .atl-btn.atl-btn--primary:hover { background: var(--atl-paprika-deep); color: #fff; }
/* ingredients: a recipe card pinned to the cupboard */
.atl-ingredients {
	background: var(--wp--preset--color--land);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--ink) 7%, transparent), 0 24px 50px -34px rgba(74, 40, 20, .55);
}
.atl-checklist input { border-color: color-mix(in srgb, var(--atl-paprika) 45%, var(--wp--preset--color--coast)); }
.atl-checklist input:checked { background: var(--atl-olive); border-color: var(--atl-olive); }
.atl-checklist__group { font-family: var(--atl-display); font-style: italic; font-weight: 500; font-size: 1.0625rem; color: var(--atl-paprika-deep); }
.atl-steps__n { background: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--atl-paprika) 55%, transparent); font: italic 560 1.125rem/1 var(--atl-display); color: var(--atl-paprika-deep); }
.atl-steps li.is-done .atl-steps__n { background: var(--atl-olive); box-shadow: none; color: #fff; }
.atl-steps li { border-bottom: 0; padding: 12px 0; }
.atl-note { background: var(--wp--preset--color--paper-deep); }
.atl-note--tip { position: relative; background: color-mix(in srgb, var(--atl-saffron) 18%, var(--wp--preset--color--land)); border-left: 4px solid var(--atl-saffron); }
.atl-note--tip h3 { font-family: var(--atl-display) !important; font-style: italic; color: var(--atl-paprika-deep); }
.atl-note--tip p { font-family: var(--atl-display); font-weight: 450; font-size: 1.25rem; font-variation-settings: var(--atl-serif-feel); }
.atl-cook-notes__item { background: var(--wp--preset--color--land); box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--ink) 7%, transparent); }
.atl-cook-notes dt { font-family: var(--atl-display); font-weight: 600; color: var(--atl-paprika-deep); }
.atl-provenance { background: var(--wp--preset--color--land); box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--ink) 7%, transparent); }
.atl-faq summary, details.is-style-faq summary { font-weight: 560; font-variation-settings: var(--atl-serif-feel); }
.atl-faq summary::after, details.is-style-faq summary::after { border-color: var(--atl-paprika); }
.atl-pager a { background: var(--wp--preset--color--land); box-shadow: 0 0 0 1px var(--wp--preset--color--coast); font-weight: 560; }
.atl-pager a:hover { background: var(--wp--preset--color--paper-deep); }

/* ------------------------------------------------------------------ volume, place, index */
.atl-chapter__no { font: italic 500 1.0625rem/1.2 var(--atl-display); color: var(--atl-paprika-deep); }

.atl-vol-toc { background: color-mix(in srgb, var(--wp--preset--color--paper) 90%, transparent); }
.atl-vol-toc li a { background: var(--wp--preset--color--land); box-shadow: 0 0 0 1px var(--wp--preset--color--coast); }
.atl-vol-toc li a:hover { background: var(--atl-paprika); color: #fff; box-shadow: none; }
.atl-az h2 { font-style: italic; color: var(--atl-paprika-deep); }
.atl-az-jump { background: color-mix(in srgb, var(--wp--preset--color--paper) 90%, transparent); }
.atl-az-jump a:hover { background: var(--atl-paprika); color: #fff; }

/* ------------------------------------------------------------------ footer: espresso, under the ribbon */
.atl-colophon { background: var(--atl-night); color: #B9A897; }
.atl-colophon a { color: #D9CBB9; }
.atl-colophon a:hover { color: #F2B85A; }
.atl-colophon .wp-block-site-title a { color: var(--atl-cream); }
.atl-colophon .wp-block-site-title { font-family: var(--atl-display); }
.atl-colophon p[style*="font-weight:700"] { color: #F2B85A; font: italic 500 1.0625rem/1.2 var(--atl-display) !important; }
.atl-colophon__legal { border-top: 0 !important; }

/* ------------------------------------------------------------------ posts */
.atl-post-card { background: var(--wp--preset--color--land); box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--ink) 7%, transparent); }
.wp-block-quote { font-family: var(--atl-display); }

@media (max-width: 720px) {
	/* Small screens put text over the whole photo, so the scrim is even and deeper. */
	.atl-hero__scrim, .atl-hero--home .atl-hero__scrim { background: linear-gradient(to top, rgba(28, 19, 14, .9), rgba(28, 19, 14, .74) 60%, rgba(28, 19, 14, .74)); }
	.atl-hero--chart .atl-hero__scrim { background: none; }
	.atl-vcard__title { font-size: 1.5rem; }
	.atl-tile__origin { font-size: .6875rem !important; letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) {
	.atl-vcard a:hover .atl-vcard__img { transform: none; }
}
@media print {
	body { background-image: none !important; }
	.atl-ribbon { display: none !important; }
	.atl-ingredients { background-image: none !important; box-shadow: none !important; border-top: 0 !important; }
}

/* =====================================================================================
 * v1.5 engagement layer. Everything below only takes effect with JavaScript running
 * (html.atl-js) and never under prefers-reduced-motion, because motion.js does not
 * add atl-js then. Cursor-only pieces also require html.atl-fine (mouse or trackpad).
 * ===================================================================================== */

/* ---------- words rise one by one */
.atl-js .atl-split .atl-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .1em; margin: 0 -.06em -.1em; }
.atl-js .atl-split .atl-w__i { display: inline-block; transform: translate3d(0, 110%, 0) rotate(6deg); transform-origin: 0 100%; transition: transform 1s var(--atl-ease-out); transition-delay: calc(var(--wi, 0) * 55ms + 80ms); }
.atl-js .atl-split.is-in .atl-w__i { transform: none; }
.atl-js .atl-hero .atl-split .atl-w__i { transition-duration: 1.2s; }

/* ---------- photos wipe up into view, settling from a slight zoom */
.atl-js .atl-wipe { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--atl-ease-out); transition-delay: calc(var(--i, 0) * 70ms + 120ms); }
.atl-js .atl-wipe img { transform: scale(1.18); transition: transform 1.6s var(--atl-ease-out); transition-delay: inherit; }
.atl-js .atl-wipe.is-in { clip-path: inset(0 0 0 0); }
.atl-js .atl-wipe.is-in img { transform: none; }
.atl-js .atl-vcard__img.atl-wipe { clip-path: circle(0% at 50% 50%); }
.atl-js .atl-vcard__img.atl-wipe.is-in { clip-path: circle(72% at 50% 50%); }
.atl-js .atl-tile a:hover .atl-wipe.is-in img { transform: scale(1.06); transition-delay: 0s; }
.atl-js .atl-split:not(.is-in) .atl-w__i, .atl-js .atl-wipe:not(.is-in) { animation: atl-failsafe 0s 4s forwards; }

/* ---------- hero: lifts and fades on scroll; mosaic and pattern answer the pointer */
.atl-js .atl-hero__inner { transform: translate3d(0, calc(var(--hp, 0) * -90px), 0); opacity: calc(1 - var(--hp, 0) * 1.3); will-change: transform, opacity; }
.atl-js .atl-hero__media { transform: scale(calc(1 + var(--hp, 0) * .1)); transform-origin: 50% 30%; }
.atl-fine .atl-hero__mosaic img { translate: calc(var(--px, 0) * var(--z, 16px) * -1) calc(var(--py, 0) * var(--z, 16px) * -1); transition: translate .6s var(--atl-ease-out); }
.atl-fine .atl-hero__mosaic img:nth-child(3n) { --z: 34px; }
.atl-fine .atl-hero__mosaic img:nth-child(3n+1) { --z: 22px; }
.atl-fine .atl-hero__pattern .atl-pattern { transform: translate3d(calc(var(--px, 0) * 40px), calc(var(--py, 0) * 40px), 0) scale(1.06); transition: transform .8s var(--atl-ease-out); }
.atl-hero .atl-hero__canvas { z-index: 0; mix-blend-mode: screen; }
.atl-hero .atl-hero__inner { position: relative; z-index: 1; }

/* ---------- pattern flashlight: each section hides a culture's pattern, revealed under the cursor */
.atl-section, .atl-colophon { position: relative; isolation: isolate; }
main > .atl-section:nth-of-type(6n+1) { --sec-pat: var(--atl-pat-girih, var(--atl-card-pattern)); }
main > .atl-section:nth-of-type(6n+2) { --sec-pat: var(--atl-pat-talavera, var(--atl-card-pattern)); }
main > .atl-section:nth-of-type(6n+3) { --sec-pat: var(--atl-pat-seigaiha, var(--atl-card-pattern)); }
main > .atl-section:nth-of-type(6n+4) { --sec-pat: var(--atl-pat-block-print, var(--atl-card-pattern)); }
main > .atl-section:nth-of-type(6n+5) { --sec-pat: var(--atl-pat-kilim, var(--atl-card-pattern)); }
main > .atl-section:nth-of-type(6n) { --sec-pat: var(--atl-pat-cloud, var(--atl-card-pattern)); }
.atl-colophon { --sec-pat: var(--atl-pat-mudcloth, var(--atl-card-pattern)); }
.atl-fine .atl-section::after, .atl-fine .atl-colophon::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: var(--atl-paprika); opacity: 0; transition: opacity .5s ease;
	-webkit-mask-image: var(--sec-pat, var(--atl-card-pattern)), radial-gradient(circle 230px at var(--sx, -999px) var(--sy, -999px), #000 0%, rgba(0, 0, 0, .5) 45%, transparent 75%);
	mask-image: var(--sec-pat, var(--atl-card-pattern)), radial-gradient(circle 230px at var(--sx, -999px) var(--sy, -999px), #000 0%, rgba(0, 0, 0, .5) 45%, transparent 75%);
	-webkit-mask-size: auto, 100% 100%; mask-size: auto, 100% 100%;
	-webkit-mask-repeat: repeat, no-repeat; mask-repeat: repeat, no-repeat;
	-webkit-mask-position: calc(var(--sx, 0px) * -.08) calc(var(--sy, 0px) * -.08), 0 0; mask-position: calc(var(--sx, 0px) * -.08) calc(var(--sy, 0px) * -.08), 0 0;
	-webkit-mask-composite: source-in; mask-composite: intersect;
}
.atl-fine .atl-section.is-lit::after, .atl-fine .atl-colophon.is-lit::after { opacity: .3; }
.atl-fine .atl-colophon::after { background: #F2B85A; }
.atl-fine .atl-section--dark::after { background: #F2B85A; }

/* ---------- custom cursor (mouse and trackpad only; the system cursor stays) */
.atl-cursor { position: fixed; inset: 0 auto auto 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .3s; }
.atl-cursor.is-on { opacity: 1; }
.atl-cursor__ring, .atl-cursor__dot { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.atl-cursor__ring { width: 0; height: 0; }
.atl-cursor__ring::before { content: ""; position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--atl-paprika) 70%, transparent); transition: all .35s var(--atl-ease-out); }
.atl-cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--atl-paprika); }
.atl-cursor__label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); opacity: 0; font: italic 600 .95rem/1 var(--atl-display); color: #fff; white-space: nowrap; transition: opacity .25s, transform .35s var(--atl-ease-out); }
.atl-cursor.is-link .atl-cursor__ring::before { left: -28px; top: -28px; width: 56px; height: 56px; background: color-mix(in srgb, var(--atl-saffron) 18%, transparent); border-color: var(--atl-saffron); }
.atl-cursor.is-label .atl-cursor__ring::before { left: -44px; top: -44px; width: 88px; height: 88px; background: var(--atl-paprika); border-color: var(--atl-paprika); box-shadow: 0 10px 30px -10px rgba(122, 46, 22, .7); }
.atl-cursor.is-label .atl-cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.atl-cursor.is-label .atl-cursor__dot, .atl-cursor.is-text { opacity: 0; }
.atl-cursor.is-dark .atl-cursor__ring::before { border-color: rgba(242, 184, 90, .8); }
.atl-cursor.is-dark .atl-cursor__dot { background: #F2B85A; }
.atl-cursor.is-down .atl-cursor__ring::before { transform: scale(.8); }

/* ---------- cards: 3D tilt with a soft glare that follows the light */
.atl-fine .atl-tile a[data-tilt], .atl-fine .atl-vcard a[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, var(--lift, 0px), 0); transition: transform .6s var(--atl-ease-out), box-shadow .45s var(--atl-ease); }
.atl-fine .atl-tile a[data-tilt].is-tilting, .atl-fine .atl-vcard a[data-tilt].is-tilting { transition: transform .12s linear, box-shadow .45s var(--atl-ease); --lift: -6px; }
.atl-fine .atl-tile a::before, .atl-fine .atl-vcard a::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 250, 240, .38), transparent 45%); mix-blend-mode: soft-light; opacity: 0; transition: opacity .35s; }
.atl-fine .atl-tile a.is-tilting::before, .atl-fine .atl-vcard a.is-tilting::before { opacity: 1; }
.atl-vcard a { position: relative; }
.atl-vcard__pattern .atl-pattern { transition: transform 1.2s var(--atl-ease-out); }
.atl-vcard a:hover .atl-vcard__pattern .atl-pattern { transform: scale(1.25) rotate(4deg); }

/* ---------- map: countries fill west to east, then breathe */
.atl-js .atl-map--sweep .atl-map__land[class*="--s"] { transition: fill .9s var(--atl-ease-out); transition-delay: var(--d, 0s); }
.atl-js .atl-map--sweep:not(.is-in) .atl-map__land[class*="--s"] { fill: color-mix(in srgb, var(--wp--preset--color--coast) 70%, var(--wp--preset--color--land)); }
.atl-js .atl-map--sweep .atl-map__region { transform-box: fill-box; transform-origin: center; transition: transform .7s cubic-bezier(.34, 1.56, .64, 1), opacity .4s; transition-delay: calc(var(--d, 0s) + .4s); }
.atl-js .atl-map--sweep:not(.is-in) .atl-map__region { transform: scale(0); opacity: 0; }
.atl-map__link .atl-map__land { transition: fill .25s, transform .3s var(--atl-ease-out); }

/* ---------- marquees: the world ribbon and the band of country names */
.atl-ribbon__track.is-marquee { width: max-content; will-change: transform; }
.atl-ribbon__track.is-marquee .atl-ribbon__band { flex: none; width: clamp(150px, 12vw, 220px); }
.atl-ribbon { overflow: hidden; }
@media (max-width: 720px) { .atl-ribbon__track.is-marquee .atl-ribbon__band:nth-child(n+6) { display: block; } }
.atl-namebands { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 52px) 0; background: var(--atl-night); color: var(--atl-cream); display: grid; gap: 6px; }
.atl-namebands__track { display: flex; width: max-content; will-change: transform; }
.atl-namebands__item { display: inline-flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); padding-right: clamp(18px, 2.4vw, 36px); font: 500 clamp(2.4rem, 6.4vw, 6rem)/1.05 var(--atl-display); letter-spacing: -0.03em; color: var(--atl-cream); text-decoration: none; font-variation-settings: "SOFT" 100, "WONK" 1; white-space: nowrap; transition: color .3s; }
.atl-namebands__track--alt .atl-namebands__item { font-style: italic; color: transparent; -webkit-text-stroke: 1.2px rgba(242, 184, 90, .85); }
.atl-namebands__item:hover { color: #F2B85A; -webkit-text-stroke-color: transparent; text-decoration: none; }
.atl-namebands__track--alt .atl-namebands__item:hover { color: #F2B85A; }
.atl-namebands__star { width: .38em; height: .38em; fill: #E2A23B; flex: none; }
.atl-namebands__track--alt .atl-namebands__star { fill: #B9461F; }

/* ---------- a day at the table: the shelf pins while the sun crosses the sky */
.atl-day { position: relative; }
.atl-day__stage { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 52px); height: calc(100svh - 52px - var(--wp-admin--admin-bar--height, 0px)); min-height: 560px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(8px, 2vh, 24px); background: var(--sky, var(--wp--preset--color--paper)); transition: background-color .2s linear; }
.atl-day__sky { position: relative; height: 112px; margin: 0 max(var(--atl-gutter, 20px), calc((100vw - var(--wp--style--global--wide-size, 1200px)) / 2)); }
.atl-day__arc { position: absolute; inset: 22px 0 22px; width: 100%; height: calc(100% - 44px); overflow: visible; }
.atl-day__path, .atl-day__done { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.atl-day__path { stroke: color-mix(in srgb, var(--wp--preset--color--ink) 18%, transparent); stroke-dasharray: 2 6; }
.atl-day__done { stroke: var(--atl-paprika); stroke-dasharray: 1; stroke-dashoffset: 1; }
.atl-day__sun { position: absolute; left: 0; top: 22px; width: 0; height: 0; will-change: transform; }
.atl-day__orb { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE3A3, #F2A93B 60%, #D9741E); box-shadow: 0 0 0 8px rgba(242, 169, 59, .18), 0 0 40px 10px rgba(242, 169, 59, .35); transition: background .6s, box-shadow .6s; }
.atl-day__time { position: absolute; left: 22px; top: -30px; font: italic 600 1.05rem/1 var(--atl-display); color: var(--wp--preset--color--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.atl-day__marks { list-style: none; margin: 0; padding: 0; position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; font: 600 .75rem/1 var(--wp--preset--font-family--text); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--wp--preset--color--ink) 55%, transparent); }
.atl-day__stage.is-dusk .atl-day__orb { background: radial-gradient(circle at 35% 35%, #FFFDF3, #EDE3C8 70%); box-shadow: 0 0 0 8px rgba(251, 245, 236, .12), 0 0 40px 8px rgba(251, 245, 236, .25); }
.atl-day__stage.is-dusk :is(.atl-day__time, .atl-day__marks) { color: rgba(251, 245, 236, .8); }
.atl-day__stage.is-dusk .atl-day__path { stroke: rgba(251, 245, 236, .3); }
.atl-day__stage.is-dusk .atl-day__done { stroke: #F2B85A; }
.atl-reel.is-pinned { margin: 0 !important; }
.atl-reel.is-pinned .atl-reel__track { overflow: visible; scroll-snap-type: none; will-change: transform; grid-auto-columns: clamp(280px, 25vw, 360px); padding-bottom: 8px; }
.atl-reel.is-pinned .atl-reel__nav { display: none; }

/* ---------- compass: turns as you read; click to go back to the top */
.atl-compass { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 60; width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: color-mix(in srgb, var(--wp--preset--color--land) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 12px 30px -12px rgba(74, 40, 20, .5), 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--ink) 8%, transparent); opacity: 0; transform: translate3d(var(--tx, 0px), calc(var(--ty, 0px) + 16px), 0) scale(.8); transition: opacity .4s, transform .5s var(--atl-ease-out); pointer-events: none; }
.atl-compass.is-shown { opacity: 1; transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0); pointer-events: auto; }
.atl-compass svg { width: 100%; height: 100%; overflow: visible; }
.atl-compass__track, .atl-compass__done { fill: none; stroke-width: 2.5; }
.atl-compass__track { stroke: color-mix(in srgb, var(--wp--preset--color--ink) 10%, transparent); }
.atl-compass__done { stroke: var(--atl-paprika); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); transform: rotate(-90deg); transform-origin: 24px 24px; stroke-linecap: round; }
.atl-compass__rose { transform: rotate(calc(var(--p, 0) * 360deg)); transform-origin: 24px 24px; fill: var(--wp--preset--color--ink-soft); }
.atl-compass__rose .atl-compass__n { fill: var(--atl-paprika); }
.atl-compass:hover .atl-compass__rose { fill: var(--wp--preset--color--ink); }
.atl-progress { display: none; }

@media (max-width: 720px) {
	.atl-js .atl-hero__inner { transform: translate3d(0, calc(var(--hp, 0) * -50px), 0); }
	.atl-compass { width: 46px; height: 46px; }
}
@media print { .atl-cursor, .atl-compass, .atl-namebands, .atl-day__sky { display: none !important; } .atl-day { height: auto !important; } .atl-day__stage { position: static; height: auto; } }

/* =====================================================================================
 * v1.6: the ribbon's colours run the site, buttons with character, the day up front.
 * ===================================================================================== */
:root {
	--atl-arrow-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23FBF5EC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E");
	--atl-arrow-paprika: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23A33E1B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E");
	--atl-arrow-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232A1D15' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E");
	--atl-weave: repeating-linear-gradient(90deg, #B9461F 0 56px, #2D3A62 56px 112px, #D99128 112px 168px, #5E6D33 168px 224px, #8A4B2E 224px 280px);
}

/* ---------- buttons: a pill with a round arrow badge that turns on hover */
.atl-btn.atl-btn--hero, .atl-btn.atl-btn--primary, .atl-btn.atl-btn--vol, .atl-btn.atl-btn--ghost, .wp-block-button__link {
	position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 50px; padding: 7px 7px 7px 24px; border-radius: 980px;
	font: 600 1rem/1 var(--wp--preset--font-family--text); letter-spacing: -0.005em; text-decoration: none !important; white-space: nowrap;
	transition: background-color .25s, color .25s, box-shadow .3s, transform .4s var(--atl-ease-out);
}
.atl-btn.atl-btn--hero::after, .atl-btn.atl-btn--primary::after, .atl-btn.atl-btn--vol::after, .atl-btn.atl-btn--ghost::after, .wp-block-button__link::after {
	content: ""; flex: none; width: 36px; height: 36px; margin: 0; border: 0; border-radius: 50%; transform: none;
	background: #FBF5EC var(--atl-arrow-paprika) center / 15px no-repeat; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), background-color .25s;
}
.atl-btn.atl-btn--hero:hover::after, .atl-btn.atl-btn--primary:hover::after, .atl-btn.atl-btn--vol:hover::after, .atl-btn.atl-btn--ghost:hover::after, .wp-block-button__link:hover::after { transform: rotate(-45deg) scale(1.06); }
.atl-btn.atl-btn--hero, .atl-btn.atl-btn--primary, .atl-btn.atl-btn--vol, .wp-block-button__link { background: var(--atl-paprika); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 12px 26px -12px rgba(122, 46, 22, .75); }
.atl-btn.atl-btn--hero:hover, .atl-btn.atl-btn--primary:hover, .atl-btn.atl-btn--vol:hover, .wp-block-button__link:hover { background: #9C3A19; color: #fff; }
.atl-btn.atl-btn--hero:hover::after, .atl-btn.atl-btn--primary:hover::after, .atl-btn.atl-btn--vol:hover::after, .wp-block-button__link:hover::after { background-color: #F2B85A; }
/* secondary: an outlined pill with a saffron badge (the hero's "Browse the shelf") */
.atl-btn.atl-btn--ghost, .atl-hero .atl-btn.atl-btn--ghost, .wp-block-button.is-style-outline .wp-block-button__link {
	padding: 7px 7px 7px 24px; background: transparent; color: var(--wp--preset--color--ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 45%, transparent);
}
.atl-btn.atl-btn--ghost::after, .wp-block-button.is-style-outline .wp-block-button__link::after { background-color: #F2B85A; background-image: var(--atl-arrow-ink); }
.atl-btn.atl-btn--ghost:hover, .wp-block-button.is-style-outline .wp-block-button__link:hover { background: color-mix(in srgb, #F2B85A 16%, transparent); box-shadow: inset 0 0 0 1.5px #F2B85A; text-decoration: none; }
.atl-hero .atl-btn.atl-btn--ghost, .atl-hero .atl-btn.atl-btn--ghost:hover { color: var(--atl-cream); }
.atl-hero__actions { gap: 12px 14px; }
/* plain utility buttons (copy, print, cook mode) stay simple */
.atl-actions .atl-btn::after, .atl-hero__search .atl-btn::after, .atl-reel__btn::after { display: none; }
.atl-hero__search .atl-btn { padding: 0 22px; }
/* on the CTA panel the primary turns cream */
.atl-cta .wp-block-button__link { background: var(--atl-cream); color: #2D3A62; }
.atl-cta .wp-block-button__link::after { background-color: #2D3A62; background-image: var(--atl-arrow-cream); }
.atl-cta .wp-block-button__link:hover { background: #fff; color: #2D3A62; }
.atl-cta .is-style-outline .wp-block-button__link { color: var(--atl-cream); text-decoration: none; box-shadow: inset 0 0 0 1.5px rgba(251, 245, 236, .5); }

/* ---------- the ribbon's five colours rotate through the page */
main > .atl-section:nth-of-type(5n+1) { --spice: #B9461F; --spice-ink: #A33E1B; }
main > .atl-section:nth-of-type(5n+2) { --spice: #2D3A62; --spice-ink: #2D3A62; }
main > .atl-section:nth-of-type(5n+3) { --spice: #D99128; --spice-ink: #8A5A12; }
main > .atl-section:nth-of-type(5n+4) { --spice: #5E6D33; --spice-ink: #4F5C2A; }
main > .atl-section:nth-of-type(5n) { --spice: #8A4B2E; --spice-ink: #7A3F25; }
.atl-section .atl-section-head .atl-eyebrow, .atl-section .atl-eyebrow { color: var(--spice-ink, var(--atl-paprika-deep)); }

.atl-fine .atl-section::after { background: var(--spice, var(--atl-paprika)); }

.atl-section .atl-section-head h2 .atl-w:last-child .atl-w__i, .atl-section-head h2 em { color: var(--spice-ink); }
html:not(.atl-js) .atl-section .atl-section-head h2 { text-decoration-color: var(--spice); }
/* header gets a thin woven edge */
.atl-masthead { border-bottom: 0 !important; box-shadow: none !important; }


.atl-masthead { position: relative; }
/* country chips: counts wear the five colours in turn */
.atl-gaz li:nth-child(5n+1) .atl-gaz__n { background: #B9461F; color: #fff; }
.atl-gaz li:nth-child(5n+2) .atl-gaz__n { background: #2D3A62; color: #fff; }
.atl-gaz li:nth-child(5n+3) .atl-gaz__n { background: #E2A23B; color: #2A1D15; }
.atl-gaz li:nth-child(5n+4) .atl-gaz__n { background: #5E6D33; color: #fff; }
.atl-gaz li:nth-child(5n) .atl-gaz__n { background: #8A4B2E; color: #fff; }
.atl-gaz li:nth-child(5n+1) a:hover { background: #B9461F; box-shadow: 0 0 0 1px #B9461F, 0 2px 0 #7A2E16; }
.atl-gaz li:nth-child(5n+2) a:hover { background: #2D3A62; box-shadow: 0 0 0 1px #2D3A62, 0 2px 0 #1B2440; }
.atl-gaz li:nth-child(5n+3) a:hover { background: #C27F1E; box-shadow: 0 0 0 1px #C27F1E, 0 2px 0 #8A5A12; }
.atl-gaz li:nth-child(5n+4) a:hover { background: #5E6D33; box-shadow: 0 0 0 1px #5E6D33, 0 2px 0 #3E4A20; }
.atl-gaz li:nth-child(5n) a:hover { background: #8A4B2E; box-shadow: 0 0 0 1px #8A4B2E, 0 2px 0 #5E3019; }
.atl-gaz a:hover .atl-gaz__n { background: rgba(255, 255, 255, .25); color: #fff; }
/* recipe stamps take their volume's colour */
.atl-tile__origin { color: color-mix(in srgb, var(--vol, #B9461F) 72%, #1C130E); border-color: color-mix(in srgb, var(--vol, #B9461F) 60%, transparent); }
/* chapters on volume pages cycle colours */
.atl-chapter:nth-of-type(5n+1) { --spice: #B9461F; } .atl-chapter:nth-of-type(5n+2) { --spice: #2D3A62; } .atl-chapter:nth-of-type(5n+3) { --spice: #D99128; } .atl-chapter:nth-of-type(5n+4) { --spice: #5E6D33; } .atl-chapter:nth-of-type(5n) { --spice: #8A4B2E; }

/* the call to action becomes an indigo tablecloth with a woven edge */
.atl-cta { background: linear-gradient(150deg, #1F2949, #2D3A62 55%, #3C4C7E); border-radius: 24px; }
.atl-cta .atl-pattern-layer { color: #F2B85A; opacity: .16; }
.atl-cta h2 .atl-w:last-child .atl-w__i { color: #F2B85A; }
/* footer headings in the five colours */
.atl-colophon .wp-block-column:nth-child(1) .wp-block-site-tagline { color: #D9CBB9; }
.atl-colophon .wp-block-column:nth-child(2) p[style*="font-weight:700"] { color: #F2B85A !important; }
.atl-colophon .wp-block-column:nth-child(3) p[style*="font-weight:700"] { color: #A9B6E8 !important; }
/* name band: stars in turn */
.atl-namebands__item:nth-child(5n+1) .atl-namebands__star { fill: #E2A23B; } .atl-namebands__item:nth-child(5n+2) .atl-namebands__star { fill: #D85A33; }
.atl-namebands__item:nth-child(5n+3) .atl-namebands__star { fill: #A9B6E8; } .atl-namebands__item:nth-child(5n+4) .atl-namebands__star { fill: #A7B86A; } .atl-namebands__item:nth-child(5n) .atl-namebands__star { fill: #D9A07E; }

/* ---------- the day, up front */
.atl-sunarc { display: inline-block; width: 64px; height: 18px; margin-left: 10px; vertical-align: -2px; overflow: visible; }
.atl-sunarc__path { fill: none; stroke: rgba(251, 245, 236, .45); stroke-width: 1.5; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.atl-sunarc__sun { fill: #F2B85A; filter: drop-shadow(0 0 6px rgba(242, 184, 90, .8)); }
.atl-sunarc__sun.is-moon { fill: #FBF5EC; filter: drop-shadow(0 0 6px rgba(251, 245, 236, .6)); }
.atl-hero__now { margin: 22px 0 0; }
.atl-hero__now a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 980px; color: var(--atl-cream); font-size: .9688rem; text-decoration: none; background: rgba(251, 245, 236, .1); box-shadow: inset 0 0 0 1px rgba(242, 184, 90, .4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .25s; }
.atl-hero__now a:hover { background: rgba(242, 184, 90, .2); }
.atl-hero__now b { color: #F2B85A; font-weight: 600; }
.atl-hero--home:not(.has-card) .atl-hero__now { text-align: center; }
.atl-day-now { margin: 14px auto 0 !important; text-align: center; font-size: .9688rem; }
.atl-day-now a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 980px; color: var(--wp--preset--color--ink); text-decoration: none; background: var(--wp--preset--color--land); box-shadow: 0 0 0 1px var(--wp--preset--color--coast); }
.atl-day-now b { color: var(--atl-paprika-deep); }
.atl-vcard__time { display: inline-block; margin-left: 10px; padding: 3px 8px; border-radius: 980px; font: 600 .6875rem/1 var(--wp--preset--font-family--text); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: #2A1D15; background: rgba(251, 245, 236, .88); vertical-align: 1px; }
.atl-day__stage { min-height: 600px; }
.atl-day__sky { height: 128px; }
.atl-day__time { font-size: 1.25rem; }
.atl-day__orb { width: 38px; height: 38px; left: -19px; top: -19px; }

/* ---------- tighter rhythm */
.atl-grid { gap: 16px; }
.atl-grid--featured { gap: 18px; }
.atl-reel__track { gap: 16px; }
.atl-section-head p { margin-top: 10px; }
.atl-recipe-body { gap: clamp(24px, 4vw, 56px); }
.atl-ribbon__track { height: clamp(22px, 2.4vw, 30px); }

/* =====================================================================================
 * v1.7: no stray lines or gaps; more compact.
 * Only the pattern ribbon (the marquee) carries the woven colours now.
 * ===================================================================================== */
/* nothing above the header: no block gap, no padding, no hairlines */
html body .wp-site-blocks { padding-top: 0 !important; }
.wp-site-blocks > header.wp-block-template-part, .wp-site-blocks > header.wp-block-template-part > .atl-masthead { margin: 0 !important; padding-top: 0 !important; border: 0 !important; }
.wp-site-blocks > main, .wp-site-blocks > footer.wp-block-template-part { margin-block-start: 0 !important; }
main > .wp-block-atlasserie-hero:first-child, main > .atl-hero:first-child { margin-top: 0 !important; }
.atl-vol-toc, .atl-az-jump { border-bottom: 0 !important; }
.atl-steps li, .atl-checklist li { border-bottom-color: color-mix(in srgb, var(--wp--preset--color--ink) 7%, transparent); }
.atl-steps li { border-bottom: 0 !important; }
.atl-faq details, details.is-style-faq { border-top-color: color-mix(in srgb, var(--wp--preset--color--ink) 8%, transparent); }

/* compact rhythm */
.atl-section { padding-block: clamp(36px, 4.6vw, 64px) !important; }
main > .atl-section:first-child { padding-top: clamp(24px, 3.2vw, 44px) !important; }
.atl-section-head { margin-bottom: clamp(18px, 2.4vw, 30px) !important; }
.atl-section-head h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem) !important; }
.atl-section-head p { font-size: clamp(1rem, 1.3vw, 1.125rem) !important; margin-top: 8px !important; }
.atl-section-head .atl-eyebrow, .atl-eyebrow { font-size: 1.0625rem; margin-bottom: 6px; }
.atl-hero--home { --atl-hero-h: max(520px, min(calc(78svh - 56px), 740px)) !important; }
.atl-hero--main { --atl-hero-h: clamp(360px, 48svh, 560px) !important; }
.atl-hero--compact { --atl-hero-h: clamp(300px, 40svh, 440px) !important; }
.atl-hero--home .atl-hero__title { font-size: clamp(2.5rem, 5vw, 4.6rem); }
.atl-hero--main .atl-hero__title { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.atl-hero--compact .atl-hero__title { font-size: clamp(2rem, 4vw, 3.2rem); }
.atl-hero__lead { margin-top: 12px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.atl-hero__actions { margin-top: 20px; }
.atl-hero__stats { margin-top: 24px; gap: 6px 36px; }
.atl-hero__stats dd { font-size: clamp(1.75rem, 2.8vw, 2.5rem); }
.atl-hero__now { margin-top: 14px; }
.atl-hero__cue { display: none; }
.atl-day__stage { min-height: 520px; gap: 8px; }
.atl-day__sky { height: 104px; }
.atl-vcard__body { padding: 14px 20px 20px; }
.atl-vcard__title { font-size: 1.5rem; }
.atl-chapter { margin-bottom: clamp(36px, 5vw, 64px) !important; }
.atl-chapter__head { margin-bottom: 18px !important; }
.atl-vol-intro { margin-bottom: 40px !important; font-size: 1.0625rem !important; }
.atl-vol-toc { margin-bottom: 24px !important; }
.atl-recipe-head__kicker { margin-bottom: 10px !important; }
.atl-spec { margin: 22px auto 18px !important; }
.atl-ingredients { padding: clamp(18px, 2.4vw, 28px) !important; }
.atl-steps p { font-size: 1.0625rem !important; }
.atl-note, .atl-cook-notes__item { padding: 18px 20px !important; }
.atl-cook-notes { margin-top: 28px !important; }
.atl-related { margin-bottom: 24px !important; }
.atl-provenance { padding: clamp(20px, 3vw, 36px) !important; }
.atl-footer-cols, .atl-colophon > .wp-block-columns { padding-top: 36px !important; padding-bottom: 20px !important; }
.atl-cta { padding: clamp(36px, 6vw, 72px) clamp(20px, 3vw, 36px) !important; }
.atl-namebands { padding: clamp(18px, 3vw, 34px) 0; }
.atl-namebands__item { font-size: clamp(2rem, 5vw, 4.6rem); }
.atl-tile__meta { margin-top: 12px; }
.atl-tile__title { font-size: 1.125rem; }
.atl-grid--featured .atl-tile__title { font-size: 1.25rem; }
