/* Orodno kovaštvo Bizovičar - concept stylesheet
   The product photos were shot on a grey-white sweep; the page uses the same grey so the
   tools read as laid out on it. Red is the BIZOVIČAR sticker red on the handles, iron is the
   forged steel, ash is the handle wood. Zilla Slab for stamped headings, Source Sans 3 for text,
   tabular figures for weights and handle lengths. */

@font-face { font-family: "Zilla Slab"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/zilla-slab-600-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Zilla Slab"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/zilla-slab-600-latin.woff2) format("woff2"); 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Zilla Slab"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/zilla-slab-700-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Zilla Slab"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/zilla-slab-700-latin.woff2) format("woff2"); 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/source-sans-3-400-700-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/source-sans-3-400-700-latin.woff2) format("woff2"); 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --sweep: #e9eae8;     /* grey-white photo backdrop */
  --sweep-2: #dcdedb;
  --paper: #f5f5f3;
  --iron: #1d1f21;
  --iron-2: #2b2e31;
  --iron-line: #3b3f42;
  --steel: #555b60;
  --rule: #c5c8c5;
  --red: #c4161c;       /* BIZOVIČAR sticker red */
  --red-hover: #a81217;
  --ash: #d6b27f;       /* handle wood */
  --on-iron: #f2f2f0;
  --on-iron-soft: #b9bdbf;
  --focus: #c4161c;
  --slab: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(1rem, 5vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--sweep); color: var(--iron); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; padding-bottom: 4.75rem; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--slab); font-weight: 700; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-underline-offset: .18em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
figure { margin: 0; }

.wrap { max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 38rem; }
.iron { background: var(--iron); color: var(--on-iron); --focus: var(--ash); }
.num { font-variant-numeric: tabular-nums lining-nums; }

