/* ============================================================
   The Grasse Company — Splash / placeholder page
   Shares the Atelier token system (paper · navy · amber · Fraunces)
   Ships standalone until the full site launches.
   ============================================================ */

:root {
  --gr-paper: #FBF8F2;
  --gr-white: #FFFFFF;
  --gr-navy: #38377D;
  --gr-ink: #34335F;
  --gr-deeper: #1D1C40;
  --gr-amber: #FA9F1B;
  --gr-amber-deep: #B96D05;
  --gr-line: rgba(56, 55, 125, 0.16);

  --gr-font-display: "Fraunces", Georgia, serif;
  --gr-font-body: "Instrument Sans", -apple-system, "Helvetica Neue", sans-serif;
  --gr-font-mono: "Spline Sans Mono", "SF Mono", monospace;

  --gr-mask: 2.5rem 2.5rem 2.5rem 0.4rem;
  --gr-shadow: 0 20px 50px -20px rgba(56, 55, 125, 0.28);
  --gr-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--gr-paper);
  color: var(--gr-ink);
  font-family: var(--gr-font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
h1, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gr-amber); outline-offset: 3px; border-radius: 2px; }

/* ---------- Layout ---------- */
.gr-splash {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  width: min(72rem, 100%);
  margin-inline: auto;
  padding: clamp(2rem, 5vh, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
}
.gr-splash::before {
  /* micron-mesh dot field */
  content: "";
  position: absolute;
  inset: 0 0 0 55%;
  background-image: radial-gradient(rgba(56, 55, 125, 0.12) 1px, transparent 1px);
  background-size: 17px 17px;
  mask-image: linear-gradient(105deg, transparent 0%, #000 45%);
  -webkit-mask-image: linear-gradient(105deg, transparent 0%, #000 45%);
  pointer-events: none;
}

/* ---------- Copy column ---------- */
.gr-splash-copy { position: relative; animation: gr-rise 0.9s var(--gr-ease) both; }
.gr-splash-logo { height: 108px; width: auto; margin-bottom: 1.75rem; }
.gr-badge {
  display: inline-block;
  font-family: var(--gr-font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gr-amber-deep);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.4rem;
}
h1 {
  font-family: var(--gr-font-display);
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -0.01em;
  color: var(--gr-navy);
}
h1 em { font-style: italic; font-weight: 400; color: var(--gr-amber-deep); }
.gr-lede {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  max-width: 34em;
  margin-top: 1.3rem;
}
.gr-notes {
  font-family: var(--gr-font-display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--gr-navy);
  margin-top: 1.1rem;
}

/* ---------- Contact ---------- */
.gr-contact-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem 1.75rem;
  margin-top: 2rem;
}
.gr-email {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--gr-font-mono);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gr-navy);
  text-decoration: none;
  border: 1.5px solid var(--gr-line);
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  transition: border-color 0.25s var(--gr-ease), color 0.25s var(--gr-ease),
    transform 0.25s var(--gr-ease);
}
.gr-email:hover { border-color: var(--gr-amber); color: var(--gr-amber-deep); transform: translateY(-2px); }
.gr-email i { color: var(--gr-amber-deep); font-size: 1.15em; }
.gr-compliance {
  font-family: var(--gr-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gr-navy);
  border-top: 1px solid var(--gr-line);
  padding-top: 1.25rem;
  margin-top: 2.25rem;
  max-width: 44em;
}

/* ---------- Media column ---------- */
.gr-splash-media { margin: 0; position: relative; animation: gr-rise 0.9s 0.15s var(--gr-ease) both; }
.gr-splash-media img {
  border-radius: var(--gr-mask);
  box-shadow: var(--gr-shadow);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  max-height: 78svh;
}
.gr-media-tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-family: var(--gr-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gr-white);
  background: rgba(29, 28, 64, 0.72);
  backdrop-filter: blur(4px);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
}

/* ---------- Footer ---------- */
.gr-splash-foot {
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(56, 55, 125, 0.09);
}
.gr-splash-foot p {
  font-size: 0.85rem;
  color: var(--gr-ink);
  text-align: center;
}

/* ---------- Motion ---------- */
@keyframes gr-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gr-splash-copy, .gr-splash-media { animation: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .gr-splash { grid-template-columns: 1fr; align-items: start; }
  .gr-splash::before { inset: 0; mask-image: linear-gradient(180deg, transparent 40%, #000 90%); -webkit-mask-image: linear-gradient(180deg, transparent 40%, #000 90%); }
  .gr-splash-logo { height: 84px; }
  .gr-splash-media { max-width: 26rem; }
}
@media (max-width: 640px) {
  .gr-contact-block { align-items: flex-start; flex-direction: column; }
}
