@charset "UTF-8";

/* ===============================
   Font faces (self-hosted)
   Put these at the VERY top of main.css
   =============================== */

@font-face {
  font-family: "Cardo";
  src:
    url("/assets/fonts/cardo104s-webfont.woff2") format("woff2"),
    url("/assets/fonts/cardo104s-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Champagne & Limousines";
  src: url("/assets/fonts/Champagne_Limousines.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Champagne & Limousines Thick";
  src:
    url("/assets/fonts/Champagne_Limousines-Thick.woff2") format("woff2"),
    url("/assets/fonts/Champagne_Limousines-Thick.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette */
  --gold: #c8bd7b;
  --gold-soft: #bfbc9d;
  --gold-soft-2: rgba(200, 189, 123, 0.4);

  --wine-900: #460402;
  --wine-800: #461211;
  --wine-500: #e72124;

  --black: #000;
  --white: #fff;
  --ink: #333;
  --paper: #f2f2f2;
  --muted: #777;
  --brown: #564a43;

  /* Overlays */
  --overlay-60: rgba(0, 0, 0, 0.6);
  --overlay-90: rgba(0, 0, 0, 0.9);
  --overlay-95: rgba(34, 34, 34, 0.95);

  /* Semantic */
  --bg: var(--black);
  --surface: rgba(255, 255, 255, 0.04);
  --text: #f9f9f9;
  --text-muted: var(--muted);

  --link: var(--gold);
  --link-hover: var(--white);

  --border: rgba(255, 255, 255, 0.12);
  --border-accent: var(--gold);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, system-ui;
  --font-serif: "Cardo", "Times New Roman", Times, serif;
  --font-times: "Times New Roman", Times, serif;
  --font-brand: "Champagne & Limousines", Helvetica, Arial, sans-serif;

  /* Layout */
  --page-max: 1000px;
  --content-width: min(90%, var(--page-max));

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 30px;
  --space-7: 40px;
  --space-8: 60px;

  /* Effects */
  --shadow-soft: 0 0 10px rgba(0, 0, 0, 0.35);
  --shadow-deep: 0 10px 60px rgba(0, 0, 0, 0.4);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 150ms;
  --dur-med: 300ms;
  --dur-slow: 500ms;

  scroll-padding-top: 80px;
}

/* =========================
   Base / Reset / Defaults
   ========================= */

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  line-height: 1.5;
  font-family: var(--font-sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(to right, #000 0%, #3a3333 50%, #000 100%);
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
}

a.fancybox {
  position: relative;
  display: block;
  overflow: hidden;
}

a.fancybox img {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease, filter 0.35s ease;
}

a.fancybox::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

@media (hover: hover) {
  a.fancybox:hover img {
    transform: scale(1.06);
  }

  a.fancybox:hover::after {
    opacity: 0;
  }
}

/* =========================
   Typography rhythm
   ========================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.625rem;
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
}

h4:not(:first-child),
h5:not(:first-child),
h6:not(:first-child) {
  margin-top: 0.625rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 0.875rem; }
h6 { font-size: 0.75rem; }

p {
  margin: 0 0 0.625rem;
}

small,
.small {
  font-size: 0.85em;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* =========================
   Blockquotes
   ========================= */

blockquote {
  padding: 0.5em 10px;
  font-size: 20px;
  line-height: 26px;
  border-left: 7px solid #ccc;
  quotes: "“" "”" "‘" "’";
}

blockquote::before {
  content: open-quote;
  font-size: 4.5em;
  line-height: 0.1em;
  vertical-align: -0.4em;
  color: #ccc;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================
   Simple layout helpers
   ========================= */

  .mb-0 {
  margin-bottom:0 !important;
 }

.mb-1-4 {
  margin-bottom:1.4em !important;
}


.container {
  width: var(--content-width);
  margin-inline: auto;
}

.section {
  padding-block: var(--space-7);
}

.shadow {
  display: block;
  position: relative;
}

.shadow img {
  display: block;
  width: 100%;
}

.shadow::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 3px 1px rgba(0, 0, 0, 0.2);
  pointer-events: none; /* makes sure it never blocks clicks */
}

.f-caption {
  padding:0 .5em 1em .5em;
  text-align:center;
}

.fancybox__slide .f-caption {
  box-sizing: border-box;
  text-align: center;
}

/* =========================
   Legacy animation helpers (modernized)
   Keep class names the same so layout/behavior doesn't change.
   ========================= */

.animatedMedium {
  animation: 1s ease both;
}

/* Optional delays */
.delayDiv {
  animation-delay: 0.25s;
}

.delayDivSlow {
  animation-delay: 0.5s;
}

.fadeIn {
  animation-name: fadeIn;
}

.is-exiting {
  animation-name: fadeIn;
  animation-direction: reverse;
}

@keyframes fadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animatedMedium,
  .fadeIn,
  .is-exiting,
  .delayDiv,
  .delayDivSlow {
    animation: none !important;
  }
}


/* =========================
   Accessibility + Utilities
   ========================= */

/* Keyboard focus visibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Utility helpers */
.hidden {
  display: none !important;
}

.no-border {
  border:none;
}

/* Screen-reader only (accessible hiding) */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================
   Mobile menu / accordion
   ========================= */

.mobile-index {
  margin: 30px 20px 20px;
  text-align: center;
}

.mobile-index a {
  max-width: 272px;
  margin-inline: auto;
}

.mobile-index a img {
  margin:auto;
}

#accordian {
  width: 100%;
  margin: 0 auto;
  color: var(--white);
  background: rgb(34, 34, 34);
  box-shadow:
    0 5px 15px 1px rgba(0, 0, 0, 0.6),
    0 0 200px 1px rgba(255, 255, 255, 0.5);
}

#accordian ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

#accordian li {
  border-top: 1px solid rgba(200, 189, 123, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#accordian a {
  display: block;
}

#accordian h3 {
  margin: 0;
  padding: 0 10px;
  font-family: var(--font-brand, "Champagne & Limousines", Helvetica, sans-serif);
  font-size: 1.3rem;
  line-height: 34px;
  cursor: pointer;
  background: rgb(34, 34, 34);
}

#accordian h3:hover {
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.7);
}

