/* Glenvale Golf & Country Club — the club's own site (a demo set piece for Looper's film). */
/* Fonts: self-hosted Latin subsets from Fontsource 5.3.0 (SIL OFL 1.1): Young Serif 400 for headings only, Lato 400 and 700 for the tables, Fraunces 400 italic for the quotes. Only these weights exist, so nothing is ever faux-bolded. */
@font-face { font-family: "Young Serif"; src: url("/fonts/young-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/fonts/lato-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/fonts/lato-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "PT Sans"; src: url("/fonts/pt-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "PT Sans"; src: url("/fonts/pt-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "PT Sans Narrow"; src: url("/fonts/pt-sans-narrow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --green: #1E3A2A;
  --green-deep: #15291D;
  --parchment: #F3E8CE;
  --cream: #FBF4E2;
  --brass: #C9A24A;
  --brass-ink: #7E5717;
  --ink: #27201A;
  --ink-soft: #5A4E42;
  --rule: rgba(39, 32, 26, 0.16);
  --serif: "Young Serif", Georgia, serif;
  --quote: "Fraunces", Georgia, serif;
  --table: "Lato", system-ui, sans-serif;
  --sans: "PT Sans", system-ui, sans-serif;
  --label: "PT Sans Narrow", "PT Sans", sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* Labels and headings */
.eyebrow {
  font: 700 13px/1 var(--label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 22px;
}
h1, h2, h3 { color: var(--brass-ink); font-family: var(--serif); font-weight: 400; font-style: normal; line-height: 1.12; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
a[href^="tel:"] { white-space: nowrap; }
h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(29px, 3.6vw, 44px); }
h3 { font-size: 24px; }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 36em; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 10;
  background: var(--green);
  border-bottom: 1px solid rgba(201, 162, 74, 0.35);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font: 700 14px/1 var(--label);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream); text-decoration: none; opacity: 0.82;
  padding: 8px 0; border-bottom: 1px solid transparent;
}
.nav a:hover { opacity: 1; }
.nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--brass); }

/* Buttons */
.btn {
  display: inline-block;
  font: 700 14px/1 var(--label);
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  padding: 16px 26px;
  border-radius: 2px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-brass { background: var(--brass); color: var(--green-deep); }
.btn-brass:hover { background: #D6B25C; }
.btn-line { border: 1px solid rgba(251, 244, 226, 0.7); color: var(--cream); }
.btn-line:hover { background: rgba(251, 244, 226, 0.12); }
.nav .btn { opacity: 1; padding: 13px 18px; border-bottom: 0; color: var(--green-deep); }

/* Home hero */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture img { object-fit: cover; object-position: center 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,41,29,0) 22%, rgba(21,41,29,0.5) 48%, rgba(21,41,29,0.82) 72%, rgba(21,41,29,0.94) 100%);
}
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 72px; }
.hero .eyebrow { color: var(--brass); }
.hero h1, .page-head h1, .section-green h2 { color: var(--cream); }
.hero h1 { max-width: 17em; }
.hero p { font-size: 20px; max-width: 32em; margin: 20px 0 32px; color: rgba(251, 244, 226, 0.9); }
.hero p.eyebrow { font-size: 13px; margin: 0 0 22px; color: var(--brass); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Page heads (inner pages) */
.page-head { position: relative; height: 440px; display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; }
.page-head picture, .page-head picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-head picture img { object-fit: cover; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,41,29,0.05) 30%, rgba(21,41,29,0.82) 100%); }
.page-head .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 52px; }
.page-head .eyebrow { color: var(--brass); }

/* Sections */
.section { padding: 112px 0; }
.section-parchment { background: var(--parchment); }
.section-green { background: var(--green); color: var(--cream); }
.section-green .eyebrow { color: var(--brass); }
.section-green .lede { color: rgba(251, 244, 226, 0.82); }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 88px; align-items: center; }
.split p { margin: 22px 0 0; }
.split p.eyebrow { margin: 0 0 22px; }
.split .figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-top: 56px; }
.facts div { padding: 26px 0; }
.facts div + div { border-left: 1px solid var(--rule); padding-left: 28px; }
.facts strong { display: block; font: 400 34px/1 var(--sans); font-variant-numeric: lining-nums; color: var(--green); }
.facts span { display: block; margin-top: 10px; font: 700 12px/1.3 var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

/* Text left, photograph bleeding to the right edge, full height of the section */
.bleed { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; background: var(--cream); }
.bleed-text { display: flex; align-items: center; padding: 112px 72px 112px max(28px, calc((100vw - var(--wrap)) / 2 + 28px)); }
.bleed-text > div { max-width: 560px; }
.bleed-text p { margin: 22px 0 0; }
.bleed-text p.eyebrow { margin: 0 0 22px; }
.bleed-figure { position: relative; margin: 0; overflow: hidden; color: var(--cream); }
.bleed.section-parchment { background: var(--parchment); }
.bleed-left .bleed-text { padding: 112px max(28px, calc((100vw - var(--wrap)) / 2 + 28px)) 112px 88px; }
.section-card { padding-top: 96px; }
.section-card .card-wrap { margin-top: 40px; }
.bleed-figure picture, .bleed-figure picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bleed-figure picture img { object-fit: cover; object-position: 55% 30%; }
.bleed-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,41,29,0) 45%, rgba(21,41,29,0.55) 72%, rgba(21,41,29,0.88) 100%); }
.bleed-figure blockquote { position: absolute; z-index: 1; left: 56px; right: 56px; bottom: 56px; margin: 0; max-width: 19em; text-wrap: balance; font: italic 400 clamp(22px, 2.2vw, 30px)/1.35 var(--quote); }
.bleed-figure cite { display: block; margin-top: 16px; font: 700 13px/1 var(--label); font-style: normal; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }

