/* Go High Signs: static copy of the Cargo site.
   Part 1 reproduces Cargo's layout engine (pages, columns, galleries, media).
   Part 2 is the site's own stylesheet, carried over from Cargo.
   Sizes use rem. The root size (--base-size) is set by a small script in each
   page's <head>, following the way Cargo scales a site to the window. */

/* ---------- Part 1: layout engine ---------- */
html { --mobile-scale: 1.42; --mobile-padding-offset: 0.51; --gs: 1; font-size: var(--base-size, 1.44vh); touch-action: manipulation; }
html.mobile { font-size: calc(var(--base-size, 2.154vw) * var(--mobile-scale)); --gs: var(--mobile-padding-offset); }
html, body { margin: 0; padding: 0; min-height: 100vh; }
body { -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; text-size-adjust: none; display: flex; flex-direction: column; width: 100%; background-color: #fff; }
body.no-scroll { overflow: hidden; }
*, *::before, *::after { box-sizing: border-box; }

.content { display: flex; flex-direction: column; align-items: stretch; flex-grow: 1; min-height: 100vh; }
.pages { width: 100%; flex: 1 0 auto; }
.page { display: flex; justify-content: center; width: 100%; max-width: 100%; }
.page-layout { width: 85%; max-width: 85%; }
.page-content { width: 100%; padding: 0; text-align: left; }
.mobile .desktop-only, html:not(.mobile) .mobile-only { display: none; }

bodycopy { display: block; overflow-wrap: break-word; position: relative; max-width: 100%; width: 100%; --font-scale: 1; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }

/* columns: a 12-column grid, as in Cargo */
column-set { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter, 2rem); align-items: start; width: 100%; }
column-unit { display: block; min-width: 0; grid-column: span var(--span, 6); }
column-set:has(> column-unit:nth-child(3):last-child) > column-unit:not([span]) { --span: 4; }
column-set:has(> column-unit:nth-child(4):last-child) > column-unit:not([span]) { --span: 3; }
.mobile column-set:not([mobile-stack="false"]) { grid-template-columns: minmax(0, 1fr); row-gap: calc(var(--mgutter, var(--gutter, 2rem)) * var(--gs)); }
.mobile column-set:not([mobile-stack="false"]) > column-unit { grid-column: auto; }
.mobile column-set:not([mobile-stack="false"]):not([mobile-hide-empty="false"]) > column-unit:empty { display: none; }
.mobile column-set[mobile-stack="false"] { column-gap: calc(var(--gutter, 2rem) * var(--gs)); }

/* Cargo adds a gutter above a block that directly follows another block */
:is(column-set, gallery-grid, gallery-columnized, gallery-justify, gallery-slideshow) + :is(column-set, gallery-grid, gallery-columnized, gallery-justify, gallery-slideshow) { margin-top: calc(var(--gutter, 2rem) * var(--gs)); }

/* media */
media-item { display: inline-flex; flex-direction: column; vertical-align: bottom; position: relative; width: var(--w, 100%); max-width: 100%; margin: 0; }
media-item > img, media-item > a > img, media-item > video { display: block; width: 100%; height: auto; }
media-item > a { display: block; }
media-item.zoomable > img { cursor: zoom-in; }
media-item .embed { position: relative; width: 100%; background: #000; }
media-item .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
bodycopy iframe { border: 0; max-width: 100%; }

/* grid gallery */
gallery-grid { display: grid; grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr)); gap: calc(var(--gutter, 2rem) * var(--gs)); width: 100%; align-items: start; }
.mobile gallery-grid { gap: calc(var(--mgutter, var(--gutter, 2rem)) * var(--gs)); }
gallery-grid[vertical-align="center"] > media-item { align-self: center; }

/* columnized gallery: site.js sorts items into three columns, shortest column first */
gallery-columnized { display: flex; align-items: flex-start; gap: calc(var(--gutter, 1rem) * var(--gs)); width: 100%; }
gallery-columnized > .col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: calc(var(--gutter, 1rem) * var(--gs)); }
gallery-columnized:not(.ready) { flex-wrap: wrap; }
gallery-columnized:not(.ready) > media-item { width: calc((100% - 2 * var(--gutter, 1rem) * var(--gs)) / 3); }

/* justified gallery (the index of pages on the home page) */
gallery-justify { display: block; width: 100%; }
gallery-justify .justify-row { display: flex; align-items: flex-start; gap: calc(var(--gutter, 1rem) * var(--gs)); }
gallery-justify .justify-row + .justify-row { margin-top: calc(var(--gutter, 1rem) * var(--gs)); }
gallery-justify media-item { flex-basis: 0; flex-shrink: 1; min-width: 0; width: auto; }
gallery-justify .page-title a { color: inherit; text-decoration: none; }

