/* St Ives (Hunts) Golf Club, Pop-Up direction (after The Pop-Up Hotel).
   Tokens come from ../assets/st-ives.css. Breakpoints: phones under 700 px, tablets 700 to 1099, desktop 1100 up.
   Motion is transform and opacity only. Hover is never the only way to anything: the VIEW cursor is for a mouse,
   touch screens and keyboards get a resting VIEW disc on every tile. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sti-white); color: var(--sti-body);
  font: var(--sti-w-regular) var(--sti-body-size)/var(--sti-body-lh) var(--sti-font);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--sti-sky); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--sti-navy); color: var(--sti-white); text-decoration: none; }
.skip:focus { top: 12px; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 2px; pointer-events: none; }
html.locked, html.locked body { overflow: hidden; }

:root { --hd: 70px; --inset: 20px; --pad: clamp(64px, 8vw, 120px); --gut: clamp(20px, 4vw, 58px); --line-w: rgba(255, 255, 255, .2); --line-d: rgba(34, 34, 34, .14); }
@media (max-width: 699px) { :root { --hd: 60px; --inset: 12px; } }

.eyebrow { font: var(--sti-w-semibold) 13px/1.2 var(--sti-font); letter-spacing: .14em; text-transform: uppercase; color: var(--sti-navy); }
.eyebrow--light { color: var(--sti-gold-light); }

/* Buttons: 46 px tall, caps label, as the reference's */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px;
  font: var(--sti-w-semibold) 13px/1 var(--sti-font); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; transition: background-color var(--sti-dur-fast) ease, color var(--sti-dur-fast) ease, border-color var(--sti-dur-fast) ease;
}
.btn--navy { background: var(--sti-navy); color: var(--sti-white); }
.btn--navy:hover { background: var(--sti-sky); }
.btn--white { background: var(--sti-white); color: var(--sti-navy); }
.btn--white:hover { background: var(--sti-stone); }
.btn--line { border-color: rgba(255, 255, 255, .7); color: var(--sti-white); }
.btn--line:hover { background: var(--sti-white); color: var(--sti-navy); }
.btn--pale { background: var(--sti-gold-pale); color: var(--sti-navy); }
.btn--pale:hover { background: var(--sti-white); }
.btn--full { display: flex; width: 100%; }
.tlink { display: inline-flex; align-items: center; min-height: 46px; color: var(--sti-sky); font: var(--sti-w-semibold) 13px/1 var(--sti-font); letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.tlink:hover { color: var(--sti-navy); }
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }

/* ------------------------------------------------------------------ Header */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--hd);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch;
  background: var(--sti-white); color: var(--sti-navy); border-bottom: 1px solid var(--line-d);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
