@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f2f1ed;
  --muted: #949491;
  --surface: #050505;
  --surface-raised: #151515;
  --line: #2a2a28;
  --accent: #ff913a;
  --page-padding: clamp(1.25rem, 3.6vw, 4.5rem);
  --radius-pill: 999px;
}

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

html {
  min-width: 20rem;
  background: var(--surface);
  font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--surface);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration-thickness: from-font;
  text-underline-position: from-font;
}

::selection {
  background: var(--accent);
  color: var(--surface);
}

.site-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: 1.25rem var(--page-padding) 1.5rem;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-header {
  min-height: 3.25rem;
}

.wordmark {
  flex: 0 0 auto;
  font-size: 0.92rem;
  font-weight: 620;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.75rem);
}

.nav-link,
.button {
  font-size: 0.82rem;
  font-weight: 540;
  white-space: nowrap;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding-inline: 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  text-decoration: none;
  user-select: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button--light {
  background: var(--ink);
  color: var(--surface);
}

.hero {
  display: flex;
  align-items: center;
  padding-block: clamp(5rem, 12vh, 10rem);
}

.hero-copy {
  width: 100%;
}

.eyebrow {
  margin: 0 0 clamp(1.25rem, 3vh, 2rem);
  color: var(--muted);
  font-size: clamp(0.75rem, 1vw, 0.84rem);
  font-weight: 530;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(4rem, 12.8vw, 11.5rem);
  font-weight: 520;
  letter-spacing: -0.082em;
  line-height: 0.78;
  text-wrap: balance;
}

h1 span {
  color: var(--accent);
}

.coming-soon {
  margin: clamp(2rem, 5vh, 3.5rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.site-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.site-footer p {
  margin: 0;
}

.nav-link:hover {
  color: var(--ink);
}

.button--light:hover {
  background: var(--accent);
  color: var(--surface);
}

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

@media (max-width: 40rem) {
  .site-shell {
    padding-block-start: 0.85rem;
  }

  .nav-link {
    display: none;
  }

  .hero {
    align-items: flex-end;
    padding-block: 5rem 4rem;
  }

  h1 {
    font-size: clamp(4.3rem, 23vw, 7rem);
    line-height: 0.8;
  }

  .site-footer {
    align-items: flex-start;
  }

  .site-footer > :first-child {
    max-width: 14rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Frisbey Studio landing and client access */

button,
input {
  font: inherit;
}

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

.home-page {
  color-scheme: dark;
  background: #050505;
  color: #f4f3ef;
}

.home-page ::selection {
  background: #f4f3ef;
  color: #050505;
}

.home-shell {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  padding: 2rem 1.25rem;
  text-align: center;
}

.home-title {
  max-width: none;
  margin: 0;
  font-size: clamp(3.25rem, 8vw, 7.5rem);
  font-weight: 520;
  letter-spacing: -0.075em;
  line-height: 0.95;
  text-wrap: balance;
}

.home-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.home-button {
  display: inline-flex;
  min-width: 6.25rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding-inline: 1.15rem;
  border: 1px solid #353535;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 540;
  text-decoration: none;
  user-select: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.home-button--secondary {
  background: transparent;
  color: #afafab;
}

.home-button--primary {
  border-color: #f4f3ef;
  background: #f4f3ef;
  color: #050505;
}

.home-button--secondary:hover {
  border-color: #f4f3ef;
  background: #f4f3ef;
  color: #050505;
}

.home-button--primary:hover {
  border-color: #f4f3ef;
  background: #f4f3ef;
  color: #050505;
}

.home-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.portal-page {
  color-scheme: dark;
  background: #050505;
  color: #f4f3ef;
}

.portal-page ::selection {
  background: #f4f3ef;
  color: #050505;
}

.portal-shell {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: 1.5rem 1.25rem 1.25rem;
}

.portal-card {
  width: min(100%, 21.5rem);
  align-self: center;
  justify-self: center;
  transform: translateY(-1.125rem);
}

.portal-header {
  margin-bottom: 1.75rem;
  text-align: center;
}

.portal-studio {
  display: inline-block;
  margin: 0 0 1rem;
  color: #92928e;
  font-size: 0.6875rem;
  font-weight: 555;
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.portal-studio:hover {
  color: #f4f3ef;
}

.portal-studio:focus-visible {
  outline: 2px solid #f4f3ef;
  outline-offset: 4px;
}

.portal-title {
  max-width: none;
  margin: 0;
  font-size: 1.75rem;
  font-weight: 580;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-align: center;
  text-wrap: balance;
}

.portal-intro {
  margin: 0.5625rem 0 0;
  color: #92928e;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
  text-wrap: pretty;
}

.portal-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.portal-fields {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.portal-field {
  position: relative;
  height: 2.875rem;
  border: 1px solid #353533;
}

.portal-input {
  width: 100%;
  height: 100%;
  padding: 0 0.875rem;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: #050505;
  color: #f4f3ef;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.portal-input--password {
  padding-inline-end: 2.5rem;
}

.portal-input::placeholder {
  color: #73736f;
  opacity: 1;
}

.portal-input:focus {
  background: #0d0d0d;
}

.password-toggle {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  display: flex;
  width: 2.875rem;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7f7f7b;
  cursor: pointer;
}

.password-icon {
  width: 1rem;
  height: 1rem;
  pointer-events: none;
}

.password-icon[hidden] {
  display: none;
}

.password-toggle:hover {
  color: #f4f3ef;
}

.password-toggle:focus-visible {
  outline: 2px solid #f4f3ef;
  outline-offset: 1px;
}

.portal-submit {
  display: flex;
  width: 100%;
  height: 2.875rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #f4f3ef;
  color: #050505;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}

.portal-submit:disabled {
  cursor: not-allowed;
  opacity: 0.28;
}

.portal-submit:not(:disabled):hover {
  opacity: 1;
}

.portal-submit:focus-visible {
  outline: 2px solid #f4f3ef;
  outline-offset: 3px;
}

.portal-feedback {
  min-height: 1.125rem;
  margin: 0.125rem 0 0;
  color: #92928e;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
}

.portal-credit {
  justify-self: center;
  color: #92928e;
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

.portal-credit:hover {
  color: #f4f3ef;
  text-decoration: underline;
}

.portal-credit:focus-visible {
  outline: 2px solid #f4f3ef;
  outline-offset: 4px;
}

@media (min-width: 40rem) {
  .portal-input {
    font-size: 0.875rem;
  }
}

@media (max-width: 23.5rem) {
  .portal-shell {
    padding-inline: 1rem;
  }

  .portal-title {
    font-size: 1.625rem;
  }
}