/* slideshow */
gallery-slideshow { display: block; position: relative; width: 100%; overflow: hidden; }
gallery-slideshow[limit-by="height"] { height: var(--slide-height, 50rem); }
gallery-slideshow > media-item { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.8s cubic-bezier(0.24, 0, 0.29, 1); pointer-events: none; }
gallery-slideshow > media-item.active { opacity: 1; pointer-events: auto; }
gallery-slideshow > media-item > img { width: 100%; height: 100%; object-fit: contain; }
gallery-slideshow:not([limit-by="height"]) { aspect-ratio: var(--fit-ar, 1); }
.mobile gallery-slideshow[mobile-limit-by="fit"] { height: auto; aspect-ratio: var(--fit-ar, 1); }
.slideshow-nav { position: absolute; top: 50%; width: 30px; height: 30px; margin-top: -15px; padding: 0; border: 0; border-radius: 50%; background: rgba(87, 87, 87, 0.35); cursor: pointer; opacity: 0; transition: opacity 0.2s ease-in-out; z-index: 2; }
.slideshow-nav svg { display: block; width: 100%; height: 100%; fill: none; stroke: rgba(255, 255, 255, 0.9); stroke-width: 1.5px; }
.slideshow-nav.prev { left: 15px; } .slideshow-nav.next { right: 15px; }
.slideshow-nav.next svg { transform: scaleX(-1); }
gallery-slideshow:hover .slideshow-nav, .mobile .slideshow-nav, .slideshow-nav:focus-visible { opacity: 1; }
.slideshow-nav:active { opacity: 0.7; }
.mobile .slideshow-nav.prev { left: 10px; } .mobile .slideshow-nav.next { right: 10px; }

/* icons */
text-icon { display: inline-block; position: relative; aspect-ratio: 1; height: 1.2em; width: auto; margin-top: -1em; margin-bottom: -0.25em; vertical-align: baseline; }
text-icon svg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; }