html.js .hd:not(.is-solid) { background: transparent; color: var(--sti-white); border-bottom-color: var(--line-w); }
.hd__left, .hd__right { display: flex; align-items: stretch; }
.hd__right { justify-content: flex-end; }
.hd__cell {
  display: flex; align-items: center; justify-content: center; min-width: var(--hd); padding: 0 28px;
  font: var(--sti-w-semibold) 13px/1 var(--sti-font); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  border-right: 1px solid var(--line-d); transition: opacity .2s ease, border-color .25s ease;
}
.hd__right .hd__cell { border-right: 0; border-left: 1px solid var(--line-d); }
html.js .hd:not(.is-solid) .hd__cell { border-color: var(--line-w); }
.hd__burger { padding: 0; width: var(--hd); }
.hd__icon { padding: 0; width: var(--hd); }
.hd__icon svg { width: 20px; height: 20px; }
@media (hover: hover) { .hd__cell:hover, .hd__logo:hover { opacity: .6; } }
.hd__bars { position: relative; width: 18px; height: 8px; }
.hd__bars i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .35s var(--sti-ease-out); }
.hd__bars i:first-child { top: 0; } .hd__bars i:last-child { bottom: 0; }
.hd__burger[aria-expanded="true"] .hd__bars i:first-child { transform: translateY(3px) rotate(45deg); }
.hd__burger[aria-expanded="true"] .hd__bars i:last-child { transform: translateY(-3px) rotate(-45deg); }
.hd__short { display: none; }
.hd__centre { position: relative; display: grid; place-items: center; padding: 0 16px; }
.hd__tag, .hd__logo { grid-area: 1 / 1; transition: opacity .25s ease, visibility .25s; }
.hd__tag { font: var(--sti-w-semibold) 13px/1.2 var(--sti-font); letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.hd__logo { display: flex; flex-direction: column; align-items: center; text-decoration: none; min-height: 44px; justify-content: center; }
.hd__logo-big { font: var(--sti-w-light) 26px/1 var(--sti-font); letter-spacing: .02em; }
.hd__logo-small { font: var(--sti-w-semibold) 10px/1 var(--sti-font); letter-spacing: .24em; text-transform: uppercase; margin-top: 4px; }
html.js .hd:not(.is-solid) .hd__logo { opacity: 0; visibility: hidden; }
.hd.is-solid .hd__tag, html:not(.js) .hd__tag { opacity: 0; visibility: hidden; }
@media (max-width: 1099px) { .hd__icon--pin { display: none; } .hd__cell { padding: 0 20px; } }
@media (max-width: 899px) { .hd__tag { display: none; } html.js .hd:not(.is-solid) .hd__logo { opacity: 0; } }
@media (max-width: 699px) {
  .hd__member, .hd__icon--pin { display: none; }
  .hd__long { display: none; } .hd__short { display: inline; }
  .hd__book { order: 2; border-right: 0; border-left: 1px solid var(--line-d); padding: 0 18px; }
  .hd { grid-template-columns: var(--hd) 1fr auto auto; }
  .hd__left { display: contents; }
  .hd__burger { grid-column: 1; }
  .hd__centre { grid-column: 2; }
  .hd__right { display: contents; }
  .hd__right .hd__icon { grid-column: 3; grid-row: 1; }
  .hd__book { grid-column: 4; grid-row: 1; }
  .hd__logo-big { font-size: 22px; }
}

/* ------------------------------------------------------------------ Menu */
.menu { position: fixed; z-index: 45; left: 0; top: var(--hd); bottom: 0; display: flex; pointer-events: none; }
.menu__panel, .sub {
  width: min(33.333vw, 410px); min-width: 320px; height: 100%; overflow-y: auto; overscroll-behavior: contain;
  padding: 28px 30px 40px; pointer-events: auto;
  transform: translateX(-102%); transition: transform .6s cubic-bezier(.72, .01, 0, 1);
}
.menu__panel { position: relative; z-index: 3; background: var(--sti-white); display: flex; flex-direction: column; }
.sub { position: absolute; z-index: 2; top: 0; left: min(33.333vw, 410px); background: var(--sti-stone); transform: translateX(calc(-100% - min(33.333vw, 410px))); }
@media (max-width: 960px) { .sub { left: 320px; transform: translateX(calc(-100% - 320px)); } }
.menu.is-open .menu__panel { transform: none; }
.sub.is-open { transform: none; }
.menu__list li + li { margin-top: 2px; }
.menu__link {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; text-align: left; text-decoration: none;
  font: var(--sti-w-regular) 24px/1.2 var(--sti-font); color: var(--sti-navy); transition: opacity .25s ease;
}
.menu__link svg { width: 18px; height: 12px; flex: none; }
.menu__link[aria-expanded="true"] { color: var(--sti-sky); }
@media (hover: hover) { .menu__list:hover .menu__link:not(:hover) { opacity: .5; } }
.menu__book { margin-top: 32px; }
.menu__small { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; }
.menu__small a { display: flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--sti-sky); text-decoration: none; }
.menu__small a:hover { text-decoration: underline; }
.sub__title { display: flex; align-items: center; gap: 8px; min-height: 48px; font: var(--sti-w-semibold) 13px/1 var(--sti-font); letter-spacing: .14em; text-transform: uppercase; color: var(--sti-navy); margin-bottom: 12px; }
.sub__back { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -12px; color: var(--sti-navy); }
.sub__back svg { width: 14px; height: 14px; }
.sub__items a { display: flex; align-items: center; min-height: 48px; font: var(--sti-w-regular) 20px/1.2 var(--sti-font); color: var(--sti-navy); text-decoration: none; transition: opacity .25s ease; }
@media (hover: hover) { .sub__items:hover a:not(:hover) { opacity: .5; } }
.shade { position: fixed; z-index: 44; inset: var(--hd) 0 0 0; background: rgba(34, 34, 34, .5); opacity: 0; transition: opacity .5s ease; }
.shade.is-on { opacity: 1; }
@media (max-width: 699px) {
  .menu { right: 0; }
  .menu__panel, .sub { width: 100%; min-width: 0; padding: 20px 20px 32px; }
  .sub { left: 0; transform: translateX(100%); z-index: 4; }
  .menu.is-deep .menu__panel { transform: translateX(-30%); }
  .menu__link { font-size: 22px; }
  .menu__book { min-height: 52px; }
}

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; height: 100svh; min-height: 560px; max-height: 1200px; background: var(--sti-navy); color: var(--sti-white); overflow: hidden; display: flex; justify-content: center; }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html.js .hero__poster, html.js .hero__video { opacity: 0; transition: opacity .4s ease; }
html.js .hero__poster.is-on, html.js .hero__video.is-on, html.rm .hero__poster { opacity: 1; }
/* Without script the film has no source and the browser would draw bare controls over the poster: the poster stands alone */
html:not(.js) .hero__video { display: none; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 48, 111, .8) 0, rgba(13, 48, 111, .66) 70px, rgba(13, 48, 111, .42) 220px, rgba(13, 48, 111, .42) 65%, rgba(13, 48, 111, .6) 100%); }
.hero__col { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding-top: var(--hd); width: 100%; }
.hero__rule { flex: 1 1 0; width: 1px; min-height: 24px; background: var(--line-w); }
.hero__mark { display: flex; flex-direction: column; align-items: center; padding: 28px 16px; text-align: center; }
.hero__plate { --sti-crest-plate: 112px; margin-bottom: 26px; }
.hero__title { display: flex; flex-direction: column; align-items: center; font-weight: var(--sti-w-light); }
.hero__big { font-size: clamp(64px, 8.4vw, 128px); line-height: .95; letter-spacing: .01em; }
.hero__small { margin-top: 14px; font: var(--sti-w-semibold) clamp(13px, 1.1vw, 16px)/1 var(--sti-font); letter-spacing: .32em; text-transform: uppercase; padding-left: .32em; }
.hero__acts { display: none; }
.hero__line { position: absolute; z-index: 2; bottom: clamp(28px, 4vh, 44px); width: 50%; text-align: center; font: italic var(--sti-w-regular) clamp(30px, 3.2vw, 46px)/1.15 var(--sti-font); padding: 0 24px; }
.hero__line--l { left: 0; } .hero__line--r { right: 0; }
.hero__lines { margin: 0; font-weight: var(--sti-w-regular); }
/* Under 900 px the two halves of the line stack, centred, so the longer half never wraps into a narrow column */
@media (max-width: 899px) {
  .hero__line { width: 100%; padding: 0 16px; --lb: clamp(24px, 4vh, 40px); }
  .hero__line--l { bottom: calc(var(--lb) + 1.32em); }
  .hero__line--r { left: 0; right: auto; bottom: var(--lb); }
  .hero__rule--low { margin-bottom: 132px; }
}
@media (max-width: 699px) {
  .hero { min-height: 640px; }
  .hero__plate { --sti-crest-plate: 104px; margin-bottom: 18px; }
  .hero__big { font-size: 64px; }
  .hero__small { font-size: 12px; letter-spacing: .26em; }
  .hero__mark { padding: 20px 16px; }
  .hero__acts { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; width: min(300px, 82vw); }
  .hero__acts .btn { min-height: 48px; }
  .hero__line { font-size: 24px; --lb: 88px; }   /* 88: the lines sit above the AI Concierge launcher */
  .hero__rule--low { margin-bottom: 168px; }   /* follows the lines lifted by 64 px */
}

