/* Per-template styles. The converter replaces this file with the template's own sheet. */

/* nt:foundation -- appended first by scripts/assemble.py. Tokens, utilities and motion shared by every recipe.
   A direction skin (recipes/skins/<direction>.css) overrides the --nt-* tokens. Variables and logical properties only. */
:root {
  --nt-ease: cubic-bezier(.22, 1, .36, 1);
  --nt-gap: clamp(16px, 3vw, 32px);
  --nt-sec: clamp(48px, 9vw, 120px);
  /* type: Vazirmatn only, weights 300-900 are faked by the 400/700/800 files, so build contrast from SIZE and the 400/800 pair */
  --nt-d1: clamp(2.75rem, 1rem + 9vw, 8.5rem);
  --nt-d2: clamp(2rem, 1rem + 5vw, 5rem);
  --nt-d3: clamp(1.5rem, 1rem + 2.2vw, 2.75rem);
  --nt-lh-d: 1.12;
  --nt-wt-d: 800;
  /* shape */
  --nt-r: var(--radius-card);
  --nt-r-btn: var(--radius-button);
  --nt-bw: 0px;
  --nt-bc: var(--color-border);
  --nt-card-shadow: var(--shadow-card);
  --nt-hard: 6px 6px 0 var(--color-text);
  --nt-grain-o: 0;
  --nt-tile-shadow: none;
  --nt-hair: color-mix(in srgb, var(--color-text) 20%, transparent);
  --nt-metal-hi: color-mix(in srgb, var(--color-accent) 50%, var(--color-surface));
  --nt-metal-lo: color-mix(in srgb, var(--color-accent) 62%, var(--color-text));
  /* the word tape (strip-marquee): a skin sets its own radius, border and shadow */
  --nt-tape-r: 0;
  --nt-tape-bw: max(var(--nt-bw), 2px);
  --nt-tape-bc: var(--color-text);
  --nt-tape-shadow: var(--nt-hard);
  /* the dark band every recipe uses (tape, statement band, ink tiles, footer): a light theme darkens its text colour, a dark skin overrides both */
  --nt-dark-bg: var(--color-text);
  --nt-dark-fg: var(--color-surface);
  /* the ink drawn ON accent fills (tick discs, tags, price chips, buttons on a dark band): the text colour on a light theme; a dark skin with a bright accent sets it to the dark surface */
  --nt-on-accent: var(--color-text);
}
/* illustration colour roles. They are defaults on :root and INHERIT, so any wrapper (a tile, a band, the svg itself) recolours the pieces inside it by setting them.
   Never re-declare them on .nt-art: that would shadow a parent's override (the bug that made tile colours silently ignored).
   Optional roles with built-in fallbacks in the pieces: --art-paper (highlight, white), --art-shadow (offset shadow of hard-shadow pieces, falls back to --art-ink),
   --art-hi / --art-lo / --art-stone / --art-stone-lo (metal highlight, metal shade, gem, gem shade: the obj-ring/pendant/earring/bangle/gem family). */
:root {
  --art-1: var(--color-brand); --art-2: var(--color-accent); --art-3: var(--color-surface-muted); --art-ink: var(--color-text);
  --art-hi: var(--nt-metal-hi); --art-lo: var(--nt-metal-lo); --art-stone: var(--color-surface); --art-stone-lo: color-mix(in srgb, var(--color-surface) 62%, var(--color-accent));
}
.nt-art { display: block; inline-size: 100%; block-size: auto; }
.nt-icon { inline-size: 1.25em; block-size: 1.25em; flex: none; }

/* section shell shared by recipes: full-bleed, own padding, background from the setting or the theme */
.nt-sec { position: relative; isolation: isolate; overflow: clip; background: var(--nt-bg, transparent); color: var(--nt-fg, inherit);
  padding-block: var(--nt-py, var(--nt-sec)); padding-inline: var(--spacing-pad); }
.nt-sec > .nt-in { max-inline-size: var(--container-shop); margin-inline: auto; position: relative; }
.nt-wide > .nt-in { max-inline-size: min(100%, 1440px); }

.nt-eyebrow { display: inline-flex; align-items: center; gap: .75em; font-size: var(--text-small); font-weight: 700; color: var(--nt-eyebrow, var(--color-brand)); }
.nt-eyebrow::before { content: ""; inline-size: 2.2em; block-size: 2px; background: currentColor; }
.nt-display { font-family: var(--font-title); font-weight: var(--nt-wt-d); font-size: var(--nt-d1); line-height: var(--nt-lh-d); margin: 0; text-wrap: balance; }
.nt-h2 { font-family: var(--font-title); font-weight: var(--nt-wt-d); font-size: var(--nt-d2); line-height: var(--nt-lh-d); margin: 0; text-wrap: balance; }
.nt-lede { font-size: var(--text-lead); line-height: 1.9; max-inline-size: 38ch; margin: 0; color: var(--nt-lede, var(--color-text-muted)); }
.nt-mute { color: var(--color-text-muted); }
::selection { background: color-mix(in srgb, var(--color-accent) 34%, transparent); }

.nt-btn { --_bg: var(--nt-btn-bg, var(--color-brand)); --_fg: var(--nt-btn-fg, var(--color-brand-contrast));
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-block-size: 48px; padding-inline: 1.6em;
  border: var(--nt-bw) solid var(--nt-btn-bc, currentColor); border-radius: var(--nt-r-btn);
  background: var(--_bg); color: var(--_fg); font-weight: 700; text-decoration: none; box-shadow: var(--nt-btn-shadow, none);
  transition: translate .25s var(--nt-ease), box-shadow .25s var(--nt-ease), background-color .2s; }
.nt-btn:hover { translate: 0 -2px; }
.nt-btn:focus-visible, .nt-sec a:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.nt-btn--ghost { --_bg: transparent; --_fg: currentColor; border-width: max(var(--nt-bw), 1.5px); }
.nt-btn svg { inline-size: 1.1em; block-size: 1.1em; }
/* an arrow that means "go on" points to the inline end; in RTL that is left, so it is mirrored by direction, not by hand */
.nt-arrow { transition: translate .25s var(--nt-ease); }
.nt-btn:hover .nt-arrow { translate: -4px 0; }
[dir="ltr"] .nt-btn:hover .nt-arrow { translate: 4px 0; }
/* the arrow glyph (nt-icon `arrow`, the recipes' inline arrows) is drawn pointing left, the RTL "next": --dir is -1 under :root and 1 under [dir=ltr], so only ltr flips it */
:root { --dir: -1; }
[dir="ltr"] { --dir: 1; }
.nt-arrow, .nt-icon--arrow { scale: calc(var(--dir) * -1) 1; }

