:root {
  color-scheme: light;

  --canvas:  #ecebe9;   /* warm light grey the mesh sits on */
  --ink:     #101010;
  --ink-mid: #5c5b59;
}

* { box-sizing: border-box; }

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

body {
  background: var(--canvas);
  padding: 0;
  font-family: "Space Grotesk", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── panel: full-bleed, edge to edge ─────────────────────────── */
.panel {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;   /* ignores mobile browser chrome */
  background: var(--canvas);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

/* ── mesh gradient ───────────────────────────────────────────── */
.mesh {
  position: absolute;
  inset: -12%;
  z-index: 0;
  filter: blur(90px);
}

.blob {
  position: absolute;
  display: block;
  border-radius: 50%;
}

/* the warm orange mass, upper middle */
.b1 { left: 28%;  top: -10%;  width: 40%; height: 58%;
      background: radial-gradient(circle at 48% 48%,
                  #ef9b45 0%, rgba(239,155,69,.82) 34%, rgba(239,155,69,0) 68%); }

/* its hot core */
.b7 { left: 34%;  top: -2%;   width: 24%; height: 32%; opacity: .8;
      background: radial-gradient(circle at 50% 50%, #e5851f 0%, rgba(229,133,31,0) 66%); }

/* second orange spilling out of the top-right corner */
.b2 { right: -2%; top: -10%;  width: 34%; height: 52%;
      background: radial-gradient(circle at 50% 50%,
                  #eb9340 0%, rgba(235,147,64,.78) 32%, rgba(235,147,64,0) 68%); }

/* dusty rose down the right flank */
.b3 { right: -4%; top: 30%;   width: 36%; height: 48%; opacity: .95;
      background: radial-gradient(circle at 50% 50%,
                  #dda6b3 0%, rgba(221,166,179,.6) 40%, rgba(221,166,179,0) 70%); }

/* pale lavender-grey, left flank */
.b4 { left: -4%;  top: 4%;    width: 42%; height: 68%; opacity: .9;
      background: radial-gradient(circle at 50% 50%,
                  #cfccd6 0%, rgba(207,204,214,.55) 40%, rgba(207,204,214,0) 70%); }

/* cream warmth across the lower half */
.b5 { left: 10%;  bottom: -10%; width: 58%; height: 52%;
      background: radial-gradient(circle at 50% 45%,
                  #f6e9d9 0%, rgba(246,233,217,.7) 38%, rgba(246,233,217,0) 70%); }

/* cool grey bottom-left */
.b6 { left: -14%; bottom: -20%; width: 50%; height: 58%; opacity: .9;
      background: radial-gradient(circle at 55% 45%,
                  #e2e1e0 0%, rgba(226,225,224,.6) 40%, rgba(226,225,224,0) 70%); }

/* ── film grain ──────────────────────────────────────────────── */
.grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .42;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── content ─────────────────────────────────────────────────── */
.content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(42px, 9vh, 80px) 24px clamp(38px, 7vh, 66px);
}

/* ── wordmark ────────────────────────────────────────────────── */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  line-height: 1;
}

.brand-name {
  font-size: clamp(21px, 2.5vw, 31px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.brand-sub {
  font-size: clamp(8.5px, .85vw, 10.5px);
  font-weight: 500;
  letter-spacing: .46em;
  text-indent: .46em;           /* balance the trailing letter-space */
  color: var(--ink);
  opacity: .72;
}

/* ── hero ────────────────────────────────────────────────────── */
.hero {
  margin: auto 0;
  max-width: 560px;
  padding-top: 24px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.lede {
  margin: 0 0 38px;
  font-size: clamp(13.5px, 1.35vw, 15.5px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-mid);
}

/* ── email ───────────────────────────────────────────────────── */
.email {
  display: inline-block;
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1.2px;
  transition: opacity .25s ease;
}

.email:hover,
.email:focus-visible { opacity: .6; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* ── small screens ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .mesh { filter: blur(64px); }
  .hero { padding-top: 8px; }
  .hero h1 { font-size: 26px; }
  .hero h1 br { display: none; }
  .lede br { display: none; }
  .lede { margin-bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
