/* C i Marketing website stylesheet
   Rebuilt from the live Squarespace design: same palette, Pipe typefaces, slanted section dividers,
   copper gradient buttons and the 24 column fluid grid layout. */

@font-face { font-family: "Pipe"; src: url("fonts/Pipe-Light.otf") format("opentype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Pipe"; src: url("fonts/Pipe-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Pipe"; src: url("fonts/Pipe-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Pipe Regular"; src: url("fonts/Pipe-Regular.otf") format("opentype"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --textBlockBackgroundColor: hsla(var(--white-hsl), 1);
  /* Site palette (exact values from the live site) */
  --white-hsl: 24, 50%, 96.08%;
  --black-hsl: 60, 1.27%, 30.98%;
  --accent-hsl: 96, 7.69%, 87.25%;
  --lightAccent-hsl: 28.8, 27.47%, 82.16%;
  --darkAccent-hsl: 201, 26.67%, 29.41%;
  --safeLightAccent-hsl: 96, 7.69%, 87.25%;
  --safeDarkAccent-hsl: 0, 0%, 0%;
  --safeInverseAccent-hsl: 0, 0%, 0%;
  --safeInverseLightAccent-hsl: 0, 0%, 0%;
  --safeInverseDarkAccent-hsl: 0, 0%, 100%;

  --cream: #FAF4F0;          /* white  */
  --charcoal: #50504E;       /* black  */
  --sage: #DEE1DC;           /* accent */
  --sand: #DED1C5;           /* light accent */
  --navy: #37515F;           /* dark accent */
  --copper: #A15D45;
  --copper-dark: #9B563E;
  --copper-mid: #B86F52;
  --copper-light: #F4B491;

  --primary: var(--navy);
  --secondary: var(--sand);
  --accent: var(--copper);
  --text: var(--charcoal);
  --text-light: #6B6B69;
  --bg: var(--cream);
  --bg-soft: var(--sage);
  --extra-1: var(--sage);
  --extra-2: var(--sand);

  --heading-font: "Pipe", "Nunito Sans", sans-serif;
  --body-font: "Pipe", "Nunito Sans", sans-serif;

  --maxPageWidth: 1206px;
  --site-gutter: 3vw;
  --mobile-gutter: 6vw;
  --divider-height: 13vw;
  --pagePadding: 3vw;
  --header-height: 82px;

  /* default (white) section theme */
  --siteBackgroundColor: hsla(var(--white-hsl), 1);
  --headingLargeColor: hsla(var(--black-hsl), 1);
  --headingMediumColor: hsla(var(--black-hsl), 1);
  --headingSmallColor: hsla(var(--white-hsl), 1);
  --paragraphLargeColor: hsla(var(--black-hsl), 1);
  --paragraphMediumColor: hsla(var(--black-hsl), 1);
  --paragraphSmallColor: hsla(var(--black-hsl), 1);
  --paragraphLinkColor: hsla(var(--safeDarkAccent-hsl), 1);
  --primaryButtonBackgroundColor: hsla(15.65, 40%, 45.1%, 1);
  --primaryButtonTextColor: hsla(var(--white-hsl), 1);
  --secondaryButtonBackgroundColor: hsla(var(--darkAccent-hsl), 1);
  --secondaryButtonTextColor: hsla(var(--white-hsl), 1);
  --accordionTitleColor: hsla(var(--black-hsl), 1);
  --accordionIconColor: hsla(var(--black-hsl), 1);
}

/* Section themes */
[data-theme="white-bold"] { --headingSmallColor: hsla(var(--black-hsl), 1); --primaryButtonBackgroundColor: hsla(var(--safeDarkAccent-hsl), 1); }
[data-theme="light"] { --siteBackgroundColor: hsla(var(--lightAccent-hsl), 1); --headingSmallColor: hsla(var(--black-hsl), 1); --primaryButtonBackgroundColor: hsla(var(--safeDarkAccent-hsl), 1); }
[data-theme="light-bold"] { --siteBackgroundColor: hsla(var(--lightAccent-hsl), 1); --headingLargeColor: hsla(var(--safeDarkAccent-hsl), 1); --headingMediumColor: hsla(var(--safeDarkAccent-hsl), 1); --headingSmallColor: hsla(var(--safeDarkAccent-hsl), 1); --primaryButtonBackgroundColor: hsla(var(--safeDarkAccent-hsl), 1); --primaryButtonTextColor: hsla(var(--safeInverseDarkAccent-hsl), 1); --secondaryButtonBackgroundColor: hsla(var(--safeDarkAccent-hsl), 1); --secondaryButtonTextColor: hsla(var(--safeInverseDarkAccent-hsl), 1); }
[data-theme="dark"] { --textBlockBackgroundColor: hsla(var(--white-hsl), 1); --siteBackgroundColor: hsla(var(--darkAccent-hsl), 1); --headingLargeColor: hsla(var(--white-hsl), 1); --headingMediumColor: hsla(var(--white-hsl), 1); --headingSmallColor: hsla(var(--white-hsl), 1); --paragraphLargeColor: hsla(var(--white-hsl), 1); --paragraphMediumColor: hsla(var(--white-hsl), 1); --paragraphSmallColor: hsla(var(--white-hsl), 1); --paragraphLinkColor: hsla(var(--safeLightAccent-hsl), 1); --primaryButtonBackgroundColor: hsla(var(--safeLightAccent-hsl), 1); --primaryButtonTextColor: hsla(var(--safeInverseLightAccent-hsl), 1); --secondaryButtonBackgroundColor: hsla(var(--safeLightAccent-hsl), 1); --secondaryButtonTextColor: hsla(var(--safeInverseLightAccent-hsl), 1); --accordionTitleColor: hsla(var(--white-hsl), 1); --accordionIconColor: hsla(var(--white-hsl), 1); }
[data-theme="dark-bold"] { --siteBackgroundColor: hsla(var(--darkAccent-hsl), 1); --headingLargeColor: hsla(var(--safeLightAccent-hsl), 1); --headingMediumColor: hsla(var(--safeLightAccent-hsl), 1); --headingSmallColor: hsla(var(--safeLightAccent-hsl), 1); --paragraphLargeColor: hsla(var(--white-hsl), 1); --paragraphMediumColor: hsla(var(--white-hsl), 1); --paragraphSmallColor: hsla(var(--white-hsl), 1); --paragraphLinkColor: hsla(var(--safeLightAccent-hsl), 1); --primaryButtonBackgroundColor: hsla(var(--white-hsl), 1); --primaryButtonTextColor: hsla(var(--white-hsl), 1); --secondaryButtonBackgroundColor: hsla(var(--lightAccent-hsl), 1); --secondaryButtonTextColor: hsla(var(--darkAccent-hsl), 1); --accordionTitleColor: hsla(var(--white-hsl), 1); --accordionIconColor: hsla(var(--white-hsl), 1); }
[data-theme="black"] { --headingLargeColor: hsla(var(--white-hsl), 1); --headingMediumColor: hsla(var(--white-hsl), 1); --headingSmallColor: hsla(var(--white-hsl), 1); --paragraphLargeColor: hsla(var(--white-hsl), 1); --paragraphMediumColor: hsla(var(--white-hsl), 1); --paragraphSmallColor: hsla(var(--white-hsl), 1); --paragraphLinkColor: hsla(var(--safeLightAccent-hsl), 1); --primaryButtonBackgroundColor: hsla(var(--safeLightAccent-hsl), 1); --primaryButtonTextColor: hsla(var(--safeInverseLightAccent-hsl), 1); --secondaryButtonBackgroundColor: hsla(var(--safeLightAccent-hsl), 1); --secondaryButtonTextColor: hsla(var(--safeInverseLightAccent-hsl), 1); }
[data-theme="black-bold"] { --siteBackgroundColor: hsla(var(--black-hsl), 1); --headingLargeColor: hsla(var(--safeLightAccent-hsl), 1); --headingMediumColor: hsla(var(--safeLightAccent-hsl), 1); --headingSmallColor: hsla(var(--safeLightAccent-hsl), 1); --paragraphLargeColor: hsla(var(--white-hsl), 1); --paragraphMediumColor: hsla(var(--white-hsl), 1); --paragraphSmallColor: hsla(var(--white-hsl), 1); --paragraphLinkColor: hsla(var(--safeLightAccent-hsl), 1); --primaryButtonBackgroundColor: hsla(var(--safeLightAccent-hsl), 1); --primaryButtonTextColor: hsla(var(--safeInverseLightAccent-hsl), 1); --secondaryButtonBackgroundColor: hsla(var(--safeLightAccent-hsl), 1); --secondaryButtonTextColor: hsla(var(--safeInverseLightAccent-hsl), 1); }
[data-theme="bright"] { --textBlockBackgroundColor: hsla(var(--safeInverseAccent-hsl), 1); --siteBackgroundColor: hsla(var(--accent-hsl), 1); --headingLargeColor: hsla(var(--safeInverseAccent-hsl), 1); --headingMediumColor: hsla(var(--safeInverseAccent-hsl), 1); --headingSmallColor: hsla(var(--safeInverseAccent-hsl), 1); --paragraphLargeColor: hsla(var(--safeInverseAccent-hsl), 1); --paragraphMediumColor: hsla(var(--safeInverseAccent-hsl), 1); --paragraphSmallColor: hsla(var(--safeInverseAccent-hsl), 1); --paragraphLinkColor: hsla(var(--safeInverseAccent-hsl), 1); --primaryButtonBackgroundColor: hsla(var(--safeInverseAccent-hsl), 1); --primaryButtonTextColor: hsla(var(--accent-hsl), 1); --secondaryButtonBackgroundColor: hsla(var(--safeInverseAccent-hsl), 1); --secondaryButtonTextColor: hsla(var(--accent-hsl), 1); }
[data-theme="bright-inverse"] { --textBlockBackgroundColor: hsla(var(--accent-hsl), 1); --siteBackgroundColor: hsla(var(--safeInverseAccent-hsl), 1); --headingLargeColor: hsla(var(--accent-hsl), 1); --headingMediumColor: hsla(var(--accent-hsl), 1); --headingSmallColor: hsla(var(--accent-hsl), 1); --paragraphLargeColor: hsla(var(--accent-hsl), 1); --paragraphMediumColor: hsla(var(--accent-hsl), 1); --paragraphSmallColor: hsla(var(--accent-hsl), 1); --paragraphLinkColor: hsla(var(--accent-hsl), 1); --primaryButtonBackgroundColor: hsla(var(--accent-hsl), 1); --primaryButtonTextColor: hsla(var(--safeInverseAccent-hsl), 1); --secondaryButtonBackgroundColor: hsla(var(--accent-hsl), 1); --secondaryButtonTextColor: hsla(var(--safeInverseAccent-hsl), 1); }

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 17px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body-font); font-weight: 300; letter-spacing: .07em; line-height: 1.8em; overflow-x: clip; }
img, video, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; font-family: var(--body-font); letter-spacing: .04em; }
button { font: inherit; }
ul, ol { padding-left: 1.5em; }
li { margin: 0; }
li > p { margin: 0; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--heading-font); font-weight: 700; letter-spacing: .015em; margin: 2rem 0; }
h1 { font-size: min(calc(2.8 * 1.2vw + 1rem), 3.8rem); line-height: calc(1.3em * (1 + (1 - 3.8) / 25)); color: var(--headingLargeColor); }
h2 { font-size: min(calc(1.8 * 1.2vw + 1rem), 2.8rem); line-height: calc(1.3em * (1 + (1 - 2.8) / 25)); color: var(--headingLargeColor); }
h3 { font-size: min(calc(.9 * 1.2vw + 1rem), 1.9rem); line-height: calc(1.3em * (1 + (1 - 1.9) / 25)); font-weight: 400; color: var(--headingMediumColor); }
h4 { font-size: min(calc(.7 * 1.2vw + 1rem), 1.7rem); line-height: calc(1.3em * (1 + (1 - 1.7) / 25)); font-weight: 400; color: var(--headingSmallColor); }
h5, h6 { font-size: 1.2rem; font-weight: 400; color: var(--headingSmallColor); }
p { margin: 1rem 0; font-size: min(calc(.1 * 1.2vw + 1rem), 1.1rem); line-height: 1.8em; color: var(--paragraphMediumColor); }
p.sqsrte-large, .sqsrte-large { font-size: min(calc(.2 * 1.2vw + 1rem), 1.2rem); color: var(--paragraphLargeColor); }
p.sqsrte-small, .sqsrte-small { font-size: 1rem; color: var(--paragraphSmallColor); }
strong { font-weight: 700; }
blockquote { font-family: var(--heading-font); font-weight: 400; font-size: min(calc(.7 * 1.2vw + 1rem), 1.7rem); line-height: 1.3em; letter-spacing: .04em; margin: 0; }
.rich a { color: var(--paragraphLinkColor); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich ul, .rich ol { margin: 1rem 0; }
.rich li { font-size: min(calc(.1 * 1.2vw + 1rem), 1.1rem); line-height: 1.8em; color: var(--paragraphMediumColor); }
.rich li p { margin: 0; }
.rich [data-align="center"] { text-align: center; }
.rich [data-align="right"] { text-align: right; }
.rich [data-align="left"] { text-align: left; }
.rich [data-align="justify"] { text-align: justify; }
.sqsrte-text-color--white { color: hsla(var(--white-hsl), 1); }
.sqsrte-text-color--black { color: hsla(var(--black-hsl), 1); }
.sqsrte-text-color--accent { color: hsla(var(--accent-hsl), 1); }
.sqsrte-text-color--lightAccent { color: hsla(var(--lightAccent-hsl), 1); }
.sqsrte-text-color--darkAccent { color: hsla(var(--darkAccent-hsl), 1); }
.sqsrte-text-color--safeDarkAccent { color: hsla(var(--safeDarkAccent-hsl), 1); }
.sqsrte-text-color--safeLightAccent { color: hsla(var(--safeLightAccent-hsl), 1); }

/* Skip link */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--cream); padding: .5rem 1rem; z-index: 2000; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 900; background: hsla(var(--white-hsl), .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-height); padding: 4px 3.3vw; margin: 0 auto; }
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { width: 20vw; max-width: 390px; min-width: 150px; height: auto; }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .85rem; }
.site-nav li { position: relative; }
.site-nav a, .site-nav .nav-folder-btn { font-family: var(--body-font); font-weight: 300; letter-spacing: .045em; font-size: 1.2rem; color: hsla(var(--black-hsl), 1); text-decoration: none; background: none; border: 0; padding: .4rem .3rem; cursor: pointer; display: inline-flex; align-items: center; gap: .25rem; line-height: 1.2; }
.site-nav a:hover, .site-nav .nav-folder-btn:hover, .site-nav a.is-active { opacity: .75; }
.site-nav a.is-active { text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px; }
.site-nav .chevron { width: .55em; height: .55em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-.15em); margin-left: .2rem; }
.site-nav .nav-folder { position: absolute; top: 100%; left: 0; min-width: 18rem; background: hsla(var(--white-hsl), 1); padding: .6rem 0; display: none; flex-direction: column; box-shadow: 0 10px 30px rgba(80, 80, 78, .12); z-index: 10; }
.site-nav .nav-folder a { display: block; padding: .5rem 1.2rem; font-size: 1.05rem; white-space: nowrap; }
.site-nav li.is-open > .nav-folder, .site-nav li:hover > .nav-folder, .site-nav li:focus-within > .nav-folder { display: flex; }
.header-actions { display: none; align-items: center; gap: .9rem; }
.header-social { display: flex; gap: .55rem; align-items: center; }
.header-social a { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; color: hsla(var(--black-hsl), 1); }
.header-social svg { width: 17px; height: 17px; fill: currentColor; }
.header-social svg[fill="none"] { fill: none; }
.btn-header { display: inline-flex; align-items: center; justify-content: center; font-family: var(--heading-font); font-weight: 400; font-size: .855rem; letter-spacing: .05em; text-transform: uppercase; color: hsla(var(--white-hsl), 1); background-image: linear-gradient(90deg, var(--copper-dark), var(--copper-dark), var(--copper-dark), var(--copper-mid), var(--copper-light), var(--copper-dark)); border: 1px solid var(--copper); border-radius: 6.8px; padding: 1.1em 2.1em; line-height: 1.2em; text-decoration: none; white-space: nowrap; }
.btn-header:hover { opacity: .9; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: hsla(var(--black-hsl), 1); border-radius: 2px; transition: transform .2s, opacity .2s; }
.mobile-nav { display: none; background: hsla(var(--white-hsl), 1); padding: .5rem var(--mobile-gutter) 1.5rem; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { margin: 0; }
.mobile-nav a, .mobile-nav .nav-folder-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; font-family: var(--body-font); font-weight: 300; font-size: 1.25rem; letter-spacing: .045em; color: hsla(var(--black-hsl), 1); text-decoration: none; padding: .7rem 0; background: none; border: 0; cursor: pointer; min-height: 44px; }
.mobile-nav .nav-folder { display: none; padding: 0 0 .5rem 1rem; }
.mobile-nav li.is-open > .nav-folder { display: block; }
.mobile-nav .nav-folder a { font-size: 1.05rem; padding: .5rem 0; }
.mobile-nav .chevron { width: .6em; height: .6em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.mobile-nav li.is-open > .nav-folder-btn .chevron { transform: rotate(225deg); }
.mobile-nav .mobile-actions { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; align-items: flex-start; }
body.nav-open { overflow: hidden; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .site-nav, .header-actions { display: flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
}

/* Sections */
main { display: block; }
.sec { position: relative; background: var(--siteBackgroundColor); color: var(--paragraphMediumColor); overflow: visible; }
.sec-inner { position: relative; z-index: 2; }
/* Section padding and minimum heights, matched to the live site's section-height and vertical-alignment settings */
.sec.section-height--small > .sec-inner { padding-top: 3.3vmax; padding-bottom: 3.3vmax; }
.sec.section-height--medium > .sec-inner { padding-top: 6.6vmax; padding-bottom: 6.6vmax; }
.sec.section-height--large > .sec-inner { padding-top: 10vmax; padding-bottom: 10vmax; }
.sec.section-height--small.vertical-alignment--top > .sec-inner { padding-top: var(--pagePadding); padding-bottom: 6.6vmax; }
.sec.section-height--medium.vertical-alignment--top > .sec-inner { padding-top: var(--pagePadding); padding-bottom: 13.2vmax; }
.sec.section-height--large.vertical-alignment--top > .sec-inner { padding-top: var(--pagePadding); padding-bottom: 20vmax; }
.sec.section-height--small.vertical-alignment--bottom > .sec-inner { padding-top: 6.6vmax; padding-bottom: var(--pagePadding); }
.sec.section-height--medium.vertical-alignment--bottom > .sec-inner { padding-top: 13.2vmax; padding-bottom: var(--pagePadding); }
.sec.section-height--large.vertical-alignment--bottom > .sec-inner { padding-top: 20vmax; padding-bottom: var(--pagePadding); }
.sec:not([class*="section-height--"]).vertical-alignment--top > .sec-inner { padding-top: var(--pagePadding); padding-bottom: 0; }
.sec.section-height--small:not(.is-listing) { min-height: 33vh; }
.sec.section-height--medium:not(.is-listing) { min-height: 66vh; }
.sec.section-height--large:not(.is-listing) { min-height: 100vh; }
.sec.vertical-alignment--middle { display: flex; flex-direction: column; justify-content: center; }
.sec.vertical-alignment--bottom { display: flex; flex-direction: column; justify-content: flex-end; }
.sec > .sec-inner { width: 100%; }
.sec-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.sec-bg img, .sec-bg video { width: 100%; height: 100%; object-fit: cover; }
.sec-bg .overlay { position: absolute; inset: 0; background: hsla(var(--black-hsl), var(--overlay, 0)); }
.sec.has-divider { padding-bottom: var(--divider-height); }
.sec.has-divider .divider-fill, .sec.has-divider .divider-stroke { position: absolute; left: 0; right: 0; bottom: -1px; height: calc(var(--divider-height) + 1px); z-index: 1; }
.sec.has-divider .divider-fill { z-index: 2; }
/* Slanted dividers: the next section's colour fills a diagonal wedge at the bottom of this section */
.sec.div-left .divider-fill, .sec.div-left .divider-stroke { clip-path: polygon(0 0, 100% calc(100% - 1px), 100% 100%, 0 100%); }
.sec.div-right .divider-fill, .sec.div-right .divider-stroke { clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 calc(100% - 1px)); }
.sec.has-divider .sec-bg { bottom: 0; }
/* When a slanted divider leads into a photo or video section, the wedge is cut out so the media shows through it */
.sec.div-into-media { z-index: 3; }
.sec.div-into-media.div-left { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--divider-height))); }
.sec.div-into-media.div-right { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--divider-height)), 0 100%); }
.sec.div-into-media .divider-fill, .sec.div-into-media .divider-stroke { display: none; }
.sec.after-media-divider { margin-top: calc(-1 * var(--prev-divider, var(--divider-height))); padding-top: var(--prev-divider, var(--divider-height)); }
.sec.is-video .sec-bg img { display: none; }
.sec.is-video .sec-bg video { display: block; }
@media (prefers-reduced-motion: reduce) { .sec.is-video .sec-bg video { display: none; } .sec.is-video .sec-bg img { display: block; } }