/* grain: a noise tile (assets/nt-pattern-grain.svg) set by the section as --nt-noise */
.nt-grain::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: var(--nt-noise, none); opacity: var(--nt-grain-o); mix-blend-mode: multiply; }
/* pattern layer: a tile used as a mask so the colour comes from the theme (section sets --nt-pat and --nt-pat-size) */
.nt-pat { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--nt-pat-c, var(--color-brand)); opacity: var(--nt-pat-o, .12);
  -webkit-mask: var(--nt-pat) 0 0 / var(--nt-pat-size, 48px) repeat; mask: var(--nt-pat) 0 0 / var(--nt-pat-size, 48px) repeat; }

/* kit sections wear the skin: product cards, text links, section headings */
.awix-product-card { border: var(--nt-bw) solid var(--nt-bc); border-radius: var(--nt-r); box-shadow: var(--nt-card-shadow); }
.pb-heading { font-weight: var(--nt-wt-d); }

/* motion: entrance, float, marquee. Everything moves only for people who allow it, and the rest state is the visible state. */
@keyframes nt-rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes nt-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes nt-spin { to { rotate: 360deg; } }
@keyframes nt-slide { to { translate: var(--nt-slide-to, 50%) 0; } }
@keyframes nt-twinkle { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: .35; scale: .72; } }
@keyframes nt-steam { 0% { opacity: 0; translate: 0 8px; } 40% { opacity: .9; } 100% { opacity: 0; translate: 0 -26px; } }
@media (prefers-reduced-motion: no-preference) {
  .nt-rise { animation: nt-rise .9s var(--nt-ease) both; animation-delay: calc(var(--i, 0) * 110ms); }
  .nt-float { animation: nt-float 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.3s); }
  .nt-twinkle { animation: nt-twinkle 3.6s ease-in-out infinite; }
  .nt-spin { animation: nt-spin var(--nt-spin-t, 40s) linear infinite; }
  .nt-marquee-track { animation: nt-slide var(--nt-marquee-t, 36s) linear infinite; }
  .nt-marquee:hover .nt-marquee-track { animation-play-state: paused; }
  /* scroll-driven reveal only where the browser can do it; without support the element simply shows */
  @supports (animation-timeline: view()) {
    .nt-reveal { animation: nt-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}
@media (prefers-reduced-motion: reduce) { .nt-marquee-track { translate: 0 0; } }

/* nt-logo: the logo of a header or footer (snippets/nt-logo.liquid); `logo_frame: pill` sets it in a capsule of the brand colour */
.nt-logo--pill { padding: var(--nt-logo-pad, 6px 16px); border-radius: 999px; background: var(--color-brand); color: var(--color-brand-contrast); }
.nt-logo--pill img { max-block-size: 40px; }
.nt-foot__logo { display: inline-flex; margin-block-end: 14px; }
.nt-foot__logo img { inline-size: min(var(--nt-logo-w, 140px), 50vw); block-size: auto; }

/* nt:skin-editorial-type -- direction skin: tokens first, then rules for kit sections */
:root {
  --nt-r: 2px;
  --nt-r-btn: 0px;
  --nt-bw: 0px;
  --nt-card-shadow: none;
  --nt-grain-o: .09;
}
.awix-product-card { border: 0; border-block-start: 2px solid var(--color-text); border-radius: 0; background: transparent; }
.nt-btn { border-radius: 0; }

/* nt:header-base -- shared by every header-* recipe: sticky wrapper, bar grid, icon buttons, mobile drawer, inline menu on desktop.
   Mirrors the kit's awix-header behaviour (same data-awix-* hooks) under own class names. */
.shopify-section:has(> .nt-hd[data-sticky="true"]) { position: sticky; inset-block-start: 0; z-index: 50; transition: inset-block-start .28s ease; }
.shopify-section.awix-header-hidden:has(> .nt-hd[data-sticky="true"]) { inset-block-start: calc(-1 * (var(--awix-header-h, 96px) + 2px)); }
.nt-hd { position: relative; z-index: 50; background: var(--nt-hd-bg, var(--color-header-bg)); color: var(--color-header-text); font-family: var(--font-title); }
.nt-hd a { color: inherit; text-decoration: none; }
.nt-hd__bar { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; column-gap: 8px; min-block-size: 60px; padding-block: var(--nt-hd-py, 12px); }
.nt-hd__icon { display: inline-flex; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; padding: 0; border: 0; border-radius: var(--nt-r-btn); background: none; color: inherit; cursor: pointer; }
.nt-hd__icon:hover, .nt-hd__icon:focus-visible, .nt-nav__link:hover, .nt-nav__link:focus-visible { color: var(--nt-cur, var(--color-header-hover)); }
.nt-hd__icon svg { inline-size: 22px; block-size: 22px; }
.nt-hd__burger { grid-column: 1; margin-inline-start: -10px; }
.nt-hd__logo { grid-column: 2; justify-self: center; display: inline-flex; align-items: center; min-block-size: 44px; font-weight: 800; font-size: 1.25rem; line-height: 1.4; }
.nt-hd__logo img { inline-size: min(var(--nt-logo-w, 120px), 40vw); max-block-size: 52px; object-fit: contain; }
.nt-hd__tools { grid-column: 3; display: flex; align-items: center; margin-inline-end: -10px; }
.nt-hd__opener, .nt-hd__closer { display: none; }
.nt-hd__anchor { position: fixed; inset-block-start: 0; inset-inline-start: 0; inline-size: 0; block-size: 0; }
.nt-hd__search { display: none; grid-column: 1 / -1; align-items: center; padding-block-end: 12px; position: relative; }
.nt-hd.is-search-open .nt-hd__search { display: flex; }
.nt-hd__search input { flex: 1; min-inline-size: 0; min-block-size: 44px; padding-inline: 16px 48px; border: 1.5px solid color-mix(in srgb, currentColor 25%, transparent); border-radius: var(--nt-r-btn); background: color-mix(in srgb, currentColor 6%, transparent); color: inherit; font: inherit; }
.nt-hd__search input::placeholder { color: inherit; opacity: .6; }
.nt-hd__search button { margin-inline-start: -46px; }
.nt-hd__backdrop { position: fixed; inset: 0; z-index: 1; background: color-mix(in srgb, var(--color-text) 50%, transparent); opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility 0s .28s; }
.nt-hd.is-nav-open .nt-hd__backdrop { opacity: 1; visibility: visible; transition: opacity .28s ease; }
/* mobile drawer */
.nt-hd__panel { position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 2; inline-size: min(86vw, 380px); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  background: var(--color-header-bg); color: var(--color-header-text); box-shadow: var(--nt-card-shadow); translate: 100% 0; visibility: hidden; transition: translate .3s var(--nt-ease), visibility 0s .3s; }
:root[dir="ltr"] .nt-hd__panel { translate: -100% 0; }
.nt-hd.is-nav-open .nt-hd__panel { translate: 0 0; visibility: visible; transition: translate .3s var(--nt-ease); }
.nt-hd__panel-head { display: flex; align-items: center; justify-content: space-between; padding: 8px; padding-inline-start: 20px; border-block-end: 1px solid var(--color-border); }
.nt-hd__panel-title { font-weight: 700; }
.nt-nav { padding-block: 4px 24px; }
.nt-nav__list { list-style: none; margin: 0; padding: 0; }
.nt-nav__item { display: flex; flex-wrap: wrap; align-items: center; border-block-end: 1px solid var(--color-border); }
.nt-nav__link { flex: 1; display: flex; align-items: center; min-block-size: 48px; padding-inline: 20px; font-weight: 700; }
.nt-nav__item.is-current > .nt-nav__link { color: var(--nt-cur, var(--color-header-hover)); }
.nt-nav__toggle { display: inline-flex; align-items: center; justify-content: center; inline-size: 48px; block-size: 48px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.nt-nav__toggle svg, .nt-nav__link--toggle svg { inline-size: 18px; block-size: 18px; flex: none; transition: rotate .2s ease; }
.nt-nav__item.is-open > .nt-nav__toggle svg, .nt-nav__item.is-open > .nt-nav__link--toggle svg { rotate: 180deg; }
.nt-nav__link--toggle { justify-content: space-between; gap: 8px; border: 0; background: none; color: inherit; cursor: pointer; text-align: start; font: inherit; font-weight: 700; padding-block: 0; }
.nt-nav__sub { flex: 0 0 100%; display: none; list-style: none; margin: 0; padding: 0 0 8px; background: color-mix(in srgb, currentColor 5%, transparent); }
.nt-nav__item.is-open > .nt-nav__sub { display: block; }
.nt-nav__sublink { display: flex; align-items: center; min-block-size: 44px; padding-inline: 36px 20px; }
.nt-nav__sublink:hover, .nt-nav__sublink:focus-visible { color: var(--color-header-hover); }
/* without script the menu is plain content under the bar */
@media (max-width: 989.98px) {
  .no-js .nt-hd__panel { position: static; grid-column: 1 / -1; inline-size: auto; translate: none; visibility: visible; box-shadow: none; overflow: visible; }
  .no-js .nt-hd__burger, .no-js .nt-hd__search-toggle, .no-js .nt-hd__panel-head, .no-js .nt-nav__toggle, .no-js .nt-hd__backdrop { display: none; }
  .no-js .nt-hd__search { display: flex; }
  .no-js .nt-nav__sub { display: block; }
}
/* inline menu on a wide screen (headers marked nt-hd--inline) */
@media (min-width: 990px) {
  .nt-hd--inline .nt-hd__burger, .nt-hd--inline .nt-hd__panel-head, .nt-hd--inline .nt-hd__backdrop { display: none; }
  .nt-hd--inline .nt-hd__panel { position: static; inline-size: auto; translate: none; visibility: visible; box-shadow: none; overflow: visible; background: none; color: inherit; flex-direction: row; align-items: center; }
  .nt-hd--inline .nt-nav { padding: 0; }
  .nt-hd--inline .nt-nav__list { display: flex; align-items: center; gap: 2px; }
  .nt-hd--inline .nt-nav__item { position: relative; flex-wrap: nowrap; border: 0; }
  .nt-hd--inline .nt-nav__link { padding-inline: 14px; min-block-size: 44px; white-space: nowrap; }
  .nt-hd--inline .nt-nav__toggle { inline-size: 24px; block-size: 44px; margin-inline-start: -10px; }
  .nt-hd--inline .nt-nav__sub { position: absolute; inset-block-start: 100%; inset-inline-start: 0; z-index: 5; min-inline-size: 220px; padding: 8px; margin: 0;
    background: var(--color-header-bg); color: var(--color-header-text); border: max(var(--nt-bw), 1px) solid var(--color-border); border-radius: var(--nt-r); box-shadow: var(--nt-card-shadow); }
  .nt-hd--inline .nt-nav__sublink { padding-inline: 12px; border-radius: calc(var(--nt-r-btn) - 2px); }
  .nt-hd--inline .nt-nav__sublink:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
  .nt-hd--inline .nt-hd__search { display: flex; padding: 0; grid-column: auto; }
  .nt-hd--inline .nt-hd__search input { min-block-size: 40px; inline-size: 200px; padding-inline: 14px 44px; }
  .nt-hd--inline .nt-hd__search-toggle { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nt-hd__panel, .nt-hd__backdrop, .shopify-section:has(> .nt-hd) { transition: none; } }

/* nt:header-overlay -- a plain bar everywhere; over a first section that carries .nt-hero--bleed it turns transparent and sits on the hero.
   Pair it only with a bleed hero (brand-coloured or dark field): the ink becomes --color-brand-contrast. */
.nt-hd--overlay { border-block-end: max(var(--nt-bw), 1px) solid var(--nt-bc); }
.nt-hd--overlay .nt-hd__logo { grid-column: 2; font-weight: var(--nt-wt-d); }
@media (min-width: 990px) {
  .nt-hd--overlay .nt-hd__bar { display: flex; gap: 20px; }
  .nt-hd--overlay .nt-hd__logo { margin-inline-end: auto; order: 0; }
  .nt-hd--overlay .nt-hd__panel { order: 1; }
  .nt-hd--overlay .nt-hd__search { order: 2; }
  .nt-hd--overlay .nt-hd__tools { order: 3; }
}
body:has(main > .shopify-section:first-child .nt-hero--bleed) .shopify-section:has(> .nt-hd--overlay) { position: absolute; inset-inline: 0; inset-block-start: 0; z-index: 60; }
body:has(main > .shopify-section:first-child .nt-hero--bleed) .nt-hd--overlay { background: transparent; border-color: color-mix(in srgb, var(--color-brand-contrast) 22%, transparent); color: var(--color-brand-contrast); }
body:has(main > .shopify-section:first-child .nt-hero--bleed) .nt-hd--overlay .nt-hd__panel { color: var(--color-header-text); }
@media (min-width: 990px) {
  body:has(main > .shopify-section:first-child .nt-hero--bleed) .nt-hd--overlay .nt-hd__panel { color: inherit; }
  body:has(main > .shopify-section:first-child .nt-hero--bleed) .nt-hd--overlay .nt-hd__panel { --nt-cur: var(--color-accent); }
  body:has(main > .shopify-section:first-child .nt-hero--bleed) .nt-hd--overlay .nt-hd__search input { border-color: color-mix(in srgb, var(--color-brand-contrast) 40%, transparent); }
}

/* nt:footer-contact */
.nt-fc { --nt-py: clamp(40px, 7vw, 88px); background: var(--nt-bg, var(--nt-dark-bg)); color: var(--nt-fg, var(--nt-dark-fg)); padding-block: var(--nt-py) 0; }
.nt-fc a { color: inherit; text-decoration: none; }
.nt-fc a:hover, .nt-fc a:focus-visible { color: var(--color-accent); }
.nt-fc__cta { display: grid; gap: 24px; align-items: end; padding-block-end: clamp(28px, 5vw, 56px); margin-block-end: clamp(28px, 5vw, 48px); border-block-end: 2px solid color-mix(in srgb, currentColor 40%, transparent); }
.nt-fc__ask { margin: 0; font-family: var(--font-title); font-weight: 800; line-height: 1.15; font-size: clamp(2.2rem, 1.2rem + 5.6vw, 5.5rem); text-wrap: balance; }
.nt-fc__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.nt-fc__call { display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-title); font-weight: 800; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); font-variant-numeric: tabular-nums; }
.nt-fc .nt-fc__call { color: var(--color-accent); }
.nt-fc__call:hover { text-decoration: underline; text-underline-offset: .2em; }
.nt-fc .nt-btn { --nt-btn-bg: var(--color-accent); --nt-btn-fg: var(--nt-on-accent); }
.nt-fc .nt-btn:hover { color: var(--color-text); }
.nt-fc__cols { display: grid; gap: 32px; }
.nt-fc__about { margin: 0; max-inline-size: 34ch; font-size: var(--text-lead); line-height: 1.9; opacity: .85; }
.nt-fc__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.nt-fc__h { display: block; margin: 0 0 10px; font-family: var(--font-title); font-weight: 800; font-size: var(--text-h3); color: var(--color-accent); }
.nt-fc__flat { display: inline-flex; min-block-size: 40px; align-items: center; font-weight: 700; }
.nt-fc__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nt-fc__col li a { display: inline-flex; min-block-size: 40px; align-items: center; opacity: .88; }
.nt-fc__info { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.nt-fc__info li { display: flex; align-items: flex-start; gap: .7em; line-height: 1.8; opacity: .92; }
.nt-fc__info .nt-icon { margin-block-start: .25em; color: var(--color-accent); }
.nt-fc__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-block-start: clamp(32px, 5vw, 56px); padding-block: 18px; border-block-start: 1px solid color-mix(in srgb, currentColor 28%, transparent); font-size: var(--text-small); opacity: .85; }
@media (min-width: 900px) {
  .nt-fc__cta { grid-template-columns: minmax(0, 1.5fr) auto; }
  .nt-fc__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
}

/* nt:hero-diagonal */
.nt-hero--diagonal { --nt-py: clamp(48px, 8vw, 110px); background: var(--nt-bg, var(--color-brand)); color: var(--nt-fg, var(--color-brand-contrast)); padding-block: var(--nt-py); min-block-size: min(92vh, 800px); display: grid; align-items: center; --nt-pat-c: var(--color-brand-contrast); --nt-pat-o: .14; --nt-pat-size: 22px; }
body:has(.nt-hd--overlay) .nt-hero--diagonal { padding-block-start: calc(var(--nt-py) + 72px); }
/* the cut is drawn for RTL: the accent field is on the inline-end (left) side */
.nt-diag__cut { position: absolute; inset: 0; z-index: -1; background: var(--color-accent); clip-path: polygon(0 0, 46% 0, 24% 100%, 0 100%); }
.nt-diag { display: grid; gap: 24px; align-items: center; }
.nt-diag__text { display: grid; gap: 18px; justify-items: start; }
.nt-diag__title { margin: 0; font-family: var(--font-title); font-weight: 800; line-height: 1.1; font-size: clamp(2.8rem, 1rem + 7.6vw, 7.4rem); text-wrap: balance; }
.nt-hero--diagonal .nt-eyebrow, .nt-hero--diagonal .nt-lede { color: inherit; }
.nt-hero--diagonal .nt-lede { opacity: .92; }
.nt-hero--diagonal .nt-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nt-hero--diagonal .nt-btn { --nt-btn-bg: var(--color-brand-contrast); --nt-btn-fg: var(--color-brand); }
.nt-hero--diagonal .nt-btn--ghost { --_bg: transparent; --_fg: currentColor; }
.nt-diag__art { inline-size: min(100%, 420px); justify-self: center; --art-1: var(--color-accent); --art-2: var(--color-brand-contrast); --art-3: color-mix(in srgb, var(--color-brand-contrast) 30%, var(--color-brand)); --art-ink: var(--color-text); filter: drop-shadow(0 24px 30px color-mix(in srgb, var(--color-text) 30%, transparent)); }
@media (max-width: 899.98px) { .nt-diag__cut { clip-path: polygon(0 62%, 100% 38%, 100% 100%, 0 100%); } .nt-diag__art { margin-block-start: 8px; } }
@media (min-width: 900px) { .nt-diag { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } .nt-diag__art { inline-size: min(100%, 520px); margin-inline-start: -4%; } }

/* nt:sig-marker-sweep */
.nt-sig-mark { background: var(--nt-bg, var(--color-surface)); color: var(--nt-fg, var(--color-text)); }
.nt-sig-mark__in { display: grid; gap: clamp(16px, 3vw, 32px); justify-items: start; }
.nt-sig-mark__title { display: grid; gap: .08em; font-size: clamp(2.6rem, 1rem + 8vw, 7.5rem); line-height: 1.3; max-inline-size: 16ch; }
.nt-sig-mark__line { display: block; }
.nt-sig-mark__mark { position: relative; isolation: isolate; display: inline-block; max-inline-size: 100%; background: none; color: var(--nt-on-accent); padding-inline: .14em; margin-inline: -.14em; }
.nt-sig-mark__mark::before { content: ""; position: absolute; z-index: -1; inset-inline: 0; inset-block: 36% 6%; background: var(--color-accent); border-radius: calc(var(--nt-r) / 3); transform-origin: calc(50% - 50% * var(--dir)) 50%; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes nt-sig-sweep { from { scale: 0 1; } to { scale: 1 1; } }
  .nt-sig-mark--load .nt-sig-mark__mark::before { animation: nt-sig-sweep .9s var(--nt-ease) .5s both; }
  @supports (animation-timeline: view()) { .nt-sig-mark--scroll .nt-sig-mark__mark::before { animation: nt-sig-sweep linear both; animation-timeline: view(); animation-range: entry 25% cover 38%; } }
}

/* nt:split-feature */
.nt-feat { --nt-py: clamp(48px, 9vw, 120px); background: var(--nt-bg, var(--color-surface)); color: var(--nt-fg, var(--color-text)); padding-block: var(--nt-py); }
.nt-feat__grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.nt-feat__stage { --_bg: var(--color-brand); --_fg: var(--color-brand-contrast); position: relative; isolation: isolate; min-block-size: clamp(340px, 92vw, 540px); display: grid; place-items: center; border-radius: var(--nt-r); border: var(--nt-bw) solid var(--nt-bc); box-shadow: var(--nt-card-shadow); background: var(--_bg); color: var(--_fg); --art-1: var(--color-accent); --art-2: var(--_fg); --art-3: color-mix(in srgb, var(--_fg) 26%, var(--_bg)); --nt-pat-c: var(--_fg); --nt-pat-o: .16; --nt-pat-size: 22px; --nt-grain-o: .14; }
.nt-feat--accent .nt-feat__stage { --_bg: var(--color-accent); --_fg: var(--color-text); --art-1: var(--color-brand); --art-3: color-mix(in srgb, var(--color-surface) 55%, var(--color-accent)); }
.nt-feat--ink .nt-feat__stage { --_bg: var(--nt-dark-bg); --_fg: var(--nt-dark-fg); --art-ink: var(--nt-dark-fg); }
.nt-feat--muted .nt-feat__stage { --_bg: var(--color-surface-muted); --_fg: var(--color-text); --art-1: var(--color-brand); --art-2: var(--color-accent); --art-3: var(--color-surface); }
.nt-feat__stage::before { content: ""; position: absolute; inset: 12px; z-index: 3; pointer-events: none; border: 1px solid color-mix(in srgb, var(--_fg) 32%, transparent); border-radius: max(calc(var(--nt-r) - 6px), 0px); }
.nt-feat__field { position: absolute; inset: 0; overflow: clip; border-radius: inherit; display: grid; place-items: center; }
.nt-feat__blob { position: absolute; inline-size: 82%; opacity: .9; --art-1: color-mix(in srgb, var(--_fg) 16%, var(--_bg)); --art-3: transparent; }
.nt-feat__rings { position: absolute; inline-size: 108%; color: var(--_fg); --art-ink: var(--_fg); opacity: .3; --nt-spin-t: 90s; }
.nt-feat__piece { position: relative; inline-size: min(64%, 340px); z-index: 2; filter: drop-shadow(0 26px 24px color-mix(in srgb, var(--color-text) 34%, transparent)); }
.nt-feat__piece2 { position: absolute; inset-block-end: 8%; inset-inline-start: 7%; inline-size: clamp(76px, 22%, 130px); z-index: 3; rotate: -8deg; filter: drop-shadow(0 12px 12px color-mix(in srgb, var(--color-text) 30%, transparent)); }
.nt-feat__sp { position: absolute; z-index: 2; --art-1: var(--_fg); }
.nt-feat__sp--1 { inset-block-start: 12%; inset-inline-end: 12%; inline-size: clamp(28px, 7%, 52px); }
.nt-feat__sp--2 { inset-block-end: 20%; inset-inline-end: 9%; inline-size: clamp(16px, 4%, 28px); }
.nt-feat__badge { position: absolute; inset-block-start: 7%; inset-inline-start: -10px; z-index: 4; padding: .5em 1.1em; rotate: -6deg; border-radius: var(--nt-r-btn); background: var(--nt-dark-bg); color: var(--nt-dark-fg); font-weight: 800; box-shadow: var(--nt-hard); }
.nt-feat__copy { display: grid; gap: 16px; justify-items: start; }
.nt-feat__title { margin: 0; font-family: var(--font-title); font-weight: 800; line-height: 1.12; font-size: clamp(2.2rem, 1rem + 4.6vw, 4.6rem); text-wrap: balance; }
.nt-feat__points { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 10px; inline-size: min(100%, 460px); }
.nt-feat__points li { display: flex; align-items: center; gap: .8em; padding: 10px 14px; font-weight: 700; border: max(var(--nt-bw), 1px) solid var(--nt-hair); border-radius: var(--nt-r-btn); background: color-mix(in srgb, var(--color-surface) 70%, transparent); transition: translate .3s var(--nt-ease), box-shadow .3s var(--nt-ease); }
.nt-feat__points li:hover { translate: -6px 0; box-shadow: var(--nt-hard); }
.nt-feat__tick { display: grid; place-items: center; flex: none; inline-size: 2em; block-size: 2em; border-radius: 50%; background: var(--color-accent); color: var(--color-text); }
.nt-feat .nt-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
  .nt-feat__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .nt-feat--rev .nt-feat__stage { order: 2; }
  .nt-feat__stage { min-block-size: 560px; }
}

