/* Temporary launch teaser. The original site styles live in site.css. */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../assets/fonts/instrument-sans.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-italic.woff2") format("woff2");
}

:root {
  --paper: #f3eee6;
  --paper-2: #e6dfd2;
  --ink: #17160f;
  --ink-2: #3a382f;
  --mute: #4f4b42;
  --sage: #5e6b45;
  --line: rgb(23 22 15 / 0.14);
  --header: 72px;
  --serif: "Instrument Serif", "Iowan Old Style", Palatino, serif;
  --sans: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

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

html {
  scroll-padding-top: calc(var(--header) + 12px);
  overflow-x: clip;
}

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

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 46% 28% at 0% 0%, rgb(94 107 69 / 0.07), transparent 70%),
    radial-gradient(ellipse 40% 26% at 100% 100%, rgb(94 107 69 / 0.05), transparent 72%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

:focus {
  outline: none;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 40;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
}

.world {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--paper);
}

.mesh {
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(ellipse 42% 48% at 12% 16%, rgb(94 107 69 / 0.14), transparent 68%),
    radial-gradient(ellipse 36% 40% at 88% 8%, rgb(180 182 140 / 0.28), transparent 66%),
    radial-gradient(ellipse 48% 42% at 74% 92%, rgb(230 223 210 / 0.95), transparent 70%),
    var(--paper);
}

.glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    520px circle at var(--gx, 70%) var(--gy, 30%),
    rgb(94 107 69 / 0.1),
    transparent 58%
  );
  opacity: 0.9;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
}

.orb-a {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  left: -8%;
  top: 18%;
  background: radial-gradient(circle, rgb(94 107 69 / 0.2), transparent 68%);
}

.orb-b {
  width: min(34vw, 320px);
  height: min(34vw, 320px);
  right: 6%;
  top: -6%;
  background: radial-gradient(circle, rgb(255 252 247 / 0.85), transparent 70%);
}

.orb-c {
  width: min(38vw, 380px);
  height: min(38vw, 380px);
  right: -6%;
  bottom: -10%;
  background: radial-gradient(circle, rgb(180 182 140 / 0.34), transparent 68%);
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("../assets/coming-soon-noise.png");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

.liquid {
  position: absolute;
  inset: 0;
  z-index: 1;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0;
}

html.has-liquid .liquid {
  opacity: 1;
  transition: opacity 1.35s var(--ease) 0.2s;
}

html.has-liquid .orb {
  opacity: 0.7;
}

.bar,
.hero,
.foot {
  position: relative;
  z-index: 1;
}

.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--header) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(22px, env(safe-area-inset-right)) 0 max(22px, env(safe-area-inset-left));
  background: linear-gradient(to bottom, rgb(247 243 236 / 0.78), rgb(247 243 236 / 0.46));
  border-bottom: 0;
  box-shadow: inset 0 -1px 0 rgb(23 22 15 / 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
}

.mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.bar-note {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.bar-note i,
.badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgb(94 107 69 / 0.14);
}

main {
  flex: 1;
  display: flex;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 100svh;
  padding:
    calc(var(--header) + env(safe-area-inset-top) + 28px)
    max(22px, env(safe-area-inset-right))
    28px
    max(22px, env(safe-area-inset-left));
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 38rem;
  grid-column: 1;
  grid-row: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 252 247 / 0.55);
  box-shadow: inset 0 1px 0 rgb(255 252 247 / 0.8);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 8vw, 128px);
  line-height: 0.86;
  letter-spacing: -0.045em;
}

.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.16em;
  margin-bottom: -0.1em;
}

.line span {
  display: block;
  line-height: 0.92;
}

.grad {
  font-style: italic;
  background-image: linear-gradient(105deg, #5e6b45 0%, #3a382f 46%, #8a9468 62%, #17160f 100%);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 34ch;
  margin: 26px 0 0;
  color: var(--ink-2);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.55;
}

.lede em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: 32px;
}

.cta,
.quiet {
  touch-action: manipulation;
}

.cta {
  --mx: 0px;
  --my: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgb(255 252 247 / 0.45);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgb(255 252 247 / 0.22), transparent 32%),
    linear-gradient(180deg, #b4b68c 0%, #96986a 40%, #84844f 100%);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  box-shadow:
    inset 0 1px 0 rgb(255 252 247 / 0.65),
    0 12px 28px rgb(23 22 15 / 0.12);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  transform: translate(var(--mx), var(--my));
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.45s var(--out),
    box-shadow 0.45s var(--ease),
    filter 0.45s var(--ease);
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgb(255 252 247 / 0.45) 48%, transparent 76%);
  transform: translateX(-120%);
  pointer-events: none;
}

