/* src/css/base.css */
/* ---- Century base typography font loading/fallbacks ---- */
body, input, select, textarea, button { font-family: Inter, Arial, sans-serif; }
h1 { font-family: Lora, Georgia, serif; }
h2, h3, h4, h5, h6 { font-family: Inter, Arial, sans-serif; }
input::placeholder, textarea::placeholder { font-family: Inter, Arial, sans-serif; }

/* Search input: strip native OS/browser search decorations not expressible via Webflow's style panel */
.search-input { -webkit-appearance: none; }
.search-input::-webkit-search-decoration,
.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-results-button,
.search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  display: none;
}

/* ---- Products page ---- */
.product-search-input::placeholder {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #8a8d84;
  opacity: 1;
}
.search-field .product-search-input { padding-right: 32px; }
.search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: transparent;
  color: #8a8d84;
  font-family: Inter, sans-serif;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: color 150ms ease;
}
.search-clear:hover { color: #1c1e1a; }
.search-clear:focus-visible { outline: 2px solid #1c1e1a; outline-offset: 2px; }
.search-clear[hidden] { display: none; }

.filter-checkbox {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid #c9c7be;
  border-radius: 0;
  background-color: #ffffff;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.filter-checkbox:hover { border-color: #1c1e1a; }
.filter-checkbox:checked {
  border-color: #1c1e1a;
  background-color: #1c1e1a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238cc63e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}
.filter-checkbox:focus-visible { outline: 2px solid #1c1e1a; outline-offset: 2px; }

.product-card-img { transition: transform 350ms ease; }
.product-card:hover .product-card-img { transform: scale(1.04); }

.product-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.feature-ribbon {
  position: absolute;
  top: 0;
  right: 16px;
  left: auto;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 34px;
  height: 76px;
  padding: 10px 0 0 0;
  background-color: transparent;
  overflow: hidden;
  pointer-events: none;
  filter:
    drop-shadow(0.5px 0 0 #ffffff)
    drop-shadow(-0.5px 0 0 #ffffff)
    drop-shadow(0 0.5px 0 #ffffff)
    drop-shadow(0 -0.5px 0 #ffffff);
}
.feature-ribbon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-color: #1c1e1a;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 12px), 0 100%);
}
.feature-ribbon-text {
  writing-mode: vertical-rl;
  background-color: transparent;
  background-image: none;
  color: #8cc63e;
  text-align: left;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}

.feature-list {
  margin: 10px 20px 22px 20px;
  padding: 0;
  list-style: none;
}
.feature-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 5px;
  color: #5a5d55;
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}
.feature-list li:last-child { margin-bottom: 0; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 0;
  height: 0;
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
  border-left: 5px solid #8cc63e;
}

.material-block {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  transform-origin: center center;
  transition: transform 350ms ease;
}
.product-card:hover .material-block { transform: scale(1.04); }
.material-reveal {
  position: relative;
  width: 100%;
  padding: 0 6px 6px 6px;
  pointer-events: none;
}
.material-hit {
  position: relative;
  display: inline-flex;
  vertical-align: bottom;
  isolation: isolate;
  pointer-events: auto;
  padding: 6px 8px;
  background-color: rgba(28, 30, 26, 0.6);
  transition: background-color 220ms ease;
}
.material-hit:hover { background-color: transparent; }
.material-hit::before {
  content: "";
  position: absolute;
  left: -40px;
  bottom: -60px;
  width: 100vw;
  height: 260px;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(to top, rgba(28, 30, 26, 0.72) 0%, rgba(28, 30, 26, 0.72) 25%, rgba(28, 30, 26, 0) 100%);
  opacity: 0;
  transition: opacity 220ms ease;
}
.material-hit:hover::before { opacity: 1; }
.material-swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  row-gap: 8px;
  column-gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: column-gap 260ms ease;
}
.material-hit:hover .material-swatches { column-gap: 10px; }
.material-swatches li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.material-swatches img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  display: block;
}
.material-swatches span {
  display: block;
  max-width: 0;
  height: 0;
  margin-top: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 16px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  transition: max-width 280ms ease, height 200ms ease, margin-top 200ms ease, opacity 200ms ease 80ms;
}
.material-hit:hover .material-swatches span {
  max-width: 220px;
  height: 16px;
  margin-top: 6px;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .material-block,
  .material-hit,
  .material-hit::before,
  .material-swatches,
  .material-swatches span { transition: none; }
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid #e2e0d8;
  background-color: #ffffff;
  color: #1c1e1a;
  font-family: Inter, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 150ms ease;
}
.filter-chip:hover { border-color: #1c1e1a; }
.filter-chip__x { font-size: 14px; line-height: 1; color: #8a8d84; }
.filter-chip:hover .filter-chip__x { color: #1c1e1a; }
.filter-chip--clear { border-style: dashed; color: #5a5d55; }

h5 {
  font-family: Inter, sans-serif;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
}
h6 {
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.02em;
}
@media screen and (max-width: 767px) {
  h5 { font-size: 16px; }
}

/* ---- Century sticky footer layout ---- */
html, body { min-height: 100%; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.footer-wrapper { margin-top: auto; }

/* src/css/navigation.css */
/* ---- Header navigation interaction states ---- */
.nav-link.w--current,
.nav-link[aria-current="page"],
.products-mega-link.w--current,
.products-mega-link[aria-current="page"] { color: #8cc63e; }

.nav-link:hover,
.products-mega-link:hover {
  text-decoration-line: underline;
  text-decoration-color: #8cc63e;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* ---- Footer navigation interaction states ---- */
.footer-link.w--current,
.footer-link[aria-current="page"] { color: #8cc63e; }
.footer-link:hover {
  text-decoration-line: underline;
  text-decoration-color: #8cc63e;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* Resources dropdown: a short text list, so a narrower panel than Products. */
@media (min-width:992px){
  .products-submenu.resources-submenu{width:auto;min-width:260px;left:0}
}
/* Lock shown on member-only nav items for logged-out visitors (data-ms-content="!members"). */
.nav-lock-icon{display:inline-block;width:11px;height:11px;margin-left:8px;vertical-align:-1px;background-color:currentColor;opacity:.6;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='1'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='1'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/contain no-repeat}

/* src/css/products.css */
/* CENTURY_PRODUCT_CARD_CTA */
.product-card {
  position: relative;
  padding-bottom: 72px;
}

.product-card-cta {
  position: absolute;
  left: 20px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid #1c1e1a;
  border-radius: 0;
  background-color: #ffffff;
  color: #1c1e1a;
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.product-card-cta::after {
  content: "→";
  color: #8cc63e;
  font-size: 16px;
  line-height: 1;
  transition: transform 160ms ease;
}

.product-card:hover .product-card-cta {
  border-color: #1c1e1a;
  background-color: #1c1e1a;
  color: #ffffff;
}

.product-card:hover .product-card-cta::after {
  transform: translateX(2px);
}

@media screen and (max-width: 479px) {
  .product-card {
    padding-bottom: 70px;
  }

  .product-card-cta {
    left: 16px;
    bottom: 20px;
  }
}

/* Keep material swatches aligned with the mobile product image.
   Product images switch to 4:3 below 480px, so the overlay must match. */
@media screen and (max-width: 479px) {
  .material-block {
    aspect-ratio: 4 / 3 !important;
  }
}

/* src/css/search.css */
/* ---- Century smart header search ---- */
.site-search-menu{
  position:fixed;
  z-index:10000;
  width:520px;
  max-width:calc(100vw - 24px);
  max-height:min(70vh,620px);
  overflow:auto;
  border:1px solid #d8d6cf;
  background:#fff;
  box-shadow:0 16px 45px rgba(28,30,26,.18);
  font-family:Inter,Arial,sans-serif;
  color:#1c1e1a;
}
.site-search-menu[hidden]{display:none!important}
.site-search-status{
  padding:14px 16px;
  font-size:13px;
  line-height:1.45;
  color:#6f726a;
}
.site-search-section + .site-search-section{border-top:1px solid #eceae4}
.site-search-section-title{
  padding:10px 14px 7px;
  font-size:11px;
  line-height:1.2;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#7b7e76;
  background:#fafaf8;
}
.site-search-result{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:58px;
  padding:10px 14px;
  color:#1c1e1a;
  text-decoration:none;
  border-top:1px solid #f0eee8;
  outline:0;
}
.site-search-section-title + .site-search-result{border-top:0}
.site-search-result:hover,
.site-search-result.is-active{
  background:#f5f8f1;
  text-decoration:none;
}
.site-search-thumb{
  width:52px;
  height:52px;
  flex:0 0 52px;
  object-fit:contain;
  background:#f6f5f1;
}
.site-search-thumb--page{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  flex:0 0 40px;
  border:1px solid #dedcd4;
  background:#fff;
  color:#8cc63e;
  font-size:18px;
  font-weight:600;
}
.site-search-copy{min-width:0;flex:1}
.site-search-name{
  display:block;
  font-size:15px;
  line-height:1.35;
  font-weight:600;
  color:#1c1e1a;
}
.site-search-meta{
  display:block;
  margin-top:3px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  line-height:1.35;
  color:#777a72;
}
.site-search-arrow{
  flex:0 0 auto;
  color:#8cc63e;
  font-size:18px;
  line-height:1;
}
.site-search-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 14px;
  border-top:1px solid #dedcd4;
  background:#fafaf8;
  font-size:12px;
  color:#72756d;
}
.site-search-all{
  color:#1c1e1a;
  font-weight:600;
  text-decoration:none;
}
.site-search-all:hover{text-decoration:underline;text-decoration-color:#8cc63e;text-underline-offset:3px}
.search-input[aria-expanded="true"]{position:relative;z-index:10001}
@media (max-width:767px){
  .site-search-menu{max-height:62vh}
  .site-search-result{padding:9px 12px}
  .site-search-thumb{width:46px;height:46px;flex-basis:46px}
}

/* src/css/projects.css */
/* Active project + account controls */
.header-auth-state[data-ms-content="members"]{
  align-items:center;
  gap:5px;
}
.header-project-control{
  position:relative;
  display:inline-flex;
  align-items:center;
  font-family:Inter,Arial,sans-serif;
}
.header-project-trigger{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  max-width:238px;
  padding:5px 9px 5px 10px;
  border:1px solid transparent;
  background:transparent;
  color:#1c1e1a;
  cursor:pointer;
  text-align:left;
  font-family:Inter,Arial,sans-serif;
}
.header-project-trigger:hover,
.header-project-trigger[aria-expanded="true"]{
  border-color:#d8d9d4;
  background:#f7f7f4;
}
.header-project-icon,
.header-project-chevron{
  flex:0 0 auto;
  display:block;
}
.header-project-icon{
  width:18px;
  height:18px;
  color:#555950;
}
.header-project-chevron{
  width:13px;
  height:13px;
  color:#777b72;
  transition:transform 150ms ease;
}
.header-project-trigger[aria-expanded="true"] .header-project-chevron{
  transform:rotate(180deg);
}
.header-project-copy{
  display:flex;
  min-width:0;
  flex:1 1 auto;
  flex-direction:column;
  gap:1px;
}
.header-project-label{
  color:#7b7e77;
  font-size:9px;
  line-height:1.1;
  font-weight:600;
  letter-spacing:.09em;
  text-transform:uppercase;
  white-space:nowrap;
}
.header-project-name{
  overflow:hidden;
  color:#252722;
  font-size:12px;
  line-height:1.2;
  font-weight:600;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.header-project-menu{
  position:absolute;
  z-index:10020;
  top:calc(100% + 8px);
  right:0;
  width:310px;
  padding:7px;
  border:1px solid #d8d9d4;
  background:#fff;
  box-shadow:0 16px 38px rgba(28,30,26,.16);
}
.header-project-menu[hidden]{display:none!important}
.header-project-menu-title{
  padding:7px 9px 8px;
  color:#777b72;
  font-size:10px;
  line-height:1.2;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.header-project-menu-list{
  display:grid;
  gap:2px;
}
.header-project-option{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  width:100%;
  padding:9px 10px;
  border:0;
  background:transparent;
  color:#1c1e1a;
  cursor:pointer;
  text-align:left;
  font-family:Inter,Arial,sans-serif;
}
.header-project-option:hover,
.header-project-option:focus-visible{
  background:#f3f4f0;
  outline:none;
}
.header-project-option.is-active{
  background:#f5f8f1;
}
.header-project-option-name{
  overflow:hidden;
  font-size:13px;
  line-height:1.25;
  font-weight:500;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.header-project-option-state{
  color:#648f2d;
  font-size:10px;
  line-height:1;
  font-weight:600;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.header-project-empty{
  padding:14px 10px;
  color:#686c64;
  font-size:12px;
  line-height:1.5;
}
.header-project-menu-footer{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top:6px;
  padding:8px 9px 4px;
  border-top:1px solid #ecece8;
}
.header-project-menu-footer a{
  color:#3f433c;
  font-size:11px;
  line-height:1.2;
  font-weight:600;
  text-decoration:none;
}
.header-project-menu-footer a:hover{text-decoration:underline;text-underline-offset:3px}
.header-account-icon{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  padding:0!important;
  border:1px solid transparent;
  color:#353832!important;
  text-decoration:none!important;
}
.header-account-icon:hover,
.header-account-icon:focus-visible{
  border-color:#d8d9d4;
  background:#f7f7f4;
  outline:none;
}
.header-account-icon svg{
  display:block;
  width:21px;
  height:21px;
}
@media screen and (max-width:991px){
  .header-project-trigger{max-width:185px}
  .header-project-name{max-width:112px}
}
@media screen and (max-width:767px){
  .header-project-trigger{
    width:38px;
    min-width:38px;
    padding:0;
    justify-content:center;
  }
  .header-project-copy,
  .header-project-chevron{display:none}
  .header-project-menu{
    position:fixed;
    top:66px;
    right:12px;
    width:min(310px,calc(100vw - 24px));
  }
}

/* Active project/account contrast on Century dark header */
.header-project-trigger{
  color:#f3f4f0;
}
.header-project-trigger:hover,
.header-project-trigger[aria-expanded="true"]{
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
}
.header-project-icon{
  color:#e8ebe4;
}
.header-project-chevron{
  color:#aeb3a9;
}
.header-project-label{
  color:#aeb3a9;
}
.header-project-name{
  color:#f7f8f5;
}
.header-account-icon{
  color:#e8ebe4!important;
}
.header-account-icon:hover,
.header-account-icon:focus-visible{
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
}

/* src/css/portal.css */
/* Portal navigation styling is currently supplied by the applied CenturyPortalShellV2 registered script. */