/* nt:process-timeline */
.nt-tl { --nt-py: clamp(44px, 6.5vw, 92px); background: var(--nt-bg, var(--color-surface)); color: var(--nt-fg, var(--color-text)); }
.nt-tl--muted { background: var(--nt-bg, var(--color-surface-muted)); }
.nt-tl--ink { background: var(--nt-bg, var(--nt-dark-bg)); color: var(--nt-fg, var(--nt-dark-fg)); }
.nt-tl__head { display: grid; gap: 14px; justify-items: start; margin-block-end: clamp(28px, 5vw, 56px); max-inline-size: 46rem; }
.nt-tl--ink .nt-lede { color: inherit; opacity: .8; }
.nt-tl__list { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 28px; }
.nt-tl__list::before { content: ""; position: absolute; inset-block: 8px; inset-inline-start: 21px; inline-size: 0; border-inline-start: 2px dashed color-mix(in srgb, currentColor 45%, transparent); }
.nt-tl__step { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; row-gap: 4px; align-items: start; }
.nt-tl__node { grid-row: 1 / span 3; z-index: 1; display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; background: var(--color-accent); color: var(--nt-on-accent); border: 3px solid var(--nt-bg, var(--color-surface)); box-shadow: 0 0 0 2px currentColor; font-weight: 800; font-size: 1.0625rem; transition: scale .3s var(--nt-ease), background-color .3s; }
.nt-tl--ink .nt-tl__node { border-color: var(--nt-bg, var(--nt-dark-bg)); box-shadow: 0 0 0 2px var(--nt-dark-fg); }
.nt-tl__step:hover .nt-tl__node { scale: 1.12; }
.nt-tl__icon { display: none; }
.nt-tl__title { margin: 0; padding-block-start: 8px; font-family: var(--font-title); font-weight: 800; font-size: 1.375rem; line-height: 1.5; }
.nt-tl__text { margin: 0; line-height: 1.85; opacity: .82; max-inline-size: 34ch; }
@media (min-width: 900px) {
  .nt-tl__list { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 24px; }
  .nt-tl__list::before { inset-block: 21px auto; inset-inline: 0; inline-size: auto; block-size: 0; border-inline-start: 0; border-block-start: 2px dashed color-mix(in srgb, currentColor 45%, transparent); }
  .nt-tl__step { grid-template-columns: 1fr; row-gap: 12px; }
  .nt-tl__node { grid-row: auto; }
  .nt-tl__icon { display: block; position: absolute; inset-block-start: 4px; inset-inline-end: 0; opacity: .5; }
  .nt-tl__icon .nt-icon { inline-size: 1.6em; block-size: 1.6em; }
  .nt-tl__title { padding-block-start: 4px; }
}

