/* Golf: the clubhouse look. Loaded after style.css and motion.css on sites/golf only.
   Fraunces headings (a soft, chunky serif with real character), Manrope
   text, pine and brass, tee markers and a scorecard.
   Motion: things rise and slide in from the left like the sun and the
   camera crossing the course; a golf ball rolls along the top as you scroll. */
body.golf{
  --serif:"Fraunces","Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --sans:"Manrope",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --brass:#c9a45f; --brass-lt:#e4c98f; --brass-dim:rgba(201,164,95,.42);
  font-size:17px;
}
body.golf h1,body.golf h2,body.golf h3{font-weight:600;letter-spacing:-.02em;font-variation-settings:"opsz" 144,"SOFT" 60,"WONK" 1}
body.golf h2{font-size:clamp(42px,5.4vw,76px);line-height:1;max-width:14ch;margin-bottom:16px}
body.golf h3{font-size:25px}
body.golf .brand{font-size:22px}
body.golf .sub{font-size:17px}
body.golf .lead,body.cine.golf .intro .lead{font-family:var(--serif);font-style:italic;font-size:clamp(24px,2.4vw,34px);line-height:1.28;max-width:30ch}

/* Buttons: brass plates with a shine that crosses on hover */
body.golf .btn{position:relative;overflow:hidden;border-radius:2px;font:600 15px/1 var(--sans);letter-spacing:.02em;background:var(--brass);border-color:var(--brass);color:#0f2a1d}
body.golf .btn::after{content:"";position:absolute;top:0;bottom:0;left:-70%;width:45%;transform:skewX(-20deg);
  background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.55),rgba(255,255,255,0));transition:left .8s cubic-bezier(.2,.7,.2,1)}
body.golf .btn:hover::after{left:130%}
body.golf .btn:hover{background:var(--brass-lt);color:#0f2a1d}
body.golf .btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
body.golf .btn.ghost:hover{border-color:var(--brass);color:var(--brass-lt)}
body.golf .pill{border-radius:2px}

/* First screen: facts read like a yardage book; each brass rule draws itself */
body.golf .facts div{position:relative;padding-top:12px;min-width:9ch}
body.golf .facts div::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--brass);transform-origin:left}
.rv body.golf .facts div::before{transform:scaleX(0);transition:transform 1.3s cubic-bezier(.2,.7,.2,1) calc(var(--d,0s) + .35s)}
.rv body.golf .facts div.in::before{transform:none}
body.golf .facts strong{font-size:clamp(28px,2.5vw,38px);color:var(--brass-lt)}
body.golf .film h1{margin-bottom:clamp(20px,2.4vw,36px)}
body.golf .wordmark{line-height:1.05;position:relative;z-index:0;will-change:transform;font-family:var(--serif);font-weight:900;font-stretch:100%;letter-spacing:-.04em;font-variation-settings:"opsz" 144,"SOFT" 100,"WONK" 1}

/* How it works: tee markers pop in and the route between them draws itself */
body.golf .steps{gap:28px}
body.golf .steps li{border-top:0;padding-top:0;position:relative}
body.golf .steps li::before{width:58px;height:58px;border:1.5px solid var(--brass);border-radius:50%;
  display:grid;place-items:center;font:500 26px/1 var(--serif);color:var(--brass-lt);margin-bottom:20px}
body.golf .steps li:not(:last-child)::after{content:"";position:absolute;top:29px;left:72px;right:-14px;border-top:1px dashed var(--brass);transform-origin:left}
.rv body.golf .steps li::before{transform:scale(.2);opacity:0;transition:transform .9s cubic-bezier(.3,1.6,.5,1) calc(var(--d,0s) + .15s),opacity .5s ease calc(var(--d,0s) + .15s)}
.rv body.golf .steps li.in::before{transform:none;opacity:1}
.rv body.golf .steps li:not(:last-child)::after{transform:scaleX(0);transition:transform 1.3s cubic-bezier(.2,.7,.2,1) calc(var(--d,0s) + .6s)}
.rv body.golf .steps li.in::after{transform:none}

/* Packages: a brass-ruled scorecard; rows slide in from the left, light up on hover */
body.golf .menu{border:1px solid var(--brass-dim);border-radius:2px;overflow:hidden}
body.golf .item{padding:26px 28px;border-bottom:1px solid var(--brass-dim);grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) 150px 160px;
  background:linear-gradient(90deg,rgba(201,164,95,.16),rgba(201,164,95,0)) left top/0% 100% no-repeat;transition:background-size .7s cubic-bezier(.2,.7,.2,1)}
body.golf .item:hover{background-size:100% 100%}
body.golf .item:last-child{border-bottom:0}
.rv body.golf .item[data-r]{transform:translateX(-80px);
  transition:opacity .9s ease var(--d,0s),transform 1.1s cubic-bezier(.16,.84,.24,1) var(--d,0s),filter .9s ease var(--d,0s),background-size .7s cubic-bezier(.2,.7,.2,1)}
.rv body.golf .item[data-r].in{transform:none}
body.golf .item h3{font-size:28px}
body.golf .price{color:var(--brass-lt);font-size:38px}

/* The package names drift past in italic, the outline line the other way */
body.golf .drift-line{font-style:italic;font-weight:500}

/* Stills: framed in a brass hairline */
body.golf .still{border:1px solid var(--brass-dim);border-radius:2px}
body.golf .trail img{border:1px solid var(--brass);border-radius:2px}

/* Scroll progress: a brass line across the top with the ball rolling along it */
body.golf .progress{left:0;right:0;top:0;height:2px;background:rgba(201,164,95,.18)}
body.golf .progress span{position:absolute;inset:0;background:var(--brass);transform-origin:left;transform:scaleX(var(--p,0))}
body.golf .progress i{position:absolute;top:-4px;left:calc(var(--p,0) * 100%);margin-left:-5px;width:10px;height:10px;border-radius:50%;
  background:#fff;box-shadow:0 0 12px rgba(255,255,255,.9)}

/* Questions */
body.golf summary{font-size:23px}
body.golf summary::after{color:var(--brass);transition:transform .35s cubic-bezier(.2,.7,.2,1)}
body.golf details{border-bottom-color:var(--brass-dim)}

@media (max-width:820px){
  body.golf .steps li:not(:last-child)::after{display:none}
  body.golf .item{grid-template-columns:1fr auto;padding:22px 20px}
  body.golf .brand{font-size:18px}
  .rv body.golf .item[data-r]{transform:translateX(-40px)}
}