/* quick view (image zoom) */
.quick-view { position: fixed; inset: 0; z-index: 5000; display: flex; align-items: center; justify-content: center; padding: 3rem; background-color: #ffffff; cursor: zoom-out; }
.quick-view[hidden] { display: none; }
.quick-view img, .quick-view video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.quick-view .slideshow-nav { opacity: 1; position: fixed; }
.quick-view .slideshow-nav.prev { left: 20px; } .quick-view .slideshow-nav.next { right: 20px; }
.quick-view-close { position: fixed; top: 20px; right: 20px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(87, 87, 87, 0.35); color: rgba(255, 255, 255, 0.9); font: 20px/30px Helvetica, Arial, sans-serif; padding: 0; cursor: pointer; }
.mobile .quick-view { padding: 10px; }

/* contact form, shown over the page as on Cargo */
.contact-form { position: fixed; inset: 0; z-index: 6000; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.4); padding: 16px; }
.contact-form[hidden] { display: none; }
.contact-dialog { width: 450px; max-width: 100%; height: 600px; max-height: 90vh; display: flex; flex-direction: column; background: #fff; border-radius: 3px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25); font: 13px/1.4 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; color: rgba(0, 0, 0, 0.85); }
.contact-head { position: relative; text-align: center; font-weight: 700; padding: 12px 40px; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.contact-close { position: absolute; right: 10px; top: 9px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.25); color: #fff; font-size: 15px; line-height: 20px; padding: 0; cursor: pointer; }
.contact-dialog form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.contact-dialog input, .contact-dialog textarea { border: 0; outline: 0; font: inherit; color: inherit; padding: 10px 12px; width: 100%; background: transparent; }
.contact-dialog input { border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.contact-dialog textarea { flex: 1; resize: none; }
.contact-note { margin: 0; padding: 8px 12px; color: #063acc; border-top: 1px solid rgba(0, 0, 0, 0.1); }
.contact-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid rgba(0, 0, 0, 0.1); }
.contact-actions button { font: inherit; border: 0; border-radius: 10em; padding: 6px 16px; min-width: 120px; text-align: left; cursor: pointer; }
.contact-cancel { background: rgba(0, 0, 0, 0.12); color: rgba(0, 0, 0, 0.75); }
.contact-send { background: rgba(0, 0, 0, 0.85); color: #fff; font-weight: 700; }

/* ---------- Part 2: the site's stylesheet, from Cargo ---------- */
body {
	--swatch-1: rgba(0, 0, 0, 0.85);
	--swatch-2: rgba(0, 0, 0, 0.75);
	--swatch-3: rgba(0, 0, 0, 0.6);
	--swatch-4: rgba(0, 0, 0, 0.4);
	--swatch-5: rgba(0, 0, 0, 0.25);
	--swatch-6: #063acc;
	--swatch-7: rgba(8, 7, 134, 0.85);
}

a:active, .linked:active, .zoomable > img:active { opacity: 0.7; }
.page a.active { color: #0ca900; }

sub { position: relative; vertical-align: baseline; top: 0.3em; }
sup { position: relative; vertical-align: baseline; top: -0.4em; }
ol { margin: 0; padding: 0 0 0 2.5em; list-style-type: decimal-leading-zero; }
ul { margin: 0; padding: 0 0 0 2.0em; }
blockquote { margin: 0; padding: 0 0 0 2em; }

hr { background: rgba(0, 0, 0, 0.25); border: 0; height: 1px; display: block; margin-top: 2.0rem; margin-bottom: 2.0rem; }

bodycopy {
	--font-size: 1.55rem;
	font-weight: normal;
	color: rgba(0, 0, 0, 0.85);
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-style: normal;
	line-height: 1.5;
	letter-spacing: 0;
}
bodycopy, bodycopy * { font-size: calc(var(--font-scale) * var(--font-size)); }
bodycopy a { color: #063acc; text-decoration: none; font-weight: 700; }

h1 {
	--font-size: 5.85rem;
	font-family: HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", Helvetica, sans-serif;
	font-style: normal;
	font-weight: 300;
	line-height: 1.5;
	color: rgba(0, 0, 0, 0.85);
	letter-spacing: 0em;
}
h1 a { color: rgba(0, 0, 0, 0.85); text-decoration: none; }

h2 {
	--font-size: 2.75rem;
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-style: normal;
	font-weight: normal;
	color: rgba(0, 0, 0, 0.85);
	line-height: 1.2;
	letter-spacing: -0.024em;
	padding-bottom: 2.0rem;
}
h2 a { color: rgba(194, 0, 154, 0.85); text-decoration: underline; }

/* Cargo set captions in Monument Grotesk Mono, a typeface licensed through Cargo.
   JetBrains Mono (free, SIL Open Font License) stands in for it here. */
.caption {
	--font-size: 1.15rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.63);
	font-family: "Monument Grotesk Mono Variable", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	font-style: normal;
	line-height: 1.4;
	letter-spacing: 0;
	display: block;
}
.caption, .caption * { font-size: calc(var(--font-scale) * var(--font-size)); }
.caption a, a.caption { text-decoration: underline; color: rgba(0, 0, 0, 0.63); font-weight: 400; }
media-item .caption { margin-top: 1.5em; }
gallery-grid .caption, gallery-columnized .caption, gallery-justify .caption { margin-bottom: 2em; }
gallery-justify .caption { text-align: center; }

#C4276659642 .page-content, #Q2296746831 .page-content { padding-top: 2.6rem; }
.mobile #C4276659642 .page-content, .mobile #Q2296746831 .page-content { padding-top: calc(2.6rem * var(--mobile-padding-offset)); }

.button-5 {
	--font-size: 1.1rem;
	font-weight: normal;
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	line-height: 1.3;
	color: rgba(0, 0, 0, 0.85);
	display: inline-block;
	border: 0.2rem solid rgba(0, 0, 0, 0.85);
	padding: 0.7rem 1rem;
	background: #ffffff;
	filter: drop-shadow(0.3rem 0.3rem 0rem rgba(0,0,0,0.85));
	text-decoration: none;
}

.button-4 {
	--font-size: 2.10rem;
	font-size: calc(var(--font-scale) * var(--font-size));
	font-weight: bold;
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	line-height: 1.5;
	color: #063acc;
	display: inline-block;
	border: 0.5rem solid #063acc;
	border-radius: 999rem;
	padding: 0.6rem 2.1rem 0.6rem 2.0rem;
	text-decoration: none;
}

.h3 {
	--font-size: 2.20rem;
	font-size: calc(var(--font-scale) * var(--font-size));
	font-weight: bold;
	color: rgba(0, 0, 0, 0.85);
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	line-height: 1.15;
	display: block;
	border: 0 solid rgba(0,0,0,.85);
	border-bottom-width: 0.1rem;
	padding-bottom: 1.1rem;
}
.h3 * { font-size: inherit; }
.h3 a { color: rgba(0, 0, 0, 0.85); text-decoration: underline; }

.h4 {
	--font-size: 1.75rem;
	font-size: calc(var(--font-scale) * var(--font-size));
	font-weight: 700;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.75);
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	line-height: 1.2;
	letter-spacing: 0.034em;
	display: block;
	padding-bottom: 0.7rem;
}
.h4 * { font-size: inherit; }
.h4 a { color: rgba(0, 0, 0, 0.75); text-decoration: none; font-weight: 700; }