/* nt:faq-ledger */
.nt-fl { --nt-py: clamp(44px, 6.5vw, 92px); background: var(--nt-bg, var(--color-surface)); color: var(--nt-fg, var(--color-text)); }
.nt-fl__in { display: grid; gap: clamp(24px, 4vw, 48px); }
.nt-fl__head { display: grid; gap: 14px; justify-items: start; max-inline-size: 36rem; align-content: start; }
.nt-fl__list { border-block-start: 3px solid currentColor; }
.nt-fl__item { border-block-end: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.nt-fl__item summary { display: grid; grid-template-columns: 4rem minmax(0, 1fr) 28px; align-items: center; column-gap: 12px; padding-block: 20px; cursor: pointer; list-style: none; }
.nt-fl__item summary::-webkit-details-marker { display: none; }
.nt-fl__no { font-family: var(--font-title); font-weight: 800; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.nt-fl__q { font-family: var(--font-title); font-weight: 800; font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); line-height: 1.6; }
.nt-fl__item svg { inline-size: 24px; block-size: 24px; transition: rotate .3s var(--nt-ease); }
.nt-fl__item[open] svg { rotate: 135deg; }
.nt-fl__item[open] .nt-fl__no { color: var(--color-accent); -webkit-text-stroke-color: var(--color-text); }
.nt-fl__item summary:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.nt-fl__a { padding: 0 calc(4rem + 12px) 24px 40px; line-height: 1.95; color: var(--color-text-muted); max-inline-size: 60ch; }
@media (min-width: 900px) { .nt-fl__in { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); } .nt-fl__head { position: sticky; inset-block-start: 110px; } .nt-fl__a { padding-inline-start: calc(4rem + 12px); } .nt-fl__list { border-block-start-width: 3px; } }

