/* Paddle for the Planet KY Inc. — first-draft site styles */

:root {
  --river-deep: #0e3a3d;
  --river-mid: #16484c;
  --water: #21777a;
  --water-bright: #2e8a8a;
  --water-light: #4aadb0;
  --foam-line: #7ec8c4;
  --moss: #3e6b3a;
  --leaf: #6b8f4e;
  --sand: #f3eee4;
  --sand-dark: #e8e0d0;
  --foam: #faf8f3;
  --clay: #c9a06a;
  --clay-deep: #a67c3d;
  --ink: #1a2a2c;
  --muted: #4d5e60;
  --line: rgba(14, 58, 61, 0.14);
  --shadow: 0 10px 30px rgba(14, 58, 61, 0.08);
  --radius: 14px;
  --header-h: 4.5rem;
  --max: 70rem;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--water);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--river-deep);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--water-light);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--river-deep);
  color: var(--foam);
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--river-deep);
  color: var(--foam);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-header a {
  color: inherit;
  text-decoration: none;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--foam-line);
  font-weight: 600;
}

.nav-toggle {
  display: none;
}

.nav-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(243, 238, 228, 0.25);
  color: var(--foam);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle-btn span,
.nav-toggle-btn span::before,
.nav-toggle-btn span::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--foam);
  position: relative;
  border-radius: 1px;
}

.nav-toggle-btn span::before,
.nav-toggle-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-btn span::before { top: -6px; }
.nav-toggle-btn span::after { top: 6px; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.15rem;
}

.site-nav a {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e4f0ef;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 0 0 1px rgba(126, 200, 196, 0.45);
}

/* Layout */

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

main {
  overflow-x: hidden;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--foam);
}

.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--water);
  margin: 0 0 0.6rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--river-deep);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.25rem); margin: 0 0 1rem; }
h3 { font-size: 1.3rem; margin: 0 0 0.5rem; }

.lede {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 40rem;
}

.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

.btn-primary {
  background: var(--water);
  color: #fff;
  border-color: var(--water);
}

.btn-primary:hover {
  background: var(--river-deep);
  border-color: var(--river-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--foam);
  border-color: rgba(250, 248, 243, 0.45);
}

.btn-ghost:hover {
  background: rgba(250, 248, 243, 0.12);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--river-deep);
  border-color: var(--river-deep);
}

.btn-secondary:hover {
  background: var(--river-deep);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn[aria-disabled="true"],
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  background: var(--sand-dark);
  color: var(--muted);
  border-color: var(--sand-dark);
}

/* Hero */

.hero {
  position: relative;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(74, 173, 176, 0.18), transparent 60%),
    linear-gradient(180deg, #123f43 0%, #0e3a3d 55%, #16484c 100%);
  color: var(--foam);
  padding: 3.25rem 0 0;
  overflow: hidden;
}

.hero h1,
.hero .kicker {
  color: #fff;
}

.hero .kicker { color: var(--foam-line); }

.hero .lede {
  color: #d5e8e6;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-art {
  margin: 0;
}

.hero-wave {
  display: block;
  width: 100%;
  height: 72px;
  margin-top: 2rem;
  color: var(--sand);
}

/* Cards & grids */

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  margin-top: 2rem;
}

.card {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.section-alt .card {
  background: #fff;
}

.card p:last-child {
  margin-bottom: 0;
}

.icon-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 0.85rem;
  color: var(--water);
}

/* Photo placeholders */

.photo-spot {
  margin: 0;
  border: 2px dashed #9bb8b4;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(46, 138, 138, 0.05),
      rgba(46, 138, 138, 0.05) 8px,
      rgba(14, 58, 61, 0.03) 8px,
      rgba(14, 58, 61, 0.03) 16px
    );
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.1rem;
  text-align: center;
  color: var(--muted);
}

.photo-spot svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  color: var(--water);
}

.photo-spot figcaption,
.photo-spot p {
  margin: 0;
  max-width: 22rem;
  font-size: 0.95rem;
}

