/* Frontier shared base (Home-led components) */

:root{
  --fr-bg:#f6f1e8;
  --fr-text:#20160f;
  --fr-accent:#f18c37;

  /* default container size (Home-led) */
  --fr-container: min(1280px, 95%);

  --fr-card-radius:16px;
  --fr-card-shadow:0 14px 34px rgba(0,0,0,.08);
}

.fr-container{
  width:var(--fr-container);
  margin:0 auto;
}

/* Buttons */
.fr-btn{
  display:inline-block;
  padding:12px 16px;
  border-radius:10px;
  background:var(--fr-accent);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  border:none;
}
.fr-btn--ghost{
  background:rgba(255,255,255,.14);
  color:#fff;
  border:1px solid rgba(255,255,255,.22);
}

/* Cards */
.fr-cardlink{ text-decoration:none; color:inherit; }
.fr-card{
  background:#fff;
  border-radius:var(--fr-card-radius);
  overflow:hidden;
  box-shadow:var(--fr-card-shadow);
  height:100%;
}
.fr-card__img{ position:relative; }
.fr-card__img img{
  width:100%;
  display:block;
  object-fit:cover;
}
.fr-card__body{ padding:14px; }

/* Chips (Home default = neutral) */
.fr-chip{
  display:inline-block;
  padding:3px 10px;
  border-radius:999px;
  margin-right:5px;
  background:#eae2d8;
  color:#372315;
  font-size:12px;
  letter-spacing:.06em;
}
.fr-chip--accent{
  padding:7px 10px;
  background:rgba(241,140,55,.15);
  color:#7a4a1e;
  border:1px solid rgba(241,140,55,.28);
  margin-right:0;
}

/* Section typography */
.fr-section{ padding:56px 0; }
.fr-kicker{
  color:var(--fr-accent);
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  margin:0 0 10px;
}
.fr-h2{ font-size:clamp(24px,2.3vw,36px); margin:0 0 12px; }
.fr-muted{ color:rgba(32,22,15,.6); }
.fr-richtext{ color:rgba(32,22,15,.86); line-height:1.7; }

/* Grid helper */
.fr-grid-2{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:34px;
  align-items:center;
}

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

/* Header and footer styling */

.site-header { padding: 18px 0; color:#fff;
    top: 0;
    z-index: 999;}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}
h1,h2,h3,h4{
    font-family:"Playfair Display",serif;
}
.site-branding .custom-logo { height: 42px; width: auto; }
.site-title { font-size: 20px; font-weight: 700; font-family:"Playfair Display",serif;}
.brand-link{text-decoration:none;}

.site-nav { flex: 1; display:flex; justify-content:center; }
.header-menu{
  display:flex;
  gap:18px;
  list-style:none;
  margin:0;
  padding:0;
}
.header-menu a{ text-decoration:none; }

.site-footer { padding: 48px 0 18px;background-color:#573319;color:#fff; }
.footer-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

.footer-widgets{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:24px;
}

.widget-title,.widget h2{   font-family: "Playfair Display", serif;
font-size:22px; font-weight:100; margin:0 0 10px; }
.widget{ margin:0 0 18px; }
.widget p{color: #f8f6f1cc;font-size:14px;text-decoration:none;line-height:1.25rem;}

.footer-bottom{
  margin-top:24px;
  padding-top:16px;
  border-top:1px solid rgba(0,0,0,.1);
  font-size:14px;
}

@media (max-width: 900px){
  .footer-widgets{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .footer-widgets{ grid-template-columns: 1fr; }
}



/* Base reveal state (hidden before entering viewport) */
.reveal{
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity .7s cubic-bezier(.2,.65,.3,1),
    transform .7s cubic-bezier(.2,.65,.3,1);
  will-change: transform, opacity;
}

/* When visible */
.reveal.is-visible{
  opacity: 1;
  transform: none;
}

/* Directions */
.reveal-up   { transform: translateY(50px); }
.reveal-down { transform: translateY(-50px); }
.reveal-left { transform: translateX(60px); }
.reveal-right{ transform: translateX(-60px); }

/* Zoom */
.reveal-zoom{
  transform: scale(.85);
}

/* Optional delay utilities */
.reveal-delay-1{ transition-delay: .12s; }
.reveal-delay-2{ transition-delay: .24s; }
.reveal-delay-3{ transition-delay: .36s; }
.reveal-delay-4{ transition-delay: .48s; }

/* Important for accessibility (reduced motion users) */
@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
}

.site-header{
  position: fixed;
  top:0;
  left:0;
  right:0;
  z-index:999;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
  padding: 22px 0;
}

.site-header.header-at-top{
  background: transparent;
  box-shadow: none;
}

/* white text over the hero */
.site-header.header-at-top .header-menu a,
.site-header.header-at-top .site-title{
  color:#fff;
}

.site-header.header-scrolled{
  background-color:#573319;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: 14px 0; /* header shrinks */
  color:#fff;
}

/* normal dark navigation */
.site-header.header-scrolled .header-menu a,
.site-header.header-scrolled .site-title{
  color:#fff;
}