/* ------------------------------------------------------------------ Tiles */
.tiles { background: var(--sti-stone); padding: var(--inset); display: grid; gap: var(--inset); }
.tiles__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--inset); }
.tiles__row--one { grid-template-columns: 1fr; }
.tile { position: relative; display: grid; place-items: center; min-height: min(100svh, 100vw); overflow: hidden; color: var(--sti-white); text-decoration: none; background: var(--sti-navy); isolation: isolate; }
.tile--full { min-height: min(100svh - var(--hd), 100vw); }
.tile__img { position: absolute; inset: 0; z-index: -1; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; }
.tile__img::after { content: ""; position: absolute; inset: 0; background: rgba(34, 34, 34, .3); }
.tile__word { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; will-change: transform; }
/* A soft shade under the words only, so the photo keeps its light and the words still read (measured in the checker) */
.tile__word::before { content: ""; position: absolute; z-index: -1; inset: -110px -150px; background: radial-gradient(closest-side, rgba(34, 34, 34, .5), rgba(34, 34, 34, .34) 45%, rgba(34, 34, 34, .12) 75%, rgba(34, 34, 34, 0)); pointer-events: none; }
.tile__title { font: var(--sti-w-light) clamp(44px, 5.2vw, 76px)/1.05 var(--sti-font); letter-spacing: -.005em; text-shadow: 0 1px 24px rgba(34, 34, 34, .35); }
.tile__cap { margin-top: 14px; font: var(--sti-w-semibold) 13px/1.4 var(--sti-font); letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(34, 34, 34, .6); }
/* The resting VIEW disc: on touch always, with a keyboard on focus. A mouse gets the moving cursor instead. */
.tile__view {
  position: absolute; left: 50%; bottom: clamp(24px, 5%, 48px); width: 72px; height: 72px; margin-left: -36px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .88); color: var(--sti-navy);
  font: var(--sti-w-semibold) 12px/1 var(--sti-font); letter-spacing: .14em; text-transform: uppercase; padding-left: .14em;
  opacity: 0; transform: scale(.6); transition: opacity .3s ease, transform .4s var(--sti-ease-out);
}
/* The wedding photo (long grass, the couple from behind) */
.tile--wedding img { object-position: 50% 50%; }
.tile:focus-visible { outline: 3px solid var(--sti-white); outline-offset: -8px; }
.tile:focus-visible .tile__view { opacity: 1; transform: none; }
@media (hover: none), (pointer: coarse) {
  .tile__view { opacity: 1; transform: none; }
  .tile:active .tile__view { transform: scale(.92); background: var(--sti-white); }
}
html.cur .tile { cursor: none; }
@media (max-width: 899px) { .tiles__row { grid-template-columns: 1fr; } }
@media (max-width: 699px) {
  .tile, .tile--full { min-height: min(100vw + 40px, 460px); }
  .tile__view { width: 60px; height: 60px; margin-left: -30px; bottom: 20px; font-size: 11px; }
  .tile__title { font-size: 44px; }
  .tile__cap { font-size: 12px; }
}