/* Theme "dark" sections carry the rotated content tweak from the live site */
.sec[data-theme="dark"] .sec-bg { display: none; }
.sec[data-theme="dark"] .sec-inner { transform: rotate(-6.5deg); z-index: 100; }
@media (min-width: 768px) { .sec[data-theme="dark"] .sec-inner { transform: rotate(-7.5deg); } }

/* Fluid grid (same geometry as the original 8 / 24 column engine) */
.fe { --grid-gutter: calc(var(--mobile-gutter) - 11px); --cell-max-width: calc((var(--maxPageWidth) - (11px * 7)) / 8); display: grid; position: relative; grid-template-columns: minmax(var(--grid-gutter), 1fr) repeat(8, minmax(0, var(--cell-max-width))) minmax(var(--grid-gutter), 1fr); row-gap: 0; column-gap: 11px; overflow-x: clip; }
@media (min-width: 768px) {
  .fe { --grid-gutter: calc(var(--site-gutter) - 11px); --cell-max-width: calc((var(--maxPageWidth) - (11px * 23)) / 24); --row-h: calc(var(--container-width) * .0215); --container-width: min(var(--maxPageWidth), calc(100vw - var(--site-gutter) * 2 - var(--scrollbar, 0px))); grid-template-columns: minmax(var(--grid-gutter), 1fr) repeat(24, minmax(0, var(--cell-max-width))) minmax(var(--grid-gutter), 1fr); }
}
.blk { position: relative; display: flex; flex-direction: column; justify-content: flex-start; min-width: 0; }
.blk > .blk-in { width: 100%; }
.blk.b-img > .blk-in, .blk.b-shape > .blk-in, .blk.b-video > .blk-in, .blk.b-map > .blk-in, .blk.b-btn > .blk-in { height: 100%; display: flex; flex-direction: column; }
.blk.b-text .rich { padding: 0; }
.blk.b-text.has-box { background: var(--box-bg); border-radius: var(--box-radius, 0); }
.blk.b-text.has-box > .blk-in { height: 100%; }
.blk.b-text { word-wrap: break-word; }

