/* ============================================================
   Дед Точит — мастерская В.В. Помещикова
   Editorial / paper / artisan workshop aesthetic.
   ============================================================ */

:root {
    --paper:        #f3ead9;
    --paper-2:      #ece1c8;
    --paper-deep:   #e2d3b1;
    --ink:          #2a241c;
    --ink-soft:     #4a4137;
    --ink-mute:     #847663;
    --rust:         #a64027;
    --rust-deep:    #7d2d18;
    --olive:        #4d5a32;
    --brass:        #b08240;
    --brass-soft:   #c9a572;
    --line:         rgba(42, 36, 28, 0.18);
    --line-soft:    rgba(42, 36, 28, 0.10);
    --dark:         #1c1813;
    --dark-2:       #261f17;
    --cream:        #fbf6ec;

    --serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --sans:  'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --r-sm: 4px;
    --r-md: 10px;
    --r-lg: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.55;
    font-size: 17px;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--rust-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--rust); }

::selection { background: var(--brass-soft); color: var(--ink); }

/* Paper grain overlay */
.paper-grain {
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(176, 130, 64, 0.06) 0, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(125, 45, 24, 0.05) 0, transparent 50%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.14 0 0 0 0 0.10 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

.wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

/* ===================== TOPBAR ===================== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(243, 234, 217, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.topbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 24px;
    padding: 16px 32px;
    max-width: 1240px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark {
    width: 48px; height: 48px;
    color: var(--rust-deep);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.brand-mark svg,
.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ============ Header logo: coin-flip on hover ============ */
.topbar .brand-mark {
    perspective: 600px;
    background: transparent;
    overflow: visible;
}
.topbar .brand-mark img {
    transform-style: preserve-3d;
    backface-visibility: visible;
    transition: transform .9s cubic-bezier(.4, .1, .3, 1), filter .4s ease;
    transform-origin: center;
}
.topbar .brand:hover .brand-mark img {
    transform: rotateY(360deg);
    filter: drop-shadow(0 0 8px rgba(201, 165, 114, 0.45));
}

@media (prefers-reduced-motion: reduce) {
    .topbar .brand:hover .brand-mark img { transform: none; }
}
.brand--footer { transition: transform .3s ease; }
.brand--footer .brand-mark img {
    filter: brightness(0) invert(1);
    opacity: 0.92;
    transition: filter .4s ease, opacity .3s ease, transform .4s ease;
}
.brand--footer .brand-line1,
.brand--footer .brand-line2 { transition: color .3s ease; }
.brand--footer:hover { transform: translateY(-2px); }
.brand--footer:hover .brand-mark img {
    filter: brightness(0) saturate(100%) invert(72%) sepia(38%) saturate(450%) hue-rotate(2deg) brightness(95%) contrast(88%) drop-shadow(0 0 8px rgba(201, 165, 114, 0.4));
    opacity: 1;
    transform: rotate(-6deg);
}
.brand--footer:hover .brand-line1 { color: var(--brass-soft); }
.brand--footer:hover .brand-line2 { color: rgba(201, 165, 114, 0.75); }
.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand-line1 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.brand-line2 {
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-top: 2px;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 28px;
    justify-self: end;
}
.topnav-link {
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    padding: 6px 0;
}
.topnav-link:hover { color: var(--rust-deep); }
.topnav-link::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    height: 1px;
    background: var(--rust-deep);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.topnav-link:hover::after { transform: scaleX(1); }
.topnav-link--cta {
    background: var(--ink);
    color: var(--paper);
    padding: 10px 18px;
    border-radius: 100px;
    font-weight: 600;
}
.topnav-link--cta:hover { background: var(--rust-deep); color: var(--paper); }
.topnav-link--cta::after { display: none; }

.topbar-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 100px;
}
.topbar-phone:hover { color: var(--rust-deep); border-color: var(--rust-deep); }

.topburger {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    width: 44px; height: 44px;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}
.topburger span {
    display: block;
    width: 20px; height: 2px;
    background: var(--ink);
    transition: transform .25s ease, opacity .25s ease;
}
.topburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.topburger.is-open span:nth-child(2) { opacity: 0; }
.topburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    padding: 14px 26px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, background .25s ease, color .25s ease, border-color .25s ease;
    text-align: center;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--ink);
    color: var(--paper);
}
.btn-primary:hover { background: var(--rust-deep); color: var(--paper); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--paper-2); }

