/* =========================================================
   Catalina's Coffee - shared site stylesheet
   ========================================================= */

:root {
  --cream: #FBF5E7;
  --cream-card: #FFFDF8;
  --cream-dim: #F6E7D6;

  --burgundy: #660e0f;
  --burgundy-dark: #4A131C;
  --burgundy-soft: #8A3B47;
  --burgundy-wash: #F4E8E6;

  --ink: #3A2018;
  --ink-soft: #6B5347;
  --rule: rgba(58, 32, 24, 0.14);

  /* Oregon coast sunset - sampled off the label art, top of sky to dusk water */
  --sky-lavender: #97A4CC;
  --sky-blush: #E5A99B;
  --sky-gold: #F2C178;
  --sky-amber: #DE8F55;
  --sky-dusk: #574B78;
  --sky-deep: #332B49;

  --max: 1120px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Arvo', serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--burgundy);
}

img {
  max-width: 100%;
  display: block;
}

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

/* ---------- Typography ---------- */
h1,
h2,
h3 {
  margin: 0;
}

.display {
  font-family: 'Oleo Script', cursive;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1;
}

.eyebrow {
  font-family: 'Staatliches', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy-soft);
  margin: 0 0 0.6rem;
}

h2.section-title {
  font-family: 'Staatliches', sans-serif;
  font-size: 1.9rem;
  line-height: 2rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin: 0 0 0.5rem;
}

.section-sub {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 0 0 2.2rem;
  max-width: 640px;
}

.section-head {
  text-align: center;
  margin: 0 auto 2.6rem;
  max-width: 680px;
}

.section-head .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: 'Staatliches', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 4px;
  border: 2px solid var(--burgundy);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.btn-solid {
  background: var(--burgundy);
  color: var(--cream);
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  transform: translateY(-1px);
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--burgundy);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn-outline.on-dark {
  border-color: var(--cream);
  color: var(--cream);
}

.btn-outline.on-dark:hover {
  background: var(--cream);
  color: var(--burgundy);
}

/* ---------- Header / nav ---------- */
.site-header {
  background: linear-gradient(180deg, var(--cream-card) 0%, var(--cream-dim) 100%);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: 'Oleo Script', cursive;
  font-size: 1.6rem;
  color: var(--burgundy);
  text-decoration: none;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  font-family: 'Staatliches', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: none;
  border: 2px solid var(--burgundy);
  color: var(--burgundy);
  border-radius: 4px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-family: 'Staatliches', sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-nav>a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav>a:hover:not(.btn),
.site-nav>a[aria-current="page"]:not(.btn) {
  color: var(--burgundy);
  border-bottom-color: var(--burgundy);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  padding: 0.3rem 0;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: " \25BE";
  font-size: 0.7em;
}

.nav-dropdown[open] summary {
  color: var(--burgundy);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  background: var(--cream-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(58, 32, 24, 0.14);
  padding: 0.5rem;
  min-width: 240px;
  display: flex;
  flex-direction: column;
}

.dropdown-menu a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  border-radius: 4px;
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a[aria-current="page"] {
  background: var(--burgundy-wash);
  color: var(--burgundy);
}

.nav-cta {
  margin-left: 0.2rem;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-card);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav>a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--rule);
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 0.8rem;
  }

  .nav-cta {
    margin: 0.8rem 0 0.2rem;
    text-align: center;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-lavender) 0%, var(--sky-blush) 30%, var(--sky-gold)85%, var(--sky-dusk) 100%);
}

.hero .eyebrow,
.hero h1.display {
  color: var(--burgundy-dark);
}

.hero .lede {
  color: var(--ink);
}

.hero .eyebrow {
  opacity: 0.95;
}

.hero .lede {
  opacity: 0.92;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}

.cta-banner.video-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #1b0f1141;
  z-index: 1;
  pointer-events: none;
}

.video-background .container {
  position: relative;
  z-index: 2;
}

.video-background .container h1,
.video-background .container p,
.video-background .container .btn {
  color: var(--cream) !important;
}

.video-background .container .btn-outline {
  border-color: var(--cream);
}

.video-background .container .btn-outline:not(.on-dark):hover,
.video-background .container .btn-outline:not(.on-dark):focus-visible {
  border-color: var(--burgundy);
}

.video-background .container .btn-outline.on-dark:hover,
.video-background .container .btn-outline.on-dark:focus-visible {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--burgundy) !important;
}

.hero h1.display {
  font-size: clamp(2.6rem, 6vw, 4rem);
  margin-bottom: 0.7rem;
}

