/* Golfer's Journey website. Brand: forest green on white, condensed wordmark, "Outperform yesterday". */

@font-face { font-family: "Oswald"; src: url("fonts/Oswald_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("fonts/Oswald_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/Archivo_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/Archivo_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --forest: #1e4d35;
  --forest-deep: #163b29;
  --turf: #2f6b4a;
  --paper: #fbfbf8;
  --ink: #13241b;
  --muted: #55655c;
  --line: #dde3dc;
  --gold: #b48a2e;
  --measure: 40rem;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Archivo", system-ui, sans-serif;
}
a { color: var(--forest); text-underline-offset: 0.18em; }
a:hover { color: var(--turf); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 var(--pad); }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.wordmark {
  font-family: "Oswald", sans-serif; font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--forest); text-decoration: none;
}
.site-nav { display: flex; gap: 1.5rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--forest); text-decoration: underline; }

/* Hero: the green, with one putt rolling across it */
.hero { background: var(--forest); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: clamp(3rem, 9vw, 6.5rem); padding-bottom: 0; }
.hero h1 {
  margin: 0; font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(3.4rem, 13vw, 9.5rem); line-height: 0.88; letter-spacing: -0.005em;
}
.hero p { max-width: 34rem; margin: 1.5rem 0 0; font-size: clamp(1.05rem, 2vw, 1.25rem); color: #dfeae2; }
.roll { margin-top: clamp(2rem, 6vw, 3.5rem); width: 100%; height: auto; }
.roll .tape-tick { stroke: rgba(255, 255, 255, 0.45); stroke-width: 1.5; }
.roll .tape-label { fill: rgba(255, 255, 255, 0.6); font: 600 13px "Archivo", sans-serif; }
.roll .path { stroke: rgba(255, 255, 255, 0.85); stroke-width: 3; fill: none; stroke-dasharray: 6 9; stroke-linecap: round; }
.roll .cup { fill: var(--forest-deep); stroke: rgba(255, 255, 255, 0.9); stroke-width: 2; }
.roll .ball { fill: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .roll .path { animation: draw 2.4s cubic-bezier(.25, .7, .3, 1) 0.3s both; }
  .roll .ball { animation: roll 2.4s cubic-bezier(.25, .7, .3, 1) 0.3s both; offset-path: var(--roll-path); offset-rotate: 0deg; }
  @keyframes roll { from { offset-distance: 0%; } to { offset-distance: 100%; } }
  @keyframes draw { from { stroke-dashoffset: 900; opacity: 0; } 15% { opacity: 1; } to { stroke-dashoffset: 0; } }
}

/* Sections */
section { padding: clamp(3.5rem, 9vw, 6rem) 0; }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 52rem) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
h2 {
  margin: 0 0 1rem; font-family: "Oswald", sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1; color: var(--forest);
}
h3 { margin: 0 0 0.35rem; font-size: 1.1rem; font-weight: 600; }
.lede { font-size: 1.2rem; max-width: var(--measure); }
.points { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--forest); }
.points li { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.points p { margin: 0; color: var(--muted); max-width: var(--measure); }
.status { display: inline-block; margin-top: 1.25rem; padding: 0.3rem 0.75rem; border: 1.5px solid var(--gold); color: #7a5c17; font-weight: 600; font-size: 0.95rem; border-radius: 999px; }

/* Launch list */
.launch { background: #eef3ee; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.launch form { display: grid; gap: 0.9rem; max-width: 32rem; }
.launch label.field { display: grid; gap: 0.35rem; font-weight: 600; }
.launch input[type="email"] {
  font: inherit; padding: 0.8rem 0.9rem; border: 1.5px solid #b9c6bc; border-radius: 10px; background: #fff; color: var(--ink);
}
.check { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.6rem; align-items: start; font-size: 0.98rem; }
.check input { width: 1.2rem; height: 1.2rem; margin: 0.2rem 0 0; accent-color: var(--forest); }
.button {
  justify-self: start; font: 600 1rem "Archivo", sans-serif; color: #fff; background: var(--forest);
  border: 0; border-radius: 10px; padding: 0.85rem 1.4rem; cursor: pointer;
}
.button:hover { background: var(--turf); }
.button:disabled { opacity: 0.5; cursor: not-allowed; }
.fine { font-size: 0.9rem; color: var(--muted); }
.form-note { font-weight: 600; min-height: 1.6em; margin: 0; }
.form-note.bad { color: #9b2c22; }

/* About */
.about blockquote { margin: 0; font-family: "Oswald", sans-serif; font-weight: 600; text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.1; color: var(--forest); }
.about p { max-width: var(--measure); }

/* Legal and support pages */
.doc { padding: clamp(2.5rem, 7vw, 4.5rem) 0 4rem; }
.doc h1 { margin: 0 0 0.5rem; font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1; color: var(--forest); }
.doc .meta { color: var(--muted); margin: 0 0 2rem; }
.doc .draft { border-left: 4px solid var(--gold); background: #faf6ea; padding: 0.8rem 1rem; max-width: var(--measure); margin: 0 0 2rem; }
.doc h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin: 2.25rem 0 0.6rem; }
.doc p, .doc li { max-width: var(--measure); }
.doc ol { padding-left: 1.3rem; }

/* Footer */
.site-foot { background: var(--forest-deep); color: #cfdcd3; padding: 2.5rem 0; font-size: 0.95rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.site-foot a { color: #fff; }
.site-foot nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

.site-nav a, .wordmark { white-space: nowrap; }
@media (max-width: 30rem) {
  .wordmark { font-size: 0.98rem; letter-spacing: 0.1em; }
  .site-nav { gap: 0.9rem; }
  .site-nav a { font-size: 0.9rem; }
  .roll { margin-left: calc(-1 * var(--pad) / 2); width: calc(100% + var(--pad)); }
}

/* Added Dec 2026: Golfer's Journey app section, hero button, four-link nav */
.alt { background: #f3f6f2; border-top: 1px solid var(--line); }
.hero .hero-cta { margin-top: 1.75rem; }
.button.light { background: #fff; color: var(--forest); text-decoration: none; display: inline-block; }
.button.light:hover { background: #dfeae2; color: var(--forest-deep); }
@media (max-width: 44rem) {
  .site-head .wrap { flex-wrap: wrap; padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .site-nav { flex-wrap: wrap; gap: 0.5rem 1rem; }
}
