/* St Ives, after the St Annes Old Links template (Albatross, sites.crm.golf/st-annes/).
   The template's look and rhythm in plain CSS (it used the Tailwind CDN): wide-tracked capitals, small gold
   eyebrows, deep navy grounds, full-screen photograph panels between sections, a light Visiting section.
   St Ives brand: Club Navy for the template's navy, Fairway Gold and Light Gold for its gold, Warm Stone for its
   mist. One typeface, as on every St Ives design: Proxima Nova from the club's Typekit kit. The template's character
   is kept through spacing and scale: light (300) capitals tracked wide and set large, and the second line of a
   headline in Proxima Nova's regular italic (the kit's only italic). */

:root {
  --navy: #0D306F;            /* Club Navy: the template's navy */
  --deep: #081F4A;            /* Club Navy, deeper: the template's navy-deep, for alternating dark grounds */
  --deep-rgb: 8, 31, 74;
  --gold: #A17B2C;            /* Fairway Gold: rules and large type only */
  --gold-l: #D9B764;          /* Light Gold: small gold type, on navy only */
  --stone: #F4F1F0;           /* Warm Stone: the template's mist (light ground, and text on navy) */
  --sky: #20609E;
  --display: proxima-nova, Arial, Helvetica, sans-serif;
  --text: proxima-nova, Arial, Helvetica, sans-serif;
  --track: .34em;
  --track-w: .5em;
  --track-d: .16em;           /* display capitals: Proxima Nova is wider than the template's serif, so less air */
  --gut: 20px;
  --pill-clear: 0px;
}
@media (min-width: 640px) { :root { --gut: 32px; } }
@media (max-width: 640px) { :root { --track: .14em; --track-w: .22em; --track-d: .08em; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.rm { scroll-behavior: auto; }
body { margin: 0; background: var(--deep); color: var(--stone); font-family: var(--text); font-weight: 300;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
figure, h1, h2, h3, p, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 3px; }
.visiting :focus-visible { outline-color: var(--sky); }
::selection { background: var(--gold-l); color: var(--deep); }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--stone); color: var(--navy); padding: 12px 16px;
  font-size: 13px; }
.skip:focus { top: 12px; }
.sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 60px; pointer-events: none; }
section[id], #ask { scroll-margin-top: 0; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--text); font-weight: 400; font-size: 11px; letter-spacing: var(--track-w); text-transform: uppercase;
  margin-bottom: 28px; }
.eyebrow--gold { color: var(--gold-l); }
.eyebrow--sky { color: var(--sky); font-weight: 600; }
.display { font-family: var(--display); font-weight: 300; text-transform: uppercase; letter-spacing: var(--track-d); line-height: 1.04;
  color: var(--stone); }
.display em, .hero__title em { font-style: italic; font-weight: 400; letter-spacing: .06em; }
.display--xl { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.5rem); line-height: 1.02; margin-bottom: 28px; }
.display--lg { font-size: clamp(2.4rem, 1.7rem + 2.4vw, 3.75rem); margin-bottom: 28px; }
.display--h3 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); line-height: 1.1; }
.display--para { text-transform: none; letter-spacing: 0; font-size: clamp(1.8rem, 1.2rem + 1.9vw, 2.8rem); line-height: 1.2; }
.display--navy { color: var(--navy); }
.body { font-size: 16px; line-height: 1.7; max-width: 30rem; }
.body--on { color: rgba(244, 241, 240, .82); }
.body--light { color: rgba(13, 48, 111, .78); }
.label { font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; font-weight: 400; margin: 10px 0 12px; }
.label--gold { color: var(--gold-l); }
a.inline { text-decoration: underline; text-decoration-color: rgba(217, 183, 100, .7); text-underline-offset: 3px; white-space: nowrap; }
a.inline:hover { color: var(--gold-l); }

/* buttons: the template's tracked capitals in a hairline box, or filled stone */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btns--centre { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 34px; font-size: 11px;
  letter-spacing: var(--track); text-transform: uppercase; font-weight: 400; transition: background-color .3s, color .3s, border-color .3s; }
