/* producedbyalex.com — static rebuild
   Type scale mirrors the Squarespace formula: size = k * 1.2vw + 15px on desktop,
   and k * 1.2vh (capped at 900px tall) + 15px on phones. */

@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-wdth.woff2") format("woff2-variations"), url("/assets/fonts/archivo-wdth.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-wght.woff2") format("woff2-variations"), url("/assets/fonts/inter-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #fafafa;
  --ink: #28282a;
  --bright-bg: #f5f5f3;
  --font-display: "pragmatica-extended", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "aktiv-grotesk", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "ibm-plex-mono", ui-monospace, Menlo, monospace;
  --unit: 1.2vw;
  --sqs-site-gutter: 2vw;
  --sqs-mobile-site-gutter: 6vw;
  --sqs-site-max-width: 1500px;
  --gutter: var(--sqs-site-gutter);
  --hh: 85px;
}
@media (max-width: 767px) {
  :root { --unit: min(1.2vh, 10.8px); --gutter: var(--sqs-mobile-site-gutter); --hh: 84px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-weight: 700;
  font-size: calc(.1 * var(--unit) + 15px); line-height: 1.4; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Archivo stands in for Pragmatica Extended until Adobe Fonts is connected */
h1, h2, h3, h4, .site-title, .pg-title, .portfolio-title, .accordion-title {
  font-family: var(--font-display); font-stretch: 112%; font-weight: 700;
  text-transform: uppercase; letter-spacing: -.08em;
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; background: var(--bg);
  box-shadow: 0 2px 8px rgba(0,0,0,.16);
  font-size: calc(.1 * var(--unit) + 15px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5vw var(--gutter); min-height: var(--hh);
}
.site-title {
  font-size: calc(1 * var(--unit) + 15px); line-height: 1.3; text-decoration: none; white-space: nowrap;
}
.header-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.65em; }
.header-nav { font-size: calc(-.1 * var(--unit) + 15px); }
.header-nav a {
  font-family: var(--font-body); font-weight: 400; text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; line-height: 1.8; padding: .1em 0; display: inline-block;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .2s;
}
.header-nav a:hover, .header-nav a.is-active { background-size: 100% 1px; }
.nav-folder { position: relative; }
.nav-folder-list {
  position: absolute; top: 100%; left: -1em; background: var(--bg); padding: .5em 1em;
  list-style: none; margin: 0; display: block !important; min-width: 9em;
  opacity: 0; visibility: hidden; transition: opacity .15s;
}
.nav-folder-list li { padding: .1em 0; }
.nav-folder-list a { line-height: 1.3; }
.nav-folder:hover .nav-folder-list, .nav-folder:focus-within .nav-folder-list { opacity: 1; visibility: visible; }

.burger { display: none; width: 36px; height: 36px; position: relative; }
.burger span { position: absolute; left: 6px; right: 6px; height: 1px; background: currentColor; transition: transform .25s, top .25s; }
.burger span:first-child { top: 14px; }
.burger span:last-child { top: 21px; }
.menu-open .burger span:first-child { top: 18px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 18px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: var(--hh) 0 0 0; background: var(--bg); overflow: auto;
  padding: 6vw var(--gutter); z-index: 49;
}
.m-nav, .m-folder-list { list-style: none; margin: 0; padding: 0; }
.m-nav > li > a, .m-folder-btn, .m-folder-list a, .m-back {
  display: flex; justify-content: center; gap: .4em; width: 100%; text-align: center; text-decoration: none;
  font-family: var(--font-body); font-weight: 400; font-size: 9vw; line-height: 1.45;
}
.m-folder-list { display: none; }
.m-nav.sub-open > li:not(.open) { display: none; }
.m-nav.sub-open .m-folder.open > .m-folder-btn { display: none; }
.m-nav.sub-open .m-folder.open > .m-folder-list { display: block; }
.m-back { font-size: 6vw; opacity: .7; margin-bottom: .6em; }

@media (max-width: 767px) {
  .header-nav { display: none; }
  .burger { display: block; }
  .header-inner { padding: 0 var(--gutter); }
}

/* -------------------------------------------------------------- sections */
main { padding-top: var(--hh); }
.homepage main, .hide-chrome main { padding-top: 0; }
.page-section { position: relative; display: flex; flex-direction: column; justify-content: center; }
.theme-default, .theme-white { background: var(--bg); color: var(--ink); }
.theme-bright { background: var(--bright-bg); color: #000; }
.theme-black { background: var(--ink); color: var(--bg); }

.fe-section .content-wrapper { position: relative; z-index: 1; width: 100%; }
.section-height--small { min-height: 33vh; }
.section-height--medium { min-height: 66vh; }
.section-height--large { min-height: 100vh; }
.section-height--custom { min-height: calc(var(--custom-h, 0) * 1vh); }
.section-height--custom.fe-section > .content-wrapper { padding: calc(var(--custom-h, 0) * .1vw) 0; }
.section-height--small.fe-section > .content-wrapper { padding: 3.3vw 0; }
.section-height--medium.fe-section > .content-wrapper { padding: 6.6vw 0; }
.section-height--large.fe-section > .content-wrapper { padding: 10vw 0; }
.vertical-alignment--top.fe-section > .content-wrapper { padding: 2vw 0 6.6vw; }
.vertical-alignment--top { justify-content: flex-start; }
.vertical-alignment--bottom { justify-content: flex-end; }
@media (max-width: 767px) {
  .section-height--small.fe-section > .content-wrapper { padding: 6vw 0; }
  .vertical-alignment--top.fe-section > .content-wrapper { padding: 6vw 0 13.2vw; }
}

.section-background { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.section-background img { width: 100%; height: 100%; object-fit: cover; }
.section-overlay { position: absolute; inset: 0; background: var(--bg); }
.bg-video iframe {
  position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
  width: max(100vw, 177.78vh); height: max(100vh, 56.25vw); transform: translate(-50%, -50%);
}
.bg-video-filter { position: absolute; inset: 0; background: rgba(250, 250, 250, .45); }
.homepage .page-section { min-height: 100vh; }

/* Squarespace fluid-engine grid: per-section CSS (inline <style>) positions each block */
.fluid-engine { width: 100%; }
.fe-block { position: relative; min-width: 0; }
.fe-block > .sqs-block { height: 100%; width: 100%; display: flex; flex-direction: column; }
.sqs-block-alignment-wrapper { display: flex; height: 100%; width: 100%; }
.fe-block .image-block, .fe-block .image-fill, .fe-block .image-fill a { height: 100%; }
.image-fill img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- text */
.sqs-html-content > *:first-child { margin-top: 0; }
.sqs-html-content > *:last-child { margin-bottom: 0; }
.sqs-html-content p { margin: 1em 0; }
.sqs-html-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
h1 { font-size: calc(4.6 * var(--unit) + 15px); line-height: 1.06; margin: 0 0 .6em; }
h2 { font-size: calc(2.5 * var(--unit) + 15px); line-height: 1.17; margin: 0 0 30px; }
h3 { font-size: calc(1 * var(--unit) + 15px); line-height: 1.248; margin: 0 0 30px; }
h4 { font-size: 15px; line-height: 1.3; margin: 0 0 30px; }
h1 a, h2 a, h3 a, h4 a { text-decoration: none; }
h4 a { text-decoration: underline; }
p.sqsrte-large { font-size: calc(.9 * var(--unit) + 15px); line-height: 1.4; }
p.sqsrte-small, .sqsrte-small p { font-size: calc(-.04 * var(--unit) + 15px); line-height: 1.4; }
.sqsrte-text-color--white { color: #fff; }
.sqsrte-text-color--black { color: #000; }
pre { margin: 0; white-space: pre-wrap; }
code { font-family: var(--font-mono); font-weight: 400; font-size: 15px; line-height: 1.2; letter-spacing: .02em; }
strong { font-weight: 700; }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-body); font-weight: 500; font-size: 15px; letter-spacing: .02em; line-height: 1.2;
  color: #000; background: transparent; border: 1px solid #000; text-decoration: none;
  padding: .45em 12px; transition: background-color .15s, color .15s;
}
.btn:hover { background: #000; color: var(--bg); }
.theme-black .btn { color: var(--bg); border-color: var(--bg); }
.fe-block .button-block .sqs-block-alignment-wrapper { align-items: stretch; }
.fe-block .button-block .btn { width: 100%; }

/* ------------------------------------------------- gallery block (video grid) */
.gblock {
  display: grid; grid-template-columns: repeat(var(--per), minmax(0, 1fr));
  gap: var(--gpad); padding-bottom: var(--gpad);
}
@media (max-width: 767px) { .gblock { grid-template-columns: repeat(min(var(--per), 2), minmax(0, 1fr)); } }
.gblock-slide { position: relative; }
.gblock-media { display: block; width: 100%; aspect-ratio: var(--ar); overflow: hidden; background: #e8e8e6; }
.gblock-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
button.gblock-media:hover img, a.gblock-media:hover img { opacity: .85; }
.gblock-title {
  pointer-events: none; position: absolute; top: 50%; bottom: 0; width: 100%; text-align: center;
  font-family: var(--font-body); text-transform: uppercase; font-weight: 600; font-size: 3vw; line-height: 1.4;
  color: #f3f6f4; text-shadow: .5px .5px 30px #292929; white-space: nowrap; letter-spacing: .02em;
  line-height: calc(1.4 * (.1 * var(--unit) + 15px));
}

/* ------------------------------------------- gallery sections (strips/masonry) */
.gallery-section { display: block; }
.gallery { position: relative; padding: 0 var(--gutter); }
.gallery .g-item { margin: 0; overflow: hidden; background: #ececea; }
.gallery .g-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-item button { display: block; width: 100%; height: 100%; cursor: zoom-in; }
/* pre-JS / no-JS fallback: simple grid */
.gallery:not(.is-laid-out) { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.gallery:not(.is-laid-out) .g-item { aspect-ratio: var(--ar); }
.gallery.is-laid-out .g-item { position: absolute; }

/* ----------------------------------------------------------- portfolio grid */
.portfolio-section { display: block; padding: 3.6vw var(--gutter) 3vw; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
@media (max-width: 767px) { .portfolio-grid { grid-template-columns: 1fr; } }
.grid-item { text-decoration: none; display: block; }
.grid-image { aspect-ratio: 16/9; overflow: hidden; background: #ececea; }
.grid-image img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.grid-item:hover .grid-image img { opacity: .75; }
.portfolio-title { font-size: 15px; line-height: 1.3; margin: 10px 0 7.5px; }

/* --------------------------------------------------------- BTS pagination */
.item-pagination {
  display: flex; justify-content: space-between; align-items: center; gap: 2em;
  padding: 3vw var(--gutter); background: var(--bg);
}
.pg-link { display: flex; align-items: center; gap: 1.2em; text-decoration: none; }
.pg-title { margin: 0; font-size: calc(1 * var(--unit) + 15px); line-height: 1; }
.pg-icon svg { width: 13px; height: 24px; stroke: currentColor; stroke-width: 2; display: block; }
.pg-link:hover .pg-title { opacity: .7; }
@media (max-width: 767px) { .item-pagination { padding: 3vw var(--gutter); gap: 1em; } .pg-link { gap: .8em; } .pg-icon svg { width: 11px; height: 20px; } }

/* -------------------------------------------------------------- accordion */
.accordion { list-style: none; margin: 0; padding: 0; border-top: 1px solid currentColor; }
.accordion-item { border-bottom: 1px solid currentColor; }
.accordion-title-wrap { margin: 0; }
.accordion-btn { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 30px 0; text-align: left; }
.accordion-title { font-size: calc(1 * var(--unit) + 15px); line-height: 1.3; padding-right: 24px; }
.accordion-icon { width: 14px; height: 14px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin: -8px 6px 0 0; transition: transform .2s; flex: none; }
.accordion-btn[aria-expanded="true"] .accordion-icon { transform: rotate(-135deg); margin-top: 6px; }
.accordion-desc { padding: 0 0 30px; margin-top: 0; font-size: calc(-.04 * var(--unit) + 15px); }
.accordion-desc p { margin: 0 0 1em; }

/* ----------------------------------------------------------------- footer */
.site-footer { padding: 2vw var(--gutter) 6.6vw; min-height: 33vh; }
.footer-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 2vw; }
.footer-col.span-9 { grid-column: span 9; }
.footer-col.span-3 { grid-column: span 3; }
.footer-col.span-12 { grid-column: span 12; }
.site-footer h2 { margin-bottom: 30px; }
.site-footer h4 a { color: #fff; }
.social-links { display: flex; gap: 10px; margin-top: 33px; }
.social-links a { width: 36px; height: 36px; border-radius: 15%; background: var(--bg); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.social-links svg { width: 22px; height: 22px; }
.social-links a:hover { opacity: .8; }
@media (max-width: 767px) {
  .site-footer { padding: 2vw var(--gutter) 14.3vw; }
  .footer-col.span-9, .footer-col.span-3 { grid-column: span 12; padding: 17px 0; }
}

/* -------------------------------------------------------- hidden-chrome pages */
.hide-chrome .page-section:first-child { min-height: 100vh; }

/* --------------------------------------------------------------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(250, 250, 250, .97); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-stage { width: min(92vw, calc(84vh * 16 / 9)); display: flex; align-items: center; justify-content: center; }
.lb-stage .lb-video { width: 100%; aspect-ratio: 16/9; }
.lb-stage iframe { width: 100%; height: 100%; border: 0; background: #000; }
.lb-stage img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; }
.lb-close { position: absolute; top: 20px; right: 24px; width: 36px; height: 36px; }
.lb-close::before, .lb-close::after { content: ""; position: absolute; left: 4px; right: 4px; top: 17px; height: 1.5px; background: var(--ink); transform: rotate(45deg); }
.lb-close::after { transform: rotate(-45deg); }
.lb-prev, .lb-next { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-prev::before, .lb-next::before { content: ""; position: absolute; top: 16px; width: 16px; height: 16px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.lb-prev::before { left: 20px; transform: rotate(45deg); }
.lb-next::before { right: 20px; transform: rotate(-135deg); }
.lightbox.is-video .lb-prev, .lightbox.is-video .lb-next, .lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
body.lb-open { overflow: hidden; }

/* -------------------------------------------- sheet-driven video pages */
.video-page { display: block; padding: 3.3vw 0; }
.video-page:not(.video-page--full) { padding-left: var(--gutter); padding-right: var(--gutter); }
.video-page:not(.video-page--full) .gblock-title { font-size: calc(3vw / var(--per)); }
@media (max-width: 767px) { .video-page:not(.video-page--full) .gblock-title { font-size: calc(6vw / min(var(--per), 2)); } }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