#accordian > ul:last-of-type {
  border-bottom: 1px solid rgba(200, 189, 123, 0.4);
}

#accordian > ul > li > a:hover h3 {
  color: var(--white);
}

/* -------------------------
   Caret
   ------------------------- */

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

#accordian .caret {
  transition: transform 0.25s ease;
}

/* -------------------------
   Submenu animation
   ------------------------- */

#accordian ul ul {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease-in-out,
    opacity 0.25s ease-in-out;
}

#accordian li.active > ul {
  max-height: 260px;
  opacity: 1;
}

#accordian ul ul li {
  border-top: 1px solid rgba(200, 189, 123, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#accordian ul ul li a {
  position: relative;
  display: block;
  padding: 7px 15px;
  font-size: 0.7rem;
  font-weight: normal;
  color: var(--gold);
  background: rgb(20, 20, 20);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

#accordian ul ul li a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  height: 100%;
  background: rgb(200, 189, 123);
  transition: width 0.25s ease;
}

#accordian ul ul li a:hover {
  color: var(--white);
  background: rgb(10, 10, 10);
}

#accordian ul ul li a:hover::before {
  width: 5px;
}

#accordian li.active > h3 .caret {
  transform: rotate(180deg);
}

.yellow {
  color: var(--border-accent, rgb(200, 189, 123));
}

.white {
  color: var(--white);
}

.yellow:hover {
  color: var(--white);
}

/* -------------------------
   Mobile History Features
   ------------------------- */

.mobile-history-features {
  margin: auto 0 0;
  background: rgb(34, 34, 34);
  border-top: 1px solid var(--gold-soft-2);
}


.mobile-history-features h3 {
  font-family: var(--font-brand);
  margin: 0;
  padding: 0 10px;
  font-size: 1.3rem;
  line-height: 34px;
  cursor: pointer;
  background: rgb(34, 34, 34);
}

.mobile-history-features ul {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
  transition:
    max-height 0.35s ease-in-out,
    opacity 0.25s ease-in-out;
}

.mobile-history-features.is-open ul {
  max-height: 320px; /* use a number closer to the real height */
  opacity: 1;
}

.mobile-history-features li {
  border-top: 1px solid rgba(200, 189, 123, 0.4);
}

.mobile-history-features a {
  position: relative;
  display: block;
  padding: 7px 15px;
  font-size: 0.7rem;
  line-height: 1.4;
  font-weight: normal;
  color: var(--gold);
  background: rgba(20, 20, 20, 1);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.mobile-history-features a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: rgba(200, 189, 123, 1);
  transition: width 0.25s ease;
}

.mobile-history-features a::after {
  content: "\00A0↗";
  font-size: 0.8em;
  opacity: 0.7;
}

.mobile-history-features a:hover {
  color: var(--white);
  background: rgba(10, 10, 10, 1);
}

.mobile-history-features a:hover::before {
  width: 5px;
}

.mobile-history-features .caret {
  display: inline-block;

  transition: transform 0.25s ease;
  transform: rotate(180deg); /* closed = down */
}

