/* Specialty Notes blog skin aligned with daf_2026 shell */

:root {
  --color-dark: #1a1a1a;
  --color-dark-new: #27282b;
  --color-white: #fffffc;
  --color-light-blue: #d1e3e3;
  --color-grey: #959696;
  --color-grey-2: #e6e6e6;
  --color-grey-3: #f2f3f2;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: oblique 0deg 10deg;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Optima Nova Light";
  src: url("../fonts/Optima-Nova-Light.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TWKEverett-Ultralight";
  src: url("../fonts/TWKEverett-Ultralight-web.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TWKEverett-Regular";
  src: url("../fonts/TWKEverett-Regular-web.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body.sn-blog-theme,
body.sn-blog-theme main,
body.sn-blog-theme section {
  background: var(--color-white);
  color: var(--color-dark-new);
}

body.sn-blog-theme {
  padding-top: 78px;
  text-rendering: optimizeLegibility;
  font-family: "Optima Nova Light", sans-serif;
}

body.sn-blog-theme p,
body.sn-blog-theme li,
body.sn-blog-theme a,
body.sn-blog-theme span,
body.sn-blog-theme small {
  font-family: "Inter", sans-serif;
  font-weight: 300;
}

body.sn-blog-theme a,
body.sn-blog-theme a:visited {
  color: var(--color-dark-new);
  text-decoration: none;
}

body.sn-blog-theme a:hover,
body.sn-blog-theme a:focus {
  color: var(--color-dark-new);
}

body.sn-blog-theme h1,
body.sn-blog-theme h2,
body.sn-blog-theme h3,
body.sn-blog-theme h4,
body.sn-blog-theme h5,
body.sn-blog-theme h6 {
  color: var(--color-dark-new);
  font-family: "TWKEverett-Ultralight", sans-serif;
  font-style: normal;
  font-weight: 100;
  letter-spacing: 1px;
  line-height: 1.1;
}

#main-navbar .mobile-nav-link,
#main-navbar .nav-link-simple,
.sn-link {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-daf {
  background: #f2f3f2 !important;
}

.bg-grey-3 {
  background: #f2f3f2 !important;
}

#main-navbar {
  background: transparent;
  top: 0;
  z-index: 1000;
  transition: transform 0.32s ease, background-color 0.28s ease, backdrop-filter 0.28s ease;
}

#main-navbar.is-solid {
  background: rgba(255, 255, 252, 0.92);
  backdrop-filter: blur(6px);
}

#main-navbar .nav-link-simple {
  color: var(--color-dark-new);
  font-family: "Optima Nova Light", "TWKEverett-Ultralight", sans-serif;
  font-size: 2.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: 2.875rem;
  letter-spacing: normal;
  text-transform: capitalize;
  text-decoration: none;
}

.sn-link:hover,
.footer-link:hover {
  text-decoration: underline;
}

.footer-tagline {
  color: var(--color-dark-new);
  font-family: "Optima Nova Light", "TWKEverett-Ultralight", sans-serif;
  font-size: 2.25rem;
  line-height: 2.875rem;
  font-weight: 400;
  letter-spacing: 0;
}

.footer-daf .footer-link {
  color: var(--color-dark-new);
  font-family: "Inter", sans-serif !important;
  font-size: 1rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.5625rem;
  text-decoration-line: underline;
}

.sn-home-hero-media {
  padding: 0;
}

.sn-home-hero-frame {
  width: 100%;
  height: 40vh;
  max-height: 40vh;
  background: #fff;
  overflow: hidden;
}

.sn-home-hero-asset {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sn-home-hero-frame video.sn-home-hero-asset {
  object-fit: contain;
  object-position: center;
}

.sn-blog-main {
  min-height: 60vh;
}

.sn-hero {
  padding: 4rem 0 2rem;
}

.sn-hero-sm {
  padding: 3rem 0 1.5rem;
}

.sn-kicker {
  color: #666;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}

.sn-title {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.02;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-family: "Optima Nova Light", "TWKEverett-Ultralight", sans-serif;
  font-weight: 400;
}

.sn-subtitle {
  margin-top: 1rem;
  max-width: 44ch;
  color: #555;
  text-transform: none;
  font-size: 1rem;
  line-height: 1.4;
}

.sn-section-title {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

.sn-latest-cta-row {
  margin-top: 1.5rem;
  margin-bottom: 5rem;
}

.sn-post-filters {
  padding: 0 0 2.5rem;
}

.sn-filter-label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #777;
}

.sn-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.2rem 0;
}

.sn-pill {
  display: inline-flex;
  margin: 0;
}

.sn-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sn-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.2rem 0.75rem;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  background: #fff;
  color: #27282b;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  cursor: pointer;
}

.sn-pill input:checked + span {
  border-color: #27282b;
  background: #27282b;
  color: #fffffc;
}

.sn-pill span:hover {
  border-color: #27282b;
}

.sn-filter-submit,
.sn-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  padding: 0 0.85rem;
  border: 1px solid #27282b;
  background: transparent;
  color: #27282b;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.sn-filter-reset {
  border-color: #b8b8b8;
}

.portfolio-search-label {
  color: var(--color-dark-new);
  font-family: "Optima Nova Light", "TWKEverett-Ultralight", sans-serif;
  font-size: 2.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: 2.875rem;
  text-decoration: none;
}

.sn-work-listing-head {
  padding: 4rem 0 1rem;
}

.portfolio-grid {
  padding: 1.5rem 0 5rem;
}

.portfolio-ladder {
  display: block;
}

.portfolio-card {
  width: 100%;
  margin-bottom: 2rem;
  --sn-card-offset: 0px;
}

.portfolio-card:last-child {
  margin-bottom: 0;
}

.portfolio-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.portfolio-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #f2f3f2;
}

