:root {
  --bg: #050503;
  --bg-2: #0b0a07;
  --panel: rgba(14, 12, 8, 0.9);
  --panel-2: rgba(19, 16, 10, 0.74);
  --gold: #d5a73b;
  --gold-2: #f3d983;
  --gold-3: #8e651c;
  --ivory: #f2ead6;
  --muted: #c8bea8;
  --line: rgba(213, 167, 59, 0.42);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  --display: "Cinzel", "Bodoni 72", Didot, "Baskerville", "Hoefler Text", "Times New Roman", serif;
  --text-serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% -10%, rgba(213, 167, 59, 0.16), transparent 32rem),
    radial-gradient(circle at 0% 40%, rgba(213, 167, 59, 0.06), transparent 28rem),
    linear-gradient(180deg, #030302, #080704 40%, #030302);
  font-family: var(--text-serif);
  font-size: 18px;
  line-height: 1.5;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.28), transparent 70%);
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 86px;
  padding: 0.8rem clamp(1rem, 4vw, 4.5rem);
  background: rgba(3, 3, 2, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 260px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(213, 167, 59, 0.22));
}

.brand-text {
  display: grid;
  gap: 0.08rem;
  color: var(--gold-2);
  font-family: var(--display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-text span {
  font-size: clamp(0.9rem, 1.35vw, 1.18rem);
  font-weight: 500;
}

.brand-text small {
  position: relative;
  justify-self: center;
  padding: 0 1.8rem;
  color: var(--gold);
  font-size: 0.64rem;
  letter-spacing: 0.34em;
}

.brand-text small::before,
.brand-text small::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1.2rem;
  height: 1px;
  background: var(--gold);
}

.brand-text small::before { left: 0; }
.brand-text small::after { right: 0; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 0.6rem 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--gold-2);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  width: 100%;
}

main {
  overflow: hidden;
}

.section-frame {
  position: relative;
  border-block: 1px solid var(--line);
}

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(34rem, 0.98fr);
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(3,3,2,0.96), rgba(3,3,2,0.74) 48%, rgba(3,3,2,0.18)),
    radial-gradient(circle at 72% 40%, rgba(213, 167, 59, 0.16), transparent 28rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 62rem;
  padding: clamp(4rem, 9vw, 9rem) clamp(1.2rem, 5vw, 5rem);
}

.hero-copy::before {
  content: "";
  width: min(18rem, 64vw);
  height: 1px;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--gold-2);
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  color: var(--gold-2);
  font-size: clamp(3.2rem, 8.4vw, 7.6rem);
  letter-spacing: 0.16em;
  line-height: 0.94;
  text-shadow: 0 0 26px rgba(213, 167, 59, 0.16);
}

h1 small {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 1.1rem;
  padding: 0 3.2rem;
  color: var(--gold);
  font-size: 0.36em;
  letter-spacing: 0.42em;
  border-block: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.55rem;
  border: 1px solid var(--gold-3);
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button::after {
  content: "→";
  margin-left: 0.9rem;
  font-family: var(--sans);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold-2);
}

.button-gold {
  color: #130e04;
  background: linear-gradient(135deg, #a8791d, #f2d47a 48%, #a8791d);
  box-shadow: 0 18px 50px rgba(213, 167, 59, 0.18);
}

.button-outline {
  color: var(--gold-2);
  background: rgba(213, 167, 59, 0.04);
}

.hero-visual {
  position: relative;
  min-height: 36rem;
  overflow: hidden;
  border-left: 1px solid var(--line);
}

.hero-architecture {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,3,2,0.25), transparent 32%),
    linear-gradient(0deg, rgba(3,3,2,0.72), rgba(3,3,2,0.1) 45%, rgba(3,3,2,0.82)),
    url("assets/hero-architecture.jpg") center / cover no-repeat;
  opacity: 0.9;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 38%, rgba(242, 212, 122, 0.26), transparent 10rem),
    linear-gradient(90deg, rgba(3,3,2,0.4), transparent);
}

.hero-coin {
  position: absolute;
  z-index: 2;
  top: 20%;
  right: 14%;
  width: clamp(13rem, 24vw, 24rem);
  filter: drop-shadow(0 0 38px rgba(213, 167, 59, 0.26));
  opacity: 0.92;
}

.board {
  padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 50% 0%, rgba(213, 167, 59, 0.12), transparent 25rem),
    linear-gradient(180deg, rgba(8,7,4,0.2), rgba(8,7,4,0.86));
}

.section-heading {
  max-width: 64rem;
  margin: 0 auto clamp(2.4rem, 5vw, 4rem);
  text-align: center;
}

