:root {
  --ink: #14213d;
  --text: #20242a;
  --muted: #626b75;
  --line: #d8dee6;
  --paper: #f7f8f6;
  --white: #ffffff;
  --mist: #eaf0eb;
  --gold: #f4c542;
  --green: #2f6d4f;
  --blue: #315f9d;
  --shadow: 0 18px 42px rgba(20, 33, 61, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 235px;
  color: var(--ink);
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

nav a {
  padding: 8px 9px;
  border-radius: 5px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

nav a:hover,
nav a.active {
  background: var(--mist);
  color: var(--ink);
}

.home-hero,
.page-hero,
.section {
  padding: clamp(44px, 7vw, 84px) clamp(18px, 5vw, 72px);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: 610px;
  background:
    linear-gradient(90deg, rgba(20, 33, 61, 0.9), rgba(20, 33, 61, 0.72)),
    url("assets/business-grid.svg");
  background-size: cover;
  color: var(--white);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(20, 33, 61, 0.93), rgba(20, 33, 61, 0.78)),
    url("assets/business-grid.svg");
  background-size: cover;
  color: var(--white);
}

.page-hero p {
  max-width: 760px;
}

.hero-copy {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5.5vw, 5.25rem);
  line-height: 0.98;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.1;
}

.page-hero h1,
.home-hero h1 {
  color: var(--white);
}

h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.1rem;
}

.lead,
.page-hero p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
}

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

.button,
.feature-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 2px solid var(--gold);
  border-radius: 5px;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  color: var(--ink);
}

.hero-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.panel-label {
  margin: 0 0 16px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 22px;
  font-size: 1.08rem;
  font-weight: 800;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 26px;
}

.section-heading p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.accent {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.visual-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(44px, 7vw, 84px);
}

.visual-band article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.visual-band img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  object-fit: cover;
}

.visual-band h3,
.visual-band p {
  padding-right: 18px;
  padding-left: 18px;
}

.visual-band h3 {
  margin-top: 18px;
}

.visual-band p {
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--muted);
}

.outcome-band {
  background:
    linear-gradient(180deg, rgba(234, 240, 235, 0.92), rgba(247, 248, 246, 0.96)),
    url("assets/business-grid.svg");
  background-size: cover;
}

.outcome-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
}

.outcome-card::after {
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 120px;
  height: 120px;
  border: 18px solid rgba(49, 95, 157, 0.12);
  border-radius: 999px;
  content: "";
}

.principles-grid,
.cards,
.timeline,
.content-grid,
.team-grid,
.venture-grid,
.ideas-grid {
  display: grid;
  gap: 16px;
}

.principles-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards.three,
.content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline.long {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.venture-grid {
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(160px, 0.5fr));
}

.ideas-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principles-grid article,
.timeline article,
.cards article,
.text-block,
.member-card,
.metric,
.idea-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.principles-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 900;
}

.idea-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 900;
}

.idea-card dl {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.idea-card dl div {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.idea-card dt {
  color: var(--muted);
  font-weight: 900;
}

.idea-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.idea-card.selected {
  border: 2px solid var(--ink);
}

.section-link {
  margin: 20px 0 0;
}

.section-link a {
  color: var(--blue);
  font-weight: 900;
}

.timeline time,
.cards time {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  align-items: center;
}

.split p {
  max-width: 720px;
  color: var(--muted);
}

.feature-link {
  align-items: flex-start;
  flex-direction: column;
  min-height: 120px;
  border-color: var(--ink);
  background: var(--ink);
}

.feature-link span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.request-layout,
.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 22px;
  align-items: start;
}

.admin-layout {
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}

.access-form,
.admin-list {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.access-form.compact {
  position: sticky;
  top: 96px;
}

.access-form label {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  color: var(--ink);
  font-weight: 900;
}

.access-form input,
.access-form select,
.access-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 11px 12px;
  color: var(--text);
  font: inherit;
}

.access-form textarea {
  resize: vertical;
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 700;
}

.consent input {
  width: auto;
  margin-top: 4px;
}

.form-button {
  width: 100%;
  margin-top: 18px;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin-bottom: 0;
  color: var(--green);
  font-weight: 800;
}

.form-status.error {
  color: #a7352a;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.request-card.empty {
  display: block;
}

.request-card p {
  margin: 7px 0;
}

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

.text-block.wide {
  grid-column: span 1;
}

.text-block.full {
  grid-column: 1 / -1;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.legal-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.legal-table th,
.legal-table td {
  padding: 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table thead th {
  background: var(--ink);
  color: var(--white);
}

.legal-table tbody th {
  width: 16%;
  color: var(--ink);
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
  border-bottom: 0;
}

.metric {
  display: grid;
  align-content: center;
  min-height: 160px;
}

.metric strong {
  color: var(--green);
  font-size: 2.5rem;
  line-height: 1;
}

.metric span,
.role,
.price {
  color: var(--muted);
  font-weight: 900;
}

.portrait {
  display: grid;
  min-height: 210px;
  margin-bottom: 15px;
  place-items: center;
  border: 2px dashed #9aa3ad;
  border-radius: 6px;
  background: #eef1ed;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.portrait.image-portrait {
  overflow: hidden;
  min-height: 280px;
  border-style: solid;
  padding: 0;
}

.portrait.image-portrait img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center 18%;
}

.portrait.initials {
  border-style: solid;
  background: var(--blue);
  color: var(--white);
  font-size: 2.2rem;
}

.portrait.green {
  background: var(--green);
}

.portrait.gold {
  background: var(--gold);
  color: var(--ink);
}

.profile-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 12px;
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.profile-link:hover {
  background: var(--ink);
  color: var(--white);
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(44px, 7vw, 84px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(20, 33, 61, 0.94), rgba(20, 33, 61, 0.76)),
    url("assets/club-pattern.svg");
  background-size: cover;
  color: var(--white);
}

.profile-hero h1 {
  color: var(--white);
}

.profile-hero .button {
  margin-top: 24px;
}

.profile-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.profile-signals span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 900;
}

.profile-photo,
.profile-initials {
  display: grid;
  min-height: 420px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 16%;
}

.profile-initials {
  color: var(--white);
  font-size: clamp(4rem, 13vw, 8rem);
  font-weight: 900;
  background: var(--blue);
}

.profile-initials.green {
  background: var(--green);
}

.profile-initials.gold {
  color: var(--ink);
  background: var(--gold);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  gap: 18px;
}

.wide-profile p {
  color: #34383d;
}

.logo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.logo-list span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}

.site-footer {
  padding: clamp(34px, 5vw, 58px) clamp(18px, 5vw, 72px) 24px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(4, minmax(140px, 1fr));
  gap: 28px;
}

.footer-intro {
  max-width: 430px;
}

.footer-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 0.98rem;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.footer-bottom a {
  display: inline;
  margin: 0;
}

.legal-links a:not(:last-child)::after {
  margin-left: 12px;
  color: rgba(255, 255, 255, 0.38);
  content: "/";
}

.legal-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.legal-layout .text-block {
  box-shadow: none;
}

.legal-layout a {
  color: var(--blue);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .home-hero,
  .visual-band,
  .principles-grid,
  .cards.three,
  .content-grid,
  .timeline,
  .timeline.long,
  .team-grid,
  .venture-grid,
  .ideas-grid,
  .footer-grid,
  .legal-layout,
  .profile-hero,
  .profile-layout,
  .request-layout,
  .admin-layout,
  .split {
    grid-template-columns: 1fr;
  }

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

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

  nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(2.1rem, 13vw, 3.4rem);
  }
}
