/* GXJ Productions — reset + shared primitives */

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

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

h1, h2, h3, h4, p { margin: 0; }

a { color: inherit; text-decoration: none; }
a, button, select, input[type="submit"] { cursor: pointer; }

button {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
/* hero + CTA frames: 1392px breed (24px paginamarge) — Figma x23.5 w1392 */
.container--wide {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 24px;
}
/* footer: 1400px breed (20px paginamarge) — Figma x20 w1400 */
.container--full {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding-top: var(--pad-section); }

/* ---- Typography ---- */
.h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--c-white);
}
.h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); color: var(--c-heading); }
.h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); }
.h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--ls-h4); font-weight: 500; color: var(--c-white); }

.h2 .is-white  { color: var(--c-white); }
.h2 .is-accent { color: var(--c-accent); }

.text-body { color: var(--c-body); }
.text-small { font-size: var(--fs-small); line-height: 1.667; }

/* ---- Section number rows ("02 / About us" + divider) ---- */
.section-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-s);
  padding-top: var(--pad-section);
}
.section-divider__label {
  flex-shrink: 0;
  font-size: var(--fs-label);
  font-weight: 500;
  line-height: 17.5px;
  letter-spacing: -0.033em;
  text-transform: uppercase;
  color: var(--c-body);
}
.section-divider--tight  { padding-top: 80px; }   /* 02 About: 80px na logo-strip */
.section-divider--medium { padding-top: 140px; }  /* 03 Portfolio */
.section-divider__line {
  flex: 1;
  height: 1px;
  background: var(--c-line);
}

/* ---- Buttons (Cinemaflow pill) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46.5px;
  padding: 12px 32px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: var(--fs-small);
  letter-spacing: -0.03em;
  line-height: 1.4;
  transition: background-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--c-white);
  color: #020202;
  box-shadow: inset 0 0 0 1px var(--c-white);
}
.btn--primary:hover { background: var(--c-accent); box-shadow: inset 0 0 0 1px var(--c-accent); }

.btn--outline {
  background: transparent;
  color: var(--c-white);
  box-shadow: inset 0 0 0 1px var(--c-white);
}
.btn--outline:hover { background: var(--c-white); color: #020202; }

/* ---- Category chip (glass) ---- */
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 42.5px;
  line-height: 22.5px;
  padding: 10px 16px;
  border-radius: var(--r-chip);
  background: var(--glass);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 1px 3px rgba(25, 33, 61, 0.1);
  color: var(--c-white);
  font-size: var(--fs-small);
  font-weight: 500;
}

/* ---- Media frame ---- */
.media {
  overflow: hidden;
  border-radius: var(--r-media);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
