/* AC Golf link page.
   All colors live in the two token blocks below: light mode ("Clubhouse")
   and dark mode ("Clubhouse after dark"). The page follows the phone's setting. */

:root {
  color-scheme: light dark;
  --bg: #f6f1e6;
  --text: #1e3a2f;
  --name: #1e4634;
  --title: #765c2f;
  --bio: #44564d;
  --btn-bg: #1e4634;
  --btn-border: #1e4634;
  --btn-text: #f6f1e6;
  --btn-detail: #d9c9a8;
  --btn-primary-bg: #1e4634;
  --btn-primary-text: #f6f1e6;
  --btn-primary-detail: #d9c9a8;
  --mono-bg: #1e4634;
  --mono-text: #f6f1e6;
  --mono-ring: #b08d57;
  --link: #1e4634;
  --save-text: #1e4634;
  --save-border: #1e4634;
  --footer: #6b6b5e;
  --cover-bg: #1e4634;
  --focus: #1e4634;
  --font-ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;
  --title-transform: uppercase;
  --title-spacing: .06em;
  --title-weight: 400;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1a15;
    --text: #ece4d3;
    --name: #f3ecdc;
    --title: #c9a46a;
    --bio: #a9b5ad;
    --btn-bg: #1d3b2d;
    --btn-border: #2c5240;
    --btn-text: #f6f1e6;
    --btn-detail: #cdb88f;
    --btn-primary-bg: #1d3b2d;
    --btn-primary-text: #f6f1e6;
    --btn-primary-detail: #cdb88f;
    --mono-bg: #1e4634;
    --mono-text: #f6f1e6;
    --mono-ring: #c9a46a;
    --link: #d8cdb5;
    --save-text: #c9a46a;
    --save-border: #c9a46a;
    --footer: #7f8c85;
    --cover-bg: #1e4634;
    --focus: #c9a46a;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.4;
}

.page {
  display: flex;
  flex-direction: column;
  max-width: 30rem;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding-bottom: 1.5rem;
  text-align: center;
}

/* Top: cover band (photo later), monogram, name, title, one-liner */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
}

.cover {
  align-self: stretch;
  height: 150px;
  margin: 0 -1rem;
  overflow: hidden;
  background: var(--cover-bg);
}

.monogram {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: -1.75rem 0 .6rem;
  border: 2px solid var(--mono-ring);
  border-radius: 50%;
  background: var(--mono-bg);
  color: var(--mono-text);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.name {
  margin: 0 0 .2rem;
  color: var(--name);
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
}

.title {
  margin: 0 0 .5rem;
  color: var(--title);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: var(--title-weight);
  letter-spacing: var(--title-spacing);
  text-transform: var(--title-transform);
}

.nowrap { white-space: nowrap; }

.bio {
  max-width: 22rem;
  margin: 0 0 1.4rem;
  color: var(--bio);
  font-size: .95rem;
}

/* Booking buttons */
.links {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: 0 1rem;
}

.btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 2.75rem;
  padding: .8rem 1rem;
  border: 1px solid var(--btn-border);
  border-radius: 12px;
  background: var(--btn-bg);
  color: var(--btn-text);
  text-decoration: none;
}

.btn-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.btn-detail {
  margin-top: .15rem;
  color: var(--btn-detail);
  font-family: var(--font-ui);
  font-size: .8rem;
}

.btn-primary {
  border-color: var(--btn-primary-bg);
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}

.btn-primary .btn-detail { color: var(--btn-primary-detail); }

@media (hover: hover) {
  .btn:hover { filter: brightness(1.1); }
}

/* Email + Save my contact */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1.25rem 1rem 0;
}

.email {
  display: inline-block;
  padding: .5rem;
  color: var(--link);
  font-family: var(--font-ui);
  font-size: .95rem;
  overflow-wrap: anywhere;
  text-underline-offset: .2em;
}

.save {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 2.75rem;
  padding: .6rem 1rem;
  border: 1.5px solid var(--save-border);
  border-radius: 12px;
  color: var(--save-text);
  font-family: var(--font-ui);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
}

.footer {
  margin-top: auto;
  padding: 2rem 1rem 0;
  color: var(--footer);
  font-family: var(--font-ui);
  font-size: .75rem;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
