/* Hawaii Canoe Club theme. Island color: deep ocean ink, lagoon teal, sunset coral, gold and hibiscus on warm kapa cream.
   Borders borrow the sawtooth (niho mano) rhythm of Polynesian kapa cloth. */

:root {
  --forest: #14283a;
  --ink: #14283a;
  --moss: #0e5e6b;
  --sage: #7fc4bd;
  --sea: #2a9d9a;
  --sand: #ecdcc0;
  --cream: #f7eddb;
  --ochre: #f4a62a;
  --clay: #e4572e;
  --rust: #c8452a;
  --blush: #f2b6a0;
  --hibiscus: #c93a6b;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Karla", "Avenir Next", "Trebuchet MS", Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 74rem;
  --focus: var(--clay);
  --nav-h: 4rem;
  color-scheme: light;
}

html {
  background: var(--forest);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 1.125rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.6rem, 4.2vw, 2.8rem);
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

a {
  text-underline-offset: 0.2em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border: 1.5px solid var(--forest);
  border-radius: 0;
  font: 500 0.85rem/1.1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background: var(--forest);
  color: var(--cream);
}

.btn--primary:hover {
  border-color: var(--rust);
  background: var(--rust);
}

.btn--ghost {
  background: transparent;
  color: var(--forest);
}

.btn--ghost:hover {
  background: var(--forest);
  color: var(--cream);
}

.btn--small {
  padding: 0.65rem 1.05rem;
  font-size: 0.75rem;
}

/* ---------- Navigation ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 246 238 / 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(74 32 64 / 0.18);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
}

.site-nav__brand {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__links a:not(.btn) {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav__links a:not(.btn):hover {
  color: var(--rust);
}

.site-nav__links li:not(:last-child) {
  display: none;
}

.site-nav__more {
  display: none;
}

@media (min-width: 40rem) {
  .site-nav__links li:not(:last-child) {
    display: block;
  }

  .site-nav__more {
    display: inline;
  }
}

/* ---------- Speed stripes (the 80s band) ---------- */