.cta:hover {
  transform: translate(var(--mx), calc(var(--my) - 2px));
  box-shadow:
    inset 0 1px 0 rgb(255 252 247 / 0.8),
    0 16px 32px rgb(23 22 15 / 0.16);
  filter: brightness(1.05);
}

.cta:hover::after {
  transform: translateX(120%);
  transition: transform 0.7s var(--ease);
}

.cta:active {
  transform: translate(var(--mx), calc(var(--my) + 1px));
  transition-duration: 0.12s;
}

.quiet {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.quiet::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.quiet:hover,
.quiet:focus-visible {
  color: var(--sage);
}

.quiet:hover::after,
.quiet:focus-visible::after {
  transform: scaleX(0.35);
  transform-origin: right;
}

.foot {
  z-index: 3;
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 0;
  align-items: start;
  color: var(--mute);
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

.foot-office {
  margin: 0;
  font-style: normal;
  text-align: right;
  color: var(--ink-2);
}

.foot-office strong {
  color: var(--ink);
  font-weight: 500;
}

.foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(23 22 15 / 0.16), transparent);
}

.foot a {
  text-decoration: none;
}

.foot a:hover,
.foot a:focus-visible {
  color: var(--ink);
}

.js:not(.reduce) .mesh {
  animation: mesh 32s var(--ease) infinite alternate;
}

.js:not(.reduce) .orb-a {
  animation: float-a 18s var(--ease) infinite alternate;
}

.js:not(.reduce) .orb-b {
  animation: float-b 22s var(--ease) infinite alternate;
}

.js:not(.reduce) .orb-c {
  animation: float-c 20s var(--ease) infinite alternate;
}

.js:not(.reduce) .bar {
  animation: veil 1.1s var(--ease) both;
}

.js:not(.reduce) .badge i {
  animation: pulse 2.8s var(--ease) 1.2s infinite;
}

.js:not(.reduce) .grad {
  animation: sheen 10s var(--ease) 1.4s infinite;
}

.js:not(.reduce) .line span {
  animation: reveal 1.25s var(--out) both;
}

.js:not(.reduce) .badge,
.js:not(.reduce) .lede {
  animation: rise 1.15s var(--out) both;
}

.js:not(.reduce) .actions {
  animation: veil 0.9s var(--ease) both;
}

.js:not(.reduce) .line:nth-child(1) span {
  animation-delay: 0.16s;
}

.js:not(.reduce) .line:nth-child(2) span {
  animation-delay: 0.32s;
}

.js:not(.reduce) .badge {
  animation-delay: 0.05s;
}

.js:not(.reduce) .lede {
  animation-delay: 0.52s;
}

.js:not(.reduce) .actions {
  animation-delay: 0.7s;
}

@keyframes mesh {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, -2%, 0) scale(1.06); }
}

@keyframes float-a {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(18px, -24px, 0); }
}

@keyframes float-b {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-16px, 20px, 0); }
}

@keyframes float-c {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-12px, -18px, 0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgb(163 171 114 / 0.16); }
  50% { box-shadow: 0 0 0 7px rgb(163 171 114 / 0.05); }
}

@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes veil {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes reveal {
  from { transform: translateY(110%); }
  to { transform: none; }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    align-items: stretch;
    align-content: stretch;
    row-gap: 18px;
    padding-bottom: 20px;
  }

  .hero-copy,
  .foot {
    grid-column: 1;
  }

  .hero-copy {
    grid-row: 1;
    align-self: center;
    padding-top: 8px;
  }

  .foot-office {
    text-align: left;
  }

  .foot {
    grid-row: 2;
  }

  h1 {
    font-size: clamp(46px, 12.4vw, 72px);
  }

  .lede,
  .actions {
    margin-top: 16px;
  }
}

@media (max-width: 380px) {
  .mark {
    font-size: 26px;
  }

  .bar-note {
    letter-spacing: 0.1em;
  }
}

@media (hover: none), (pointer: coarse) {
  .cta:hover {
    transform: translate(var(--mx), var(--my));
    filter: none;
  }

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

  .quiet:hover {
    color: inherit;
  }

  .quiet:hover::after {
    transform: none;
  }

  .cta:hover::after {
    transform: translateX(-120%);
  }
}

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

  .grad {
    background: none;
    color: var(--sage);
  }

  .liquid {
    display: none;
  }
}