.mobile-history-features.is-open .caret {
  transform: rotate(0deg); /* open = up */
}

.mobile-historylink {
  margin: 20px 20px 10px; 
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-muted);
  text-align: center;
}

.mobile-historylink a {
  color: var(--gold);
  text-decoration: none;
  font-weight: normal;
}

.mobile-historylink a:hover {
  text-decoration: underline;
}

/* --------------------------------
   Menu Social Media
-------------------------------- */

.mobile-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;

background-color: rgb(34, 34, 34);
border-top: 1px solid var(--gold-soft-2);
}

.mobile-social img {
  width: 28px;
  height: 28px;
  opacity: 0.5;
    box-shadow:1px 1px 2px rgba(0,0,0,.4);
  transition: opacity 0.2s ease;
}

.mobile-social img:hover {
  opacity: 1;
}

/* =========================
   Start styles (modernized)
   ========================= */

/* =========================
   Top Bar
   ========================= */

#mobile-menu {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  padding: 0 10px;
  background-color: rgba(0, 0, 0, 0.48);
}

.mobile-home,
.mobile-home a {
  display: flex;
  align-items: center;
}

.mobile-home img {
  display: block;
}

.navicon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  height: 100%;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.navicon-line {
  display: block;
  width: 24px;
  height: 4px;
  border-radius: 1px;
  background-color: var(--white);
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

/* ===============================
   Intro / body sections
   =============================== */

.intro {
  padding-top: 0;
  color: var(--text);
  font-family: var(--font-serif);
}

/* =========================
   Footer bar
   ========================= */

#bg-footer {
  position: relative;
  height: auto;
  padding: 10px 20px 10px 10px;
  text-align: center;
  color: var(--gold-soft);
}

/* =========================
   Copyright
   ========================= */

.copyright {
  margin-top: 20px;
  font-size: 14px;
  line-height: 20px;
  font-family: var(--font-sans);
  text-align: center;
  color: var(--gold);
}

/* =========================
   Content mid areas
   ========================= */

.content-mid {
  width: 90%;
  margin: 0 auto;
  padding: 15px;
  line-height: 1.8rem;
  text-align: center;
  border-top: 1px solid var(--gold-soft-2);
}

.content-mid h1 {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 3rem;
}

.content-mid h4 {
  line-height: 30px;
}

.content-mid hr {
  border-top: 1px solid var(--gold-soft-2);
}

.content-mid p span {
  display: inline;
}

/* =========================
   Slidebar container
   ========================= */

 html,
body {
  min-height: 100%;
}

#full-contain {
  min-height: 100vh;
}  

/* remove the image from the scrolling container */
#full-contain {
  margin-inline: auto;
  background-image: none;
  position: relative;
}

/* fake fixed background */
#full-contain::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(58, 51, 51, 0.85) 50%,
      rgba(0, 0, 0, 0.9) 100%
    ),
    var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

#sb-site {
  position: relative;
  min-height: 100%;
  margin-inline: auto;
}

#container {
  position: relative;
  width: 100%;
  margin-inline: auto;
}

/* =========================
   Content wrappers & helpers
   ========================= */

.content-wrap {
  margin-top: 0;
  padding-top: 2em;
}

/* =========================
   Section headers
   ========================= */

.text-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 20px 0;
  text-align: left;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--white);
}

.text-header h1 {
  margin-top: 0.2em;
  font-size: 3.75em;
  line-height: 0.8;
}

.text-header h2 {
  margin: 0;
  padding-left: 0;
  text-align: center;
  line-height: 1.2;
  letter-spacing: inherit;
}

.header-logo {
  display: block;
  height: 80px;
  margin: 0 auto;
}

/* =========================
   Home page
   ========================= */

.page-header_bg--video {
  display: block;
}

.home-bg-video,
.home-bg-video-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.home-bg-video {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-bg-video-overlay {
  z-index: -1;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
}
 
  body.home {
  height: 100svh;
  overflow: hidden;
}

.home-hero {
  min-height: 100svh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 40px 20px 20px;
}


.home-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(90vw, 420px);
  gap: 18px;
  margin: 40px auto 0;
}

.hero-divider {
  flex: 0 0 1px;
  align-self: center;
  width: 100%;
  max-width: 220px;
  height: 1px;
  background: var(--gold-soft-2);
}

.logo-icon {
  display: inline-block;
  width: 119px;
  height: 124px;
  background-image: url("/assets/img/logo-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.home-hero-mark {
  flex: 0 0 auto;
}

.home-hero-mark .logo-icon {
  width: clamp(90px, 12vw, 140px);
  height: clamp(94px, 12.5vw, 146px);
}

.home-hero-wordmark {
  flex: 0 1 auto;
  display: block;
  transform: translateX(0);
}

.home-hero-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

#home-copy {
  position: static;
  width: min(90vw, 520px);
  margin: auto auto 20px;
  transform: none;
  text-align: center;
  color: var(--text);
  font-family: var(--font-serif);
}


