:root
{
    color-scheme: light;
    --Red: #f70706;
    --DarkRed: #b80908;
    --Yellow: #ffda25;
    --Ink: #241511;
    font-family: Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--Ink); background: #fff3d8; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #146bd0; outline-offset: 4px; }

.VisuallyHidden, .SkipLink:not(:focus)
{
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.SkipLink:focus
{
    position: fixed;
    top: .5rem;
    left: .5rem;
    z-index: 10;
    padding: .75rem;
    background: white;
}

.SiteHeader
{
    position: sticky;
    top: 0;
    z-index: 3;
    color: white;
    background: var(--Red);
}

.HeaderInner
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1rem, 5vw, 5rem);
    width: min(960px, calc(100% - 2rem));
    min-height: clamp(110px, 16vw, 215px);
    margin: auto;
}

.Brand { flex: 0 0 auto; }
.Brand img { width: clamp(82px, 10vw, 137px); max-height: 192px; object-fit: contain; }
.MainNav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .65rem 1.15rem; font-weight: 900; }
.MainNav > a { text-decoration: none; text-transform: uppercase; }
.MainNav > a:first-child { text-transform: none; }
.MainNav a:hover { text-decoration: underline; }
.MainNav [aria-current] { color: #230e0b; }
.MoreLinks { position: relative; }
.MoreLinks summary { cursor: pointer; }
.MoreLinks div
{
    position: absolute;
    right: 0;
    min-width: 9rem;
    padding: .75rem;
    color: var(--Ink);
    background: #fff3d8;
    box-shadow: 0 3px 12px #321a1480;
}
.MoreLinks a { display: block; padding: .4rem; }

.Hero
{
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 2.35 / 1;
    background: #396d94 url('./assets/hero-sky.webp') center / cover no-repeat;
}
.BarnArt { position: absolute; inset: auto 0 0; width: 100%; pointer-events: none; }
.HeroVideo
{
    position: absolute;
    left: 31.8%;
    bottom: 0;
    width: 36.5%;
    height: 46%;
    background: #221611;
    object-fit: cover;
}
.HeroGoatHead { position: absolute; top: 20%; left: 54%; width: 9%; pointer-events: none; }
.HeroLogo { position: absolute; top: 22%; left: 40%; width: 23%; filter: drop-shadow(0 3px 2px #190d09); pointer-events: none; }
.Intro
{
    min-height: 167px; display: grid; place-items: center; padding: 1.3rem 1rem;
    background: linear-gradient(#240e0670, #240e0688), #73432e url('./assets/wood.webp') center / cover;
    color: white;
    text-align: center;
    font-weight: 700;
    line-height: 1.8;
}
.Intro p { margin: 0; }
.Intro strong { color: var(--Yellow); font-size: clamp(1.1rem, 2vw, 1.5rem); }


.Experiences { background: #c30908; text-align: center; color: white; }
.ExperienceLinks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 1296px); column-gap: clamp(8px, 1.8vw, 24px); margin: auto; padding: 15px 12px 35px; font-weight: 900; text-transform: uppercase; }
.ExperienceLinks a { display: grid; justify-items: center; gap: 2px; text-decoration: none; }
.ExperienceLinks a:hover span { text-decoration: underline; }
.ExperienceLinks img
{
    width: min(15.5vw, 100%, 280px);
    max-width: 280px !important;
    height: auto;
    max-height: 280px !important;
    aspect-ratio: 1;
    object-fit: contain;
}
.Shield { position: relative; z-index: 1; display: block; width: min(908px, 86%); margin: 0 auto -38px; }
.Shield img { width: 100%; }
.GolfVideoBand
{
    width: 100%;
    background: #73432e url('./assets/wood.webp') center center / auto 100% repeat-x;
}
.GolfVideo { display: block; width: min(900px, 100%); aspect-ratio: 900 / 492; margin: auto; background: black; object-fit: cover; }

.Golf { overflow: hidden; background: #c30908; color: white; }
.GolfStage
{
    --GolfBand: clamp(115px, 11.7vw, 157px);
    position: relative;
    display: grid;
    grid-template-columns: 50.6% 49.4%;
    padding-top: var(--GolfBand);
    isolation: isolate;
    background: linear-gradient(#108a2c 0 var(--GolfBand), #c30908 var(--GolfBand));
}
.CoursePhoto
{
    grid-area: 1 / 2;
    width: 100%;
    height: 100%;
    min-height: 571px;
    object-fit: cover;
    object-position: left center;
}
.GolfCopy
{
    grid-area: 1 / 1;
    width: min(475px, calc(100% - 2rem));
    justify-self: end;
    padding: clamp(82px, 8.3vw, 112px) 16px 32px 0;
    font-size: clamp(16px, 1.38vw, 19px);
    line-height: 1.65;
}
.GolfCopy p { margin: 0; }
.GolfCopy p + p { margin-top: 1.8rem; }
.Golfer { position: absolute; width: min(393px, 31%); top: 0; right: 53%; z-index: 1; }
.GolfLogo { position: absolute; width: min(257px, 19%); top: 33px; left: 60.4%; z-index: 2; }

.Coaster
{
    position: relative;
    width: 100%;
    background: black;
    border-bottom: 6px solid black;
}
.Coaster::before
{
    content: '';
    position: absolute;
    inset: 2% 0 0;
    background: url('./assets/wooden-background-2.webp') center / auto 100% repeat-x;
}
.CoasterMedia
{
    isolation: isolate;
    position: relative;
    width: min(1150px, 100%);
    margin: auto;
    aspect-ratio: 1569 / 1000;
    margin-bottom: calc(min(1150px, 100%) * -0.035);
    clip-path: inset(-20% 0 5.49%);
}
.CoasterVideo
{
    position: absolute;
    top: 23%;
    left: 21%;
    width: 57%;
    height: 71.5%;
    background: black;
    object-fit: cover;
}
.CoasterFrame
{
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.GoatCam
{
    position: absolute;
    z-index: 2;
    left: 34%;
    top: -8%;
    width: 32%;
}

.SiteFooter { padding: 26px 16px; min-height: 290px; display: grid; align-content: center; justify-items: center; gap: .75rem; background: white; color: #222; font-size: .9rem; }
.FooterGoat { width: min(187px, 48vw); }
.SiteFooter p { margin: .4rem 0 0; }
.WillReveal { opacity: 0; transition: opacity .75s ease, transform .8s cubic-bezier(.2,.65,.3,1); transition-delay: var(--RevealDelay, 0ms); }
.WillReveal[data-reveal="FromLeft"] { transform: translateX(-75px); }
.WillReveal[data-reveal="FromRight"] { transform: translateX(75px); }
.WillReveal.IsVisible, .WillReveal:focus-within { opacity: 1; transform: none; }

@media (max-width: 700px)
{
    .HeaderInner { min-height: 0; padding: .6rem 0; gap: .7rem; }
    .Brand img { width: 70px; }
    .MainNav { gap: .6rem .75rem; font-size: .8rem; }
    .Hero { aspect-ratio: 1.82 / 1; }
    .HeroVideo { height: 36%; }
    .HeroGoatHead { top: 33%; }
    .HeroLogo { top: 38%; }
    .WideBreak { display: none; }
    .ExperienceLinks { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; column-gap: .75rem; font-size: .75rem; padding-bottom: 1.25rem; }
    .ExperienceLinks img { width: min(31vw, 100%, 280px); }
    .Shield { margin-bottom: -12px; }
    .GolfStage { --GolfBand: clamp(78px, 23vw, 130px); grid-template-columns: 1fr; }
    .CoursePhoto { grid-area: 1 / 1; min-height: 0; height: auto; }
    .GolfCopy { grid-area: 2 / 1; justify-self: center; padding: .6rem 0 1rem; font-size: 1rem; }
    .Golfer { width: 38%; right: 57%; }
    .GolfLogo { width: 28%; top: 20px; }
    .SiteFooter { min-height: 240px; }
}

.AnimateActivities img { opacity: 0; }
.AnimateActivities.IsVisible img
{
    animation: ActivityFadeIn .75s ease-out both;
    animation-delay: var(--RevealDelay);
}
@keyframes ActivityFadeIn
{
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce)
{
    .AnimateActivities img, .AnimateActivities.IsVisible img { opacity: 1; animation: none; }
    .WillReveal { opacity: 1; transform: none !important; transition: none; }
}