/* nt:blog-teaser */
.nt-bt { --nt-py: clamp(44px, 6.5vw, 92px); --nt-pat-size: 360px; background: var(--nt-bg, var(--color-surface)); color: var(--nt-fg, var(--color-text)); }
.nt-bt__top { display: grid; gap: 20px; align-items: end; margin-block-end: clamp(24px, 4vw, 48px); justify-items: start; }
.nt-bt__head { display: grid; gap: 14px; justify-items: start; max-inline-size: 42rem; }
.nt-bt__grid { display: grid; gap: 18px; }
.nt-bt__card { border: max(var(--nt-bw), 1px) solid var(--nt-bc); border-radius: var(--nt-r); background: var(--color-surface); box-shadow: var(--nt-card-shadow); overflow: clip; transition: translate .3s var(--nt-ease); }
.nt-bt__card:hover { translate: 0 -4px; }
.nt-bt__link { display: grid; color: inherit; text-decoration: none; block-size: 100%; }
.nt-bt__cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: clip; background: var(--color-brand); color: var(--color-brand-contrast); }
.nt-bt__cover img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.nt-bt__pat { position: absolute; inset: 0; background: var(--color-brand-contrast); opacity: .16; -webkit-mask: var(--nt-pat) center / cover no-repeat; mask: var(--nt-pat) center / cover no-repeat; }
.nt-bt__no { position: absolute; inset-block-end: -.12em; inset-inline-start: 16px; font-family: var(--font-title); font-weight: 800; line-height: 1; font-size: 6.5rem; color: var(--color-accent); }
.nt-bt__card:nth-child(2) .nt-bt__cover { background: var(--color-accent); color: var(--nt-on-accent); }
.nt-bt__card:nth-child(2) .nt-bt__pat { background: var(--color-text); }
.nt-bt__card:nth-child(2) .nt-bt__no { color: var(--color-text); }
.nt-bt__card:nth-child(3) .nt-bt__cover { background: var(--nt-dark-bg); }
.nt-bt__body { display: grid; gap: 8px; align-content: start; padding: 18px 20px 22px; }
.nt-bt__chip { justify-self: start; padding: .15em .8em; border-radius: 99px; background: var(--color-surface-muted); font-size: var(--text-small); font-weight: 700; }
.nt-bt__title { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: 1.3125rem; line-height: 1.55; }
.nt-bt__excerpt { color: var(--color-text-muted); line-height: 1.8; }
.nt-bt__date { font-size: var(--text-small); color: var(--color-text-muted); }
.nt-bt__empty { margin: 0; padding: 40px 24px; border: 2px dashed var(--nt-hair); border-radius: var(--nt-r); text-align: center; font-weight: 700; color: var(--color-text-muted); }
@media (min-width: 900px) {
  .nt-bt__top { grid-template-columns: 1fr auto; }
  .nt-bt__grid { grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(2, auto); }
  .nt-bt__card--lead { grid-row: span 2; }
  .nt-bt__card--lead .nt-bt__cover { aspect-ratio: 4 / 3; }
  .nt-bt__card--lead .nt-bt__title { font-size: 1.75rem; }
  .nt-bt__card:not(.nt-bt__card--lead) .nt-bt__link { grid-template-columns: 38% 1fr; }
  .nt-bt__card:not(.nt-bt__card--lead) .nt-bt__cover { aspect-ratio: auto; block-size: 100%; }
  .nt-bt__card:not(.nt-bt__card--lead) .nt-bt__no { font-size: 4.5rem; }
}