.btn--stone { background: var(--stone); color: var(--navy); font-weight: 600; }
.btn--stone:hover { background: var(--gold-l); }
.btn--line { border: 1px solid rgba(244, 241, 240, .45); color: var(--stone); }
.btn--line:hover { border-color: var(--gold-l); color: var(--gold-l); }
.uline { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase;
  color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--gold); margin-top: 28px; transition: color .3s; }
.uline:hover { color: var(--sky); }
.uline--on { color: var(--stone); font-weight: 400; }
.uline--on:hover { color: var(--gold-l); }
.rule { width: 64px; height: 1px; background: rgba(161, 123, 44, .9); margin: 48px auto 0; }

/* ---------- header ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background-color .5s, backdrop-filter .5s; }
.nav::before { content: ""; position: absolute; inset: 0 0 -30px; background: linear-gradient(180deg, rgba(var(--deep-rgb), .5), rgba(var(--deep-rgb), 0));
  pointer-events: none; transition: opacity .5s; }
.nav.is-solid { background: rgba(var(--deep-rgb), .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nav.is-solid::before { opacity: 0; }
.nav__bar { position: relative; max-width: 1600px; margin: 0 auto; padding: 0 var(--gut); height: 78px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; }
.nav__brand { display: flex; flex-direction: column; justify-content: center; min-height: 44px; line-height: 1; }
.nav__name { font-family: var(--display); font-weight: 300; text-transform: uppercase; letter-spacing: var(--track); font-size: 22px; color: var(--stone); white-space: nowrap; }
.nav__sub { font-size: 9px; letter-spacing: var(--track-w); text-transform: uppercase; color: var(--gold-l); margin-top: 6px; white-space: nowrap; font-weight: 400; }
.nav__right { display: flex; align-items: center; gap: 28px; }
.nav__link { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase;
  color: rgba(244, 241, 240, .88); transition: color .3s; font-weight: 400; }
.nav__link:hover, .nav__menu:hover { color: var(--gold-l); }
.nav__ask { color: var(--gold-l); }
.nav__ask:hover { color: var(--stone); }
.nav__book { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(244, 241, 240, .5); font-size: 11px;
  letter-spacing: var(--track); text-transform: uppercase; color: var(--stone); font-weight: 400; white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s; }
.nav__book:hover { background: var(--stone); color: var(--navy); border-color: var(--stone); }
.nav__menu { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; min-width: 44px; justify-content: center; color: var(--stone); transition: color .3s; }
.nav__menu-label { font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; font-weight: 400; }
.nav__burger { display: flex; flex-direction: column; gap: 5px; width: 28px; }
.nav__burger i { display: block; height: 1px; width: 100%; background: currentColor; }
.nav__burger i:last-child { width: 66%; }
@media (max-width: 1023px) { .nav__wide { display: none; } }
@media (max-width: 639px) {
  .nav__bar { height: 68px; gap: 8px; }
  .nav__name { font-size: 19px; letter-spacing: .2em; }
  .nav__sub { font-size: 8px; letter-spacing: .16em; }
  .nav__right { gap: 4px; flex: none; }
  .nav__book { padding: 0 10px; letter-spacing: .1em; font-size: 10px; }
  .nav__menu-label { display: none; }
}
@media (max-width: 359px) { .nav__sub { display: none; } }

/* ---------- menu overlay ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: var(--deep); opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; overflow-y: auto; }
.overlay[hidden] { display: none; }
.overlay.is-open { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
.overlay__grid { min-height: 100%; display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .overlay__grid { grid-template-columns: 1fr .85fr; position: absolute; inset: 0; } }
.overlay__main { display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gut) 56px; }
@media (min-width: 640px) { .overlay__main { padding-left: 64px; padding-right: 64px; } }
@media (min-width: 1024px) { .overlay__main { padding-left: 96px; } }
.overlay__nav a { display: inline-flex; align-items: center; min-height: 48px; font-family: var(--display); font-weight: 300; text-transform: uppercase;
  letter-spacing: var(--track-d); font-size: clamp(2rem, 1.2rem + 3.3vw, 3.75rem); line-height: 1.12; color: var(--stone); transition: color .3s; }
.overlay__nav a:hover { color: var(--gold-l); }
.overlay__book { margin-top: 32px; }
.overlay__meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 0 36px; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: rgba(244, 241, 240, .7); }
.overlay__meta a, .overlay__meta > span { display: inline-flex; align-items: center; min-height: 44px; }
.overlay__meta a:hover { color: var(--gold-l); }
.overlay__media { position: relative; display: none; overflow: hidden; }
.overlay__media::after { content: ""; position: absolute; inset: 0; background: rgba(var(--deep-rgb), .3); }
.overlay__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .overlay__media { display: block; } }
.overlay__close { position: absolute; top: 17px; right: var(--gut); display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding-left: 8px;
  font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--stone); transition: color .3s; z-index: 2;
  padding: 0 14px 0 18px; background: rgba(var(--deep-rgb), .72); }
@media (min-width: 640px) { .overlay__close { top: 17px; } }
.overlay__close:hover { color: var(--gold-l); }
.overlay__x { position: relative; width: 24px; height: 24px; }
.overlay__x i { position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: currentColor; transform: rotate(45deg); }
.overlay__x i + i { transform: rotate(-45deg); }
.ov-link { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.overlay.is-open .ov-link { opacity: 1; transform: none; }
.overlay.is-open .ov-link:nth-child(1), .overlay.is-open .overlay__nav .ov-link:nth-child(1) { transition-delay: .12s; }
.overlay.is-open .overlay__nav .ov-link:nth-child(2) { transition-delay: .18s; }
.overlay.is-open .overlay__nav .ov-link:nth-child(3) { transition-delay: .24s; }
.overlay.is-open .overlay__nav .ov-link:nth-child(4) { transition-delay: .30s; }
.overlay.is-open .overlay__nav .ov-link:nth-child(5) { transition-delay: .36s; }
.overlay.is-open .overlay__nav .ov-link:nth-child(6) { transition-delay: .42s; }
.overlay.is-open .overlay__book, .overlay.is-open .overlay__meta { transition-delay: .48s; }
html.lock, html.lock body { overflow: hidden; }

/* ---------- photograph panels ---------- */
.panel { position: relative; overflow: hidden; display: flex; }
.panel::before { content: ""; position: absolute; inset: 0; background: rgba(var(--deep-rgb), .07); z-index: 1; pointer-events: none; }
.panel__media { position: absolute; inset: 0; overflow: hidden; }
.panel__media img, .panel__media picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__media img { filter: contrast(1.02) brightness(1.04) saturate(1.04); }
html.js:not(.rm) .px { will-change: transform; }
.scrim-full, .scrim-soft, .scrim-flat { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.scrim-full { background: linear-gradient(180deg, rgba(var(--deep-rgb), .55) 0%, rgba(var(--deep-rgb), .2) 38%, rgba(var(--deep-rgb), .84) 100%); }
.scrim-soft { background: linear-gradient(180deg, rgba(var(--deep-rgb), .3) 0%, rgba(var(--deep-rgb), .12) 45%, rgba(var(--deep-rgb), .8) 100%); }
.scrim-flat { background: rgba(var(--deep-rgb), .55); }
.panel h1, .panel h2, .panel h3, .panel p, .panel .hole__n { text-shadow: 0 1px 18px rgba(0, 0, 0, .55); }
.panel__in { position: relative; z-index: 2; width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gut); }
.panel--end { align-items: flex-end; }
.panel--end .panel__in { padding-bottom: 80px; }
.panel--centre { align-items: center; text-align: center; }
.panel--full { min-height: 100vh; min-height: 100svh; }
.panel--tall { min-height: max(520px, 88vh); min-height: max(520px, 88svh); }
.panel--hole { height: max(460px, 80vh); height: max(460px, 80svh); }
.panel--hole .panel__in { padding-bottom: 56px; }
@media (min-width: 640px) { .panel--end .panel__in { padding-bottom: 112px; } .panel--hole .panel__in { padding-bottom: 80px; } }
.panel__copy { max-width: 36rem; }
.panel__centre { max-width: 44rem; margin: 0 auto; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 36px; margin-top: 30px; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: rgba(244, 241, 240, .78); font-weight: 400; }
.hole { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 40px; }
.hole__n { font-family: var(--display); font-weight: 300; font-size: clamp(4.5rem, 3rem + 6vw, 8rem); line-height: .85; color: rgba(244, 241, 240, .9); font-variant-numeric: lining-nums; }
.hole__copy { padding-bottom: 6px; max-width: 30rem; }
.hole__copy .display--h3 { margin: 0; }

