/*
Theme Name: Farnsworth Inn Redesign
Theme URI: https://farnsworthhouseinn.com
Author: APX Creative Co
Author URI: https://APXParanormal.com
Description: Redesign of the Historic Farnsworth House Inn theme. Same Aged Parchment, Gunmetal, Deep Brick, and Antique Brass palette, with a cinematic layout and 3D elements: WebGL fog and embers, an interactive lantern-lit brick wall, tilt cards, and a 3D photo ring. Copied from Farnsworth Inn 3.0.0.
Version: 4.0.0
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: farnsworth
*/

/* ─── CSS Custom Properties ─── */
:root {
  /* Scheme 1 — Aged Parchment (light) */
  --parchment: #f2e8d5;
  --parchment-text: #1a0a05;
  /* Scheme 2 — Gunmetal Slate (dark) */
  --gunmetal: #252528;
  --gunmetal-text: #f2e8d5;
  /* Scheme 3 — Deep Brick */
  --brick: #4a1c1c;
  --brick-text: #f2e8d5;
  /* Scheme 4 — Charcoal Black */
  --charcoal: #111114;
  --charcoal-text: #f2e8d5;
  /* Scheme 5 — Antique Brass accent */
  --brass: #c9a257;
  /* Shared */
  --shadow: #0d0d0f;
  --radius: 4px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --font-heading: 'Trirong', serif;
  --font-body: 'Quattrocento Sans', sans-serif;
  /* Redesign */
  --ink: #0d0d0f;
  --night: #0f0f12;
  --ember: #e8a25a;
  --wrap: 1240px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--parchment);
  color: var(--parchment-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass); text-decoration: none; transition: color var(--transition); }
a:hover { color: #b8923e; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
  color: inherit;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--brass);
  color: var(--charcoal);
  border-color: var(--brass);
}
.btn-primary:hover {
  background: transparent;
  color: var(--brass);
}

.btn-secondary {
  background: transparent;
  color: var(--brass);
  border-color: var(--brass);
}
.btn-secondary:hover {
  background: var(--brass);
  color: var(--charcoal);
}

.btn-light {
  background: var(--parchment);
  color: var(--brick);
  border-color: var(--parchment);
}
.btn-light:hover {
  background: transparent;
  color: var(--parchment);
}

/* ─── Header (Redesign) ─── */
/* The glass background lives on ::before so backdrop-filter never traps the fixed mobile menu. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;
  color: var(--parchment);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(17, 17, 20, 0.9);
  border-bottom: 1px solid rgba(201, 162, 87, 0.16);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  transition: opacity 0.45s ease;
}

body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .site-header { top: 0; } }

/* Front page: header floats over the hero, turns to glass once you scroll */
.site-header--overlay {
  position: fixed;
  left: 0;
  right: 0;
}
.site-header--overlay::before { opacity: 0; }
.site-header--overlay::after {
  content: '';
  position: absolute;
  inset: 0 0 -70px;
  z-index: -3;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(8, 7, 7, 0.75), rgba(8, 7, 7, 0));
  transition: opacity 0.45s ease;
}
.site-header--overlay.scrolled::before,
body.nav-open .site-header::before { opacity: 1; }
.site-header--overlay.scrolled::after,
body.nav-open .site-header::after { opacity: 0; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 1rem 2rem;
  transition: padding 0.35s ease;
}
.site-header.scrolled .header-inner { padding: 0.55rem 2rem; }

.site-logo { flex: 0 0 auto; line-height: 0; }
.site-logo a { display: inline-block; }
.site-logo img,
.custom-logo {
  max-height: 46px;
  width: auto;
  transition: max-height 0.35s ease;
}
.site-header.scrolled .site-logo img,
.site-header.scrolled .custom-logo { max-height: 34px; }

.site-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--parchment);
  letter-spacing: 0.05em;
}

/* ─── Navigation ─── */
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--parchment);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.7rem 0.8rem;
  transition: color 0.3s ease, background 0.3s ease;
}
.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.35rem;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease-out);
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.current-menu-item > a::after,
.main-nav > ul > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--brass); }
.main-nav a:focus-visible { outline: 1px solid var(--brass); outline-offset: 2px; }