#home-copy p {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.5;
  text-wrap: pretty;
}

#home-copy .copyright {
  margin-top: 0;
  line-height: 1.5;
}

#home-copy p.credit {
  font-size: 0.75rem;
  opacity: 0.7;
  line-height: 1.3;
  font-family:var(--font-sans);
  color: var(--paper);
  font-style:italic;
}

/* ===============================
   History of RWV
   =============================== */

.timeline-list {
  position: relative;
  width: 90%;
  margin: 0 auto;
  padding: 0;
}

.timeline-item {
  width: 100%;
  margin-bottom: 15px;
  font-family: var(--font-serif);
  background: var(--paper);
}

.timeline-item img {
  display: block;
  width: 100%;
  height: auto;
}

.timeline-info {
  padding: 30px 50px;
}

.timeline-info h1 {
  margin-top: 0;
  font-size: 3em;
  line-height: 1.3;
  color: var(--brown);
}

.timeline-info p {
  margin-bottom: 30px;
  font-size: 1em;
  line-height: 1.5;
}

.timeline-info > ul > li {
  font-size: 0.9rem;
}

.timeline-info a,
.timeline-info a:visited {
  color: var(--brown);
}

.timeline-info a:hover {
  color: var(--black);
}


/* =========================
   Generations
   ========================= */

.fb-gallery {
  display: grid;
  width: min(90%, 1000px);
  margin: 0 auto 1em;
  gap: 1px;
  aspect-ratio: 1 / 1;
  padding: 1px;
  background: #000;
  box-sizing: border-box;
}

.fb-gallery,
.fb-gallery-thumbs,
.fb-gallery-hero,
.fb-thumb,
.fb-gallery a {
  min-width: 0;
  min-height: 0;
}

.fb-gallery a {
  display: block;
  width: 100%;
  height: 100%;
}

.fb-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease, filter 0.35s ease;
}

/* =========================
   Hover
   ========================= */

@media (hover: hover) {
  .fb-gallery a:hover img {
    transform: scale(1.06);
    filter: brightness(1.08);
  }

  .fb-gallery a:hover::after {
    opacity: 0;
  }
}

/* =========================
   Tiles
   ========================= */

.fb-gallery-hero,
.fb-thumb {
  position: relative;
  overflow: hidden;
  background: #111;
}

.fb-gallery-hero::after,
.fb-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.fb-thumb-more::after {
  background: rgba(0, 0, 0, 0.4);
}

.fb-thumb-count {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* =========================
   Thumbs grid
   ========================= */

.fb-gallery-thumbs {
  display: grid;
  width: 100%;
  height: 100%;
  gap: 1px;
}

.is-hidden-thumb {
  display: none !important;
}

/* =========================
   Layout variants
   ========================= */

/* MOBILE / TABLET: LANDSCAPE */
.fb-gallery.is-landscape {
  grid-template-rows: 1fr auto;
}

.fb-gallery.is-landscape .fb-gallery-thumbs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fb-gallery.is-landscape .fb-thumb {
  aspect-ratio: 1 / 1;
}

/* MOBILE / TABLET: PORTRAIT */
.fb-gallery.is-portrait {
  grid-template-columns: 1fr auto;
}

.fb-gallery.is-portrait .fb-gallery-thumbs {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.fb-gallery.is-portrait .fb-thumb {
  aspect-ratio: 1 / 1;
}

/* =========================
   Navigation / timeline
   ========================= */

.navigation-list {
  width: 100%;
  margin-inline: auto;
}

.generations-timeline-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  width: 90%;
  margin: 0 auto 2em;
}

.generations-timeline-item {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  z-index: 3;
  font-family: var(--font-serif);
  background: var(--paper);
}

.generations-timeline-item a img {
  width: 100%;
}

.generations-timeline-info {
  padding: var(--space-6) 50px;
}

.generations-timeline-info blockquote {
  margin: 0;
}

/* =========================
   Generations quotes (updated)
   ========================= */

.quote-body {
  padding: 30px 50px;
  background: var(--paper);
}

/* blockquote */
.quote-body blockquote {
  margin: 0;
  padding-left: 1rem;
  color: var(--brown);
}

/* paragraphs */
.quote-body blockquote p {
  margin: 0 0 1em;
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 700;
}

.quote-body blockquote p:last-of-type {
  margin-bottom: 0;
}

/* citation */
.quote-body blockquote cite {
  display: block;
  margin-top: 0.75rem;
  text-align: right;
  font-style: italic;
  font-size: 0.95rem;
  color: #6a5548;
}

/* =========================
   Wineries
   ========================= */

.wineries-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: var(--content-width);
  margin-inline: auto;
  padding-bottom: 60px;
}