/* hero */
.hero { height: 100vh; height: 100svh; min-height: 620px; align-items: center; justify-content: center; }
.hero__media { position: absolute; inset: 0; overflow: hidden; background: var(--deep); }
.hero__media picture, .hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__poster { transition: opacity .6s ease; }
.hero__video { opacity: 0; transition: opacity .8s ease; }
.hero.is-playing .hero__video { opacity: 1; }
.hero.is-playing .hero__poster { opacity: 0; }
html:not(.js) .hero__video { display: none; }
.hero__copy { position: relative; z-index: 2; text-align: center; padding: 0 var(--gut); max-width: 84rem; }
.hero__title { font-family: var(--display); font-weight: 300; text-transform: uppercase; letter-spacing: var(--track-d); line-height: 1.04; color: var(--stone);
  font-size: clamp(2.2rem, 1.1rem + 3.6vw, 4.1rem); }
.hero__title > span, .hero__title > em { display: block; text-wrap: balance; }
.hero__title em { margin-top: .12em; }
.hero__copy .eyebrow { margin-bottom: 32px; }
.hero__lede { margin: 36px auto 0; max-width: 32rem; font-size: 16px; line-height: 1.7; color: rgba(244, 241, 240, .85); }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.hero__bar { max-width: 1600px; margin: 0 auto; padding: 12px var(--gut); padding-right: calc(var(--gut) + 176px); display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 12px; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: rgba(244, 241, 240, .78); font-weight: 400;
  border-top: 1px solid rgba(244, 241, 240, .16); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.hero__mid { display: inline-flex; align-items: center; gap: 18px; }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll i { display: block; width: 40px; height: 1px; background: rgba(244, 241, 240, .45); }
.hero__member { justify-self: end; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; transition: color .3s; }
.hero__member:hover { color: var(--gold-l); }
.hero__pause { width: 44px; height: 44px; border: 1px solid rgba(244, 241, 240, .4); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--stone);
  transition: border-color .3s, color .3s; }
