:root{
  --ink: #6F4E37;
  --paper: #fbf4ee;
  --panel: #ffffff;
  --shadow: 0 12px 22px rgba(0,0,0,.10);
  --radius: 14px;
}

/* GLOBAL */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  font-family: "Poor Richard", "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
}

/* HEADER */
.topbar{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 28px 60px;
  border-bottom: 1px solid rgba(111, 78, 55, 0.2);
}

.nav{
  display: flex;
  gap: 32px;
}

.nav-link{
  text-decoration: none;
  font-size: 20px;
  color: var(--ink);
  position: relative;
}

.nav-link::after{
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: var(--ink);
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after{
  width: 100%;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo{
  height: 110px;
  width: auto;
}

/* MAIN LAYOUT */
.about-page{
  padding: 34px 18px 60px;
  display: grid;
  place-items: start center;
  gap: 18px;
}

.about-hero{
  width: min(980px, 94vw);
}

.hero-inner{
  text-align: center;
  padding: 10px 10px 0;
}

.hero-title{
  font-size: 46px;
  font-weight: normal;
  line-height: 1.05;
  margin-bottom: 8px;
}

.hero-subtitle{
  font-size: 18px;
  opacity: .9;
  margin-bottom: 12px;
}

.hero-text{
  font-size: 18px;
  line-height: 1.55;
  opacity: .95;
  max-width: 820px;
  margin: 0 auto;
}

/* PANEL */
.about-panel{
  width: min(980px, 94vw);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(111,78,55,.12);
  padding: 22px;
}

/* Cards */
.card-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card{
  border: 1px solid rgba(111,78,55,.12);
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 18px rgba(0,0,0,.05);
}

.card-title{
  font-size: 22px;
  font-weight: normal;
  margin-bottom: 10px;
}

.card-list{
  list-style: none;
  display: grid;
  gap: 8px;
  line-height: 1.45;
  font-size: 16px;
  padding-left: 0;
}

.card-list li{
  position: relative;
  padding-left: 18px;
}

.card-list li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  opacity: .7;
}

.card-text{
  font-size: 16px;
  line-height: 1.55;
  opacity: .95;
}

.divider{
  margin: 18px 0;
  height: 1px;
  background: rgba(111,78,55,.14);
}

/* Details block */
.details-title{
  font-size: 22px;
  font-weight: normal;
  margin-bottom: 8px;
}

.details-text{
  font-size: 16px;
  line-height: 1.55;
  opacity: .95;
}

.pill-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.pill{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(111,78,55,.20);
  background: rgba(111,78,55,.06);
  font-size: 15px;
}

.details-footnote{
  margin-top: 12px;
  font-size: 15px;
  opacity: .85;
}

/* Footer */
.footer{
  display: grid;
  place-items: center;
  padding: 18px 12px 26px;
}

.footer-text{
  font-size: 14px;
  opacity: .75;
}

/* A11y helper */
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 900px){
  .topbar{
    padding: 22px 20px;
  }

  .card-grid{
    grid-template-columns: 1fr;
  }

  .hero-title{
    font-size: 38px;
  }
}
