/* ===============================
   Custom Font Imports — Squarespace
   =============================== */

/* Epicene Text Light (uploaded, available to use) */
@font-face {
  font-family: "Epicene Text";
  src: url("https://static1.squarespace.com/static/68f6c9686c17c62efd2a5507/t/68f6d319978f1d1f6e8d202b/1761006361624/epicene-text-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ===============================
   GLOBAL
   =============================== */

html {
  font-size: 100%;
}

body {
  font-family: "Epicene Text", serif;
  font-weight: 300;
  font-style: normal;
  color: #111;
  line-height: 1.45;
  margin: 0;
}

/* ===============================
   EMPHASIS — polymath for contrast
   =============================== */

b,
strong {
  font-family: "polymath", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Emphasis italic */
i,
em {
  font-family: "polymath", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-style: italic;
}

b i,
b em,
strong i,
strong em {
  font-family: "polymath", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-style: italic;
}

/* ===============================
   HEADINGS — Epicene 300
   =============================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Epicene Text", serif;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em 0;
}

/* Scale by level */
h1 {
  font-size: clamp(1.8rem, 1.35rem + 1.2vw, 2.4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem);
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.8rem);
  line-height: 1.2;
}

/* Optional: smaller utility headings */
h4 { font-size: 1.125rem; line-height: 1.45; }

/* Italic headings (still Epicene body, polymath for <em>/<strong> inside) */
h1.italic, h2.italic, h3.italic, h4.italic, h5.italic, h6.italic {
  font-style: italic;
}

/* ===============================
   PARAGRAPHS & LISTS — Epicene
   =============================== */

p,
li {
  font-family: "Epicene Text", serif;
  font-weight: 300;
  font-size: 1.125rem;       /* base body size */
  line-height: 1.45;
  letter-spacing: -0.02em;
  margin: 0 0 1em 0;
}

/* P1 — Intro / Hero copy */
p.p1,
.sqsrte-large {
  font-family: "Epicene Text", serif;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.45;
}

/* P2 — Supporting */
p.p2 {
  font-family: "Epicene Text", serif;
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.45;
}

/* Squarespace “small” text + P3 — fine print */
p.p3,
.sqsrte-small {
  font-family: "Epicene Text", serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

/* monospace */
.sqs-block-html pre code {
  font-family: "polymath", sans-serif !important;
  font-weight: 500;
  font-size: .75rem;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

/* ===============================
   RESPONSIVE TYPE
   =============================== */

   @media (max-width: 767px) {

  /* Base text */
  .sqs-block-html p,
  .sqs-block-html li {
    font-size: 1.05rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
  }

  /* Intro + Large text */
  .sqs-block-html p.p1,
  .sqs-block-html .sqsrte-large {
    font-size: 1.25rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
  }

  /* Small text */
  .sqs-block-html p.p3,
  .sqs-block-html .sqsrte-small {
    font-size: 0.85rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
  }
}

/* =========================
   Single Blog Post Title — match H2
   ========================= */

.blog-item-wrapper .blog-item-title h1.entry-title {
  font-family: "polymath", sans-serif !important;
  font-weight: 500 !important;
  font-style: normal;
  font-size: clamp(1.5rem, 1.1rem + 1vw, 1.75rem); /* same scale as H2 */
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 ;
}

/* Mobile tweak */
@media (max-width: 767px) {
  .blog-item-wrapper .blog-item-title h1.entry-title {
    font-size: 1.4rem !important;
    letter-spacing: -0.02em;
  }
}

/* Remove the wrapper margin */
.blog-item-title {
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove margin on the actual H1 */
.blog-item-title h1.entry-title {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.15; /* maintains readable spacing */
}

/* Some templates wrap another div around the title — kill that too */
.blog-item-title .entry-title {
  margin: 0 !important;
  padding: 0 !important;
}

/* =========================
   BLOG BASIC GRID (INDEX PAGE)
   Title = Polymath (H2-ish)
   Meta  = Epicene (P3)
   ========================= */

/* Title */
.blog-basic-grid .blog-title,
.blog-basic-grid .blog-title a {
  font-family: "polymath", sans-serif !important;
  font-weight: 500 !important;
  font-style: normal;
  font-size: 1.15rem !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
  text-decoration: none !important;
}

/* Meta (categories, author, date – under the image) */
.blog-basic-grid .blog-meta-primary,
.blog-basic-grid .blog-meta-primary span,
.blog-basic-grid .blog-meta-primary a,
.blog-basic-grid .blog-categories-list,
.blog-basic-grid .blog-categories-list a,
.blog-basic-grid .blog-author,
.blog-basic-grid .blog-date {
  font-family: "Epicene Text", serif !important;
  font-weight: 300 !important;
  font-size: 0.95rem !important;   /* desktop P3 */
  line-height: 1.5 !important;
  letter-spacing: -0.0em !important;
  text-decoration: none !important;
  color: #111 !important;
}

.blog-item-wrapper .blog-item-top-wrapper {
    margin-bottom: 3rem !important;
}

@media (max-width: 767px) {
.blog-item-wrapper .blog-item-top-wrapper {
    margin-bottom: 1rem !important;
}}


/* MOBILE: slightly smaller meta & title */
@media (max-width: 767px) {
  .blog-basic-grid .blog-title,
  .blog-basic-grid .blog-title a {
    font-size: 1.25rem !important;
  }}

/* Move categories BELOW the title on blog grid thumbnails */
.blog-basic-grid--text {
  display: flex !important;
  flex-direction: column !important;
}

/* Title should appear first */
.blog-basic-grid--text .blog-title {
  order: 1;
}

/* Categories appear second (below title) */
.blog-basic-grid--text .blog-meta-section .blog-categories-list {
  order: 2;
}

/* Author + date appear after categories */
.blog-basic-grid--text .blog-meta-section {
  order: 3;
}

/* =========================================
   BLOG OVERVIEW → Bullets between categories
   (single post page already uses its own bullets)
   ========================================= */

/* 1) Hide the comma spans Squarespace injects */
.blog-basic-grid .blog-categories-list > span {
  display: none !important;
}

/* 2) Add a bullet before any category link that follows a span (i.e. from 2nd onward) */
.blog-basic-grid .blog-categories-list span + a::before {
  content: "•\00A0";  /* bullet + non-breaking space */
  margin: 0 0.25em 0 0.35em;  /* left/right tweak so it breathes */
  font-family: "Epicene Text", serif;
  font-weight: 300;
  font-size: 0.95em;
  line-height: 1;
}

/* ===============================
   Blog Meta (categories, tags, date)
   =============================== */

.blog-item-wrapper .blog-item-meta-item,
.blog-item-wrapper .blog-item-meta-item a,
.blog-item-wrapper .blog-item-meta-item span,
.blog-item-wrapper .blog-meta-item,
.blog-item-wrapper .blog-meta-item a,
.blog-item-wrapper .blog-meta-item span {
  font-family: "Epicene Text", serif !important;
  font-weight: 300 !important;
  font-size: 0.95rem !important;
  line-height: 1.25 !important;
  letter-spacing: 0em !important;
  text-decoration: none !important;
  color: #111 !important;
}

/* ===============================
   BREADCRUMB
   =============================== */

   /* Align breadcrumb with regular content width */

.mc-breadcrumb {
  font-family: "polymath", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  display: flex;
  flex-wrap: wrap;
  gap: .4em;
  align-items: baseline;
  margin-left: -5px;
}

/* Links + current crumb share the same tight box metrics */
.mc-breadcrumb a,
.mc-breadcrumb .crumb-current {
  position: relative;
  display: inline-block;
  line-height: 1;                 /* keeps box tight to caps/baseline */
  padding: 0.08em 0.35em 0.12em;  /* tiny top/bottom so it just peeks out */
  text-decoration: none;
  border-radius: 0;               /* square highlight */
}

/* Default link state */
.mc-breadcrumb a {
  color: #111;
  background: transparent;
}

/* Hover state for non-current crumbs */
.mc-breadcrumb a:hover {
  background-color: #F7E800;  /* yellow */
  color: #000;                /* black text */
}

/* Current gallery crumb – always highlighted */
.mc-breadcrumb .crumb-current {
  background-color: #F7E800;
  color: #000;
}

/* Arrows in Epicene, no box */
.mc-breadcrumb .crumb-arrow {
  font-family: "Epicene Text", serif !important;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1;
  padding: 0;                 /* no yellow behind arrows */
}

/* ===============================
   Mobile breadcrumb — 50% size
   =============================== */
@media (max-width: 767px) {
  .mc-breadcrumb {
    font-size: 0.7rem;        /* 50% of ~0.95rem */
    gap: .25em;
    margin-left: 0px;
  }

  .mc-breadcrumb a,
  .mc-breadcrumb .crumb-current {
    padding: 0.04em 0.2em 0.06em;  /* half the desktop padding */
  }

  .mc-breadcrumb .crumb-arrow {
    font-size: 0.5rem;      /* scaled arrow size */
  }
}

/* Remove page gutters from blog gallery section */
.blog-basic-grid.collection-content-wrapper {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Tighten blog meta section spacing under gallery titles */
.blog-basic-grid .blog-meta-section {
  margin-top: 0.1em !important;   /* was much larger */
  margin-bottom: 0 !important;
  padding: 0 !important;
}

/* Tighten category + meta list */
.blog-basic-grid .blog-categories-list,
.blog-basic-grid .blog-meta-primary,
.blog-basic-grid .blog-meta-secondary {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.25 !important; /* tighter but still readable */
}

/* Tighten date + author spacing */
.blog-basic-grid .blog-date,
.blog-basic-grid .blog-author {
  margin: 0 !important;
  padding: 0 !important;
}

/* ===============================
   UTILITIES
   =============================== */

.lead {
  font-family: "polymath", sans-serif;
  font-weight: 500;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.5;
}

.serif {
  font-family: "polymath", sans-serif !important;
  font-weight: 500 !important;
}

.sans {
  font-family: "polymath", sans-serif !important;
  font-weight: 500 !important;
}

/* ===============================
   ACCORDION
   =============================== */

.accordion-item__title,
.accordion-item__description {
  font-family: "polymath", sans-serif;
  font-weight: 500;
  line-height: inherit;
}

/* ===============================
   ACCORDION MOBILE
   =============================== */
@media (max-width: 767px) {
.accordion-item__title,
.accordion-item__description {
  font-family: "polymath", sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
}}

/* ===============================
   PORTFOLIO / PAGINATION
   =============================== */

.portfolio-grid-overlay .portfolio-title,
.item-pagination-link .item-pagination-title {
  font-family: "Epicene Text", serif !important;
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  line-height: 1.0;
  letter-spacing: 0em;
}

@media (max-width: 767px) {
  .portfolio-grid-overlay .portfolio-title,
.item-pagination-link .item-pagination-title {
  font-family: "Epicene Text", serif !important;
  font-weight: 300;
 font-size: 0.95rem; 
  letter-spacing: -0.01em;
  line-height: 1.0;
  letter-spacing: 0em;
}}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 767px) {
  p.p1,
  .sqsrte-large {
    font-size: 1rem;
    line-height: 1.4;
  }

  p.p2,
  .sqsrte-small {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  p.p3 {
    font-size: 0.95rem;
    line-height: 1.45;
  }
}

/* ===============================================
   FORMS — unified type + small inline asterisks
   =============================================== */

/* Body/captions: Polymath 500, solid black */
.sqs-block-form .form-wrapper,
.sqs-block-form .form-wrapper * {
  font-family: "polymath", sans-serif !important;
  font-weight: 500 !important;
  font-style: normal !important;
  color: #000 !important;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* Field titles (legends/labels): Polymath Display 600 */
.sqs-block-form .field-list legend,
.sqs-block-form .field-list .title,
.sqs-block-form .field-list label {
  font-family: "polymath-display", sans-serif !important;
  font-weight: 600 !important;
  font-size: 1rem;
  line-height: 1.2;
  color: #000 !important;
  margin: 0 0 .25em 0;
}

/* Secondary captions (e.g., “First Name”, “Mobile” labels beside inputs) */
.sqs-block-form .caption-text {
  font-family: "polymath", sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  line-height: 1.4;
  color: #000 !important;
  opacity: 1 !important;
}

/* -------- Required markers -------- */

/* Nuke Squarespace "(required)" helpers everywhere */
.sqs-block-form .field .required,
.sqs-block-form .title .required,
.sqs-block-form legend .required,
.sqs-block-form .field-list legend .description,
.sqs-block-form .field-list .title .description {
  display: none !important;
}

/* Keep titles/legends on one line so the star stays inline */
.sqs-block-form .field .title,
.sqs-block-form .field-list legend,
.sqs-block-form .field-list legend .title {
  display: inline-flex !important;
  align-items: baseline;
  white-space: nowrap;
  gap: .3em;          /* space before the star */
  margin: 0 !important;
  padding: 0 !important;
}

/* SMALL, CONSISTENT ASTERISK — apply to all required items */
:root { --req-star-scale: .8; }   /* <— tweak this if you want slightly bigger/smaller */

.sqs-block-form .form-item.required .title::after,
.sqs-block-form .form-item.required legend .title::after {
  content: "*";
  color: #263BE5;
  font-size: calc(1em * var(--req-star-scale));
  font-weight: 600;
  line-height: 1;
}

/* Prevent special fieldset wrappers (e.g. Name/Mobile) from forcing line breaks */
.sqs-block-form .field-list .form-item.required legend[id$="-field-wrapper"] {
  width: auto !important;
}

/* --- Add star to grouped legends (e.g., Name, Mobile) --- */
/* Modern browsers: use :has to detect the hidden "(required)" node */
.sqs-block-form .field-list legend:has(.description.required) .title::after {
  content: "*";
  color: #263BE5;
  font-size: calc(1em * var(--req-star-scale)); /* matches your smaller star */
  font-weight: 600;
  line-height: 1;
}

/* Fallback for older browsers: match common legend ids */
.sqs-block-form .field-list legend[id*="name"][id$="-field-wrapper"] .title::after,
.sqs-block-form .field-list legend[id*="phone"][id$="-field-wrapper"] .title::after {
  content: "*";
  color: #263BE5;
  font-size: calc(1em * var(--req-star-scale));
  font-weight: 600;
  line-height: 1;
}

/* ===============================================
   FORM SUBMIT BUTTON — Blue base / Yellow hover
   =============================================== */

.sqs-block-form .form-button-wrapper .sqs-editable-button,
.sqs-block-form .form-button-wrapper button[type="submit"] {
  background-color: #263BE5 !important; /* Blue */
  color: #ffffff !important;            /* Force white text */
  border: none !important;
  border-radius: 0 !important;          /* Sharp edges */
  font-family: "polymath-display", sans-serif !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  letter-spacing: 0.03em !important;
  padding: 0.8em 2em !important;
  text-transform: none !important;
  cursor: pointer !important;
  transition: none !important;          /* No fade animation */
}

/* Hover / focus state */
.sqs-block-form .form-button-wrapper .sqs-editable-button:hover,
.sqs-block-form .form-button-wrapper button[type="submit"]:hover,
.sqs-block-form .form-button-wrapper button[type="submit"]:focus {
  background-color: #F7E800 !important; /* Yellow */
  color: #000000 !important;            /* Black text */
}

/* Form submit button — blue base, yellow hover, no fades */
.sqs-block-form .form-button-wrapper button.sqs-system-button.sqs-editable-button.form-submit-button {
  background: #263BE5 !important;   /* blue */
  color: #fff !important;            /* force white */
  border: 0 !important;
  border-radius: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
  background-image: none !important;
  transition: none !important;
  opacity: 1 !important;
}

/* Force the text layer(s) to inherit our color and be fully opaque */
.sqs-block-form .form-button-wrapper button.form-submit-button .form-submit-button-label,
.sqs-block-form .form-button-wrapper button.form-submit-button .form-submit-button-state,
.sqs-block-form .form-button-wrapper button.form-submit-button .form-submit-button-state * {
  color: inherit !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  transition: none !important;
}

/* Hover / focus: yellow with black text (no opacity) */
.sqs-block-form .form-button-wrapper button.form-submit-button:hover,
.sqs-block-form .form-button-wrapper button.form-submit-button:focus {
  background: #F7E800 !important;   /* yellow */
  color: #000 !important;            /* black text */
}

/* Make sure the label/state inherit the hover color too */
.sqs-block-form .form-button-wrapper button.form-submit-button:hover .form-submit-button-label,
.sqs-block-form .form-button-wrapper button.form-submit-button:hover .form-submit-button-state,
.sqs-block-form .form-button-wrapper button.form-submit-button:hover .form-submit-button-state * {
  color: inherit !important;
  opacity: 1 !important;
}

.form-field-error {
  background: #263BE5 !important;   /* yellow */
  color: #000 !important;            /* black text */
}

/* ===============================
   Burger Menu on Desktop
   =============================== */

/* Remove Squarespace’s default side padding on the menu button */
.header-burger-btn.burger {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Ensure the inner burger icon also sits flush */
.header-burger-btn.burger .burger-box {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.header-display-mobile, .header-display-desktop {    
  padding-right: 0px !important;
    padding-left: 0px !important;}

.header-burger {
  margin-left: 0px !important;}

.header-burger-btn-burger {
  margin-left: 0px !important;
  width: auto !important;
  height: auto !important;
  text-align: left !important;
  justify-content: flex-start !important;
  display: flex !important;
}

/* Remove padding + align Menu text hard left */
.header .burger-box {
  padding-left: 0px !important;
  margin-left: 0px !important;
  width: auto !important;
  height: auto !important;
  text-align: left !important;
  justify-content: flex-start !important;
  display: flex !important;
}

/* Perfect center for logo */
.header-title-logo, .nbf-header-logo-desktop, .header-element {
position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  white-space: nowrap;
  text-align: center;
  z-index: 5;
}

.header--menu-open .header-menu {
    visibility: visible !important;
    width: 50%;
    opacity: 1 !important
}


@media screen and (max-width:767px) {
.header--menu-open .header-menu{
  width: 50% !important;
  opacity: 1 !important;
}}

  .header-display-desktop {
   .header-title-nav-wrapper .header-nav, .header-actions {
       display: none !important;
   }
    .header-burger {
        display: flex !important;
    }
}

.header-menu-nav-folder-content {
  justify-content: flex-start !important;
}

@media screen and (max-width:767px) {
.header-menu-nav-folder-content {
  justify-content: flex-start !important;
}
  .header--menu-open .header-menu-nav-wrapper {
    padding-left: 20px !important;
    padding-right: 40px !important;
  }
}

/* 1) Kill the inline top padding Squarespace adds to the overlay */
.header--menu-open .header-menu[data-test="header-menu"] {
  padding-top: 100px !important;
}

/* 2) Remove the wrapper’s extra padding and pull the list to the top */
.header--menu-open .header-menu-nav-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Keep the links hard-left and under the Close button with your 40px gutter */
  .header--menu-open .header-menu-nav-wrapper {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
  .header--menu-open .header-menu-nav-folder-content {
    justify-content: flex-start !important;   /* no vertical centering */
  }
  .header--menu-open .header-menu-nav-list {
    margin: 0 !important;
    padding: 0 !important;
    gap: .65em !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .header--menu-open .header-menu-nav-item,
  .header--menu-open .header-menu-nav-item a,
  .header--menu-open .header-menu-nav-item-content {
    padding: 0 !important;
    margin: 0 !important;
    text-indent: 0 !important;
    transform: none !important;
  }

.burger-box:after {
content: "Menu";
text-align: left;
font-size: 20px;
font-family: "Epicene Text";
letter-spacing: -.05em;
color: #000;
display: block !important;
}

/* Swap “Menu” → “Close” when the menu is open */
.header--menu-open .burger-box:after {
  content: "Close" !important;
}

@media (max-width: 799px) {
  .burger-box:after {
content: "Menu";
text-align: left;
font-size: 16px;
font-family: "Epicene Text";
letter-spacing: -.05em;
color: #000;
display: block !important;
}}

.burger-box {
  width: 60px !important;
  height: 25px !important;
}

.burger-box div {
display: none;
}

/* burger position */
@media screen and (min-width:992px) {
.header-display-desktop {
    flex-direction: row-reverse;
}
.header-title-nav-wrapper {
    justify-content: flex-end;
}
}

.header-menu-nav-item a {
  font-family: "polymath";
  line-height:1.2em;
  margin: 3vw 5vw;
  text-align: left;
  font-size: 20px;
}

@media only screen and (max-width: 800px) {
    .header-menu-nav-item a {
        font-size: 16px !important;
  font-family: "polymath";
  line-height:1.2em;
  margin: 3vw 5vw;
  text-align: left;
    }
}

.item-pagination[data-collection-type^="portfolio"] {
    display: none;
}

/* ===== Fix: remove mobile header wrapper padding / green box ===== */
@media (max-width: 799px) {

  /* Remove hidden box padding that pushes the logo */
  .header-display-mobile .header-title-nav-wrapper,
  .header-display-mobile .header-title,
  .header-display-mobile .header-title-logo,
  .header-display-mobile .header-title-logo a {
    padding: 0 !important;
    margin: 0 auto !important;
    width: auto !important;
    max-width: none !important;
    text-align: center !important;
  }

  /* Make sure logo is centered absolutely, not offset by any parent flex rules */
  .header-display-mobile .header-title-logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  /* Nuke any phantom space or background on the wrapper */
  .header-display-mobile .header-title-nav-wrapper {
    background: transparent !important;
    min-width: 0 !important;
  }
}

/* 0) Remove the accidental 5px rule */
.container .header-menu-nav-item .header-menu-nav-item--collection .header-menu-nav-item--active {
  font-size: inherit !important; /* neutralise */
}

/* 1) Kill any transitions in the overlay to prevent animated reflow */
.header--menu-open .header-menu-nav * {
  transition: none !important;
}

/* 2) Lock overlay link typography (desktop vs mobile) */
@media (min-width: 992px) {
  .header--menu-open .header-menu-nav-item a {
    font-family: "polymath", sans-serif !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    margin: 0 !important;                 /* avoid vw-based CLS */
    text-align: left !important;
  }
}

.header--menu-open .header-menu-nav-item a:hover {
  text-decoration: underline;}

@media (max-width: 991.98px) {
  .header--menu-open .header-menu-nav-item a {
    font-family: "polymath", sans-serif !important;
    font-size: 16px !important;           /* fixed size on mobile */
    line-height: 1.2 !important;
    margin: 12px 0 !important;            /* replace 3vw/5vw margins */
    text-align: left !important;
  }
}

/* 3) (Optional) If iOS is still resizing, force stable text sizing */
html { -webkit-text-size-adjust: 100% !important; text-size-adjust: 100% !important; }

/* ===================================
   FIX: Prevent overlay flash / resize on Close tap
   =================================== */

/* 1️⃣ Prevent width jump during open/close animation */
.header-menu {
  transition: none !important; /* kill Squarespace’s built-in animation */
}

/* 2️⃣ When menu is open */
.header--menu-open .header-menu {
  visibility: visible !important;
  opacity: 1 !important;
  width: 50% !important;            /* or change to 100% if you want full width mobile */
  overflow: hidden !important;
}

/* 4️⃣ Mobile breakpoint – maintain same width (no flash) */
@media (max-width: 991.98px) {
  .header--menu-open .header-menu {
    width: 100% !important;          /* consistent with desktop or use 100% if desired */
    right: auto !important;
    opacity: 1 !important;
    transition: none !important;
  }
}

/* 5️⃣ Optional: if Close triggers brief white flash, keep gold visible */
.header-menu-bg.theme-bg--primary {
  background-color: #b89400 !important; /* your overlay gold */
}

/* ======================
   MOBILE OVERLAY: align hard-left, remove extra padding,
   lock link size/spacing
   ====================== */
@media (max-width: 800px){

  /* Kill Squarespace inline top padding + any wrapper padding */
  .header--menu-open .header-menu[data-test="header-menu"],
  .header--menu-open .header-menu[data-section-id="overlay-nav"],
  .header--menu-open .header-menu-nav-wrapper{
    padding-top: 0px !important;
    margin-top: 0 !important;
    padding-left: 0px !important;   /* your page gutter */
    padding-right: 0px !important;
  }

  /* Never center the stack; keep it pinned to the top-left */
  .header--menu-open .header-menu-nav-folder-content{
    justify-content: flex-start !important;  /* vertical: from top */
    align-items: flex-start !important;      /* horizontal: left */
    padding-top: 70px !important;
    padding-left: 23px !important;   /* your page gutter */
  }

  /* Remove built-in margins/padding on list + rows */
  .header--menu-open .header-menu-nav-list{
    margin: 0 !important;
    padding: 0 !important;
    gap: 10px !important;                 /* space between rows */
    text-align: left !important;
    align-items: flex-start !important;
  }
  .header--menu-open .header-menu-nav-item,
  .header--menu-open .header-menu-nav-item a,
  .header--menu-open .header-menu-nav-item-content{
    margin: 0 !important;
    padding: 0 !important;
    text-indent: 0 !important;
    transform: none !important;
  }

  /* Lock the type so it doesn't jump from 16px to larger */
  .header--menu-open .header-menu-nav-item a{
    font-family: "polymath", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
  }

  /* Nuke any odd one-off rules that shrink/expand active items */
  .container .header-menu-nav-item .header-menu-nav-item--collection .header-menu-nav-item--active{
    font-size: inherit !important;
  }
}

/* Keep desktop intentions intact */
@media (min-width: 801px){
  .header--menu-open .header-menu{ width: 50% !important; }
}

/* Desktop overlay menu – push links down below header bar */
@media (min-width: 801px) {
  .header--menu-open .header-menu-nav-folder-content {
    padding-top: 50px !important;  /* tweak this value if needed */
  }
}

/* =========================
   Instagram link — bottom aligned
   ========================= */

/* Ensure wrapper acts as position context */
.header--menu-open .header-menu-nav-wrapper {
  position: relative !important;
}

/* =========================
   Instagram link — fixed visibility + alignment
   ========================= */
/* Give the wrapper a positioning context */
.header--menu-open .header-menu-nav-wrapper { position: relative !important; }

/* Bottom-left Instagram link */
.header--menu-open .menu-social-link{
  position: fixed; bottom: 40px;
  font-family: "Epicene Text", serif !important;
  font-size: 20px !important;
  letter-spacing: -.02em;
  color: #000;
  text-decoration: none;
  line-height: 1;
  z-index: 3;              /* above list, below Close */
}

@media (max-width: 800px) {
  .header--menu-open .menu-social-link{
  position: fixed; bottom: 30px;
  font-size: 16px !important; 
}}

/* Add breathing room at the bottom so it doesn’t overlap the last item */
.header--menu-open .header-menu-nav-list{ padding-bottom: 80px !important; }

/* ===============================
   Custom Cursor
   =============================== */

/* ===== Custom Cursor (desktop only) ===== */
@media (pointer:fine){
  html, body { cursor: none; }

  .cursor{
    --size: 30px;
    position: fixed; left: 0; top: 0;
    width: var(--size); height: var(--size);
    border-radius: 50%;
    pointer-events: none; z-index: 2147483647;
    transform: translate(-50%, -50%);
    transition: background-color .25s ease, transform .08s ease;
    mix-blend-mode: difference;
    background: #fff;
  }

  /* Hover state when over links/buttons */
  .cursor.is-link { background: #f7e800; }
}

/* On touch, keep normal cursor/behavior */
@media (pointer:coarse){
  .cursor{ display:none !important; }
}

/* =========================================
   TESTIMONIAL SLIDESHOW — scoped
   ========================================= */

.testimonial-slideshow {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible; /* allow arrows to sit slightly outside */
}

.testimonial-slideshow .slideshow-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Track that holds the slides */
.testimonial-slideshow .slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Individual slides – hidden by default */
.testimonial-slideshow .slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Visible slide */
.testimonial-slideshow .slide.is-active {
  display: block;
  opacity: 1;
}

/* Inner layout */
.testimonial-slideshow .slide-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4vw;
}

.testimonial-slideshow .slide-media img {
  width: 400px;
  height: auto;
  border-radius: 2px;
}

.testimonial-slideshow .slide-copy {
  max-width: 600px;
}
/* ===============================
   Testimonial Slideshow — Typography cleanup
   =============================== */

/* Force P2 sizing inside the slideshow */
.testimonial-slideshow .slide-copy p,
.testimonial-slideshow .slide-copy .sqsrte-large {
  font-family: "Epicene Text", serif !important;
  font-weight: 300 !important;
  font-size: 1.125rem !important;
  line-height: 1.45 !important;
  letter-spacing: -0.02em !important;
  color: #111;
  margin: 0 0 1em 0;
}

/* Bold inside testimonial paragraphs = Polymath */
.testimonial-slideshow .slide-copy p b,
.testimonial-slideshow .slide-copy p strong,
.testimonial-slideshow .slide-copy .sqsrte-large b,
.testimonial-slideshow .slide-copy .sqsrte-large strong {
  font-family: "polymath", sans-serif !important;
  font-weight: 500 !important;
}

/* Name label (the P2 that wraps <b>) */
.testimonial-slideshow .slide-copy p.p2 {
  font-family: "Epicene Text", serif !important;
  font-weight: 300 !important;
  font-size: 1.125rem !important;
  line-height: 1.45 !important;
}

/* Bold inside P2 name */
.testimonial-slideshow .slide-copy p.p2 b {
  font-family: "polymath", sans-serif !important;
  font-weight: 500 !important;
}

/* =========================================
   ARROWS
   ========================================= */

   /* =========================================================
   BLOG ITEM PAGINATION — P3 + Epicene Arrows
   ========================================================= */

/* 0️⃣ Reset SQS default icon */
.item-pagination .item-pagination-icon {
  display: none !important;
}

/* 1️⃣ Base link container */
.item-pagination-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 2rem;   /* space for ← */
  padding-right: 2rem;  /* space for → */
  text-decoration: none !important;
}

/* 2️⃣ Pagination Title (Matches P3) */
.item-pagination .item-pagination-title,
.item-pagination a .item-pagination-title,
.item-pagination-link .item-pagination-title {
  font-family: "Epicene Text", serif !important;
  font-weight: 300 !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  letter-spacing: -0.02em !important;
  color: #111 !important;
  margin: 0 !important;
  text-transform: none !important;
}

/* 3️⃣ Epicene pseudo-element arrows */
.item-pagination-link--prev::before,
.item-pagination-link--next::after {
  font-family: "Epicene Text", serif !important;
  font-weight: 300 !important;
  font-size: 1rem !important;
  line-height: 1;
  letter-spacing: -0.02em;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* ← left arrow */
.item-pagination-link--prev::before {
  content: "←";
  left: 0;
}

/* → right arrow */
.item-pagination-link--next::after {
  content: "→";
  right: 0;
}

/* MOBILE — smaller P3 */
@media (max-width: 767px) {
  .item-pagination .item-pagination-title,
  .item-pagination a .item-pagination-title,
  .item-pagination-link .item-pagination-title {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }

  .item-pagination-link--prev::before,
  .item-pagination-link--next::after {
    font-size: 0.85rem !important;
  }
}

.testimonial-slideshow .slide-nav {
  position: absolute;
  background: none;
  border: 0;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: #111;
  z-index: 10;
  transition: opacity 0.3s ease;
  font-family: "Epicene Text", serif !important;
  font-weight: 300;
  letter-spacing: -0.02em;
}

/* Desktop default: vertically centred, nudged into the margins */
@media (min-width: 768px) {
  .testimonial-slideshow .slide-nav {
    top: 50%;
    transform: translateY(-50%);
  }

  .testimonial-slideshow .slide-nav.prev {
    left: 0;
    transform: translate(-120%, -50%);   /* left of the content but still visible */
  }

  .testimonial-slideshow .slide-nav.next {
    right: 0;
    transform: translate(120%, -50%);    /* right of the content but still visible */
  }
}

/* Mobile: stacked layout + arrows around top of text block */
@media (max-width: 767px) {

  /* Stack image + copy (your existing layout) */
  .testimonial-slideshow .slide-inner {
    flex-direction: column;
  }

  .testimonial-slideshow .slide-media img {
    width: 100%;
    max-width: 350px;
  }

  .testimonial-slideshow .slide-copy {
    text-align: center;
    padding: 1em;
  }

/* Arrows: fixed distance from top */
  .testimonial-slideshow .slide-nav {
    top: 580px;                /* <-- adjust this value to the exact sweet spot */
    font-size: 1rem;
    transform: translateY(-50%);
  }

   /* LEFT ARROW — pushed into gutter with spacing */
  .testimonial-slideshow .slide-nav.prev {
    left: 10px;                     /* spacing from the edge */
    transform: translate(-120%, -50%);
  }

  /* RIGHT ARROW — pushed into gutter with spacing */
  .testimonial-slideshow .slide-nav.next {
    right: 10px;                    /* spacing from the edge */
    transform: translate(120%, -50%);
  }
}

.testimonial-slideshow .slide-nav:hover {
  opacity: 0.6;
}

/* ==============================
   AS FEATURED MARQUEE
   ============================== */
   
.featured-marquee{
  --bg: #263BE5;
  --bar-h: 150px;             /* was 200px */
  --logo-h: 84px;             /* keep logos same size */
  --gap: clamp(28px, 5vw, 64px);
  --label-w: clamp(160px, 18vw, 260px);
  --dist: 0px;                 /* JS sets exact distance */
  --dur: 18s;                  /* JS may override */
  background: var(--bg);
  height: var(--bar-h);
  overflow: hidden;
  position: relative;
}

.featured-track{
  height: 100%;
  display: flex;
  align-items: center;
  will-change: transform;
}

.featured-track.animated{
  animation: marquee var(--dur) linear infinite;
}

/* Hide the attention marquee when the flyout menu is open */
.header--menu-open .attn-marquee {
  display: none !important;
}

@keyframes marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--dist))); }
}

.featured-content{
  display: inline-flex;
  align-items: center;
  gap: var(--gap);
  flex: 0 0 auto;
  white-space: nowrap;
  line-height: 0;
}

.featured-content .cell-label{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Center the label text horizontally */
.featured-content .cell-label {
  flex: 0 0 var(--label-w);
  height: 100%;
  color: #fff;
  font-family: "polymath-display", sans-serif;
  font-weight: 600;
  letter-spacing: .01em;
  font-size: clamp(16px, 1.2vw + 8px, 22px);
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  display: flex;              /* NEW */
  align-items: center;        /* NEW */
  justify-content: center; 
   margin-left: 5vw;   /* NEW — centers horizontally */
}


.featured-content img{
  display: block;
  height: var(--logo-h);       /* NEW: decouple from bar height */
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .95;
  transition: opacity .2s;
}
.featured-content img:hover{ opacity: 1; }

@media (prefers-reduced-motion: reduce){
  .featured-track.animated{ animation: none; }
}

/* ==============================
   HOVER CARD ON MOBILE JS-driven active state
   ============================== */

   /* Force the active state to show overlay/content on touch */
#hover-grid-6 .hover-card.is-active .hover-card__overlay,
#hover-grid-6 .hover-card.is-active .hover-card__content{
  opacity: 1 !important;
}

/* (Optional) give the active card a micro-lift on mobile */
@media (hover:none), (pointer:coarse){
  #hover-grid-6 .hover-card{ transform: translateZ(0); transition: transform .24s ease; }
  #hover-grid-6 .hover-card.is-active{ transform: scale(1.01); }
}

/* Title — Epicene by default */
#hover-grid-2up .hover-card__content h2 {
  margin: 0;
  font-family: "Epicene Text", serif;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111;
}

/* Bold inside the h2 → becomes Polymath 500 */
#hover-grid-2up .hover-card__content h2 strong {
  font-family: "polymath", sans-serif;
  font-weight: 500;
}

/* Mobile vertical spacing ONLY (40px between cards) */
@media (max-width: 767px) {
  #hover-grid-2up .hover-grid {
    row-gap: 40px !important;
  }
}

/* Accordion body text – Fluid Engine / Mentoring page */
.sqs-block-accordion .accordion-item__description.sqsrte-small,
.sqs-block-accordion .accordion-item__description.sqsrte-small p {
  font-family: "Epicene Text", serif !important;
  font-weight: 300 !important;
  font-size: 1.25rem !important;
  line-height: 1.45 !important;
  letter-spacing: -0.02em;
  color: #222;
  white-space: normal !important;   /* override inline pre-wrap */
  margin: 0 0 1em 0;
}

/* Optional – remove the extra bottom padding Fluid Engine adds */
.sqs-block-accordion .accordion-item__description.sqsrte-small {
  padding-bottom: 10px !important;  /* or 0 if you want it tight */
}

/* ================================
   FOOTER SEARCH — WHITE EPICENE
   ================================ */

/* Positioning context for the icon */
.sqs-search-ui-button-wrapper.color-light {
  position: relative;
}

/* Input styling */
.sqs-search-ui-button-wrapper.color-light .search-input {
  background-color: transparent !important;
  background-image: none !important;   /* kill default PNG icon */
  border: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-family: "Epicene Text", serif !important;
  font-weight: 300 !important;
  font-size: 0.95rem;
  line-height: 1.3;
  padding-left: 2rem !important; /* space for icon on left */
  outline: none !important;
}

.sqs-search-ui-button-wrapper .search-input {
    opacity: 1;
    font-family: "Epicene Text", serif !important;
  font-size: 0.95rem;
  font-weight: 300;
}

/* Placeholder text in white Epicene */
.sqs-search-ui-button-wrapper.color-light .search-input::placeholder {
  color: #ffffff !important;
  font-family: "Epicene Text", serif !important;
  font-size: 0.95rem;
  font-weight: 300;
}

/* White search icon (matches black one on search page) */
.sqs-search-ui-button-wrapper.color-light::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background-color: #ffffff;

  /* SVG mask – white stroke */
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.65' y1='16.65' x2='21' y2='21'/%3E%3C/svg%3E")
       center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.65' y1='16.65' x2='21' y2='21'/%3E%3C/svg%3E")
              center / contain no-repeat;

  pointer-events: none;
}

/* Search Input Styling - Main Page */
.search-input {
  color: fff;
font-family: "Epicene Text", serif !important;
  font-weight: 300 !important;
  font-size: 0.85rem;
}

/* Focus State - Main Page */
.search-input:focus {
  color: fff;
font-family: "Epicene Text", serif !important;
  font-weight: 300 !important;
  font-size: 0.85rem;
  outline: none !important;
}

/* Search Input Styling - Results Page */
.sqs-search-page-input {
    font-family: "Epicene Text", serif !important;
  font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.8rem);
  line-height: 1.2;
  border: none !important;
  color: 000;
}

/* Focus State - Results Page */
.sqs-search-page-input:focus {
  outline: none !important;
}

/* Highlighted Search Terms */
.sqs-search-container-item em {
  font-family: "polymath", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-style: normal;
  background: #f7e800;
}

/* Results Page Width */
.sqs-search-page {
  width: 90% !important;
  margin: auto !important;
}

/* Results Images */
.sqs-search-page-item .sqs-main-image {
  border-radius: none;
}

/* ======================================================
   SEARCH PAGE — Typography Fixes
   ====================================================== */

/* 1) PAGE HEADLINE (e.g., “Search Results for 'x'”) */
.search-page h1,
.search-page .sqs-search-title {
  font-family: "polymath", sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  letter-spacing: -0.02em;
  font-style: normal !important;
  margin-bottom: 1.5rem !important;
}

/* 2) SEARCH RESULT TITLES */
.sqs-search-container .sqs-search-result-title,
.sqs-search-container .sqs-search-result-title a {
  font-family: "polymath", sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  font-style: normal !important;
  text-decoration: none !important;
  font-size: 1.4rem !important;
  line-height: 1.25 !important;
  color: #111 !important;
}

/* Title hover (optional) */
.sqs-search-container .sqs-search-result-title a:hover {
  text-decoration: underline;
}

/* 3) SNIPPET / DESCRIPTION TEXT — remove italics */
.sqs-search-container .sqs-search-excerpt,
.sqs-search-container .sqs-search-excerpt *,
.sqs-search-container .sqs-search-excerpt em,
.sqs-search-container .sqs-search-excerpt i {
  font-family: "Epicene Text", serif !important;
  font-weight: 300 !important;
  font-style: normal !important;   /* removes auto italics */
  letter-spacing: -0.02em;
  font-size: 1rem !important;
  line-height: 1.45 !important;
  color: #111 !important;
}
/* =========================================
   SEARCH INPUT — Replace Default PNG Icon
   ========================================= */

/* Remove the baked-in background image */
.sqs-search-page-input {
  background-image: none !important;
  position: relative !important;
  padding-left: 50px !important; /* space for new icon */
}

/* Inject custom icon */
.sqs-search-page-input::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background-color: #000; /* icon colour */
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" stroke="black" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="7"/><line x1="16.65" y1="16.65" x2="21" y2="21"/></svg>') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" stroke="black" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="7"/><line x1="16.65" y1="16.65" x2="21" y2="21"/></svg>') center / contain no-repeat;
  pointer-events: none;
}

