/* Shared Aesop-like chrome — scoped so page header/.bar/.cta rules cannot restyle it. */

@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Figtree:wght@400;500;600&display=swap");

:root{
  --tfs-chrome-h: 84px;
  --tfs-chrome-bar-min: 84px;
  --tfs-chrome-paper: #FFFCFA;
  --tfs-chrome-ink: var(--ink, #2A3140);
  --tfs-chrome-mute: var(--mute, var(--stone, #6A7380));
  --tfs-chrome-line: var(--line, #D9D2C6);
  --tfs-chrome-denim: var(--olive, #3D5A7A);
  --tfs-chrome-denim-deep: var(--olive-deep, #2C425C);
  --tfs-chrome-serif: var(--serif, "EB Garamond", Garamond, "Times New Roman", serif);
  --tfs-chrome-sans: var(--sans, "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif);
}

header.tfs-chrome{
  display: block;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  background: var(--tfs-chrome-paper);
  color: var(--tfs-chrome-ink);
  border: 0;
  border-bottom: 1px solid var(--tfs-chrome-line);
  font-family: var(--tfs-chrome-sans);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: background .28s ease, border-color .28s ease, color .28s ease, box-shadow .28s ease;
}

body[data-tfs-hero] header.tfs-chrome{
  position: absolute;
  background: transparent;
  border-bottom-color: transparent;
  color: #F7F3EC;
}

body[data-tfs-hero] header.tfs-chrome.is-solid{
  position: fixed;
  background: var(--tfs-chrome-paper);
  border-bottom-color: var(--tfs-chrome-line);
  color: var(--tfs-chrome-ink);
}

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

.tfs-chrome-bar{
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 196px;
  align-items: center;
  column-gap: 8px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 32px;
  /* Fixed token — never --tfs-chrome-h. JS used to write header.offsetHeight
     (includes the 1px border) back into --tfs-chrome-h on every scroll, so
     min-height grew a pixel per event until the header filled the viewport. */
  min-height: var(--tfs-chrome-bar-min);
}

.tfs-chrome-brand{
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 200px;
  justify-self: start;
  text-decoration: none;
  color: inherit;
  font-family: var(--tfs-chrome-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  background: none;
}

.tfs-chrome-brand img{
  display: block;
  height: 44px;
  width: auto;
  max-width: 220px;
  background: none;
  filter: none;
}

.tfs-chrome-logo-ink,
.tfs-chrome-logo-light{
  transition: opacity .2s ease;
}

.tfs-chrome-logo-light{
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}

body[data-tfs-hero] header.tfs-chrome:not(.is-solid) .tfs-chrome-logo-ink{ opacity: 0; }
body[data-tfs-hero] header.tfs-chrome:not(.is-solid) .tfs-chrome-logo-light{ opacity: 1; }

.tfs-chrome-nav{
  display: grid;
  grid-template-columns: 148px 152px 112px 176px 84px;
  justify-content: center;
  justify-items: center;
  align-items: center;
  width: 100%;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tfs-chrome-item{
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.tfs-chrome-link,
.tfs-chrome-trigger,
.tfs-chrome-account{
  appearance: none;
  background: none;
  border: 0;
  margin: 0;
  padding: 10px 14px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .01em;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  box-shadow: none;
  text-transform: none;
  line-height: 1.2;
  white-space: nowrap;
}

.tfs-chrome-link{ display: inline-flex; align-items: center; }

.tfs-chrome-trigger{ display: inline-flex; align-items: center; gap: 6px; }

.tfs-chrome-caret{
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .55;
}

.tfs-chrome-link:hover,
.tfs-chrome-trigger:hover,
.tfs-chrome-link:focus-visible,
.tfs-chrome-trigger:focus-visible,
.tfs-chrome-item.is-open > .tfs-chrome-trigger,
.tfs-chrome-link[aria-current="page"],
.tfs-chrome-item.is-current > .tfs-chrome-trigger,
.tfs-chrome-item.is-current > .tfs-chrome-link{
  color: inherit;
}

.tfs-chrome-link:hover,
.tfs-chrome-trigger:hover,
.tfs-chrome-item.is-open > .tfs-chrome-trigger,
.tfs-chrome-link[aria-current="page"],
.tfs-chrome-item.is-current > .tfs-chrome-trigger,
.tfs-chrome-item.is-current > .tfs-chrome-link{
  box-shadow: inset 0 -1px 0 currentColor;
}

.tfs-chrome-link:focus-visible,
.tfs-chrome-trigger:focus-visible,
.tfs-chrome-account:focus-visible,
.tfs-chrome-menu-btn:focus-visible,
.tfs-chrome-drawer a:focus-visible,
.tfs-chrome-drawer button:focus-visible,
.tfs-chrome-panel a:focus-visible{
  outline: 2px solid var(--tfs-chrome-denim);
  outline-offset: 3px;
}

body[data-tfs-hero] header.tfs-chrome:not(.is-solid) .tfs-chrome-link:focus-visible,
body[data-tfs-hero] header.tfs-chrome:not(.is-solid) .tfs-chrome-trigger:focus-visible,
body[data-tfs-hero] header.tfs-chrome:not(.is-solid) .tfs-chrome-account:focus-visible,
body[data-tfs-hero] header.tfs-chrome:not(.is-solid) .tfs-chrome-menu-btn:focus-visible{
  outline-color: #F7F3EC;
}

.tfs-chrome-tools{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 196px;
  justify-self: end;
  margin: 0;
  gap: 0;
}

.tfs-chrome-signout{
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .01em;
  color: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  text-transform: none;
  box-shadow: none;
}

.tfs-chrome-tools .tfs-chrome-account{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid currentColor;
  border-radius: 2px;
  white-space: nowrap;
  line-height: 1.2;
  background: transparent;
}

.tfs-chrome-account:hover,
.tfs-chrome-signout:hover{ box-shadow: inset 0 -1px 0 currentColor; }

.tfs-chrome-tools .tfs-chrome-account:hover{ box-shadow: none; background: color-mix(in srgb, currentColor 8%, transparent); }

.tfs-chrome-signout{
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 2;
  white-space: nowrap;
  background: var(--tfs-chrome-paper);
  color: var(--tfs-chrome-ink);
  border: 1px solid var(--tfs-chrome-line);
  padding: 6px 10px;
}

.tfs-chrome-signout.hidden{ display: none; }

.tfs-chrome-menu-btn{
  display: none;
  appearance: none;
  background: none;
  border: 0;
  padding: 8px;
  margin: 0;
  color: inherit;
  cursor: pointer;
  width: 40px;
  height: 40px;
}

.tfs-chrome-menu-btn span,
.tfs-chrome-menu-btn span::before,
.tfs-chrome-menu-btn span::after{
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
}
.tfs-chrome-menu-btn span::before,
.tfs-chrome-menu-btn span::after{
  content: "";
  position: absolute;
  left: 0;
}
.tfs-chrome-menu-btn span::before{ top: -6px; }
.tfs-chrome-menu-btn span::after{ top: 6px; }

/* ---- Mega panel ---- */
.tfs-chrome-panel{
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1040px, calc(100vw - 48px));
  margin: 0;
  padding: 36px 40px 40px;
  background: var(--tfs-chrome-paper);
  color: var(--tfs-chrome-ink);
  border: 1px solid var(--tfs-chrome-line);
  border-top: 0;
  box-shadow: 0 18px 40px rgba(42, 49, 64, .08);
  text-align: left;
}

.tfs-chrome-item.is-open > .tfs-chrome-panel{ display: block; }

.tfs-chrome-panel.tfs-chrome-mega{
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  max-width: none;
  transform: none;
  margin: 0;
  border-left: 0;
  border-right: 0;
  padding: 28px 32px 32px;
  box-sizing: border-box;
}

.tfs-chrome-mega-inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, 1.35fr);
  gap: 22px 40px;
  width: 100%;
  max-width: none;
  margin: 0;
}

.tfs-chrome-mega-inner.tfs-chrome-links-row{
  display: block;
}

.tfs-chrome-links-row .tfs-chrome-col{
  width: 100%;
}

.tfs-chrome-links-row .tfs-chrome-col h3{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tfs-chrome-links-row .tfs-chrome-col ul{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 32px;
}

.tfs-chrome-cols-2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tfs-chrome-cols-1{
  grid-template-columns: minmax(0, 28rem);
}

.tfs-chrome-col h3,
.tfs-chrome-drawer-sub{
  margin: 0 0 8px;
  font-family: var(--tfs-chrome-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tfs-chrome-denim);
}

.tfs-chrome-col ul,
.tfs-chrome-drawer-links{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.tfs-chrome-col a,
.tfs-chrome-drawer-links a{
  display: block;
  padding: 4px 0;
  color: var(--tfs-chrome-ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .01em;
}

.tfs-chrome-col a:hover,
.tfs-chrome-drawer-links a:hover,
.tfs-chrome-col a[aria-current="page"],
.tfs-chrome-drawer-links a[aria-current="page"]{
  box-shadow: inset 0 -1px 0 var(--tfs-chrome-ink);
}

.tfs-chrome-col a small,
.tfs-chrome-drawer-links a small{
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--tfs-chrome-mute);
  letter-spacing: 0;
}

.tfs-chrome-tiles{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  align-content: start;
}

.tfs-chrome-tile{
  display: block;
  text-decoration: none;
  color: var(--tfs-chrome-ink);
  min-width: 0;
}

.tfs-chrome-tile img{
  width: 100%;
  height: auto;
  display: block;
}

.tfs-chrome-tile span{
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 500;
}

/* ---- Mobile drawer ---- */
.tfs-chrome-scrim{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(42, 49, 64, .28);
  z-index: 450;
  border: 0;
  padding: 0;
  margin: 0;
}

.tfs-chrome-drawer{
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  z-index: 460;
  background: var(--tfs-chrome-paper);
  color: var(--tfs-chrome-ink);
  overflow: auto;
  padding: 20px 24px 48px;
  box-shadow: -12px 0 40px rgba(42, 49, 64, .1);
}

body.tfs-chrome-open .tfs-chrome-scrim,
body.tfs-chrome-open .tfs-chrome-drawer{ display: block; }

body.tfs-chrome-open{ overflow: hidden; }

.tfs-chrome-drawer-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tfs-chrome-drawer-close{
  appearance: none;
  background: none;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--tfs-chrome-ink);
  cursor: pointer;
  padding: 8px 0;
}

.tfs-chrome-acc{
  border-bottom: 1px solid var(--tfs-chrome-line);
}

.tfs-chrome-acc > button{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  appearance: none;
  background: none;
  border: 0;
  padding: 16px 0;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  color: var(--tfs-chrome-ink);
  cursor: pointer;
  text-align: left;
}

.tfs-chrome-acc > button[aria-expanded="true"]{ box-shadow: inset 0 -1px 0 var(--tfs-chrome-ink); }

.tfs-chrome-acc-body{
  display: none;
  padding: 0 0 16px;
}

.tfs-chrome-acc.is-open > .tfs-chrome-acc-body{ display: block; }

.tfs-chrome-drawer .tfs-chrome-account{
  display: inline-block;
  width: auto;
  height: auto;
  margin-top: 22px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  font-size: 16px;
  background: none;
}

.tfs-chrome-banner{
  background: #1a1712;
  color: #EDE7DA;
  font-size: 13px;
  padding: 9px 24px;
  text-align: center;
}

@media (max-width: 1080px){
  .tfs-chrome-bar{
    display: flex;
    justify-content: space-between;
    padding: 14px 20px;
    gap: 16px;
  }
  .tfs-chrome-brand,
  .tfs-chrome-tools{ width: auto; }
  .tfs-chrome-nav,
  .tfs-chrome-tools .tfs-chrome-account,
  .tfs-chrome-tools .tfs-chrome-signout{ display: none; }
  .tfs-chrome-menu-btn{ display: inline-flex; align-items: center; justify-content: center; }
  .tfs-chrome-brand img{ height: 38px; }
  :root{ --tfs-chrome-h: 72px; --tfs-chrome-bar-min: 72px; }
}

@media (prefers-reduced-motion: reduce){
  header.tfs-chrome,
  .tfs-chrome-logo-ink,
  .tfs-chrome-logo-light{ transition: none; }
}

footer.tfs-chrome-footer{
  box-sizing: border-box;
  background: var(--tfs-chrome-paper);
  color: var(--tfs-chrome-mute);
  border-top: 1px solid var(--tfs-chrome-line);
  font-family: var(--tfs-chrome-sans);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0;
  padding: 72px 32px 112px;
  margin: 0;
  text-align: center;
}

footer.tfs-chrome-footer h2{
  font-family: var(--tfs-chrome-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tfs-chrome-ink);
  margin: 0 0 12px;
  line-height: 1.3;
}

footer.tfs-chrome-footer p{
  margin: 0 auto 10px;
  max-width: 36ch;
  color: var(--tfs-chrome-mute);
  font-weight: 400;
}

footer.tfs-chrome-footer .tfs-chrome-foot-brand{
  max-width: 36rem;
  margin: 0 auto 48px;
}

footer.tfs-chrome-footer .tfs-chrome-foot-logo{
  display: block;
  height: 40px;
  width: auto;
  max-width: 220px;
  margin: 0 auto 20px;
  background: transparent;
  background-color: transparent;
  filter: none;
  box-shadow: none;
  border: 0;
}

footer.tfs-chrome-footer .tfs-chrome-foot-contact a{
  display: inline;
  margin: 0 8px;
}

footer.tfs-chrome-footer ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

footer.tfs-chrome-footer li{ margin: 0 0 8px; }

footer.tfs-chrome-footer a{
  color: var(--tfs-chrome-mute);
  text-decoration: none;
}

footer.tfs-chrome-footer a:hover{ color: var(--tfs-chrome-ink); }

footer.tfs-chrome-footer .tfs-chrome-foot-inner{
  max-width: 880px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 48px;
  text-align: left;
}

footer.tfs-chrome-footer .tfs-chrome-foot-inner a{ display: block; }

footer.tfs-chrome-footer .tfs-chrome-foot-fine{
  max-width: 40rem;
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--tfs-chrome-line);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  text-align: center;
}

footer.tfs-chrome-footer .tfs-chrome-foot-fine a{
  display: inline;
  margin-right: 14px;
}

footer.tfs-chrome-footer .tfs-chrome-foot-fine a:last-child{ margin-right: 0; }

@media (max-width: 800px){
  footer.tfs-chrome-footer{ padding: 56px 20px 108px; }
  footer.tfs-chrome-footer .tfs-chrome-foot-inner{
    grid-template-columns: 1fr;
    max-width: 16rem;
    text-align: center;
  }
}
