/* Direction 2a shared site frame. Page families own their internal layouts. */
.tf-site-header,
.tf-site-footer {
  --tf-paper: #f1ece1;
  --tf-cream: #faf7f0;
  --tf-straw: #d9c7a3;
  --tf-ink: #2a2b26;
  --tf-muted: #5e5f58;
  --tf-moss: #3f4d37;
  --tf-garden: #5f7a4b;
  --tf-clay: #9a4f32;
  --tf-line: #c9c1b0;
  color: var(--tf-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.tf-site-header {
  background: rgb(241 236 225 / 94%);
  border-bottom: 1px solid rgb(99 91 75 / 28%);
  position: sticky;
  top: 0;
  z-index: 30;
}

@supports (backdrop-filter: blur(1px)) {
  .tf-site-header { backdrop-filter: blur(12px); }
}
.tf-site-header [hidden] { display: none !important; }

.tf-desktop-header {
  align-items: center;
  display: grid;
  gap: clamp(0.8rem, 1.6vw, 1.75rem);
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  margin-inline: auto;
  max-width: 90rem;
  min-height: 4.4375rem;
  padding: 0.55rem clamp(1.25rem, 4vw, 4rem);
}

.tf-desktop-nav > ul,
.tf-mobile-navigation > ul,
.tf-mobile-subnav,
.tf-disclosure-panel ul,
.tf-footer-group ul,
.tf-nojs-navigation > ul { list-style: none; margin: 0; padding: 0; }

.tf-desktop-nav > ul { align-items: center; display: flex; flex-wrap: wrap; gap: clamp(0.65rem, 1.7vw, 1.75rem); }
.tf-desktop-header > .tf-desktop-nav > ul { justify-content: flex-start; }

.tf-desktop-header-right {
  align-items: center;
  display: flex;
  gap: clamp(0.85rem, 1.7vw, 1.75rem);
  justify-content: flex-end;
  min-width: 0;
}

.tf-desktop-header-right .tf-desktop-nav > ul { justify-content: flex-end; }

.tf-nav-link,
.tf-header-action,
.tf-mobile-action,
.tf-drawer-action,
.tf-mobile-nav-link,
.tf-mobile-subnav a,
.tf-disclosure-panel a,
.tf-footer-group a,
.tf-footer-brand-link,
.tf-desktop-brand,
.tf-mobile-brand { color: inherit; text-decoration: none; }

.tf-nav-link,
.tf-disclosure-toggle {
  align-items: center;
  color: var(--tf-ink);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  min-height: 2.75rem;
  padding: 0.35rem 0 0.25rem;
  position: relative;
  text-transform: uppercase;
}

.tf-nav-link::after,
.tf-disclosure-toggle::after {
  background: var(--tf-garden);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
  width: 100%;
}

.tf-nav-link:hover,
.tf-nav-link:focus-visible,
.tf-nav-link.is-active,
.tf-disclosure-toggle:hover,
.tf-disclosure-toggle:focus-visible,
.tf-nav-disclosure.is-active .tf-disclosure-toggle,
.tf-disclosure-toggle[aria-expanded="true"] { color: var(--tf-clay); }
.tf-nav-link:hover::after,
.tf-nav-link:focus-visible::after,
.tf-nav-link.is-active::after,
.tf-disclosure-toggle:hover::after,
.tf-disclosure-toggle:focus-visible::after,
.tf-nav-disclosure.is-active .tf-disclosure-toggle::after,
.tf-disclosure-toggle[aria-expanded="true"]::after { transform: scaleX(1); }

.tf-nav-disclosure { align-items: center; display: flex; position: relative; }

.tf-disclosure-toggle {
  background: transparent;
  border: 0;
  border-radius: 0.4rem;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  gap: 0.42rem;
  justify-content: flex-start;
}

.tf-disclosure-toggle::before {
  border-bottom: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
  flex: 0 0 auto;
  height: 0.34rem;
  order: 2;
  transform: rotate(45deg) translateY(-0.12rem);
  transition: transform 160ms ease;
  width: 0.34rem;
}

.tf-disclosure-toggle[aria-expanded="true"]::before {
  transform: rotate(225deg) translate(-0.08rem, -0.08rem);
}

.tf-disclosure-toggle:hover,
.tf-disclosure-toggle:focus-visible,
.tf-disclosure-toggle[aria-expanded="true"] { background: transparent; }

.tf-disclosure-panel {
  background: #f7f1e5;
  border: 1px solid rgb(154 79 50 / 38%);
  border-radius: 0.8rem;
  box-shadow: 0 0.75rem 1.75rem rgb(57 55 43 / 16%), 0 2px 4px rgb(57 55 43 / 10%);
  left: -1.05rem;
  min-width: 15.75rem;
  padding: 0.55rem;
  position: absolute;
  top: 100%;
  z-index: 40;
}

.tf-disclosure-panel::before {
  content: "";
  height: 0.75rem;
  left: 0;
  position: absolute;
  right: 0;
  top: -0.75rem;
}

.tf-disclosure-panel a {
  align-items: center;
  color: var(--tf-ink);
  display: flex;
  font-size: 0.82rem;
  justify-content: space-between;
  min-height: 2.75rem;
  border-radius: 0.5rem;
  padding: 0.7rem 0.8rem;
}

.tf-disclosure-panel a:hover,
.tf-disclosure-panel a:focus-visible,
.tf-disclosure-panel a[aria-current] { background: #e1e9d6; color: var(--tf-ink); }

.tf-desktop-brand {
  align-items: center;
  color: var(--tf-ink);
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  justify-content: center;
  min-width: 13.25rem;
  padding: 0;
}

.tf-brand-mark { flex: 0 0 auto; height: 2.55rem; object-fit: contain; width: 2.55rem; }
.tf-brand-copy { display: block; }

.tf-brand-copy strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 0.96;
  white-space: nowrap;
}

.tf-brand-copy small {
  color: var(--tf-clay);
  display: block;
  font-size: 0.52rem;
  letter-spacing: 0.15em;
  line-height: 1.2;
  margin-top: 0.22rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.tf-header-action,
.tf-mobile-action,
.tf-drawer-action,
.tf-nojs-action {
  align-items: center;
  background: var(--tf-garden);
  border: 1px solid var(--tf-garden);
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0.06em;
  min-height: 2.75rem;
  padding: 0.7rem 1.1rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.tf-header-action:hover,
.tf-header-action:focus-visible,
.tf-mobile-action:hover,
.tf-mobile-action:focus-visible,
.tf-drawer-action:hover,
.tf-drawer-action:focus-visible,
.tf-nojs-action:hover,
.tf-nojs-action:focus-visible { background: var(--tf-clay); border-color: var(--tf-clay); color: #fff; }

.tf-mobile-header,
.tf-mobile-drawer,
.tf-nojs-navigation { display: none; }
.tf-nojs-action { margin: 0 1.25rem 1.25rem; text-decoration: none; }

.tf-site-footer {
  background: var(--tf-straw);
  border-top: 1px solid rgb(42 43 38 / 25%);
  padding: clamp(3rem, 6vw, 5rem) max(1.25rem, calc((100vw - 82rem) / 2)) 2rem;
}

.tf-footer-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 6rem);
  grid-template-columns: minmax(17rem, 2fr) repeat(3, minmax(10rem, 1fr));
  margin-inline: auto;
  max-width: 82rem;
}

.tf-footer-brand { max-width: 30rem; }
.tf-footer-brand-link { align-items: center; color: var(--tf-ink); display: flex; gap: 0.75rem; }
.tf-footer-brand .tf-brand-mark { height: 2.75rem; width: 2.75rem; }
.tf-footer-brand .tf-brand-copy { display: block; }
.tf-footer-brand .tf-brand-copy strong { font-size: 1.3rem; }
.tf-footer-brand .tf-brand-copy small { color: var(--tf-moss); font-size: 0.6rem; margin-top: 0.2rem; }

.tf-footer-brand p {
  color: #3c3d37;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 1.4rem 0 0;
  max-width: 28rem;
}

.tf-footer-group h2 {
  color: var(--tf-moss);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.tf-footer-group li { color: #3c3d37; font-size: 0.88rem; line-height: 1.4; margin: 0 0 0.72rem; }
.tf-footer-group a { color: var(--tf-ink); }
.tf-footer-group a:hover,
.tf-footer-group a:focus-visible { color: var(--tf-clay); text-decoration: underline; }

.tf-footer-group-explore ul { columns: 2; column-gap: 1.5rem; }
.tf-footer-group-explore li { break-inside: avoid; }
.tf-footer-social { align-items: center; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tf-footer-group .tf-footer-social-item { margin: 0; }
.tf-footer-group .tf-social-link {
  align-items: center;
  border: 1px solid rgb(42 43 38 / 28%);
  border-radius: 50%;
  display: inline-flex;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}
.tf-footer-group .tf-social-link:hover,
.tf-footer-group .tf-social-link:focus-visible { border-color: var(--tf-clay); text-decoration: none; }
.tf-social-link svg { fill: none; height: 1.2rem; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 1.2rem; }
.tf-social-link .tf-social-icon-accent { fill: currentColor; stroke: none; }
.tf-social-link-facebook svg { fill: currentColor; stroke: none; }

.tf-footer-legal {
  border-top: 1px solid rgb(42 43 38 / 25%);
  color: #3c3d37;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.75rem;
  gap: 0.75rem 2rem;
  margin: clamp(2.5rem, 5vw, 3rem) auto 0;
  max-width: 82rem;
  padding-top: 1.25rem;
}

.tf-newsletter-preview { border-top: 1px solid rgb(42 43 38 / 25%); margin: 2.5rem auto 0; max-width: 82rem; padding-top: 2rem; }
.tf-newsletter-preview h2 { margin: 0; }
.tf-newsletter-fields { align-items: end; display: flex; gap: 0.75rem; }
.tf-newsletter-fields label { display: grid; gap: 0.3rem; }
.tf-newsletter-fields input,
.tf-newsletter-fields button { min-height: 2.75rem; }

@media (max-width: 74rem) {
  .tf-desktop-header { display: none; }
  .tf-mobile-header {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 2.75rem minmax(0, 1fr) auto;
    min-height: 3.9375rem;
    padding: 0.55rem clamp(1.25rem, 5.5vw, 5rem);
  }

  .tf-mobile-menu-button {
    align-items: center;
    background: transparent;
    border: 1px solid var(--tf-line);
    border-radius: 4px;
    color: var(--tf-ink);
    cursor: pointer;
    display: none;
    height: 2.75rem;
    justify-content: center;
    padding: 0;
    width: 2.75rem;
  }

  [data-site-chrome][data-chrome-ready="true"] .tf-mobile-menu-button { display: inline-flex; }
  .tf-menu-icon { display: grid; gap: 0.3rem; width: 1.15rem; }
  .tf-menu-icon i { background: currentColor; display: block; height: 1.5px; width: 100%; }

  .tf-mobile-brand { align-items: center; color: var(--tf-ink); display: flex; gap: 0.5rem; justify-self: center; min-width: 0; }
  .tf-mobile-brand .tf-brand-mark { height: 2.15rem; width: 2.15rem; }
  .tf-mobile-brand .tf-brand-copy { display: block; }
  .tf-mobile-brand .tf-brand-copy strong { font-size: 1.16rem; }
  .tf-mobile-brand .tf-brand-copy small { display: none; }
  .tf-mobile-action { justify-self: end; padding-inline: 0.75rem; }

  .tf-mobile-drawer {
    background: var(--tf-cream);
    border-bottom: 1px solid var(--tf-line);
    box-shadow: 0 1px 0 rgb(42 43 38 / 12%);
    display: block;
    left: 0;
    padding: 0.5rem clamp(1.25rem, 5.5vw, 5rem) 1.5rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .tf-mobile-navigation > ul > li,
  .tf-nojs-navigation > ul > li { border-bottom: 1px solid #e4ddcf; }

  .tf-mobile-nav-link,
  .tf-mobile-subnav a {
    align-items: center;
    color: var(--tf-ink);
    display: flex;
    font-size: 0.95rem;
    justify-content: space-between;
    min-height: 2.75rem;
    padding: 0.7rem 0;
    position: relative;
  }

  .tf-mobile-navigation > ul > li.is-active > .tf-mobile-nav-link::after,
  .tf-nojs-navigation > ul > li.is-active > .tf-mobile-nav-link::after { color: var(--tf-garden); content: "●"; font-size: 0.55rem; }
  .tf-mobile-subnav { padding: 0 0 0.45rem 1.25rem; }
  .tf-mobile-subnav a { color: #3c3d37; font-size: 0.87rem; min-height: 2.5rem; }
  .tf-mobile-subnav a[aria-current] { color: var(--tf-moss); font-weight: 700; }
  .tf-drawer-action { margin-top: 1rem; width: 100%; }

  .tf-nojs-navigation { background: var(--tf-cream); border-top: 1px solid var(--tf-line); padding: 0.75rem 1.25rem 1rem; }
  .tf-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tf-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 42rem) {
  .tf-mobile-header { padding-inline: 1.25rem; }
  .tf-mobile-brand .tf-brand-copy strong { font-size: 1rem; }
  .tf-mobile-action { font-size: 0.68rem; min-width: 3.5rem; padding-inline: 0.6rem; }
  .tf-footer-grid { grid-template-columns: 1fr 1fr; }
  .tf-footer-group:last-child { grid-column: 1 / -1; }
  .tf-footer-group:last-child ul:not(.tf-footer-social) { columns: 2; column-gap: 1.5rem; }
}

@media (max-width: 23rem) {
  .tf-mobile-brand .tf-brand-copy { display: none; }
  .tf-footer-grid { grid-template-columns: 1fr; }
  .tf-footer-group:last-child { grid-column: auto; }
  .tf-footer-group-explore ul,
  .tf-footer-group:last-child ul:not(.tf-footer-social) { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .tf-site-header *,
  .tf-site-footer * { transition-duration: 0.01ms !important; }
}
