:root {
  --bg: #fffff9;
  --fg: #000;
  --blur: 14px;
  --duration: 748ms;
}
* { box-sizing: border-box; margin: 0; }
html { height: 100%; }
body { min-height: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  display: grid;
  place-items: center;
  padding: 24px;
}
main {
  width: 100%;
  max-width: 20.5em;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
/* Soft light blend for the cursor glint */
.logo .glint { mix-blend-mode: screen; }

main.wide { max-width: 30em; font-size: clamp(13px, 1.05vw, 15px); line-height: 1.35; }
main.wide { animation: fade-in .4s ease-out both; }
@keyframes fade-in { from { opacity: 0; } }
.logo {
  display: block;
  width: 6.1em;
  height: auto;
  aspect-ratio: 147 / 42;
  overflow: visible;
  margin-bottom: 1em;
}
p + p { margin-top: 1.2em; }

/* Company details: labels and values in two left-aligned columns */
.details {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 2em;
  margin-top: 1.2em;
}
.details .row {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 9em 1fr; /* fallback for browsers without subgrid */
  column-gap: 2em;
}
@supports (grid-template-columns: subgrid) {
  .details .row { grid-template-columns: subgrid; }
}
.details dd { margin: 0; }
.details .full dt { grid-column: 1 / -1; }
.details .gap { margin-top: 1.2em; }

/* On hover, a thin line draws from the end of the label across to its value */
.details dt {
  display: flex;
  align-items: center;
  align-self: start;
  height: 1.35em; /* one line, so the line sits level with the first line of the value */
}
.details dt::after {
  content: "";
  flex: 1 0 1.2em; /* at least long enough to cross the gap */
  height: 1px;
  margin: .1em calc(-2em + .4em) 0 .4em; /* stretch into the column gap, stop just before the value */
  background: currentColor;
  opacity: .25;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.details .row:hover dt::after { transform: scaleX(1); }
.details .full dt { height: auto; }
.details .full dt::after { display: none; }

.details a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
}

p a, p a .reveal {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
}

.button {
  display: inline-block;
  font-size: .75em;
  line-height: 1;
  padding: .7em 1.15em;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
}
.button:hover { background: var(--fg); color: var(--bg); }
.button:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.more {
  font-size: .7em;
  color: #8a8a8a;
  text-decoration: none;
  transition: color .35s ease;
}
.more::after {
  content: "→";
  display: inline-block;
  margin-left: .35em;
  opacity: 0;
  transform: translateX(-.4em);
  transition: opacity .25s ease, transform .35s cubic-bezier(.2, .7, .2, 1);
}
.more:hover, .more:focus-visible { color: var(--fg); }
.more:hover::after, .more:focus-visible::after { opacity: 1; transform: translateX(0); }
p + .more { margin-top: 3em; }
.back {
  /* Sits to the left of the content, on the same baseline as its first line */
  position: absolute;
  right: calc(100% + 2em);
  top: 0;
  line-height: inherit;
  color: #8a8a8a;
  text-decoration: none;
  white-space: nowrap;
  padding: 0 .5em;
  margin: 0 -.5em; /* bigger hit area, same position */
  transition: color .2s;
}
.back .arrow {
  display: inline-block;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.back:hover, .back:focus-visible { color: var(--fg); }
.back:hover .arrow, .back:focus-visible .arrow { transform: translateX(-.35em); }
main:has(> .back) { position: relative; }
@media (max-width: 640px) {
  /* Phones: tighter side margins, content sits in the upper part of the screen */
  body { place-items: start center; padding: 10vh 14px 40px; }
  main, main.wide { max-width: none; }
  main { font-size: 18px; }
  main.wide { font-size: 14.5px; }
  .back { position: static; display: inline-block; margin: 0 0 2.5em -.5em; }
}

/* Progressive unblur, top to bottom. Only when JS is running; otherwise text shows normally. */
.js main { visibility: hidden; }
.js main.ready { visibility: visible; }
.js .reveal {
  display: inline-block;
  filter: blur(var(--blur));
  opacity: 0;
  transition:
    filter var(--duration) cubic-bezier(.22, 1, .36, 1),
    opacity calc(var(--duration) * .7) ease-out;
  transition-delay: var(--delay, 0ms);
  will-change: filter, opacity;
}
.js .logo.reveal { display: block; }
.js main.go .reveal { filter: blur(0); opacity: 1; }
/* The reveal transition would otherwise replace the link's colour easing */
.js .more.reveal {
  transition:
    filter var(--duration) cubic-bezier(.22, 1, .36, 1) var(--delay, 0ms),
    opacity calc(var(--duration) * .7) ease-out var(--delay, 0ms),
    color .35s ease 0ms;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { filter: none; transition: opacity 400ms ease; transition-delay: 0ms; }
}