.stripes {
  height: clamp(1.1rem, 2.6vw, 2rem);
  background: linear-gradient(
    to bottom,
    var(--ochre) 0 25%,
    var(--clay) 25% 50%,
    var(--rust) 50% 75%,
    var(--moss) 75% 100%
  );
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: max(44rem, calc(100svh - var(--nav-h)));
  background: linear-gradient(to bottom, #ffc2d1 0%, #ffd9cf 40%, #ffe9b8 70%, #ffd36e 100%);
}

.hero__art {
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  width: 100%;
  height: 62%;
}

@media (min-width: 52rem) {
  .hero__art {
    inset: 0;
    height: 100%;
  }
}

.hero__rider {
  animation: hang 7s ease-in-out infinite;
}

@keyframes hang {
  50% {
    translate: 0 -10px;
  }
}

.hero__content {
  display: flex;
  align-items: flex-start;
  min-height: inherit;
  padding-block: clamp(3rem, 7vw, 6rem) 0;
}

@media (min-width: 52rem) {
  .hero__content {
    align-items: center;
    padding-block: clamp(3rem, 7vw, 6rem) clamp(9rem, 20vw, 16rem);
  }
}

.hero__copy {
  max-width: 34rem;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  font-size: clamp(2.5rem, 8.6vw, 6.4rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

.hero__sub {
  margin-top: 1.1rem;
  font-size: clamp(0.8rem, 2vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.55em;
  color: var(--rust);
}

.hero__lede {
  max-width: 24rem;
  margin: 1.5rem 0 0;
  font-size: 1.2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(3.5rem, 9vw, 7rem);
}

/* ---------- Photos and placeholders ---------- */

.photo {
  position: relative;
  aspect-ratio: var(--ratio, 3 / 4);
  overflow: hidden;
  background: var(--sand);
}

.photo--arch {
  border-radius: 999px 999px 0 0;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 30%);
}

/* ---------- Story ---------- */

.story__grid {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
}

@media (min-width: 52rem) {
  .story__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.story__text h2 {
  margin-bottom: 1.5rem;
}

.story__text p {
  max-width: 32rem;
}

.story__cta {
  margin-top: 1.75rem;
}

.story__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: end;
}

.story__photos figure {
  margin: 0;
}

.story__photos figure + figure {
  margin-bottom: clamp(1.5rem, 5vw, 4rem);
}

/* ---------- Pull line ---------- */

.pull {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
}

.pull__text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 10vw, 7rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

.pull__text span {
  color: var(--ochre);
}

/* ---------- Gallery ---------- */

.gallery {
  background: var(--sand);
}

.gallery__grid {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0 0 0.5rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.gallery__item {
  flex: 0 0 78%;
  scroll-snap-align: center;
}

@media (min-width: 48rem) {
  .gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    overflow: visible;
  }

  .gallery__item:nth-child(2) {
    margin-top: 3rem;
  }
}

/* ---------- Collection ---------- */

.shop {
  background: var(--cream);
}

.shop__lede {
  margin: 0.9rem 0 0;
}

.catalog-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.75rem;
}

.catalog-search input {
  width: min(100%, 26rem);
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--forest);
  border-radius: 0;
  background: transparent;
  color: var(--forest);
  font: 400 1rem/1.2 var(--font-body);
}

.catalog-search input::placeholder {
  color: rgb(74 32 64 / 0.6);
}

.catalog-search input:focus-visible {
  border-color: var(--rust);
  outline-offset: 2px;
}

.catalog-search__count {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.chip {
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--forest);
  border-radius: 999px;
  background: transparent;
  color: var(--forest);
  font: 500 0.75rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.chip:hover {
  border-color: var(--rust);
  color: var(--rust);
}

.chip[aria-pressed="true"] {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

.catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 62rem) {
  .catalog {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgb(74 32 64 / 0.2);
  background: #fff;
  color: var(--forest);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--rust);
  box-shadow: 0 0.75rem 1.75rem rgb(74 32 64 / 0.16);
}

.card__img {
  display: block;
  aspect-ratio: 1;
  background: #fff;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__name {
  padding: 0.9rem 1rem 0;
  font-family: var(--font-display);
  font-size: clamp(0.66rem, 1.4vw, 0.8rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.5rem 1rem 1rem;
  font-size: 0.9rem;
  color: rgb(74 32 64 / 0.75);
}

.board__empty {
  margin: 1.5rem 0 0;
  padding: 1.25rem;
  border: 1.5px solid var(--forest);
}

.board__empty a {
  color: var(--rust);
  font-weight: 600;
}

.catalog__more {
  margin: 2rem 0 0;
}

.shop__more {
  margin: 2rem 0 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--forest);
  color: var(--cream);
}

.site-footer__inner {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.site-footer__brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.partner-note {
  max-width: 34rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
}

.site-footer__links a:hover {
  color: var(--ochre);
}

.site-footer__legal {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ---------- Simple pages (help, 404) ---------- */

.page {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.page__inner {
  max-width: 44rem;
}

.page h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.page h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
}

.page__lede {
  font-size: 1.25rem;
  color: var(--rust);
}

.page .btn + .btn {
  margin-left: 0.5rem;
}




/* ---------- Hawaii Canoe Club overrides ---------- */

h1, h2, h3 { text-transform: none; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 5vw, 3.3rem); }
.btn { border-radius: 0.35rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.12em; font-size: 0.82rem; padding: 0.95rem 1.7rem; }
.btn--primary { background: var(--clay); border-color: var(--clay); color: #fff; }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); }
.btn--small { font-size: 0.72rem; padding: 0.65rem 1.05rem; }
.site-nav { background: rgb(247 237 219 / 0.93); border-bottom: 0; box-shadow: 0 1px 0 rgb(20 40 58 / 0.18); }
.site-nav__brand { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; letter-spacing: 0.01em; text-transform: none; }
.site-nav__links a:not(.btn) { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; }
.site-nav__links a:not(.btn):hover { color: var(--clay); }

/* Kapa sawtooth band */
.stripes {
  height: clamp(1.4rem, 3vw, 2rem);
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32' preserveAspectRatio='none'%3E%3Cpath d='M0 0H48V5H0z' fill='%2314283a'/%3E%3Cpath d='M0 5H24L12 28zM24 5H48L36 28z' fill='%23c8452a'/%3E%3Cpath d='M0 5H12L0 25zM48 5H36L48 25zM12 5H36L24 25z' fill='%23f4a62a'/%3E%3Cpath d='M0 28H48V32H0z' fill='%2314283a'/%3E%3C/svg%3E");
  background-size: clamp(2.2rem, 4.5vw, 3rem) 100%;
  background-repeat: repeat-x;
}

/* Hero: watercolor sunset */
.hero { background: linear-gradient(to bottom, #3d2a5c 0%, #8c4468 38%, #e0765a 70%, #f6b25c 100%); color: #fff7ea; }
.hero__art { height: 100%; inset: 0; }
@media (min-width: 52rem) { .hero__art { height: 100%; } }
.hero h1 { color: #fff7ea; font-size: clamp(2.9rem, 8.4vw, 6.4rem); line-height: .95; letter-spacing: -0.02em; text-shadow: 0 2px 24px rgb(40 20 60 / .45); }
.hero h1 .hero__sub { display: block; margin-top: 1.2rem; font-family: var(--font-body); font-size: clamp(.8rem, 1.9vw, 1.05rem); font-weight: 700; letter-spacing: .5em; text-transform: uppercase; color: #ffd98a; }
.hero__lede { font-size: 1.25rem; color: #fff1dc; text-shadow: 0 1px 14px rgb(40 20 60 / .5); max-width: 25rem; }
.hero__canoe { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 6px; } }
@media (prefers-reduced-motion: reduce) { .hero__canoe { animation: none; } }
.hero .btn--primary { background: #ffd98a; border-color: #ffd98a; color: var(--ink); }
.hero .btn--primary:hover { background: #fff; border-color: #fff; }

.photo { border-radius: 0.3rem; background: var(--sand); border: 6px solid var(--cream); box-shadow: 0 0 0 2px var(--ink), 0.7rem 0.7rem 0 var(--ochre); }
.photo--arch { border-radius: 999px 999px 0.3rem 0.3rem; }

.story { background: var(--cream); }
.pull { background: var(--ink); color: var(--cream); position: relative; }
.pull__text { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(2.2rem, 7vw, 5rem); line-height: 1.15; text-wrap: balance; }
.pull__text span { color: var(--ochre); }
.gallery { background: var(--sand); }
.shop { background: var(--cream); }
.catalog-search input { border-radius: 0.35rem; border-color: var(--ink); background: #fffaf0; }
.chip { font-family: var(--font-body); font-weight: 700; font-size: .74rem; letter-spacing: .12em; background: #fffaf0; border-width: 2px; }
.chip:hover { border-color: var(--clay); color: var(--clay); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.card { border: 2px solid var(--ink); border-radius: 0.3rem; background: #fffaf0; overflow: hidden; }
.card:hover, .card:focus-visible { border-color: var(--clay); box-shadow: 0.35rem 0.35rem 0 var(--ochre); }
.card__img { background: #fff; }
.card__name { font-family: var(--font-display); font-size: clamp(.95rem, 1.8vw, 1.08rem); font-weight: 700; letter-spacing: 0; text-transform: none; }
.card__price { color: var(--clay); font-weight: 700; }
.board__empty { border-radius: .3rem; border-color: var(--clay); }
.site-footer { background: var(--ink); }
.site-footer .stripes { background-color: var(--ink); }
.site-footer__brand { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0; text-transform: none; color: var(--ochre); }
.page__lede { color: var(--clay); }


/* Hero: painted sunset image */
.hero { background: #86a5ab; color: var(--ink); }
.hero__art { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 100%; }
.hero h1 { color: var(--ink); text-shadow: 0 2px 22px rgb(255 200 180 / .55); }
.hero h1 .hero__sub { color: #8a2f1c; }
.hero__lede { color: var(--ink); font-weight: 500; text-shadow: 0 1px 14px rgb(255 200 180 / .6); }
.hero .btn--primary { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.hero .btn--primary:hover { background: var(--clay); border-color: var(--clay); }
@media (max-width: 51.99rem) {
  .hero__art { inset: auto auto 0 calc(50% - 235px); width: 600px; height: auto; aspect-ratio: 2000 / 1121; object-fit: fill; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%); mask-image: linear-gradient(to bottom, transparent 0, #000 14%); }
}
@media (min-width: 52rem) { .hero__content { padding-block-end: clamp(14rem, 30vw, 24rem); } }