/* Image block */
.b-img .img-wrap { position: relative; width: 100%; display: flex; flex-direction: column; margin: 0; }
/* Non-stretched images: the frame keeps the image's ratio and fits inside the block (height first, then width), like the fluid engine */
.b-img:not(.stretched) > .blk-in { position: relative; height: 100%; container-type: size; }
.b-img:not(.stretched) .img-wrap { position: absolute; inset: 0; margin: auto; --rw: 1; --rh: 1; width: min(100cqw, calc(100cqh * var(--rw) / var(--rh))); height: min(100cqh, calc(100cqw * var(--rh) / var(--rw))); }
.b-img:not(.stretched) .img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; }
.b-img:not(.stretched) .img-wrap > a { display: block; height: 100%; }
.b-img:not(.stretched) .img-wrap figcaption { position: absolute; top: 100%; left: 0; right: 0; }
.b-img.stretched .img-wrap { position: absolute; inset: 0; }
.b-img.stretched { min-height: 100%; }
.b-img img { width: 100%; height: auto; object-fit: cover; object-position: var(--focal, 50% 50%); }
.b-img.stretched img { height: 100%; }
.b-img.stretched .img-wrap > a { display: block; height: 100%; }
.b-img.stretched a img { height: 100%; }
.b-img.mask-circle img { clip-path: ellipse(50% 50% at 50% 50%); aspect-ratio: 1 / 1; object-fit: cover; }
.b-img figcaption { font-size: .9rem; margin-top: .5rem; }