/* Kill italics on search result highlights */
.sqs-search-page .sqs-search-container-item em,
.sqs-search-page .sqs-search-container-item i {
  font-style: normal !important;
}

/* Search results — make the truncation arrow use Epicene */
.sqs-search-page .sqs-search-container-item .sqs-content em::after,
.sqs-search-page .sqs-search-container-item em span::after {
  font-family: "Epicene Text", serif !important;
  font-weight: 300 !important;
  letter-spacing: -0.02em !important;
}

/* Also target any stray arrow characters inside <em> or spans */
.sqs-search-page .sqs-search-container-item em,
.sqs-search-page .sqs-search-container-item span {
  font-family: "Epicene Text", serif !important;
}

/* ============================
   SEARCH RESULTS – TITLE = Polymath
   ============================ */

/* Result titles in the search list */
.sqs-search-page .sqs-search-container-item .sqs-title,
.sqs-search-page .sqs-search-container-item .sqs-title a {
  font-family: "polymath", sans-serif !important;
  font-weight: 500 !important;
  font-style: normal !important;
  font-size: 1.25rem;         /* tweak as needed */
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-decoration: none !important;
}

@media (max-width: 767px) {
  .sqs-search-page .sqs-search-container-item .sqs-title,
  .sqs-search-page .sqs-search-container-item .sqs-title a {
    font-size: 1.1rem;
  }
}