.wineries-list a {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.wineries-item {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 3;
  background: #000;
  color: var(--text);
  font-family: var(--font-serif);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.wineries-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, opacity 0.25s var(--ease);
}

.wineries-info {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 88px;
  padding: 14px 10px;
  text-align: center;
  color: #f7f7f7;
}

.wineries-info::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.70) 30%,
    rgba(0, 0, 0, 0.3) 90%,
    rgba(0, 0, 0, 0) 100%
  );
  transition: opacity 0.35s ease;
}

.wineries-info .vAlign {
  position: relative;
  z-index: 2;
  width: 100%;
}

.wineries-info h1,
.wineries-info h2,
.wineries-info h3 {
  margin: 0;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.wineries-info h1,
.wineries-info h2 {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0;
}

.wineries-info h1 {
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  line-height: 1.05;
}

.wineries-info h2 {
  font-size: 1.1rem;
}

.wineries-info h3 {
  margin-top: 2px;
  color: var(--link);
  font-size: clamp(1.3rem, 1.4vw, 1.5rem);
  line-height: 0.5rem;
  letter-spacing: 1px;
  font-variant: small-caps;
}

@media (hover: hover) {
  .wineries-item:hover {
    background: var(--black);
    box-shadow: 0 0 10px #191919;
  }

  .wineries-item:hover img {
    transform: scale(1.05);
  }

  .wineries-item:hover .wineries-info::before {
    opacity: 0.25;
  }

  .wineries-item:hover .wineries-info h1,
  .wineries-item:hover .wineries-info h2,
  .wineries-item:hover .wineries-info h3 {
    color: #fff;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.8),
      0 3px 8px rgba(0, 0, 0, 0.6);
  }
}

/* =========================
   Terroir
   ========================= */

.terroir-pane-body {
  display: grid;
  grid-template-areas:
    "media-primary"
    "media-strip"
    "text-top"
    "text-bottom"
    "media-footer";
  gap: 0;
  margin-bottom: 60px;
  font-family: var(--font-serif);
  background: linear-gradient(
    to right,
    rgba(249, 249, 249, 0.9),
    rgba(255, 255, 255, 0.9),
    rgba(249, 249, 249, 0.9)
  );
}

.terroir-media-primary { grid-area: media-primary; }
.terroir-media-strip   { grid-area: media-strip; }
.terroir-text-top      { grid-area: text-top; }
.terroir-text-bottom   { grid-area: text-bottom; }

.terroir-text-body {
  margin: 2em 3em 0;
}

.terroir-text-bottom {
  margin: 0 3em 3em;
}

.terroir-media-primary--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

#terroir-hide {
  display: none;
}

/* =========================
   Terroir Pane header
   ========================= */

.terroir-pane-header {
  padding: 20px 0;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 2px;
  text-align: center;
  color: var(--white);
  background: var(--black);
  border-top: 1px solid var(--gold-soft-2);
}

/* =========================
   Terroir Tabs
   ========================= */

.tab-pane,
.tab_pane {
  display: none;
}

.tab-pane.active,
.tab_pane.active {
  display: block;
}

#tab_panes {
  width: 90%;
  margin-inline: auto;
}

#tab_panes img {
  display: block;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* =========================
   Terroir Text
   ========================= */

.terroir-text-top h3 {
  margin: 2em 2em 0;
  padding-bottom: 1em;
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: center;
  color: var(--brown);
  border-bottom: 1px solid rgb(200, 189, 123);
}

.terroir-text-top p,
.terroir-text-bottom p {
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  border-bottom: none;
}

.terroir-text-top p > a,
.terroir-text-bottom p > a {
  color: var(--brown);
  font-style: italic;
  font-weight: 700;
}

/* =========================
   Terroir media strip
   ========================= */

.terroir-media-strip {
  display: flex;
  width: 100%;
  gap: 0;
  align-self: stretch;
}

.terroir-media-strip a {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.terroir-media-strip img {
  display: block;
  width: auto;
  height: 100%;
}

/* =========================
   Terroir sub-nav
   ========================= */

.terroir-nav {
  display: flex;
  position: relative;
  width: 100%;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-serif);
}

.terroir-nav li {
  flex: 1;
  line-height: 0.9rem;
  text-align: center;
}