.hero__pause:hover { border-color: var(--gold-l); color: var(--gold-l); }
.hero__pause svg { width: 12px; height: 12px; }
html:not(.js) .hero__pause { display: none; }
@media (max-width: 767px) {
  .hero__bar { grid-template-columns: auto 1fr; padding-right: calc(var(--gut) + 150px); letter-spacing: .2em; }
  .hero__fact, .hero__scroll { display: none; }
  .hero__member { order: -1; justify-self: start; }
}
@media (max-width: 639px) {
  .hero__lede { font-size: 15px; margin-top: 28px; }
  .hero__copy .eyebrow { margin-bottom: 24px; letter-spacing: .24em; }
}

/* ---------- opening statement ---------- */
.statement { background: var(--deep); padding: 112px 0; }
@media (min-width: 640px) { .statement { padding: 160px 0; } }
.statement__in { max-width: 48rem; margin: 0 auto; padding: 0 var(--gut); text-align: center; }
.statement__text { font-family: var(--display); font-weight: 300; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.34; letter-spacing: -.005em; color: var(--stone); }

/* ---------- stats band ---------- */
.band { background: var(--navy); padding: 64px 0; border-top: 1px solid rgba(244, 241, 240, .1); border-bottom: 1px solid rgba(244, 241, 240, .1); }
@media (min-width: 640px) { .band { padding: 80px 0; } }
.band__in { max-width: 1400px; margin: 0 auto; padding: 0 var(--gut); text-align: center; }
.band__line { font-family: var(--display); font-weight: 300; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); line-height: 1.35; max-width: 48rem; margin: 0 auto; }
.band__stats { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; }
.band__stats > div { display: flex; flex-direction: column-reverse; align-items: center; padding: 8px 32px; position: relative; }
.band__stats > div + div::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(244, 241, 240, .2); }
.band__stats dd { font-family: var(--display); font-weight: 300; font-size: clamp(2.6rem, 2rem + 2vw, 3.75rem); line-height: 1; color: var(--stone); font-variant-numeric: lining-nums tabular-nums; }
.band__stats dt { margin-top: 12px; font-size: 10px; letter-spacing: var(--track-w); text-transform: uppercase; color: rgba(244, 241, 240, .72); font-weight: 400; }
@media (max-width: 639px) {
  .band__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .band__stats > div { padding: 0 8px; }
  .band__stats > div + div::before { display: none; }
  .band__stats > div:last-child { grid-column: 1 / -1; }
  .band__stats dt { letter-spacing: .3em; }
}