/* Shape block */
.b-shape .shape-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; container-type: size; }
.b-shape svg { width: 100%; height: 100%; overflow: visible; }
.b-shape.shape-circle svg { width: min(100cqw, 100cqh); height: min(100cqw, 100cqh); flex: 0 0 auto; }
.b-shape svg > * { fill: var(--shape-fill, none); stroke: var(--shape-stroke, none); stroke-width: var(--shape-sw, 0); vector-effect: non-scaling-stroke; stroke-linecap: square; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; font-family: "Pipe Regular", var(--heading-font); font-weight: 700; letter-spacing: .11em; text-transform: uppercase; line-height: 1.1em; text-decoration: none; border-radius: 6.8px; transition: opacity .2s, transform .2s; cursor: pointer; }
/* Fluid engine buttons fill their block, text sized as on the live site */
.blk.b-btn .btn { font-size: 1.2rem; padding: .8em 2.1em; }
.blk.b-btn.stretched .btn-wrap, .blk.b-btn.stretched .btn { height: 100%; }
.blk.b-btn.stretched .btn { padding-top: 0; padding-bottom: 0; }
.btn:hover { opacity: .9; }
.btn-primary { background-color: var(--primaryButtonBackgroundColor); background-image: linear-gradient(90deg, var(--copper-dark), var(--copper-dark), var(--copper-dark), var(--copper-mid), var(--copper-light), var(--copper-dark)); border: 1px solid var(--copper); color: var(--primaryButtonTextColor); }
.btn-secondary { background-color: var(--secondaryButtonBackgroundColor); color: var(--secondaryButtonTextColor); border: 1px solid transparent; }
.btn-tertiary { background: transparent; color: var(--paragraphMediumColor); border: 1px solid currentColor; }
.btn-small { font-size: .78rem; padding: .9em 1.6em; }
.btn-medium { font-size: .9rem; padding: 1.05em 2.1em; }
.btn-large { font-size: 1.05rem; padding: 1.1em 2.2em; }
.b-btn .btn-wrap { display: flex; width: 100%; height: 100%; }
.b-btn.align-left .btn-wrap { justify-content: flex-start; }
.b-btn.align-center .btn-wrap { justify-content: center; }
.b-btn.align-right .btn-wrap { justify-content: flex-end; }
.b-btn.stretched .btn { width: 100%; height: 100%; padding-top: .4em; padding-bottom: .4em; min-height: 44px; }
.b-btn:not(.stretched) .btn-wrap { align-items: center; }

