@font-face {
  font-family: Barlow;
  src: url("assets/barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("assets/barlow-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("assets/barlow-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --dark: #1e1712;
  --dark-raised: #32241a;
  --accent: #ffbd40;
  --accent-hover: #ffd472;
  --paper: #f8f1e5;
  --white: #fff9ed;
  --ink: #2d2018;
  --muted: #5f4a3a;
  --rust: #8c3817;
  --line: #d9caba;
  color: var(--ink);
  background: var(--paper);
  font: 400 100% / 1.5 Barlow, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
html { scroll-padding-top: 16px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #943711; outline-offset: 4px; }
header :focus-visible, .hero :focus-visible, .catalog :focus-visible, footer :focus-visible { outline-color: var(--accent); }
.wrap { width: min(100% - 64px, 1240px); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 8; padding: 10px 16px; transform: translateY(-180%); color: var(--ink); background: var(--white); }
.skip-link:focus { transform: translateY(0); }
.site-header, .site-footer { color: var(--white); background: var(--dark); }
.site-header { position: relative; z-index: 2; }
.heading { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 1.18rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.brand img { border-radius: 3px; object-fit: cover; }
.brand small { display: block; margin-top: 3px; font-size: .74rem; color: #fbd17e; font-weight: 600; }
#menu { display: flex; align-items: center; gap: clamp(14px, 3vw, 38px); }
#menu a, .footer-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
#menu a:hover, .footer-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-button { display: none; }

.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 17px; border: 1px solid var(--accent); border-radius: 4px; background: var(--accent); color: #2b1804; font: 700 1rem / 1.24 Barlow, Arial, sans-serif; transition: background-color 150ms, border-color 150ms; }
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.header-contact { min-height: 44px; }
.button.outline { background: transparent; color: var(--white); border-color: #dbc4a0; }
.button.outline:hover { background: #503826; }
.button.secondary { background: transparent; color: var(--ink); border-color: #9d7656; }
.button.secondary:hover { background: #f5dfbd; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: max(575px, calc(100svh - 65px)); color: var(--white); background: var(--dark); }
.hero-art, .hero::before { position: absolute; width: 100%; height: 100%; inset: 0; }
.hero-art { z-index: -2; object-fit: cover; object-position: 66% 50%; }
.hero::before { content: ""; z-index: -1; background: linear-gradient(91deg, #1e1712f7 5%, #20160fed 35%, #24190f88 68%, #24190f38 100%); }
.hero-content { padding-block: 54px; }
.hero-location, .section-location { margin-bottom: 10px; font-size: .95rem; font-weight: 600; }
.hero-location { color: #ffe09e; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.025em; }
h1 { max-width: 13.5ch; font-size: clamp(3.6rem, 6.6vw, 6rem); line-height: .98; }
.hero .intro { max-width: 38ch; margin-top: 22px; color: #fff5e5; font-size: clamp(1.08rem, 1.55vw, 1.28rem); }
.hero .actions { margin-top: 24px; }

.intro-strip { background: #f6e2bd; }
.intro-strip .wrap { display: flex; justify-content: space-between; gap: 10px; padding-block: 17px; }
.intro-strip span { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.intro-strip span::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; background: var(--rust); border-radius: 50%; }
.section { padding-block: clamp(54px, 7.8vw, 106px); }
h2 { font-size: clamp(2.15rem, 4.3vw, 4rem); line-height: 1.04; }
h3 { font-size: clamp(1.35rem, 2.1vw, 1.86rem); line-height: 1.12; }
.section p:not(.section-location) { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.17rem); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 6vw, 98px); align-items: center; }
.section-location { color: var(--rust); }
.application { background: var(--white); }
.products { background: var(--paper); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.product { min-width: 0; overflow: clip; border: 1px solid var(--line); border-radius: 4px; background: #fffbf3; }
.product > img { width: 100%; height: auto; aspect-ratio: 600/430; object-fit: cover; }
.product-info { padding: 20px; }
.product-info p { margin-block: 8px; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; max-width: 100%; font-weight: 700; color: var(--rust); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.about { background: #eee1d0; }
.about p:not(.section-location), .catalog p:not(.section-location) { margin-top: 16px; }
.about .text-link { margin-top: 8px; }
.shop-art { width: 100%; height: auto; aspect-ratio: 8/5; object-fit: cover; border-radius: 4px; }
.catalog { color: var(--white); background: var(--dark-raised); }
.catalog p:not(.section-location) { color: #f2e1c9; }
.catalog .button { justify-self: start; }
.contact { background: #f5e5c5; }
.contact address { margin-top: 14px; color: var(--muted); font-size: 1.12rem; font-style: normal; }
.site-footer .heading { min-height: 76px; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .heading { flex-wrap: wrap; gap: 10px; }
  .header-contact { display: none; }
  #menu { gap: 8px 18px; flex-wrap: wrap; }
  .has-js .menu-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 76px; min-height: 44px; border: 1px solid #886e55; border-radius: 4px; background: transparent; color: var(--white); font: 700 1rem / 1 Barlow, Arial, sans-serif; cursor: pointer; }
  .menu-button span { width: 14px; height: 9px; border-block: 1px solid currentColor; }
  .has-js #menu { display: none; position: absolute; top: 100%; inset-inline: 0; padding: 8px 20px 12px; background: var(--dark); border-bottom: 1px solid #816445; }
  .has-js #menu[data-open] { display: grid; gap: 0; }
  .hero { min-height: max(560px, calc(100svh - 65px)); }
  .hero::before { background: linear-gradient(90deg, #1b130fed, #1e1510c4 59%, #21171088), linear-gradient(0deg, #1e1712af, transparent 40%); }
  .hero-art { object-position: 79% 50%; }
  h1 { font-size: clamp(2.8rem, 12vw, 4.4rem); }
  .hero .intro { margin-top: 16px; }
  .hero .actions { margin-top: 20px; }
  .split, .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-grid { gap: 14px; }
  .intro-strip .wrap { justify-content: flex-start; column-gap: 18px; row-gap: 8px; flex-wrap: wrap; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 32px); }
  .hero .actions { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
