/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

::selection {
  background: var(--utah-red);
  color: var(--text);
}

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

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

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 100;
  padding: 10px 16px;
  background: var(--utah-red);
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
}
.skip-link:focus {
  top: 12px;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  position: relative;
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
}

/* Type */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.01em;
}

.h2 {
  font-size: clamp(48px, 8vw, 112px);
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
}

.accent {
  color: var(--utah-red);
}

/* Section label: "01 // ABOUT" */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--muted);
}
.section-label .num {
  color: var(--utah-red);
}
.section-label::after {
  content: "";
  flex: 0 0 64px;
  height: 1px;
  background: var(--line-strong);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

/* Notched corners (Valorant UI cut) */
.notch {
  clip-path: polygon(
    0 0,
    calc(100% - var(--notch)) 0,
    100% var(--notch),
    100% 100%,
    var(--notch) 100%,
    0 calc(100% - var(--notch))
  );
}

/* Buttons */
.btn {
  --btn-bg: var(--utah-red);
  --btn-fg: var(--text);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--text);
  transform: translateX(-101%);
  transition: transform var(--dur) var(--ease);
}
.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(0);
}
.btn:hover,
.btn:focus-visible {
  color: var(--bg);
}
.btn .arrow {
  width: 14px;
  height: 14px;
}

.btn--ghost {
  --btn-bg: transparent;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.btn--dark {
  --btn-bg: var(--bg);
}

.btn.is-disabled {
  --btn-bg: var(--panel-2);
  color: var(--muted);
  cursor: not-allowed;
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn.is-disabled::before {
  display: none;
}

/* Logo placeholder slot. Replace the inner text with an <img> when ready. */
.logo-slot {
  display: grid;
  place-items: center;
  flex: none;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-slot:has(img) {
  border: 0;
}

/* Scroll reveal */
.reveal {
  clip-path: inset(0 0 100% 0);
  transform: translateY(24px);
  transition:
    clip-path 700ms var(--ease),
    transform 700ms var(--ease);
}
.reveal.is-visible {
  clip-path: inset(0 0 0 0);
  transform: none;
}
.no-js .reveal {
  clip-path: none;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    clip-path: none;
    transform: none;
  }
}
