/* Big Sky Paddle Co.: the site's theme, in the style of a site-builder outfitter template. */

:root {
  --ink: #1f2b27;
  --ink-soft: #55625d;
  --paper: #fbf8f3;
  --sand: #f2ebdf;
  --rust: #a94f27;
  --line: rgba(31, 43, 39, 0.16);
  --night: #1b2622;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", "Helvetica Neue", Arial, sans-serif;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
a { color: var(--rust); }
img { display: block; max-width: 100%; height: auto; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.lede { color: var(--ink-soft); font-size: 1.15rem; }
.eyebrow,
.meta,
.more,
.nav a:not(.button),
.form label,
.site-footer h4 {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow { display: block; margin-bottom: 1.4em; }
.meta { color: var(--ink-soft); }
.more { border-bottom: 1px solid currentColor; text-decoration: none; }

/* Buttons: square corners, spaced capitals. */
.button {
  display: inline-block;
  padding: 1.15em 2.3em;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font: 500 0.75rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.button:hover { border-color: var(--rust); background: var(--rust); }
.button--light { border-color: #fff; background: transparent; }
.button--light:hover { border-color: #fff; background: #fff; color: var(--ink); }

/* Header, over the first photo. */
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; color: #fff; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
}
.logo { color: inherit; font: 400 1.55rem/1.1 var(--serif); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.button) { color: inherit; text-decoration: none; }

/* Photo sections: a full-bleed image under a dark wash. */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92vh;
  color: #fff;
  isolation: isolate;
}
.hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 20, 18, 0.5), rgba(12, 20, 18, 0.08) 45%, rgba(12, 20, 18, 0.6));
}
.hero .wrap { padding-block: 150px 88px; }
.hero p { max-width: 32em; font-size: 1.12rem; }
.hero--page { min-height: 56vh; }

/* Sections. */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--sand { background: var(--sand); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split--top { align-items: start; }
.cards,
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.card img { width: 100%; margin-bottom: 26px; aspect-ratio: 4 / 5; object-fit: cover; }
.card h3 { margin: 0.35em 0 0.4em; }
.facts h3 { font-size: 1.3rem; }

/* Contact form: it doesn't send anything. */
.form { display: grid; gap: 22px; }
.form label { display: grid; gap: 8px; }
.form input,
.form textarea {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.5 var(--sans);
  letter-spacing: normal;
  text-transform: none;
}
.form textarea { min-height: 170px; resize: vertical; }
.form .button { justify-self: start; }

/* Footer. */
.site-footer {
  padding-block: 72px 36px;
  background: var(--night);
  color: #d8d2c6;
  font-size: 0.95rem;
}
.site-footer a { color: #fff; }
.site-footer h4 { margin: 0 0 1.3em; color: #fff; font-weight: 500; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid .logo { display: inline-block; margin-bottom: 0.7em; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
}

@media (max-width: 820px) {
  .split,
  .cards,
  .facts,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav a:not(.button) { display: none; }
  .logo { font-size: 1.3rem; }
}