.portfolio-card-media .sn-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.32s ease, opacity 0.22s ease;
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.04) 52%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.portfolio-card-meta {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  pointer-events: none;
}

.portfolio-card-title {
  margin: 0;
  color: #fff !important;
  font-family: "Optima Nova Light", "TWKEverett-Ultralight", sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
}

.sn-post-media.is-loading {
  background: #e5e5e5;
}

.sn-post-media.is-loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  height: 100%;
  width: 150%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0) 100%);
  animation: skeletonShimmer 1.2s infinite;
  z-index: 0;
}

.sn-post-media.is-loading .sn-thumb {
  opacity: 0;
}

.portfolio-card-link:hover .sn-thumb,
.portfolio-card-link:focus-visible .sn-thumb {
  transform: scale(1.02);
}

@keyframes skeletonShimmer {
  100% {
    left: 150%;
  }
}

.sn-post-card {
  display: block;
  text-decoration: none;
}

.sn-post-card * {
  text-transform: none;
}

.sn-thumb-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #ececec;
  aspect-ratio: 4 / 3;
}

.sn-thumb-16-10 {
  aspect-ratio: 16 / 10;
}

.sn-thumb-16-9 {
  aspect-ratio: 16 / 9;
}

.sn-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sn-thumb-placeholder {
  background: linear-gradient(140deg, #ececec, #dcdcdc);
}

.sn-card-meta {
  margin-top: 0.9rem;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #777;
  text-transform: uppercase;
}

.sn-card-title {
  margin: 0.45rem 0 0;
  font-size: clamp(1.4rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: 0;
  font-family: "Optima Nova Light", "TWKEverett-Ultralight", sans-serif;
  font-weight: 400;
}

.sn-card-excerpt {
  margin: 0.55rem 0 0;
  color: #5c5c5c;
  line-height: 1.45;
  font-size: 1rem;
}

.sn-offset-card {
  margin-top: 2.5rem;
}

.sn-pagination-wrap .page-numbers {
  margin: 0 0.35rem;
  color: #27282b;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sn-single-hero {
  padding: 4rem 0;
  background: #f2f3f2;
}

.sn-single-title {
  margin: 0;
}

.sn-single-content {
  padding: 2rem 0 4rem;
}

.sn-share-box {
  padding: 0.85rem 0;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
}

.sn-share-box-end {
  margin-top: 2rem;
  text-align: right;
}

.sn-post-tags {
  margin-top: 2rem;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  padding: 0.85rem 0;
}

.sn-post-tags-label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  font-weight: 400;
  text-align: center;
}

.sn-post-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.sn-post-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  text-decoration: none;
}

.sn-share-label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  font-weight: 400;
}

.sn-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-start;
}

.sn-share-box-end .sn-share-links {
  justify-content: flex-end;
}