/* Dropdown: folds down in 3D */
.has-dropdown { position: relative; perspective: 900px; }
.dropdown-arrow {
  display: inline-block;
  font-size: 0.55em;
  transition: transform 0.3s ease;
}
.has-dropdown:hover .dropdown-arrow,
.has-dropdown:focus-within .dropdown-arrow,
.has-dropdown.open .dropdown-arrow { transform: rotate(180deg); }

.main-nav .dropdown {
  position: absolute;
  top: calc(100% + 0.3rem);
  left: 0;
  z-index: 10;
  display: block;
  min-width: 240px;
  padding: 0.6rem 0;
  background: rgba(17, 17, 20, 0.97);
  border: 1px solid rgba(201, 162, 87, 0.18);
  border-top: 2px solid var(--brass);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: rotateX(-18deg) translateY(-6px);
  transform-origin: top center;
  transition: opacity 0.3s ease, transform 0.45s var(--ease-out), visibility 0.3s;
}
.main-nav .dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.main-nav .dropdown li { display: block; }
.main-nav .dropdown a {
  display: flex;
  padding: 0.55rem 1.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}
.main-nav .dropdown a:hover { background: rgba(201, 162, 87, 0.07); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}
.header-book {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--brass);
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}
.header-book:hover,
.header-book:focus-visible { background: var(--brass); color: var(--charcoal); }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(201, 162, 87, 0.4);
  border-radius: 50%;
  color: var(--parchment);
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out), opacity 0.2s ease;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-cta { display: none; }

@media (max-width: 1360px) {
  .main-nav a { padding: 0.7rem 0.6rem; letter-spacing: 0.12em; }
  .main-nav > ul > li > a::after { left: 0.6rem; right: 0.6rem; }
}

/* Mobile + tablet: full-screen menu */
@media (max-width: 1180px) {
  .header-inner { padding: 0.75rem 1.25rem; }
  .site-header.scrolled .header-inner { padding: 0.5rem 1.25rem; }
  .site-logo img, .custom-logo { max-height: 36px; }
  .site-header.scrolled .site-logo img,
  .site-header.scrolled .custom-logo { max-height: 30px; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-block; }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    margin: 0;
    padding: 6.5rem 1.5rem 2.5rem;
    background: radial-gradient(120% 70% at 50% 0%, #1f1816 0%, #0e0e10 65%);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, transform 0.45s var(--ease-out), visibility 0.35s;
  }
  body.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 560px;
    margin: 0 auto;
  }
  .main-nav > ul > li { border-bottom: 1px solid rgba(201, 162, 87, 0.14); }
  .main-nav > ul > li > a {
    width: 100%;
    justify-content: space-between;
    padding: 1rem 0.25rem;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: none;
  }
  .main-nav > ul > li > a::after { display: none; }

  .has-dropdown { perspective: none; }
  .main-nav .dropdown {
    position: static;
    min-width: 0;
    padding: 0 0 0.9rem 0.75rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .main-nav .dropdown::before { display: none; }
  .has-dropdown > .dropdown { display: none !important; }
  .has-dropdown.open > .dropdown { display: block !important; }
  .main-nav .dropdown a { font-size: 0.8rem; padding: 0.6rem 0.25rem; }

  .nav-cta {
    display: grid;
    gap: 0.75rem;
    max-width: 560px;
    margin: 2rem auto 0;
  }
  .nav-cta .nav-cta__phone {
    text-align: center;
    color: rgba(242, 232, 213, 0.7);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    padding-top: 0.5rem;
  }
}

@media (max-width: 560px) {
  .header-book { display: none; }
}

/* ─── Hero Banner ─── */
.hero-banner {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,20,0.55);
}

.hero-banner__content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 4rem 2rem;
  color: var(--parchment);
}

.hero-banner__content h1 {
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-banner__content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-banner__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Section Utilities ─── */
.section-dark {
  background: var(--gunmetal);
  color: var(--gunmetal-text);
}

.section-brick {
  background: var(--brick);
  color: var(--brick-text);
}

.section-charcoal {
  background: var(--charcoal);
  color: var(--charcoal-text);
}

.section-brass {
  background: var(--brass);
  color: var(--charcoal);
}

.section-parchment {
  background: var(--parchment);
  color: var(--parchment-text);
}

.section-padding {
  padding: 5rem 0;
}

.section-padding-sm {
  padding: 3rem 0;
}

.text-center { text-align: center; }

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.85;
  font-size: 1.05rem;
}