.btn-block { width: 100%; }

/* ===================== SECTION CTA ===================== */
.section-cta {
    margin-top: 56px;
    padding-top: 36px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.section-cta-text {
    font-family: var(--serif);
    font-style: italic;
    font-size: 20px;
    line-height: 1.4;
    color: var(--ink-soft);
    margin: 0;
    max-width: 540px;
}
.block--dark .section-cta { border-top-color: rgba(243, 234, 217, 0.15); }
.block--dark .section-cta-text { color: rgba(243, 234, 217, 0.75); }

@media (max-width: 640px) {
    .section-cta { margin-top: 40px; padding-top: 28px; }
    .section-cta-text { font-size: 17px; }
}

/* ===================== HERO ===================== */
.hero {
    padding: 56px 0 72px;
    position: relative;
    z-index: 2;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 600;
    margin-bottom: 28px;
}
.hero-eyebrow .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--rust);
    box-shadow: 0 0 0 4px rgba(166, 64, 39, 0.18);
}

.hero-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(44px, 6vw, 80px);
    line-height: 1.02;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin-bottom: 28px;
}
.hero-title em {
    font-style: italic;
    color: var(--rust-deep);
    font-weight: 600;
}

.hero-lead {
    font-size: 18px;
    color: var(--ink-soft);
    line-height: 1.6;
    max-width: 540px;
    margin-bottom: 22px;
}
.hero-lead b { color: var(--ink); font-weight: 700; }

.hero-quote {
    font-family: var(--serif);
    font-style: italic;
    font-size: 24px;
    color: var(--rust-deep);
    border-left: 2px solid var(--rust-deep);
    padding-left: 18px;
    margin: 28px 0 32px;
    line-height: 1.4;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

.hero-bullets {
    list-style: none;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}
.hero-bullets li {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-size: 15px;
    color: var(--ink-soft);
    padding: 6px 0;
}
.hero-bullets li span {
    font-family: var(--serif);
    font-style: italic;
    color: var(--rust);
    font-size: 14px;
    min-width: 26px;
    font-weight: 600;
}

/* hero photo */
.hero-photo-wrap {
    position: relative;
    padding: 24px 24px 24px 0;
}
.hero-photo {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(0,0,0,0.06),
        0 30px 60px -20px rgba(60, 40, 20, 0.35),
        0 12px 24px -10px rgba(60, 40, 20, 0.25);
    transform: rotate(-1.2deg);
    background: var(--cream);
    padding: 14px 14px 60px;
}
.hero-photo img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: center top;
    border-radius: 2px;
    filter: saturate(0.95) contrast(1.02);
}
.hero-photo figcaption {
    position: absolute;
    left: 22px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.cap-name {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
}
.cap-role {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--ink-mute);
    margin-top: 4px;
}

.hero-stamp {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 130px; height: 130px;
    color: var(--rust-deep);
    opacity: 0.85;
    pointer-events: none;
}
.hero-stamp svg {
    will-change: transform;
    transform-origin: center center;
}

/* ===================== MARQUEE ===================== */
.marquee {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
    overflow: hidden;
    background: var(--paper-2);
    position: relative;
    z-index: 2;
}
.marquee-track {
    display: flex;
    gap: 28px;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    font-family: var(--serif);
    font-style: italic;
    font-size: 28px;
    color: var(--ink);
}
.marquee-track span:nth-child(odd) { font-weight: 600; }
.marquee-track span:nth-child(even) { color: var(--rust); }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===================== BLOCKS ===================== */
.block {
    padding: 96px 0;
    position: relative;
    z-index: 2;
}
.block--alt { background: var(--paper-2); }
.block--dark {
    background: var(--dark);
    color: var(--paper);
}

.block-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 64px;
}
.block-tag {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rust-deep);
    font-weight: 700;
    margin-bottom: 18px;
}
.block-head--light .block-tag { color: var(--brass-soft); }
.block-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.4px;
    color: var(--ink);
    margin-bottom: 20px;
}
.block--dark .block-title { color: var(--paper); }
.block-title--small { font-size: clamp(28px, 3.6vw, 44px); }
.block-lead {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.55;
}
.block--dark .block-lead { color: rgba(243, 234, 217, 0.75); }

