:root {
  --color-ink: #090807;
  --page-padding: clamp(20px, 4vw, 72px);
  --header-height: clamp(74px, 9vh, 104px);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --transition: 280ms var(--ease-out);
  --cursor-shift-x: 0vw;
  --cursor-shift-y: 0vh;
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-width: 320px;
  color: var(--color-ink);
  background:
    radial-gradient(ellipse 85% 90% at 7% -8%, rgba(255, 50, 46, .98) 0%, rgba(255, 75, 54, .84) 33%, transparent 72%),
    radial-gradient(ellipse 78% 84% at 52% 40%, rgba(255, 119, 61, .98) 0%, rgba(255, 150, 82, .82) 51%, transparent 84%),
    radial-gradient(ellipse 88% 78% at 103% 102%, #ffe1ca 0%, #ffc39b 46%, rgba(255, 166, 102, .78) 76%, transparent 100%),
    linear-gradient(132deg, #ff493d 0%, #ff8b4f 56%, #ffd0ad 100%);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  will-change: transform;
}

body::before {
  top: -34vmax;
  left: -22vmax;
  width: 92vmax;
  height: 88vmax;
  background: radial-gradient(circle, rgba(255, 42, 39, .76) 0%, rgba(255, 74, 51, .36) 46%, transparent 73%);
  filter: blur(1.5vmax);
  animation: gradient-drift-a 16s ease-in-out infinite alternate;
}

body::after {
  right: -28vmax;
  bottom: -42vmax;
  width: 96vmax;
  height: 94vmax;
  background: radial-gradient(circle, rgba(255, 225, 202, .88) 0%, rgba(255, 179, 125, .7) 46%, transparent 74%);
  filter: blur(1.8vmax);
  animation: gradient-drift-b 21s ease-in-out infinite alternate;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  display: grid;
  grid-template-rows: var(--header-height) minmax(0, 1fr) auto;
  min-height: 100vh;
  min-height: 100svh;
  padding-inline: var(--page-padding);
  overflow: hidden;
  isolation: isolate;
}

.site-header,
.hero,
.site-footer {
  position: relative;
  z-index: 1;
}

.page-shell::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 12%, rgba(255, 244, 232, .17), transparent 28%),
    radial-gradient(circle at 38% 72%, rgba(255, 113, 73, .14), transparent 35%);
  content: "";
  pointer-events: none;
  animation: ambient-light 24s ease-in-out infinite alternate;
}

.cursor-light {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    ellipse 42vmax 34vmax at center,
    rgba(255, 229, 196, .5) 0%,
    rgba(255, 174, 112, .3) 43%,
    rgba(255, 104, 58, .1) 65%,
    transparent 78%
  );
  opacity: .9;
  pointer-events: none;
  transform: translate3d(var(--cursor-shift-x), var(--cursor-shift-y), 0) scale(1.08);
  transform-origin: center;
  will-change: transform;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(9, 8, 7, .14);
}

.brand-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: -3px;
}

.brand-link img {
  display: block;
  width: 40px;
  height: auto;
}

.header-links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.8vw, 46px);
  font-size: 12px;
  letter-spacing: .045em;
}

.header-links a,
.email-link {
  position: relative;
  text-decoration: none;
}

.header-links a::after,
.email-link::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.header-links a:hover::after,
.header-links a:focus-visible::after,
.email-link:hover::after,
.email-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  display: grid;
  place-items: center;
  min-height: 0;
  padding-block: clamp(18px, 3.5vh, 48px);
}

.hero-inner {
  display: flex;
  width: 100%;
  max-width: 980px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(clamp(-4px, -.5vh, -1px));
}

.hero-logo {
  display: block;
  width: clamp(400px, 51vw, 770px);
  max-width: 96%;
  height: auto;
  margin: clamp(-94px, -6.4vw, -52px) 0 clamp(-72px, -4.8vw, -40px);
}

.identity-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category {
  margin: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .34em;
  line-height: 1.5;
  text-transform: uppercase;
}

.contact {
  margin-top: clamp(34px, 5vh, 54px);
}

.contact h2 {
  margin: 0;
  font-size: clamp(23px, 2.25vw, 36px);
  font-weight: 400;
  letter-spacing: .34em;
  line-height: 1.15;
  text-indent: .34em;
  text-transform: uppercase;
}

.contact p {
  margin: clamp(20px, 2.8vh, 30px) 0 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
}

.email-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(9, 8, 7, .45);
  font-size: 12px;
  letter-spacing: .035em;
  transition: transform var(--transition), opacity var(--transition);
}

.email-link:hover {
  opacity: .72;
  transform: translateY(-1px);
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: end;
  min-height: clamp(58px, 8vh, 88px);
  padding-bottom: clamp(15px, 2.6vh, 28px);
}

.since {
  display: flex;
  margin: 0;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.38;
  opacity: .78;
  text-align: center;
  text-transform: lowercase;
}

@keyframes gradient-drift-a {
  0% { transform: translate3d(-7%, -5%, 0) scale(1, 1.04); }
  45% { transform: translate3d(11%, 8%, 0) scale(1.16, .92); }
  100% { transform: translate3d(20%, 15%, 0) scale(.96, 1.14); }
}

@keyframes gradient-drift-b {
  0% { transform: translate3d(9%, 7%, 0) scale(1.08, .98); }
  55% { transform: translate3d(-8%, -11%, 0) scale(.92, 1.14); }
  100% { transform: translate3d(-20%, -16%, 0) scale(1.1, .94); }
}

@keyframes ambient-light {
  from { transform: translate3d(-5%, 2%, 0) scale(1); }
  to { transform: translate3d(7%, -5%, 0) scale(1.1); }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 7px;
}

.reveal {
  animation: reveal .85s var(--ease-out) both;
}

.reveal-logo { animation-delay: 80ms; }
.reveal-copy { animation-delay: 210ms; }
.reveal-contact { animation-delay: 340ms; }
.reveal-footer { animation-delay: 470ms; }

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

@media (max-width: 600px) {
  :root {
    --page-padding: clamp(18px, 6vw, 26px);
    --header-height: 72px;
  }

  .brand-link {
    width: 36px;
    height: 36px;
  }

  .brand-link img {
    width: 36px;
  }

  .info-link {
    display: none;
  }

  .header-links {
    font-size: 11px;
  }

  .hero {
    padding-block: 12px;
  }

  .hero-logo {
    width: min(108vw, 500px);
    max-width: none;
    margin-top: -50px;
    margin-bottom: -34px;
  }

  .category {
    max-width: 100%;
    font-size: 8.5px;
    letter-spacing: .22em;
  }

  .contact {
    margin-top: clamp(28px, 4vh, 38px);
  }

  .contact h2 {
    font-size: clamp(19px, 6vw, 25px);
    letter-spacing: .26em;
    text-indent: .26em;
    white-space: nowrap;
  }

  .contact p {
    margin-top: 20px;
  }

  .site-footer {
    min-height: 58px;
    padding-bottom: 16px;
  }

  .since {
    font-size: 9px;
  }
}

@media (max-height: 700px) {
  .hero-logo {
    width: clamp(380px, 46vw, 660px);
    margin-top: -76px;
    margin-bottom: -54px;
  }

  .contact {
    margin-top: 24px;
  }

  .contact p {
    margin-top: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .cursor-light {
    display: none;
  }
}