.terroir-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  text-decoration: none;
  letter-spacing: 2px;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(0, 0, 0, 0.6);
  border-bottom: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.terroir-nav a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.9);
}

.terroir-nav a.active {
  position: relative;
  z-index: 2;
  height: 68px;
  padding-bottom: 12px;
  color: var(--text);
  background: rgb(0, 0, 0);
  border-top: 1px solid var(--gold-soft-2);
}

/* =========================
   Terroir Gallery
   ========================= */

.terroir-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #000;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.terroir-gallery-col {
  display: contents;
}

.terroir-gallery a {
  position: relative;
  display: block;
  overflow: hidden;
}

.terroir-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.terroir-gallery .terroir-tile {
  aspect-ratio: 1 / 1;
}

.terroir-gallery .terroir-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

/* mobile + tablet default */
.terroir-gallery-right .terroir-tile-4,
.terroir-gallery-right .terroir-tile-5 {
  display: none;
}

.hidden-gallery-item {
  display: none !important;
}

.terroir-tile.has-more-count::after {
  background: rgba(0, 0, 0, 0.4);
}

.terroir-tile .more-count {
  display: none;
}

.terroir-tile.has-more-count .more-count {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  font-family: var(--font-sans);
}

/* =========================
   Terroir Primary / footer media
   ========================= */

.terroir-media-primary,
.terroir-media-footer {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.terroir-media-primary > a,
.terroir-media-footer > a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.terroir-media-primary > a > img,
.terroir-media-footer > a > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.terroir-media-primary > a::after,
.terroir-media-footer > a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

/* =========================
   Terroir Hover
   ========================= */

@media (hover: hover) {
  .terroir-gallery a:hover img,
  .terroir-media-primary > a:hover > img,
  .terroir-media-footer > a:hover > img {
    transform: scale(1.06);
    filter: brightness(1.08);
  }

  .terroir-gallery a:hover::after,
  .terroir-media-primary > a:hover::after,
  .terroir-media-footer > a:hover::after {
    opacity: 0;
  }
}

/* --------------------------------
   Terroir Secondary Fixed Navigation
   -------------------------------- */

.cd-secondary-nav {
  position: relative;
  top: 5px;
  z-index: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cd-secondary-nav ul {
  position: fixed;
  top: 47px;
  z-index: 1;
  max-width: 400px;
  margin-left: 48px;
  padding-left: 0;
  border-radius: 0.25em;
  visibility: hidden;
  backface-visibility: hidden;
  transform: scale(0);
  transform-origin: 0 0;
  transition:
    transform 0.3s ease,
    visibility 0s linear 0.3s;
}

.cd-secondary-nav ul.is-visible {
  visibility: visible;
  transform: scale(1);
  transition:
    transform 0.3s ease,
    visibility 0s linear 0s;
}

.cd-secondary-nav li {
  margin-top: 1px;
  background: rgba(0, 0, 0, 0.9);
  transition: background 0.25s ease;
}

.cd-secondary-nav li:hover {
  background: rgb(0, 0, 0);
}

.cd-secondary-nav li a {
  display: block;
  padding: 1.6em;
  color: rgb(255, 255, 255);
}

.cd-secondary-nav li:hover a {
  color: rgb(200, 189, 123);
}

.cd-secondary-nav li:last-child a {
  border-bottom: none;
}

.cd-secondary-nav-trigger {
  position: fixed;
  top: 2px;
  left: 48px;
  width: 44px;
  height: 44px;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.cd-secondary-nav-trigger span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 4px;
  height: 4px;
  background: #f0eee1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.3s ease;
}

.cd-secondary-nav-trigger span::before,
.cd-secondary-nav-trigger span::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: 50%;
}

.cd-secondary-nav-trigger span::before {
  right: -10px;
}

.cd-secondary-nav-trigger span::after {
  left: -10px;
}

.cd-secondary-nav-trigger.menu-is-open span {
  width: 20px;
  height: 2px;
  background: transparent;
}

.cd-secondary-nav-trigger.menu-is-open span::before,
.cd-secondary-nav-trigger.menu-is-open span::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f0eee1;
  border-radius: 0;
}

.cd-secondary-nav-trigger.menu-is-open span::before {
  transform: rotate(135deg);
}

.cd-secondary-nav-trigger.menu-is-open span::after {
  transform: rotate(225deg);
}

#flyout li {
  list-style: none;
}

/* =========================
   Stewardship
   ========================= */

.stewardship-hero {
  width: 90%;
  margin-inline: auto;
  margin-bottom: 1em;
  border-radius: 10px 10px 0 0;
}

.stewardship-hero a {
  display: block;
  width: 100%;
}