/* Video / embed block */
.b-video .embed, .b-map .embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: hsla(var(--black-hsl), .08); overflow: hidden; }
.b-video .embed.portrait { aspect-ratio: 9 / 16; }
.b-video .embed iframe, .b-map .embed iframe, .b-video .embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.b-video video { object-fit: cover; }
.b-map .embed { aspect-ratio: auto; height: 100%; min-height: 300px; }
.b-code .code-wrap { width: 100%; }
.podcast-embed { width: 100%; max-width: 900px; margin: auto; }
.podcast-embed iframe { width: 100%; height: 375px; border: 0; }

/* Gallery block (inside fluid grid) */
.b-gallery .gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.b-gallery .gallery-grid img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
@media (min-width: 768px) { .b-gallery .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

/* Quote block */
.b-quote blockquote { color: var(--headingMediumColor); }
.b-quote figcaption { font-size: .95rem; margin-top: 1rem; }

/* Accordion */
.accordion { width: 100%; }
.accordion-item { border-top: 1px solid hsla(var(--black-hsl), .18); }
.accordion-item:last-child { border-bottom: 1px solid hsla(var(--black-hsl), .18); }
[data-theme="dark"] .accordion-item, [data-theme="dark-bold"] .accordion-item, [data-theme="dark"] .accordion-item:last-child, [data-theme="dark-bold"] .accordion-item:last-child { border-color: hsla(var(--white-hsl), .25); }
.faq-question { margin: 0; }
.faq-question button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; background: none; border: 0; padding: 1rem .2rem; cursor: pointer; font-family: var(--heading-font); font-weight: 400; font-size: min(calc(.7 * 1.2vw + 1rem), 1.7rem); line-height: .85; letter-spacing: .015em; color: var(--accordionTitleColor); min-height: 44px; }
.faq-question .plus { position: relative; flex: 0 0 14px; width: 14px; height: 14px; color: var(--accordionIconColor); }
.faq-question .plus::before, .faq-question .plus::after { content: ""; position: absolute; background: currentColor; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform .25s; }
.faq-question .plus::before { width: 14px; height: 1px; }
.faq-question .plus::after { width: 1px; height: 14px; }
.accordion-item.is-open .faq-question .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-answer { display: none; padding: 0 2rem 1.4rem 0; }
.accordion-item.is-open .faq-answer { display: block; }