/* ---------- plan link ---------- */
.planlink { background: var(--deep); padding: 40px var(--gut); text-align: center; }
.planlink a { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-family: var(--display); font-weight: 300; text-transform: uppercase;
  letter-spacing: var(--track-d); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.875rem); color: rgba(244, 241, 240, .8); transition: color .3s; }
.planlink a:hover { color: var(--gold-l); }

/* ---------- visiting (light) ---------- */
.visiting { background: var(--stone); color: var(--navy); padding: 96px 0; }
@media (min-width: 640px) { .visiting { padding: 144px 0; } }
.visiting__grid { max-width: 1400px; margin: 0 auto; padding: 0 var(--gut); display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .visiting__grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.visiting__rows { border-top: 1px solid rgba(13, 48, 111, .16); }
.row { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid rgba(13, 48, 111, .16); flex-wrap: wrap; }
/* A gold rule draws in along the row's own line on hover (and on keyboard focus inside it); the value nudges along */
.row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left center;
  transition: transform .8s cubic-bezier(.16, 1, .3, 1); pointer-events: none; }
.row:focus-within::after { transform: scaleX(1); }
.row__h { transition: color .4s; }
@media (hover: hover) {
  .row:hover::after { transform: scaleX(1); }
  .row:hover .row__v { transform: translateX(-8px); }
  .row:hover .row__h { color: var(--sky); }
}
.row__h { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: var(--track-d); font-size: 1.35rem; line-height: 1.15; color: var(--navy); }
.row__sub { font-size: 14px; color: rgba(13, 48, 111, .72); margin-top: 6px; line-height: 1.5; font-weight: 400; }
.row__v { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-weight: 300; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.875rem); color: var(--navy);
  white-space: nowrap; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s, transform .6s cubic-bezier(.16, 1, .3, 1); }
.row__v:hover { color: var(--sky); border-bottom-color: var(--sky); }
.row__v--text:hover { color: var(--navy); border-bottom-color: transparent; }
.row__tel { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 12px 0; margin: -12px 0; }
.row__v--sm { font-size: clamp(1.15rem, 1rem + .4vw, 1.4rem); }
.visiting__note { margin-top: 20px; font-size: 13px; color: rgba(13, 48, 111, .7); line-height: 1.6; font-weight: 400; }
.visiting__note a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 639px) { .row__h { font-size: 1.2rem; letter-spacing: .1em; } }

