@font-face {
  font-family: "Coolvetica";
  src: url("fonts/Coolvetica Rg.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src: url("fonts/Coolvetica Rg It.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src: url("fonts/Coolvetica Hv Comp.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica Condensed";
  src: url("fonts/Coolvetica Rg Cond.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica Cramped";
  src: url("fonts/Coolvetica Rg Cram.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #a0a0a0;
  --border: #2a2a2a;
  --accent: #ffffff;
  --pill-bg: #1a1a1a;
  --font-coolvetica: "Coolvetica", system-ui, sans-serif;
  --font-coolvetica-condensed: "Coolvetica Condensed", "Coolvetica", system-ui, sans-serif;
  --font-coolvetica-cramped: "Coolvetica Cramped", "Coolvetica", system-ui, sans-serif;
}

html {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-coolvetica);
  background: var(--bg);
  color: var(--text);
  height: 100dvh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(0.75rem, 2vh, 1.5rem) clamp(1rem, 4vw, 1.5rem)
    clamp(0.5rem, 1.5vh, 1rem);
  max-width: 900px;
  margin: 0 auto;
}

.hero {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(0.6rem, 2vh, 1.75rem);
  width: 100%;
  padding: 0;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.75rem, 7vh, 4.5rem);
  height: clamp(2.75rem, 7vh, 4.5rem);
  color: var(--text);
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.headline {
  font-size: clamp(1.35rem, 4.2vh, 3.25rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 18ch;
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(0.4rem, 1.2vh, 0.75rem);
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.35rem, 0.9vh, 0.55rem);
  padding: clamp(0.3rem, 0.8vh, 0.45rem) clamp(0.6rem, 1.5vh, 0.9rem)
    clamp(0.3rem, 0.8vh, 0.45rem) clamp(0.45rem, 1.2vh, 0.65rem);
  background: var(--pill-bg);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.social-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(1.15rem, 2.8vh, 1.65rem);
  height: clamp(1.15rem, 2.8vh, 1.65rem);
  flex-shrink: 0;
}

.social-pill-icon svg {
  width: 100%;
  height: 100%;
}

.social-pill-handle {
  font-size: clamp(0.7rem, 1.6vh, 0.9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.contact {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(0.75rem, 2vh, 1.5rem) 0 clamp(0.25rem, 1vh, 0.5rem);
}

.contact-title {
  font-family: var(--font-coolvetica);
  font-size: clamp(1.25rem, 3.5vh, 2.25rem);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: clamp(0.5rem, 1.5vh, 1.25rem);
  flex-shrink: 0;
  text-align: center;
  width: 100%;
}

.contact-form {
  flex: 0 0 auto;
  width: 100%;
  max-width: 26rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.45rem, 1.2vh, 0.85rem);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex-shrink: 0;
  width: 100%;
}

.field-label {
  font-family: var(--font-coolvetica);
  font-size: clamp(0.65rem, 1.5vh, 0.75rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-coolvetica);
  font-size: clamp(0.85rem, 2vh, 1.05rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--text);
  background: var(--pill-bg);
  border: 1px solid transparent;
  border-radius: 0.75rem;
  padding: clamp(0.55rem, 1.4vh, 0.85rem) clamp(0.75rem, 2vh, 1rem);
  outline: none;
  resize: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: #3a3a3a;
  background: #222222;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #666;
}

.field textarea {
  min-height: clamp(2.25rem, 4.5vh, 3rem);
  max-height: clamp(4rem, 22vh, 12rem);
  overflow-y: hidden;
  line-height: 1.4;
}

.submit-btn {
  align-self: center;
  flex-shrink: 0;
  margin-top: clamp(0.15rem, 0.5vh, 0.4rem);
  font-family: var(--font-coolvetica);
  font-size: clamp(0.8rem, 2vh, 1rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--bg);
  background: var(--accent);
  border: none;
  border-radius: 999px;
  padding: clamp(0.5rem, 1.4vh, 0.75rem) clamp(1.25rem, 3vh, 1.75rem);
  cursor: pointer;
}

.submit-btn:hover:not(:disabled) {
  opacity: 0.85;
}

.submit-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.form-status {
  font-family: var(--font-coolvetica);
  font-size: clamp(0.75rem, 1.8vh, 0.9rem);
  font-weight: 400;
  line-height: 1.3;
  min-height: 1.2em;
  flex-shrink: 0;
  text-align: center;
  width: 100%;
  color: var(--muted);
}

.form-status.success {
  color: #4ade80;
}

.form-status.error {
  color: #f87171;
}

.footer {
  flex-shrink: 0;
  width: 100%;
  padding-top: clamp(0.25rem, 0.8vh, 0.5rem);
  text-align: center;
}

.footer p {
  font-size: clamp(0.7rem, 1.6vh, 0.85rem);
  color: var(--muted);
  letter-spacing: -0.01em;
}

@media (max-height: 640px) {
  .headline {
    font-size: clamp(1.15rem, 3.5vh, 1.75rem);
  }

  .social-pill-handle {
    font-size: 0.75rem;
  }

  .social-pill-icon {
    width: 1.1rem;
    height: 1.1rem;
  }
}

@media (max-width: 480px) {
  .social-pill {
    padding: 0.28rem 0.55rem 0.28rem 0.42rem;
    gap: 0.32rem;
  }
}
