:root {
  --ink: #1b1514;
  --paper: #eee8df;
  --paper-light: #f7f4ee;
  --wine: #701c25;
  --wine-deep: #291114;
  --gold: #b89866;
  --muted: #897f75;
  --display: "Iowan Old Style", "Baskerville", "Songti SC", "Noto Serif SC", serif;
  --sans: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.grain { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }

.topbar { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 28px clamp(22px, 5vw, 76px); color: #f7f2e9; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(247,242,233,.55); border-radius: 50%; font: 600 12px/1 var(--sans); letter-spacing: -.08em; }
.brand-lockup { display: grid; gap: 2px; }
.brand-lockup strong { font: 500 15px/1 var(--display); letter-spacing: .08em; }
.brand-lockup small { color: rgba(247,242,233,.57); font-size: 8px; letter-spacing: .17em; }
.nav { display: flex; gap: 38px; margin-left: 13%; font-size: 11px; letter-spacing: .18em; }
.nav a { position: relative; color: rgba(247,242,233,.73); transition: color .25s ease; }
.nav a::after { content: ""; position: absolute; bottom: -7px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width .25s ease; }
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }
.top-status { color: rgba(247,242,233,.52); font-size: 9px; letter-spacing: .2em; }
.top-status i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #afc49a; box-shadow: 0 0 0 4px rgba(175,196,154,.12); }

.hero { position: relative; min-height: min(900px, 94vh); overflow: hidden; color: #f8f3eb; background: #1c1715; }
.hero-image { position: absolute; inset: 0; background: url("assets/lounge-hero.jpg") 62% center / cover no-repeat; transform: scale(1.02); }
.hero-image { background-image: image-set(url("assets/lounge-hero.webp") type("image/webp") 1x, url("assets/lounge-hero-1000.webp") type("image/webp") 2x, url("assets/lounge-hero-1000.webp") 3x, url("assets/lounge-hero.jpg") type("image/jpeg") 1x, url("assets/lounge-hero-1000.jpg") type("image/jpeg") 2x, url("assets/lounge-hero-1000.jpg") type("image/jpeg") 3x); }
.hero-image { background-image: -webkit-image-set(url("assets/lounge-hero.webp") type("image/webp") 1x, url("assets/lounge-hero-1000.webp") type("image/webp") 2x); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,13,12,.92) 0%, rgba(18,13,12,.67) 34%, rgba(18,13,12,.17) 70%, rgba(18,13,12,.2) 100%), linear-gradient(0deg, rgba(18,13,12,.58), transparent 33%); }
.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: min(900px, 94vh); max-width: 1400px; margin: 0 auto; padding: 150px clamp(22px, 9vw, 140px) 100px; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 30px; color: rgba(248,243,235,.67); font-size: 9px; letter-spacing: .24em; }
.eyebrow b { width: 38px; height: 1px; background: var(--gold); }
h1 { margin: 0; max-width: 780px; font: 400 clamp(4.4rem, 12vw, 10.8rem)/.79 var(--display); letter-spacing: -.09em; }
h1 span, h1 em { display: block; }
h1 em { margin-left: clamp(42px, 8vw, 130px); color: transparent; -webkit-text-stroke: 1px rgba(248,243,235,.8); font-style: normal; }
.hero-cta { display: inline-flex; align-items: center; gap: 24px; padding: 15px 4px 14px 0; border-bottom: 1px solid rgba(248,243,235,.5); color: #f8f3eb; font-size: 11px; letter-spacing: .17em; transition: gap .25s ease, color .25s ease; }
.hero-cta b { color: var(--gold); font-size: 21px; line-height: .5; font-weight: 400; }
.hero-cta:hover { gap: 33px; color: var(--gold); }
.hero-side-note { position: absolute; z-index: 1; right: clamp(24px, 5vw, 76px); bottom: 85px; display: grid; gap: 8px; color: rgba(248,243,235,.47); font-size: 8px; letter-spacing: .21em; writing-mode: vertical-rl; transform: rotate(180deg); }
.hero-scroll { position: absolute; z-index: 1; bottom: 28px; left: 50%; display: flex; align-items: center; gap: 10px; transform: translateX(-50%); color: rgba(248,243,235,.48); font-size: 8px; letter-spacing: .2em; }
.hero-scroll span { display: block; width: 1px; height: 32px; background: linear-gradient(var(--gold), transparent); }

.ticker { overflow: hidden; background: var(--wine); color: #eedfc9; }
.ticker-track { display: flex; align-items: center; justify-content: space-around; gap: 30px; min-width: max-content; padding: 17px 0 15px; animation: ticker 30s linear infinite; font: 11px/1 var(--display); letter-spacing: .2em; white-space: nowrap; }
.ticker-track b { color: var(--gold); font-size: 13px; font-weight: 400; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-25%); } }

