/* Shared shell (ribbon, header, nav, mobile drawer, footer) for standalone Netlify deployment */

.skin-ribbon {
  display: block;
  position: relative;
  z-index: 60;
  background: #1E4A35;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: #F6F1E7;
  text-decoration: none;
}

.skin-ribbon .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  max-width: var(--measure, 1240px);
  margin: 0 auto;
  padding: 9px 20px;
  font-family: "Jost", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: center;
}

.skin-ribbon .go {
  opacity: .92;
  transition: transform .3s ease, opacity .3s ease;
}

.skin-ribbon:hover .go {
  opacity: 1;
  transform: translateX(3px);
}

/* Header */
.head {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
  border-bottom: 1px solid transparent;
}

.head.solid {
  background: rgba(246, 241, 231, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(22, 39, 30, .1);
  box-shadow: 0 8px 30px rgba(15, 33, 25, .08);
}

.navrow {
  max-width: var(--measure, 1240px);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (min-width: 900px) {
  .navrow {
    padding: 18px 40px;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 22px;
  width: auto;
}

.head:not(.solid) .brand .lg-black,
.head.solid .brand .lg-white {
  display: none;
}

/* Primary navigation */
.head nav {
  display: none;
}

@media (min-width: 1100px) {
  .head nav {
    display: block;
  }
}

.nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  font-family: "Jost", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity .25s ease;
}

.head:not(.solid) .nav a {
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .32);
}

.head.solid .nav a {
  color: var(--ink, #16271E);
}

.nav a:hover {
  opacity: .72;
}

/* Right CTAs */
.head-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.lang-switch,
.acct {
  text-decoration: none;
  font-family: "Jost", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.head:not(.solid) .acct {
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .32);
}

.head.solid .lang-switch,
.head.solid .acct {
  color: var(--ink, #16271E);
}

.acct {
  display: none;
}

@media (min-width: 720px) {
  .acct {
    display: inline-block;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 3px;
  text-decoration: none;
  font-family: "Jost", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.btn-dark {
  background: #1E4A35;
  color: #F6F1E7;
  border: 1px solid rgba(255, 255, 255, .14);
}

.btn-dark:hover {
  background: #2B6247;
}

.btn-light {
  background: #F6F1E7;
  color: #16271E;
}

.btn-light:hover {
  background: #FFFFFF;
}

.head .btn-dark {
  display: none;
}

@media (min-width: 560px) {
  .head .btn-dark {
    display: inline-flex;
  }
}

/* Burger & mobile drawer */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (min-width: 1100px) {
  .burger {
    display: none;
  }
}

.burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
}

.head:not(.solid) .burger {
  color: #FFFFFF;
}

.head.solid .burger {
  color: var(--ink, #16271E);
}

.mobile {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #0F2119;
  color: #F6F1E7;
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  overflow-y: auto;
}

.mobile.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mclose {
  border: 1px solid rgba(246, 241, 231, .25);
  background: transparent;
  color: #F6F1E7;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.mnav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.mnav a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(246, 241, 231, .12);
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 300;
  font-size: 22px;
  color: #F6F1E7;
}

.mfoot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
footer {
  background: #0B1913;
  color: rgba(246, 241, 231, .82);
  padding: 72px 24px 36px;
  font-size: 14px;
  line-height: 1.65;
}

footer .wrap {
  max-width: var(--measure, 1240px);
  margin: 0 auto;
}

.fgrid {
  display: grid;
  gap: 36px 28px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .fgrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .fgrid {
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  }
}

.flogo {
  display: block;
  height: 22px;
  width: auto;
  margin: 0 0 18px;
}

.fgrid h5 {
  margin: 0 0 14px;
  font-family: "Jost", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #CDAE72;
}

.fgrid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.fgrid p {
  margin: 0 0 12px;
  color: rgba(246, 241, 231, .7);
}

.fgrid a {
  color: rgba(246, 241, 231, .82);
  text-decoration: none;
}

.fgrid a:hover {
  color: #FFFFFF;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 16px;
}

.social a {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #CDAE72;
}

.ffamily {
  margin-top: 48px;
  padding: 22px 0;
  border-top: 1px solid rgba(246, 241, 231, .12);
  border-bottom: 1px solid rgba(246, 241, 231, .12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  color: rgba(246, 241, 231, .74);
}

.ffamily img {
  height: 18px;
  width: auto;
  display: block;
}

footer a.line {
  color: #CDAE72;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fbar {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 13px;
  color: rgba(246, 241, 231, .56);
}

.fbar a {
  color: rgba(246, 241, 231, .7);
  text-decoration: none;
}

.fbar a:hover {
  color: #FFFFFF;
}