/* nt:contact-split */
.nt-contact { --nt-py: clamp(44px, 6.5vw, 92px); background: var(--nt-bg, var(--color-surface)); color: var(--nt-fg, var(--color-text)); }
.nt-contact__in { display: grid; gap: clamp(28px, 5vw, 64px); }
.nt-contact__lead { display: grid; gap: 18px; align-content: start; justify-items: start; }
.nt-contact__title { font-size: clamp(2rem, 1.2rem + 4vw, 4.25rem); }
.nt-contact .nt-lede { color: inherit; opacity: .84; }
.nt-contact__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-block-start: 2px solid currentColor; align-content: start; }
.nt-contact__card { display: grid; grid-template-columns: 44px 1fr; grid-template-areas: "ic k" "ic v"; column-gap: 14px; row-gap: 2px; padding-block: 18px; border-block-end: 1px solid color-mix(in srgb, currentColor 26%, transparent); transition: background-color .25s; }
.nt-contact__ic { grid-area: ic; display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; background: var(--color-accent); color: var(--nt-on-accent); }
.nt-contact__ic .nt-icon { inline-size: 1.3em; block-size: 1.3em; }
.nt-contact__k { grid-area: k; font-size: var(--text-small); font-weight: 700; opacity: .72; }
.nt-contact__v, .nt-contact__phone { grid-area: v; font-size: 1.125rem; line-height: 1.7; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.nt-contact__phone { font-family: var(--font-title); font-weight: 800; font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.6rem); line-height: 1.3; justify-self: start; font-variant-numeric: tabular-nums; }
.nt-contact__phone:hover, .nt-contact__v:is(a):hover { text-decoration: underline; text-underline-offset: .2em; }
.nt-contact--ink { background: var(--nt-bg, var(--nt-dark-bg)); color: var(--nt-fg, var(--nt-dark-fg)); }
.nt-contact--brand { background: var(--nt-bg, var(--color-brand)); color: var(--nt-fg, var(--color-brand-contrast)); }
.nt-contact--brand .nt-btn, .nt-contact--ink .nt-btn { --nt-btn-bg: var(--color-accent); --nt-btn-fg: var(--nt-on-accent); }
@media (min-width: 900px) { .nt-contact__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; } }