.sn-share-links a {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.sn-share-links a:hover {
  background: #f2f3f2;
  transform: translateY(-1px);
}

.sn-single-sidebar {
  position: sticky;
  top: 130px;
  border-left: 1px solid #e6e6e6;
  padding-left: 1.25rem;
}

.sn-sidebar-title {
  margin: 0 0 1rem;
  font-family: "Optima Nova Light", "TWKEverett-Ultralight", sans-serif;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.sn-sidebar-list {
  display: grid;
  gap: 0.9rem;
}

.sn-sidebar-item {
  border-top: 1px solid #ececec;
  padding-top: 0.75rem;
}

.sn-sidebar-link {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
}

.sn-sidebar-item-thumb {
  width: 64px;
  height: 64px;
  overflow: hidden;
  background: #ececec;
}

.sn-sidebar-item-thumb img,
.sn-sidebar-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sn-sidebar-item-content {
  display: block;
  min-width: 0;
}

.sn-sidebar-item-date {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 0.25rem;
}

.sn-sidebar-item-title {
  display: block;
  font-family: "Optima Nova Light", "TWKEverett-Ultralight", sans-serif;
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}

.sn-js .sn-reveal-target {
  opacity: 0;
  transform: translateY(calc(var(--sn-card-offset, 0px) + 12px));
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--sn-reveal-delay, 0ms);
}

.sn-js .sn-reveal-target.is-visible {
  opacity: 1;
  transform: translateY(var(--sn-card-offset, 0px));
}

.sn-sidebar-empty {
  margin: 0;
  color: #666;
}

.sn-prose,
.sn-prose p,
.sn-prose li,
.sn-prose blockquote,
.sn-prose h1,
.sn-prose h2,
.sn-prose h3,
.sn-prose h4,
.sn-prose h5,
.sn-prose h6 {
  text-transform: none;
  letter-spacing: normal;
}

.sn-prose p,
.sn-prose li {
  line-height: 1.7;
  color: #2f2f2f;
  font-family: "Inter", sans-serif;
  font-weight: 300;
}

.sn-prose a,
.sn-prose a:visited {
  color: var(--color-dark-new);
  text-decoration: underline;
}

.sn-prose h1,
.sn-prose h2,
.sn-prose h3,
.sn-prose h4 {
  font-family: "Optima Nova Light", "TWKEverett-Ultralight", sans-serif;
  font-weight: 400;
  margin-top: 1.5rem;
  margin-bottom: 0.7rem;
}

@media (max-width: 991px) {
  body.sn-blog-theme {
    padding-top: 70px;
  }

  #main-navbar .nav-link-simple {
    font-size: 1rem;
    line-height: 1.25rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .footer-daf .footer-locations {
    text-align: left;
  }

  .footer-daf .footer-socials {
    text-align: right;
  }

  .sn-offset-card {
    margin-top: 0;
  }

  .portfolio-search-label {
    font-size: 1.75rem;
    line-height: 2.1rem;
  }

  .portfolio-card-meta {
    top: 16px;
    left: 16px;
    right: 16px;
  }

  .portfolio-card-title {
    font-size: 1.5rem;
  }

  .portfolio-grid {
    padding: 1rem 0 3rem;
  }

  .sn-latest-cta-row {
    margin-bottom: 3.5rem;
  }

  .sn-filter-form .d-flex {
    flex-wrap: wrap;
  }

  .sn-single-sidebar {
    position: static;
    border-left: 0;
    border-top: 1px solid #e6e6e6;
    padding-left: 0;
    padding-top: 1.1rem;
    margin-top: 0.5rem;
  }

  .sn-sidebar-title {
    font-size: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #main-navbar,
  .portfolio-card-media .sn-thumb,
  .sn-share-links a,
  .sn-post-media.is-loading::after,
  .sn-js .sn-reveal-target {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }

  .sn-js .sn-reveal-target {
    opacity: 1 !important;
  }
}

body.admin-bar #main-navbar {
  top: 32px;
}

body.admin-bar.sn-blog-theme {
  padding-top: 110px;
}

@media screen and (max-width: 782px) {
  body.admin-bar #main-navbar {
    top: 46px;
  }

  body.admin-bar.sn-blog-theme {
    padding-top: 116px;
  }
}

@media (min-width: 992px) {
  .portfolio-ladder {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
    --ladder-offset: 5rem;
    padding-bottom: var(--ladder-offset);
  }

  .portfolio-card:nth-child(even) {
    --sn-card-offset: var(--ladder-offset);
  }

  .footer-daf .footer-links-row {
    align-items: center;
  }

  .footer-daf .footer-locations a,
  .footer-daf .footer-socials a {
    display: inline-block !important;
    margin-bottom: 0 !important;
  }

  .footer-daf .footer-locations br,
  .footer-daf .footer-socials br {
    display: none;
  }
}
