/* ===================================================================
   The Daley Group — Brand overlay (Brand Guidelines v1.0, June 2026)
   Injected LAST into every page so it wins the cascade.
   Strategy: (1) load the two brand fonts, (2) REMAP the font-family
   names this Squarespace site already uses onto the brand fonts —
   a pure glyph swap, no layout change — and (3) enforce the display
   vs functional type hierarchy + palette.
   =================================================================== */

/* ---- 1. Load brand fonts --------------------------------------- */
@font-face{font-family:'Cormorant Garamond';src:url('/brand/fonts/CormorantGaramond.woff2') format('woff2');font-weight:300 700;font-style:normal;font-display:swap;}
@font-face{font-family:'Cormorant Garamond';src:url('/brand/fonts/CormorantGaramond-Italic.woff2') format('woff2');font-weight:300 700;font-style:italic;font-display:swap;}
@font-face{font-family:'Glacial Indifference';src:url('/brand/fonts/GlacialIndifference-Regular.woff') format('woff');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Glacial Indifference';src:url('/brand/fonts/GlacialIndifference-Bold.woff') format('woff');font-weight:700;font-style:normal;font-display:swap;}

/* ---- 2. Remap the site's existing font names to the brand -------- */
/* Retired DISPLAY fonts -> Cormorant Garamond (variable) */
@font-face{font-family:'Playfair Display';src:url('/brand/fonts/CormorantGaramond.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap;}
@font-face{font-family:'Playfair Display';src:url('/brand/fonts/CormorantGaramond-Italic.woff2') format('woff2');font-weight:100 900;font-style:italic;font-display:swap;}
@font-face{font-family:'PLAYFAIR';src:url('/brand/fonts/CormorantGaramond.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap;}
/* Retired FUNCTIONAL fonts -> Glacial Indifference */
@font-face{font-family:'Open Sans';src:url('/brand/fonts/GlacialIndifference-Regular.woff') format('woff');font-weight:100 500;font-style:normal;font-display:swap;}
@font-face{font-family:'Open Sans';src:url('/brand/fonts/GlacialIndifference-Bold.woff') format('woff');font-weight:600 900;font-style:normal;font-display:swap;}
@font-face{font-family:'Josefin Sans';src:url('/brand/fonts/GlacialIndifference-Regular.woff') format('woff');font-weight:100 500;font-style:normal;font-display:swap;}
@font-face{font-family:'Josefin Sans';src:url('/brand/fonts/GlacialIndifference-Bold.woff') format('woff');font-weight:600 900;font-style:normal;font-display:swap;}
@font-face{font-family:'Raleway';src:url('/brand/fonts/GlacialIndifference-Regular.woff') format('woff');font-weight:100 500;font-style:normal;font-display:swap;}
@font-face{font-family:'Raleway';src:url('/brand/fonts/GlacialIndifference-Bold.woff') format('woff');font-weight:600 900;font-style:normal;font-display:swap;}
/* Ensure the owner's existing GLACIAL faces resolve even if their OTF 404s */
@font-face{font-family:'GLACIAL';src:url('/brand/fonts/GlacialIndifference-Regular.woff') format('woff');font-display:swap;}
@font-face{font-family:'GLACIALBOLD';src:url('/brand/fonts/GlacialIndifference-Bold.woff') format('woff');font-display:swap;}

/* ---- 3. Type hierarchy: DISPLAY -> Cormorant, FUNCTIONAL -> Glacial */
h1, .banner-title, .index-section .section-title, [data-content-field="site-title"],
.page-title, .entry-title, .index-section-wrapper h1, .sqs-block-html h1{
  font-family:'Cormorant Garamond', Georgia, serif !important;
  font-weight:300 !important; letter-spacing:.02em !important; color:#323744;
}
h2, .sqs-block-html h2{
  font-family:'Cormorant Garamond', Georgia, serif !important;
  font-weight:400 !important; letter-spacing:.02em !important; color:#323744;
}
blockquote, .sqs-block-quote, .pullquote, .quote-block, .sqs-block-quote .source{
  font-family:'Cormorant Garamond', Georgia, serif !important; font-style:italic !important;
  border-left:3px solid #C4A46B; padding-left:1rem;
}
body, p, li, .sqs-block-html, .sqs-html-content,
nav a, .header-nav a, .Header-nav-item, .sqs-block-button-element{
  font-family:'Glacial Indifference', Arial, sans-serif !important;
}
h3, h4, h5, h6, .area-title, .sqs-block-button-element{
  font-family:'Glacial Indifference', Arial, sans-serif !important;
}
body{ color:#323744; }
p, li{ color:#323744; font-size:max(16px, 1rem); }

/* ---- 4. Palette: teal anchor + champagne accent ---------------- */
.sqs-block-button-element, .sqs-block-button-element--small,
.sqs-block-button-element--medium, .sqs-block-button-element--large,
a.sqs-block-button-element{
  background-color:#009CBD !important; border-color:#009CBD !important; color:#fff !important;
  letter-spacing:.08em; text-transform:none;
}
.sqs-block-button-element:hover, a.sqs-block-button-element:hover{
  background-color:#007e99 !important;
}

/* ---- 5. Mirror pages: hide old Squarespace chrome (new IA shell injected) --- */
#header, #sidecarNav, #mobileNavigation, .social-media-header,
.sqs-announcement-bar-dropzone, #footer, .preFooter, #preFooter,
#floating-social, .sqs-mobile-header, #mobileMenuLink {
  display: none !important;
}
/* new-IA injected shell sits above the mirror content */
.tdg-mirror-shell .tdg-header { position: sticky; top: 0; }
