/* Muncie United coming-soon page */
:root {
  color-scheme: light;
  --paper: #F2ECE0;
  --teal: #0E323B;
  --paper-muted: rgba(242, 236, 224, 0.76);
  --teal-muted: rgba(14, 50, 59, 0.7);
  --teal-line: rgba(14, 50, 59, 0.16);
  --paper-line: rgba(242, 236, 224, 0.24);
  --shadow: 0 2rem 5rem rgba(14, 50, 59, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-wrap: break-word;
  background: var(--paper);
  color: var(--teal);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: max(1rem, env(safe-area-inset-top));
  left: max(1rem, env(safe-area-inset-left));
  padding: 0.8rem 1rem;
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: var(--teal);
  color: var(--paper);
  font-weight: 750;
  transform: translateY(calc(-100% - 2rem));
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-shell {
  display: flex;
  flex-direction: column;
  width: min(100%, 1240px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding:
    max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(0.25rem, 2.6vw, 1.5rem);
  color: var(--teal-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.brand-name {
  color: var(--teal);
  font-weight: 800;
}

main {
  display: flex;
  flex: 1;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  width: 100%;
  min-height: min(740px, calc(100svh - 8.5rem));
  overflow: hidden;
  border: 1px solid var(--teal-line);
  border-radius: clamp(1.35rem, 3vw, 2.25rem);
  background: var(--teal);
  box-shadow: var(--shadow);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(2.25rem, 7vw, 6.5rem);
  color: var(--paper);
}

.hero-content::after {
  position: absolute;
  right: 0;
  bottom: clamp(2rem, 6vw, 5rem);
  left: clamp(2.25rem, 7vw, 6.5rem);
  height: 1px;
  background: var(--paper-line);
  content: "";
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 2rem;
  color: var(--paper-muted);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.75rem;
  height: 1px;
  background: currentColor;
  content: "";
}

h1 {
  max-width: 9ch;
  margin: 0;
  scroll-margin-top: 2rem;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(3.5rem, 8.1vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.88;
  text-wrap: balance;
}

.hero-copy {
  max-width: 33ch;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  color: var(--paper-muted);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.brand-panel {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  place-items: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--paper);
}

.brand-panel::before,
.brand-panel::after {
  position: absolute;
  border: 1px solid var(--teal-line);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.brand-panel::before {
  width: min(33rem, 92%);
  aspect-ratio: 1;
}

.brand-panel::after {
  width: min(26rem, 72%);
  aspect-ratio: 1;
}

.brand-panel picture {
  position: relative;
  z-index: 1;
  display: grid;
  max-height: 100%;
  place-items: center;
}

.brand-mark {
  display: block;
  width: auto;
  height: min(55vh, 31rem);
  max-width: min(78%, 23rem);
  object-fit: contain;
  filter: drop-shadow(0 1.2rem 1.6rem rgba(14, 50, 59, 0.1));
}

.site-footer {
  justify-content: flex-start;
  padding-block: 1.25rem 0.25rem;
  font-size: 0.66rem;
}

@media (max-width: 899px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    min-height: 28rem;
  }

  .brand-panel {
    min-height: 28rem;
  }

  .brand-mark {
    height: min(50vh, 24rem);
  }
}

@media (max-width: 599px) {
  .site-shell {
    padding-inline: max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-left));
  }

  .site-header {
    align-items: flex-start;
    padding-inline: 0.35rem;
  }

  .site-status {
    max-width: 14ch;
    text-align: right;
  }

  .hero {
    border-radius: 1.25rem;
  }

  .hero-content {
    min-height: 25rem;
    padding: 2.25rem 1.6rem 4rem;
  }

  .hero-content::after {
    right: 1.6rem;
    bottom: 2rem;
    left: 1.6rem;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(3.1rem, 17vw, 5rem);
    line-height: 0.9;
  }

  .brand-panel {
    min-height: 22rem;
    padding: 2rem 1rem;
  }

  .brand-mark {
    height: min(48vh, 19rem);
  }

  .site-footer {
    padding-inline: 0.35rem;
  }
}

@media (forced-colors: active) {
  .hero,
  .brand-panel {
    border: 2px solid CanvasText;
  }

  .hero-content,
  .brand-panel {
    background: Canvas;
    color: CanvasText;
  }

  .hero-copy,
  .eyebrow {
    color: CanvasText;
  }

  .brand-panel::before,
  .brand-panel::after,
  .hero-content::after {
    display: none;
  }
}

@media print {
  body {
    background: #fff;
  }

  .skip-link {
    display: none;
  }

  .hero {
    min-height: auto;
    box-shadow: none;
  }
}
