@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/inter-variable-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
    U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}

:root {
  --ink: #0d103e;
  --primary: #7a1f60;
  --accent: #f3ab3c;
  --muted: #676778;
  --line: #e8e5ea;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color-scheme: light;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter Variable", Inter, "Helvetica Neue", Helvetica, Arial,
    sans-serif;
}

a {
  color: inherit;
}

.site-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 1600px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(1.5rem, 4.5vw, 4.5rem);
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.brand-logo {
  width: auto;
  height: clamp(3.75rem, 5vw, 5rem);
}

.hero {
  align-self: center;
  max-width: 60rem;
  padding: clamp(5rem, 10vh, 9rem) 0;
}

.company-name,
.footer-label {
  margin: 0;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.company-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

h1 {
  max-width: 21ch;
  margin: 1.5rem 0 0;
  font-size: clamp(2.35rem, 4.2vw, 3.15rem);
  font-weight: 380;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.portal-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 13.75rem;
  padding: 0.95rem 1rem 0.95rem 1.15rem;
  background: var(--primary);
  color: #ffffff;
  clip-path: polygon(0.65rem 0, 100% 0, 100% calc(100% - 0.65rem), calc(100% - 0.65rem) 100%, 0 100%, 0 0.65rem);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease;
}

.portal-arrow {
  position: relative;
  width: 0.8rem;
  height: 0.8rem;
  flex: 0 0 auto;
}

.portal-arrow::before,
.portal-arrow::after {
  position: absolute;
  display: block;
  content: "";
}

.portal-arrow::before {
  top: 0;
  right: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.portal-arrow::after {
  bottom: 0.08rem;
  left: 0.05rem;
  width: 0.95rem;
  height: 1px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: left center;
}

.portal-button:hover {
  background: #8b4172;
}

.portal-button:focus-visible,
.contact-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.site-footer address,
.contact {
  display: flex;
  flex-direction: column;
}

.site-footer address {
  font-style: normal;
}

.contact {
  align-items: flex-end;
}

.footer-label {
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-size: 0.64rem;
}

.contact-link {
  min-width: 10.5rem;
  min-height: 1.4em;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: right;
  text-decoration-color: #c7c4cb;
  text-decoration-line: underline;
  text-underline-offset: 0.25em;
}

.contact-link:hover {
  color: var(--primary);
  text-decoration-color: currentColor;
}

@media (max-width: 640px) {
  .site-shell {
    padding: 1.35rem;
  }

  .brand-logo {
    height: 3.5rem;
  }

  .hero {
    padding: 5rem 0 6rem;
  }

  h1 {
    margin-top: 1.2rem;
    font-size: clamp(2.05rem, 9vw, 3rem);
  }

  .portal-button {
    gap: 0.8rem;
    min-width: 0;
    padding: 0.85rem;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .site-footer {
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact {
    align-items: flex-start;
  }

  .contact-link {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-button {
    transition: none;
  }
}