/* Marquee */
.b-marquee { overflow: hidden; width: 100%; padding: .4em 0; }
/* On the rotated band the marquee runs edge to edge, so its clipping box is pushed well outside the viewport */
.sec[data-theme="dark"] .fe { overflow: visible; }
.sec[data-theme="dark"] .b-marquee { width: 160vw; margin-left: -30vw; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track span { flex: 0 0 auto; font-family: var(--heading-font); font-weight: 400; font-size: 1.5rem; line-height: 1.4; color: var(--headingLargeColor); padding: 0 .6em; white-space: nowrap; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Forms (contact, newsletter) */
.form-block { width: 100%; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.form-field label { display: block; font-family: var(--heading-font); font-weight: 400; font-size: .95rem; letter-spacing: .03em; margin-bottom: .35rem; color: var(--paragraphMediumColor); }
.form-field .req { color: var(--copper); }
.form-field input, .form-field select, .form-field textarea { width: 100%; font-family: var(--body-font); font-weight: 300; font-size: 1rem; padding: .8rem .9rem; border: 1px solid hsla(var(--black-hsl), .35); border-radius: 4px; background: #FFFFFF; color: var(--charcoal); min-height: 44px; }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.form-submit { margin-top: 1.4rem; }
.form-submit .btn { border: 1px solid var(--copper); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.newsletter { width: 100%; text-align: center; max-width: 560px; margin: 0 auto; }
.newsletter h2 { font-family: Arial, Helvetica, sans-serif; font-weight: 400; font-size: 1.2rem; letter-spacing: .07em; margin: 0 0 .5rem; color: var(--charcoal); }
.newsletter .rich p { font-size: min(calc(.1 * 1.2vw + 1rem), 1.1rem); }
.newsletter-fields { display: flex; flex-wrap: wrap; gap: .75rem; align-items: stretch; justify-content: center; margin-top: 1.4rem; }
.newsletter-fields input { flex: 0 1 300px; font-family: var(--body-font); font-weight: 300; font-size: 1.1rem; letter-spacing: .07em; padding: 1.3rem 2rem; border: 0; border-radius: 0; background: #FFFFFF; min-height: 44px; }
.newsletter-fields .btn { padding-top: 1.3rem; padding-bottom: 1.3rem; }
.newsletter-fields .btn { flex: 0 0 auto; }
.newsletter-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Social links block */
.social-links { display: flex; gap: .8rem; align-items: center; }
.social-links a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: hsla(var(--black-hsl), 1); }
.social-links svg { width: 20px; height: 20px; fill: currentColor; }

/* List section: carousel */
.list-section { position: relative; padding: var(--pad-top, 0) 0 var(--pad-bottom, 3vmax); }
.list-section .list-title { max-width: var(--maxPageWidth); margin: 0 auto 50px; padding: 0 var(--site-gutter); text-align: center; font-family: var(--heading-font); font-weight: 700; font-size: min(calc(1.8 * 1.2vw + 1rem), 2.8rem); line-height: 1.3em; color: var(--headingLargeColor); }
.list-section .list-title p { margin: 0; font: inherit; color: inherit; letter-spacing: .015em; }
.carousel { position: relative; }
.carousel-track { display: flex; gap: var(--slide-gap, 20px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--site-gutter); scroll-padding: 0 var(--site-gutter); -webkit-overflow-scrolling: touch; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 calc((100% - var(--slide-gap, 20px) * (var(--cols) - 1)) / var(--cols)); scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; }
.carousel[data-cols="3"] { --cols: 1; }
.carousel[data-cols="6"] { --cols: 2; }
@media (min-width: 768px) { .carousel[data-cols="3"] { --cols: 2; } .carousel[data-cols="6"] { --cols: 4; } }
@media (min-width: 1024px) { .carousel[data-cols="3"] { --cols: 3; } .carousel[data-cols="6"] { --cols: 6; } }
.carousel-media { width: var(--media-w, 75%); margin-bottom: var(--media-gap, 46px); }
.carousel-media img { width: 100%; height: auto; }
.carousel.media-circle .carousel-media img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; }
.carousel.media-original .carousel-media img { aspect-ratio: auto; object-fit: contain; }
.carousel-content { width: var(--content-w, 75%); }
.carousel-content h2 { font-size: min(calc(.9 * 1.2vw + 1rem), var(--title-size, 1.9rem)); font-weight: 400; margin: 0 0 var(--below-title, 35px); color: var(--headingLargeColor); line-height: 1.3em; }
.carousel-content .desc { margin-bottom: var(--below-body, 39px); }
.carousel-content .desc p { font-size: min(calc(.3 * 1.2vw + 1rem), var(--body-size, 1.3rem)); letter-spacing: .08em; line-height: 1.5em; margin: 0 0 .6em; }
.carousel-content .btn { font-size: var(--btn-size, 1.1rem); }
.carousel-arrows { display: flex; justify-content: center; gap: 1rem; margin-top: 30px; padding: 0 var(--site-gutter); }
.carousel-arrow { width: 60px; height: 60px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--headingLargeColor); }
.carousel-arrow svg { width: 32px; height: 32px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.carousel-arrow:hover { background: hsla(var(--black-hsl), .08); }
@media (min-width: 1024px) {
  .carousel.has-arrows { padding: 0 5vw; }
  .carousel.has-arrows .carousel-arrows { position: absolute; top: 0; bottom: 0; left: 0; right: 0; justify-content: space-between; align-items: center; margin: 0; padding: 0; pointer-events: none; }
  .carousel.has-arrows .carousel-arrow { pointer-events: auto; }
  .carousel.has-arrows .carousel-track { padding: 0 1vw; scroll-padding: 0 1vw; }
}
.carousel.media-only .carousel-content { display: none; }
.carousel.media-only .carousel-media { margin-bottom: 0; }
.carousel.media-only .carousel-slide { justify-content: center; }
.carousel.media-only .carousel-media img { max-height: 110px; width: auto; max-width: 100%; margin: 0 auto; }

/* List section: simple (cards) */
.list-simple { max-width: calc(var(--maxPageWidth) + 2 * var(--site-gutter)); margin: 0 auto; padding: 0 var(--site-gutter); display: grid; gap: var(--col-gap, 50px) var(--col-gap, 50px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 768px) { .list-simple { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .list-simple { grid-template-columns: repeat(var(--cols, 3), 1fr); } }
.list-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--card-pad, 20px) 6%; background: var(--card-bg, transparent); border-radius: var(--card-radius, 0); }
.list-card .card-content { width: 100%; display: flex; flex-direction: column; align-items: center; }
.list-card .card-content > * { width: var(--content-w, 75%); }
.list-card h2 { font-size: var(--title-size, 1.9rem); font-weight: 400; margin: 0 0 var(--below-title, 35px); color: var(--headingLargeColor); line-height: 1.2em; }
.list-card .desc { margin-bottom: var(--below-body, 39px); }
.list-card .desc p, .list-card .desc li { font-size: calc(var(--body-size, 1.1rem) * .95); line-height: 1.5em; letter-spacing: .08em; margin: 0 0 1em; }
.list-card .desc li { margin: 0; }
.list-card .desc ul { text-align: left; padding-left: 40px; margin: 0; }
.list-card .desc li p { margin: 0; }
.list-card .btn { margin-top: auto; width: auto; font-size: calc(var(--btn-size, 1rem) * .95); padding: 1.1em 2.1em; }
.list-card.align-left { text-align: left; align-items: flex-start; }
.list-card.align-left .card-content { align-items: flex-start; }
.list-card.body-left .desc { text-align: left; }
.list-card.title-center h2 { text-align: center; }
.list-card.btn-center .btn { align-self: center; }

/* List section: banner slideshow (testimonial over image) */
.banner-slide { position: relative; min-height: 50vh; display: flex; align-items: center; overflow: hidden; }
.banner-slide .banner-bg { position: absolute; inset: 0; }
.banner-slide .banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.banner-slide .banner-bg::after { content: ""; position: absolute; inset: 0; background: hsla(var(--black-hsl), var(--overlay, .3)); }
.banner-slide .banner-content { position: relative; z-index: 1; max-width: var(--maxPageWidth); margin: 0 auto; padding: 8vmax var(--site-gutter); width: 100%; }
.banner-slide h2 { font-size: min(calc(1.6 * 1.2vw + 1rem), var(--title-size, 2.6rem)); font-weight: 400; line-height: 1.3em; margin: 0 0 1.5rem; color: hsla(var(--white-hsl), 1); text-align: left; }
.banner-slide .desc { text-align: right; }
.banner-slide .desc p { color: hsla(var(--white-hsl), 1); font-size: var(--body-size, 1.2rem); margin: 0; }

/* Gallery section */
.gallery-section { padding: 0; }
.gallery-section .gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; max-width: var(--maxPageWidth); margin: 0 auto; padding: 0 var(--site-gutter); }
.gallery-section .gallery-grid img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 768px) { .gallery-section .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

/* Collection listing (blog, case studies, resources): circle thumbnails with a cream overlay title */
.collection-listing { max-width: var(--maxPageWidth); margin: 0 auto; padding: 3.3vmax var(--site-gutter); }
.collection-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; list-style: none; margin: 0 auto; padding: 0; }
@media (min-width: 768px) { .collection-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; } }
.collection-item { margin: 0; }
.collection-item a { display: block; text-decoration: none; color: inherit; position: relative; border-radius: 50%; overflow: hidden; }
.collection-item img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; display: block; }
.collection-item .overlay-title { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 7%; border-radius: 50%; background: hsla(var(--white-hsl), .65); color: hsla(var(--black-hsl), 1); font-family: var(--body-font); font-weight: 300; font-size: min(calc(.1 * 1.2vw + 1rem), 1.1rem); line-height: 1.8em; letter-spacing: .07em; transition: background .25s; }
.collection-item a:hover .overlay-title, .collection-item a:focus-visible .overlay-title { background: hsla(var(--white-hsl), .5); }
.collection-item .item-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.collection-more { text-align: center; margin-top: 3rem; }
.collection-grid li.is-hidden { display: none; }
.item-pagination { display: flex; justify-content: space-between; gap: 1rem; max-width: var(--maxPageWidth); margin: 0 auto; padding: 2rem var(--site-gutter) 3rem; }
.item-pagination a { display: flex; flex-direction: column; font-family: var(--heading-font); font-weight: 400; font-size: 1.2rem; text-decoration: none; color: var(--charcoal); }
.item-pagination .pg-next { text-align: right; margin-left: auto; }
.item-pagination .pg-dir { font-family: var(--body-font); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.item-pagination a:hover { color: var(--copper); }

/* Prose pages (privacy, thanks, 404) */
.prose-page { max-width: 900px; margin: 0 auto; padding: 8vmax var(--site-gutter) 10vmax; }
.prose-page h1 { margin-top: 0; }
.prose-page .btn + .btn { margin-left: 1rem; }
.prose-page .actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.prose-page.centred { text-align: center; }
.prose-page.centred .actions { justify-content: center; }
.prose-page .sub-h3 { font-size: 1.35rem; font-weight: 400; margin: 0 0 1.5rem; }
.page-hero-img { display: block; width: min(100%, 520px); height: auto; margin: 0 auto 2rem; }
.page-logo-img { display: block; width: min(60%, 260px); height: auto; margin: 0 auto 1.5rem; }
.acuity-embed { max-width: 900px; margin: 0 auto 6vmax; padding: 0 var(--site-gutter); }
.acuity-embed iframe { width: 100%; min-height: 900px; border: 0; }
.big-404 { font-family: var(--heading-font); font-weight: 700; font-size: min(28vw, 11rem); line-height: 1; color: var(--copper); margin: 0 0 1rem; }

/* Answer blocks and service FAQs */
.answer .answer-inner { max-width: var(--maxPageWidth); margin: 0 auto; padding: 4vmax var(--site-gutter) 3vmax; text-align: center; }
.answer h2 { font-size: min(calc(1.4 * 1.2vw + 1rem), 2.4rem); font-weight: 400; line-height: 1.2em; margin: 0 0 1.2rem; }
.answer .sqsrte-large { max-width: 800px; margin: 0 auto 1rem; }
/* One sage band holding the four facts, left aligned, so it reads as a summary strip rather than another row of cards */
.answer .facts { display: grid; grid-template-columns: 1fr; gap: 1.6rem 2.5rem; margin: 2rem 0 0; padding: 2.4rem 2rem; background: hsla(var(--accent-hsl), 1); border-radius: 6.8px; text-align: left; }
@media (min-width: 768px) { .answer .facts { grid-template-columns: repeat(2, 1fr); padding: 2.6rem 2.6rem; } }
@media (min-width: 1024px) { .answer .facts { grid-template-columns: repeat(4, 1fr); gap: 2rem 3rem; padding: 2.8rem 3rem; } }
.answer .facts > div { display: flex; flex-direction: column; }
.answer dt { font-family: var(--heading-font); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); margin: 0 0 .7rem; }
.answer dd { margin: 0; font-size: 1rem; line-height: 1.6em; color: var(--charcoal); }
.faq-section .faq-inner { max-width: 900px; margin: 0 auto; padding: 3vmax var(--site-gutter) 4vmax; }
.faq-section h2 { font-size: min(calc(1.8 * 1.2vw + 1rem), 2.8rem); margin: 0 0 1.5rem; }
.faq-section .faq-answer p { margin: 0; }