/* The VIEW cursor: a 96 px disc that follows a mouse over the tiles */
.cursor { position: fixed; z-index: 60; left: 0; top: 0; width: 96px; height: 96px; margin: -48px 0 0 -48px; pointer-events: none; display: none; }
html.cur .cursor { display: block; }
.cursor span {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--sti-navy);
  font: var(--sti-w-semibold) 12px/1 var(--sti-font); letter-spacing: .14em; text-transform: uppercase; padding-left: .14em;
  transform: scale(0); opacity: 0; transition: transform .35s var(--sti-ease-out), opacity .25s ease;
}
.cursor.is-on span { transform: scale(1); opacity: 1; }

/* ------------------------------------------------------------------ Marquee */
.marquee { padding: clamp(56px, 7vw, 96px) 0; }
.marquee__title { display: flex; align-items: center; gap: 24px; padding: 0 var(--gut); font: var(--sti-w-semibold) 13px/1.2 var(--sti-font); letter-spacing: .14em; text-transform: uppercase; color: var(--sti-navy); }
.marquee__title::before, .marquee__title::after { content: ""; flex: 1; height: 1px; background: var(--sti-rule); }
.marquee__wrap { position: relative; margin-top: 40px; overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee__wrap.is-paused .marquee__track, .marquee__wrap.is-off .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__items { display: flex; flex: none; }
.marquee__items li { display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(28px, 3.4vw, 52px); border-left: 1px solid var(--sti-rule); font-size: 14px; line-height: 1.35; color: var(--sti-body); white-space: nowrap; }
.marquee__items strong { font: var(--sti-w-light) clamp(34px, 3.4vw, 48px)/1.1 var(--sti-font); color: var(--sti-navy); margin-bottom: 6px; }
.marquee__wrap { display: flex; flex-direction: column; }
.marquee__pause { align-self: flex-end; margin: 24px var(--gut) 0 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sti-white); color: var(--sti-navy); border: 1px solid var(--sti-rule); }
.marquee__pause:hover { border-color: var(--sti-navy); }
.marquee__pause svg { width: 12px; height: 12px; grid-area: 1 / 1; }
.marquee__pause .i-play, .marquee__pause[aria-pressed="true"] .i-pause { display: none; }
.marquee__pause[aria-pressed="true"] .i-play { display: block; }
html.rm .marquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 28px; padding: 0 var(--gut); }
html.rm .marquee__items { flex-wrap: wrap; justify-content: center; row-gap: 28px; }
html.rm .marquee__items--copy, html.rm .marquee__pause { display: none; }