/* ─── Image + Text Row (Multirow equivalent) ─── */
.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.content-row.reverse { direction: rtl; }
.content-row.reverse > * { direction: ltr; }

.content-row__image {
  overflow: hidden;
}

.content-row__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.content-row:hover .content-row__image img {
  transform: scale(1.03);
}

.content-row__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3.5rem;
}

.content-row__caption {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.5rem;
}

.content-row__text h2 {
  margin-bottom: 1rem;
}

.content-row__text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .content-row {
    grid-template-columns: 1fr;
  }
  .content-row.reverse { direction: ltr; }
  .content-row__text { padding: 2rem 1.5rem; }
}

/* ─── Card Grid ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--gunmetal);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.card__image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card__body {
  padding: 1.5rem 2rem 2rem;
  color: var(--parchment);
}

.card__body h3 { margin-bottom: 0.75rem; }
.card__body p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

/* ─── CTA Band ─── */
.cta-band {
  text-align: center;
  padding: 4rem 2rem;
}
.cta-band h2 { margin-bottom: 1.5rem; }

/* ─── Testimonials ─── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,87,0.12);
  border-radius: var(--radius);
  padding: 2rem;
}

.testimonial-card blockquote {
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--brass);
  font-size: 0.85rem;
}

.testimonial-card .stars {
  color: var(--brass);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

/* ─── Footer (Redesign) ─── */
.site-footer {
  position: relative;
  overflow: hidden;
  background: #0d0d0f;
  color: var(--parchment);
  border-top: 1px solid rgba(201, 162, 87, 0.15);
}

.fh-footer__cta {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(201, 162, 87, 0.12);
  background: radial-gradient(90% 140% at 50% 0%, rgba(74, 28, 28, 0.6) 0%, rgba(13, 13, 15, 0) 70%);
}
.fh-footer__cta-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.fh-footer__cta h2 {
  font-weight: 300;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  max-width: 18ch;
}
.fh-footer__cta h2 em { color: var(--brass); }
.fh-footer__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.fh-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 4rem 2rem 3.5rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.25rem;
}
.footer-col h4.fh-footer__brand {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  color: var(--parchment);
  margin-bottom: 1rem;
}
.footer-col p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(242, 232, 213, 0.68);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: rgba(242, 232, 213, 0.78);
  font-size: 0.92rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--brass); }

.fh-footer__visit address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(242, 232, 213, 0.78);
  margin-bottom: 1rem;
}
.fh-footer__visit .fh-footer__phone {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--parchment);
  margin-bottom: 0.35rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 162, 87, 0.3);
  border-radius: 50%;
  color: var(--parchment);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.footer-social a:hover {
  color: var(--brass);
  border-color: var(--brass);
  transform: translateY(-2px);
}
.footer-social svg { width: 17px; height: 17px; }

.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid rgba(201, 162, 87, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(242, 232, 213, 0.5);
}
.footer-bottom nav { display: flex; gap: 1.25rem; }
.footer-bottom a { color: rgba(242, 232, 213, 0.6); }
.footer-bottom a:hover { color: var(--brass); }

/* Oversized outlined wordmark behind the footer */
.fh-footer__mark {
  position: absolute;
  left: 50%;
  bottom: -0.2em;
  z-index: 0;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: clamp(5rem, 17vw, 15rem);
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 162, 87, 0.11);
  letter-spacing: 0.02em;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 900px) {
  .fh-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.25rem; }
}

@media (max-width: 560px) {
  .fh-footer__grid { grid-template-columns: 1fr; padding: 3rem 1.25rem 2.5rem; }
  .fh-footer__cta-inner { padding: 3.5rem 1.25rem; }
  .fh-footer__actions { width: 100%; }
  .fh-footer__actions .fh-btn { flex: 1 1 100%; }
  .footer-bottom { padding: 1.25rem 1.25rem 1.75rem; }
}

