/* julientorriani.studio — static rebuild. Values measured from the original Squarespace 7.0 site. */
:root { --accent: #6ACEE2; --text: #666; --ink: #121212; --nav: #1f1f1f; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 15px/24px "Figtree", "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: .3px; }
a { color: #000; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
strong { font-weight: 600; }

/* ---------- Sidebar (desktop) ---------- */
#mobile-nav { display: none; }
#header { position: fixed; top: 50px; left: 50px; width: 221px; z-index: 5; }
#logo { display: block; }
#logo img { display: block; width: 221px; height: auto; }
#menu-btn { display: none; }
#nav { margin-top: 30px; }
#nav ul { list-style: none; margin: 0; padding: 0; }
#nav a { display: block; color: var(--nav); }
#nav .main a { font-weight: 600; text-transform: uppercase; letter-spacing: normal; padding: 3px 0; line-height: 24px; }
#nav .secondary { margin-top: 20px; }
#nav .secondary a { font-size: 14px; line-height: 22.4px; letter-spacing: .28px; padding: 2.8px 0; }
#nav a:hover, #nav li.active a { color: var(--accent); }
#social { margin-top: 20px; display: flex; }
#social a { display: block; width: 16px; height: 16px; margin-right: 10px; color: #000; overflow: visible; }
#social svg { display: block; margin: -9px 0 0 -9px; }
#social a:hover { color: var(--accent); }

/* ---------- Content area ---------- */
#page { margin: 0 70px 0 306px; padding-top: 45px; min-height: 100vh; }
.content { max-width: 919px; margin-left: 10px; padding-top: 5px; }

/* Squarespace 12-column block grid (used by About, Contact, Prints pages) */
.sqs-row { display: flex; margin: 0 -17px; }
.sqs-row .col { padding: 0 17px; min-width: 0; }
.sqs-col-12 { width: 100%; } .sqs-col-8 { width: 66.6667%; } .sqs-col-6 { width: 50%; } .sqs-col-4 { width: 33.3333%; }
.sqs-block { padding: 17px 0; }
.sqs-row .col > .sqs-block:first-child { padding-top: 0; }
.spacer-block .sqs-block-content { height: 46px; }
.spacer-block.sized.vsize-1 .sqs-block-content { height: 34px; }
.sqs-html-content h1 { font-size: 26px; line-height: 1.23; font-weight: 500; letter-spacing: .26px; color: var(--ink); margin: 0 0 26px; }
.sqs-html-content h1 strong { font-weight: 500; }
.sqs-html-content h2 { font-size: 20.8px; line-height: 1.2; font-weight: 500; color: var(--ink); margin: 0 0 20.8px; }
.sqs-html-content h3 { font-size: 15.6px; line-height: 1.2; font-weight: 500; color: var(--ink); margin: 0 0 15.6px; }
.sqs-html-content p { margin: 0 0 15px; }
.sqs-html-content > :last-child { margin-bottom: 0; }
.sqs-html-content a { color: #000; }
.sqs-block-button-container { text-align: center; }
.sqs-block-button-element { display: inline-block; background: #272727; color: #fff; padding: 21px 34px; font-size: 15px; line-height: 21px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: opacity .2s; }
.sqs-block-button-element:hover { color: #fff; opacity: .8; }
.sqs-block-image-figure { margin: 0; }
.sqs-image-shape-container-element { position: relative; overflow: hidden; }
.has-aspect-ratio img { position: absolute; inset: 0; width: 100%; height: 100%; }
.image-caption-wrapper { padding-top: 18px; }
.image-caption p { font-size: 12px; line-height: 20.16px; margin: 0 0 12px; }
/* "collage" image block: image left, black card overlapping on the right */
.design-layout-collage { display: flex; position: relative; }
.design-layout-collage .intrinsic { width: 50%; position: relative; }
.design-layout-collage .image-inset { width: 140%; padding-top: 20px; }
.design-layout-collage .image-inset img { width: 100%; height: auto; }
.design-layout-collage .image-card-wrapper { width: 50%; position: relative; z-index: 2; display: flex; align-items: flex-start; }
.image-card { background: #000; margin: 87px 0 0 33px; padding: 33px; flex: 1; }
.image-title p { font-size: 19px; line-height: 23px; margin: 0; }
.image-subtitle { margin-top: 9px; }
.image-subtitle p { font-size: 13px; line-height: 19.5px; margin: 0; }
.image-subtitle a { color: #fff; }
hr { border: 0; border-top: 1px solid #bbb; margin: 15px 0; }

/* ---------- Selected Work gallery ---------- */
.gallery { display: flex; gap: 10px; padding-bottom: 50px; align-items: flex-start; }
.gallery .col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.gallery:not(.ready) { display: block; }
.thumb { position: relative; margin: 0; background: #f4f4f4; aspect-ratio: var(--ar); }
.gallery:not(.ready) .thumb { margin-bottom: 10px; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb a.open { display: block; cursor: zoom-in; }
.thumb figcaption { display: none; }
.open { position: relative; }
.open::after { content: ''; position: absolute; inset: 0; }

/* ---------- Fine Art Prints slideshow ---------- */
.slideshow { position: relative; }
.stage { position: relative; aspect-ratio: 4 / 3; }
.stage .slide { position: absolute; inset: 0; margin: 0; display: none; }
.stage .slide.on { display: block; }
.stage .slide a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.stage .slide img { width: 100%; height: 100%; object-fit: contain; }
.stage .meta { position: absolute; right: 0; bottom: 0; width: 455px; max-width: 100%; padding: 25px; background: rgba(0,0,0,.3); color: rgba(255,255,255,.95); font-size: 14px; line-height: 21px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.stage .meta p { margin: 0 0 14px; } .stage .meta p:last-child { margin: 0; }
.stage .meta strong { font-weight: 600; }
.stage:hover .meta { opacity: 1; }
.stage .ctl { position: absolute; top: 50%; margin-top: -30px; width: 44px; height: 60px; border: 0; padding: 0; background: rgba(0,0,0,.12); cursor: pointer; transition: background-color .2s; z-index: 2; }
.stage .ctl:hover { background: rgba(0,0,0,.3); }
.stage .ctl::before { content: ''; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; border: solid #fff; border-width: 0 0 2px 2px; }
.stage .prev { left: 0; } .stage .prev::before { transform: translate(-30%, -50%) rotate(45deg); }
.stage .next { right: 0; } .stage .next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.strip { display: flex; overflow-x: auto; padding: 5px 0; margin-top: 22px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip button { flex: 0 0 auto; width: 103px; height: 77px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .5; transition: opacity .2s; }
.strip button.on, .strip button:hover { opacity: 1; }
.strip img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Blog ---------- */
.blog-layout { display: flex; gap: 50px; align-items: flex-start; padding-top: 5px; }
.blog-main { flex: 1 1 669px; min-width: 0; max-width: 669px; }
.blog-main article { margin-bottom: 60px; }
.blog-main .post-card { margin-bottom: 143px; }
.blog-main header h1 { font-size: 26px; line-height: 31.2px; font-weight: 500; letter-spacing: .26px; color: var(--ink); margin: 0 0 10px; }
.blog-main header h1 a { color: inherit; }
.blog-main header h1 a:hover { color: var(--accent); }
.blog-main time { display: block; color: #919191; line-height: 21px; margin-bottom: 17px; }
.post-card img { display: block; width: 100%; margin-bottom: 15px; }
.post-card p { margin: 0 0 15px; }
.read-more { display: block; color: #000; }
.post figure { margin: 0; }
.post .sqs-block { padding: 17px 0; }
.post .image-block-outer-wrapper figure { margin: 0 auto; }
.pager { display: flex; justify-content: space-between; margin: 0 0 60px; }
.pager .older { margin-left: auto; }
.blog-sidebar { flex: 0 0 200px; }
.blog-sidebar .summary { margin-bottom: 24px; }
.blog-sidebar .summary a { display: block; font-size: 20px; line-height: 24px; color: #000; }
.blog-sidebar .summary a:hover { color: var(--accent); }
.summary-date { font-size: 13px; margin-top: 6px; }

/* ---------- Footer ---------- */
#footer { margin: 60px 0 0 10px; padding: 0 0 40px; font-size: 12px; line-height: 18px; color: #919191; max-width: 919px; }
.gallery + #footer { margin-top: 10px; }

/* ---------- Lightbox ---------- */
#lb { position: fixed; inset: 0; z-index: 100; background: rgba(255,255,255,.97); display: none; }
#lb.on { display: block; }
#lb img { position: absolute; inset: 56px 80px 64px; width: calc(100% - 160px); height: calc(100% - 120px); object-fit: contain; }
#lb::after { content: ''; position: absolute; inset: 56px 80px 64px; }
#lb button { position: absolute; color: #222; background: none; border: 0; cursor: pointer; font: inherit; z-index: 1; }
#lb button:hover { color: var(--accent); }
#lb .x { top: 14px; right: 22px; font-size: 34px; line-height: 1; }
#lb .p, #lb .n { top: 50%; transform: translateY(-50%); font-size: 40px; padding: 20px; }
#lb .p { left: 8px; } #lb .n { right: 8px; }
#lb .info { position: absolute; left: 24px; bottom: 18px; font-size: 13px; }

/* ---------- Phone / small tablet (<= 800px, same breakpoint as the original) ---------- */
@media (max-width: 800px) {
  #mobile-nav { background: var(--accent); padding: 30px 0; }
  #mobile-nav ul { list-style: none; margin: 0; padding: 0; text-align: center; }
  #mobile-nav a { display: block; padding: 14px 0; font-size: 18px; line-height: 24px; font-weight: 600; text-transform: uppercase; letter-spacing: normal; color: rgba(255,255,255,.7); }
  #mobile-nav li.active a, #mobile-nav a:hover { color: #fff; }
  body.menu-open #mobile-nav { display: block; }
  #header { position: relative; top: 0; left: 0; width: auto; padding: 20px; }
  #logo img { width: 255px; max-width: 70vw; }
  #menu-btn { display: block; position: absolute; top: 20px; right: 20px; background: none; border: 0; padding: 8px 0 8px 12px; font: 600 15px/24px inherit; font-family: inherit; text-transform: uppercase; color: var(--accent); letter-spacing: .3px; cursor: pointer; }
  #nav { display: none; }
  #social { margin-top: 16px; }
  #page { margin: 0; padding: 0 20px; min-height: 0; }
  .content { margin: 0; }
  #footer { margin: 40px 0 0; padding-bottom: 30px; }
  .sqs-row { display: block; margin: 0; }
  .sqs-row .col { width: auto; padding: 0; }
  .spacer-block .sqs-block-content, .spacer-block.sized.vsize-1 .sqs-block-content { height: 0; }
  .sqs-html-content h1 { text-align: center; }
  .gallery { padding-bottom: 20px; }
  .thumb figcaption { display: block; padding: 10px 0 24px; font-weight: 700; font-size: 15px; line-height: 22px; color: var(--text); }
  .thumb { aspect-ratio: auto; background: none; }
  .thumb img { height: auto; }
  .stage .meta { position: static; width: auto; opacity: 1; background: none; color: var(--text); padding: 12px 0 0; }
  .stage .slide { position: relative; inset: auto; }
  .stage .slide a { height: auto; aspect-ratio: 4 / 3; }
  .stage { aspect-ratio: auto; }
  .stage .ctl { top: calc((100vw - 40px) * .375); }
  .blog-layout { display: block; }
  .design-layout-collage { display: block; }
  .design-layout-collage .intrinsic, .design-layout-collage .image-card-wrapper { width: auto; }
  .design-layout-collage .image-inset { width: 100%; }
  .image-card { margin: 0; }
  .blog-sidebar { border-top: 1px solid #ddd; padding-top: 24px; margin-bottom: 40px; }
  #lb img, #lb::after { inset: 52px 0 64px; width: 100%; height: calc(100% - 116px); }
  #lb .p, #lb .n { top: auto; bottom: 8px; transform: none; font-size: 32px; padding: 8px 18px; }
  #lb .p { left: 40%; } #lb .n { right: 40%; }
}
