:root {
  color-scheme: dark;
  --ink: #f7efe5;
  --muted: rgba(247, 239, 229, 0.74);
  --quiet: rgba(247, 239, 229, 0.58);
  --brand: #84342d;
  --brand-deep: #2f1110;
  --brand-bright: #9b4037;
  --ivory: #f8f1e8;
  --paper: rgba(255, 252, 247, 0.94);
  --paper-soft: rgba(249, 242, 233, 0.88);
  --text-dark: #1f1815;
  --field: rgba(255, 253, 249, 0.72);
  --line-dark: rgba(43, 27, 23, 0.12);
  --line-light: rgba(247, 239, 229, 0.18);
  --shadow: rgba(14, 9, 8, 0.28);
  --font-ui: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", Times, serif;
  --font-mark: "Arial Black", Impact, Haettenschweiler, "Franklin Gothic Heavy", sans-serif;
  font-family: var(--font-ui);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #100d0c;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  overflow-x: hidden;
  background: url("/assets/tabs-background.jpg") 56% center / cover no-repeat;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
}

body::before {
  background:
    linear-gradient(105deg, rgba(13, 11, 10, 0.78) 0%, rgba(28, 29, 29, 0.52) 48%, rgba(235, 226, 215, 0.1) 100%),
    linear-gradient(180deg, rgba(241, 233, 222, 0.16) 0%, rgba(56, 59, 60, 0.1) 34%, rgba(12, 9, 8, 0.7) 100%);
  backdrop-filter: blur(1.6px) saturate(0.82);
}

body::after {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 250, 242, 0.12), transparent 34%),
    linear-gradient(90deg, rgba(10, 8, 7, 0.62) 0%, rgba(20, 19, 18, 0.34) 34%, rgba(255, 250, 242, 0.02) 62%, rgba(11, 9, 8, 0.42) 100%),
    linear-gradient(180deg, transparent 0%, rgba(11, 8, 7, 0.5) 100%);
}

a {
  color: var(--ink);
  text-decoration-color: rgba(132, 52, 45, 0.82);
  text-underline-offset: 4px;
}

.page-shell {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: auto;
  padding: 30px 42px 48px;
}

.hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(24px, 3.8vh, 38px);
  width: min(100%, 1180px);
  margin: 0 auto;
  text-align: center;
}

.hero__brand {
  display: flex;
  width: min(100%, 500px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand-lockup {
  display: grid;
  width: clamp(300px, 34vw, 500px);
  max-width: 100%;
  padding: 0 10px;
  color: var(--ink);
  filter: drop-shadow(0 18px 32px rgba(18, 11, 10, 0.2));
  justify-items: center;
}

.brand-mark {
  color: var(--brand);
  font-family: var(--font-mark);
  font-size: clamp(68px, 8.2vw, 112px);
  font-weight: 900;
  line-height: 0.88;
  text-shadow:
    0 1px 0 rgba(255, 250, 242, 0.1),
    0 12px 26px rgba(18, 9, 8, 0.24);
}

.brand-rule {
  display: none;
}

.brand-company-row {
  display: flex;
  align-items: center;
  width: min(90%, 300px);
  margin-top: 9px;
  gap: 6px;
  color: rgba(255, 248, 235, 0.9);
  font-family: var(--font-display);
  font-size: clamp(13px, 1.204vw, 16px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-company-row::before,
.brand-company-row::after {
  flex: 1 1 18px;
  min-width: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 250, 242, 0.68));
  content: "";
}

.brand-company-row::after {
  background: linear-gradient(90deg, rgba(255, 250, 242, 0.68), transparent);
}

h2,
h3,
p {
  margin-top: 0;
}

.hero__content {
  display: flex;
  width: min(100%, 900px);
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 3.2vh, 34px);
  margin-top: 0;
}

.positioning {
  width: auto;
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  backdrop-filter: none;
}

.positioning p:last-child {
  max-width: none;
  margin: 0 auto;
  color: rgba(255, 248, 237, 0.8);
  font-family: var(--font-ui);
  font-size: clamp(12px, 0.82vw, 14px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
  text-transform: uppercase;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 20px;
  width: min(100%, 735px);
  margin: 0 auto;
  text-align: left;
}

.access-card {
  min-height: 350px;
  padding: 28px 30px 26px;
  border: 1px solid rgba(255, 252, 247, 0.58);
  border-top: 2px solid rgba(132, 52, 45, 0.7);
  border-radius: 6px;
  background:
    linear-gradient(180deg, var(--paper), var(--paper-soft)),
    rgba(255, 248, 236, 0.9);
  box-shadow: 0 24px 62px rgba(20, 12, 10, 0.22);
  color: var(--text-dark);
  backdrop-filter: blur(18px) saturate(112%);
}

.access-card__header {
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-dark);
}

.access-kicker {
  margin: 0;
  color: rgba(132, 52, 45, 0.92);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.access-card h3 {
  margin: 6px 0 0;
  font-family: Baskerville, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.08;
}

label {
  display: block;
  margin-bottom: 14px;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: rgba(46, 26, 23, 0.64);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(46, 26, 23, 0.18);
  border-radius: 5px;
  outline: 0;
  background: var(--field);
  color: var(--text-dark);
  font-family: var(--font-ui);
  font-size: 15px;
}

input:focus {
  border-color: rgba(132, 52, 45, 0.82);
  box-shadow: 0 0 0 3px rgba(132, 52, 45, 0.16);
}

button {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border: 0;
  border-radius: 5px;
  background: var(--brand);
  color: var(--ivory);
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(66, 21, 17, 0.22);
}

button:hover,
button:focus-visible {
  background: var(--brand-bright);
}

.form-message {
  min-height: 32px;
  margin: 12px 0 0;
  color: rgba(46, 26, 23, 0.7);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: min(100% - 84px, 1180px);
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(251, 241, 232, 0.14);
  color: rgba(255, 247, 236, 0.62);
  font-family: var(--font-ui);
  font-size: 11.5px;
  line-height: 1.55;
  text-align: center;
}

.site-footer p {
  max-width: 1040px;
  margin: 0 auto 8px;
}

.request-access {
  color: rgba(255, 250, 242, 0.86);
  font-weight: 700;
}

@media (max-width: 1120px) {
  .hero__content {
    gap: 28px;
  }
}

@media (max-width: 760px) {
  body {
    background-position: 62% center;
  }

  .page-shell {
    min-height: auto;
    padding: 24px 20px 16px;
  }

  .hero {
    gap: 22px;
  }

  .hero__brand {
    width: min(100%, 320px);
  }

  .brand-lockup {
    width: min(100%, 320px);
    padding: 0;
  }

  .brand-mark {
    font-size: clamp(62px, 19vw, 80px);
  }

  .brand-company-row {
    width: 92%;
    margin-top: 8px;
    gap: 7px;
    font-size: clamp(13px, 3.8vw, 16px);
  }

  .brand-company-row::before,
  .brand-company-row::after {
    min-width: 10px;
  }

  .hero__content {
    gap: 22px;
  }

  .positioning p:last-child {
    font-size: 12px;
  }

  .access-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .access-card {
    min-height: auto;
    padding: 22px;
  }

  .access-card h3 {
    font-size: 25px;
  }

  .site-footer {
    width: calc(100% - 40px);
    padding-bottom: 26px;
  }
}
