@import url("typography.css");

/* North End Heart: page-specific editorial composition. Shared navigation lives in header.css. */
:root{--ink:#141414;--lime:#d1ff00}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}a{color:inherit}
.north-page{width:100%;overflow:hidden}
.north-hero{width:100%;height:auto;aspect-ratio:1.91;overflow:hidden}
.north-hero img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.north-intro{padding:clamp(48px,6vw,105px) 8.5% clamp(48px,6.5vw,104px)}
.north-intro h1{font-size:clamp(26px,2.8vw,42px);font-weight:var(--heading-weight);line-height:var(--heading-leading);margin:0 0 9px;letter-spacing:var(--heading-tracking);font-family:var(--editorial-font);overflow-wrap:anywhere;min-width:0;}
.north-intro .subhead{margin:0 0 24px;font-size:clamp(12px,1.05vw,16px);font-weight:var(--subtitle-weight);letter-spacing:var(--subtitle-tracking);line-height:var(--subtitle-leading);}
.north-intro-columns{display:grid;grid-template-columns:1fr 1fr;gap:7%;font-size:clamp(13px,1.13vw,17px);line-height:var(--body-leading);font-weight:var(--body-weight);letter-spacing:var(--body-tracking);font-family:var(--editorial-font);}
.north-intro-columns p{margin:0 0 22px}
.north-intro-columns p:last-child{margin-bottom:0}
.north-identity{padding:0 1.5% clamp(38px,4.7vw,70px)}
.north-identity img{width:100%;height:auto;display:block;object-fit:contain}
.north-pair{display:grid;grid-template-columns:1fr 1fr;gap:0}
.north-pair figure,.north-full figure,.north-triptych figure{margin:0;position:relative;overflow:hidden}
.north-pair img{width:100%;height:100%;display:block;object-fit:cover}
.north-pair.identity-pair{aspect-ratio:2.20}
.north-pair.identity-pair img{object-position:center}
.north-pair.street-pair{aspect-ratio:2.0}
.north-pair.street-pair img{object-position:center}
.north-pair.concrete-pair{aspect-ratio:2.02}
.north-pair.concrete-pair img{object-position:center}
.north-full{width:100%;}
.north-full img{display:block;width:100%;height:auto}
.north-collage{padding:clamp(16px,3vw,45px) 4%;}
.north-collage img{display:block;width:100%;max-width:1500px;height:auto;margin:auto}
.north-note{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:0;min-height:clamp(300px,37vw,610px)}
.north-note-copy{padding:clamp(30px,5vw,86px) 11% 35px 10%;display:flex;flex-direction:column;justify-content:center;font-size:clamp(14px,1.25vw,18px);font-weight:var(--body-weight);line-height:var(--body-leading);letter-spacing:var(--body-tracking);font-family:var(--editorial-font);}
.north-note-copy p{margin:0 0 24px}
.north-note-copy p:first-child{font-style:italic}
.north-note-copy p:last-child{margin-bottom:0}
.north-note figure{margin:0;position:relative;overflow:hidden}
.north-note img{width:100%;height:100%;object-fit:cover;display:block;object-position:center}
.north-loved img{width:100%;height:auto;display:block}
.north-triptych{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0;align-items:stretch;aspect-ratio:2.5}
.north-triptych img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.north-ending{width:100%;aspect-ratio:1.95;overflow:hidden}
.north-ending img{width:100%;height:100%;object-fit:cover;display:block}
.site-footer{display:grid;grid-template-columns:minmax(0,1fr) 160px minmax(0,1fr);gap:30px;align-items:start;background:white;padding:24px 5% 35px}
.footer-social h2{font-size:25px;font-weight:400;margin:0 0 14px}.social-links{display:flex;gap:18px}.social-icon{width:27px;height:27px;display:grid;place-items:center;background:#242326;color:white;border-radius:4px;text-decoration:none;font-size:18px;font-weight:700}.social-icon.instagram{background:transparent}.social-icon.instagram img{width:27px;height:27px;object-fit:contain}.footer-logo{display:block;justify-self:center}.footer-logo img{width:65px;height:75px;display:block;object-fit:contain}.footer-message{font:13px/1.4 Jura,sans-serif;justify-self:end}.footer-message p{margin:0 0 15px}
@media(max-width:800px){.north-intro{padding:38px 7% 44px}.north-intro-columns{gap:4%;}.north-note{min-height:300px}.north-triptych{aspect-ratio:2.25}.site-footer{grid-template-columns:1fr 100px 1fr;gap:14px}.footer-message{font-size:12px}}
@media(max-width:580px){.north-hero{aspect-ratio:1.4}.north-intro-columns{grid-template-columns:1fr;gap:0;font-size:15px}.north-intro h1{font-size:28px}.north-intro .subhead{margin-bottom:22px}.north-identity{padding:4px 0 30px}.north-pair.identity-pair{aspect-ratio:1.42}.north-pair.street-pair,.north-pair.concrete-pair{aspect-ratio:1.25}.north-collage{padding:14px 0}.north-note{grid-template-columns:1fr;min-height:0}.north-note-copy{padding:40px 7%;font-size:15px}.north-note figure{height:320px}.north-triptych{aspect-ratio:1.7}.north-ending{aspect-ratio:1.2}.site-footer{grid-template-columns:1fr 70px;row-gap:22px}.footer-logo{grid-column:2;grid-row:1}.footer-logo img{width:58px;height:76px}.footer-message{grid-column:1/-1;justify-self:start}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Transparent foreground art: no clipping, scaling-to-fill or inherited image height. */
.north-page { overflow: clip; }
.north-pair.street-pair { position: relative; z-index: 1; }
.north-pair.concrete-pair { position: relative; z-index: 1; }

.north-note.north-layered {
  position: relative;
  z-index: 3;
  display: block;
  min-height: 0;
  overflow: visible;
  background: #fff;
}
.north-note.north-layered .north-note-copy {
  position: relative;
  z-index: 2;
  width: 51%;
  min-height: 0;
  padding: 30px 5.5% 30px 7.5%;
}
/* Higher specificity than .north-note img (which otherwise forces height:100%
   and object-fit:cover, visibly chopping the transparent artwork). */
.north-note.north-layered > img.north-utility-overlay {
  position: absolute;
  z-index: 4;
  display: block;
  width: 60%;
  height: auto;
  max-width: none;
  top: calc(-90% - 100px);
  right: -10%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  overflow: visible;
}

.north-closing-stack { position: relative; z-index: 2; isolation: isolate; }
.north-closing-stack .north-triptych { position: relative; z-index: 1; }
.north-closing-stack .north-triptych figure { overflow: hidden; }
.north-closing-stack .north-triptych figure:nth-child(3) { background: #fff; }

.north-closing-stack .north-triptych figure:first-child {
  padding: 28px 30px;
}

/* Original transparent image, not a crop. Visible content is concentrated
   in the right portion of its intrinsic alpha canvas. */
.north-closing-stack > img.north-pole-overlay {
  position: absolute;
  z-index: 4;
  display: block;
  width: 60%;
  height: auto;
  max-width: none;
  top: calc(-14vw + 80px);
  right: 0;
  object-fit: contain;
  pointer-events: none;
}
.north-closing-stack .north-ending { position: relative; z-index: 0; }
.north-ending-video,.north-video-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.north-ending-video { opacity: 0; z-index: 1; }
.north-video-fallback { opacity: 1; z-index: 0; }
.north-ending.has-video .north-ending-video { opacity: 1; }
.north-ending.has-video .north-video-fallback { opacity: 0; }
/* Temporary low-res crop. Does not pretend to replace the high-resolution source. */
.north-pair.identity-pair figure:first-child { background: #28272c; display: grid; place-items: center; }
.north-pair.identity-pair figure:first-child img { object-fit: contain; width: min(42%,240px); height: auto; image-rendering: auto; }
@media (max-width: 800px) {
  .north-note.north-layered,.north-note.north-layered .north-note-copy { min-height: 335px; }
  .north-note.north-layered > img.north-utility-overlay { width: 63%; top: -27vw; right: -11%; }
  .north-closing-stack > img.north-pole-overlay { width: 62%; top: -14vw; right: 0; }
}
@media (max-width: 580px) {
  .north-note.north-layered { min-height: 660px; }
  .north-note.north-layered .north-note-copy { min-height: 0; width: 100%; padding: 32px 7% 340px; }
  .north-note.north-layered .north-note-copy p { max-width: 100%; font-size: 14px; }
  .north-note.north-layered > img.north-utility-overlay { width: 100%; top: auto; bottom: -75px; right: -24%; }
  .north-closing-stack .north-triptych { aspect-ratio: 1.7; }
  .north-closing-stack > img.north-pole-overlay { width: 82%; top: -22vw; right: 0; }
  .north-pair.identity-pair figure:first-child img { width: 65%; }
}

/* The note block itself determines its height; zero margins cannot shrink it. */

/* Full framed artwork, balanced like the original Wix composition. */
.north-closing-stack .north-triptych {
  grid-template-columns: 32% 36% 32%;
  aspect-ratio: 1.65 / 1;
  background: #fff;
}
.north-closing-stack .north-triptych figure {
  height: 100%;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}
.north-closing-stack .north-triptych figure img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
}
/* White narrative area has deliberate copy space, without an extra blank band. */
.north-note.north-layered .north-note-copy { padding-top: 85px; padding-bottom: 85px; }
@media (max-width: 580px) {
  .north-closing-stack .north-triptych { aspect-ratio: 1.6 / 1; grid-template-columns: 33% 36% 31%; }
  .north-closing-stack .north-triptych figure img { object-fit: contain; }
}

.north-pair.street-pair figure:first-child img {
  width: calc(100% + 12px);
  max-width: none;
}

.north-pair.identity-pair figure:first-child {
  background: none;
}

.north-pair.identity-pair figure:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Mobile identity graphic spacing */
@media (max-width: 800px) {
  .north-page .north-identity {
    width: 92%;
    margin-left: auto;
    margin-right: auto;
  }
}/* North End Heart — mobile composition */
@media (max-width: 800px) {

  /* Stack heart wall, It Takes Heart,
     bar artwork and milk bottle */
  .north-pair.identity-pair,
  .north-pair.street-pair {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    gap: 0;
  }

  .north-pair.identity-pair figure img,
  .north-pair.street-pair figure img,
  .north-pair.identity-pair figure:first-child img,
  .north-pair.street-pair figure:first-child img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* White space around the heart collage */
  .north-collage {
    padding: 6vw 5%;
  }

  /* Narrative text */
  .north-note.north-layered {
    min-height: 0;
  }

  .north-note.north-layered .north-note-copy {
    width: 100%;
    min-height: 0;
    padding: 10vw 7%;
  }

  /* Hide utility box and street pole */
  .north-note.north-layered > img.north-utility-overlay,
  .north-closing-stack > img.north-pole-overlay {
    display: none;
  }

  /* Stack framed artworks */
  .north-closing-stack .north-triptych {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    gap: 5vw;
    padding: 5vw 4%;
  }

  .north-closing-stack .north-triptych figure,
  .north-closing-stack .north-triptych figure:first-child {
    height: auto;
    padding: 0;
  }

  .north-closing-stack .north-triptych figure img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* Closing video */
  .north-ending {
    aspect-ratio: 1.95 / 1;
  }

}