/*
 * Static mirror of `app/globals.css`, with the Tailwind preflight replaced by a
 * minimal reset and the Google fonts self-hosted from `assets/fonts/`.
 * Keep this file in sync with `app/globals.css` when the design changes.
 */

/* latin */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* vietnamese */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/archivo-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}

/* latin */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* vietnamese */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}

:root {
  --pan-red: #f20f22;
  /* Used for small text: 5.2:1 on white, where --pan-red only reaches 4.3:1. */
  --pan-red-dark: #d9081a;
  --cream: #fffaf3;
  --paper: #ffffff;
  --ink: #211a1a;
  --font-archivo: "Archivo";
  --font-cormorant: "Cormorant Garamond";
  color-scheme: light;
}

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

html,
body {
  min-height: 100%;
  margin: 0;
}

body,
h1,
p {
  margin: 0;
}

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

body {
  background: var(--paper);
  color: var(--pan-red);
  font-family: var(--font-archivo), Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

::selection {
  background: var(--pan-red);
  color: var(--paper);
}

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

.coming-soon {
  position: relative;
  display: flex;
  /* `vh` first as the fallback for browsers without `svh` support. */
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(rgba(242, 15, 34, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 15, 34, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 78% 28%, #fff4f5 0, var(--paper) 44%, #fffafa 100%);
  background-size: 80px 80px, 80px 80px, auto;
}

.coming-soon::before {
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(242, 15, 34, 0.26);
  content: "";
}

.ambient {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(242, 15, 34, 0.12);
  border-radius: 999px;
  pointer-events: none;
}

.ambient-one {
  top: -18vw;
  right: -12vw;
  width: 48vw;
  height: 48vw;
}

.ambient-two {
  bottom: -24vw;
  left: -20vw;
  width: 52vw;
  height: 52vw;
}

.hero {
  display: grid;
  width: min(1180px, calc(100% - 96px));
  margin: auto;
  align-items: center;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1.28fr);
  gap: clamp(56px, 8vw, 120px);
}

.logo-wrap {
  position: relative;
  animation: rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.logo-wrap::after {
  position: absolute;
  right: 12%;
  bottom: 1%;
  left: 12%;
  height: 18px;
  border-radius: 50%;
  background: rgba(96, 0, 8, 0.2);
  filter: blur(18px);
  content: "";
}

.brand-logo {
  display: block;
  width: min(100%, 390px);
  height: auto;
  border-radius: 2px;
  box-shadow: 0 28px 70px rgba(185, 0, 16, 0.14);
}

.announcement {
  padding-bottom: 2vh;
  animation: rise 900ms 150ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.eyebrow {
  display: flex;
  margin: 0 0 30px;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pan-red-dark);
}

.eyebrow::before {
  width: 42px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-cormorant), Georgia, serif;
  font-size: clamp(5rem, 10vw, 9.6rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.75;
}

h1 span {
  display: inline-block;
  margin-left: 0.05em;
  letter-spacing: -0.14em;
  animation: pulse 1.8s ease-in-out infinite;
}

.message {
  margin: clamp(46px, 7vh, 80px) 0 0;
  font-size: clamp(0.95rem, 1.3vw, 1.14rem);
  letter-spacing: 0.04em;
  line-height: 1.8;
  color: var(--ink);
  opacity: 0.72;
}

.back-link {
  color: var(--pan-red-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.footer {
  display: flex;
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto 42px;
  align-items: center;
  gap: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pan-red-dark);
}

.footer-mark {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.68;
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

@media (max-width: 800px) {
  .coming-soon::before {
    inset: 12px;
  }

  .hero {
    width: min(100% - 64px, 560px);
    padding: 64px 0 48px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .logo-wrap {
    width: min(45vw, 210px);
  }

  .brand-logo {
    width: 100%;
  }

  .eyebrow {
    margin-bottom: 22px;
  }

  h1 {
    font-size: clamp(4.3rem, 19vw, 7rem);
    line-height: 0.78;
  }

  .message {
    margin-top: 34px;
  }

  .footer {
    width: min(100% - 64px, 560px);
    margin-bottom: 30px;
  }
}

@media (max-width: 420px) {
  .hero,
  .footer {
    width: calc(100% - 52px);
  }

  .footer {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