.hero .lede {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.hero-narrow {
  padding: 3.4rem 0 3rem;
}

/* ---------- Sections ---------- */
section {
  padding: 3.6rem 0;
}

section.tint {
  background: var(--cream-dim);
}

.rule {
  border: none;
  border-top: 1px solid var(--rule);
  max-width: var(--max);
  margin: 0 auto;
}

/* ---------- Section divider (branded bean icon) ---------- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 220px;
  margin: 0 auto 0.5rem auto;
}

.section-divider .line {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.section-divider img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  opacity: 0.9;
}

/* ---------- Bridge ---------- */
.bridge{
    background: linear-gradient(90deg, var(--cream), rgba(255, 255, 255, 0), var(--cream)), url(/media/alsea-bay-bridge.svg) no-repeat;
    background-position: center -10%;
    background-size: 125%;
}
.bridge-left{
  background-position: 150% -100%;
}
.bridge-right{
  background-position: -50% -10%;
}

/* ---------- Cards / grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

@media (max-width: 700px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--cream-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card h3 {
  font-family: 'Staatliches', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin: 0 0 0.7rem;
}

.card p {
  margin: 0 0 1.1rem;
  color: var(--ink);
}

.card>.btn,
.card>a.link-arrow {
  margin-top: auto;
}

.link-arrow {
  color: var(--burgundy);
  font-weight: 700;
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

.link-arrow::after {
  content: " \2192";
}

/* ---------- Stockist list ---------- */
.stockists {
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
  width: 100%;
  border-top: 1px solid var(--rule);
}

.stockists li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule);
}

.stockist-name {
  font-weight: 700;
  color: var(--ink);
}

.stockist-loc {
  color: var(--burgundy);
  font-style: italic;
  white-space: nowrap;
  font-size: 0.85rem;
}

/* ---------- Two-column content block ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.6rem;
  align-items: start;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split h2.section-title {
  text-align: left;
}

.body-copy p {
  margin: 0 0 1.1rem;
}

.body-copy ul {
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
}

.body-copy li {
  margin-bottom: 0.4rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(180deg, var(--burgundy-dark) 0%, var(--burgundy) 55%, var(--sky-amber) 100%);
  color: var(--cream);
  text-align: center;
  padding: 3.2rem 1.5rem;
  border-radius: var(--radius);
  position: relative;
}

.cta-banner .cta-icon {
  width: 30px;
  height: 30px;
  margin: 0 auto 0.9rem;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.cta-banner h2.section-title {
  color: var(--cream);
}

.cta-banner .section-sub {
  color: var(--cream);
  opacity: 0.88;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* ---------- Brewing guide sub-nav ---------- */
.subnav-wrap {
  position: sticky;
  top: 93px;
  background: var(--cream-dim);
  border-bottom: 1px solid var(--rule);
  z-index: 40;
}

.subnav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  font-family: 'Staatliches', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.subnav a {
  color: var(--ink);
  text-decoration: none;
}

.subnav a:hover {
  color: var(--burgundy);
}

.method {
  padding: 3rem 0;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 120px;
}

.method:last-of-type {
  border-bottom: none;
}

.method-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-family: 'Staatliches', sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--burgundy-soft);
  margin: 0.6rem 0 1.4rem;
}

.method ol {
  padding-left: 1.3rem;
  margin: 0 0 1rem;
}

.method ol li {
  margin-bottom: 0.7rem;
}

.method-note {
  background: var(--cream-card);
  border-left: 3px solid var(--burgundy);
  padding: 0.9rem 1.1rem;
  font-style: italic;
  color: var(--ink-soft);
  border-radius: 0 4px 4px 0;
}

/* ---------- Forms ---------- */
.contact-form {
  background: var(--cream-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.9rem;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  font-family: 'Staatliches', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: 'Arvo', serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--rule);
  border-radius: 4px;
  padding: 0.6rem 0.7rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--burgundy);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form .btn {
  width: 100%;
  text-align: center;
  margin-top: 0.4rem;
}

.form-success {
  background: var(--cream-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
}

.form-success strong {
  display: block;
  font-family: 'Staatliches', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.4rem;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-direct .card {
  width: 100%;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: linear-gradient(180deg, var(--burgundy-dark) 0%, var(--sky-deep) 100%);
  color: var(--cream);
  padding: 3rem 0 2rem;
}

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

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-grid .brand {
  color: var(--cream);
}

.footer-grid p {
  color: var(--cream);
  opacity: 0.8;
  ;
}

.footer-col h2 {
  font-family: 'Staatliches', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
  margin: 0 0 0.8rem;
}

.footer-col a {
  display: block;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.9;
  margin-bottom: 0.55rem;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-grid .brand img {
  filter: brightness(100);
}

.footer-bottom {
  border-top: 1px solid rgba(251, 245, 231, 0.18);
  padding-top: 1.4rem;
  font-size: 0.8rem;
  opacity: 0.65;
  text-align: center;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  margin: 0 0 1.1rem;
  font-size: 0.8rem;
}

.footer-legal a {
  color: var(--cream);
  opacity: 0.8;
  text-decoration: none;
}

.footer-legal a:hover,
.footer-legal a:focus-visible,
.footer-legal a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
}

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  font-family: 'Staatliches', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin: 2.1rem 0 0.65rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content ul {
  margin: 0 0 1rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

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

/* Hide CookieYes widget*/
.cky-btn-revisit-wrapper{
  display: none!important;
}