/* ===================== SERVICES ===================== */
.services {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.service-item {
    padding: 36px 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    transition: background .25s ease;
    position: relative;
}
.service-item:hover { background: var(--paper-2); }
.service-num {
    display: inline-block;
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    color: var(--rust);
    font-weight: 600;
    margin-bottom: 18px;
}
.service-item h3 {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.15;
}
.service-item p {
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.55;
}
.service-item--note {
    background: var(--ink);
    color: var(--paper);
}
.service-item--note:hover { background: var(--rust-deep); }
.service-item--note h3 { color: var(--paper); }
.service-item--note p { color: rgba(243, 234, 217, 0.75); }
.service-item--note .service-num { color: var(--brass-soft); }

/* ===================== KNIFE ANATOMY ===================== */
.knife .block-lead { max-width: 780px; }

.knife-figure {
    margin: 0 auto 56px;
    max-width: 1080px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px 28px 18px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 40px -28px rgba(42, 36, 28, 0.25);
}
.knife-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--r-md);
}
.knife-figure figcaption {
    margin-top: 14px;
    text-align: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 16px;
    color: var(--ink-mute);
}

.knife-explorer {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: start;
}

.knife-group + .knife-group { margin-top: 28px; }
.knife-group-head {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 22px;
    color: var(--ink);
    letter-spacing: 0.2px;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.knife-group-head::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}
.knife-group-head span {
    text-transform: uppercase;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--rust-deep);
    font-weight: 700;
}

.knife-pills {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.knife-pill {
    appearance: none;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink-soft);
    padding: 9px 14px;
    border-radius: 999px;
    font: 500 14px / 1 var(--sans);
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.knife-pill:hover {
    border-color: var(--rust-deep);
    color: var(--rust-deep);
}
.knife-pill.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
    transform: translateY(-1px);
}

.knife-detail {
    position: sticky;
    top: 96px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 36px 36px 40px;
    box-shadow: 0 18px 40px -28px rgba(42, 36, 28, 0.25);
    min-height: 220px;
}
.knife-detail::before {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    background: var(--rust-deep);
    margin-bottom: 20px;
}
.knife-detail-eyebrow {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--ink-mute);
    font-weight: 700;
    margin-bottom: 10px;
}
.knife-detail-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(26px, 2.4vw, 32px);
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 14px;
    letter-spacing: -0.2px;
}
.knife-detail-text {
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
}
.knife-detail.is-flash { animation: knifeFlash 0.4s ease; }
@keyframes knifeFlash {
    0% { transform: translateY(4px); opacity: 0.4; }
    100% { transform: translateY(0); opacity: 1; }
}


.prices-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}
.prices-side .block-tag { display: inline-block; }
.prices-side .block-title { text-align: left; }
.prices-side .block-lead { text-align: left; margin: 0 0 28px; max-width: none; }
.prices-side .block-lead b { color: var(--ink); }

.prices-list {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 36px 40px 32px;
}
.price-headline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-bottom: 28px;
    border-bottom: 1px dashed var(--line);
}
.price-headline-label {
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    color: var(--ink-mute);
}
.price-headline-val {
    font-family: var(--serif);
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    color: var(--rust-deep);
    letter-spacing: -0.5px;
}
.price-headline-unit {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    margin-top: 2px;
}
.price-factors-title {
    font-family: var(--serif);
    font-size: 18px;
    font-style: italic;
    color: var(--ink-mute);
    margin: 24px 0 14px;
}
.price-factors {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.price-factors li {
    font-family: var(--serif);
    font-size: 19px;
    color: var(--ink);
    padding-left: 22px;
    position: relative;
}
.price-factors li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 10px;
    height: 2px;
    background: var(--rust-deep);
}

/* ===================== STEPS ===================== */
.steps {
    list-style: none;
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1080px;
    margin: 0 auto;
}
.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    padding: 32px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.step:hover {
    transform: translateY(-3px);
    border-color: var(--rust);
    box-shadow: 0 14px 32px -18px rgba(125, 45, 24, 0.4);
}
.step-num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 56px;
    font-weight: 600;
    color: var(--rust-deep);
    line-height: 1;
    border-right: 1px solid var(--line);
    padding-right: 28px;
    align-self: start;
}
.step h3 {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.15;
}
.step p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.6;
}
.step p a { font-weight: 600; border-bottom: 1px solid currentColor; }