/* nt:proof-band */
.nt-proof { --nt-py: clamp(44px, 6.5vw, 92px); --nt-pat-o: .08; --nt-pat-c: var(--nt-dark-fg); background: var(--nt-bg, var(--nt-dark-bg)); color: var(--nt-fg, var(--nt-dark-fg)); }
.nt-proof--brand { --nt-pat-c: var(--color-brand-contrast); background: var(--nt-bg, var(--color-brand)); color: var(--nt-fg, var(--color-brand-contrast)); }
.nt-proof--accent { --nt-pat-c: var(--nt-on-accent); background: var(--nt-bg, var(--color-accent)); color: var(--nt-fg, var(--nt-on-accent)); }
.nt-proof__title { margin: 0 0 clamp(20px, 4vw, 40px); font-family: var(--font-title); font-weight: 800; font-size: var(--nt-d3); line-height: 1.3; }
.nt-proof__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block-start: 2px solid currentColor; }
.nt-proof__item { display: grid; gap: 6px; align-content: start; padding: 22px 16px 22px 0; padding-inline: 0 16px; border-block-end: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.nt-proof__icon { display: grid; place-items: center; inline-size: 48px; block-size: 48px; border-radius: 50%; border: 2px solid currentColor; margin-block-end: 6px; transition: rotate .4s var(--nt-ease), background-color .3s, color .3s; }
.nt-proof__icon .nt-icon { inline-size: 1.4em; block-size: 1.4em; }
.nt-proof--ink .nt-proof__icon { border-color: var(--color-accent); color: var(--color-accent); }
.nt-proof__item:hover .nt-proof__icon { rotate: -12deg; background: var(--color-accent); color: var(--nt-on-accent); }
.nt-proof__value { font-family: var(--font-title); font-weight: 800; line-height: 1.1; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.8rem); font-variant-numeric: tabular-nums; }
.nt-proof--ink .nt-proof__value { color: var(--color-accent); }
.nt-proof__name { font-family: var(--font-title); font-weight: 800; font-size: 1.1875rem; line-height: 1.5; }
.nt-proof__text { font-size: var(--text-small); line-height: 1.8; opacity: .8; max-inline-size: 30ch; }
@media (min-width: 900px) { .nt-proof__list { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } .nt-proof__item { padding-inline: 0 24px; border-block-end: 0; border-inline-end: 1px solid color-mix(in srgb, currentColor 30%, transparent); padding-inline: 24px; } .nt-proof__item:first-child { padding-inline-start: 0; } .nt-proof__item:last-child { border-inline-end: 0; } }

/* nt:own-imn -- theme rules on top of the recipes: a narrow red seam, technical line drawings, ruled paper behind the statement, no toy decoration */
.nt-diag__cut { clip-path: polygon(0 88px, 26% 88px, 10% 100%, 0 100%); }
@media (max-width: 899.98px) { .nt-diag__cut { clip-path: polygon(0 76%, 100% 60%, 100% 100%, 0 100%); } }
.nt-diag__art { inline-size: min(100%, 560px) !important; scale: 1.4; }
@media (max-width: 899.98px) { .nt-diag__art { scale: 1; } }
.nt-diag__title { font-size: clamp(2.6rem, 1.2rem + 6vw, 5.6rem); line-height: 1.2; }
.nt-diag__art { --art-ink: var(--color-brand-contrast); --art-paper: transparent; --art-1: var(--color-brand-contrast); --art-3: color-mix(in srgb, var(--color-brand-contrast) 8%, transparent); filter: none; }
.nt-feat--ink .nt-feat__stage { --art-ink: var(--nt-dark-fg); --art-paper: var(--nt-dark-bg); --art-1: var(--color-accent); --art-3: color-mix(in srgb, var(--nt-dark-fg) 7%, var(--nt-dark-bg)); }
.nt-feat__sp, .nt-feat__blob, .nt-feat__rings { display: none; }
.nt-feat__piece, .nt-feat__piece2 { filter: none; }
.nt-feat__piece { inline-size: min(82%, 440px); }
.nt-feat__piece2 { inline-size: clamp(120px, 36%, 210px); inset-block-end: 6%; inset-inline-start: 5%; }
#shopify-section-template--index__products { background: var(--color-surface-muted); overflow-x: clip; }
.nt-feat__piece2 { rotate: 0deg; }
.nt-feat__badge { rotate: 0deg; border-radius: 0; box-shadow: none; border-inline-start: 4px solid var(--color-accent); }
.nt-feat--ink .nt-lede { color: inherit; opacity: .82; }
.nt-feat--ink .nt-feat__points li { background: color-mix(in srgb, var(--nt-dark-fg) 9%, transparent); border-color: color-mix(in srgb, var(--nt-dark-fg) 30%, transparent); color: var(--nt-dark-fg); }
.nt-feat__points li:hover { translate: 0 0; box-shadow: none; }
.nt-sig-mark { position: relative; overflow: clip; }
.nt-sig-mark__in { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .nt-sig-mark::before { content: ""; position: absolute; inset-block: 0; inset-inline-end: 0; inline-size: 38%; background: repeating-linear-gradient(to bottom, transparent 0 47px, color-mix(in srgb, var(--color-text) 22%, transparent) 47px 48px); -webkit-mask-image: linear-gradient(calc(180deg + 90deg * var(--dir)), var(--color-text), transparent); mask-image: linear-gradient(calc(180deg + 90deg * var(--dir)), var(--color-text), transparent); pointer-events: none; }
  .nt-sig-mark::after { content: ""; position: absolute; inset-block: 14%; inset-inline-end: 5%; inline-size: min(30%, 400px); background: color-mix(in srgb, var(--color-text) 34%, transparent); -webkit-mask: var(--nt-draw) center / contain no-repeat; mask: var(--nt-draw) center / contain no-repeat; pointer-events: none; }
  .nt-sig-mark__title { font-size: clamp(2.6rem, 1rem + 6.4vw, 6.4rem); }
}
body:has(main > .shopify-section:first-child .nt-hero--bleed) .nt-hd--overlay.is-search-open { background: var(--color-brand); }

