@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,600;0,700;1,500&family=Source+Sans+3:wght@400;600;700&display=swap");

:root {
  --bg: #fbf7f2;
  --bg-deep: #f0e8df;
  --text: #3a2f2a;
  --muted: #7a6b62;
  --card: #fffcf9;
  --border: rgba(139, 90, 60, 0.14);
  --accent: #b85c38;
  --accent-hover: #9a4a2e;
  --accent-soft: #f8ede6;
  --accent-muted: #d4a88a;
  --sage: #6b8f7a;
  --sage-soft: #e8f0eb;
  --rose-soft: #f5e6e8;
  --link: #b85c38;
  --shadow: 0 2px 14px rgba(58, 47, 42, 0.06);
  --shadow-lg: 0 10px 28px rgba(58, 47, 42, 0.09);
  --radius: 16px;
  --radius-sm: 12px;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

::selection {
  background: var(--accent-soft);
  color: var(--text);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--rose-soft) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, var(--sage-soft) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

h1,
h2,
h3,
.hero h1,
.page-hero h1,
.quote {
  font-family: var(--font-serif);
  font-weight: 600;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.skip-link:focus {
  left: 12px;
  z-index: 9999;
}

header {
  position: sticky;
  top: 0;
  background: rgba(251, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  z-index: 10;
}

.topbar {
  max-width: 1050px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(58, 47, 42, 0.1);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

nav a:hover {
  color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-soft);
}

main {
  max-width: 1050px;
  margin: 0 auto;
  padding: 28px 18px 52px;
}

.hero {
  padding: 24px 0 20px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.12;
  color: var(--text);
  letter-spacing: -0.01em;
}

.quote {
  margin: 14px auto 0;
  max-width: 36ch;
  font-size: clamp(17px, 2.4vw, 22px);
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 880px) {
  .grid {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: start;
  }

  .grid .right-col {
    position: sticky;
    top: 92px;
  }

  .hero {
    text-align: left;
  }

  .quote {
    margin-left: 0;
  }
}

.section-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px;
  box-shadow: var(--shadow);
}

.section-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-soft);
}

.section-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--accent);
}

.section-card p {
  margin: 0 0 12px;
  color: var(--text);
}

.subtle {
  color: var(--muted);
}

.list-links {
  display: grid;
  gap: 10px;
}

.list-links:not(.list-links--buttons) a {
  display: block;
  padding: 11px 14px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--rose-soft) 100%);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.list-links:not(.list-links--buttons) a:hover {
  border-color: var(--accent-muted);
  background: var(--card);
  color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}

.list-links--buttons {
  gap: 12px;
}

.list-links--buttons .cssbuttons-io-button {
  width: 100%;
  justify-content: center;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 0;
}

/* Button — from Uiverse.io by adamgiebl */
.cssbuttons-io-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  padding: 0.8em 1.5em;
  color: #5c3a1e;
  background: linear-gradient(0deg, #f5dcc4 0%, #f7ede4 100%);
  border: none;
  box-shadow: 0 0.7em 1.5em -0.5em rgba(220, 190, 165, 0.55);
  letter-spacing: 0.03em;
  border-radius: 20em;
  text-decoration: none;
  line-height: 1.3;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.cssbuttons-io-button:hover {
  color: #4a2e18;
  text-decoration: none;
  background: linear-gradient(0deg, #edcfb4 0%, #f5ede6 100%);
  box-shadow: 0 0.5em 1.5em -0.5em rgba(220, 190, 165, 0.55);
}

.cssbuttons-io-button:active {
  box-shadow: 0 0.3em 1em -0.5em rgba(220, 190, 165, 0.45);
}

.cssbuttons-io-button--sm {
  font-size: 14px;
  padding: 0.65em 1.2em;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 18px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 252, 249, 0.7);
  font-size: 14px;
}

.footer strong {
  color: var(--text);
}

.spacer {
  height: 10px;
}

.yt-wrap {
  width: 100%;
}

.yt-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-sm);
  background: #2a2420;
  box-shadow: var(--shadow);
}

.edit-note {
  background: var(--accent-soft);
  border: 1px dashed var(--accent-muted);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: var(--text);
  margin-top: 10px;
  font-size: 14px;
}