/* ------------------------------------------------------------------ Image with text */
.iwt { display: grid; grid-template-columns: 54% 1fr; align-items: center; gap: clamp(40px, 6vw, 96px); padding: var(--pad) var(--gut); background: var(--sti-stone); }
.iwt--right { grid-template-columns: 1fr 54%; background: var(--sti-white); }
.iwt--right .iwt__img { order: 2; }
.iwt__img { position: relative; padding: 9% 0; }
.iwt__primary, .iwt__secondary { height: auto; }
.iwt__primary { width: 62%; aspect-ratio: 4 / 5; object-fit: cover; }
.iwt__secondary { position: absolute; left: 42%; top: 50%; width: 58%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: -21.75%; box-shadow: 0 30px 60px -30px rgba(34, 34, 34, .45); }
.iwt--right .iwt__primary { margin-left: auto; }
.iwt--right .iwt__secondary { left: 0; }
.iwt__txt { max-width: 520px; }
.iwt__txt h2 { margin-top: 20px; font: var(--sti-w-light) clamp(36px, 3.9vw, 56px)/1.08 var(--sti-font); color: var(--sti-navy); }
.iwt__txt h2 em { color: var(--sti-gold); }
.iwt__txt > p:not(.eyebrow) { margin-top: 24px; font-size: 18px; line-height: 1.6; }
.tees { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; margin-top: 28px; border-top: 1px solid var(--line-d); }
.tees div { padding: 14px 22px 0 0; margin-right: 22px; border-right: 1px solid var(--line-d); }
.tees div:last-child { border-right: 0; margin-right: 0; }
.tees dt, .tees dd { white-space: nowrap; }
.tees dt { font: var(--sti-w-semibold) 12px/1.2 var(--sti-font); letter-spacing: .12em; text-transform: uppercase; color: var(--sti-navy); }
.tees dd { margin-top: 6px; font-size: 15px; }
/* The scorecard: a disclosure in the course text, set like the tees strip (caps labels, hairlines) */
.sc { margin-top: 24px; border-top: 1px solid var(--line-d); }
.sc__toggle { display: flex; align-items: center; gap: 12px; min-height: 46px; padding-top: 6px; cursor: pointer; list-style: none; color: var(--sti-sky); font: var(--sti-w-semibold) 13px/1 var(--sti-font); letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.sc__toggle::-webkit-details-marker { display: none; }
.sc__toggle::after { content: "+"; display: inline-block; font-weight: var(--sti-w-regular); font-size: 18px; }
.sc[open] .sc__toggle::after { content: "\2212"; }
.sc__toggle:hover { color: var(--sti-navy); }
.sc__body { padding: 12px 0 4px; }
.sc__tees { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-d); }
.sc__tee { min-height: 44px; font: var(--sti-w-semibold) 12px/1.2 var(--sti-font); letter-spacing: .12em; text-transform: uppercase; color: var(--sti-navy); transition: background-color .2s ease, color .2s ease; }
.sc__tee + .sc__tee { border-left: 1px solid var(--line-d); }
.sc__tee[aria-pressed="true"] { background: var(--sti-navy); color: var(--sti-white); }
@media (hover: hover) { .sc__tee[aria-pressed="false"]:hover { background: var(--sti-white); } }
.sc__table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.sc__cap { caption-side: top; text-align: left; padding-bottom: 10px; font-size: 15px; color: var(--sti-body); }
.sc__table th, .sc__table td { padding: 7px 0; border-bottom: 1px solid var(--line-d); text-align: right; font-weight: var(--sti-w-regular); }
.sc__table th:first-child { text-align: left; }
.sc__table thead th { font: var(--sti-w-semibold) 12px/1.2 var(--sti-font); letter-spacing: .12em; text-transform: uppercase; color: var(--sti-navy); }
.sc__table abbr { text-decoration: none; }
.sc__sum th, .sc__sum td, .sc__table tfoot th, .sc__table tfoot td { font-weight: var(--sti-w-semibold); color: var(--sti-navy); }
.sc__table tfoot th, .sc__table tfoot td { border-bottom: 0; }
html:not(.js) .sc__tees { display: none; }   /* without script the card shows the 67 tees, as its caption says */
@media (max-width: 899px) {
  .iwt, .iwt--right { grid-template-columns: 1fr; }
  .iwt--right .iwt__img { order: 0; }
  .iwt__primary { width: 70%; }
  .iwt__secondary { width: 52%; left: auto; right: 0; top: 0; margin-top: 0; }
  .iwt--right .iwt__secondary { left: auto; right: 0; }
  .iwt--right .iwt__primary { margin-left: 0; }
  .iwt__img { padding: 8% 0 0; }
  .iwt__txt { max-width: 640px; }
}
@media (min-width: 900px) and (max-width: 1199px), (max-width: 699px) { .tees { grid-template-columns: 1fr 1fr; } .tees div { margin-right: 0; padding-bottom: 14px; } .tees div:nth-child(2n) { border-right: 0; padding-left: 18px; } }

