/* Proof of the Pudding x PGA TOUR Summit landing page. Mobile first. */
:root {
  --ink: #182624; --teal: #3F605B; --seal: #494540; --gold: #D8AA2E; --terra: #C17A5E;
  --cream: #F4EFE6; --paper: #FBF8F2; --line: #DDD5C7; --muted: #6B655C;
  --serif: 'Playfair Display', Georgia, serif; --sans: 'DM Sans', Arial, sans-serif;
  --r: 18px; --pad: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--seal); font: 400 17px/1.55 var(--sans); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--teal); }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }

.eyebrow { font: 700 12px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.eyebrow--gold { color: var(--gold); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font: 700 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s ease; }
.btn:active { transform: scale(.98); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #E4B93F; }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--ghost { background: rgba(244, 239, 230, .12); color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(244, 239, 230, .55); backdrop-filter: blur(6px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn .play { width: 12px; height: 12px; fill: currentColor; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: calc(10px + env(safe-area-inset-top)) var(--pad) 10px; background: linear-gradient(rgba(24, 38, 36, .7), rgba(24, 38, 36, 0)); transition: background .3s ease; }
.nav.is-solid { background: rgba(24, 38, 36, .94); backdrop-filter: blur(8px); }
.nav__brand img { width: 120px; height: auto; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; background: var(--ink); }
.hero__media, .hero__poster, .hero__video, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster, .hero__video { object-fit: cover; }
.hero__video { opacity: 0; transition: opacity .8s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__shade { background: linear-gradient(180deg, rgba(24, 38, 36, .25) 0%, rgba(24, 38, 36, .15) 35%, rgba(24, 38, 36, .88) 78%, var(--ink) 100%); }
.hero__content { position: relative; padding: 0 var(--pad) 56px; max-width: 760px; }
.hero h1 { color: var(--cream); font-size: clamp(42px, 11vw, 84px); }
.hero h1 em { color: var(--gold); display: block; }
.hero__sub { margin: 18px 0 28px; font-size: 18px; color: #E4DED2; max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__pause { position: absolute; right: 14px; bottom: 14px; z-index: 2; background: rgba(24, 38, 36, .55); color: var(--cream); border: 1px solid rgba(244, 239, 230, .4); border-radius: 999px; font: 500 12px var(--sans); padding: 6px 12px; }

/* ticket */
.ticket-wrap { padding: 0 var(--pad); margin-top: -28px; position: relative; z-index: 3; }
.ticket { position: relative; max-width: 440px; margin: 0 auto; background: var(--paper); border-radius: 14px; padding: 30px 26px 24px; text-align: center; box-shadow: 0 24px 60px -20px rgba(24, 38, 36, .45); }
.ticket::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid var(--gold); border-radius: 8px; pointer-events: none; }
.ticket__kicker { font: 700 12px var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.ticket__title { font-size: 48px; margin: 8px 0 6px; }
.ticket__title i { color: var(--gold); font-weight: 500; }
.ticket__prize { font: 500 17px/1.4 var(--sans); color: var(--seal); }
.ticket__tear { margin: 22px -26px 20px; border-top: 2px dashed var(--line); position: relative; }
.ticket__tear::before, .ticket__tear::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--cream); }
.ticket__tear::before { left: -11px; } .ticket__tear::after { right: -11px; }
.ticket__btn { width: 100%; }
.ticket__fine { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* sections */
section { scroll-margin-top: 70px; }
.section-head { padding: 0 var(--pad); max-width: 820px; margin: 0 auto 28px; }
.section-head h2, .enter h2, .who h2 { font-size: clamp(34px, 8.5vw, 60px); }
.section-sub { margin-top: 16px; font-size: 18px; color: var(--seal); }
.section-head--light h2 { color: var(--cream); }
.section-head--light h2 em { color: var(--gold); }

.value { padding: 88px 0 72px; }
.card { background: var(--paper); border-radius: var(--r); }
.scorecard { margin: 0 var(--pad); max-width: 820px; padding: 8px 0; border: 1px solid var(--line); }
@media (min-width: 860px) { .scorecard { margin: 0 auto; } }
.scorecard__head, .scorecard__rows li, .scorecard__total { display: grid; grid-template-columns: 44px 1fr 36px; gap: 14px; align-items: start; padding: 16px 20px; }
.scorecard__head { font: 700 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.scorecard__head span:last-child { text-align: center; }
.scorecard__rows { list-style: none; margin: 0; padding: 0; }
.scorecard__rows li { border-bottom: 1px solid var(--line); }
.sc__n { font: 500 30px/1 var(--serif); color: var(--teal); }
.scorecard__rows strong { display: block; font: 600 22px/1.2 var(--serif); color: var(--ink); margin-bottom: 6px; }
.scorecard__rows p { font-size: 16px; }
.sc__tick { font: 500 26px/1 var(--serif); color: var(--teal); text-align: center; }
.scorecard__total { align-items: center; font: 700 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.scorecard__total em { grid-column: 2 / 4; font: italic 500 30px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--teal); }

/* film */
.film { background: var(--ink); padding: 80px 0; }
.film__frame { position: relative; margin: 0 var(--pad); max-width: 1080px; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
@media (min-width: 1120px) { .film__frame { margin: 0 auto; } }
.film__video { width: 100%; height: 100%; object-fit: cover; }
.film__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(24, 38, 36, .25); border: 0; color: var(--cream); font: 700 14px var(--sans); letter-spacing: .06em; cursor: pointer; }
.film__play svg { width: 78px; height: 78px; padding: 24px 22px 24px 28px; border-radius: 50%; background: var(--gold); fill: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s ease; }
.film__play:hover svg { transform: scale(1.06); }
.film.is-playing .film__play { display: none; }

/* services */
.services { padding: 88px 0 64px; }
.svc { list-style: none; margin: 0; padding: 0 var(--pad); display: grid; gap: 16px; max-width: 1180px; }
@media (min-width: 700px) { .svc { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .svc { grid-template-columns: repeat(5, 1fr); margin: 0 auto; } }
.svc__item { background: var(--paper); border-radius: var(--r); overflow: hidden; display: grid; grid-template-columns: 120px 1fr; }
@media (min-width: 700px) { .svc__item { grid-template-columns: 1fr; } }
.svc__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
@media (min-width: 700px) { .svc__item img { aspect-ratio: 5 / 4; } }
.svc__item div { padding: 16px 18px 18px; }
.svc__item h3 { font-size: 22px; margin-bottom: 6px; }
.svc__item p { font-size: 15px; color: var(--muted); }

/* trust */
.trust { background: var(--teal); color: var(--cream); padding: 72px var(--pad); text-align: center; }
.trust__quip { color: var(--cream); font-size: clamp(30px, 7.5vw, 52px); margin: 0 auto 40px; max-width: 760px; }
.trust__quip em { color: var(--gold); }
.trust__logos { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 20px; align-items: center; }
@media (min-width: 700px) { .trust__logos { grid-template-columns: repeat(5, 1fr); } }
.trust__logos img { height: 44px; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; opacity: .95; }

/* who */
.who { display: grid; background: var(--paper); }
@media (min-width: 860px) { .who { grid-template-columns: 1fr 1fr; } }
.who__img img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.who__body { padding: 56px var(--pad) 64px; max-width: 560px; }
@media (min-width: 860px) { .who__body { padding: 80px 56px; align-self: center; } }
.who__logo { width: 260px; height: auto; margin: 6px 0 22px; }
.who__body p { font-size: 18px; }
.who__line { margin-top: 18px; font: italic 500 22px/1.3 var(--serif) !important; color: var(--teal); }

/* gallery */
.gallery-sec { padding: 88px 0 72px; }
.strip { list-style: none; margin: 0; padding: 0 var(--pad) 8px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip li { flex: 0 0 72%; max-width: 340px; scroll-snap-align: center; }
.strip figure { margin: 0; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.strip figcaption { font: 700 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.gallery__nav { display: flex; align-items: center; gap: 12px; padding: 14px var(--pad) 0; font: 700 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.gallery__bar { flex: 0 0 120px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.gallery__bar i { display: block; width: 20%; height: 100%; background: var(--teal); transition: width .1s linear; }

/* entry */
.enter { background: var(--ink); color: #DAD3C6; padding: 88px var(--pad) 96px; display: grid; gap: 34px; }
@media (min-width: 960px) { .enter { grid-template-columns: 0.9fr 1.1fr; padding: 110px max(var(--pad), calc((100vw - 1120px) / 2)); } }
.enter h2 { color: var(--cream); }
.enter h2 em { color: var(--gold); }
.enter__prize { font: 500 20px/1.4 var(--sans); color: var(--cream); margin: 14px 0 14px; }
.enter__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; background: var(--paper); color: var(--seal); padding: 24px 18px; border-radius: var(--r); }
.field { display: flex; flex-direction: column; gap: 6px; grid-column: span 2; border: 0; margin: 0; padding: 0; min-width: 0; }
@media (min-width: 520px) { .field { grid-column: span 1; } .field--full, .field--chips { grid-column: span 2; } }
.field label, .field legend { font: 700 13px var(--sans); color: var(--ink); padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel] { width: 100%; height: 50px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font: 400 16px var(--sans); color: var(--ink); background: #fff; }
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(63, 96, 91, .18); }
.field .is-bad, .field input.is-bad { border-color: var(--terra); }
.field--chips { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.field--chips legend { width: 100%; margin-bottom: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 999px; font: 500 14px var(--sans); background: #fff; transition: all .15s ease; }
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--cream); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(63, 96, 91, .3); }
.wink { width: 100%; font: italic 500 16px var(--serif); color: var(--teal); min-height: 1.3em; opacity: 0; transition: opacity .3s ease; }
.wink.is-on { opacity: 1; }
.hp { position: absolute; left: -9999px; }
.enter__submit { grid-column: span 2; width: 100%; margin-top: 6px; }
.enter__status { grid-column: span 2; font-size: 14px; min-height: 1em; }
.enter__status.is-err { color: #A6492C; }
.enter__legal { grid-column: span 2; font-size: 12px; color: var(--muted); }
.enter__done { background: var(--paper); color: var(--seal); padding: 32px 24px; border-radius: var(--r); display: grid; gap: 14px; align-content: start; }
.enter__done h3 { font-size: 32px; }
.tbc { font-style: italic; color: var(--terra); }

/* rules */
.faq { padding: 80px 0; }
.faq__list { max-width: 820px; margin: 0 auto; padding: 0 var(--pad); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font: 600 20px var(--serif); color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--teal); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; font-size: 16px; }

/* footer */
.footer { background: var(--ink); color: #BFB8AA; text-align: center; padding: 56px var(--pad) calc(110px + env(safe-area-inset-bottom)); display: grid; gap: 10px; justify-items: center; font-size: 15px; }
.footer img { width: 170px; height: auto; margin-bottom: 8px; }
.footer__legal { font-size: 12px; color: #8A8377; margin-top: 10px; }
@media (min-width: 860px) { .footer { padding-bottom: 56px; } }

/* sticky mobile bar */
.mobile-cta { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; background: var(--paper); border-radius: 999px; box-shadow: 0 14px 40px -10px rgba(24, 38, 36, .55); transform: translateY(150%); transition: transform .35s ease; }
.mobile-cta.is-on { transform: none; }
.mobile-cta strong { display: block; font: 600 16px var(--serif); color: var(--ink); }
.mobile-cta span { font-size: 12px; color: var(--muted); }
@media (min-width: 860px) { .mobile-cta { display: none; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (min-width: 860px) {
  :root { --pad: 40px; }
  .nav__brand img { width: 150px; }
  .hero__content { padding-bottom: 96px; padding-left: max(var(--pad), calc((100vw - 1180px) / 2)); }
  .ticket-wrap { margin-top: -60px; }
}