.section-heading h2 {
  position: relative;
  display: inline-block;
  padding: 0 2rem 0.75rem;
  color: var(--gold-2);
  font-size: clamp(1.65rem, 3vw, 3.2rem);
  letter-spacing: 0.24em;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(16rem, 70vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-50%);
}

.section-heading p:not(.eyebrow) {
  margin: 1rem auto 0;
  color: var(--muted);
  font-family: var(--text-serif);
  font-size: 1.25rem;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.6vw, 2rem);
  max-width: 1240px;
  margin: 0 auto;
}

.member-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 34rem;
  padding: 1.5rem 1.5rem 2rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(18, 15, 10, 0.92), rgba(7, 6, 4, 0.96)),
    radial-gradient(circle at 50% 0%, rgba(213, 167, 59, 0.15), transparent 18rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.member-card::before,
.member-card::after {
  content: "";
  position: absolute;
  width: 3rem;
  height: 3rem;
  pointer-events: none;
}

.member-card::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.member-card::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.portrait-wrap {
  position: relative;
  width: min(100%, 17rem);
  aspect-ratio: 1;
  padding: 0.35rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: radial-gradient(circle at 45% 25%, rgba(242, 212, 122, 0.22), transparent 40%), #050503;
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(1) contrast(1.08) brightness(0.92);
}

.member-card-dick .portrait-wrap img {
  width: 92%;
  height: 92%;
  margin: 4%;
  object-position: 52% 46%;
}

.member-badge {
  position: relative;
  z-index: 2;
  font-weight: 700;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-top: -2.1rem;
  color: #2a1a03;
  background: radial-gradient(circle at 35% 24%, #fff0a8, #d4a137 45%, #5e3b06 100%);
  border: 2px solid #5e3b06;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.member-card h3 {
  margin-top: 1rem;
  color: var(--gold-2);
  font-size: 1.17rem;
  letter-spacing: 0.18em;
}

.role {
  margin: 0.35rem 0 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.member-copy {
  max-width: 19rem;
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-family: var(--text-serif);
  font-size: 1.15rem;
}

.site-footer {
  padding: 2.5rem clamp(1rem, 4vw, 4rem) 3rem;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
  background: rgba(2, 2, 1, 0.95);
}

.footer-mark img {
  width: 4.75rem;
  height: 4.75rem;
  object-fit: contain;
  margin: 0 auto 1rem;
  opacity: 0.9;
}

.site-footer p {
  margin: 0.5rem auto;
  max-width: 74rem;
  font-size: 1rem;
}

.disclaimer {
  color: #a89d86;
  font-size: 0.9rem !important;
}

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

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.7rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

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

  .hero-visual {
    min-height: 28rem;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: auto;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-text span {
    font-size: 0.82rem;
  }

  .site-nav {
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  h1 small {
    padding: 0 1.4rem;
  }

  .hero-copy {
    padding-top: 4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .member-card {
    min-height: auto;
  }
}


/* v5 refinements */
.hero-actions:has(.button:only-child) {
  margin-top: 3.2rem;
}

.portrait-dick {
  object-position: center center;
}

/* v6 responsive fixes for About page and mobile scaling */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.site-header,
.brand,
.site-nav,
.hero,
.hero-copy,
.hero-visual,
.hero-actions,
.section-heading,
.board-grid,
.member-card,
.button {
  min-width: 0;
}

.button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

/* These classes are used by about.html. Specificity is intentionally higher
   than the About page's local rules so mobile behavior remains consistent. */
body .about-section,
body .about-grid,
body .about-card,
body .about-contact {
  min-width: 0;
  max-width: 100%;
}

body .about-card p,
body .section-heading p:not(.eyebrow),
body .about-lead {
  overflow-wrap: break-word;
}

body .about-contact .button {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 1050px) {
  .site-nav {
    -webkit-overflow-scrolling: touch;
  }

  body .about-grid {
    grid-template-columns: 1fr;
  }

  body .about-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  h1 small {
    width: auto;
    max-width: 100%;
    padding: 0 1.4rem;
    letter-spacing: 0.28em;
    text-align: center;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    justify-content: center;
    padding-inline: 0.9rem;
    letter-spacing: 0.12em;
  }

  body .about-lead {
    max-width: 100%;
    font-size: 1.12rem;
  }

  body .about-section {
    padding: clamp(3.2rem, 10vw, 4rem) clamp(1rem, 4vw, 1.25rem);
  }

  body .about-card {
    min-height: auto;
    padding: clamp(1.35rem, 6vw, 1.75rem);
  }

  body .about-card p,
  body .section-heading p:not(.eyebrow) {
    font-size: 1.08rem;
  }

  body .about-contact .button {
    width: 100%;
    padding-inline: 0.85rem;
    font-size: 0.66rem;
    letter-spacing: 0.09em;
  }
}
