/* Fonts: free stand-ins for the Squarespace Adobe fonts (Jost ≈ futura-pt, Figtree ≈ proxima-nova). */
@font-face { font-family: Jost; font-weight: 300; font-display: swap; src: url(/fonts/jost-latin-300-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Jost; font-weight: 300; font-display: swap; src: url(/fonts/jost-latin-ext-300-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Jost; font-weight: 400; font-display: swap; src: url(/fonts/jost-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Jost; font-weight: 400; font-display: swap; src: url(/fonts/jost-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Jost; font-weight: 500; font-display: swap; src: url(/fonts/jost-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Jost; font-weight: 500; font-display: swap; src: url(/fonts/jost-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Figtree; font-weight: 400; font-display: swap; src: url(/fonts/figtree-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Figtree; font-weight: 400; font-display: swap; src: url(/fonts/figtree-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Figtree; font-weight: 400; font-style: italic; font-display: swap; src: url(/fonts/figtree-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Figtree; font-weight: 400; font-style: italic; font-display: swap; src: url(/fonts/figtree-latin-ext-400-italic.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Figtree; font-weight: 700; font-display: swap; src: url(/fonts/figtree-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Figtree; font-weight: 700; font-display: swap; src: url(/fonts/figtree-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Figtree; font-weight: 700; font-style: italic; font-display: swap; src: url(/fonts/figtree-latin-700-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Figtree; font-weight: 700; font-style: italic; font-display: swap; src: url(/fonts/figtree-latin-ext-700-italic.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #ededed;
  --text: #000;
  --title: #222;
  --nav: #474747;
  --muted: #a1a1a1;
  --accent: #ff670f;
  --rule: #d9d9d9;
  --head: Jost, "Futura PT", Futura, "Century Gothic", sans-serif;
  --body: Figtree, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 6px 10px; z-index: 50; }

/* ---------- standard pages ---------- */
.canvas { max-width: 950px; margin: 0 auto; padding: 35px 25px 40px; }

.site-header { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 25px; border-bottom: 1px solid var(--rule); margin-bottom: 25px; }
.logo a { font: 400 27px/1.2 var(--head); color: var(--title); text-transform: uppercase; text-decoration: none; }
.tagline { margin-top: 8px; font-size: 12px; line-height: 1; letter-spacing: 1px; color: var(--muted); }
.menu-toggle { display: none; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 30px; }
.main-nav a, .folder-toggle { display: block; font: 400 13px/26px var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--nav); text-decoration: none; }
.main-nav a:hover, .folder-toggle:hover, .folder:hover > .folder-toggle, .folder.open > .folder-toggle { color: var(--accent); }
.main-nav .active > a, .main-nav .active > .folder-toggle, .main-nav a[aria-current="page"] { color: var(--accent); }
.folder { position: relative; }
.subnav { display: none; position: absolute; left: 0; top: 100%; z-index: 20; min-width: 175px; padding: 10px 0 12px !important; background: var(--bg); }
.subnav a { line-height: 22.5px; white-space: nowrap; }
.folder:hover .subnav, .folder:focus-within .subnav, .folder.open .subnav { display: block; }

.row { display: flex; gap: 30px; }
.col { flex: var(--span) 1 0; min-width: 0; }
.block + .block { margin-top: 25px; }

.text p { margin: 0 0 1em; }
.text p:last-child { margin-bottom: 0; }
.text h1, .text h2, .text h3 { font: inherit; font-weight: 700; margin: 0 0 1em; }
.text .spacer { min-height: 1.6em; margin: 0; }
.text .spacer:last-child { display: none; }
.align-center { text-align: center; }
.align-right { text-align: right; }

.image { margin: 0 auto; }
.image img { width: 100%; }

.gallery { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap); }
.tile { display: block; aspect-ratio: 1; overflow: hidden; background: #ddd; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.tile:hover img { opacity: .85; }

.buttons { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.button { display: inline-block; padding: 13px 26px; background: #272727; color: #fff; font-size: 12px; line-height: 1.2; letter-spacing: 1px; text-transform: uppercase; }
.button:hover { background: #000; text-decoration: none; }

.slideshow .stage { position: relative; aspect-ratio: 4 / 3; background: var(--bg); }
.slideshow .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; pointer-events: none; }
.slideshow .slide.is-active { opacity: 1; pointer-events: auto; }
.slideshow .slide img { width: 100%; height: 100%; object-fit: cover; }
.slideshow .arrow { position: absolute; top: 50%; translate: 0 -50%; width: 30px; height: 42px; background: rgba(0, 0, 0, .15); }
.slideshow .arrow::after { content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border: solid #fff; border-width: 0 0 1.5px 1.5px; }
.slideshow .prev { left: 0; }
.slideshow .prev::after { rotate: 45deg; translate: 2px 0; }
.slideshow .next { right: 0; }
.slideshow .next::after { rotate: -135deg; translate: -2px 0; }
.slideshow .thumbs { display: flex; justify-content: center; gap: 0; margin-top: 4px; }
.slideshow .thumbs button { width: 50px; height: 50px; opacity: .6; }
.slideshow .thumbs button.is-active, .slideshow .thumbs button:hover { opacity: 1; }
.slideshow .thumbs img { width: 100%; height: 100%; object-fit: cover; }

.site-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 50px; padding-top: 25px; border-top: 1px solid var(--rule); }
.site-footer p { margin: 0; }
.site-footer .social { color: #222; }

/* ---------- cover pages (one per project) ---------- */
.cover-page { background: #222; color: #fff; }
.cover-bg { position: fixed; inset: 0; overflow: hidden; }
.cover-bg img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.cover-bg img.is-active { opacity: 1; }
.cover-bg .scrim { position: absolute; inset: 0; }
.cover { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 100vh; min-height: 100svh; padding: 40px 24px 40px; text-align: center; }
.eyebrow { margin: 0; font: 500 22px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.cover-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; padding: 20px 0 40px; }
.cover h1 { max-width: 900px; margin: 0; font: 300 clamp(44px, 11vw, 110px)/1 var(--head); letter-spacing: -.01em; text-transform: uppercase; overflow-wrap: anywhere; }
.cover-body { max-width: 720px; margin-top: 20px; font: 400 clamp(16px, 2.4vw, 20px)/1.4 var(--head); letter-spacing: .04em; }
.cover-body p { margin: 0 0 12px; }
.cover-body .spacer { min-height: 1.4em; }
.cover-body a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cover-button { margin-top: 40px; padding: 14px 17px 14px 20px; border: 2px solid #fff; color: #fff; font: 500 14px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; }
.cover-button:hover { background: rgba(255, 255, 255, .15); text-decoration: none; }
.cover-social { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #333; }
.cover-social:hover { opacity: .85; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; background: rgba(17, 17, 17, .97); color: #ddd; }
.lightbox.open { display: flex; flex-direction: column; }
.lightbox figure { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; padding: 20px 64px; min-height: 0; }
.lightbox img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lightbox figcaption { max-width: 640px; margin-top: 14px; font-size: 13px; line-height: 1.5; text-align: center; }
.lightbox figcaption:empty { display: none; }
.lightbox figcaption strong.lb-title { display: block; margin-bottom: 4px; font: 500 13px/1.4 var(--head); letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.lightbox figcaption p { margin: 0 0 6px; }
.lightbox button { position: absolute; color: #fff; opacity: .7; }
.lightbox button:hover { opacity: 1; }
.lightbox .lb-close { top: 12px; right: 16px; width: 40px; height: 40px; font-size: 28px; line-height: 1; }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; translate: 0 -50%; width: 56px; height: 80px; }
.lightbox .lb-prev { left: 4px; }
.lightbox .lb-next { right: 4px; }
.lightbox .lb-prev::after, .lightbox .lb-next::after { content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; border: solid #fff; border-width: 0 0 2px 2px; }
.lightbox .lb-prev::after { rotate: 45deg; translate: 4px 0; }
.lightbox .lb-next::after { rotate: -135deg; translate: -4px 0; }
.lightbox .lb-count { position: absolute; top: 20px; left: 20px; font-size: 12px; letter-spacing: 1px; opacity: .6; }
body.lb-open { overflow: hidden; }

/* ---------- small screens (the original switched to a "MENU" bar) ---------- */
@media (max-width: 760px) {
  .canvas { padding: 0 20px 30px; }
  .site-header { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 22px; text-align: center; }
  .menu-toggle { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); font: 400 15px/26px var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--nav); }
  .logo { order: 3; padding-top: 30px; }
  .logo a { font-size: 25px; }
  #site-nav { display: none; order: 2; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .site-header.nav-open #site-nav { display: block; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav a, .folder-toggle { width: 100%; font-size: 15px; line-height: 40px; }
  .subnav { position: static; display: block; padding: 0 0 6px !important; background: none; }
  .subnav a { line-height: 34px; font-size: 13px; }
  .row { flex-direction: column; gap: 25px; }
  .gallery { --cols: 2 !important; }
  .lightbox figure { padding: 56px 12px 24px; }
  .lightbox .lb-prev, .lightbox .lb-next { display: none; }
  .eyebrow { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .cover-bg img, .slideshow .slide, .tile img { transition: none; }
}