.video-section-heading {
  margin: 0 0 8px;
  font-size: 15px;
}

.featured-video {
  margin-top: 4px;
}

.video-featured-caption {
  margin: 10px 0 6px;
  font-weight: 600;
  font-size: 15px;
}

.home-video-preview {
  margin-top: 12px;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 880px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.video-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.video-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.video-card__media .yt-frame {
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.video-card__body {
  padding: 14px 16px 16px;
}

.video-card__body .cssbuttons-io-button {
  margin-top: 4px;
}

.video-card__title {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

.page-hero {
  padding: 12px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.8vw, 40px);
  line-height: 1.15;
  color: var(--text);
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-muted));
}

.page-hero p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
}

.mission-strip {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--rose-soft) 45%, var(--sage-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.mission-strip p:last-child {
  margin-bottom: 0;
}

.team-section {
  margin-top: 28px;
  padding: 18px 18px 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
}

.team-section:first-of-type {
  margin-top: 16px;
}

.team-section:nth-child(even) {
  background: var(--accent-soft);
  border-color: transparent;
}

.team-section--advisors {
  background: var(--sage-soft);
  border-color: transparent;
}

.team-section h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-soft);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 500px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 500px) {
  .team-grid--compact {
    grid-template-columns: 1fr 1fr;
  }
}

.team-member {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.team-member:hover {
  box-shadow: var(--shadow-lg);
}

a.team-member {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.team-member:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.team-member--profile {
  padding: 0;
  overflow: hidden;
}

.team-member__photo {
  display: block;
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 100%);
}

.team-member__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent-muted) 100%);
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  user-select: none;
}

.team-member__body {
  padding: 18px 20px 20px;
}

.team-member--profile h4 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
}

.team-member .bio {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text);
}

.team-grid--profiles {
  gap: 20px;
}

@media (min-width: 500px) {
  .team-grid--profiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-member h4 {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.3;
  font-family: var(--font-serif);
}




.team-member .role {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.team-member .affiliation {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.profile-detail {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 18px 40px;
}

.profile-detail .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
}

.profile-detail .back-link:hover {
  text-decoration: underline;
}

.profile-detail__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.profile-detail__photo {
  max-width: 60%;
  height: auto;
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 100%);
  display: block;
}

.profile-detail__photo--placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent-muted) 100%);
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  user-select: none;
}

.profile-detail__body {
  padding: 24px 28px 32px;
}

.profile-detail__body h1 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--text);
}

.profile-detail__body .role {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.profile-detail__body .affiliation {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.profile-detail__body .bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

.profile-detail__figure {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.profile-detail__figure img {
  width: 100%;
  height: auto;
  display: block;
}

.profile-detail__caption {
  margin: 0;
  padding: 10px 28px 16px;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.4;
  background: var(--accent-soft);
}

@media (min-width: 560px) {
  .profile-detail__photo--placeholder {
    aspect-ratio: 3 / 1;
  }
}

.event-list {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.event-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.event-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.event-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-family: var(--font-serif);
}

.event-card .event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}

.event-card .event-meta strong {
  color: var(--text);
}

.event-card p:last-child {
  margin-bottom: 0;
}

.instagram-updates {
  display: grid;
  gap: 20px;
  margin-top: 14px;
  min-width: 0;
}

.instagram-update {
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}

.instagram-update .instagram-media,
.instagram-update iframe,
.guest-card .instagram-media {
  margin: 0 auto !important;
  max-width: 540px !important;
  min-width: 0 !important;
  width: 100% !important;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 8px;
}

.badge--tbc {
  background: #fae8c8;
  color: #8a5a1a;
}

.badge--confirmed {
  background: var(--sage-soft);
  color: var(--sage);
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease;
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
}

.project-card:last-child {
  margin-bottom: 0;
}

.project-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-family: var(--font-serif);
}

.project-card .partner {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
}

.project-card ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.project-card li {
  margin-bottom: 6px;
  font-size: 14px;
}

.research-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 10px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.research-table th,
.research-table td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
}

.research-table th {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--sage-soft) 100%);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.research-table tr:last-child td {
  border-bottom: none;
}

.research-table tbody tr:hover td {
  background: rgba(248, 237, 230, 0.35);
}

