/* ============================================================
   BASE — reset + shared primitives
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); }

p { margin: 0 0 1em; }

a { color: var(--text); }

button {
  font-family: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
}

ul { margin: 0; padding: 0; list-style: none; }

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

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ---- display type ---- */
.display {
  font-family: var(--font-display);
  font-weight: 400; /* Bebas only ships 400; tracking does the work */
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

/* ---- eyebrow / small label ---- */
.eyebrow {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

/* ---- buttons (spec: solid black, 44px, square) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--s-4);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: opacity var(--t-fast) var(--ease);
}
.btn:hover { opacity: 0.8; }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--outline:hover { opacity: 0.6; }

/* ---- photography treatment: one grade for every photo ---- */
.ph {
  filter: saturate(1.05) contrast(1.03);
  background: var(--bg-soft);
}

/* ---- accordion ---- */
.acc { border-bottom: 1px solid var(--line); }
.acc:first-of-type { border-top: 1px solid var(--line); }

.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  width: 100%;
  padding: 20px 0;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}

.acc__icon {
  flex: none;
  width: 14px;
  height: 14px;
  position: relative;
}
.acc__icon::before, .acc__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform var(--t-fast) var(--ease);
}
.acc__icon::before { left: 0; top: 6px; width: 14px; height: 2px; }
.acc__icon::after  { left: 6px; top: 0; width: 2px; height: 14px; }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: scaleY(0); }

.acc__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-fast) var(--ease);
}
.acc__panel > div { padding: 0 var(--s-5) 20px 0; color: var(--body); }

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