/* ===================== ABOUT ===================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.about-photo {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: var(--cream);
    padding: 12px;
    box-shadow: 0 24px 48px -16px rgba(60, 40, 20, 0.3);
    transform: rotate(1.5deg);
}
.about-photo img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: 3px;
}
.about-text .block-tag { display: inline-block; }
.about-text .block-title { text-align: left; }
.about-text p {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 18px;
}
.about-sign {
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    color: var(--rust-deep);
    margin-top: 28px !important;
}

/* ===================== TOOLS ===================== */
.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.tool-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tool-card:hover {
    transform: translateY(-4px);
    border-color: var(--rust);
    box-shadow: 0 24px 48px -16px rgba(125, 45, 24, 0.3);
}
.tool-photo {
    height: 320px;
    overflow: hidden;
    background: var(--paper-2);
    position: relative;
}
.tool-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.tool-card:hover .tool-photo img { transform: scale(1.04); }
.tool-body {
    padding: 28px 32px 32px;
    position: relative;
}
.tool-mark {
    position: absolute;
    top: -22px;
    right: 28px;
    background: var(--ink);
    color: var(--paper);
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    font-weight: 600;
}
.tool-body h3 {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}
.tool-body p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 16px;
}
.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-weight: 600;
    color: var(--rust-deep);
}
.tool-link:hover { color: var(--ink); }

/* ===================== GALLERY ===================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 320px);
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 48px 0 40px;
}
.gallery-tile {
    display: block;
    width: 320px;
    height: 240px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--paper);
    padding: 0;
    cursor: zoom-in;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.gallery-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(42, 36, 28, 0) 55%, rgba(42, 36, 28, 0.35) 100%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
.gallery-tile:hover {
    transform: translateY(-4px);
    border-color: var(--rust);
    box-shadow: 0 24px 48px -16px rgba(125, 45, 24, 0.3);
}
.gallery-tile:hover::after { opacity: 1; }
.gallery-tile:focus-visible {
    outline: 2px solid var(--rust);
    outline-offset: 3px;
}
.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.gallery-tile:hover img { transform: scale(1.06); }

/* ===================== LIGHTBOX ===================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(20, 16, 10, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    padding: 60px 24px;
    backdrop-filter: blur(4px);
}
.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}
.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--r-md);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.96);
    transition: transform .3s ease;
}
.lightbox.is-open .lightbox-img { transform: scale(1); }
.lightbox-close {
    position: fixed;
    top: 22px;
    right: 22px;
    background: transparent;
    border: 1px solid rgba(243, 234, 217, 0.35);
    color: var(--paper);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.lightbox-close:hover {
    background: rgba(243, 234, 217, 0.12);
    border-color: var(--paper);
    transform: rotate(90deg);
}

/* ===================== VIDEO / CHANNELS ===================== */
.latest-video {
    max-width: 880px;
    margin: 0 auto 48px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .45s ease, transform .45s ease;
}
.latest-video.is-ready {
    opacity: 1;
    transform: none;
}
.latest-video-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}
.latest-video-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brass-soft);
    font-weight: 600;
}
.latest-video-title {
    margin: 0;
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    color: var(--paper);
    line-height: 1.3;
}
.latest-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.latest-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
}
.channel {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--r-md);
    color: var(--paper);
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.channel:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--brass-soft);
    color: var(--paper);
    transform: translateY(-3px);
}
.channel-logo {
    width: 56px; height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
}
.channel-logo--yt { color: #ff0033; background: rgba(255, 0, 51, 0.10); }
.channel-logo--yt svg { width: 36px; height: 36px; }
.channel-logo--rt {
    background: linear-gradient(135deg, #00b6ce, #ff305c);
    color: white;
}
.channel-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.channel-platform {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
}
.channel-handle {
    font-size: 13px;
    color: rgba(243, 234, 217, 0.65);
    letter-spacing: 0.3px;
}
.channel-arrow {
    color: var(--brass-soft);
    transition: transform .25s ease;
    flex-shrink: 0;
}
.channel:hover .channel-arrow { transform: translateX(4px); }

/* ===================== ORDER ===================== */
.order { padding: 96px 0 120px; }
.order-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
}
.order-side .block-tag { display: inline-block; }
.order-side .block-title { text-align: left; }
.order-side > p {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 440px;
}

.contact-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 28px 30px;
}
.contact-card h4 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 18px;
}
.contact-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--ink);
    font-weight: 500;
    font-size: 15px;
    border-bottom: 1px dashed var(--line);
}
.contact-line:last-of-type { border-bottom: none; }
.contact-line:hover { color: var(--rust-deep); }
.contact-line svg { color: var(--rust-deep); flex-shrink: 0; }
.contact-divider {
    height: 1px;
    background: var(--line);
    margin: 18px 0;
}
.contact-addr {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.55;
}
.contact-addr b { color: var(--ink); font-weight: 700; }
.contact-addr-head {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.contact-addr-head svg { color: var(--rust-deep); flex-shrink: 0; }

/* form */
.orderform-side {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 40px;
    box-shadow: 0 24px 48px -24px rgba(60, 40, 20, 0.25);
}
.orderform-head { margin-bottom: 28px; }
.orderform-head h3 {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}
.orderform-head p {
    font-size: 14px;
    color: var(--ink-mute);
}
.req { color: var(--rust); }

.field { margin-bottom: 18px; }
.field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}
.field-input {
    width: 100%;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 14px 16px;
    font-family: var(--sans);
    font-size: 16px;
    color: var(--ink);
    transition: border-color .2s ease, background .2s ease;
}
.field-input::placeholder { color: var(--ink-mute); opacity: 0.7; }
.field-input:focus {
    outline: none;
    border-color: var(--rust-deep);
    background: var(--cream);
}
.field-input.is-error {
    border-color: var(--rust);
    background: rgba(166, 64, 39, 0.05);
}
.field-textarea { resize: vertical; min-height: 100px; line-height: 1.5; }

