:root {
    color-scheme: dark;
    --coal: #171412;
    --surface: #211b18;
    --paper: #fffdf9;
    --muted: #c7b9ad;
    --orange: #ff662e;
    --line: #493d35;
    --studio: #f4f0eb;
  }
  *, *::before, *::after { box-sizing: border-box; }
  body { margin: 0; background: var(--coal); color: var(--paper); font: 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; }
  a { color: inherit; text-decoration: none; }
  button, input, select { font: inherit; }
  :focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
  .wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
  .site-header { position: relative; z-index: 1; border-bottom: 1px solid var(--line); background: var(--coal); }
  .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 86px; }
  .logo img { display: block; width: 153px; height: auto; }
  .desktop-nav, .mobile-nav { font-weight: 650; font-size: 14px; }
  .desktop-nav { display: flex; align-items: center; gap: clamp(14px, 2.1vw, 32px); }
  .desktop-nav a, .mobile-nav a { color: var(--muted); }
  .desktop-nav a:hover, .mobile-nav a:hover, [aria-current="page"] { color: var(--paper) !important; }
  .desktop-nav a[aria-current="page"] { position: relative; }
  .desktop-nav a[aria-current="page"]::after { content: ""; position: absolute; inset: auto 0 -7px; height: 2px; background: var(--orange); }
  .action { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 44px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 3px; font-size: 14px; font-weight: 700; }
  .action:hover { border-color: var(--orange); }
  .primary { color: var(--coal); background: var(--orange); border-color: var(--orange); }
  .primary:hover { background: #ff8557; }
  .mobile-menu { display: none; }
  .hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); background: #1d1613; }
  .hero::before {
    position: absolute; z-index: -1; content: ""; inset: 0 0 0 36%;
    background-image: linear-gradient(90deg, #1d1613 0%, #1d16132e 55%, #1d161315 100%), url("feu.jpg");
    background-size: cover; background-position: center, center 59%;
  }
  .hero-inner { padding-block: 24px 44px; }
  .trail { display: flex; gap: 11px; align-items: center; color: var(--muted); font-size: 13px; }
  .trail a:hover { text-decoration: underline; }
  h1 { font-size: clamp(62px, 8vw, 122px); letter-spacing: -.06em; line-height: .93; margin: 25px 0 16px; }
  .hero p { font-size: clamp(16px, 1.6vw, 20px); color: var(--paper); max-width: 400px; margin: 0; }
  .catalogue { padding-block: 35px 62px; }
  .filters { display: flex; gap: 14px 20px; align-items: end; flex-wrap: wrap; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
  .field { display: grid; gap: 7px; min-width: 0; color: var(--muted); font-size: 13px; font-weight: 650; }
  .field input, .field select {
    width: 100%; min-height: 44px; color: var(--paper); border: 1px solid var(--line);
    border-radius: 3px; background: var(--surface); padding: 8px 12px; font-size: 14px; font-weight: 500;
  }
  .field input::placeholder { color: var(--muted); }
  .search { flex: 1 1 230px; }
  .type, .size { flex: 0 1 213px; }
  .results-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; }
  .results-bar p { margin: 0; color: var(--muted); font-size: 14px; }
  .reset { padding: 8px 0; border: none; background: transparent; color: var(--paper); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
  .reset:hover { color: var(--orange); }
  .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--surface); }
  .card[hidden] { display: none; }
  .card:hover, .card:focus-within { border-color: var(--orange); }
  .photo { position: relative; aspect-ratio: 6/5; display: grid; place-items: center; overflow: hidden; background: var(--studio); }
  .photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 7px; }
  .crop { display: block; background-repeat: no-repeat; mix-blend-mode: multiply; }
  .card-body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
  .category { margin: 0 0 4px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-size: 10px; font-weight: 700; }
  .card h2 { font-size: clamp(19px, 2.1vw, 28px); letter-spacing: -.045em; line-height: 1.08; margin: 0 0 9px; }
  .card p:not(.category) { font-size: 14px; margin: 0 0 11px; color: var(--muted); }
  .card .dimensions { margin-top: auto !important; color: var(--paper) !important; font-size: 13px !important; font-weight: 650; }
  .card-link { display: flex; gap: 8px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 12px 16px; font-size: 13px; font-weight: 700; min-height: 44px; }
  .card-link span { color: var(--orange); }
  .card-link:hover { background: #2e211b; }
  .card.featured .card-link { background: var(--orange); color: var(--coal); }
  .card.featured .card-link:hover { background: #ff8557; }
  .card.featured .card-link span { color: inherit; }
  .empty { margin: 0; padding: 32px 20px; border: 1px solid var(--line); text-align: center; }
  .help {
    margin-top: 36px; padding: 23px 26px; border: 1px solid var(--line); border-left: 3px solid var(--orange);
    background: var(--surface); display: flex; justify-content: space-between; gap: 16px; align-items: center;
  }
  .help h2 { margin: 0 0 4px; font-size: 23px; letter-spacing: -.032em; }
  .help p { color: var(--muted); margin: 0; font-size: 14px; }
  .help a { flex-shrink: 0; }
  footer { border-top: 1px solid var(--line); }
  .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 24px; font-size: 13px; color: var(--muted); }
  .footer-inner a:hover { text-decoration: underline; }
  .foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
  @media (max-width: 1200px) {
    .wrap { width: calc(100% - 56px); }
    .desktop-nav, .header-viking { display: none; }
    .mobile-menu { display: block; }
    .mobile-menu summary { list-style: none; cursor: pointer; }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .mobile-nav { position: absolute; inset: 100% 0 auto; background: var(--coal); border-bottom: 1px solid var(--line); padding: 12px 28px; }
    .mobile-nav a { display: block; padding-block: 10px; }
    .mobile-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; }
  }
  @media (max-width: 900px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (max-width: 700px) {
    .wrap { width: calc(100% - 32px); }
    .header-inner { min-height: 64px; }
    .logo img { width: 130px; }
    .mobile-nav { padding-inline: 16px; }
    .hero::before { inset-inline-start: 18%; opacity: .72; }
    .hero-inner { padding-block: 16px 27px; }
    h1 { margin-block: 21px 13px; }
    .hero p { max-width: 310px; }
    .catalogue { padding-block: 23px 36px; }
    .filters { gap: 12px; padding-bottom: 15px; }
    .search { flex-basis: 100%; }
    .type, .size { flex: 1 1 calc((100% - 12px) / 2); }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .card-body { padding: 11px; }
    .card-link { padding-inline: 11px; font-size: 12px; }
    .card p:not(.category) { font-size: 13px; }
    .help { margin-top: 22px; padding: 16px; align-items: flex-start; flex-direction: column; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
  }
