@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #0a0a0a; --muted: #686868; --paper: #fafafa; --line: #dcdcdc; --white: #fff;
  --font: 'Manrope', Arial, sans-serif;
  --page-width: 90%;
  --gutter: clamp(1rem, 2.2vw, 3.5rem);
  --section-gap: clamp(1.75rem, 4vw, 6rem);
  --text: clamp(.875rem, .78rem + .28vw, 1.25rem);
  --caption: clamp(.68rem, .61rem + .2vw, .95rem);
  --radius: .25rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: var(--text)/1.65 var(--font); }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 1px solid var(--ink); border-radius: var(--radius); padding: .95em 1.4em; background: var(--ink); color: #fff; font-weight: 600; min-block-size: 2.875rem; transition: background .18s, color .18s; }
button:hover { background: #303030; }
button:disabled { opacity: .5; cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #727272; outline-offset: .3rem; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2rem, 1.25rem + 3.6vw, 6.5rem); line-height: 1.09; letter-spacing: -.06em; font-weight: 600; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.45rem, 1rem + 1.55vw, 3.6rem); line-height: 1.2; letter-spacing: -.045em; font-weight: 600; overflow-wrap: anywhere; }
h3 { font-size: clamp(1.25rem, 1rem + .65vw, 2.1rem); line-height: 1.3; letter-spacing: -.035em; font-weight: 600; }
.masthead, main { width: var(--page-width); margin-inline: auto; }
.masthead { padding-block: clamp(1.4rem, 2.7vw, 4rem); display: flex; justify-content: space-between; align-items: center; gap: 5%; border-bottom: 1px solid var(--line); }
.brand { display: block; width: clamp(9rem, 19%, 29rem); max-width: 52%; flex-shrink: 0; line-height: 0; }
.brand img { width: 100%; height: auto; }
.club-tag { min-width: 0; overflow-wrap: anywhere; font-size: var(--caption); letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.club-location { display: block; color: var(--muted); text-transform: none; letter-spacing: 0; margin-top: .4em; }
.status-dot { display: inline-block; width: .4em; aspect-ratio: 1; border-radius: 50%; background: currentColor; margin-right: .6em; vertical-align: middle; }
main { padding-top: clamp(1rem, 2vw, 3rem); }
.eyebrow { display: block; font-size: var(--caption); letter-spacing: .13em; font-weight: 600; line-height: 1.6; margin-bottom: clamp(.8rem, 1.25vw, 1.8rem); }
.muted { color: var(--muted); }
.accent { color: #929292; }
.tabs { display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 3.5vw, 5.6rem); border-bottom: 1px solid var(--line); margin-bottom: var(--section-gap); }
.tabs button { display: flex; align-items: center; gap: .8em; padding: .6em 0 1.2em; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--muted); font-size: clamp(.85rem, .73rem + .35vw, 1.25rem); }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected=true] { color: var(--ink); border-bottom-color: var(--ink); }
.tab-number { font-size: .68em; opacity: .6; }
.tab-arrow { margin-left: .8em; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 5%; margin-bottom: clamp(1.6rem, 3vw, 4.5rem); }
.section-heading > div { min-width: 0; }
.section-heading p { margin-top: 1.1em; }
.stamp { font-size: var(--caption); color: var(--muted); border-left: 1px solid var(--line); padding-left: clamp(1rem, 2vw, 3rem); line-height: 1.8; letter-spacing: .1em; white-space: nowrap; }
.stamp strong { color: var(--ink); font-weight: 600; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: var(--gutter); }
.profile-card { position: relative; overflow: hidden; border-radius: var(--radius); background: #cdcdcd; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; min-block-size: clamp(20rem, 33vw, 53rem); }
.portrait { position: absolute; inset: 0; background: linear-gradient(135deg, #d8d8d8, #747474); }
.portrait:empty::after { content: 'I /'; position: absolute; inset: 5% 8% auto auto; color: #ffffff65; font-weight: 800; font-size: clamp(5rem, 13vw, 22rem); line-height: 1; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.profile-info { z-index: 1; position: relative; width: 100%; padding: clamp(4rem, 10vw, 12rem) 6% 6%; background: linear-gradient(transparent, #000a 48%, #000e); color: white; }
.profile-info h2 { max-width: 20ch; margin-bottom: .35em; }
.profile-info .muted { color: #d4d4d4; overflow-wrap: anywhere; }
.pill { display: inline-block; max-width: 100%; padding: .45em .85em; background: #fff; color: #111; border: 1px solid #ddd; border-radius: .15rem; font-size: var(--caption); font-weight: 600; line-height: 1.4; margin-bottom: 1.1em; overflow-wrap: anywhere; }
.membership { position: relative; min-width: 0; padding: 7%; border-radius: var(--radius); background: #0b0b0b; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.membership-top { display: flex; justify-content: space-between; align-items: center; gap: 1em; margin-bottom: clamp(1.5rem, 2vw, 3rem); }
.membership .eyebrow { color: #bcbcbc; margin: 0; }
.orbit { font-size: clamp(1.8rem, 3.6vw, 5.5rem); line-height: 1; font-weight: 400; }
.membership-title { margin-bottom: 1em; }
.membership-title h2 { max-width: 13ch; font-size: clamp(1.7rem, 1.2rem + 2vw, 4.6rem); }
.membership p { color: #c7c7c7; overflow-wrap: anywhere; }
.divider { width: 100%; height: 1px; background: #393939; margin-block: clamp(1rem, 2vw, 3rem); }
.membership .small { font-size: var(--caption); color: #acacac; margin-top: clamp(1.2rem, 2vw, 3rem); line-height: 1.7; }
.light-button { align-self: flex-start; max-width: 100%; margin-top: 1em; color: #111; background: #fff; font-size: var(--caption); }
.light-button:hover { background: #ddd; }
.details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: var(--gutter); }
.detail { border-top: 1px solid var(--line); padding-block: clamp(1.4rem, 2.6vw, 4rem); min-width: 0; }
.section-number { display: block; color: var(--muted); font-size: var(--caption); margin-bottom: 1.2em; }
.detail h3 { margin-bottom: .7em; }
.detail p { white-space: pre-wrap; overflow-wrap: anywhere; color: #434343; max-width: 55ch; }
#moderation { display: inline-flex; align-items: center; gap: .7em; font-size: var(--caption); }
#moderation::before { content: ''; width: .45em; aspect-ratio: 1; background: #777; border-radius: 50%; }
.welcome { padding-block: clamp(2rem, 5.5vw, 8rem); }
.welcome h1 { font-size: clamp(2.75rem, 1.5rem + 6.6vw, 11.75rem); line-height: 1.02; margin-block: .3em .55em; }
.outline-word { color: var(--paper); -webkit-text-stroke: 1px var(--ink); }
.welcome-bottom { display: flex; justify-content: space-between; gap: 5%; align-items: flex-end; }
.welcome-bottom > p { color: var(--muted); }
.welcome-bottom > div { max-width: 48%; }
#login-hint { font-size: var(--caption); margin-top: 1em; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 5%; border-top: 1px solid var(--line); margin-top: var(--section-gap); padding-block: clamp(1.5rem, 3.2vw, 5rem); font-size: var(--caption); color: var(--muted); }
.footer-brand { color: var(--ink); font-size: clamp(.9rem, .8rem + .45vw, 1.5rem); letter-spacing: -.04em; font-weight: 800; }
.footer-brand span { font-size: .7em; letter-spacing: 0; font-weight: 500; }
.back-top { display: grid; place-items: center; text-decoration: none; border: 1px solid var(--line); font-size: 1.3em; min-width: 2.875rem; min-height: 2.875rem; }
.filters { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; gap: var(--gutter); align-items: end; padding-bottom: var(--gutter); border-bottom: 1px solid var(--line); margin-bottom: var(--gutter); }
.filters > * { min-width: 0; }
.filters label { display: block; font-size: var(--caption); color: var(--muted); margin-bottom: .6em; }
input, select { width: 100%; min-width: 0; min-height: 3rem; padding: .95em 1em; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); }
.outline { color: var(--ink); background: transparent; border-color: var(--line); }
.outline:hover { color: white; background: var(--ink); border-color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.contact-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.contact-photo { aspect-ratio: 1.25; background: linear-gradient(130deg, #e3e3e3, #8c8c8c); position: relative; overflow: hidden; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; position: absolute; inset: 0; }
.contact-body { padding: 8%; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.contact-body h2 { font-size: clamp(1.25rem, .9rem + 1vw, 2.8rem); margin-bottom: .9em; }
.contact-body .label { font-size: clamp(.625rem, .58rem + .17vw, .9rem); letter-spacing: .09em; color: var(--muted); margin-bottom: .6em; }
.contact-body p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: clamp(.825rem, .75rem + .2vw, 1.1rem); }
.contact-body .muted { margin-top: 1.5em; }
.contact-body a { display: block; width: 100%; margin-top: auto; padding-top: 1.8em; text-decoration: none; font-weight: 700; font-size: var(--caption); }
.contact-body a:hover { text-decoration: underline; text-underline-offset: .3em; }
.empty { padding: clamp(2rem, 5vw, 7rem) 6%; background: #ededed; border: 1px solid var(--line); }
.empty p { margin-top: 1em; }
.cards:empty { display: none; }
#notice { padding: 1em 1.3em; background: #efefef; border-left: 3px solid #111; margin-bottom: var(--gutter); overflow-wrap: anywhere; }
#directory-status { margin-block: var(--gutter); text-align: center; font-size: var(--caption); }
#sentinel { height: 1rem; }
@media (min-width: 112rem) {
  :root { --page-width: 88%; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 64rem) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters > button { grid-column: 1 / -1; }
  .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-card { aspect-ratio: auto; min-height: 0; }
}
@media (max-width: 44rem) {
  .profile-grid, .details-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-card { min-block-size: 0; aspect-ratio: 1.1; }
  .profile-info { padding: 24% 6% 7%; }
  .membership { padding: 8%; }
  .membership-title h2 { max-width: 15ch; }
  .membership-top { margin-bottom: 1.6rem; }
  .welcome-bottom { display: block; }
  .welcome-bottom > div { max-width: 100%; margin-top: 1.5rem; }
  .stamp { display: none; }
  .club-location { display: none; }
  footer > span:nth-child(2) { display: none; }
}
@media (max-width: 36rem) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .contact-photo { aspect-ratio: 1.2; }
  .contact-body h2 { font-size: 1.65rem; }
  .contact-body p { font-size: .95rem; }
  input, select { font-size: 1rem; }
  .filters { gap: 1rem; }
}
@media (max-width: 23rem) {
  .filters { grid-template-columns: minmax(0, 1fr); }
  .club-tag { font-size: .625rem; letter-spacing: .01em; }
  .tabs { gap: 1.25rem; }
  .tab-arrow { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  button { transition: none; }
}