.orderform .btn { padding: 16px 26px; font-size: 16px; margin-top: 8px; }
.orderform-privacy {
    font-size: 12px;
    color: var(--ink-mute);
    text-align: center;
    line-height: 1.5;
    margin-top: 16px;
}

.orderform-success {
    text-align: center;
    padding: 40px 20px;
}
.orderform-success .success-icon {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    color: var(--olive);
}
.orderform-success .success-icon svg { width: 100%; height: 100%; }
.orderform-success h3 {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
}
.orderform-success p {
    color: var(--ink-soft);
    margin-bottom: 24px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--dark-2);
    color: var(--paper);
    padding: 72px 0 32px;
    position: relative;
    z-index: 2;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}
.footer-col h5 {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--brass-soft);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(243, 234, 217, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-h5-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brass-soft);
    flex: 0 0 auto;
}
.footer-h5-ico svg { width: 18px; height: 18px; }
.footer-col p {
    font-size: 14px;
    color: rgba(243, 234, 217, 0.65);
    line-height: 1.6;
    margin-bottom: 8px;
}
.footer-col a {
    display: block;
    color: rgba(243, 234, 217, 0.75);
    font-size: 14px;
    padding: 4px 0;
}
.footer-col a:hover { color: var(--brass-soft); }

.footer-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
}
.footer-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(201, 165, 114, 0.35);
    border-radius: 50%;
    color: var(--brass-soft);
    flex: 0 0 30px;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.footer-ico svg { width: 16px; height: 16px; }
.footer-link:hover .footer-ico {
    border-color: var(--brass-soft);
    background: rgba(201, 165, 114, 0.08);
    color: var(--paper);
}
.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.footer-ico--lg {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    margin-top: 2px;
}
.footer-ico--lg svg { width: 20px; height: 20px; }

.brand--footer { margin-bottom: 14px; }
.brand--footer .brand-mark { color: var(--brass-soft); }
.brand--footer .brand-line1 { color: var(--paper); }
.brand--footer .brand-line2 { color: rgba(243, 234, 217, 0.55); }

