:root {
  --color-black: #0B0B0F;
  --color-ivory: #F5F0E8;
  --color-orange: #FF4D00;
  --color-blue: #315BFF;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1140px;
  --radius-card: 14px;
  --radius-pill: 999px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

body {
  margin: 0;
  background: var(--color-black);
  color: var(--color-ivory);
  font-family: var(--font-body);
  line-height: 1.5;
}

/* Subtle film-grain texture over the whole page (brandbook calls for "textura
   leve" instead of flat color blocks). Fixed + pointer-events:none so it
   never affects layout, scroll, or click targets. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 0.5em;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 3rem;
}

@media (min-width: 768px) {
  .section {
    padding-block: 6rem;
  }
}

/* ==========================================================================
   Accessibility utilities
   ========================================================================== */

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

.skip-link {
  position: fixed;
  top: -60px;
  left: 0;
  z-index: 1000;
  background: var(--color-orange);
  color: var(--color-black);
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.85em 1.5em;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.85em 1.75em;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-black);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #d94300;
  border-color: #d94300;
}

.btn--secondary {
  background: transparent;
  border-color: var(--color-ivory);
  color: var(--color-ivory);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--color-ivory);
  color: var(--color-black);
}

.btn--small {
  min-height: 36px;
  padding: 0.5em 1.1em;
  font-size: 0.8rem;
}

/* ==========================================================================
   Section divider
   ========================================================================== */

.section-divider {
  width: 90px;
  height: 4px;
  margin: 2.5rem auto;
  background: var(--color-blue);
  border: 0;
  transform: skewX(-20deg);
}

/* ==========================================================================
   Social icon buttons
   ========================================================================== */

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 232, 0.3);
  color: var(--color-ivory);
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover,
.social-icon:focus-visible {
  color: var(--color-black);
  background: var(--color-orange);
  border-color: var(--color-orange);
  transform: translateY(-2px);
}