/* ------------------------------------------------------------------ Quotes */
.quotes { background: var(--sti-navy); color: var(--sti-white); padding: var(--pad) var(--gut); }
.quotes__inner { position: relative; max-width: 1325px; margin: 0 auto; --qgap: clamp(32px, 6vw, 96px); }
.quotes__head { position: absolute; z-index: 2; top: 0; left: 0; width: calc(51% - var(--qgap)); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.quotes__count { font: var(--sti-w-semibold) 14px/1 var(--sti-font); letter-spacing: .12em; color: var(--sti-gold-light); }
.quotes__title { font: var(--sti-w-semibold) 13px/1.2 var(--sti-font); letter-spacing: .14em; text-transform: uppercase; color: var(--sti-white); }
.quotes__slides { display: grid; touch-action: pan-y; }
.q { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 49%; grid-template-rows: 1fr auto 1fr; column-gap: var(--qgap); opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.q.is-on { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
.q__text { grid-column: 1; grid-row: 2; padding: 36px 0 32px; border-top: 1px solid var(--line-w); }
.q__text p { font: italic var(--sti-w-regular) clamp(28px, 2.9vw, 42px)/1.25 var(--sti-font); }
.q__source { grid-column: 1; grid-row: 3; align-self: start; padding-top: 22px; border-top: 1px solid var(--line-w); font: var(--sti-w-bold) 14px/1.4 var(--sti-font); }
.q__img { grid-column: 2; grid-row: 1 / -1; aspect-ratio: 1; overflow: hidden; }
.q__img img { width: 100%; height: 100%; object-fit: cover; }
.quotes__ctrl { position: absolute; z-index: 2; left: 51%; bottom: 0; display: flex; flex-direction: column; background: var(--sti-navy); }
.quotes__btn { display: grid; place-items: center; width: 56px; height: 56px; color: var(--sti-white); transition: background-color .2s ease; }
.quotes__btn + .quotes__btn { border-top: 1px solid var(--line-w); }
.quotes__btn:hover { background: var(--sti-sky); }
.quotes__btn svg { width: 14px; height: 14px; }
@media (max-width: 899px) {
  .quotes__head { position: static; width: auto; margin-bottom: 24px; }
  .q { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .q__img { grid-column: 1; grid-row: 1; }
  .q__text { grid-row: 2; margin-top: 28px; padding: 28px 0 22px; }
  .q__source { grid-row: 3; }
  .quotes__ctrl { left: auto; right: 0; bottom: auto; top: calc(24px + 14px + 24px); flex-direction: column; }
}

/* ------------------------------------------------------------------ Everything (list and card) */
.news { padding: var(--pad) var(--gut); max-width: 1440px; margin: 0 auto; }
.news__title { font: var(--sti-w-light) clamp(34px, 3vw, 44px)/1.1 var(--sti-font); color: var(--sti-navy); }
.news__title em { color: var(--sti-gold); }
.news__cols { display: grid; grid-template-columns: 1fr 36%; gap: clamp(32px, 5vw, 80px); margin-top: 40px; }
.row { position: relative; display: grid; grid-template-columns: 46% 1fr; gap: 28px; padding: 28px 0; border-top: 1px solid var(--sti-rule); text-decoration: none; color: inherit; }
.row__img { aspect-ratio: 4 / 3; overflow: hidden; }   /* James, 24 Oct: photos far bigger (was 34% at 16:9, about 260 x 146 at 1440) */
.row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--sti-ease-out); }
.row__txt { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.row__title { font: var(--sti-w-regular) clamp(20px, 1.7vw, 25px)/1.3 var(--sti-font); color: var(--sti-navy); text-decoration: none; transition: color .2s ease; }
/* The card's link is its title, stretched over the whole card; phone, email and booking links sit above it */
.row__title::after, .feat__title::after { content: ""; position: absolute; inset: 0; }
.row__title, .feat__title { padding: 9px 0; margin: -9px 0; }   /* 44 px even on one line; the layout does not move */
.row__title:focus-visible, .feat__title:focus-visible { outline: none; }
.row__title:focus-visible::after, .feat__title:focus-visible::after { outline: 2px solid var(--sti-sky); outline-offset: 3px; }
/* A link inside a card line: 44 px tall to the finger, the line itself unchanged (padding taken back by margin) */
.call { position: relative; z-index: 1; display: inline-block; padding: 15px 0; margin: -15px 0; color: var(--sti-sky); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.call:hover { color: var(--sti-navy); }
.call--mail { text-transform: none; letter-spacing: .02em; }
.row__note, .feat__call { font-size: 16px; line-height: 1.6; color: var(--sti-body); }
.row__note .call { display: inline; padding: 13px 0; }   /* a sentence-long link wraps as text; the padding still gives 44 px */
.row__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font: var(--sti-w-semibold) 12px/1.3 var(--sti-font); letter-spacing: .1em; text-transform: uppercase; color: var(--sti-body); }
@media (hover: hover) { .row:hover .row__img img, .feat:hover .feat__img img { transform: scale(1.04); } .row:hover .row__title, .feat:hover .feat__title { color: var(--sti-sky); } }
.feat { position: relative; display: block; text-decoration: none; color: inherit; background: var(--sti-stone); margin-bottom: 20px; }
.feat__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--sti-ease-out); }
.feat__txt { display: flex; flex-direction: column; gap: 18px; padding: 28px; }
.feat__title { font: var(--sti-w-light) clamp(26px, 2.2vw, 32px)/1.15 var(--sti-font); color: var(--sti-navy); text-decoration: none; transition: color .2s ease; }
.feat__call { padding-top: 16px; border-top: 1px solid var(--line-d); }
.feat__list { display: flex; flex-direction: column; }
.feat__list span { padding: 10px 0; border-top: 1px solid var(--line-d); font-size: 16px; }
@media (max-width: 899px) { .news__cols { grid-template-columns: 1fr; } }
/* the membership card stays put while the list scrolls past it (James, 24 Oct), where it fits the screen */
@media (min-width: 900px) and (min-height: 760px) { .news__feat { position: sticky; top: calc(var(--hd) + 24px); align-self: start; } }
/* A18: pick a day in the visitors row, in the scorecard's hairline tee cells; it only rewrites its own link. Without
   script it is hidden and the row's plain Chronogolf link stands alone */
.pick { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.pick__lbl { flex-basis: 100%; font: var(--sti-w-semibold) 12px/1.3 var(--sti-font); letter-spacing: .1em; text-transform: uppercase; color: var(--sti-body); }
.pick__box { flex: 1 1 300px; display: grid; grid-template-columns: minmax(150px, 1.3fr) 2fr; border: 1px solid var(--line-d); }
.pick__date { min-width: 0; min-height: 44px; padding: 0 12px; border: 0; border-radius: 0; background: transparent; font: var(--sti-w-regular) 16px/1 var(--sti-font); color: var(--sti-navy); }
.pick__holes { display: grid; grid-template-columns: 1fr 1fr; }
.pick__hole { min-height: 44px; border-left: 1px solid var(--line-d); font: var(--sti-w-semibold) 12px/1.2 var(--sti-font); letter-spacing: .12em; text-transform: uppercase; color: var(--sti-navy); transition: background-color .2s ease, color .2s ease; }
.pick__hole[aria-pressed="true"] { background: var(--sti-navy); color: var(--sti-white); }
@media (hover: hover) { .pick__hole[aria-pressed="false"]:hover { background: var(--sti-stone); } }
.pick__go { font-size: 16px; }
html:not(.js) .pick { display: none; }
/* A16: five visitor answers under the visitors row, a hairline list like the Flexible card's; native details, so
   they open by keyboard and without script */
.faq { grid-column: 1 / -1; position: relative; z-index: 1; padding-top: 8px; }
.faq__head { padding-bottom: 10px; font: var(--sti-w-semibold) 12px/1.3 var(--sti-font); letter-spacing: .1em; text-transform: uppercase; color: var(--sti-body); }
.faq details { border-top: 1px solid var(--line-d); }
/* no bottom rule on the last question: the next row's top rule closes the list (James, 24 Oct: two lines under "Bringing a group?") */
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; padding: 10px 0; cursor: pointer; list-style: none; font-size: 16px; line-height: 1.4; color: var(--sti-navy); transition: color .2s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 18px; line-height: 1; color: var(--sti-sky); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--sti-sky); }
.faq details p { max-width: 64ch; padding: 0 0 16px; font-size: 16px; line-height: 1.6; color: var(--sti-body); }
@media (max-width: 699px) { .row { grid-template-columns: 1fr; gap: 14px; } }

