@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --ink: #163126;
  --forest: #1f4d32;
  --dark: #12271c;
  --paper: #f9f7f2;
  --light: #fffdf7;
  --sand: #e9ece8;
  --line: #d6d9d4;
  --accent: #bc222b;
  --accent-light: #ff8282;
  --muted: #454a46;
  --display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --text: 'Montserrat', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.56 var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { font: 400 1em/.94 var(--display); margin: 0; }
h1 { font-size: clamp(4rem, 10vw, 8rem); text-transform: uppercase; }
h2 { font-size: clamp(2.7rem, 5.5vw, 4.4rem); text-transform: uppercase; }
input, button, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #317fde; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 5rem), 82rem); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 6.5rem); }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 5; padding: .75rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }

.site-header { background: #f9f9f7; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 5.25rem; }
.wordmark { display: inline-flex; align-items: center; width: 4.55rem; flex: none; }
.wordmark img { width: 100%; }
.site-nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .35rem clamp(.7rem, 2.2vw, 2.1rem); }
.site-nav a, .site-footer nav a { text-decoration: none; font-size: .91rem; font-weight: 700; }
.site-nav a { padding: .55rem 0; text-transform: uppercase; letter-spacing: .04em; }
.site-nav a:hover, .site-nav a[aria-current], .site-footer nav a:hover { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px; }

