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

:root {
  --bg: #080808;
  --fg: #f0f0f0;
  --accent: #f15a28;
  --muted: #555;
  --pad-x: 5.5vw;
  --pad-y: 8vh;
  --radius: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* =====================
   STACKING LAYOUT
   ===================== */
.section-wrap {
  position: relative;
  height: 100vh;
}

.section {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.section-card {
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -8px 60px rgba(0, 0, 0, 0.5);
}

.section-inner {
  height: 100vh;
  display: flex;
  align-items: center;
}

/* =====================
   MATERIALIZE RESETS
   ===================== */
.container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 var(--pad-x) !important;
}

blockquote {
  border-left: none;
  padding-left: 0;
  margin: 0;
}

/* =====================
   TYPOGRAPHY
   ===================== */
.label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: block;
  margin-bottom: 1.2rem;
}

h1 {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.88;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(32px, 5vw, 80px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-transform: uppercase;
}

h2.h2-content {
  font-size: clamp(26px, 3.8vw, 58px);
}

p {
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.7;
  color: rgba(240, 240, 240, 0.7);
}

/* =====================
   HEADER
   ===================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 18px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(8, 8, 8, 0.85) 0%, transparent 100%);
  transition: background 0.3s;
}

#site-header.scrolled {
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(8px);
}

#site-header img {
  height: 32px;
  width: auto;
  pointer-events: all;
}

.btn-wpp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(240, 240, 240, 0.15);
  color: var(--fg);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 2px;
  cursor: pointer;
  pointer-events: all;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
}

.btn-wpp:hover {
  border-color: var(--accent);
  background: rgba(255, 106, 0, 0.08);
  color: var(--fg);
}

.btn-wpp svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

/* =====================
   PROGRESS BAR
   ===================== */
#progress-bar {
  position: fixed;
  right: 0;
  top: 0;
  width: 2px;
  background: var(--accent);
  z-index: 400;
  transition: height 0.1s linear;
  height: 0%;
}

/* =====================
   REVEAL ANIMATION
   ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.22s; }
.reveal-d3 { transition-delay: 0.36s; }
.reveal-d4 { transition-delay: 0.5s; }

/* =====================
   MODAL
   ===================== */
#modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

#modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #111;
  border: 1px solid rgba(255, 106, 0, 0.15);
  border-radius: 16px;
  padding: 48px;
  width: 100%;
  max-width: 520px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

#modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-box h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--fg);
}

.modal-box .modal-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.modal-field {
  margin-bottom: 20px;
}

.modal-field label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.modal-field input,
.modal-field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--fg);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.modal-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23888' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.modal-field input:focus,
.modal-field select:focus {
  border-color: var(--accent);
}

.modal-field select option {
  background: #111;
  color: var(--fg);
}

.modal-send-btn {
  width: 100%;
  background: var(--accent);
  color: #080808;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.2s;
}

.modal-send-btn:hover {
  opacity: 0.88;
}

#modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  font-family: inherit;
  transition: color 0.2s;
}

#modal-close:hover {
  color: var(--fg);
}

/* =====================
   UTILITIES
   ===================== */
.accent {
  color: var(--accent);
}

/* =====================
   MOBILE
   ===================== */
@media (max-width: 768px) {
  h2,
  h2.h2-content {
    font-size: clamp(26px, 8vw, 40px);
  }

  .section-card {
    border-radius: 12px 12px 0 0;
  }

  .section-wrap {
    height: auto;
  }

  .section {
    position: relative;
    height: auto;
    overflow: visible;
    padding: 80px 0;
  }

  .section-inner {
    height: auto;
    min-height: unset;
    align-items: flex-start;
    padding: 0;
  }

  #s1 {
    height: 100vh;
    padding: 0;
  }

  #s1 .section-inner {
    height: 100vh;
    align-items: center;
  }

.btn-wpp span {
    display: none;
  }

  .modal-box {
    padding: 32px 24px;
    margin: 16px;
    max-width: calc(100% - 32px);
  }
}
