:root {
  --paper: #f7f5ef;
  --ink: #111111;
  --muted: #4c4c4c;
  --line: #9c9c9c;
  --rule: #d2cec1;
  --link: #0000ee;
  --visited: #551a8b;
  --panel: #fffffb;
  --button: #e5e5e5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: var(--link);
  text-decoration: underline;
}

a:visited {
  color: var(--visited);
}

.wrap {
  width: min(100% - 28px, 980px);
  margin: 0 auto;
}

.site-header {
  border-top: 5px solid var(--ink);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.company-mark {
  display: inline-grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.company-mark:visited {
  color: var(--ink);
}

.company-initials {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--ink);
  background: #eeeeee;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.company-name {
  font-size: clamp(1.55rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.93rem;
}

.hero {
  padding: 58px 0 48px;
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.025), rgba(0, 0, 0, 0.025) 1px, transparent 1px, transparent 22px),
    var(--paper);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.1rem, 8vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  line-height: 1.15;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.lede {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 16px;
  border: 2px outset var(--button);
  background: var(--button);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:visited {
  color: var(--ink);
}

.button:active {
  border-style: inset;
}

.primary {
  background: #d8d8d8;
}

.secondary {
  background: #efefef;
}

.notice-band {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  background: #eeeeee;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
}

.content-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 32px;
  align-items: start;
}

.directory-box {
  border: 1px solid var(--line);
  background: var(--panel);
}

.directory-box {
  padding: 18px;
}

dl {
  margin: 0;
}

dt {
  margin-top: 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
}

.rules {
  background: #efede5;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rule-grid article {
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.rule-grid p {
  margin: 0;
}

.site-footer {
  padding: 20px 0;
  background: var(--panel);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-grid p {
  margin: 0;
}

@media (max-width: 760px) {
  .header-grid,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding: 44px 0 36px;
  }

  .two-column,
  .rule-grid {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 32px 0;
  }
}

@media (max-width: 430px) {
  .wrap {
    width: min(100% - 20px, 980px);
  }

  .company-mark {
    grid-template-columns: 46px 1fr;
  }

  .company-initials {
    width: 46px;
    height: 46px;
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

}