.skip { position: absolute; left: 1rem; top: -5rem; z-index: 100; background: var(--red); color: #fff; padding: .75rem 1rem; font-weight: 600; }
.skip:focus { top: 1rem; }

.concept { background: var(--iron); color: var(--on-iron-soft); font-size: .8125rem; line-height: 1.4; padding: .5rem var(--gutter); text-align: center; }
.concept strong { color: var(--on-iron); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 2px solid var(--iron); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 4.25rem; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; padding-block: .5rem; }
.brand-small { font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: var(--steel); white-space: nowrap; }
.brand-big { font-family: var(--slab); font-weight: 700; font-size: 1.625rem; letter-spacing: .06em; color: var(--red); margin-top: .15rem; white-space: nowrap; }
.header-end { display: flex; align-items: center; gap: .5rem; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: .125rem; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .7rem; text-decoration: none; font-weight: 600; font-size: 1rem; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }
.lang { font-weight: 600; font-size: .9375rem; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding-inline: .5rem; }
.lang:hover { text-decoration: underline; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding-inline: .875rem; border: 2px solid var(--iron); font-weight: 700; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--iron); color: var(--on-iron); }
.menu ul { list-style: none; position: absolute; right: 0; top: calc(100% + .5rem); width: min(17rem, calc(100vw - 2rem)); background: var(--paper); border: 2px solid var(--iron); box-shadow: 6px 6px 0 rgba(29, 31, 33, .18); }
.menu li + li { border-top: 1px solid var(--rule); }
.menu a { display: block; padding: .8rem 1rem; text-decoration: none; font-weight: 600; }
.menu a[aria-current="page"] { color: var(--red); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .625rem 1.25rem; border: 2px solid transparent; font: 700 1rem/1.2 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn svg { width: 1.125rem; height: 1.125rem; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-line { border-color: currentColor; background: transparent; color: inherit; }
.btn-line:hover { background: rgba(29, 31, 33, .06); }
.iron .btn-line:hover { background: rgba(255, 255, 255, .08); }
.btn-ash { background: var(--ash); color: var(--iron); }
.btn-ash:hover { background: #e3c291; }
.header-call { display: none; min-height: 44px; padding-inline: .875rem; font-size: .9375rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Stand-in photos */
.stand-in { position: relative; }
.stand-in::before { content: "Začasna fotografija"; position: absolute; top: .625rem; left: .625rem; z-index: 1; background: var(--iron); color: #fff; padding: .25rem .5rem; font-size: .8125rem; font-weight: 600; line-height: 1.3; }
.stand-in img { filter: saturate(.8); }

/* Hero */
.hero { padding-block: 2rem 0; overflow: hidden; }
.hero .wrap { display: grid; gap: 1rem; }
.hero-place { font-weight: 600; color: var(--steel); }
.hero h1 { font-size: clamp(2.375rem, 9vw, 4.5rem); line-height: 1; margin-top: .625rem; letter-spacing: -.005em; }
.hero-lead { margin-top: 1.25rem; font-size: 1.1875rem; max-width: 34rem; }
.hero-photo { margin-inline: calc(var(--gutter) * -1); }
.hero-photo img { width: 100%; }
.hero-note { font-size: .9375rem; color: var(--steel); margin-top: .5rem; padding-inline: var(--gutter); }

/* Year stamp */
.stamp { display: inline-flex; align-items: baseline; gap: .5rem; margin-top: 1.5rem; padding: .375rem .75rem; border: 2px solid var(--iron); font-family: var(--slab); font-weight: 700; }
.stamp b { color: var(--red); font-size: 1.375rem; }

/* Sections */
.band { padding-block: 3.5rem; }
.band-head h2 { font-size: clamp(2rem, 6vw, 3.25rem); }
.band-head p { margin-top: .875rem; font-size: 1.125rem; color: var(--steel); max-width: 40rem; }
.iron .band-head p { color: var(--on-iron-soft); }
.band-rule { border-top: 2px solid var(--iron); }

/* Tool rack: spec rows */
.rack { list-style: none; margin-top: 2rem; display: grid; border-top: 1px solid var(--rule); }
.rack li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: center; padding-block: .625rem; border-bottom: 1px solid var(--rule); }
.rack img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; mix-blend-mode: multiply; }
.rack h3 { font-size: 1.25rem; line-height: 1.15; }
.rack .spec { font-size: .9375rem; color: var(--steel); font-variant-numeric: tabular-nums lining-nums; margin-top: .125rem; }
.rack-more { margin-top: 1.25rem; font-weight: 700; }
.rack-more a { color: var(--red); text-decoration-thickness: 2px; }

/* Split: butchers + gifts */
.split { display: grid; gap: 2.5rem; }
.split-block h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
.split-block p { margin-top: .75rem; }
.split-block figure { margin-top: 1.25rem; }
.split-block figure img { width: 100%; mix-blend-mode: multiply; }
.list-plain { list-style: none; margin-top: 1rem; border-top: 1px solid var(--rule); }
.list-plain li { padding-block: .5rem; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 1rem; }
.list-plain span { color: var(--steel); font-variant-numeric: tabular-nums lining-nums; text-align: right; }

/* Order + plough band */
.order .wrap { display: grid; gap: 2rem; }
.order h2 { font-size: clamp(2rem, 6vw, 3.25rem); }
.order p { margin-top: 1rem; color: var(--on-iron-soft); font-size: 1.125rem; }
.order p strong { color: var(--on-iron); }
.order .made { list-style: none; margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.order .made li { border: 1px solid var(--iron-line); padding: .25rem .625rem; }

/* Workshop */
.shop .wrap { display: grid; gap: 2rem; }
.shop-photos { display: grid; grid-template-columns: 1.5fr 1fr; gap: .75rem; align-items: start; }
.shop-photos figure:first-child { grid-column: 1 / -1; }
.shop-photos img { width: 100%; }
.shop-photos figcaption, .photo-cap { font-size: .875rem; color: var(--steel); margin-top: .375rem; line-height: 1.35; }
.facts { list-style: none; margin-top: 1.5rem; border-top: 2px solid var(--iron); }
.facts li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding-block: .75rem; border-bottom: 1px solid var(--rule); }
.facts b { font-family: var(--slab); font-size: 1.25rem; line-height: 1.2; color: var(--red); font-variant-numeric: lining-nums; }
.shop-body p + p { margin-top: 1rem; }

/* Call band */
.call .wrap { display: grid; gap: 1.5rem; }
.call h2 { font-size: clamp(2rem, 6vw, 3.25rem); }
.call .numbers { list-style: none; display: grid; gap: .25rem; margin-top: 1rem; }
.call .numbers a { font-family: var(--slab); font-weight: 700; font-size: clamp(1.5rem, 6vw, 2.25rem); text-decoration: none; font-variant-numeric: lining-nums; }
.call .numbers a:hover { color: var(--ash); }
.call .numbers small { display: block; font-family: var(--sans); font-size: .875rem; font-weight: 600; color: var(--on-iron-soft); }

/* Sub-page head */
.page-head { padding-block: 2.5rem 2rem; border-bottom: 2px solid var(--iron); }
.page-head h1 { font-size: clamp(2.5rem, 9vw, 4.25rem); }
.page-head p { margin-top: 1rem; font-size: 1.1875rem; max-width: 40rem; }
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: 1.5rem; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration-thickness: 2px; text-decoration-color: var(--rule); }
.jump a:hover { text-decoration-color: var(--red); }
.jump small { font-weight: 600; color: var(--steel); margin-left: .375rem; }

/* Catalogue page */
.cat { padding-block: 3rem; border-bottom: 2px solid var(--iron); }
.cat-head { display: grid; gap: .75rem; }
.cat-head h2 { font-size: clamp(2rem, 6vw, 3rem); }
.cat-head p { color: var(--steel); max-width: 40rem; }
.catalog { list-style: none; margin-top: 2rem; display: grid; gap: 1.75rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); }
.catalog img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; mix-blend-mode: multiply; }
.catalog h3 { font-size: 1.1875rem; line-height: 1.15; margin-top: .5rem; }
.catalog .spec { font-size: .9375rem; color: var(--steel); font-variant-numeric: tabular-nums lining-nums; }
.catalog-wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.gift-hero { margin-top: 2rem; display: grid; gap: .75rem; }
.gift-hero img { width: 100%; mix-blend-mode: multiply; }
.note-line { margin-top: 1.5rem; font-weight: 600; }
.note-line a { color: var(--red); }
.order-page .wrap { display: grid; gap: 2rem; }
.order-page h2 { font-size: clamp(2rem, 6vw, 3rem); }
.order-page p { margin-top: 1rem; }
.order-page .made { list-style: none; margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.order-page .made li { border: 1px solid var(--rule); background: var(--paper); padding: .25rem .625rem; }

/* Contact */
.contact .wrap { display: grid; gap: 3rem; }
.form { display: grid; gap: 1.125rem; margin-top: 1.5rem; }
.field { display: grid; gap: .375rem; }
.field label { font-weight: 700; }
.field .hint { font-size: .875rem; color: var(--steel); }
.field input, .field textarea, .field select { width: 100%; font: 400 1.0625rem/1.4 var(--sans); color: var(--iron); background: #fff; border: 2px solid #6b7074; padding: .75rem .875rem; min-height: 48px; border-radius: 0; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--iron); outline: 3px solid var(--red); outline-offset: 0; }
.form .btn { justify-self: start; }
.form-legal { font-size: .875rem; color: var(--steel); }
.form-concept { font-size: .9375rem; font-weight: 600; padding: .5rem .75rem; border-left: 4px solid var(--red); background: var(--paper); }
.field input[type="file"] { padding: .625rem; background: var(--paper); }
.hidden-field { position: absolute; left: -9999px; }
.card { padding: 1.5rem; }
.card .numbers { list-style: none; display: grid; }
.card .numbers a { display: flex; flex-direction: column; min-height: 44px; justify-content: center; padding-block: .75rem; border-bottom: 1px solid var(--iron-line); text-decoration: none; }
.card .numbers small { font-size: .875rem; color: var(--on-iron-soft); }
.card .numbers span { font-family: var(--slab); font-size: clamp(1.25rem, 5.2vw, 1.5rem); font-weight: 700; font-variant-numeric: lining-nums; }
.card .numbers a:hover span { text-decoration: underline; }
.card address { font-style: normal; margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.45; }
.card address strong { display: block; font-family: var(--slab); font-size: 1.375rem; margin-bottom: .25rem; }
.card .where { margin-top: .75rem; color: var(--on-iron-soft); }
.company { margin-top: 1.5rem; font-size: .875rem; color: var(--on-iron-soft); line-height: 1.5; }

/* Thanks */
.thanks { padding-block: 4rem 6rem; }
.thanks h1 { font-size: clamp(2.5rem, 9vw, 4rem); }
.thanks p { margin-top: 1rem; font-size: 1.1875rem; max-width: 36rem; }
.thanks a:not(.btn) { color: var(--red); font-weight: 700; }

/* Footer */
.site-footer { padding-block: 2.75rem; }
.site-footer .wrap { display: grid; gap: 1.5rem; }
.site-footer p { color: var(--on-iron-soft); font-size: .9375rem; }
.site-footer .brand-big { color: var(--on-iron); }
.site-footer .brand-small { color: var(--on-iron-soft); }
.foot-contact { list-style: none; display: grid; justify-items: start; }
.foot-contact a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-concept { border-top: 1px solid var(--iron-line); padding-top: 1.25rem; font-size: .875rem; }

/* Mobile action bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .625rem var(--gutter) calc(.625rem + env(safe-area-inset-bottom)); background: var(--iron); --focus: var(--ash); }
.action-bar .btn { width: 100%; padding-inline: .5rem; font-size: .9375rem; }
.action-bar .btn-line { color: var(--on-iron); }

@media (max-width: 22.5rem) {
  .brand-big { font-size: 1.375rem; }
  .rack li { grid-template-columns: 5.5rem 1fr; }
}

/* 600px */
@media (min-width: 37.5rem) {
  .rack { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}

/* 768px */
@media (min-width: 48rem) {
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .header-call { display: inline-flex; }
  .hero { padding-block: 3rem 1rem; }
  .hero .wrap { grid-template-columns: 1fr 1.15fr; align-items: center; gap: 2rem; }
  .hero-photo { margin-inline: 0 calc(var(--gutter) * -1); }
  .hero-note { padding-inline: 0; }
  .band { padding-block: 5rem; }
  .split { grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
  .order .wrap { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3.5rem; }
  .shop .wrap { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .call .wrap { grid-template-columns: 1fr 1fr; align-items: end; }
  .cat-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; }
  .gift-hero { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 2rem; }
  .order-page .wrap { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: start; }
  .contact .wrap { grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: start; }
  .site-footer .wrap { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
  .footer-concept { grid-column: 1 / -1; }
}

/* 1024px */
@media (min-width: 64rem) {
  .nav { display: block; }
  .menu { display: none; }
  .rack { grid-template-columns: repeat(3, 1fr); }
}