.photo-spot strong {
  display: block;
  color: var(--river-deep);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.photo-spot.tall { min-height: 20rem; }
.photo-spot.hero-spot { min-height: 16rem; background-color: rgba(250, 248, 243, 0.08); border-color: rgba(126, 200, 196, 0.55); color: #d5e8e6; }
.photo-spot.hero-spot strong { color: #fff; }
.photo-spot.hero-spot svg { color: var(--foam-line); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

/* Rivers */

.river-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}

.river {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1.5rem;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  align-items: start;
}

.river-art {
  background: linear-gradient(180deg, #16484c, #0e3a3d);
  border-radius: var(--radius);
  padding: 0.75rem;
  min-height: 11rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.river-body p:last-of-type { margin-bottom: 1rem; }

/* Events */

.event {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.25rem;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}

.event + .event { margin-top: 1rem; }

.event-date {
  background: #123f43;
  color: var(--foam);
  border-radius: 10px;
  padding: 0.9rem 0.7rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 6.5rem;
}

.event-date .tba {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.event-date .tba-label {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--clay);
  color: var(--river-deep);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.badge-tba {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #f3e2c0;
  color: #6a4a14;
  border: 1px solid #e0c58a;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 0.35rem;
}

/* Notices / placeholders */

.notice {
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  background: #fff8e8;
  border-color: #e0c58a;
  color: #3d3318;
  margin: 1.25rem 0 0;
}

.notice strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #5a4310;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notice p:last-child { margin-bottom: 0; }

.notice-info {
  background: #e7f3f3;
  border-color: #9bc9c8;
  color: #1a2a2c;
}

.notice-info strong { color: var(--river-deep); }

/* Forms */

form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

label {
  display: block;
  font-weight: 650;
  margin-bottom: 0.35rem;
  color: var(--river-deep);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid #c5d4d3;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

textarea { min-height: 9rem; resize: vertical; }

input:disabled,
textarea:disabled {
  background: var(--sand-dark);
  color: var(--muted);
}

.form-panel {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-meta {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.contact-meta li {
  margin: 0 0 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.contact-meta strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--water);
  margin-bottom: 0.15rem;
}

/* Footer */

.site-footer {
  background: var(--river-deep);
  color: #cfe3e2;
  padding: 3rem 0 1.75rem;
  margin-top: 0;
}

.footer-wave {
  display: block;
  width: 100%;
  height: 56px;
  color: var(--river-deep);
  background: var(--sand);
}

.section-alt + .footer-wave,
body.ends-alt .footer-wave {
  background: var(--foam);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer a { color: var(--foam-line); }
.site-footer a:hover { color: #fff; }

.site-footer h2 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li { margin: 0 0 0.35rem; }

.footer-note {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  color: #9bb8b4;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 600;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

/* Misc */

.prose { max-width: 42rem; }
.prose p { margin-top: 0; }

.page-hero {
  padding: 3.25rem 0 2.5rem;
  background:
    radial-gradient(800px 280px at 100% 0%, rgba(74, 173, 176, 0.12), transparent 55%),
    linear-gradient(180deg, #e7efea 0%, var(--sand) 100%);
}

.crew-faces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Responsive */

@media (max-width: 880px) {
  .hero-grid,
  .split,
  .split-reverse,
  .footer-grid,
  .river {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .hero { padding-top: 2.25rem; }
  .hero-art { order: -1; }
}

@media (max-width: 760px) {
  .nav-toggle-btn { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #0a2e31;
    padding: 0.5rem 1.25rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
  }

  .nav-toggle:checked ~ .site-nav { display: block; }

  .site-nav ul {
    flex-direction: column;
    gap: 0.15rem;
  }

  .site-nav a { padding: 0.7rem 0.8rem; }

  .event {
    grid-template-columns: 1fr;
  }

  .event-date {
    min-height: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.9rem;
    gap: 0.75rem;
  }

  .crew-faces { grid-template-columns: 1fr; }

  .header-inner { padding-inline: 1rem; }
  .brand-name { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.email-link,
.contact-meta a,
.site-footer a[href^="mailto:"] {
  overflow-wrap: anywhere;
  word-break: break-word;
}

form .btn-row {
  margin-top: 0.25rem;
}