.footer-bottom {
    border-top: 1px solid rgba(243, 234, 217, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: 12px;
    color: rgba(243, 234, 217, 0.45);
}
.footer-accent { color: var(--brass-soft); }
.footer-accent--link {
    text-decoration: none;
    border-bottom: 1px dashed rgba(201, 165, 114, 0.4);
    transition: color .2s ease, border-color .2s ease;
}
.footer-accent--link:hover {
    color: var(--paper);
    border-bottom-color: var(--paper);
}

/* ===================== TO TOP ===================== */
.totop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity .3s, transform .3s, background .25s;
    z-index: 40;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.totop.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.totop:hover { background: var(--rust-deep); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 56px; }
    .hero-photo-wrap { padding: 16px; max-width: 480px; margin: 0 auto; }
    .hero-photo img { height: 460px; }

    .services { grid-template-columns: repeat(2, 1fr); }

    .prices-grid { grid-template-columns: 1fr; gap: 36px; }
    .knife-explorer { grid-template-columns: 1fr; gap: 32px; }
    .knife-detail { position: static; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-photo { max-width: 480px; margin: 0 auto; }
    .about-photo img { height: 420px; }

    .tools-grid { grid-template-columns: 1fr; }
    .channels { grid-template-columns: 1fr; }
    .order-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .wrap { padding: 0 20px; }
    .topbar-inner { padding: 14px 20px; gap: 12px; grid-template-columns: 1fr auto auto; }
    .topnav {
        position: fixed;
        top: 72px;
        left: 0; right: 0;
        background: var(--paper);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 16px 20px 24px;
        border-bottom: 1px solid var(--line);
        transform: translateY(-110%);
        transition: transform .3s ease;
        z-index: 49;
    }
    .topnav.is-open { transform: translateY(0); }
    .topnav-link {
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid var(--line-soft);
        font-size: 16px;
    }
    .topnav-link--cta {
        margin-top: 12px;
        text-align: center;
        padding: 14px;
        border-bottom: none;
    }
    .topbar-phone {
        padding: 8px 10px;
        font-size: 13px;
    }
    .topburger { display: flex; }

    .hero { padding: 32px 0 56px; }
    .hero-title { font-size: 42px; }
    .hero-photo img { height: 380px; }
    .hero-stamp { width: 100px; height: 100px; top: -10px; right: 0; }

    .marquee-track { font-size: 22px; gap: 18px; }

    .block { padding: 64px 0; }
    .block-head { margin-bottom: 40px; }

    .services { grid-template-columns: 1fr; }
    .service-item { padding: 28px 22px; }

    .knife-figure { padding: 16px 16px 12px; margin-bottom: 36px; }
    .knife-figure figcaption { font-size: 14px; }
    .knife-detail { padding: 28px 22px 30px; }
    .knife-detail-text { font-size: 16px; }
    .knife-pill { padding: 8px 12px; font-size: 13px; }

    .prices-list { padding: 28px 24px 24px; }
    .price-headline-val { font-size: 52px; }
    .price-headline-unit { font-size: 18px; }
    .price-headline-label { font-size: 16px; }
    .price-factors li { font-size: 17px; }
    .price-factors-title { font-size: 16px; }

    .steps { grid-template-columns: 1fr; gap: 16px; }
    .step { padding: 24px; gap: 20px; }
    .step-num { font-size: 44px; padding-right: 18px; }

    .about-photo img { height: 360px; }

    .tool-photo { height: 240px; }

    .gallery-grid { gap: 14px; margin-top: 36px; }
    .gallery-tile { width: 100%; max-width: 320px; height: auto; aspect-ratio: 4 / 3; }
    .lightbox { padding: 50px 12px; }
    .lightbox-close { top: 14px; right: 14px; width: 42px; height: 42px; }
    .tool-body { padding: 22px 24px 26px; }
    .tool-body h3 { font-size: 26px; }

    .channel { padding: 22px; gap: 16px; }
    .channel-logo { width: 48px; height: 48px; }
    .channel-platform { font-size: 20px; }

    .latest-video { margin-bottom: 36px; }
    .latest-video-title { font-size: 22px; }

    .orderform-side { padding: 28px 22px; }
    .orderform-head h3 { font-size: 26px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 36px; }
    .hero-quote { font-size: 19px; }
    .block-title { font-size: 30px; }
    .topbar-phone { display: none; }
}