/* ─── Rich Text / Page Content ─── */
.entry-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.entry-content p { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol { padding-left: 2rem; margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.entry-content h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.entry-content img { border-radius: var(--radius); margin: 1.5rem 0; }

.entry-content a {
  color: var(--brass);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── WordPress Specific ─── */
.wp-block-image { margin: 1.5rem 0; }
.wp-block-image img { border-radius: var(--radius); }

.aligncenter { text-align: center; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }

.wp-caption {
  max-width: 100%;
}
.wp-caption-text {
  font-size: 0.85rem;
  opacity: 0.6;
  padding: 0.5rem 0;
  text-align: center;
}

/* ─── Elementor Compatibility ─── */
/* Let Elementor sections go full width */
.elementor-content-wrap {
  width: 100%;
}

.elementor-content-wrap .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1200px;
}

.elementor-content-wrap .elementor-section.elementor-section-stretched {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Ensure Elementor images display properly */
.elementor-content-wrap img {
  max-width: 100%;
  height: auto;
}

/* Elementor gallery / carousel */
.elementor-content-wrap .elementor-image-gallery,
.elementor-content-wrap .elementor-image-carousel {
  width: 100%;
}

/* Don't constrain Elementor content */
.elementor-content-wrap .elementor-widget-wrap {
  width: 100%;
}

/* Respect Elementor's own text/bg colors — don't override */
.elementor-content-wrap .elementor-section,
.elementor-content-wrap .elementor-column,
.elementor-content-wrap .elementor-widget {
  color: inherit;
}

/* Elementor button styling override to match our brand */
.elementor-content-wrap .elementor-button {
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  transition: all var(--transition);
}

/* Comments */
.comments-area { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.08); }

/* ─── Accessibility ─── */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Base scroll-trigger state */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: calc(var(--animation-order, 0) * 100ms);
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left */
.animate-in--left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: calc(var(--animation-order, 0) * 100ms);
}
.animate-in--left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.animate-in--right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: calc(var(--animation-order, 0) * 100ms);
}
.animate-in--right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Zoom in */
.animate-in--zoom {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: calc(var(--animation-order, 0) * 100ms);
}
.animate-in--zoom.visible {
  opacity: 1;
  transform: scale(1);
}

/* Fade only */
.animate-in--fade {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: calc(var(--animation-order, 0) * 100ms);
}
.animate-in--fade.visible {
  opacity: 1;
}

/* ─── Hover Effects ─── */

/* Button hover lift + gold shimmer */
a[style*="background: var(--brass)"],
a[style*="background:var(--brass)"] {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
a[style*="background: var(--brass)"]:hover,
a[style*="background:var(--brass)"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
a[style*="background: var(--brass)"]:active,
a[style*="background:var(--brass)"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Outline button hover */
a[style*="border: 2px solid var(--brass)"],
a[style*="border:2px solid var(--brass)"] {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background 0.3s ease, color 0.3s ease !important;
}
a[style*="border: 2px solid var(--brass)"]:hover,
a[style*="border:2px solid var(--brass)"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  background: var(--brass) !important;
  color: var(--charcoal) !important;
}

/* Card hover lift */
article[style*="background: #fff"],
article[style*="background:#fff"],
.card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
article[style*="background: #fff"]:hover,
article[style*="background:#fff"]:hover,
.card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18) !important;
}

/* Image hover zoom (legacy pages only; redesigned .fh-sec sections run their own 3D hover) */
section:not(.fh-sec) img:not(.site-logo img):not(.custom-logo) {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
section:not(.fh-sec) a:hover img:not(.site-logo img):not(.custom-logo),
section:not(.fh-sec) article:hover img {
  transform: scale(1.03);
}

/* Hero entrance */
@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-entrance {
  animation: heroEntrance 1s ease-out 0.3s both;
}

@media (prefers-reduced-motion: reduce) {
  .animate-in,
  .animate-in--left,
  .animate-in--right,
  .animate-in--zoom,
  .animate-in--fade { opacity: 1; transform: none; transition: none; }
  .hero-entrance { animation: none; opacity: 1; transform: none; }
  .hero-banner__bg { background-attachment: scroll; }
  section:not(.fh-sec) img:not(.site-logo img) { transition: none; }
}

/* ─── Image Gallery / Slider ─── */
.fwi-gallery {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.fwi-gallery .fwi-gallery__main {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.fwi-gallery .fwi-gallery__main img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  cursor: zoom-in;
  margin: 0 !important;
}

.fwi-gallery .fwi-gallery__main img.active {
  opacity: 1;
}

.fwi-gallery__prev,
.fwi-gallery__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.fwi-gallery__prev:hover,
.fwi-gallery__next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.fwi-gallery__prev { left: 0.5rem; }
.fwi-gallery__next { right: 0.5rem; }

.fwi-gallery__thumbs {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.6rem;
  overflow-x: auto;
  scrollbar-width: thin;
  justify-content: center;
}

.fwi-gallery__thumbs img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  border: 2px solid transparent;
}

.fwi-gallery__thumbs img.active {
  opacity: 1;
  border-color: var(--brass);
  box-shadow: 0 0 0 1px var(--brass);
}

.fwi-gallery__thumbs img:hover {
  opacity: 1;
}

.fwi-gallery__counter {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  z-index: 2;
}

/* ─── Guide Player Cards ─── */
.guide-cards-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.guide-card {
  background: #1e1e24;
  border: 1px solid rgba(201, 162, 87, 0.12);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 162, 87, 0.2);
}

.guide-card__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: #111114;
}