/* ------------------------------------------------------------------ Footer */
.ft { background: var(--sti-navy); color: var(--sti-white); padding: clamp(64px, 7vw, 100px) var(--gut) 28px; }
.ft__inner { max-width: 1325px; margin: 0 auto; }
.ft__main { display: grid; grid-template-columns: 1.1fr 1.6fr .9fr; gap: clamp(32px, 4vw, 64px); }
.ft__chat { display: flex; align-items: center; gap: 20px; margin: 20px 0 26px; }
.ft__plate { --sti-crest-plate: 104px; flex: none; }
.ft__big { font: var(--sti-w-light) clamp(40px, 4vw, 56px)/1 var(--sti-font); }
.ft__big em { color: var(--sti-gold-light); }
.ft__note { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.ft__menus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ft__menu ul, .ft__links { margin-top: 14px; }
.ft__menu a, .ft__links a, .ft__base a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--sti-white); text-decoration: none; font-size: 16px; }
.ft__menu a:hover, .ft__links a:hover, .ft__base a:hover { color: var(--sti-gold-pale); text-decoration: underline; text-underline-offset: 4px; }
.ft__find { padding-left: clamp(0px, 3vw, 48px); border-left: 1px solid var(--line-w); }
.ft__addr { margin-top: 18px; font-size: 16px; line-height: 1.6; }
.ft__word { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin: clamp(56px, 7vw, 96px) 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line-w); white-space: nowrap; }
.ft__word-big { font: var(--sti-w-light) clamp(64px, 14vw, 210px)/.85 var(--sti-font); letter-spacing: -.01em; }
.ft__word-small { font: var(--sti-w-semibold) clamp(11px, 1.3vw, 18px)/1 var(--sti-font); letter-spacing: .3em; text-transform: uppercase; }
.ft__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; font-size: 14px; }
.ft__base ul { display: flex; gap: 24px; }
.ft__base a { font-size: 14px; min-width: 44px; }
.ft__legal { color: rgba(255, 255, 255, .85); }
@media (max-width: 1099px) { .ft__main { grid-template-columns: 1fr 1fr; } .ft__menus { grid-column: 1 / -1; grid-row: 2; } .ft__find { border-left: 0; padding-left: 0; } }
@media (max-width: 699px) {
  .ft__main { grid-template-columns: 1fr; } .ft__menus { grid-template-columns: 1fr 1fr; grid-row: auto; }
  .ft__word { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ft__word-big { font-size: 84px; }
}

/* Reveal once, desktop pointers only (set by main.js) */
.will-reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1.2s var(--sti-ease-out); }
.will-reveal.is-in { opacity: 1; transform: none; }

/* Gentle photo parallax (James, 24 Oct): the photo drifts slower than its clipped frame (quotes, rows, featured card).
   translate and scale are the individual transform properties, so they compose with the hover zoom's transform. */
.px { scale: 1.08; translate: 0 var(--px, 0px); }
@media (prefers-reduced-motion: reduce) { .px { scale: none; translate: none; } }
html.rm .px { scale: none; translate: none; }

/* ------------------------------------------------------------------ Reduced motion */
html.rm *, html.rm *::before, html.rm *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
html.rm .marquee__track { animation: none !important; }