/* ---------- membership ---------- */
.members { background: var(--navy); padding: 96px 0; }
@media (min-width: 640px) { .members { padding: 144px 0; } }
.members__in { max-width: 1400px; margin: 0 auto; padding: 0 var(--gut); text-align: center; }
.members__in .display--xl { max-width: 60rem; margin-left: auto; margin-right: auto; }
.members__p { margin: 0 auto 14px; max-width: 36rem; }
.members__flex { color: var(--stone); font-weight: 400; }

/* ---------- splits ---------- */
.split { background: var(--deep); display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } .split--rev .split__media { order: 2; } }
.split__media { position: relative; min-height: 380px; overflow: hidden; }
@media (min-width: 1024px) { .split__media { min-height: 640px; } }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.02) brightness(1.04) saturate(1.04); }
.split--rev { background: var(--navy); }
.split__copy { display: flex; align-items: center; }
.split__in { padding: 80px var(--gut); max-width: 36rem; }
@media (min-width: 640px) { .split__in { padding: 80px 48px; } }
@media (min-width: 1024px) { .split__in { padding: 80px 64px; } }
.split .display--lg { font-size: clamp(2.2rem, 1.7rem + 1.6vw, 3.25rem); }
.split__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.split__facts > div { border-top: 1px solid rgba(244, 241, 240, .2); padding-top: 12px; }
.split__k { font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: rgba(244, 241, 240, .7); font-weight: 400; }
.split__v { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--stone); }

/* ---------- ask ---------- */
.ask { background: var(--deep); padding: 96px 0; border-top: 1px solid rgba(244, 241, 240, .1); outline: none; }
@media (min-width: 640px) { .ask { padding: 128px 0; } }
.ask__in { max-width: 48rem; margin: 0 auto; padding: 0 var(--gut); text-align: center; }
.ask__p { margin: 0 auto; max-width: 36rem; }
.ask .btns { margin-top: 40px; }

/* ---------- faq ---------- */
.faq { background: var(--navy); padding: 96px 0; border-top: 1px solid rgba(244, 241, 240, .1); }
@media (min-width: 640px) { .faq { padding: 128px 0; } }
.faq__in { max-width: 48rem; margin: 0 auto; padding: 0 var(--gut); }
.faq__head { text-align: center; margin-bottom: 56px; }
.faq__head .display { margin: 0; }
.faq__list { border-top: 1px solid rgba(244, 241, 240, .14); }
.faq__item { padding: 28px 0; border-bottom: 1px solid rgba(244, 241, 240, .14); }
.faq__item h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); line-height: 1.2; color: var(--stone); margin-bottom: 12px; }
.faq__item p { font-size: 16px; line-height: 1.7; color: rgba(244, 241, 240, .82); }

/* ---------- footer ---------- */
.footer { background: var(--deep); color: rgba(244, 241, 240, .78); padding: 64px 0 40px; }
@media (max-width: 767px) { .footer { padding-bottom: 96px; } }
.footer__in { max-width: 1600px; margin: 0 auto; padding: 0 var(--gut); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(244, 241, 240, .14); }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 4fr 2fr 2fr 2fr 2fr; } }
.footer__brand { grid-column: 1 / -1; display: flex; gap: 24px; align-items: flex-start; }
@media (min-width: 1024px) { .footer__brand { grid-column: auto; } }
.footer__plate { width: 108px; flex: none; }   /* crest drawn at 84 px: the brand book minimum is 80 */
.footer__name { font-family: var(--display); font-weight: 300; text-transform: uppercase; letter-spacing: var(--track-d); font-size: 1.5rem; color: var(--stone); }
.footer__sub { font-size: 9px; letter-spacing: var(--track-w); text-transform: uppercase; color: var(--gold-l); margin-top: 8px; font-weight: 400; line-height: 1.7; }
.footer__blurb { margin-top: 20px; font-size: 14px; line-height: 1.6; max-width: 20rem; }
.footer__col h2 { font-size: 10px; letter-spacing: var(--track); text-transform: uppercase; color: rgba(244, 241, 240, .62); font-weight: 400; margin-bottom: 10px; }
.footer__col address { font-style: normal; font-size: 14px; line-height: 1.6; margin-bottom: 4px; }
.footer__col a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; transition: color .3s; overflow-wrap: anywhere; }
.footer__col a:hover, .footer__social a:hover { color: var(--gold-l); }
.footer__base { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; font-size: 10px; letter-spacing: var(--track);
  text-transform: uppercase; color: rgba(244, 241, 240, .62); line-height: 1.7; }
