:root {
  color-scheme: dark;
  --bg: #14120f;
  --bg-header: rgba(20, 18, 15, 0.9);
  --card: #221e18;
  --card-hover: #2b261e;
  --ink: #f6f1e8;
  --muted: #c9c0b4;
  --amber: #f5a623;
  --amber-text: #f6b23a;
  --line: rgba(245, 166, 35, 0.28);
  --honey: rgba(245, 166, 35, 0.34);
  --shadow: rgba(0, 0, 0, 0.35);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", "Segoe UI Variable Text", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f7f3eb;
    --bg-header: rgba(247, 243, 235, 0.92);
    --card: #fffdf8;
    --card-hover: #fff6e4;
    --ink: #1c1814;
    --muted: #534c44;
    --amber: #e39b14;
    --amber-text: #8a5600;
    --line: rgba(138, 86, 0, 0.22);
    --honey: rgba(154, 98, 16, 0.4);
    --shadow: rgba(70, 48, 12, 0.12);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--amber-text);
}

a:hover {
  text-decoration-thickness: 1px;
}

a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  background: var(--amber);
  color: #1c1814;
  padding: 0.5rem 0.8rem;
  z-index: 20;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(68rem, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  flex: none;
}

.brand img {
  height: 4.25rem;
  width: auto;
}

.contact-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.7rem 0.15rem;
  border-bottom: 1px solid var(--amber);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4.25rem;
}

.comb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--honey);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  margin: 0;
  max-width: 9em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.45rem, 6vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.lede {
  margin: 1.15rem 0 0;
  max-width: 38rem;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.band {
  padding: 1rem 0 4.5rem;
}

.band h2 {
  margin: 0 0 1.75rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.cards li {
  width: min(100%, 22.5rem);
  filter: drop-shadow(0 14px 18px var(--shadow));
}

.hex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 18.5rem;
  padding: 3.1rem 1.7rem 2.8rem;
  background: var(--card);
  color: inherit;
  text-align: center;
  text-decoration: none;
  clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
}

a.hex:hover,
a.hex:focus-visible {
  background: var(--card-hover);
}

.hex h3 {
  margin: 0.7rem 0 0;
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pip {
  width: 1.35rem;
  height: 1.55rem;
  color: var(--amber);
}

.hex p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.card-link {
  display: block;
  margin-top: 0.95rem;
  color: var(--amber-text);
  font-size: 0.92rem;
}

.award {
  margin: 2.4rem auto 0;
  max-width: 38rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
}

.about p,
.contact p {
  margin: 0;
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.65;
}

.contact-list {
  margin: 0 0 1.35rem;
  padding: 0;
}

.contact-list div + div {
  margin-top: 1.15rem;
}

.contact-list dt {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-text);
}

.contact-list dd {
  margin: 0.25rem 0 0;
}

.contact-list a {
  color: var(--ink);
  text-underline-offset: 0.18em;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-footer p {
  margin: 0 0 0.75rem;
  max-width: 46rem;
}

.site-footer a {
  color: var(--ink);
}

.footer-links {
  margin: 1.1rem 0 0;
}

.footer-links span {
  margin: 0 0.4rem;
  color: var(--amber);
}

.prose h1 {
  margin: 2.5rem 0 1rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.prose h2 {
  margin: 2rem 0 0.5rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
}

.prose p,
.prose li {
  max-width: 40rem;
  color: var(--muted);
}

.prose ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.prose a {
  color: var(--ink);
}

@media (min-width: 860px) {
  .hero {
    padding: 4.5rem 0 5.5rem;
  }
}

@media (min-width: 980px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem 0.5rem;
    align-items: stretch;
    padding-bottom: 2.8rem;
  }

  .cards li {
    width: 100%;
    height: 100%;
  }

  .cards li:nth-child(5) {
    transform: translateY(2.4rem);
  }

  .hex p {
    font-size: 0.9rem;
  }
}

@media (max-width: 359px) {
  .wrap {
    width: min(68rem, calc(100% - 1.25rem));
  }

  .brand img {
    height: 2.6rem;
  }
}
