/* A self-contained palette inspired by the club's demonstration. */
:root {
  color-scheme: light;
  --cream: #f7f5ee;
  --green: #203c35;
  --teal: #356e64;
  --muted: #52635c;
  --line: #d5ddd3;
  --focus: #985025;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--green);
  background: var(--cream);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

h1,
p {
  margin: 0;
}

svg {
  display: block;
}

.container {
  width: min(75rem, calc(100% - 8rem));
  margin-inline: auto;
}

.site-header {
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  flex: none;
  color: var(--teal);
}

.brand-name {
  min-width: 0;
  font-size: 1.5rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.brand-name span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 450;
  letter-spacing: 0.025em;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
  padding-block: 5.5rem 6rem;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin-bottom: 1.5rem;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

h1 {
  font-size: clamp(3rem, 5.65vw, 5.125rem);
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

h1 span {
  display: block;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.055em;
}

.intro {
  max-width: 34rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.75;
}

.demo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 100%;
  min-height: 3.5rem;
  margin-top: 2rem;
  padding: 0.875rem 1.375rem;
  border: 1px solid var(--green);
  border-radius: 0.375rem;
  color: var(--cream);
  background: var(--green);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 0.25em;
}

.demo-link svg {
  flex: none;
}

.demo-link:hover {
  background: var(--teal);
  border-color: var(--teal);
  text-decoration: underline;
}

.preview-note {
  max-width: 30rem;
  margin-top: 1.125rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.65;
}

.hero-art {
  width: 100%;
  max-width: 22.5rem;
  justify-self: end;
}

.site-footer {
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.75rem 1rem;
  color: var(--green);
  background: var(--cream);
  font-weight: 600;
}

.skip-link:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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

::selection {
  color: var(--green);
  background: #d7e5d8;
}

@media (max-width: 60rem) {
  .container {
    width: calc(100% - 5rem);
  }

  .hero {
    gap: 1.5rem;
  }
}

@media (max-width: 48rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 4.5rem 5rem;
  }

  .hero-art {
    display: none;
  }

  h1 {
    font-size: clamp(2.625rem, 8.7vw, 4.5rem);
  }
}

@media (max-width: 30rem) {
  .container {
    width: calc(100% - 3rem);
  }

  .site-header {
    padding-block: 1.75rem;
  }

  .hero {
    padding-block: 3.25rem 3.75rem;
  }

  h1 {
    font-size: clamp(2.625rem, 10.8vw, 3.25rem);
  }

  .intro {
    font-size: 1.0625rem;
  }

  .demo-link {
    width: 100%;
    gap: 1rem;
  }

  .site-footer {
    padding-block: 1.5rem;
  }
}

@media (forced-colors: active) {
  .demo-link {
    border-color: LinkText;
  }

  :focus-visible {
    outline-color: Highlight;
  }
}
