/* Geometry Murals — static rebuild of the Squarespace 7.1 "fluid engine" layout.
   Per-page <style> blocks hold each section's grid (copied from the original
   site); this file supplies the theme, type scale and block behaviour. */

:root {
  --navy: #1f4863;       /* darkAccent */
  --yellow: #ffc71a;     /* palette "black" */
  --orange: #faa31b;     /* lightAccent */
  --maroon: #4f142e;     /* accent */
  --white: #fff;
  /* Squarespace palette tokens referenced by the copied per-block CSS */
  --darkAccent-hsl: 203.82, 52.31%, 25.49%;
  --accent-hsl: 333.56, 59.6%, 19.41%;
  --lightAccent-hsl: 36.59, 95.71%, 54.31%;
  --black-hsl: 45.33, 100%, 55.1%;
  --white-hsl: 0, 0%, 100%;

  --sqs-site-gutter: 3vw;
  --sqs-mobile-site-gutter: 6vw;
  --sqs-site-max-width: 3000px;
  --header-h: 58px;

  --serif: "Instrument Serif", "PP Editorial New", Georgia, "Times New Roman", serif;
  --sans: Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Squarespace size values: font-size = (v - 1) * 1.2vw + 1rem */
  --h1: 4; --h2: 2.8; --h3: 2.2; --h4: 1.6; --large: 1.4; --small: .9;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.5; background: var(--white); color: var(--navy); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

/* ---------- type scale ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; margin: 2rem 0; }
h1 { --v: var(--h1); } h2 { --v: var(--h2); } h3 { --v: var(--h3); } h4 { --v: var(--h4); }
h1, h2, h3, h4 { font-size: calc((var(--v) - 1) * 1.2vw + 1rem); line-height: calc(1.2 * (1 + (1 - var(--v)) / 25)); }
p { margin: 1rem 0; line-height: 1.5em; }
.sqsrte-large { font-size: calc((var(--large) - 1) * 1.2vw + 1rem); }
.sqsrte-small { font-size: calc((var(--small) - 1) * 1.2vw + 1rem); }
@media (max-width: 767px) and (orientation: portrait) {
  h1, h2, h3, h4 { font-size: calc((var(--v) - 1) * .012 * min(100vh, 900px) + 1rem); }
  .sqsrte-large { font-size: calc((var(--large) - 1) * .012 * min(100vh, 900px) + 1rem); }
  .sqsrte-small { font-size: calc((var(--small) - 1) * .012 * min(100vh, 900px) + 1rem); }
}
.sqs-html-content > :first-child { margin-top: 0; }
.sqs-html-content > :last-child { margin-bottom: 0; }
.sqs-html-content a { text-decoration: none; }
.sqs-html-content a:hover { opacity: .8; }

.sqsrte-text-color--darkAccent { color: var(--navy); }
.sqsrte-text-color--lightAccent { color: var(--orange); }
.sqsrte-text-color--accent { color: var(--maroon); }
.sqsrte-text-color--white { color: var(--white); }
.sqsrte-text-color--black { color: var(--yellow); }

/* ---------- section themes (values read from the live site) ---------- */
[data-section-theme] {
  --bg: var(--white); --heading: var(--yellow); --text: var(--yellow);
  --btn-bg: var(--maroon); --btn-text: var(--white);
  --form-bg: var(--orange); --form-title: var(--yellow); --form-caption: var(--white);
}
[data-section-theme="dark"] {
  --bg: var(--navy); --heading: var(--white); --text: var(--white);
  --btn-bg: var(--maroon); --btn-text: var(--white);
  --form-bg: transparent; --form-title: var(--white); --form-caption: var(--white);
}
[data-section-theme="light-bold"] { --bg: var(--orange); --heading: #000; --text: #000; }
[data-section-theme="white-bold"] { --bg: var(--white); --heading: var(--navy); --text: var(--navy); }

.page-section { position: relative; display: flex; flex-direction: column; justify-content: center; background: var(--bg); color: var(--text); }
.page-section h1, .page-section h2, .page-section h3, .page-section h4 { color: var(--heading); }
.section-background { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.section-background img, .section-background video { width: 100%; height: 100%; object-fit: cover; }
.section-background-overlay { position: absolute; inset: 0; }
.content-wrapper { position: relative; z-index: 1; width: 100%; }

.section-height--large { min-height: 100vh; }
.section-height--large > .content-wrapper { padding-block: 10vmax; }
.section-height--medium { min-height: 66vh; }
.section-height--medium > .content-wrapper { padding-block: 6.6vmax; }
.section-height--small { min-height: 33vh; }
.section-height--small > .content-wrapper { padding-block: 3.3vmax; }
.first-section > .content-wrapper { padding-top: calc(var(--header-h) + 1vmax); }
.section-height--large.first-section > .content-wrapper { padding-top: calc(var(--header-h) + 10vmax); }
.section-height--medium.first-section > .content-wrapper { padding-top: calc(var(--header-h) + 6.6vmax); }

/* ---------- fluid engine blocks ---------- */
.fe-block { position: relative; min-width: 0; }
.fe-block > .sqs-block { display: flex; height: 100%; width: 100%; }
.sqs-block-alignment-wrapper { display: flex; width: 100%; height: 100%; }
.sqs-block-alignment-wrapper > * { width: 100%; }
.sqs-block-code .sqs-block-alignment-wrapper { height: 0; }

/* gallery slideshows */
.slideshow { height: 100%; display: flex; flex-direction: column; background: rgba(175, 175, 175, .1); }
.slideshow.ss-transparent { background: none; }
.ss-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.ss-slide { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; }
.ss-slide.ss-fit { object-fit: contain; }
.ss-slide.ss-fill { object-fit: cover; }
.ss-slide.is-active { opacity: 1; z-index: 1; }
.ss-prev, .ss-next {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 27px; height: 37px; padding: 6px 7px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .6); transition: background .2s;
}
.ss-prev { left: 0; } .ss-next { right: 0; }
.ss-prev:hover, .ss-next:hover { background: rgba(255, 255, 255, .95); }
.ss-prev svg, .ss-next svg { width: 100%; height: 100%; fill: none; stroke: #333; stroke-width: 2; }
.ss-thumbs { flex: none; display: flex; justify-content: center; overflow-x: auto; scrollbar-width: none; margin-top: 5px; height: 85px; }
.ss-thumbs::-webkit-scrollbar { display: none; }
.ss-thumb { flex: none; border: 0; padding: 0; background: none; cursor: pointer; opacity: .5; transition: opacity .2s; }
.ss-thumb img { height: 80px; width: auto; }
@media (max-width: 767px) { .ss-thumbs { height: 50px; } .ss-thumb img { height: 45px; } }
.ss-thumb.is-active, .ss-thumb:hover { opacity: 1; }

/* image blocks */
.image-fill, .image-fill a { display: block; height: 100%; }
.image-fill img { width: 100%; height: 100%; object-fit: var(--image-component-object-fit, cover); }

/* buttons */
.button-wrap { display: flex; justify-content: center; align-items: center; height: 100%; }
.btn, .form-btn {
  display: inline-block; cursor: pointer; text-decoration: none; text-align: center;
  font-family: var(--sans); font-size: 1rem; line-height: 1.2;
  padding: 1.2em 2.4em; border-radius: 300px; border: 0;
  background: var(--btn-bg); color: var(--btn-text); transition: opacity .2s;
}
.btn:hover, .form-btn:hover { opacity: .85; }

/* social links */
.social { display: flex; align-items: center; justify-content: var(--social-icons-justify-content, center); gap: var(--social-icons-gap, 10px); height: 100%; }
.social a { display: grid; place-items: center; width: var(--social-icons-dimension, 28px); height: var(--social-icons-dimension, 28px); }
.social svg { width: 70%; height: 70%; fill: currentColor; }

/* forms */
.sqs-block-form { color: var(--yellow); background: var(--tweak-form-block-background-color, transparent); }
.inquiry { width: 100%; padding: var(--form-block-padding, 0); font-size: .9rem; }
.inquiry .field { margin: 0 0 1.2em; padding: 0; border: 0; min-width: 0; }
.inquiry label, .inquiry legend { display: block; padding: 0; font-size: .85rem; margin-bottom: .35em; color: var(--form-title); }
.inquiry .req { opacity: .7; font-size: .8em; }
.inquiry .desc { margin: 0 0 .6em; font-size: .88rem; line-height: 1.4; color: var(--form-caption); }
.inquiry .name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.inquiry .name-row span { display: block; font-size: .75rem; margin-bottom: .35em; color: var(--form-caption); }
.inquiry input, .inquiry textarea {
  display: block; width: 100%; font: inherit; font-size: 1rem; color: var(--navy);
  background: var(--field-fill, #e8eaec); border: 1px solid transparent; border-radius: 10px; padding: 5px 10px;
}
.inquiry input { height: 36px; }
[data-section-theme="dark"] .inquiry { --field-fill: var(--yellow); }
[data-section-theme="dark"] .form-btn { background: var(--white); color: #000; border-color: #000; padding: 2em 3em; }
.inquiry textarea { min-height: 6.5em; resize: vertical; }
.inquiry input:focus, .inquiry textarea:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
.form-actions { text-align: center; margin-top: 1.5em; }
.form-btn { border: 3px solid var(--white); background: var(--maroon); color: var(--white); padding: 1.1em 2.6em; }
.form-btn[disabled] { opacity: .6; }
.form-thanks { text-align: center; font-size: 1.1rem; }
.hp { position: absolute !important; left: -9999px; }
.page-section:not([data-section-theme]) .inquiry, [data-section-theme=""] .inquiry { --form-title: var(--yellow); --form-caption: var(--white); }

/* ---------- testimonials (list section) ---------- */
.list-section > .content-wrapper { padding: 10vw var(--sqs-site-gutter); }
.list-title { text-align: center; margin: 0 0 6vw; font-family: var(--sans); font-size: calc((var(--h2) - 1) * 1.2vw + 1rem); line-height: 1.2; }
.t-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 100px 6.4vw; }
.t-item h2 { margin: 0; font-size: calc(.2 * 1.2vw + 1rem); line-height: 1.12; letter-spacing: 0; }
.t-item p { margin: 25px 0 0; font-size: .8rem; }
@media (max-width: 767px) { .t-list { grid-template-columns: 1fr; gap: 48px; } .list-title { margin-bottom: 40px; } }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: center; padding: 0 var(--sqs-site-gutter);
  background: rgba(223, 225, 228, .92); backdrop-filter: blur(6px);
}
.logo { position: absolute; left: var(--sqs-site-gutter); top: 50%; transform: translateY(-50%); }
.logo img { height: 56px; width: auto; }
.site-nav { display: flex; gap: 1.3rem; }
.site-nav a { text-decoration: none; font-size: .95rem; color: var(--navy); padding: 3px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a.is-active { border-bottom-color: currentColor; }
.menu-toggle { display: none; }
@media (max-width: 767px) {
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    position: absolute; right: var(--sqs-mobile-site-gutter); width: 34px; height: 34px; border: 0; background: none; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--navy); transition: transform .25s; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem;
    background: var(--white); transform: translateX(100%); transition: transform .3s;
  }
  .site-nav a { font-family: var(--serif); font-size: 2.4rem; }
  .menu-open .site-nav { transform: none; }
  .logo { left: var(--sqs-mobile-site-gutter); }
  .logo img { height: 46px; }
}

/* ---------- footer ---------- */
.site-footer .page-section { min-height: 10vh; }
.site-footer .content-wrapper { padding-block: 1vmax; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ss-slide, .site-nav { transition: none; }
}