.stewardship-hero a::after {
  background: none;
}

.stewardship-hero img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.stewardship-body {
  padding: 30px 50px;
  background: var(--white);
  border-radius: 10px 10px 0 0;
}

.stewardship-body h3 {
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: center;
  color: var(--brown);
}

.quote-card {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.quote-card-image {
  display: block;
  width: 100%;
  height: auto;
}

.quote-overlay {
  position: relative;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 50px 70px;
  background: var(--paper);
}

.quote-overlay blockquote {
  position: relative;
  margin: 0;
  padding: 0 0 0 1rem;
  color: var(--brown);
}

.quote-overlay blockquote p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 700;
}

.quote-overlay blockquote cite {
  display: block;
  margin-top: 0.75rem;
  text-align: right;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--brown);
}

/* =========================
   Contact us
   ========================= */

.logo-icon {
  width: clamp(90px, 12vw, 140px);
  height: clamp(94px, 12.5vw, 146px);
}


/* Bottom copy */
.contact-copy {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 6;
  width: min(90vw, 520px);
  transform: translateX(-50%);
  text-align: center;
  font-size: 1.3rem;
}

.contact-info p,
.contact-social p {
  margin: 0;
  line-height: 1.7;
  color: var(--text);
  font-family: var(--font-serif);
}

.contact-info p + p {
  margin-top: 10px;
}

.contact-email a {
  font-weight: bold;
}

.contact-social {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--gold-soft-2);
}