/* nt:categories-tiles */
.nt-ct { --nt-py: clamp(44px, 6.5vw, 92px); --nt-ct-gap: clamp(12px, 2vw, 24px); background: var(--nt-bg, var(--color-surface)); color: var(--nt-fg, var(--color-text)); }
.nt-ct__title { font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3.2rem); }
.nt-ct__lede { max-inline-size: 52ch; }
.nt-ct__head { display: grid; gap: 14px; justify-items: start; max-inline-size: 42rem; margin-block-end: clamp(24px, 4vw, 48px); }
.nt-ct__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--nt-ct-gap); }
.nt-ct__item { display: grid; min-inline-size: 0; }
@media (max-width: 599.98px) { .nt-ct__no { inset-block-start: 14px; inset-inline-start: 16px; font-size: .9375rem; } .nt-ct__meta { padding-inline: 12px; } }
@media (min-width: 900px) { .nt-ct__grid { grid-template-columns: repeat(var(--nt-ct-cols, 4), minmax(0, 1fr)); } }

/* the tile: one ruled card, picture field above, name and count below; the count row sits on the tile's floor so every card in a row lines up */
.nt-ct__tile { position: relative; display: grid; grid-template-rows: auto 1fr; color: inherit; text-decoration: none; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--nt-r); overflow: clip; }
.nt-ct__tile::before, .nt-ct__tile::after { content: ""; position: absolute; z-index: 4; inset-block-start: 0; inset-inline: 0; block-size: 3px; background: var(--color-text); pointer-events: none; }
.nt-ct__tile::after { background: var(--color-accent); transform: scaleX(0); transform-origin: calc(50% - 50% * var(--dir)) 50%; }
.nt-ct__tile:hover, .nt-ct__tile:focus-visible { border-color: var(--color-text); }
.nt-ct__tile:hover::after, .nt-ct__tile:focus-visible::after { transform: scaleX(1); }
.nt-ct__tile:focus-visible, .nt-ct__all:focus-visible { outline: 3px solid var(--color-text); outline-offset: 3px; }

/* picture field: fixed ratio, drawing paper (a 16 px grid) and four registration ticks; every picture, whatever its own shape, sits inside it the same way */
.nt-ct__fig { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: clip; background-color: var(--color-surface-muted);
  background-image: linear-gradient(color-mix(in srgb, var(--color-text) 8%, transparent) 1px, transparent 1px), linear-gradient(to right, color-mix(in srgb, var(--color-text) 8%, transparent) 1px, transparent 1px); background-size: 16px 16px; background-position: center; border-block-end: 1px solid var(--color-border); }
.nt-ct__fig::before { content: ""; position: absolute; inset: 8px; z-index: 2; pointer-events: none; color: color-mix(in srgb, var(--color-text) 55%, transparent);
  background:
    linear-gradient(currentColor, currentColor) top left / 10px 1px no-repeat, linear-gradient(currentColor, currentColor) top left / 1px 10px no-repeat,
    linear-gradient(currentColor, currentColor) top right / 10px 1px no-repeat, linear-gradient(currentColor, currentColor) top right / 1px 10px no-repeat,
    linear-gradient(currentColor, currentColor) bottom left / 10px 1px no-repeat, linear-gradient(currentColor, currentColor) bottom left / 1px 10px no-repeat,
    linear-gradient(currentColor, currentColor) bottom right / 10px 1px no-repeat, linear-gradient(currentColor, currentColor) bottom right / 1px 10px no-repeat; }
.nt-ct__img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.nt-ct--cover .nt-ct__img { object-fit: cover; }
.nt-ct--contain .nt-ct__img { inset: 14%; inline-size: 72%; block-size: 72%; object-fit: contain; mix-blend-mode: multiply; }
.nt-ct__draw { display: grid; place-items: center; inline-size: 70%; color: color-mix(in srgb, var(--color-text) 62%, transparent); }
.nt-ct__plan, .nt-ct__art { inline-size: 100%; block-size: auto; display: block; }
.nt-ct__no { position: absolute; z-index: 3; inset-block-start: 20px; inset-inline-start: 22px; font-family: var(--font-title); font-weight: 700; font-size: 1.125rem; line-height: 1; color: var(--color-text); padding-inline-end: 8px; background: var(--color-surface-muted); }
.nt-ct__no::before { content: ""; display: inline-block; inline-size: 6px; block-size: 6px; margin-inline-end: 6px; background: var(--color-accent); vertical-align: .05em; }

.nt-ct__meta { display: grid; grid-template-rows: 1fr auto; gap: 12px; padding: 14px 16px 12px; }
.nt-ct__name { font-family: var(--font-title); font-weight: 700; font-size: clamp(1.0625rem, .95rem + .5vw, 1.3125rem); line-height: 1.5; min-block-size: 3em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; text-wrap: balance; }
.nt-ct__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-block-size: 32px; padding-block-start: 10px; border-block-start: 1px solid var(--color-border); }
.nt-ct__count { font-size: var(--text-small); color: var(--color-text-muted); font-weight: 700; }
.nt-ct__go { inline-size: 20px; block-size: 20px; flex: none; scale: calc(var(--dir) * -1) 1; }

/* the closing tile: fills whatever is left of the last row, so the grid never ends with a hole */
.nt-ct__item--all { grid-column: span var(--nt-ct-span-m, 2); }
@media (min-width: 900px) { .nt-ct__item--all { grid-column: span var(--nt-ct-span, 1); } }
.nt-ct__item--all { container-type: inline-size; }
.nt-ct__all { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 18px 20px; min-block-size: 112px; color: var(--nt-dark-fg); border-radius: var(--nt-r); text-decoration: none; font-family: var(--font-title); font-weight: 700; font-size: clamp(1.125rem, 1rem + 3cqi, 2rem); line-height: 1.4; box-shadow: inset 0 -3px 0 var(--color-accent);
  background-color: var(--nt-dark-bg); background-image: linear-gradient(color-mix(in srgb, var(--nt-dark-fg) 9%, transparent) 1px, transparent 1px), linear-gradient(to right, color-mix(in srgb, var(--nt-dark-fg) 9%, transparent) 1px, transparent 1px); background-size: 16px 16px; background-position: center; }
.nt-ct__all .nt-ct__go { inline-size: 28px; block-size: 28px; }
@media (hover: hover) { .nt-ct__all:hover { box-shadow: inset 0 -6px 0 var(--color-accent); } }

@media (prefers-reduced-motion: no-preference) {
  .nt-ct__tile::after { transition: transform .45s var(--nt-ease); }
  .nt-ct__tile { transition: border-color .25s var(--nt-ease); }
  .nt-ct__img, .nt-ct__draw { transition: scale .5s var(--nt-ease); }
  .nt-ct__tile:hover .nt-ct__img, .nt-ct__tile:hover .nt-ct__draw { scale: 1.04; }
  .nt-ct__go { transition: translate .3s var(--nt-ease); }
  .nt-ct__tile:hover .nt-ct__go, .nt-ct__all:hover .nt-ct__go { translate: calc(var(--dir) * 5px) 0; }
}