.section-pad { padding: clamp(80px, 11vw, 160px) clamp(22px, 9vw, 140px); }
.section-kicker { display: flex; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid rgba(27,21,20,.2); color: var(--muted); font-size: 9px; letter-spacing: .2em; }
.members { position: relative; overflow: hidden; background: var(--wine-deep); color: #f5efe7; }
.members::before { content: "AG"; position: absolute; top: 13%; right: -1%; color: rgba(255,255,255,.025); font: 700 38vw/.75 var(--sans); letter-spacing: -.15em; pointer-events: none; }
.section-kicker-light { position: relative; border-color: rgba(245,239,231,.22); color: rgba(245,239,231,.51); }
.members-heading { position: relative; display: flex; justify-content: space-between; align-items: end; padding: clamp(60px, 8vw, 105px) 0 55px; }
.mini-label { margin: 0 0 20px; color: var(--gold); font-size: 9px; letter-spacing: .22em; }
.members h2 { margin: 0; font: 400 clamp(3.4rem, 8vw, 8.5rem)/.85 var(--display); letter-spacing: -.09em; }
.members-note { margin: 0 0 8px; color: rgba(245,239,231,.6); font-size: 11px; line-height: 1.7; letter-spacing: .04em; text-align: right; }
.member-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.member-card { position: relative; display: flex; min-height: 330px; overflow: hidden; padding: 23px; border: 1px solid rgba(245,239,231,.21); color: #f5efe7; background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.015)); text-align: left; cursor: pointer; transition: transform .35s ease, border-color .35s ease, background .35s ease; }
.member-card:nth-child(2) { background: linear-gradient(145deg, rgba(174,127,75,.18), rgba(255,255,255,.015)); }
.member-card:nth-child(3) { background: linear-gradient(145deg, rgba(90,116,109,.2), rgba(255,255,255,.015)); }
.member-card:nth-child(4) { background: linear-gradient(145deg, rgba(215,173,175,.17), rgba(255,255,255,.015)); }
.member-card:nth-child(5) { background: linear-gradient(145deg, rgba(115,79,48,.2), rgba(255,255,255,.015)); }
.member-card-featured { grid-column: span 2; min-height: 450px; }
.member-card-wide { grid-column: span 2; min-height: 285px; }
.member-card:hover { z-index: 1; transform: translateY(-9px); border-color: rgba(220,186,127,.83); background-color: rgba(255,255,255,.1); }
.card-number { position: relative; z-index: 2; color: rgba(245,239,231,.53); font-size: 9px; letter-spacing: .2em; }
.card-symbol { position: absolute; z-index: 1; top: 46%; left: 50%; color: rgba(245,239,231,.88); font: 400 clamp(6rem, 14vw, 14rem)/.8 var(--display); letter-spacing: -.2em; transform: translate(-50%, -50%); opacity: .86; }
.card-orbit { position: absolute; left: 50%; top: 50%; width: 58%; aspect-ratio: 1; border: 1px solid rgba(229,195,141,.45); border-radius: 50%; transform: translate(-50%, -50%) rotate(-27deg); }
.orbit-one { width: 72%; border-color: rgba(229,195,141,.2); transform: translate(-50%, -50%) rotate(62deg) scaleY(.34); }
.orbit-two { transform: translate(-50%, -50%) rotate(-27deg) scaleY(.34); }
.card-name { position: absolute; z-index: 2; bottom: 24px; left: 23px; font: 400 clamp(2rem, 4vw, 4.4rem)/1 var(--display); letter-spacing: -.08em; }
.card-arrow { position: absolute; z-index: 2; right: 22px; bottom: 21px; color: var(--gold); font-size: 24px; font-weight: 300; transition: transform .25s ease; }
.member-card:hover .card-arrow { transform: translate(4px, -4px); }

.footer { display: flex; justify-content: space-between; padding: 21px clamp(22px, 5vw, 76px); background: #1b1514; color: rgba(247,242,233,.55); font-size: 9px; letter-spacing: .18em; }

.modal[hidden] { display: none; }
.modal { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 22px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(16,10,10,.78); backdrop-filter: blur(10px); animation: fade-in .25s ease both; }
.modal-card { position: relative; z-index: 1; width: min(510px, 100%); min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 35px 36px; border: 1px solid rgba(233,200,145,.45); color: #f5efe7; background: radial-gradient(circle at 50% 44%, rgba(127,51,57,.48), transparent 39%), #261416; box-shadow: 0 25px 90px rgba(0,0,0,.4); animation: modal-in .35s cubic-bezier(.2,.8,.2,1) both; }
.modal-close { position: absolute; top: 17px; right: 20px; border: 0; color: rgba(245,239,231,.75); background: transparent; font-size: 26px; font-weight: 200; cursor: pointer; }
.modal-kicker, .modal-foot { display: flex; justify-content: space-between; width: 100%; color: rgba(245,239,231,.52); font-size: 8px; letter-spacing: .2em; }
.modal-kicker { position: absolute; top: 22px; left: 35px; width: calc(100% - 70px); }
.modal-symbol { display: grid; place-items: center; width: 165px; height: 165px; margin-bottom: 34px; border: 1px solid rgba(218,179,112,.6); border-radius: 50%; color: #e5c18b; font: 400 8rem/.8 var(--display); letter-spacing: -.2em; box-shadow: 0 0 0 11px rgba(218,179,112,.05), 0 0 0 12px rgba(218,179,112,.2); }
.modal-card h2 { margin: 0; font: 400 4.4rem/1 var(--display); letter-spacing: -.12em; }
.modal-empty { margin: 18px 0 55px; color: rgba(245,239,231,.59); font-size: 12px; letter-spacing: .12em; }
.modal-foot { position: absolute; right: 35px; bottom: 22px; left: 35px; width: auto; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 800px) {
  .topbar { padding-top: 20px; }
  .nav { gap: 18px; margin-left: auto; margin-right: 22px; }
  .top-status { display: none; }
  .hero { min-height: 780px; }
  .hero-content { min-height: 780px; padding-top: 125px; }
  .hero-image { background-position: 58% center; background-image: url("assets/lounge-hero.png"); }
  h1 { font-size: clamp(4.4rem, 19vw, 8rem); }
  h1 em { margin-left: 40px; }
  .hero-side-note { right: 18px; bottom: 95px; }
  .members-heading { align-items: start; flex-direction: column; gap: 30px; }
  .members-note { text-align: left; }
  .member-grid { grid-template-columns: repeat(2, 1fr); }
  .member-card, .member-card-featured, .member-card-wide { grid-column: span 1; min-height: 290px; }
  .member-card-featured { grid-column: span 2; min-height: 390px; }
  .card-symbol { font-size: clamp(6rem, 22vw, 10rem); }
}

@media (max-width: 480px) {
  .brand-lockup small { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .nav { font-size: 9px; letter-spacing: .1em; }
  .hero-content { padding-right: 46px; }
  .section-kicker { font-size: 8px; }
  .member-grid { gap: 8px; }
  .member-card, .member-card-wide { min-height: 250px; padding: 16px; }
  .member-card-featured { min-height: 340px; }
  .card-name { bottom: 17px; left: 16px; font-size: 2.2rem; }
  .card-number { font-size: 8px; }
  .card-arrow { right: 15px; bottom: 14px; font-size: 20px; }
  .modal-card { min-height: 450px; }
  .modal-symbol { width: 135px; height: 135px; font-size: 6.5rem; }
  .modal-card h2 { font-size: 3.5rem; }
}
