/*
 * Base layout for the exported Showit pages.
 * Each page's own <style id="si-page-css"> positions every element on a fixed
 * canvas (1200px desktop / 320px mobile); these rules supply the canvas model
 * that stylesheet assumes. /assets/si-runtime.js handles scaling and widgets.
 */

/* reset */
html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a,
em, img, small, strong, b, u, i, ol, ul, li, form, label, table, tbody, tr, td,
th, article, aside, figure, figcaption, footer, header, nav, section, video {
  margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline;
}
a, a:link, a:visited, a:hover, a:active, a:focus { color: inherit; text-decoration: none; }
article, aside, figure, figcaption, footer, header, nav, section { display: block; }
body { line-height: 1; position: relative; }
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
b, strong { font-weight: 700; }
em, i { font-style: italic; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
input { font: inherit; }
input[type=text], input[type=email], textarea {
  border: 0; border-radius: 0; box-shadow: none; padding: 0; resize: none; overflow-y: hidden;
}

/* canvas model: page > block > state/background > canvas > element */
.sp { position: relative; width: 100%; min-width: 320px; overflow: hidden; }
.sb { position: relative; width: 100%; pointer-events: none; }
.ss { display: none; }
.ss, .ss-s, .ss.sactive { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.ss-s, .ss.sactive { display: block; }
.sc { position: relative; width: 100%; height: 100%; margin: 0 auto; pointer-events: none; }
.sp .sc { width: var(--si-scw, 1200px) !important; }
.sb-fp { position: relative; width: 100%; display: none; }

/* block background media */
.sb-m { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: 100%; overflow: hidden; }
.sb-m .sb-mc { position: absolute; display: block; width: auto; height: auto; max-width: none; }

/* elements */
.se {
  position: absolute; display: block; box-sizing: border-box; outline: none;
  pointer-events: auto; transform-origin: 50% 50%; animation-fill-mode: both;
}
.se-t { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; }
.se-t:focus { outline: none; border: 0; }
.se-t::placeholder { color: inherit; opacity: .5; }
.se.si-dyn { height: auto !important; }
.se.si-dyn > .se-t, .se.si-dyn > .si-embed, .se.si-dyn > [data-secn="d"] { position: relative; height: auto !important; }
.se-img { display: block; width: 100%; height: 100%; background-repeat: no-repeat; background-position: 50% 50%; background-size: cover; }
.se-icon, .se-icon svg, .se-line, .se-line svg { width: 100%; height: 100%; }
.se-line svg { vertical-align: top; }
.se-svg { display: block; }
.se-svg svg { width: 100%; }
.se-simple { width: 100%; height: 100%; box-sizing: border-box; border-style: solid; }
.se-il { pointer-events: none; }
.d .se-bd, .m .se-bm { overflow: hidden; }
.se-pc { cursor: pointer; }

/* rich text */
.se-t-list ul, .se-t-list ol { margin-left: 1.4em; }
.se-t-list li { margin-left: 1em; padding-left: .1em; }
.se-t-list ol { list-style: decimal; }
.se-t-list ul { list-style: disc; }
.se-rc a { text-decoration: underline; }
.se-rc a:hover { opacity: .8; }

/* WordPress content inside a text element */
.se-wpt-pc::after { content: ""; display: table; clear: both; }
.se-wpt-pc a, .se-wpt-pc a:link, .se-wpt-pc a:visited, .se-wpt-pc a:active, .se-wpt-pc a:focus, .se-wpt a:hover { text-decoration: underline; }
.se-wpt a:hover { opacity: .8; }
.se-wpt b, .se-wpt strong { font-weight: 700; }
.se-wpt em, .se-wpt i { font-style: italic; }
.se-wpt ul, .se-wpt ol { margin-left: 20px; }
.se-wpt ol { list-style-type: decimal; }
.se-wpt-pc ul { list-style-type: disc; }
.se-wpt blockquote { margin: 1em; padding: 1em; max-width: 500px; background: rgba(122,122,122,.2); }
.se-wpt img { max-width: 100%; height: auto; }
.se-wpt input[type=text] { color: inherit; }
.se-wpt input[type=text], .se-wpt textarea { border: 1px solid rgba(122,122,122,.5); }
input[type=submit] {
  margin-top: 10px; padding: 10px; width: auto; cursor: pointer; font: inherit;
  background: none; border: 1px solid rgba(125,125,125,.5); color: rgba(125,125,125,.5);
}
.alignleft { display: inline; float: left; }
.alignright { display: inline; float: right; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
img.alignleft, blockquote.alignleft, .wp-caption.alignleft { margin: .4em 1.6em 1.6em 0; }
img.alignright, blockquote.alignright, .wp-caption.alignright { margin: .4em 0 1.6em 1.6em; }
img.aligncenter, blockquote.aligncenter, .wp-caption.aligncenter { clear: both; margin-top: .4em; margin-bottom: 1.6em; }
.wp-caption.alignleft, .wp-caption.alignright, .wp-caption.aligncenter { margin-bottom: 1.2em; }
a img.alignright { float: right; margin: 5px 0 20px 20px; }
a img.alignleft, a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 96%; padding: 5px 3px 10px; text-align: center; background: #fff; border: 1px solid #f0f0f0; }
.wp-caption.alignleft, .wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img { width: auto; height: auto; max-width: 98.5%; margin: 0; padding: 0; border: 0; }
.wp-caption p.wp-caption-text { margin: 0; padding: 0 4px 5px; font-size: 11px; line-height: 17px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.sb-wp404 { position: relative; width: 100%; height: 400px; }
.sb-wp404 .sc { width: 400px; pointer-events: auto; }
.comment { padding: 10px; }
.comments-area { border-top: 1px solid rgba(51,51,51,.1); }
.comment-list { margin: 5px; list-style-type: none !important; }
.comment-list p { padding-top: 10px; }
.comment-form label { display: block; line-height: 1.5; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { box-sizing: border-box; max-width: 100%; font: inherit; }

/* form validation feedback */
.se-tf.si-invalid::placeholder { color: #b0413e; opacity: 1; }

/* entrance transitions (see runtime) */
.si-tr-wait { visibility: hidden; }

/* sliding gallery */
.sgx { position: relative; width: 100%; height: 100%; }
.sgx-vp { position: relative; width: 100%; overflow: hidden; touch-action: pan-y; }
.sgx-track { position: absolute; top: 0; left: 0; height: 100%; will-change: transform; }
.sgx-cell { position: absolute; top: 0; height: 100%; width: auto; display: block; user-select: none; -webkit-user-drag: none; }
.sgx-dots { box-sizing: border-box; position: absolute; left: 0; bottom: 0; width: 100%; margin: 0; padding: 10px 0 0; line-height: 0; text-align: center; list-style: none; }
.sgx-dots .dot { display: inline-block; vertical-align: top; border-radius: 50%; cursor: pointer; }

/* tile (masonry) gallery */
.stg-grid { position: relative; }
.stg-grid-item { position: absolute; box-sizing: border-box; padding: 2px; }
.stg-grid-img { display: block; width: 100%; height: auto; }

/* "Inquire" is the site's main call to action: a gold button like her "send a note"
   buttons, in the nav on every page (and in the phone header, see tools/tweaks.py). */
.sib-menu .sie-menu_6::before,
.sie-menu-closed-mobile_3::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  background: rgba(224,189,129,1); transition: background-color .2s ease;
}
.d .sib-menu .sie-menu_6::before { inset: -9px -16px -1px; }
.m .sib-menu .sie-menu_6::before { inset: -14px 34px; }
.sie-menu-closed-mobile_3::before { inset: 0; }
.sib-menu a.sie-menu_6:hover::before,
a.sie-menu-closed-mobile_3:hover::before { background: rgba(211,172,103,1); }
.sib-menu a.sie-menu_6:hover, a.sie-menu-closed-mobile_3:hover { opacity: 1 !important; }
.sib-menu .sie-menu_6 .se-t, .sie-menu-closed-mobile_3 .se-t { color: rgba(43,21,17,1) !important; }
.sie-menu-closed-mobile_3 .se-t { white-space: nowrap; }

/* keyboard focus (Showit elements had outline:none with no replacement) */
a.se:focus-visible, .se[role="button"]:focus-visible, [data-form-submit]:focus-visible,
.sp a:focus-visible { outline: 2px solid rgba(72,44,38,1); outline-offset: 3px; }
/* newsletter form: visible error marker even when a field has text, and a message line */
.se-tf.si-invalid { box-shadow: inset 0 -2px 0 #a4453a; }
.si-form-msg { position: absolute; left: 0; right: 0; top: 100%; margin: 6px 0 0; font: 12px/1.3 'Crimson Text', serif; color: #a4453a; text-align: center; }
.si-form-msg:empty { display: none; }
/* phone header "inquire": bigger tap target than the visible 52x20 button */
.sie-menu-closed-mobile_3::after { content: ""; position: absolute; inset: -12px -6px; }
.sb[role="dialog"]:focus { outline: none; }
/* imported Squarespace image wrappers: WordPress moved each photo out of its padded box, which then
   left a photo-sized blank gap (7 pages). The boxes are empty, so collapse them. */
.se-wpt .sqs-image-shape-container-element.has-aspect-ratio { padding-bottom: 0 !important; }

/* tile gallery lightbox */
.si-lb { position: fixed; inset: 0; z-index: 80000; background: #000; display: none; align-items: center; justify-content: center; }
.si-lb.open { display: flex; }
.si-lb-img { max-width: calc(100% - 20px); max-height: calc(100% - 20px); object-fit: contain; user-select: none; }
.si-lb button { position: absolute; background: none; border: 0; color: #fff; opacity: .75; cursor: pointer; font: 300 44px/1 Georgia, serif; padding: 8px 14px; }
.si-lb button:hover, .si-lb button:focus-visible { opacity: 1; }
.si-lb-x { top: 6px; right: 8px; font-size: 38px; }
.si-lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.si-lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
html.si-lb-lock, html.si-lb-lock body { overflow: hidden; }
.stg-grid-item:focus-visible { outline: 2px solid rgba(72,44,38,1); outline-offset: -4px; }
/* leftover Squarespace "Embed Block / Add an embed URL" placeholders on old wardrobe pages */
.sqs-blockStatus { display: none !important; }