.guest-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease;
}

.guest-card:hover {
  box-shadow: var(--shadow-lg);
}

.guest-card h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-family: var(--font-serif);
}

.guest-card .episode {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.guest-card p:last-child {
  margin-bottom: 0;
  font-size: 14px;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 26px 0;
}

/* Loading screen — adapted from Uiverse.io by Smit-Prajapati */
body.is-loading {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, var(--rose-soft) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, var(--sage-soft) 0%, transparent 50%),
    var(--bg);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader {
  --size: 220px;
  --duration: 2s;
  --loader-ring: rgba(184, 92, 56, 0.35);
  --loader-background: linear-gradient(
    0deg,
    rgba(184, 92, 56, 0.12) 0%,
    rgba(107, 143, 122, 0.18) 100%
  );
  height: var(--size);
  aspect-ratio: 1;
  position: relative;
}

.loader .box {
  position: absolute;
  background: var(--loader-background);
  border-radius: 50%;
  border-top: 1px solid var(--loader-ring);
  box-shadow: rgba(58, 47, 42, 0.12) 0 10px 10px -0;
  backdrop-filter: blur(5px);
  animation: ripple var(--duration) infinite ease-in-out;
}

.loader .box:nth-child(1) {
  inset: 40%;
  z-index: 99;
  border-color: rgba(184, 92, 56, 0.55);
}

.loader .box:nth-child(2) {
  inset: 30%;
  z-index: 98;
  border-color: rgba(184, 92, 56, 0.45);
  animation-delay: 0.2s;
}

.loader .box:nth-child(3) {
  inset: 20%;
  z-index: 97;
  border-color: rgba(107, 143, 122, 0.4);
  animation-delay: 0.4s;
}

.loader .box:nth-child(4) {
  inset: 10%;
  z-index: 96;
  border-color: rgba(184, 92, 56, 0.25);
  animation-delay: 0.6s;
}

.loader .box:nth-child(5) {
  inset: 0;
  z-index: 95;
  border-color: rgba(107, 143, 122, 0.2);
  animation-delay: 0.8s;
}

.loader .logo {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 28%;
  z-index: 100;
}

.loader .logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 50%;
  animation: logo-pulse var(--duration) infinite ease-in-out;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    box-shadow: rgba(58, 47, 42, 0.12) 0 10px 10px -0;
  }
  50% {
    transform: scale(1.3);
    box-shadow: rgba(58, 47, 42, 0.16) 0 30px 20px -0;
  }
  100% {
    transform: scale(1);
    box-shadow: rgba(58, 47, 42, 0.12) 0 10px 10px -0;
  }
}

@keyframes logo-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader .box,
  .loader .logo img {
    animation: none;
  }

  .page-loader {
    transition-duration: 0.2s;
  }
}

/* Member authentication and administration */
.account-main {
  max-width: 920px;
  min-height: calc(100vh - 150px);
}

.account-panel,
.admin-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 28px;
}

.account-panel {
  max-width: 520px;
  margin: 32px auto;
}

.account-panel h1,
.admin-heading h1 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 28px;
}

.account-form {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.account-form label {
  font-weight: 700;
  font-size: 14px;
  margin-top: 4px;
}

.account-form input,
.account-form select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.account-form input:focus,
.account-form select:focus {
  outline: 3px solid var(--sage-soft);
  border-color: var(--sage);
}

.account-form .cssbuttons-io-button {
  justify-self: start;
  margin-top: 12px;
}

.form-message {
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
}

.form-message--error {
  background: #fbe8e6;
  border: 1px solid #e7b5ad;
  color: #7d3027;
}

.form-message--success {
  background: var(--sage-soft);
  border: 1px solid #afceba;
  color: #315b41;
}

.logout-form {
  margin-top: 22px;
}

.text-button,
.nav-logout button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--link);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 0;
}

.text-button:hover,
.nav-logout button:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.nav-logout {
  display: inline;
}

.nav-logout input {
  display: none;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}

.admin-section h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
}

.admin-section--team {
  margin-top: 18px;
}

.account-form textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 18px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}

.admin-table th {
  background: var(--accent-soft);
}

@media (min-width: 800px) {
  .admin-grid {
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
  }
}
