/*
 * Innopher, Squarespace design.
 *
 * 1. Fonts (self-hosted: Inter and Space Grotesk on the home page, Nunito Sans elsewhere)
 * 2. Home page blocks (.ihp): Squarespace's own CSS for these blocks, unchanged
 *    apart from the Squarespace-only wrappers it no longer needs
 * 3. The "Discuss your project" form
 * 4. Squarespace site styles for every other page: header, footer, Customers,
 *    blog grid and posts, measured from the Squarespace pages at 1265px wide.
 *    Squarespace scales headings with the window: calc(n * 1.2vw + 1rem).
 */

/* ------------------------------------------------------------------ 1. fonts */

@font-face { font-family: "Inter"; src: url("fonts/inter-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("fonts/nunito-sans-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }

html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
body.isq-front { background: #ffffff; }

.sq-skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 8px 14px; background: #ffffff; color: #0d0d0d; font: 16px/1.5 "Nunito Sans", sans-serif; }
.sq-skip:focus { left: 8px; top: 8px; }
.sq-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------------------------ 2. home page blocks (Squarespace CSS) */

html:has(.ihp) { scroll-behavior: auto !important; }
.ihp { font-family: Inter, sans-serif; color: #142B49; -webkit-font-smoothing: antialiased; line-height: normal; font-size: 16px; overflow-x: clip; }
.ihp *, .ihp *::before, .ihp *::after { box-sizing: border-box; }
.ihp h1, .ihp h2, .ihp h3, .ihp p { margin: 0; padding: 0; text-transform: none; }
.ihp a { color: #A5481B; text-decoration: none !important; transition: opacity 120ms cubic-bezier(.22, 1, .36, 1); }
.ihp a:hover { opacity: .72; }
.ihp a.ihp-btn-signal:hover { background: #F0601C !important; opacity: 1; }
.ihp a.ihp-btn-ink:hover { background: #0F2138 !important; opacity: 1; }
.ihp a:focus-visible { outline: 3px solid rgba(255, 112, 44, .45); outline-offset: 2px; }
.ihp img { max-width: 100%; }
.ihp svg { flex: none; }
@media (max-width: 767px) {
	.ihp .ihp-hero-right { margin-right: 0 !important; }
	.ihp .ihp-hero-photo { height: 260px !important; }
	.ihp .ihp-hero-cap { margin-left: 0 !important; width: 100% !important; max-width: 100% !important; }
	.ihp-header .ihp-wrap { height: auto !important; flex-wrap: wrap; padding-top: 14px !important; padding-bottom: 14px !important; row-gap: 12px; }
	.ihp-header nav { margin-left: 0 !important; width: 100%; justify-content: flex-start !important; gap: 12px 18px !important; }
}
@media (max-width: 600px) {
	.ihp .ihp-wrap { padding-left: 24px !important; padding-right: 24px !important; }
	.ihp .ihp-hero .ihp-wrap, .ihp-hero .ihp-wrap { padding-top: 72px !important; }
	.ihp .ihp-h1 { font-size: 40px !important; line-height: 46px !important; }
	.ihp .ihp-h2 { font-size: 32px !important; line-height: 38px !important; }
}

/* ------------------------------------------------------------------ 3. the form (in the orange contact band) */

.isq-contact-section { background: #FF702C; }
.isq-form-block { max-width: 1200px; margin: 0 auto; padding: 0 55px 88px; box-sizing: border-box; }
.isq-form-card { background: #ffffff; border-radius: 14px; padding: 34px; box-shadow: 0 24px 60px rgba(5, 8, 24, .18); font-family: Inter, sans-serif; color: #142B49; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
.isq-form-card * { box-sizing: border-box; }
.isq-form { margin: 0; }
.isq-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin: 0; }
.isq-field { margin: 0; padding: 0; min-width: 0; }
.isq-wide { grid-column: 1 / -1; }
.isq-field label { display: block; font-family: Inter, sans-serif; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: #142B49; margin: 0 0 8px; padding: 0; }
.isq-req { font-size: 10px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #8596B5; margin-left: 6px; }
.isq-field input, .isq-field textarea { display: block; width: 100%; height: 48px; padding: 0 14px; border: 1px solid #DCE1E9; border-radius: 8px; background: #ffffff; color: #142B49; font-family: Inter, sans-serif; font-size: 15px; line-height: 24px; outline: none; box-shadow: none; margin: 0; -webkit-appearance: none; appearance: none; }
.isq-field textarea { height: 150px; padding: 12px 14px; resize: vertical; }
.isq-field input:focus, .isq-field textarea:focus { border-color: #FF702C; box-shadow: 0 0 0 3px rgba(255, 112, 44, .25); }
.isq-field ::placeholder { color: #8596B5; opacity: 1; }
.isq-button { margin: 22px 0 0; padding: 0; text-align: left; }
.isq-button button { display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; border-radius: 999px; background: #142B49; color: #ffffff; border: 0; font-family: Inter, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0; line-height: 1; cursor: pointer; padding: 0 24px; margin: 0; transition: background 120ms cubic-bezier(.22, 1, .36, 1); box-shadow: none; }
.isq-button button:hover { background: #0F2138; }
.isq-button button:focus-visible { outline: 3px solid rgba(255, 112, 44, .45); outline-offset: 2px; }
.isq-form-error { font-family: Inter, sans-serif; font-size: 14px; line-height: 22px; color: #a32020; margin: 0 0 18px; }
.isq-form-done { font-family: Inter, sans-serif; font-size: 16px; line-height: 26px; color: #142B49; margin: 0; }
.isq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
	.isq-form-block { padding: 0 24px 64px; }
	.isq-form-card { padding: 24px; }
	.isq-fields { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ 4. every other page (Squarespace site styles) */

body.sq { background: #FAFAF9; color: #0D0D0D; font-family: "Nunito Sans", sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.sq h1, .sq h2, .sq h3, .sq h4 { font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; font-weight: 400; color: #0D0D0D; margin: 0; letter-spacing: -.02em; }
.sq h1 { font-size: calc(3.6vw + 1rem); line-height: 1.2; }
.sq h2 { font-size: calc(2.16vw + 1rem); line-height: 1.1136; }
.sq h3 { font-size: calc(1.44vw + 1rem); line-height: 1.1424; }
.sq h4 { font-size: calc(.72vw + 1rem); line-height: 1.1712; }
.sq img { max-width: 100%; height: auto; }
.sq a { color: inherit; }
.sq-prose a { color: #FF6123; text-decoration: underline; }
.sq-draft { display: inline-block; margin: 0 0 24px; padding: 4px 10px; background: #fff3cd; font-size: 14px; }
/* WordPress wraps the inside of each Group block in an extra box; let the layouts below see its children. */
.sq .wp-block-group__inner-container { display: contents; }

/* header */
.sq-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 122px; padding: 6px 4vw; box-sizing: border-box; }
.sq-logo { display: block; color: #0D0D0D; text-decoration: none; font-size: 24px; }
.sq-logo img { display: block; height: 110px; width: auto; max-width: 60vw; }
.sq-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 1.2em; }
.sq-nav a { font-size: 16px; line-height: 24px; color: #0D0D0D; text-decoration: none; }
.sq-nav a:hover, .sq-nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.sq-burger { display: none; position: relative; z-index: 31; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; cursor: pointer; }
.sq-burger span:not(.sq-visually-hidden) { position: absolute; left: 10px; right: 10px; height: 1px; background: #0D0D0D; transition: transform 140ms ease, top 140ms ease; }
.sq-burger span:nth-child(2) { top: 18px; }
.sq-burger span:nth-child(3) { top: 26px; }
body.sq-menu-open .sq-burger span:not(.sq-visually-hidden) { background: #FF6123; top: 22px; }
body.sq-menu-open .sq-burger span:nth-child(2) { transform: rotate(45deg); }
body.sq-menu-open .sq-burger span:nth-child(3) { transform: rotate(-45deg); }
.sq-menu { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; background: #1D2E4E; }
.sq-menu[hidden] { display: none; }
.sq-menu nav { display: flex; flex-direction: column; align-items: center; gap: .3em; }
.sq-menu a { color: #FF6123; font-size: 2.6rem; line-height: 1.4; text-decoration: none; }
body.sq-menu-open { overflow: hidden; }

/* footer */
.sq-footer { background: #F5F5F5; text-align: center; padding: 108px 4vw; }
.sq-footer-logo { display: block; width: 182px; height: auto; margin: 0 auto 12px; }
.sq-footer p { margin: 0; font-size: calc(.48vw + 1rem); line-height: 1.5; }
.sq-social { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.sq-social a { display: block; width: 36px; height: 36px; }
.sq-social svg { display: block; }

/* pages (Customers) */
.sq-page { max-width: 1250px; margin: 0 auto; padding: 0 clamp(20px, 7.8vw, 98px) 60px; box-sizing: border-box; }
.sq-title { padding-top: 63px; margin-bottom: 98px; }
.sq-case + .sq-case { margin-top: 150px; }
.sq-case h3 { max-width: 5.4em; margin-bottom: 11px; }
.sq-case-grid { display: grid; grid-template-columns: minmax(0, 44.8fr) minmax(0, 49.4fr); column-gap: 5.8%; align-items: start; }
.sq-case-text h4 { margin: 0 0 30px; }
.sq-case-text p { font-size: calc(.48vw + 1rem); line-height: 1.5; margin: 0 0 40px; }
.sq-case-text p:last-child { margin-bottom: 0; }
.sq-case-aside { display: flex; align-items: center; gap: 11.5%; }
.sq-case-meta { flex: 0 0 25.6%; }
.sq-case-meta p { text-align: center; margin: 0 0 14px; }
.sq-case-meta p:last-child { margin-bottom: 0; }
.sq-case-aside .wp-block-image { flex: 1 1 auto; margin: 0; }
.sq-case-aside .wp-block-image img { display: block; width: 100%; height: auto; }

/* blog grid */
.sq-blog { padding: 13px 4vw 90px; }
.sq-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 4.5%; row-gap: 40px; }
.sq-blog-item { min-width: 0; }
.sq-blog-image { display: block; }
.sq-blog-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.sq-blog-date { display: block; margin-top: 44px; font-size: .8rem; line-height: 1.5; }
.sq-blog .sq-blog-title { font-size: calc(1.44vw + 1rem); line-height: 1.2; margin: 26px 0 0; overflow-wrap: break-word; }
.sq-blog-title a { color: inherit; text-decoration: none; }
.sq-more { display: inline-block; margin-top: 40px; font-size: .9rem; line-height: 1.5; color: #FF6123 !important; text-decoration: underline; }
.sq-blog .nav-links, .sq-list .nav-links { display: flex; justify-content: space-between; gap: 24px; margin-top: 60px; }

/* blog post */
.sq-post { max-width: 861px; margin: 0 auto; padding: 38px 4vw 0; box-sizing: content-box; }
.sq-post-date { display: block; font-size: 1rem; line-height: 1.5; margin-bottom: 30px; }
.sq .sq-post-title { margin: 0 0 39px; }
.sq-post-body p { margin: 0 0 1em; }
.sq-post-body ul, .sq-post-body ol { margin: 0 0 1em; padding-left: 1.5em; }
.sq-post-body li { margin: .25em 0; }
.sq-post-body li p { margin: 0; }
.sq-post-body h2, .sq-post-body h3, .sq-post-body h4 { margin: 1.2em 0 .6em; }
.sq-pager { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 38px 4vw 60px; }
.sq-pager a { display: flex; align-items: center; gap: 28px; max-width: 46%; color: #0D0D0D; text-decoration: none; }
.sq-pager-next { margin-left: auto; text-align: right; }
.sq-pager-title { font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; font-size: calc(1.44vw + 1rem); line-height: 1; letter-spacing: -.02em; }
.sq-pager svg { flex: none; }

/* search, archives, not found */
.sq-list { padding-top: 63px; max-width: 861px; }
.sq-list h1 { margin-bottom: 40px; }
.sq-list-item { margin: 0 0 32px; }
.sq-list-item time { font-size: .8rem; }
.sq-list-item h2 { font-size: calc(1.44vw + 1rem); line-height: 1.2; margin-top: 6px; }
.sq-list-item h2 a { text-decoration: none; }

@media (max-width: 767px) {
	.sq-header { min-height: 0; padding: 14px 6vw; }
	.sq-logo img { height: 72px; }
	.sq-nav { display: none; }
	.sq-burger { display: block; }
	.sq-title { padding-top: 30px; margin-bottom: 50px; }
	.sq-case + .sq-case { margin-top: 80px; }
	.sq-case-grid { grid-template-columns: 1fr; row-gap: 32px; }
	.sq-blog-grid { grid-template-columns: 1fr; row-gap: 56px; }
	.sq-blog-date { margin-top: 24px; }
	.sq-blog .sq-blog-title { font-size: 1.6rem; margin-top: 14px; }
	.sq-more { margin-top: 20px; }
	.sq-pager { flex-direction: column; align-items: stretch; }
	.sq-pager a { max-width: none; }
	.sq-pager-title { font-size: 1.4rem; }
	.sq-footer { padding: 72px 6vw; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.sq-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