.footer__social { display: flex; gap: 20px; }
.footer__social a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; }

/* ---------- the Ask launcher (St Annes look) ---------- */
.askpill { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: var(--gold-l); color: var(--deep); font-size: 13px; font-weight: 600; letter-spacing: .02em;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .28); transition: transform .3s, background-color .3s; }
.askpill:hover { background: var(--stone); transform: translateY(-2px); }
.askpill svg { width: 16px; height: 16px; }
html.lock .askpill { visibility: hidden; }
/* The pill opens the St Ives AI Concierge, so the widget's own round launcher is not shown beside it */
#cc-bubble { display: none !important; }

/* ---------- club facts strip: a slow line between Membership and Heritage ---------- */
.strip { position: relative; background: var(--deep); border-top: 1px solid rgba(244, 241, 240, .1); border-bottom: 1px solid rgba(244, 241, 240, .1);
  padding: 44px 0; }
@media (min-width: 640px) { .strip { padding: 60px 0; } }
.strip__wrap { overflow: hidden; }
html.js:not(.rm) .strip__wrap { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 86%, transparent 97%);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 86%, transparent 97%); }
.strip__track { display: flex; width: max-content; }
.strip__items { display: flex; flex: none; align-items: center; }
.strip__items li { display: flex; align-items: center; white-space: nowrap; font-family: var(--display); font-weight: 300; text-transform: uppercase;
  letter-spacing: var(--track-d); font-size: clamp(1.5rem, 1rem + 2.2vw, 3.1rem); line-height: 1.2; color: var(--stone); }
.strip__items li:nth-child(even) { font-style: italic; font-weight: 400; letter-spacing: .06em; color: var(--gold-l); }
.strip__items li::after { content: ""; flex: none; width: 9px; height: 9px; margin: 0 clamp(28px, 3.4vw, 56px); border: 1px solid var(--gold); transform: rotate(45deg); }
.strip__pause { position: absolute; right: var(--gut); top: 50%; margin-top: -22px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: none;
  align-items: center; justify-content: center; color: var(--stone); background: rgba(var(--deep-rgb), .82); border: 1px solid rgba(244, 241, 240, .4);
  transition: border-color .3s, color .3s; }
.strip__pause:hover { border-color: var(--gold-l); color: var(--gold-l); }
.strip__pause svg { width: 12px; height: 12px; }
/* Moving only with script and without reduced motion; otherwise the facts sit still, wrapped and centred */
html.js:not(.rm) .strip__track { animation: strip 90s linear infinite; }
html.js:not(.rm) .strip__pause { display: inline-flex; }
html.js:not(.rm) .strip__wrap.is-paused .strip__track, html.js:not(.rm) .strip__wrap.is-off .strip__track { animation-play-state: paused; }
@keyframes strip { to { transform: translateX(-50%); } }
html:not(.js) .strip__track, html.rm .strip__track { display: block; width: auto; padding: 0 var(--gut); }
html:not(.js) .strip__items, html.rm .strip__items { flex-wrap: wrap; justify-content: center; row-gap: 14px; }
html:not(.js) .strip__items--copy, html.rm .strip__items--copy { display: none; }
html:not(.js) .strip__items li, html.rm .strip__items li { white-space: normal; font-size: clamp(1.1rem, .9rem + .8vw, 1.6rem); }
html:not(.js) .strip__items li:last-child::after, html.rm .strip__items li:last-child::after { display: none; }

