.account-layout { max-width: 1400px; margin: 18px auto 64px; display: grid; grid-template-columns: minmax(280px,.85fr) minmax(540px,1.15fr); gap: clamp(32px,5vw,80px); padding: 0 4%; align-items: start; }
.account-welcome { position: sticky; top: 24px; isolation: isolate; min-height: 780px; overflow: hidden; color: var(--paper); background: var(--olive); }
.account-welcome > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.account-welcome::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,transparent 15%,#172b2380 55%,#172b23f5); }
.account-welcome-copy { position: absolute; inset: auto 0 0; padding: clamp(28px,4vw,52px); }
.account-welcome h1 { margin: 0 0 24px; font: clamp(62px,7vw,98px)/.93 var(--serif); letter-spacing: -3px; }
.account-welcome h1 em { color: var(--rose); font-weight: 400; }
.account-welcome-copy > p:last-child { margin: 0; line-height: 1.7; }
.account-panel { min-width: 0; padding-top: 20px; }
.account-intro h2 { margin: 0 0 20px; font: clamp(42px,4vw,62px)/1.05 var(--serif); letter-spacing: -1.7px; }
.account-intro > p:last-child { max-width: 46ch; margin: 0 0 28px; color: #59635d; }
.member-center-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 24px; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.member-center-nav a { padding: 5px 0; color: #59635d; font-size: 14px; font-weight: 600; text-decoration: none; }
.member-center-nav a[aria-current="page"] { color: var(--olive); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.member-spaces { margin: 0 0 24px; padding: clamp(22px,3vw,30px); border-radius: 14px; background: var(--olive); color: var(--paper); }
.member-spaces-heading { max-width: 62ch; }
.member-spaces-heading .eyebrow { margin-bottom: 7px; color: #e4d3be; font-size: 10px; }
.member-spaces-heading h3 { margin: 0; color: var(--paper); font: 32px/1.1 var(--serif); letter-spacing: -.7px; }
.member-spaces-heading > p:last-child { margin: 12px 0 22px; color: #f7f3ebcc; font-size: 14px; line-height: 1.6; }
.member-space-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; border: 1px solid #ffffff30; background: #ffffff30; }
.member-space-grid > a { min-width: 0; padding: 20px 18px; display: flex; flex-direction: column; background: var(--olive); color: var(--paper); text-decoration: none; }
.member-space-grid > a:hover { background: #2d4338; }
.member-space-grid > a:focus-visible { position: relative; z-index: 1; outline-color: #e3b969; outline-offset: -4px; }
.member-space-label { margin-bottom: 8px; color: #e4d3be; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.member-space-grid strong { font: 23px/1.15 var(--serif); }
.member-space-grid strong + span { margin: 10px 0 18px; color: #f7f3ebbd; font-size: 13px; line-height: 1.5; }
.member-space-action { margin-top: auto; font-size: 13px; font-weight: 700; }
.member-space-action span { margin-left: 7px; }
.member-center-card { margin: 0 0 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.member-center-card-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.member-center-card .eyebrow { margin-bottom: 5px; color: #75614d; font-size: 10px; }
.member-center-card h3 { margin: 0; font: 30px/1.1 var(--serif); letter-spacing: -.6px; }
.member-center-card p:last-child { max-width: 62ch; margin: 12px 0 0; color: #59635d; font-size: 15px; line-height: 1.65; }
.member-center-badge { padding: 5px 9px; border-radius: 999px; background: #e7efe8; color: #31523d; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.billing-card { margin-top: 20px; background: #fbf7ef; }
.billing-card .member-center-card-heading > a { padding-top: 6px; color: var(--olive); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.account-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--olive); flex-shrink: 0; }
.member-account .gateway-frame { height: 650px; }
.account-help { margin-top: 20px; padding: 18px 20px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; }
.account-help summary { cursor: pointer; font-weight: 600; }
.account-help summary:focus-visible { outline: 3px solid #936223; outline-offset: 4px; }
.account-help p { color: #59635d; }
.account-help a { display: inline-block; padding: 10px 0; font-weight: 600; }
.account-help p:last-child { margin-bottom: 0; }
.account-support { margin-top: 22px; font-size: 14px; color: #59635d; }
@media (max-width: 1000px) {
  .account-layout { grid-template-columns: minmax(0,1fr); max-width: 820px; }
  .account-welcome { position: relative; min-height: 310px; }
  .account-welcome > img { object-position: center 50%; }
  .account-welcome h1 { font-size: 66px; }
  .account-welcome-copy { padding: 28px; }
  .account-welcome-copy > p:last-child { display: none; }
  .account-panel { padding-top: 0; }
}
@media (max-width: 600px) {
  .account-layout { margin-top: 8px; padding: 0 5%; gap: 28px; }
  .account-welcome { min-height: 230px; }
  .account-welcome h1 { font-size: 58px; margin-bottom: 0; }
  .account-welcome .eyebrow { font-size: 10px; }
  .account-intro h2 { font-size: 42px; }
  .member-center-card { padding: 18px; }
  .member-spaces { padding: 22px 18px; }
  .member-spaces-heading h3 { font-size: 28px; }
  .member-space-grid { display: block; border: 0; background: transparent; }
  .member-space-grid > a { padding: 18px 0; border-top: 1px solid #ffffff30; }
  .member-space-grid > a:last-child { padding-bottom: 0; }
  .member-space-grid > a:hover { background: transparent; }
  .member-center-card h3 { font-size: 27px; }
  .billing-card .member-center-card-heading { align-items: start; }
  .billing-card .member-center-card-heading > a { padding-top: 2px; white-space: normal; text-align: right; }
  .member-account .gateway-frame { height: 680px; }
}