/* Three ways in */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.trio a { text-decoration: none; display: block; }
.trio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.trio .frame { overflow: hidden; }
.trio a:hover img { transform: scale(1.03); }
.trio h3 { margin-top: 22px; }
.trio p { margin: 10px 0 0; color: var(--ink-soft); }

/* Full-bleed band */
.band { position: relative; height: 520px; display: flex; align-items: center; color: var(--cream); overflow: hidden; }
.band picture, .band picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.band picture img { object-fit: cover; object-position: center 40%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,41,29,0.78) 0%, rgba(21,41,29,0.35) 55%, rgba(21,41,29,0) 100%); }
.band .wrap { position: relative; z-index: 1; width: 100%; }
.band blockquote { margin: 0; max-width: 17em; text-wrap: balance; font: italic 400 clamp(26px, 3vw, 38px)/1.3 var(--quote); }
.band cite { display: block; margin-top: 22px; font: 700 13px/1 var(--label); font-style: normal; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }

/* Scorecard */
.card-wrap { overflow-x: auto; margin-top: 48px; border: 1px solid var(--rule); background: var(--cream); }
table.card { border-collapse: collapse; width: 100%; min-width: 760px; font: 400 15px/1 var(--table); font-variant-numeric: tabular-nums; }
.card th, .card td { padding: 13px 10px; text-align: center; border-bottom: 1px solid var(--rule); }
.card thead th { font: 700 11px/1 var(--table); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); background: var(--green); border-bottom: 0; }
.card th[scope="row"] { text-align: left; padding-left: 18px; font: 700 11px/1 var(--table); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.card .tee { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.18); }
.card .sum { background: rgba(201, 162, 74, 0.14); font-weight: 700; }
.card tr:last-child th, .card tr:last-child td { border-bottom: 0; }
.card-note { margin: 14px 0 0; font-size: 14px; color: var(--ink-soft); }

/* Fees */
.fees { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }
.fee-list { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); font-family: var(--table); }
.fee-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.fee-list b { font: 700 19px/1 var(--table); color: var(--green); font-variant-numeric: lining-nums; white-space: nowrap; }
.fee-list small { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
.notes { margin: 28px 0 0; padding: 0; list-style: none; }
.notes li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.notes li:first-child { border-top: 1px solid var(--rule); }
.notes strong { display: block; font: 700 13px/1.3 var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 6px; }

/* The tee time form */
.ask { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.ask .form-place { background: var(--cream); border-radius: 2px; padding: 8px; }
.ask .form-place:empty { display: none; }
.ask-solo { grid-template-columns: 1fr; }
.ask-solo .lede a { color: var(--brass); }
.ask .fallback { margin: 18px 0 0; font-size: 15px; color: rgba(251, 244, 226, 0.75); }
.ask .fallback a { color: var(--brass); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); margin-top: 48px; }
.contact-grid > div { padding: 34px 32px 34px 0; }
.contact-grid > div + div { border-left: 1px solid var(--rule); padding-left: 32px; }
.contact-grid .big { display: block; margin-top: 8px; font: 400 24px/1.25 var(--sans); color: var(--green); text-decoration: none; }
.contact-grid a.big:hover { color: var(--brass-ink); }
.hours { margin: 14px 0 0; padding: 0; list-style: none; font-family: var(--table); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.people { margin: 14px 0 0; padding: 0; list-style: none; }
.people li { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.people span { display: block; font-size: 14px; color: var(--ink-soft); }

/* Footer */
.site-foot { background: var(--green-deep); color: rgba(251, 244, 226, 0.78); padding: 80px 0 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; align-items: start; }
.foot-grid img { width: 210px; height: auto; }
.foot-grid h4 { margin: 0 0 14px; font: 700 12px/1 var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.foot-grid p { margin: 0; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--cream); }
.foot-base { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(251, 244, 226, 0.14); display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: rgba(251, 244, 226, 0.5); }

/* Narrower screens */
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .split, .fees, .ask { grid-template-columns: 1fr; gap: 48px; }
  .bleed { grid-template-columns: 1fr; min-height: 0; }
  .bleed-text { padding: 80px 28px; }
  .bleed-figure { height: 620px; }
  .bleed-left .bleed-text { padding: 80px 28px; }
  .bleed-left .bleed-figure { order: 2; }
  .bleed-figure blockquote { left: 28px; right: 28px; bottom: 36px; }
  .trio { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .band { height: 420px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .bleed-text { padding: 64px 20px; }
  .bleed-left .bleed-text { padding: 64px 20px; }
  .bleed-figure { height: 540px; }
  .bleed-figure blockquote { left: 20px; right: 20px; bottom: 28px; }
  .site-head .wrap { height: 64px; }
  .brand img { height: 36px; }
  .nav { gap: 18px; }
  .nav .btn { display: none; }
  .nav a { font-size: 13px; letter-spacing: 0.1em; }
  .hero { min-height: 82vh; }
  .hero .wrap { padding-bottom: 48px; }
  .hero .eyebrow { display: none; }
  .hero p { font-size: 18px; }
  .page-head { height: 340px; }
  .facts strong { font-size: 28px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; }
}
