/* Sturlese Field App public site: Liquid Glass over a predawn marsh.
   Glass edges catch the amber of shooting light above and a drake mallard's
   speculum below. Apple system faces only (New York + SF); no web fonts. */
:root {
  color-scheme: dark;
  --ink: #091715;
  --cream: #f4e9d7;
  --cream-2: rgba(244, 233, 215, 0.8);
  --cream-3: rgba(244, 233, 215, 0.58);
  --hairline: rgba(244, 233, 215, 0.12);
  --amber: #edb56a;
  --tree: #061210;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4.5vw, 48px);
  --measure: min(1080px, 100% - 2 * var(--gutter));
  --title: clamp(40px, 6.4vw, 88px);
  --radius: clamp(26px, 3vw, 34px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  color: var(--cream); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(48vw 42vw at 88% 22%, rgba(237, 181, 106, 0.13), transparent 70%),
    radial-gradient(44vw 44vw at 6% 64%, rgba(108, 116, 218, 0.14), transparent 70%),
    radial-gradient(60vw 46vw at 55% 104%, rgba(63, 144, 137, 0.17), transparent 70%),
    linear-gradient(180deg, #0c1f1c, var(--ink) 60%);
  background-attachment: fixed;
}
a { color: var(--amber); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.skip {
  position: absolute; z-index: 40; left: 16px; top: -64px; padding: 10px 18px; border-radius: 999px;
  background: var(--cream); color: var(--ink); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

/* Liquid Glass: frosted body, lit rim, specular sheen. */
.glass {
  position: relative; isolation: isolate;
  background: linear-gradient(155deg, rgba(255, 247, 232, 0.16), rgba(255, 247, 232, 0.06) 40%,
    rgba(255, 247, 232, 0.03) 64%, rgba(108, 116, 218, 0.09));
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 245, 226, 0.45), inset 0 -1px 0 rgba(255, 245, 226, 0.06),
    0 1px 1px rgba(0, 0, 0, 0.18), 0 26px 60px -22px rgba(1, 8, 7, 0.75);
}
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(150deg, rgba(240, 192, 124, 0.8), rgba(255, 247, 232, 0.18) 26%,
    rgba(255, 247, 232, 0.04) 58%, rgba(108, 116, 218, 0.55) 84%, rgba(63, 144, 137, 0.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.glass::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(110% 70% at 12% -10%, rgba(255, 251, 242, 0.16), transparent 55%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(22, 42, 40, 0.94); }
}


/* Hero: the club's marsh flyover, muted and looping; a shade on the left keeps the words legible. */
.hero { position: relative; overflow: hidden; }
/* The video stays fixed behind the whole page, so it is still there as the sections scroll over it. */
/* The body stays clear: a background on it would paint over the fixed video (z-index below 0). The poster shows until the video plays. */
.page-home { background: none; }
.hero--video { position: static; overflow: visible; display: flex; align-items: flex-end; min-height: max(78svh, 520px); padding: 0 0 clamp(48px, 8vw, 96px); }
.hero-video { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-shade {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 18, 19, 0.82) 0%, rgba(7, 18, 19, 0.55) 34%, rgba(7, 18, 19, 0.12) 62%, transparent 78%),
    linear-gradient(180deg, transparent 72%, rgba(9, 23, 21, 0.5) 100%);
}
.hero-copy { position: relative; z-index: 2; width: var(--measure); margin: 0 auto; }
.title {
  margin: 0 0 clamp(18px, 2.6vw, 28px); max-width: 12ch; color: var(--cream);
  font: 400 var(--title)/1.02 var(--serif); letter-spacing: -0.024em; text-wrap: balance;
  text-shadow: 0 2px 24px rgba(4, 12, 14, 0.55);
}
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
/* On a phone the frame crops from the sides; keep its right edge, where the Google Earth credit is burned in. */
@media (max-width: 760px) { .hero-video { object-position: 100% 50%; } }
/* Phones: the video fills the first screen; Privacy starts below it and the frame's Google Earth credit shows uncovered (owner, 2026-10-21). */
@media (max-width: 760px) {
  .hero--video { min-height: 100svh; align-items: center; padding: 0 0 22svh; }
}
.lede { max-width: 33em; margin: 0 0 28px; color: var(--cream-2); font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.58; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px;
  border-radius: 999px; color: var(--cream); font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform 0.2s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: scale(0.98); }
.pill--amber { color: #1b1208; background: linear-gradient(180deg, rgba(250, 212, 152, 0.9), rgba(226, 160, 92, 0.82)); }
.pill--amber::after { background: radial-gradient(120% 90% at 30% -20%, rgba(255, 255, 255, 0.55), transparent 55%); }
.quiet-link {
  padding: 12px 6px; color: var(--cream-2);
  text-decoration-color: rgba(244, 233, 215, 0.35); text-underline-offset: 5px;
}
.quiet-link:hover { color: var(--cream); }

/* Home sections. */
.section { width: var(--measure); margin: 0 auto; padding-top: clamp(64px, 10vw, 120px); }
.section-title { margin: 0 0 14px; font: 400 clamp(30px, 3.6vw, 46px)/1.08 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
.section-title + .glass { margin-top: 28px; }
.section-lede { max-width: 36em; margin: 0 0 30px; color: var(--cream-2); font-size: 18px; }
.uses { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); }
.use { padding: clamp(26px, 3.6vw, 44px); }
.use:nth-child(odd) { border-right: 1px solid var(--hairline); }
.use:nth-child(-n + 2) { border-bottom: 1px solid var(--hairline); }
.use-icon { display: block; width: 30px; height: 30px; margin-bottom: 20px; color: var(--amber); }
.use h3 { margin: 0 0 8px; font: 500 clamp(21px, 2vw, 25px)/1.2 var(--serif); letter-spacing: -0.01em; }
.use p, .step p { margin: 0; max-width: 30em; color: var(--cream-2); font-size: 16.5px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-radius: var(--radius); }
.step { padding: clamp(26px, 3vw, 38px); }
.step + .step { border-left: 1px solid var(--hairline); }
.step-n {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border-radius: 50%;
  color: #1b1208; font: 500 20px/1 var(--serif);
  background: linear-gradient(180deg, #f8d59e, #dc9f5e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 6px 18px -4px rgba(237, 181, 106, 0.5);
}
.step b { display: block; margin-bottom: 6px; color: var(--cream); font-size: 18px; font-weight: 600; }
.help {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  padding: clamp(28px, 4.4vw, 52px); border-radius: var(--radius);
}
.help .section-title { font-size: clamp(26px, 2.8vw, 34px); }
.help p { margin: 0; color: var(--cream-2); }

/* The one-page site's short sections: a line or two each; the policies open in place. */
.section--short { padding-top: clamp(28px, 4vw, 44px); }
.section--short:first-child { padding-top: clamp(48px, 7vw, 80px); }
.brief { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); }
/* Over the moving video the boxes need a darker glass to stay readable, sky or marsh behind. */
/* Narrower than the page and set to the left, so the Google Earth credit at the bottom right stays clear. */
.page-home .brief { max-width: 640px; }
.page-home .brief.glass { background: linear-gradient(160deg, rgba(20, 38, 37, 0.82), rgba(8, 20, 20, 0.88)); }
.brief-title { margin: 0 0 8px; font: 400 clamp(24px, 2.6vw, 32px)/1.1 var(--serif); letter-spacing: -0.01em; }
.brief p { margin: 0; max-width: 40em; color: var(--cream-2); font-size: 16.5px; }
.brief p + p { margin-top: 8px; }
.brief .brief-note { color: var(--cream-3); font-size: 15px; }
.brief a { color: var(--cream); text-decoration-color: rgba(244, 233, 215, 0.4); text-underline-offset: 4px; }
.brief summary { display: block; cursor: pointer; list-style: none; }
.brief summary::-webkit-details-marker { display: none; }
.brief-more { display: inline-block; margin-top: 12px; color: var(--amber); font-size: 15px; font-weight: 600; }
.brief-more::after { content: " ↓"; }
.brief[open] .brief-more::after { content: " ↑"; }
.brief summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 6px; border-radius: 8px; }
.doc.doc--inline { width: auto; margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid var(--hairline); border-radius: 0; background: none; }
.doc.doc--inline h3 { margin: 1.8em 0 0.4em; color: var(--cream); font: 500 clamp(19px, 1.9vw, 22px)/1.25 var(--serif); }

/* Legal and support documents: a darker sheet of glass for long reading. */
.doc {
  width: min(820px, 100% - 2 * var(--gutter)); margin: -64px auto 0; padding: var(--doc-pad);
  border-radius: var(--radius); background: linear-gradient(165deg, rgba(30, 52, 50, 0.74), rgba(12, 28, 27, 0.82));
}
.doc > :first-child { margin-top: 0; }
.doc > :last-child { margin-bottom: 0; }
.doc .muted { color: var(--cream-3); font-size: 15px; }
.doc h2 { margin: 2.2em 0 0.5em; color: var(--cream); font: 500 clamp(22px, 2.2vw, 26px)/1.25 var(--serif); letter-spacing: -0.01em; }
.doc p, .doc li { color: rgba(244, 233, 215, 0.86); line-height: 1.7; }
.doc ul { padding-left: 1.25em; }
.doc li { margin: 0.55em 0; padding-left: 0.2em; }
.doc li::marker { color: var(--amber); }
.doc b { color: var(--cream); font-weight: 600; }

.foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  width: var(--measure); margin: clamp(48px, 7vw, 80px) auto 0;
  padding: 28px 0 max(40px, env(safe-area-inset-bottom)); border-top: 1px solid var(--hairline);
}
.brand-mark {
  flex: none; width: 30px; height: 28px; background: var(--cream);
  -webkit-mask: url(pintail.png) center / contain no-repeat; mask: url(pintail.png) center / contain no-repeat;
}
.page-end { height: clamp(48px, 7vw, 80px); }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--cream-2); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--hairline); }
}
@media (max-width: 760px) {
  .uses { grid-template-columns: 1fr; }
  .use:nth-child(odd) { border-right: 0; }
  .use:nth-child(-n + 2) { border-bottom: 0; }
  .use + .use { border-top: 1px solid var(--hairline); }
}
@media (max-width: 640px) {
  .sky { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .pill { transition: none; }
}