.button { display: inline-flex; align-items: center; justify-content: space-between; gap: .75rem; width: fit-content; min-height: 3rem; padding: .75rem 1.12rem; border: 1px solid transparent; background: var(--accent); color: var(--light); text-decoration: none; font-weight: 700; font-size: .85rem; line-height: 1.3; cursor: pointer; }
.button:hover { background: #9c1a24; }
.button span { font-size: 1.15rem; line-height: 1; }
.button.header-cta { white-space: nowrap; font-size: .82rem; min-height: 2.75rem; background: var(--forest); color: var(--light); }
.button.header-cta:hover { background: #245447; }
.button.ghost { border-color: #99a89b; background: transparent; color: var(--light); }
.button.ghost:hover { background: #ffffff17; }
.button.outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.button.outline:hover { background: var(--sand); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.eyebrow { font: 700 .76rem/1.35 var(--text); letter-spacing: .16em; display: flex; align-items: center; gap: .65rem; }
.dash { display: inline-block; height: 2px; width: 1.6rem; background: currentColor; }
.lede { font-size: clamp(1.05rem, 1.65vw, 1.27rem); line-height: 1.55; max-width: 37rem; }

.hero { background: var(--dark); color: var(--light); position: relative; isolation: isolate; }
.hero-inner { display: flex; align-items: flex-end; min-height: clamp(34rem, 55vw, 47rem); padding-block: clamp(3.2rem, 6vw, 6.2rem); }
.hero-copy .eyebrow { color: var(--light); }
.dot { display: inline-block; width: .54rem; height: .54rem; border-radius: 50%; background: var(--accent-light); }
.hero h1 { font-size: clamp(6.4rem, 13.5vw, 12rem); line-height: .79; }
.hero h1 em { font-style: normal; }
@supports (-webkit-text-stroke: 1px white) {
  .hero h1 em { -webkit-text-stroke: 1.5px var(--light); color: transparent; }
}
.hero .lede { color: var(--light); margin: 1.4rem 0 1.45rem; max-width: 33rem; }
.hero-visual { margin: 0; position: absolute; z-index: -1; inset: 0; }
.hero-visual::after { position: absolute; content: ''; inset: 0; background: linear-gradient(90deg,#07130eea 0%,#07130e9e 43%,transparent 74%), linear-gradient(0deg,#07130ea8,transparent 55%); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 59% center; }
.hero-visual figcaption, .course-detail figcaption { position: absolute; z-index: 1; bottom: 0; right: 0; padding: .35rem .55rem; background: #12271ceb; color: var(--light); font-size: .66rem; }
.hero .button:not(.ghost) { background: var(--light); color: var(--ink); }
.hero .button:not(.ghost):hover { background: var(--sand); }
.facts { background: var(--forest); color: var(--light); border-top: 1px solid #789483; }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.facts span { padding: .9rem .4rem; font-size: .88rem; }
.facts span + span { border-left: 1px solid #426256; }
.facts strong { font: 400 1.65rem/1 var(--display); margin-right: .24rem; }

.section-heading { margin-bottom: 1.75rem; }
.section-heading > p:last-child { margin: .75rem 0 0; max-width: 34rem; }
.trail-section .eyebrow, .page-intro .eyebrow { color: var(--accent); }
.hole-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.hole-row { min-height: 8.3rem; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: .88rem; padding: 1.25rem 1rem; text-decoration: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #ffffff24; }
.hole-row:hover { background: var(--light); }
.hole-row strong { display: block; text-transform: uppercase; font: 400 1.8rem/.99 var(--display); }
.hole-number { align-self: start; min-width: 2.15rem; padding: .27rem .2rem; text-align: center; font: 400 1.15rem/1.3 var(--display); background: var(--forest); color: var(--light); }
.hole-tagline { display: block; color: var(--muted); font-size: .85rem; line-height: 1.42; margin-top: .45rem; }
.row-arrow { color: var(--accent); font-weight: 700; }
.after-list { color: var(--muted); margin: 1.5rem 0 0; }

.difficulty-band { background: var(--dark); color: var(--light); }
.difficulty-band .eyebrow { color: var(--accent-light); }
.build-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 4vw, 4rem); align-items: center; padding-block: clamp(3rem, 6vw, 5.25rem); }
.course-detail { position: relative; margin: 0; }
.level-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; }
.level-grid > div { display: grid; grid-template-columns: 2.15rem 1fr; align-items: center; padding: 1rem .75rem; gap: .12rem .6rem; background: var(--light); color: var(--ink); font-weight: 700; }
.level-grid small { grid-column: 2; color: var(--muted); }
.trail-mark { display: inline-flex; width: 1.9rem; height: 1.9rem; flex: none; align-items: center; justify-content: center; }
.trail-mark i, .trail-mark.double::after { width: .95rem; height: .95rem; background: #1b251e; display: block; }
.trail-mark.green i { border-radius: 50%; background: #228042; }
.trail-mark.blue i { background: #245982; }
.trail-mark.black i, .trail-mark.double i, .trail-mark.double::after { transform: rotate(45deg) scale(.75); }
.trail-mark.double::after { content: ''; }
.trail-mark.double i, .trail-mark.double::after { transform: rotate(45deg) scale(.57); }
.home-more, .feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; }
.home-more h2, .feature-pair h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); }
.home-more p, .feature-pair p { margin: .75rem 0 1.1rem; max-width: 28rem; }

.page-intro { background: var(--sand); padding-block: clamp(3rem, 7vw, 5.7rem); border-bottom: 1px solid var(--line); }
.page-intro h1 { font-size: clamp(3.7rem, 9vw, 7.4rem); }
.page-intro .lede { margin: .9rem 0 0; }
.page-intro .back { display: inline-block; margin: 0 0 1.4rem; font-size: .93rem; font-weight: 700; text-underline-offset: .16em; }
.hole-intro { background: var(--dark); color: var(--light); }
.hole-intro .eyebrow { color: var(--accent-light); }
.article h2, .product-aside h2 { font-size: clamp(2.15rem, 4vw, 3.3rem); margin: 0 0 .7rem; }
.article h2:not(:first-child) { margin-top: 2.2rem; }
.article p, .article li { max-width: 44rem; }
.prose p, .prose .button { font-size: 1.05rem; }
.prose li { margin-bottom: .35rem; }
.product-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.product-aside { padding: clamp(1.35rem, 3vw, 2.2rem); background: var(--sand); border-top: 3px solid var(--forest); }
.text-link { display: block; width: fit-content; margin-top: 1rem; font-weight: 700; text-underline-offset: .2em; }
.setup-list details, .equipment { border-bottom: 1px solid var(--line); }
.setup-list details:first-child, .equipment { border-top: 1px solid var(--line); }
.setup-list summary { display: grid; grid-template-columns: 1.9rem 1fr auto auto; align-items: center; gap: .65rem; padding: .85rem 0; cursor: pointer; }
.setup-list summary::after { content: '+'; display: inline-block; text-align: right; padding-left: .6rem; font-weight: 700; }
.setup-list details[open] summary::after { content: '−'; }
.setup-list summary span:last-of-type { color: var(--muted); font-size: .88rem; }
.setup-list details > p { margin: 0 0 1rem 2.55rem; }
.equipment { margin-top: 1.25rem; padding: .9rem 0; }
.equipment summary { cursor: pointer; font-weight: 700; }
.page-end { display: flex; gap: .75rem; justify-content: space-between; flex-wrap: wrap; padding-bottom: clamp(3rem, 7vw, 6rem); }

form { display: grid; gap: .6rem; }
form label { font-weight: 700; margin-top: .3rem; }
form input, form select, form textarea { min-width: 0; width: 100%; padding: .65rem .75rem; color: var(--ink); background: var(--light); border: 1px solid #948c7e; border-radius: .13rem; }
form textarea { resize: vertical; }
form .button { margin-top: .55rem; }
.status { min-height: 1.4rem; font-size: .88rem; }
.score-key { margin: 1rem 0; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 35rem; }
td, th { border: 1px solid var(--line); text-align: left; padding: .55rem; }
thead th { background: var(--forest); color: var(--light); }
tbody th, td { background: var(--light); }

.site-footer { background: var(--dark); color: var(--light); padding-block: 2.3rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .75rem 1.15rem; }
.site-footer p { font-size: .88rem; margin: 0; }

@media (max-width: 66rem) {
  .wrap { width: min(calc(100% - 3rem), 82rem); }
  .hole-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 49rem) {
  .header-inner { padding-block: 1rem .5rem; display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; }
  .hero-visual img { object-position: 63% center; }
  .hero-visual::after { background: linear-gradient(0deg,#07130ef0 0%,#07130e84 62%,#07130e42 100%); }
  .hero h1 { font-size: clamp(6rem, 17vw, 8.2rem); }
  .product-layout, .contact-layout, .build-section { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; }
}
@media (max-width: 32rem) {
  .wrap { width: calc(100% - 2rem); }
  .wordmark { width: 3.8rem; }
  .site-nav a { font-size: .66rem; }
  .hero h1 { font-size: clamp(5.55rem, 19vw, 6.1rem); }
  .button.header-cta { padding-inline: .55rem; min-height: 2.4rem; }
  .facts span { font-size: .73rem; }
  .facts strong { display: block; margin: 0 0 .22rem; }
  .hole-list, .home-more, .feature-pair { grid-template-columns: 1fr; }
  .hole-row { min-height: auto; }
  .level-grid > div { padding: .65rem .37rem; gap: .1rem .25rem; font-size: .86rem; }
}
@media (forced-colors: active) {
  .hero h1 em { color: CanvasText; -webkit-text-stroke: 0; }
}
@media print {
  :root, .page-intro { background: #fff; color: #000; }
  .site-header, .site-footer, .skip, #print-scorecard { display: none; }
  .page-intro, .section { padding: 0; }
  .page-intro { border: 0; }
  .wrap { width: 100%; }
  .page-intro h1 { font-size: 32pt; }
  .table-scroll { overflow: visible; }
  table { min-width: 0; table-layout: auto; }
  th, td { border: 1px solid #333; }
  thead th { background: #eee; color: #000; }
}
