/* =========================================================================
   Оттиск — a print shop & online store theme (child of Default).

   ART DIRECTION: «печатный цех». Paper-white sheets, press-black ink and
   the four process colours — cyan, magenta, yellow, key — used as a colour
   strip, as tabs on sheets and as hover "misregistration" (a flat cyan
   offset behind a magenta button). Crop marks and a registration target
   frame the key pictures. Headings are a heavy grotesque (Onest 800), the
   interface is Inter, the technical captions are JetBrains Mono.
   Icons (ottisk-ikony) get a calmer warm gold sub-style: cream card,
   gold hairline frame, serif-free but quiet type.

   Loaded last (after the modules' styles and the site's design tokens), so
   :root:root and :not(#ot) lift it above them. Variants: html[data-ottisk-…].
   ========================================================================= */

@font-face { font-family: 'Ottisk Onest'; font-style: normal; font-display: swap; font-weight: 100 900;
    src: url('/themes/default/assets/fonts/onest-cyrillic-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Ottisk Onest'; font-style: normal; font-display: swap; font-weight: 100 900;
    src: url('/themes/default/assets/fonts/onest-latin-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Ottisk Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
    src: url('/themes/default/assets/fonts/inter-cyrillic-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Ottisk Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
    src: url('/themes/default/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Ottisk Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
    src: url('/themes/default/assets/fonts/manrope-cyrillic-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Ottisk Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
    src: url('/themes/default/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Ottisk Unbounded'; font-style: normal; font-display: swap; font-weight: 200 900;
    src: url('/themes/default/assets/fonts/unbounded-cyrillic-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Ottisk Unbounded'; font-style: normal; font-display: swap; font-weight: 200 900;
    src: url('/themes/default/assets/fonts/unbounded-latin-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Ottisk Mono'; font-style: normal; font-display: swap; font-weight: 100 800;
    src: url('../fonts/jetbrains-mono-cyrillic-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Ottisk Mono'; font-style: normal; font-display: swap; font-weight: 100 800;
    src: url('../fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Owner settings (theme.json → design); core prints the chosen values after this file. */
:root {
    --ottisk-accent: #e6007e;
    --ottisk-cyan: #009fe3;
    --ottisk-gold: #a67c2e;
    --ottisk-font-display: 'Ottisk Onest', 'Onest', 'Arial Black', 'Segoe UI', Arial, sans-serif;
    --ottisk-font-body: 'Ottisk Inter', 'Inter', 'Segoe UI', Arial, system-ui, sans-serif;
    --ottisk-radius: 0px;
}

/* ---------- 1. Tokens ---------- */
:root:root {
    --ot-m: var(--ottisk-accent);
    --ot-m-deep: color-mix(in srgb, var(--ot-m), #000 14%);
    --ot-c: var(--ottisk-cyan);
    --ot-y: #ffd500;
    --ot-k: #15140f;
    --ot-k2: #24221b;
    --ot-k3: #3b382e;
    --ot-paper: #f8f6f0;
    --ot-sheet: #fffefb;
    --ot-line: #d9d5c8;
    --ot-gold: var(--ottisk-gold);
    --ot-cream: #faf3e2;
    --ot-mono: 'Ottisk Mono', 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
    --ot-strip: linear-gradient(90deg, var(--ot-c) 0 25%, var(--ot-m) 25% 50%, var(--ot-y) 50% 75%, var(--ot-k) 75% 100%);

    --c-bg: var(--ot-paper);
    --c-surface: var(--ot-sheet);
    --c-surface-sunk: #eeebe1;
    --c-text: #2a2820;
    --c-text-strong: var(--ot-k);
    --c-text-muted: #5f5b4d;
    --c-text-faint: #8b8672;
    --c-border: var(--ot-line);
    --c-border-strong: var(--ot-k);
    --c-accent: var(--ot-m);
    --c-accent-hover: var(--ot-m-deep);
    --c-accent-contrast: #fff;
    --c-accent-soft: color-mix(in srgb, var(--ot-m) 10%, #fff);
    --c-link: color-mix(in srgb, var(--ot-c), #000 25%);
    --c-link-hover: var(--ot-m);
    --c-mark: var(--ot-y);
    --c-mark-text: var(--ot-k);
    --c-mark-soft: color-mix(in srgb, var(--ot-y) 28%, #fff);
    --c-slab: var(--ot-k);
    --c-slab-text: #f4f1e8;
    --c-slab-muted: #aaa595;
    --c-danger: #d6281f;
    --c-success: #1f8a4c;

    --font-display: var(--ottisk-font-display);
    --font-ui: var(--ottisk-font-body);
    --font-prose: var(--font-ui);
    --fw-heading: 800;
    --tr-tight: -0.025em;
    --tr-snug: -0.01em;
    --lh-tight: 1.02;
    --lh-snug: 1.12;
    --t-base: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
    --t-xl: clamp(1.9rem, 1.5rem + 1.7vw, 2.9rem);
    --t-2xl: clamp(2.3rem, 1.7rem + 3vw, 4.1rem);
    --t-3xl: clamp(2.8rem, 1.9rem + 4.4vw, 5.6rem);

    --r-xs: var(--ottisk-radius);
    --r-sm: var(--ottisk-radius);
    --r-md: var(--ottisk-radius);
    --r-lg: var(--ottisk-radius);
    --r-pill: var(--ottisk-radius);
    --r-btn: var(--ottisk-radius);
    --card-radius: var(--ottisk-radius);
    --card-bg: var(--ot-sheet);
    --card-border: 1px solid var(--ot-line);
    --card-shadow: 5px 5px 0 -1px var(--ot-sheet), 5px 5px 0 0 var(--ot-line);
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: 6px 6px 0 0 var(--ot-c);
    --shadow-lift: 6px 6px 0 0 var(--ot-c);

    --w-container: 82rem;
    --w-wide: 82rem;
    --sp-md: clamp(3.2rem, 2.2rem + 4vw, 5.6rem);
    --sp-lg: clamp(4.2rem, 2.8rem + 5.6vw, 7.4rem);
    color-scheme: light;
}

/* Black ink tones */
html[data-ottisk-tone="warm"]:root:root { --ot-k: #1f1710; --ot-k2: #2e231a; --ot-k3: #4a3a2b; }
html[data-ottisk-tone="blue"]:root:root { --ot-k: #0f1722; --ot-k2: #182333; --ot-k3: #2a3a52; }

/* Section tones */
:is(.cms-tone-dark, .cms-on-dark):not(#ot) {
    --c-bg: var(--ot-k);
    --c-surface: var(--ot-k2);
    --c-surface-sunk: #0c0b08;
    --c-text: #ebe7da;
    --c-text-strong: #fff;
    --c-text-muted: #b2ad9b;
    --c-text-faint: #8a8574;
    --c-border: #403c30;
    --c-border-strong: #ebe7da;
    --c-link: var(--ot-y);
    --c-link-hover: #fff;
    --c-accent-soft: color-mix(in srgb, var(--ot-m) 18%, var(--ot-k));
    --card-bg: var(--ot-k2);
    --card-border: 1px solid #403c30;
    --card-shadow: none;
    color-scheme: dark;
}
.cms-tone-dark:not(#ot) { --section-bg: var(--ot-k); }
.cms-tone-soft:not(#ot) {
    --section-bg: #efece2;
    --c-bg: #efece2;
    --c-surface: var(--ot-sheet);
    --c-surface-sunk: #e4e0d3;
}
.cms-tone-primary:not(#ot) {
    --section-bg: var(--ot-m);
    --c-bg: var(--ot-m);
    --c-surface: var(--ot-m-deep);
    --c-surface-sunk: var(--ot-m-deep);
    --c-text: #fff;
    --c-text-strong: #fff;
    --c-text-muted: rgb(255 255 255 / 0.82);
    --c-text-faint: rgb(255 255 255 / 0.7);
    --c-border: rgb(255 255 255 / 0.4);
    --c-border-strong: #fff;
    --c-accent: var(--ot-k);
    --c-accent-hover: #000;
    --c-accent-contrast: #fff;
    --c-link: #fff;
    --c-link-hover: var(--ot-y);
    color-scheme: dark;
}
.cms-tone-accent:not(#ot) {
    --section-bg: var(--ot-c);
    --c-bg: var(--ot-c);
    --c-surface: color-mix(in srgb, var(--ot-c), #000 14%);
    --c-text: var(--ot-k);
    --c-text-strong: var(--ot-k);
    --c-text-muted: #1e3340;
    --c-border: rgb(0 0 0 / 0.25);
    --c-border-strong: var(--ot-k);
    --c-accent: var(--ot-k);
    --c-accent-hover: #000;
    --c-accent-contrast: #fff;
    --c-link: var(--ot-k);
}

/* ---------- 2. Base type ---------- */
body { background: var(--ot-paper); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .cms-section__title { font-family: var(--font-display); font-weight: var(--fw-heading); letter-spacing: var(--tr-tight); line-height: var(--lh-tight); }
html[data-ottisk-caps="on"] :is(h1, h2, .cms-section__title) { text-transform: uppercase; letter-spacing: -0.015em; }
html[data-ottisk-caps="off"] :is(h1, h2, .cms-section__title) { text-transform: none; }
::selection { background: var(--ot-y); color: var(--ot-k); }
a { text-underline-offset: 0.18em; }

/* Section rhythm */
html[data-ottisk-density="compact"] .cms-section { --sp-md: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); --sp-lg: clamp(2.6rem, 1.8rem + 3.2vw, 4.4rem); }
.cms-section__head { position: relative; }
.cms-section__head::before {
    content: ''; display: block; width: 4.5rem; height: 0.45rem; margin-block-end: 1rem; background: var(--ot-strip);
}
.cms-section__head--center::before, .cms-section__head--right::before { margin-inline: auto; }
html[data-ottisk-strip="off"] .cms-section__head::before { display: none; }
.cms-section__subtitle { color: var(--c-text-muted); max-width: 46rem; }
.cms-section__title { font-size: var(--t-xl); }

/* Mono kicker (also used by the footer) */
.ot-kicker { font: 600 0.75rem/1 var(--ot-mono); letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 0.8rem; color: var(--ot-m); }
.ot-wrap { width: min(100% - 2rem, var(--w-container)); margin-inline: auto; }

/* ---------- 3. Print motifs ---------- */
.ot-dots, .ot-strip { display: inline-flex; }
.ot-dots i { width: 0.6rem; height: 0.6rem; border-radius: 50%; margin-inline-end: 3px; }
.ot-dots i:nth-child(1), .ot-strip i:nth-child(1) { background: var(--ot-c); }
.ot-dots i:nth-child(2), .ot-strip i:nth-child(2) { background: var(--ot-m); }
.ot-dots i:nth-child(3), .ot-strip i:nth-child(3) { background: var(--ot-y); }
.ot-dots i:nth-child(4), .ot-strip i:nth-child(4) { background: var(--ot-k); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.4); }
.ot-dots { margin-inline-end: 0.65rem; }
.ot-strip { display: flex; height: 6px; width: 100%; }
.ot-strip i { flex: 1; }
html[data-ottisk-strip="off"] .ot-strip { display: none; }

/* Crop marks around an element: .ot-crop on a box with room around it. */
.ot-crop { position: relative; }
.ot-crop::before {
    content: ''; position: absolute; inset: -12px; pointer-events: none; z-index: 2;
    --m: var(--ot-k); --l: 14px; --w: 1.5px;
    background:
        linear-gradient(var(--m), var(--m)) 0 0 / var(--l) var(--w) no-repeat,
        linear-gradient(var(--m), var(--m)) 0 0 / var(--w) var(--l) no-repeat,
        linear-gradient(var(--m), var(--m)) 100% 0 / var(--l) var(--w) no-repeat,
        linear-gradient(var(--m), var(--m)) 100% 0 / var(--w) var(--l) no-repeat,
        linear-gradient(var(--m), var(--m)) 0 100% / var(--l) var(--w) no-repeat,
        linear-gradient(var(--m), var(--m)) 0 100% / var(--w) var(--l) no-repeat,
        linear-gradient(var(--m), var(--m)) 100% 100% / var(--l) var(--w) no-repeat,
        linear-gradient(var(--m), var(--m)) 100% 100% / var(--w) var(--l) no-repeat;
}
.cms-on-dark .ot-crop::before, .cms-tone-dark .ot-crop::before { --m: #ebe7da; }
html[data-ottisk-marks="off"] .ot-crop::before { display: none; }

/* ---------- 4. Buttons ---------- */
.cms-btn, .shop-card__btn {
    border-radius: var(--r-btn); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.01em;
    border: 2px solid var(--ot-k); transition: transform .15s ease, box-shadow .15s ease, background-color .15s;
}
.cms-btn--primary { background: var(--c-accent); color: var(--c-accent-contrast); border-color: var(--ot-k); }
.cms-on-dark .cms-btn--primary, .cms-tone-dark .cms-btn--primary { border-color: var(--c-accent); }
.cms-btn--primary:hover { background: var(--c-accent-hover); color: var(--c-accent-contrast); box-shadow: 4px 4px 0 0 var(--ot-c); transform: translate(-2px, -2px); }
.cms-btn--ghost { background: transparent; color: var(--c-text-strong); border-color: var(--c-border-strong); }
.cms-btn--ghost:hover { background: var(--ot-k); color: #fff; box-shadow: 4px 4px 0 0 var(--ot-y); transform: translate(-2px, -2px); }
.cms-on-dark .cms-btn--ghost, .cms-tone-dark .cms-btn--ghost { color: #fff; border-color: #ebe7da; }
.cms-on-dark .cms-btn--ghost:hover, .cms-tone-dark .cms-btn--ghost:hover { background: #fff; color: var(--ot-k); }
.cms-btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--ot-c); outline-offset: 2px; }
input, select, textarea { border-radius: var(--r-sm); }
.cms-input, .cms-select, .cms-textarea, .shop-form input, .shop-form textarea { border: 1.5px solid var(--ot-k); background: #fff; }

/* ---------- 5. Header (the Default markup, re-dressed) ---------- */
.site-header { background: var(--ot-sheet); border-bottom: 2px solid var(--ot-k); position: relative; }
.site-header::before { content: ''; display: block; height: 6px; background: var(--ot-strip); }
html[data-ottisk-strip="off"] .site-header::before { display: none; }
.site-header .hdr-row--top { background: var(--ot-k); color: #d9d4c3; font: 500 0.75rem/1.2 var(--ot-mono); letter-spacing: 0.04em; text-transform: uppercase; }
.site-header .hdr-row--top a { color: #fff; text-decoration: none; }
.site-header .hdr-row--top a:hover { color: var(--ot-y); }
.site-header .hdr-row--top .hdr-el svg { color: var(--ot-y); }
.site-header .hdr-row--main { background: var(--ot-sheet); }
.site-header .hdr-row--bottom { background: var(--ot-paper); border-top: 1px solid var(--ot-line); }
.ot-logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ot-k); }
.ot-logo__mark { width: 2.1rem; height: 2.1rem; flex: none; color: var(--ot-k); }
.hdr-logo__name { font-family: var(--font-display); font-weight: 900; font-size: 1.55rem; letter-spacing: -0.03em; text-transform: uppercase; }
.hdr-logo__tagline { font: 500 0.7rem/1.2 var(--ot-mono); color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.hdr-nav__list > li > a, .hdr-nav__link { font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ot-k); text-decoration: none; position: relative; }
.hdr-nav__list > li > a::after, .hdr-nav__link::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -0.35rem; height: 3px; background: var(--ot-m); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.hdr-nav__list > li > a:hover::after, .hdr-nav__link:hover::after, .hdr-nav__list > li > a[aria-current]::after { transform: scaleX(1); }
.hdr-nav__list > li > a:hover { color: var(--ot-k); }
.hdr-button, .hdr-el--button .cms-btn { padding-block: 0.55rem; }
html[data-ottisk-header="ink"] .site-header, html[data-ottisk-header="ink"] .site-header .hdr-row--main { background: var(--ot-k); color: #f4f1e8; border-bottom-color: var(--ot-k); }
html[data-ottisk-header="ink"] .site-header .hdr-row--bottom { background: var(--ot-k2); border-top-color: #403c30; }
html[data-ottisk-header="ink"] .site-header .hdr-row--top { background: #000; }
html[data-ottisk-header="ink"] .site-header :is(.ot-logo, .ot-logo__mark, .hdr-nav__list > li > a, .hdr-nav__link, .hdr-phone, .hdr-burger) { color: #f4f1e8; }
html[data-ottisk-header="ink"] .site-header .hdr-nav__list > li > a:hover { color: var(--ot-y); }
.hdr-drawer { background: var(--ot-paper); }

/* ---------- 6. First screen ---------- */
.ot-hero { position: relative; }
.ot-hero__grid { display: grid; gap: 2.4rem; align-items: center; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.ot-hero__eyebrow { display: inline-flex; align-items: center; font: 600 0.78rem/1 var(--ot-mono); letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 1.4rem; color: var(--c-text); }
.ot-hero__title { font-size: clamp(2.5rem, 1.5rem + 5vw, 5.6rem); line-height: 0.98; margin: 0 0 1.2rem; }
html[data-ottisk-caps="on"] .ot-hero__title { letter-spacing: -0.035em; }
.ot-hero__lead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); max-width: 34rem; color: var(--c-text-muted); margin: 0 0 1.8rem; }
.ot-hero__actions { gap: 0.9rem; }
.ot-hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.8rem 0 0; padding: 0; }
.ot-chip { display: inline-block; padding: 0.4rem 0.8rem; border: 1.5px solid var(--ot-k); font: 600 0.8rem/1 var(--ot-mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--ot-k); text-decoration: none; background: var(--ot-sheet); }
.ot-chip:hover { background: var(--ot-y); color: var(--ot-k); }
.ot-hero__sheet { margin: 12px; position: relative; }
.ot-hero__frame { background: #fff; padding: 0.9rem; border: 1px solid var(--ot-line); box-shadow: 10px 10px 0 -1px var(--ot-sheet), 10px 10px 0 0 var(--ot-k); aspect-ratio: 4 / 3.4; }
.ot-hero__img, .ot-hero__blank { width: 100%; height: 100%; object-fit: cover; display: block; background: linear-gradient(135deg, var(--ot-c), var(--ot-m) 55%, var(--ot-y)); }
.ot-target { position: absolute; width: 3.6rem; height: 3.6rem; right: -1.4rem; top: -1.6rem; color: var(--ot-k); background: var(--ot-paper); border-radius: 50%; padding: 0.3rem; z-index: 3; }
html[data-ottisk-marks="off"] .ot-target { display: none; }
.ot-hero__caption { font: 500 0.72rem/1.3 var(--ot-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-text-muted); margin-top: 1.1rem; }
.ot-hero__facts { list-style: none; margin: clamp(2rem, 4vw, 3.4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); border: 2px solid var(--ot-k); background: var(--ot-sheet); }
.ot-fact { padding: 1.1rem 1.3rem 1.2rem; border-inline-start: 1px solid var(--ot-line); position: relative; }
.ot-fact:first-child { border-inline-start: 0; }
.ot-fact::before { content: ''; position: absolute; inset: 0 auto auto 0; width: 100%; height: 5px; background: var(--ot-c); }
.ot-fact:nth-child(2)::before { background: var(--ot-m); }
.ot-fact:nth-child(3)::before { background: var(--ot-y); }
.ot-fact:nth-child(4)::before { background: var(--ot-k); }
.ot-fact__value { display: block; font: 900 clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem)/1 var(--font-display); letter-spacing: -0.03em; margin-top: 0.3rem; }
.ot-fact__label { display: block; margin-top: 0.4rem; font: 500 0.78rem/1.3 var(--ot-mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-text-muted); }

/* ---------- 7. Services as sheets ---------- */
.ot-svc__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ot-svc__grid--3 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
@media (min-width: 62rem) { .ot-svc__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ot-svc__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .ot-svc__grid { grid-template-columns: 1fr; } }
.ot-sheet { --ink: var(--ot-c); position: relative; padding: 1.5rem 1.3rem 1.3rem; background: var(--ot-sheet); border: 1px solid var(--ot-line); box-shadow: var(--card-shadow); display: flex; flex-direction: column; gap: 0.5rem; transition: transform .2s, box-shadow .2s; }
.ot-sheet--m { --ink: var(--ot-m); }
.ot-sheet--y { --ink: var(--ot-y); }
.ot-sheet--k { --ink: var(--ot-k); }
.ot-sheet::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 7px; background: var(--ink); }
.ot-sheet:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--ink); }
.ot-sheet__tab { position: absolute; top: 7px; right: 0; padding: 0.15rem 0.5rem; font: 700 0.7rem/1.3 var(--ot-mono); background: var(--ink); color: #fff; }
.ot-sheet--y .ot-sheet__tab { color: var(--ot-k); }
.ot-sheet__photo { display: block; margin: 0 -1.3rem 0.4rem; aspect-ratio: 16/10; overflow: hidden; }
.ot-sheet__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ot-sheet__icon { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 2px solid var(--ot-k); margin-top: 0.4rem; }
.ot-sheet__icon svg { width: 1.3rem; height: 1.3rem; }
.ot-sheet__title { font-size: 1.35rem; margin: 0.5rem 0 0; }
.ot-sheet__link { color: var(--ot-k); text-decoration: none; }
.ot-sheet__link::after { content: ''; position: absolute; inset: 0; }
.ot-sheet__text { margin: 0; color: var(--c-text-muted); font-size: 0.95rem; }
.ot-sheet__price { margin: auto 0 0; padding-top: 0.8rem; font: 700 0.85rem/1.2 var(--ot-mono); text-transform: uppercase; color: var(--ot-m); }

/* ---------- 8. Shop sections ---------- */
.ot-shopline__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 54rem) { .ot-shopline__grid { grid-template-columns: 1fr; } }
.ot-tile { --tile: var(--ot-c); position: relative; display: flex; flex-direction: column; background: var(--ot-sheet); border: 1px solid var(--ot-line); box-shadow: var(--card-shadow); }
.ot-tile--tech { --tile: var(--ot-y); }
.ot-tile--gold { --tile: var(--ot-gold); background: var(--ot-cream); border-color: color-mix(in srgb, var(--ot-gold) 55%, #fff); box-shadow: 0 0 0 4px var(--ot-cream), 0 0 0 5px var(--ot-gold); }
.ot-tile__media { margin: 12px 12px 0; aspect-ratio: 4/3; background: var(--c-surface-sunk); }
.ot-tile__img, .ot-tile__blank { width: 100%; height: 100%; object-fit: cover; display: block; }
.ot-tile__blank { background: linear-gradient(135deg, var(--tile), var(--ot-paper)); }
.ot-tile__body { padding: 1.2rem 1.4rem 1.5rem; position: relative; }
.ot-tile__body::before { content: ''; position: absolute; left: 1.4rem; top: 0; width: 3rem; height: 5px; background: var(--tile); }
.ot-tile--art .ot-tile__body::before { background: linear-gradient(90deg, var(--ot-c) 50%, var(--ot-m) 50%); }
.ot-tile__title { font-size: 1.7rem; margin: 0.6rem 0 0.3rem; }
.ot-tile--gold .ot-tile__title { font-weight: 600; letter-spacing: -0.01em; text-transform: none; color: #5a4416; }
.ot-tile__link { color: inherit; text-decoration: none; }
.ot-tile__link::after { content: ''; position: absolute; inset: 0; z-index: 3; }
.ot-tile__text { margin: 0 0 0.7rem; color: var(--c-text-muted); }
.ot-tile__badge { display: inline-block; margin: 0; padding: 0.3rem 0.6rem; font: 700 0.78rem/1 var(--ot-mono); text-transform: uppercase; background: var(--ot-k); color: #fff; }
.ot-tile--gold .ot-tile__badge { background: var(--ot-gold); }
.ot-tile--tech .ot-tile__badge { background: var(--ot-y); color: var(--ot-k); }
.ot-tile:hover { transform: translate(-2px, -2px); }
.ot-tile--tech:hover { box-shadow: 6px 6px 0 0 var(--ot-k); }

/* ---------- 9. Artwork requirements ---------- */
.ot-prep__grid { display: grid; gap: 3rem; align-items: center; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
@media (max-width: 56rem) { .ot-prep__grid { grid-template-columns: 1fr; } }
.ot-prep__draw { position: relative; max-width: 26rem; margin-inline: auto; width: 100%; aspect-ratio: 3 / 4; padding: 7% 8%; background: #fff; border: 1px solid var(--ot-line); box-shadow: 8px 8px 0 -1px var(--ot-sheet), 8px 8px 0 0 var(--ot-k); }
.ot-prep__bleed { position: relative; width: 100%; height: 100%; background: color-mix(in srgb, var(--ot-m) 14%, #fff); outline: 1px dashed var(--ot-m); }
.ot-prep__trim { position: absolute; inset: 7%; background: color-mix(in srgb, var(--ot-c) 12%, #fff); outline: 2px solid var(--ot-k); }
.ot-prep__safe { position: absolute; inset: 9%; outline: 1px dashed var(--ot-c); background: repeating-linear-gradient(90deg, transparent 0 11px, rgb(0 0 0 / 0.05) 11px 12px); }
.ot-prep__cap { position: absolute; font: 600 0.68rem/1.2 var(--ot-mono); text-transform: uppercase; padding: 0.2rem 0.4rem; background: var(--ot-k); color: #fff; }
.ot-prep__cap--bleed { top: 1.5%; left: 8%; background: var(--ot-m); }
.ot-prep__cap--trim { top: 22%; right: 3%; }
.ot-prep__cap--safe { bottom: 15%; left: 14%; background: var(--ot-c); }
.ot-prep__list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 0; }
.ot-prep__item { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 2px solid var(--ot-k); align-items: baseline; }
.ot-prep__item:last-child { border-bottom: 2px solid var(--ot-k); }
.ot-prep__value { font: 900 2rem/1 var(--font-display); letter-spacing: -0.03em; color: var(--ot-m); }
.ot-prep__title { margin: 0; font-size: 1.15rem; }
.ot-prep__text { margin: 0.25rem 0 0; color: var(--c-text-muted); }
@media (max-width: 30rem) { .ot-prep__item { grid-template-columns: 1fr; gap: 0.2rem; } }

/* ---------- 10. Shared blocks restyled (calculator, stages, price tables) ---------- */
.cms-calc { border: 2px solid var(--ot-k); border-radius: var(--r-md); background: var(--ot-sheet); box-shadow: 8px 8px 0 0 var(--ot-c); }
.cms-calc__result, .cms-calc__total { font-family: var(--font-display); font-weight: 900; }
.cms-stages__item, .cms-stages__card { border-radius: var(--r-md); }
.cms-stages__num, .cms-stages__marker { font-family: var(--font-display); font-weight: 900; }
.cms-ptable { border: 2px solid var(--ot-k); background: var(--ot-sheet); }
.cms-ptable__plan--featured { box-shadow: inset 0 6px 0 0 var(--ot-m); }
.cms-ptable__badge { background: var(--ot-y); color: var(--ot-k); font-family: var(--ot-mono); text-transform: uppercase; }
.cms-ptable thead th, .cms-ptable__head { font-family: var(--font-display); }

/* ---------- 11. Shop: cards, prices, filters ---------- */
.shop-grid { gap: 1.7rem; }
.shop-card { border-radius: var(--card-radius); }
.shop-card__media::after {
    content: ''; position: absolute; inset: 8px; pointer-events: none; mix-blend-mode: difference; opacity: 0.9;
    --m: #fff; --l: 11px; --w: 1.5px;
    background:
        linear-gradient(var(--m), var(--m)) 0 0 / var(--l) var(--w) no-repeat, linear-gradient(var(--m), var(--m)) 0 0 / var(--w) var(--l) no-repeat,
        linear-gradient(var(--m), var(--m)) 100% 0 / var(--l) var(--w) no-repeat, linear-gradient(var(--m), var(--m)) 100% 0 / var(--w) var(--l) no-repeat,
        linear-gradient(var(--m), var(--m)) 0 100% / var(--l) var(--w) no-repeat, linear-gradient(var(--m), var(--m)) 0 100% / var(--w) var(--l) no-repeat,
        linear-gradient(var(--m), var(--m)) 100% 100% / var(--l) var(--w) no-repeat, linear-gradient(var(--m), var(--m)) 100% 100% / var(--w) var(--l) no-repeat;
}
html[data-ottisk-cards="flat"] .shop-card__media::after { display: none; }
html[data-ottisk-cards="flat"] { --card-shadow: none; }
.shop-card__title { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.shop-card__link { color: var(--ot-k); }
.shop-card__brand { font: 600 0.7rem/1 var(--ot-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ot-m); }
.shop-card__foot { border-top: 1px dashed var(--ot-line); }
.shop-price__value { font-family: var(--font-display); font-weight: 900; color: var(--ot-k); }
.shop-price__old, .shop-price__was { color: var(--c-text-faint); }
.shop-pick__chip { border-radius: var(--r-sm); border-width: 1.5px; font-family: var(--ot-mono); font-size: 0.78rem; }
.shop-card:hover { border-color: var(--ot-k); box-shadow: 6px 6px 0 0 var(--ot-c); }

/* Gold sub-style: the icons */
.ot-card--ikony { --card-bg: var(--ot-cream); --c-accent: var(--ot-gold); --c-accent-hover: color-mix(in srgb, var(--ot-gold), #000 18%); background: var(--ot-cream); border-color: color-mix(in srgb, var(--ot-gold) 50%, #fff); box-shadow: 0 0 0 3px var(--ot-cream), 0 0 0 4px var(--ot-gold); margin: 4px; width: calc(100% - 8px); }
.ot-card--ikony:hover { border-color: var(--ot-gold); box-shadow: 0 0 0 3px var(--ot-cream), 0 0 0 4px var(--ot-gold), 0 10px 24px -14px rgb(90 68 22 / 0.5); transform: none; }
.ot-card--ikony .shop-card__media { background: #efe2c0; }
.ot-card--ikony .shop-card__media::after { --m: #f3d98c; mix-blend-mode: normal; opacity: 1; inset: 10px; }
.ot-card--ikony .shop-card__title { font-weight: 600; letter-spacing: 0; }
.ot-card--ikony .shop-card__link { color: #4a3812; }
.ot-card--ikony .shop-price__value { color: #7d5b17; font-weight: 700; }
.ot-card--ikony .shop-card__brand { color: var(--ot-gold); }
.ot-card--ikony .shop-card__foot { border-top-color: color-mix(in srgb, var(--ot-gold) 40%, #fff); }
.ot-card--ikony .cms-btn--primary, .ot-card--ikony .shop-card__btn { background: var(--ot-gold); border-color: var(--ot-gold); color: #fff; }
.ot-card--ikony .cms-btn--primary:hover { box-shadow: none; transform: none; background: color-mix(in srgb, var(--ot-gold), #000 18%); }
.ot-card--3d .shop-card__media { background: #e9e6da; }

/* Stickers */
.shop-sticker { border-radius: var(--r-sm); font-family: var(--ot-mono); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- 12. Footer ---------- */
.ot-ftr { background: var(--ot-k); color: #cfcab8; position: relative; margin-top: 0; }
.ot-ftr .ot-strip { height: 8px; }
.ot-ftr__band { background: var(--ot-y); color: var(--ot-k); }
.ot-ftr__band-inner { display: grid; gap: 1.4rem; grid-template-columns: 1.1fr 1fr; align-items: center; padding-block: 2.2rem; }
@media (max-width: 52rem) { .ot-ftr__band-inner { grid-template-columns: 1fr; } }
.ot-ftr__band .ot-kicker { color: var(--ot-k); }
.ot-ftr__band-title { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); color: var(--ot-k); }
.ot-ftr__band-lead { margin: 0.6rem 0 0; }
.ot-ftr__main { padding-block: clamp(2.6rem, 5vw, 4.2rem); }
.ot-ftr__sheet { position: relative; padding: clamp(1.4rem, 3vw, 2.6rem); border: 1px solid #403c30; }
.ot-ftr__sheet::before { content: ''; position: absolute; inset: -9px; pointer-events: none;
    --m: #8a8574; --l: 16px; --w: 1.5px;
    background:
        linear-gradient(var(--m), var(--m)) 0 0 / var(--l) var(--w) no-repeat, linear-gradient(var(--m), var(--m)) 0 0 / var(--w) var(--l) no-repeat,
        linear-gradient(var(--m), var(--m)) 100% 0 / var(--l) var(--w) no-repeat, linear-gradient(var(--m), var(--m)) 100% 0 / var(--w) var(--l) no-repeat,
        linear-gradient(var(--m), var(--m)) 0 100% / var(--l) var(--w) no-repeat, linear-gradient(var(--m), var(--m)) 0 100% / var(--w) var(--l) no-repeat,
        linear-gradient(var(--m), var(--m)) 100% 100% / var(--l) var(--w) no-repeat, linear-gradient(var(--m), var(--m)) 100% 100% / var(--w) var(--l) no-repeat; }
html[data-ottisk-marks="off"] .ot-ftr__sheet::before { display: none; }
.ot-ftr__grid { display: grid; gap: 2.2rem; grid-template-columns: 1.7fr repeat(3, minmax(0, 1fr)); }
@media (max-width: 64rem) { .ot-ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ot-ftr__col--about { grid-column: 1 / -1; } }
@media (max-width: 34rem) { .ot-ftr__grid { grid-template-columns: 1fr; } }
.ot-ftr__brand { display: inline-flex; align-items: center; gap: 0.7rem; color: #fff; text-decoration: none; margin-bottom: 1rem; }
.ot-ftr__brand .ot-logo__mark { color: #fff; width: 2.4rem; height: 2.4rem; }
.ot-ftr__brand-name { font: 900 1.9rem/1 var(--font-display); letter-spacing: -0.03em; text-transform: uppercase; }
.ot-ftr__logo { max-height: 2.6rem; width: auto; }
.ot-ftr__title { font: 600 0.75rem/1 var(--ot-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ot-y); margin: 0 0 1.1rem; }
.ot-ftr__about, .ot-ftr__text { margin: 0 0 1rem; max-width: 30rem; }
.ot-ftr__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.ot-ftr a { color: #e9e5d6; text-decoration: none; }
.ot-ftr a:hover { color: var(--ot-y); text-decoration: underline; }
.ot-ftr__phone { margin: 0 0 0.5rem; }
.ot-ftr__phone a { font: 900 1.55rem/1.1 var(--font-display); letter-spacing: -0.02em; color: #fff; }
.ot-ftr__phone span { display: block; font: 500 0.75rem/1.3 var(--ot-mono); color: #aaa595; }
.ot-ftr__line { display: flex; gap: 0.6rem; margin: 0 0 0.5rem; align-items: flex-start; }
.ot-ftr__line svg { width: 1rem; height: 1rem; margin-top: 0.2rem; flex: none; color: var(--ot-y); }
.ot-ftr address { font-style: normal; }
.ot-ftr__pay { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ot-ftr__pay li { padding: 0.3rem 0.55rem; border: 1px solid #55503f; font: 600 0.72rem/1 var(--ot-mono); text-transform: uppercase; }
.ot-ftr__bottom { border-top: 1px solid #2f2c22; font: 500 0.75rem/1.5 var(--ot-mono); color: #8f8a78; }
.ot-ftr__bottom-inner { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; padding-block: 1.1rem; align-items: center; }
.ot-ftr__bottom p { margin: 0; }
.ot-ftr__links { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 0; padding: 0; }
.ot-ftr__bottom a { color: #b9b4a2; }
.ot-ftr__socials a { color: #fff; }

/* ---------- 13. Services module pages and forms ---------- */
.cms-form, .shop-form { --_x: 0; }
.cms-form label, .shop-form label { font-weight: 600; }
.cms-form__input, .cms-form input[type="text"], .cms-form input[type="tel"], .cms-form input[type="email"], .cms-form textarea, .cms-form select { border: 1.5px solid var(--ot-k); border-radius: var(--r-sm); background: #fff; }
.cms-section--card .cms-form, .cms-booking, .cms-calc__form { border-radius: var(--r-md); }

/* ---------- 14. Phones ---------- */
@media (max-width: 52rem) {
    .ot-hero__grid { grid-template-columns: 1fr; }
    .ot-hero__sheet { margin: 12px 12px 0 8px; }
    .ot-target { width: 2.8rem; height: 2.8rem; right: -0.6rem; top: -1.2rem; }
    .ot-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ot-fact:nth-child(odd) { border-inline-start: 0; }
    .ot-fact:nth-child(n+3) { border-top: 1px solid var(--ot-line); }
}
@media (max-width: 30rem) {
    .shop-grid { gap: 1rem; }
    .ot-hero__actions .cms-btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ot-sheet, .ot-tile, .cms-btn { transition: none; } }

/* Fixes after review */
.ot-tile__media { aspect-ratio: auto; background: none; }
.ot-tile__img, .ot-tile__blank { aspect-ratio: 4 / 3; height: auto; width: 100%; }
.ot-hero { margin-top: -2rem; }
@media (max-width: 52rem) { .ot-hero { margin-top: -1rem; } }