/* ===========================================
   SEARCH RESULTS — CLEAN “SEE MORE” BUTTON
   =========================================== */

.sqs-search-page-more-wrapper .sqs-search-page-more.sqs-system-button-style-mixin.sqs-editable-button.sqs-button-element--primary[role="button"] {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 2rem 0 !important;
  display: inline-block !important;
  font-family: "Epicene Text", serif !important;
  font-weight: 300 !important;
  font-size: 1rem !important;
  line-height: 1.2 !important;
  color: #111 !important;
  text-transform: none !important;
  cursor: pointer !important;
}

/* Remove inner span colour overrides */
.sqs-search-page-more-wrapper .sqs-search-page-more span {
  color: #111 !important;
  font-family: "Epicene Text", serif !important;
  font-weight: 300 !important;
  letter-spacing: -0.01em;
}

/* Optional hover */
.sqs-search-page-more-wrapper .sqs-search-page-more:hover {
  text-decoration: underline !important;
}

/* Remove blue focus ring */
.sqs-search-page-more-wrapper .sqs-search-page-more:focus {
  outline: none !important;
  box-shadow: none !important;
}
/* ============================================
   SEARCH RESULTS PAGE — INPUT FIXES
   Remove focus border + reduce font size
   ============================================ */

/* Main search input */
.sqs-search-page-input {
  font-family: "Epicene Text", serif !important;
  font-weight: 300 !important;

  /* ↓ Adjust to whatever size you prefer */
  font-size: 1.1rem !important;

  color: #111 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;

  background-color: transparent !important;

  /* Optional: shrink padding slightly */
  padding: 0.6em 1em 0.6em 2.8em !important;
}

/* Fully kill ANY browser focus styling */
.sqs-search-page-input:focus,
.sqs-search-page-input:focus-visible,
.sqs-search-page-input:active {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Also targets mobile Safari specifically */
input.sqs-search-page-input {
  -webkit-appearance: none !important;
  appearance: none !important;
}