/* Related links and bylines */
.related .related-inner { max-width: var(--maxPageWidth); margin: 0 auto; padding: 2vmax var(--site-gutter) 5vmax; }
.related h2 { font-size: min(calc(.9 * 1.2vw + 1rem), 1.9rem); font-weight: 400; margin: 0 0 1rem; }
.related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; }
.related li a { display: inline-block; font-family: var(--heading-font); font-weight: 400; font-size: 1rem; color: var(--charcoal); text-decoration: none; padding: .6rem 1.1rem; border-radius: 6.8px; background: hsla(var(--lightAccent-hsl), 1); }
.related li a:hover { background: hsla(var(--accent-hsl), 1); }
.byline { max-width: var(--maxPageWidth); margin: 0 auto; padding: 1.2rem var(--site-gutter) 0; }
.byline p { margin: 0; font-size: .95rem; color: var(--text-light); }
.byline a { color: var(--charcoal); }
.byline time { margin-left: .6rem; }
.byline-updated { margin-left: .6rem; }

/* Footer */
.site-footer { background: hsla(var(--lightAccent-hsl), 1); color: var(--charcoal); }
.footer-inner { max-width: var(--maxPageWidth); margin: 0 auto; padding: 5vmax var(--site-gutter) 3vmax; display: grid; grid-template-columns: 1fr; gap: 2.5rem 3rem; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: 1.3fr .9fr .7fr 1.2fr; } }
.site-footer h2 { font-family: var(--heading-font); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--charcoal); margin: 0 0 1rem; }
.site-footer p { margin: 0 0 .6rem; font-size: 1rem; line-height: 1.6em; color: var(--charcoal); }
.site-footer a { color: var(--charcoal); text-decoration: none; }
.site-footer a:hover { color: var(--copper); }
.footer-brand img { width: 150px; height: auto; margin-bottom: 1.2rem; }
.footer-tagline { max-width: 34ch; }
.footer-address span { display: block; }
.footer-hours { opacity: .8; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 .5rem; }
.footer-links a { font-size: 1rem; }
.footer-newsletter .newsletter { text-align: left; max-width: none; margin: 0; }
.footer-newsletter .newsletter h2 { font-family: var(--heading-font); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-newsletter .newsletter-fields { justify-content: flex-start; }
.footer-newsletter .newsletter-fields input { flex: 1 1 200px; padding: 1rem 1.2rem; border-radius: 6.8px; }
.footer-newsletter .newsletter-fields .btn { padding-top: 1rem; padding-bottom: 1rem; }
.social-links { display: flex; gap: .7rem; align-items: center; margin-top: 1.4rem; }
.social-links a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: hsla(var(--white-hsl), 1); color: var(--charcoal); transition: background .2s, color .2s; }
.social-links a:hover { background: var(--navy); color: hsla(var(--white-hsl), 1); }
.social-links svg { width: 19px; height: 19px; fill: currentColor; }
.social-links svg[fill="none"] { fill: none; }
.footer-bottom { max-width: var(--maxPageWidth); margin: 0 auto; padding: 1.2rem var(--site-gutter) 2.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.footer-bottom p { margin: 0; font-size: .85rem; color: var(--charcoal); opacity: .8; }

/* Cookie banner uses --primary, --text, --bg */

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .btn, .collection-item img { transition: opacity .25s, transform .25s; }
  .btn:hover { transform: translateY(-1px); }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .sec.has-divider { padding-bottom: var(--divider-height); }
  .site-header .header-inner { padding: 6px var(--mobile-gutter); }
  .site-logo img { width: 44vw; }
  .list-section .list-title { padding: 0 var(--mobile-gutter); }
  .carousel-track { padding: 0 var(--mobile-gutter); scroll-padding: 0 var(--mobile-gutter); }
  .list-simple, .collection-listing, .gallery-section .gallery-grid, .item-pagination, .prose-page { padding-left: var(--mobile-gutter); padding-right: var(--mobile-gutter); }
}

/* Focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* ===== Generated layout rules live in each page head (grid placement is page specific) ===== */
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.as-h1{font-size:min(calc(2.8 * 1.2vw + 1rem),3.8rem);line-height:calc(1.3em * (1 + (1 - 3.8) / 25));color:var(--headingLargeColor)}
