:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --ink: #181816;
  --muted: #69675f;
  --line: #c9c5b9;
  --accent: #e84c2b;
  --display: "Archivo Black", sans-serif;
  --body: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(24, 24, 22, 0.055) 50%, transparent 50.1%),
    var(--paper);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

.page-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100% - 48px, 1440px);
  min-height: 100dvh;
  margin: 0 auto;
}

.nav,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav {
  height: 76px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 15px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(54px, 8vh, 92px) 0;
  text-align: center;
  min-width: 0;
  overflow: hidden;
}

.hero::before {
  content: "PANTAULOKER.CO";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(72px, 14vw, 220px);
  letter-spacing: -0.08em;
  opacity: 0.14;
  transform: translate(-50%, -50%);
  -webkit-text-stroke: 1px var(--muted);
  white-space: nowrap;
}

.hero-copy {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h1 {
  width: 100%;
  max-width: 1040px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(68px, 8.4vw, 138px);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

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

.intro {
  max-width: 530px;
  margin: 34px 0 30px;
  color: #4d4b45;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 326px);
  min-height: 62px;
  padding: 0 17px 0 22px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.cta:hover {
  background: var(--accent);
  color: #fffaf2;
}

.cta:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

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

.arrow {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 18px;
}

.footer {
  min-height: 70px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer a {
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    animation: enter 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .reveal-1 { animation-delay: 80ms; }
  .reveal-2 { animation-delay: 150ms; }
  .reveal-3 { animation-delay: 240ms; }
  .reveal-4 { animation-delay: 330ms; }

  .status-dot {
    animation: pulse 2.2s ease-in-out infinite;
  }

}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  50% { opacity: 0.35; }
}

@media (max-width: 900px) {
  body {
    background: var(--paper);
  }

  .page-shell {
    width: min(100% - 32px, 720px);
  }

  .hero {
    min-height: auto;
    padding-inline: 8px;
  }

  h1 {
    font-size: clamp(52px, 9.5vw, 84px);
    line-height: 0.9;
  }

  h1 .accent {
    display: block;
    margin-top: 0.12em;
  }

  .hero::before {
    max-width: 100%;
    overflow: hidden;
  }

}

@media (max-width: 540px) {
  .page-shell {
    width: min(100% - 24px, 480px);
  }

  .nav {
    height: 64px;
  }

  .brand {
    gap: 8px;
    font-size: 10px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .status {
    display: none;
  }

  .status-dot {
    width: 6px;
    height: 6px;
  }

  .hero {
    padding: 48px 0;
  }

  h1 {
    font-size: clamp(38px, 10.5vw, 56px);
    line-height: 0.92;
  }

  .intro {
    max-width: 34ch;
    margin-top: 28px;
    font-size: 15px;
  }

  .cta {
    width: 100%;
    max-width: 326px;
  }

  .footer {
    align-items: flex-start;
    gap: 8px;
    padding: 20px 0;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #181816;
    --ink: #efede6;
    --muted: #aaa79e;
    --line: #44423d;
    --accent: #ff6948;
  }

  .intro {
    color: #c5c2ba;
  }

  .cta:hover {
    color: #181816;
  }
}
