/* ==========================================================================
   Base: tokens, reset, shared primitives (buttons, labels, icons)
   Desktop (>=992px) is scaled proportionally to the 1055px reference:
   1rem == 10 reference pixels. Below 992px a dedicated mobile layout is used.
   ========================================================================== */

:root {
  --c-dark: #121315;
  --c-dark-2: #1b1c1e;
  --c-orange: #f58a1f;
  --c-orange-2: #ff9d2e;
  --c-orange-deep: #e0701a;
  --c-brown: #5b2210;
  --c-ink: #202022;
  --c-muted: #4a4a4d;
  --c-bg: #f4f4f4;
  --c-peach: #f1cbb2;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--c-dark);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-ink);
  background: var(--c-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--c-orange-2); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--c-orange);
  color: #1a1206;
  font-weight: 600;
  border-radius: 4px;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-main { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  border-radius: 5px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: filter .2s, background-color .2s, color .2s;
}
.btn .icon { font-size: 1.15em; }

.btn--primary {
  color: #24160a;
  background: linear-gradient(180deg, #f7ae3c 0%, #ee8c1c 100%);
  border-color: #f9b957;
}
.btn--primary:hover { filter: brightness(1.07); }

.btn--outline {
  color: #fff;
  background: rgba(10, 10, 11, .55);
  border-color: rgba(255, 255, 255, .72);
}
.btn--outline:hover { background: rgba(255, 255, 255, .12); }

.btn--brown {
  color: #fff;
  background: linear-gradient(180deg, #c9581a 0%, #a8430f 100%);
  border-color: #c9581a;
}
.btn--brown:hover { filter: brightness(1.08); }

.btn--cta {
  color: var(--c-ink);
  background: #fff;
  border-color: #e0701a;
}
.btn--cta .icon:first-child { color: #e0701a; }
.btn--cta:hover { background: #fff3ea; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: rgba(20, 20, 22, .85);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 5px;
}
.icon-btn:hover { background: rgba(255, 255, 255, .14); }
.icon-btn .icon { font-size: 18px; }

/* ---------- Section label (small uppercase tag with orange underline) ---------- */
.section-label {
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--c-ink);
}
.section-label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  background: var(--c-orange);
}
.section-label--orange { color: #b8501a; }
.section-label--orange::after { display: none; }

/* ---------- Desktop scaling ---------- */
@media (min-width: 992px) {
  html { font-size: calc(min(100vw, 1680px) / 105.5); }
  body {
    font-size: 1rem;
    line-height: 1.45;
    max-width: 1680px;
    margin-inline: auto;
  }
  .skip-link { left: 1.2rem; padding: 1rem 1.6rem; }

  .btn {
    gap: .7rem;
    min-height: 3.1rem;
    padding: 0 1.7rem;
    font-size: 1.05rem;
    border-radius: .4rem;
  }
  .icon-btn { width: 2.2rem; height: 2.2rem; border-radius: .3rem; }
  .icon-btn .icon { font-size: 1.1rem; }

  .section-label { padding-bottom: .6rem; font-size: 1rem; }
  .section-label::after { width: 3rem; height: .25rem; }
}
