/* American Samoa Fisheries Task Force — site styles */

:root {
  --navy: #0b3a53;
  --navy-deep: #072a3d;
  --teal: #0e7c86;
  --teal-light: #e3f2f3;
  --sand: #f7f9fa;
  --coral: #c94f30;
  --gold: #b98118;
  --ink: #1f2d36;
  --ink-soft: #4a5d68;
  --line: #d9e2e7;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(7, 42, 61, 0.08);
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; display: block; }

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Header / nav ---------- */

.site-header {
  background: var(--navy-deep);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}

.brand-mark {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  padding: 3px;
  object-fit: contain;
}

.brand-text .brand-title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
}

.brand-text .brand-sub {
  font-size: 0.72rem;
  opacity: 0.75;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  flex-wrap: wrap;
}

.site-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
}

.site-nav a:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }

.site-nav a.active { background: var(--teal); color: var(--white); }

.site-nav a.nav-cta {
  background: var(--coral);
  color: var(--white);
}

.site-nav a.nav-cta:hover { background: #b04225; }

/* ---------- Hero ---------- */

.hero {
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(7, 42, 61, 0.92) 0%, rgba(11, 58, 83, 0.88) 45%, rgba(14, 124, 134, 0.82) 100%),
    repeating-linear-gradient(-45deg, #0b3a53 0 14px, #0d4160 14px 28px);
  padding: 4.5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}

.hero .container { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.15;
  max-width: 22ch;
}

.hero .subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  margin-top: 0.9rem;
  max-width: 46ch;
  color: #d8ecef;
  font-weight: 500;
}

.hero .intro {
  margin-top: 1.1rem;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.85);
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

.hero-buttons {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 60px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-solid { background: var(--teal); color: var(--white); }
.btn-solid:hover { background: #0a616a; }

.btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.16); }

.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-deep); }

.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover { background: #b04225; }

/* ---------- Sections ---------- */

.section { padding: 3.5rem 0; }

.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-heading.centered { text-align: center; }

.section-lede {
  max-width: 70ch;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.prose p { margin-bottom: 1rem; max-width: 75ch; }
.prose ul { margin: 0 0 1rem 1.3rem; max-width: 72ch; }
.prose li { margin-bottom: 0.35rem; }

/* ---------- Latest update ---------- */

.update-box {
  background: var(--white);
  border-left: 6px solid var(--coral);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 2rem;
  max-width: 860px;
  margin: -3.2rem auto 0;
  position: relative;
  z-index: 2;
}

.update-box .update-label {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--coral);
}

.update-box h2 {
  color: var(--navy);
  font-size: 1.35rem;
  margin: 0.4rem 0 0.2rem;
}

.update-box .update-date {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.update-box p { margin-bottom: 0.9rem; color: var(--ink); }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.card h3 {
  color: var(--navy);
  font-size: 1.12rem;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0.8rem; }

.card .status {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--teal-light);
  color: var(--teal);
}

.card .status.status-coral { background: #fbe9e3; color: var(--coral); }
.card .status.status-gold { background: #f8efdc; color: var(--gold); }
.card .status.status-navy { background: #e2eaf0; color: var(--navy); }

/* ---------- Management levels graphic ---------- */

.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.level-box {
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  color: var(--white);
  box-shadow: var(--shadow);
}

.level-box .level-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.level-box h3 { font-size: 1.15rem; margin: 0.35rem 0 0.6rem; }

.level-box p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.88); }

.level-1 { background: linear-gradient(150deg, #12909b, #0a5a62); }
.level-2 { background: linear-gradient(150deg, #14608a, #0b3a53); }
.level-3 { background: linear-gradient(150deg, #0b3a53, #072a3d); }

/* ---------- Members ---------- */

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.member-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.4rem;
  text-align: center;
}

.member-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(150deg, var(--teal), var(--navy));
}

.member-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.member-card h3 { color: var(--navy); font-size: 1.05rem; }

.member-card .member-role {
  font-size: 0.87rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

.member-card .member-badge {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--coral);
}

/* ---------- Meetings & documents ---------- */

.item-list { display: grid; gap: 1.1rem; margin-top: 1.5rem; }

.item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.75rem;
}

.item h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 0.3rem; }

.item .item-meta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.item p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 0.8rem; }

.item ul { margin: 0 0 0.9rem 1.3rem; color: var(--ink-soft); font-size: 0.96rem; }
.item li { margin-bottom: 0.3rem; }

.item .pending {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #f8efdc;
  color: var(--gold);
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  max-width: 720px;
}

.form-row { margin-bottom: 1.2rem; }

.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-row .optional { font-weight: 500; color: var(--ink-soft); font-size: 0.82rem; }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #b9c8d0;
  border-radius: 7px;
  background: var(--sand);
  color: var(--ink);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  background: var(--white);
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: var(--teal-light);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  margin: 1.2rem 0;
}

.form-note.warn { background: #fbe9e3; color: #8a3a22; }

.form-success {
  display: none;
  background: var(--teal-light);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
  margin-top: 1.2rem;
  color: var(--navy);
  font-weight: 600;
}

/* ---------- Contact ---------- */

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  max-width: 560px;
}

.contact-card h3 { color: var(--navy); margin-bottom: 0.8rem; }

.contact-card address { font-style: normal; color: var(--ink-soft); line-height: 1.9; }

.contact-card a { font-weight: 600; }

/* ---------- Three questions strip ---------- */

.questions-strip { background: var(--navy); color: var(--white); padding: 3rem 0; }

.questions-strip h2 { text-align: center; font-size: 1.4rem; margin-bottom: 1.6rem; }

.questions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.question-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-align: center;
}

.question-box .q-num {
  width: 34px;
  height: 34px;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  background: var(--teal);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.question-box p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); margin-top: 0.4rem; }

.question-box a { color: #8fd6dd; font-weight: 700; }

/* ---------- Page header (interior pages) ---------- */

.page-header {
  background: linear-gradient(150deg, var(--navy-deep), var(--navy) 60%, #0d5b74);
  color: var(--white);
  padding: 3rem 0 2.5rem;
}

.page-header h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); max-width: 26ch; }

.page-header p { margin-top: 0.7rem; max-width: 66ch; color: rgba(255, 255, 255, 0.82); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.75rem 0 2rem;
  font-size: 0.88rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.7rem;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.footer-copy { margin-top: 1rem; font-size: 0.78rem; color: rgba(255, 255, 255, 0.4); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.open { display: block; }

  .header-inner { flex-wrap: wrap; }

  .site-nav ul { flex-direction: column; padding: 0.5rem 0 0.8rem; }

  .site-nav a { padding: 0.6rem 0.5rem; }

  .update-box { margin-top: -2.5rem; padding: 1.4rem 1.3rem; }
}