.guide-card__photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, #1e1e24, transparent);
  pointer-events: none;
}

.guide-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85);
  transition: filter 0.3s ease;
}

.guide-card:hover .guide-card__photo img {
  filter: saturate(1);
}

.guide-card__info {
  padding: 1.25rem 1.25rem 1.5rem;
}

.guide-card__name {
  font-family: 'Trirong', serif;
  color: var(--brass);
  font-size: 1.25rem;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.guide-card__title {
  color: rgba(242, 232, 213, 0.6);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.guide-card__bio {
  color: var(--parchment);
  opacity: 0.8;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

.guide-card__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.guide-card__social a {
  color: var(--brass);
  font-size: 0.8rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  transition: color 0.2s;
}

.guide-card__social a:hover {
  color: var(--parchment);
}

@media (max-width: 600px) {
  .guide-cards-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
  }
}

/* ─── Mailchimp Form Styling ─── */
.mc4wp-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.mc4wp-form input[type="email"],
.mc4wp-form input[type="text"],
.mc4wp-form input[type="tel"] {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,162,87,0.3);
  border-radius: 4px;
  color: var(--parchment);
  padding: 0.75rem 1.2rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  min-width: 220px;
  flex: 1;
  transition: border-color 0.3s ease;
}
.mc4wp-form input[type="email"]::placeholder,
.mc4wp-form input[type="text"]::placeholder,
.mc4wp-form input[type="tel"]::placeholder {
  color: rgba(242,232,213,0.5);
}
.mc4wp-form input[type="email"]:focus,
.mc4wp-form input[type="text"]:focus,
.mc4wp-form input[type="tel"]:focus {
  outline: none;
  border-color: var(--brass);
}
.mc4wp-form input[type="submit"] {
  background: var(--brass);
  color: var(--charcoal);
  border: none;
  border-radius: 4px;
  padding: 0.75rem 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mc4wp-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.mc4wp-form .mc4wp-response {
  width: 100%;
  color: var(--brass);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ─── As Featured On Bar ─── */
.as-seen-on__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.as-seen-on__item {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.as-seen-on__item:hover {
  opacity: 1;
}

.as-seen-on__item svg {
  width: 120px;
  height: 28px;
}

@media (max-width: 600px) {
  .as-seen-on__logos {
    gap: 1.5rem;
  }
  .as-seen-on__item svg {
    width: 90px;
    height: 22px;
  }
}

/* ─── Homepage Photo Gallery ─── */
.homepage-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 0.75rem;
}

.homepage-gallery__item {
  overflow: hidden;
  border-radius: 4px;
  position: relative;
}

.homepage-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.homepage-gallery__item:hover img {
  transform: scale(1.05);
}

/* ─── Homepage Gallery Prev/Next Arrows ─── */
.home-cycle-prev:hover,
.home-cycle-next:hover {
  background: rgba(0,0,0,0.7) !important;
  transform: translateY(-50%) scale(1.1);
}
.home-cycle-prev:active,
.home-cycle-next:active {
  transform: translateY(-50%) scale(0.95);
}
@media (max-width: 600px) {
  .home-cycle-prev,
  .home-cycle-next {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.2rem !important;
  }
}

.homepage-gallery__item--tall {
  grid-row: span 2;
}

.homepage-gallery__item--wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .homepage-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .homepage-gallery__item--wide {
    grid-column: span 1;
  }
}

@media (max-width: 500px) {
  .homepage-gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .homepage-gallery__item--tall {
    grid-row: span 1;
  }
}

/* ─── FAQ Accordion ─── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(74, 28, 28, 0.15);
}

.faq-item:first-child {
  border-top: 1px solid rgba(74, 28, 28, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--charcoal);
  cursor: pointer;
  list-style: none;
  transition: color 0.3s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--brass);
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-question:hover {
  color: var(--brick);
}

.faq-answer {
  padding: 0 0 1.5rem;
}

.faq-answer p {
  color: #3a3a3a;
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

/* ─── Homepage Popup ─── */
.site-popup {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6vh 1rem 2rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-popup.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.88);
  backdrop-filter: blur(3px);
}

.site-popup__panel {
  position: relative;
  width: min(92vw, 460px);
  border: 1px solid rgba(201,162,87,0.4);
  background: #111114;
  color: var(--parchment);
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), inset 0 1px 0 rgba(201,162,87,0.12);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-popup.is-visible .site-popup__panel {
  transform: translateY(0) scale(1);
}

.site-popup__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(201,162,87,0.35);
  border-radius: 999px;
  background: rgba(17,17,20,0.85);
  color: rgba(242,232,213,0.65);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.site-popup__close:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.site-popup__media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.site-popup__content {
  padding: 1.75rem 1.75rem 1.6rem;
  text-align: center;
  background: linear-gradient(160deg, #18120c 0%, #111114 60%);
}

.site-popup__eyebrow {
  margin-bottom: 0.85rem;
  color: var(--brass);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.site-popup__ornament {
  width: 32px;
  height: 1px;
  background: var(--brass);
  margin: 0 auto 1.1rem;
  opacity: 0.55;
}

.site-popup__title {
  font-family: 'Trirong', serif;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  line-height: 1.35;
  color: var(--parchment);
  margin-bottom: 0.75rem;
}

.site-popup__date {
  font-family: 'Trirong', serif;
  font-size: 0.9rem;
  color: var(--brass);
  font-style: italic;
  margin-bottom: 1rem;
}

.site-popup__text {
  font-size: 0.84rem;
  opacity: 0.7;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.site-popup__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-popup__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--brass);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.site-popup__button--solid {
  background: var(--brass);
  color: var(--charcoal);
}

.site-popup__button--solid:hover {
  background: #b8923d;
  border-color: #b8923d;
}

.site-popup__button--outline {
  background: transparent;
  color: var(--brass);
}

.site-popup__button--outline:hover {
  background: rgba(201,162,87,0.08);
}

body.site-popup-open {
  overflow: hidden;
}

/* ─── Press & Media Article Cards ─── */
#press a[href]:hover {
  background: rgba(255,255,255,0.1) !important;

}

/* ─── Targeted Mobile Fixes (Safe) ─── */
@media (max-width: 768px) {
  /* Fixed backgrounds are unreliable on mobile */
  .hero-banner__bg {
    background-attachment: scroll !important;
  }

  .home-cycle {
    aspect-ratio: 4/3 !important;
  }

  .home-cycle-prev,
  .home-cycle-next {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.2rem !important;
  }

  .content-row__text {
    padding: 1.5rem 1rem !important;
  }

  .mc4wp-form input[type="email"],
  .mc4wp-form input[type="text"],
  .mc4wp-form input[type="tel"],
  .mc4wp-form input[type="submit"] {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .hero-banner {
    min-height: 55vh;
  }

  .site-popup {
    padding-top: 4vh;
  }

  .site-popup__panel {
    width: 92vw;
  }

  .site-popup__content {
    padding: 1.35rem 1.1rem 1.25rem;
  }

  .site-popup__button {
    width: 100%;
  }

  .hero-banner__content {
    padding: 1.5rem 1rem;
  }

  .hero-banner__content p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .hero-banner__buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-banner__buttons a {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}


/* --- Contact Form 7 --- */
.wpcf7 { width: 100%; color: #f2e8d5; }
.wpcf7 .wpcf7-form { display: flex; flex-direction: column; gap: 1.25rem; }
.wpcf7 h1,
.wpcf7 h2,
.wpcf7 h3,
.wpcf7 h4,
.wpcf7 h5,
.wpcf7 h6,
.wpcf7-form h1,
.wpcf7-form h2,
.wpcf7-form h3,
.wpcf7-form h4,
.wpcf7-form h5,
.wpcf7-form h6 {
  color: #f2e8d5 !important;
  font-family: 'Trirong', serif;
  margin-bottom: 0.75rem;
}
.wpcf7 p { color: #f2e8d5; }
.wpcf7 label {
  display: block;
  font-family: 'Quattrocento Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.4rem;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  background: #ffffff !important;
  border: 1px solid rgba(201,162,87,0.6) !important;
  border-radius: 2px;
  color: #1a0a05 !important;
  font-family: 'Quattrocento Sans', sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--brass) !important;
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder { color: rgba(26,10,5,0.4) !important; }
.wpcf7 select {
  width: 100%;
  background: #2e1c1c !important;
  border: 1px solid rgba(201,162,87,0.6) !important;
  border-radius: 2px;
  color: #f2e8d5 !important;
  font-family: 'Quattrocento Sans', sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  color-scheme: dark;
}
.wpcf7 select:focus {
  outline: none;
  border-color: var(--brass) !important;
}
.wpcf7 textarea { resize: vertical; min-height: 140px; }
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  background: var(--brass);
  color: var(--charcoal);
  border: 2px solid var(--brass);
  border-radius: 2px;
  font-family: 'Quattrocento Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  width: 100%;
}
.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover { background: transparent; color: var(--brass); }
.wpcf7 .wpcf7-not-valid-tip { color: #e07070; font-size: 0.8rem; margin-top: 0.25rem; display: block; }
.wpcf7 .wpcf7-response-output {
  border: 1px solid rgba(201,162,87,0.6) !important;
  color: var(--parchment) !important;
  font-size: 0.85rem;
  padding: 0.9rem 1.25rem;
  margin-top: 1rem;
  border-radius: 2px;
  background: rgba(0,0,0,0.35) !important;
}
.wpcf7 .wpcf7-mail-sent-ok { border-color: var(--brass) !important; color: var(--parchment) !important; background: rgba(0,0,0,0.35) !important; }
.wpcf7 .wpcf7-validation-errors { border-color: rgba(224,112,112,0.7) !important; color: #f0b0b0 !important; background: rgba(0,0,0,0.35) !important; }

/* --- CF7 Form Layout (knsl grid overrides) --- */
.wpcf7 .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.wpcf7 .col-lg-6 { grid-column: span 1; }
.wpcf7 .col-lg-12 { grid-column: span 2; }
@media (max-width: 600px) {
  .wpcf7 .row { grid-template-columns: 1fr; }
  .wpcf7 .col-lg-6,
  .wpcf7 .col-lg-12 { grid-column: span 1; }
}

/* knsl button ? brass style */
.wpcf7 .knsl-btn {
  display: inline-block;
  background: var(--brass);
  color: var(--charcoal);
  border: 2px solid var(--brass);
  border-radius: 2px;
  font-family: 'Quattrocento Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.wpcf7 .knsl-btn:hover {
  background: transparent;
  color: var(--brass);
}
.wpcf7 .knsl-form-submit-frame {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.wpcf7 .knsl-text-sm {
  color: rgba(242,232,213,0.45);
  font-size: 0.78rem;
  line-height: 1.5;
  font-style: italic;
}


/* --- CF7 Select dropdown dark styling --- */
.wpcf7 select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c9a257' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 10px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.wpcf7 select {
  color-scheme: light;
}
.wpcf7 select option {
  background: #ffffff;
  color: #1a0a05;
}

/* --- CF7 Checkbox & Radio Groups --- */
.wpcf7 .wpcf7-checkbox,
.wpcf7 .wpcf7-radio {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.wpcf7 .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
}
.wpcf7 .wpcf7-list-item label {
  color: rgba(242,232,213,0.8);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  line-height: 1.5;
  margin: 0;
}
.wpcf7 .wpcf7-list-item input[type="checkbox"],
.wpcf7 .wpcf7-list-item input[type="radio"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 0.15rem;
  accent-color: var(--brass);
  cursor: pointer;
}

/* --- CF7 Acceptance (terms checkbox) --- */
.wpcf7 .wpcf7-acceptance .wpcf7-list-item label {
  color: rgba(242,232,213,0.65);
  font-size: 0.85rem;
  line-height: 1.6;
}
.wpcf7 .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] {
  accent-color: var(--brass);
  margin-top: 0.2rem;
}

/* --- CF7 Spinner --- */
.wpcf7 .wpcf7-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(201,162,87,0.3);
  border-top-color: var(--brass);
  border-radius: 50%;
  animation: wpcf7-spin 0.8s linear infinite;
  vertical-align: middle;
  margin-left: 0.75rem;
}
@keyframes wpcf7-spin {
  to { transform: rotate(360deg); }
}

/* --- FareHarbor Lightframe Backdrop --- */
/* Override the CSS variable FareHarbor uses for the shade background */
:root {
  --lightframe-shade-surface: rgba(17, 17, 20, 0.92);
  --lightframe-loader-border-color: rgba(255, 255, 255, 0.25);
  --lightframe-loader-border-top-color: hsl(205, 5%, 82%);
}

/* Direct ID override as fallback */
#fareharbor-lightframe-shade {
  background-color: rgba(17, 17, 20, 0.92) !important;
}


/* ═══════════════════════════════════════════════════════════════
   REDESIGN: shared components (header, footer, every page)
   ═══════════════════════════════════════════════════════════════ */

#fh-content { position: relative; top: -80px; outline: none; }

/* Buttons */
.fh-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 50px;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--brass);
  cursor: pointer;
  transition: color 0.4s var(--ease-out), border-color 0.4s ease, transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.fh-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brass);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.5s var(--ease-out);
}
.fh-btn:hover::before,
.fh-btn:focus-visible::before { transform: scaleY(1); }
.fh-btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.fh-btn svg { width: 14px; height: 14px; flex: 0 0 auto; transition: transform 0.4s var(--ease-out); }
.fh-btn:hover svg { transform: translateX(3px); }

.fh-btn--solid { background: var(--brass); color: var(--charcoal); }
.fh-btn--solid::before { background: #e2c07a; }
.fh-btn--solid:hover,
.fh-btn--solid:focus-visible {
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -14px rgba(201, 162, 87, 0.65);
}

.fh-btn--ghost {
  background: rgba(17, 17, 20, 0.28);
  color: var(--parchment);
  border-color: rgba(242, 232, 213, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.fh-btn--ghost:hover,
.fh-btn--ghost:focus-visible { color: var(--charcoal); border-color: var(--brass); }

.fh-btn--dark { background: var(--charcoal); color: var(--parchment); border-color: var(--charcoal); }
.fh-btn--dark::before { background: var(--brick); }
.fh-btn--dark:hover,
.fh-btn--dark:focus-visible { color: var(--parchment); border-color: var(--brick); }

/* Eyebrow label with a brass rule */
.fh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
}
.fh-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

/* Scroll reveal. .fh-js is set in <head>, and removed again if main.js never runs. */
.fh-js [data-rv] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.fh-js [data-rv].is-in { opacity: 1; transform: none; }

/* 3D canvas layers (WebGL). Hosts get .fx3d-on after the first frame renders. */
.fh-fx3d-slot {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.fh-fx3d-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.fx3d-on .fh-fx3d-canvas { opacity: 1; }

/* Ghost companion: fixed, click-through, below the header (1000) and popups */
.fh-ghost-canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  pointer-events: none;
}
@media print { .fh-ghost-canvas { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  .fh-js [data-rv] { opacity: 1; transform: none; transition: none; }
  .fh-btn, .fh-btn::before { transition: none; }
}