.contact-social p {
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons img {
  width: 28px;
  height: 28px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.social-icons a:hover img {
  opacity: 1;
}



 /* ==============================================================
   Tablet
   ============================================================== */

@media (min-width: 660px) {
  /* ===============================
     Footer / misc
     =============================== */

  #bg-footer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 5em;
  }

  /* ===============================
     Content spacing
     =============================== */

  .hero-row {
    display: block;
    margin-top: 0;
    padding-top: 2em;
  }

  .content-wrap {
    padding-top: 1em;
  }

  .content-mid h1 {
    font-size: 4rem;
  }

  .text-header {
    padding: 40px 0 40px 20px;
    font-weight: 700;
    color: var(--white);
  }

  .text-header h1 {
    margin: 0 0 -0.08em;
    font-size: 5em;
    line-height: 1;
    text-align: left;
  }

  .text-header h2 {
    padding-left: 40px;
    letter-spacing: 10px;
    line-height: 1.2;
    text-align: center;
  }

  /* =========================
     Index page
     ========================= */

  .home-hero-inner {
    margin-top: 20vh;
  }

  /* =========================
     History
     ========================= */

  .timeline-list {
    padding-bottom: 60px;
  }

  .timeline-info h1 {
    font-size: 60px;
    line-height: 1;
  }

  /* =========================
     Generations
     ========================= */

  .generations-timeline-list {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  /* =========================
     Wineries
     ========================= */

  .wineries-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quote-overlay {
    position: absolute;
  }

  /* =========================
     Stewardship
     ========================= */

.stewardship-hero img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain; /* or just remove it if you want */
  }

  .stewardship h1 {
    text-align: center;
  }

  .stewardship h2 {
    margin-right: 88px;
    letter-spacing: 3px;
  }

  /* =========================
     Contact us page
     ========================= */

  .contact-copy {
    bottom: 25px;
  }
}


/* ==============================================================
   Full size screens
   ============================================================== */

@media (min-width: 1025px) {
  /* ===============================
     Layout containers
     =============================== */

  #container {
    width: min(1000px, 100%);
    margin-inline: auto;
  }

  /* ===============================
     Hero row
     =============================== */

  .hero-row {
    display: grid;
    grid-template-columns: minmax(max-content, 420px) 1fr;
    gap: 20px;
    align-items: center;
    padding-top: 5em;
  }

  .content-wrap {
    padding-top: 0;
  }

  .text-header {
    padding: 40px 0 40px 20px;
    margin-bottom: 30px;
  }

  .text-header h1 {
    font-size: 80px;
    line-height: 1;
    text-align: left;
  }

  .text-header h2 {
    padding-left: 40px;
  }

  .header-logo {
    margin: 0;
    height: 90px;
  }

  .content-mid {
    margin: 0 0 30px;
    padding-left: 30px;
    text-align: justify;
    border-top: none;
    border-left: 1px solid var(--gold-soft-2);
  }

  /* ===============================
     Footer
     =============================== */

  .copyright {
    text-align: left;
  }

  /* ===============================
     Index
     =============================== */

  .home-hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 80px 20px 140px;
    z-index: 5;
  }

  .home-hero-inner {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: min(90vw, 760px);
    gap: 20px;
    margin: 0 auto;
  }

  .hero-divider {
    flex: 0 0 1px;
    align-self: stretch;
    width: auto;
    max-width: none;
    height: auto;
  }

  .home-hero-wordmark {
    transform: translateX(-18px);
  }

  #home-copy {
    position: fixed;
    right: 40px;
    bottom: 35px;
    left: auto;
    transform: none;
    width: min(420px, calc(100vw - 40px));
    text-align: right;
  }

  #home-copy p,
  #home-copy .copyright {
    text-align: right;
  }

  /* ===============================
     History
     =============================== */

  .timeline-list {
    width: min(1000px, 100%);
    margin: 0 auto;
  }

  .timeline-item {
    width: 494px;
  }

  .timeline-item:nth-child(odd) {
    margin-right: 12px;
  }

  .timeline-info {
    padding: 30px 50px;
  }

  .timeline-list .timeline-item[class*="timeline-"] {
    bottom: auto !important;
  }

  /* ===============================
     Generations
     =============================== */

  .generations-timeline-list {
    width: 100%;
  }

  .generations-timeline-item {
    margin: 0;
  }

  .fb-gallery,
  .fb-gallery.is-landscape,
  .fb-gallery.is-portrait {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1px;
    align-items: stretch;
    width: 100%;
    aspect-ratio: auto;
  }

  .fb-gallery .fb-gallery-hero,
  .fb-gallery.is-landscape .fb-gallery-hero,
  .fb-gallery.is-portrait .fb-gallery-hero {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
  }

  .fb-gallery .fb-gallery-thumbs,
  .fb-gallery.is-landscape .fb-gallery-thumbs,
  .fb-gallery.is-portrait .fb-gallery-thumbs {
    display: grid;
    grid-column: 1 / 4;
    grid-row: 1 / 3;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1px;
    pointer-events: none;
  }

  .fb-gallery .fb-thumb,
  .fb-gallery.is-landscape .fb-thumb,
  .fb-gallery.is-portrait .fb-thumb {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    pointer-events: auto;
  }

  .fb-gallery .fb-thumb:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .fb-gallery .fb-thumb:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .fb-gallery .fb-thumb:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .fb-gallery .fb-thumb:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
  }

  .fb-gallery .fb-thumb:nth-child(n + 5),
  .fb-gallery.is-landscape .fb-thumb:nth-child(n + 5),
  .fb-gallery.is-portrait .fb-thumb:nth-child(n + 5) {
    display: none;
  }

  /* ===============================
     Terroir
     =============================== */

  .cd-secondary-nav-trigger {
    display: none;
  }

  .terroir-pane-body {
    grid-template-areas:
      "media-primary media-primary"
      "text-top text-top"
      "media-strip media-strip"
      "text-bottom text-bottom"
      "media-footer media-footer";
    gap: 30px;
  }

  .terroir-text-top {
    display: grid;
    grid-template-columns: 354px 1fr;
    gap: 0;
    align-items: center;
  }

  .terroir-text-top h3 {
    margin: 0;
    padding: 0 2em;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 2rem;
    text-align: left;
    border-bottom: none;
  }

  .terroir-text-top p {
    padding: 0 3em 0 2em;
  }

  .terroir-text-body {
    margin: 0;
    border-left: 1px solid rgb(200, 189, 123);
  }

  .terroir-text-bottom {
    margin: 0 3em;
  }

  .terroir-pane-header {
    display: none;
  }

  #terroir-hide {
    display: block;
  }

  .terroir-gallery {
    grid-template-columns: 1fr 2fr 1fr;
    align-items: stretch;
  }

  .terroir-gallery-col {
    display: grid;
  }

  .terroir-gallery-left,
  .terroir-gallery-right {
    grid-template-rows: 1fr 1fr;
  }

  .terroir-gallery-center {
    display: flex;
    align-items: stretch;
  }

  .terroir-gallery-right .terroir-tile-4,
  .terroir-gallery-right .terroir-tile-5 {
    display: block;
  }

  .terroir-gallery-left .terroir-tile,
  .terroir-gallery-right .terroir-tile,
  .terroir-gallery-center .terroir-tile {
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  #tab_panes {
    width: min(1000px, 100%);
    margin-inline: auto;
  }

  /* ===============================
     Stewardship
     =============================== */

  .stewardship-hero {
    width: 100%;
  }

  /* ===============================
     Contact
     =============================== */

  .center {
    display: flex;
    justify-content: center;
  }

  .contact-copy {
    bottom: 35px;
    width: min(520px, calc(100vw - 40px));
  }

  /* ===============================
     Wineries
     =============================== */

  .wineries-list {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}