/* ---------- hero headline: letters start wide apart and settle (main.js splits it; the h1 keeps a screen-reader copy) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero__title .w { display: inline-block; white-space: nowrap; }
.hero__title .c { display: inline-block; }
/* Until main.js has split it, the headline waits unseen (no flash of the plain line); a failsafe shows it at 2.6 s */
html.js:not(.rm) .hero__title:not(.is-split) { opacity: 0; animation: title-failsafe 0s linear 2.6s forwards; }
@keyframes title-failsafe { to { opacity: 1; } }
html.js:not(.rm) .hero__title.is-split .c { --spread: 3.2em; opacity: 0; transform: translateX(calc(var(--x, 0) * var(--spread)));
  transition: transform 1.1s cubic-bezier(.16, 1, .3, 1), opacity .8s ease; }
@media (max-width: 640px) { html.js:not(.rm) .hero__title.is-split .c { --spread: 1.1em; } }
html.js.go .hero__title.is-split .c { opacity: 1; transform: none; }
/* The hero photograph settles from a slight zoom as the letters do */
html.js:not(.rm) .hero__media { transform: scale(1.08); transition: transform 2.6s cubic-bezier(.16, 1, .3, 1); }
html.js.go .hero__media { transform: none; }

/* ---------- statement: words light up as it scrolls through (main.js; GSAP scrubs each word's opacity) ---------- */
.statement__text .sw { display: inline; }

/* ---------- split photographs: a wipe opens them once, from the outer edge ---------- */
/* The clip sits on the photograph, not the figure: the figure is what the reveal observer watches */
html.js:not(.rm) .wipe img { clip-path: inset(0 0 0 100%); transition: clip-path 1.5s cubic-bezier(.77, 0, .18, 1); }
@media (min-width: 1024px) { html.js:not(.rm) .split:not(.split--rev) .wipe img { clip-path: inset(0 100% 0 0); } }
html.js:not(.rm) .wipe.in img { clip-path: inset(0 0 0 0) !important; }

/* ---------- reveals (gated on script; reduced motion and no-JS show everything) ---------- */
html.js:not(.rm) .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.2s cubic-bezier(.16, 1, .3, 1), transform 1.2s cubic-bezier(.16, 1, .3, 1); }
html.js:not(.rm) .reveal.in { opacity: 1; transform: none; }
html.js:not(.rm) .hreveal { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); }
html.js:not(.rm) .hreveal:nth-child(2) { transition-delay: .08s; }
html.js:not(.rm) .hreveal:nth-child(3) { transition-delay: .16s; }
html.js.go .hreveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hreveal, .ov-link, .hero__title .c, .hero__media { opacity: 1 !important; transform: none !important; transition: none !important; }
  .wipe img, .panel__media { clip-path: none !important; transition: none !important; }
  .strip__track { animation: none !important; }
  .row::after, .row__v { transition: none !important; }
  .row:hover .row__v { transform: none !important; }
  .overlay { transition: none; }
}

/* Phones: the St Annes template's small-screen guard (tighter tracking, smaller display capitals) and its compact
   Ask launcher (icon only; the name stays for screen readers). */
@media (max-width: 640px) {
  .hero__title { font-size: clamp(1.75rem, 7.4vw, 2.6rem); line-height: 1.1; }
  .display--xl, .display--lg, .split .display--lg { font-size: clamp(1.55rem, 7vw, 2.35rem); line-height: 1.13; }
  .display--h3 { font-size: clamp(1.2rem, 5.5vw, 1.7rem); }
  .display--para { font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .hole__n { font-size: 3rem; }
  .askpill { width: 48px; height: 48px; padding: 0; justify-content: center; right: 14px; bottom: 14px; }
  .askpill span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .askpill svg { width: 20px; height: 20px; }
  .hero__bar { padding-right: calc(var(--gut) + 56px); }
}
