/* RENE GAGNON — EXPERIMENTAL GALLERY
   Readable stylesheet. Charcoal grain uses CSS dots rather than SVG noise for Safari stability.
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root {
  --ink:#0a0a0b;
  --paper:#f2eee6;
  --lime:#d5ff4f;
  --muted:#a7a6a2
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  background:var(--ink);
  color:var(--paper);
  font-family:'DM Sans',Arial,sans-serif;
  overflow-x:hidden
}

a {
  color:inherit;
  text-decoration:none
}

button {
  font:inherit
}

::selection {
  background:var(--lime);
  color:#000
}

.noise {
  position:fixed;
  inset:0;
  z-index:10;
  pointer-events:none;
  opacity:.12;
  background-image:radial-gradient(circle,rgba(255,255,255,.16) .45px,transparent .7px);
  background-size:4px 4px
}

.topbar {
  position:absolute;
  z-index:20;
  top:0;
  left:0;
  width:100%;
  padding:26px clamp(20px,5vw,82px);
  display:flex;
  align-items:center;
  justify-content:space-between
}

.brand {
  font:700 19px 'Space Grotesk',sans-serif;
  letter-spacing:-.07em
}

.brand span {
  color:var(--lime)
}

.topnav {
  display:flex;
  gap:30px;
  align-items:center;
  font-size:11px;
  letter-spacing:.18em;
  font-weight:700
}

.topnav a:hover {
  color:var(--lime)
}

.pill {
  border:1px solid #8887;
  padding:12px 17px;
  border-radius:99px
}

.hero {
  min-height:100svh;
  position:relative;
  display:flex;
  align-items:center;
  padding:125px clamp(20px,7vw,110px) 80px;
  overflow:hidden
}

.hero-art {
  position:absolute;
  right:-3%;
  top:6%;
  width:53%;
  height:91%;
  object-fit:cover;
  object-position:center 40%;
  filter:saturate(1.15);
  transform:rotate(5deg) scale(1.02);
  box-shadow:-45px 35px 100px #0009;
  animation:float 8s ease-in-out infinite alternate
}

.hero:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#0a0a0b 0%,#0a0a0b 31%,#0a0a0b99 55%,transparent 90%);
  pointer-events:none
}

.hero-copy {
  position:relative;
  z-index:2;
  max-width:850px
}

.eyebrow {
  display:flex;
  align-items:center;
  gap:14px;
  font-size:11px;
  letter-spacing:.28em;
  font-weight:700;
  text-transform:uppercase
}

.eyebrow:before {
  content:"";
  display:block;
  width:34px;
  height:2px;
  background:var(--lime)
}

h1,h2,h3,p {
  margin-top:0
}

h1,h2,h3 {
  font-family:'Space Grotesk',Arial,sans-serif
}

h1 {
  font-size:clamp(76px,12.7vw,210px);
  line-height:.79;
  letter-spacing:-.095em;
  margin:42px 0 38px;
  font-weight:700
}

h1 em {
  font-style:normal;
  color:var(--lime)
}

.hero-desc {
  font-size:clamp(14px,1.4vw,18px);
  line-height:1.7;
  max-width:390px;
  color:#d5d2cc
}

.hero-bottom {
  display:flex;
  gap:30px;
  align-items:center;
  margin-top:36px
}

.action {
  display:inline-flex;
  align-items:center;
  gap:24px;
  padding:17px 23px;
  background:var(--lime);
  color:#111;
  font-weight:700;
  font-size:12px;
  letter-spacing:.07em;
  transition:transform .25s,background .25s
}

.action:hover {
  transform:translateY(-4px);
  background:#f0ffac
}

.scrollcue {
  position:absolute;
  z-index:3;
  bottom:34px;
  right:5vw;
  font-size:10px;
  letter-spacing:.22em;
  writing-mode:vertical-rl;
  color:#fff9
}

.ticker {
  background:var(--lime);
  color:#0b0b0b;
  overflow:hidden;
  white-space:nowrap;
  padding:13px 0;
  font:700 14px 'Space Grotesk',sans-serif;
  letter-spacing:.12em
}

.ticker-track {
  width:max-content;
  animation:marquee 28s linear infinite
}

.ticker span {
  padding:0 32px
}

.intro {
  padding:clamp(85px,12vw,190px) clamp(20px,7vw,110px);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8vw;
  align-items:end
}

.section-label {
  font-size:11px;
  letter-spacing:.23em;
  color:var(--lime);
  font-weight:700;
  text-transform:uppercase
}

.intro h2 {
  font-size:clamp(43px,6.5vw,105px);
  line-height:.94;
  letter-spacing:-.07em;
  margin:25px 0 0
}

.intro p {
  font-size:clamp(16px,1.5vw,21px);
  line-height:1.65;
  color:#b6b5b0;
  max-width:470px
}

.section-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:25px;
  padding:0 clamp(20px,7vw,110px) 30px
}

.section-head h2 {
  font-size:clamp(45px,7vw,110px);
  letter-spacing:-.075em;
  line-height:.9;
  margin:18px 0 0
}

.section-head .index {
  font-size:11px;
  letter-spacing:.15em;
  color:var(--muted)
}

.collection {
  padding:0 0 125px
}

.artgrid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  padding:0 clamp(20px,7vw,110px)
}

.artcard {
  position:relative;
  overflow:hidden;
  cursor:pointer;
  background:#171717;
  border:0;
  padding:0;
  color:inherit;
  text-align:left;
  min-height:420px;
  aspect-ratio: .9
}

.artcard img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .9s cubic-bezier(.2,.75,.2,1),filter .6s
}

.artcard:hover img {
  transform:scale(1.065);
  filter:brightness(.8)
}

.artcard .overlay {
  position:absolute;
  inset:auto 0 0;
  padding:75px 26px 25px;
  background:linear-gradient(transparent,#000c);
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px
}

.overlay strong {
  font:700 clamp(22px,2.5vw,38px) 'Space Grotesk',sans-serif;
  letter-spacing:-.05em
}

.overlay small {
  display:block;
  font-size:10px;
  letter-spacing:.16em;
  margin-bottom:10px;
  color:#ddd
}

.circle {
  display:grid;
  place-items:center;
  border:1px solid #fff8;
  width:46px;
  height:46px;
  border-radius:50%;
  font-size:22px;
  flex-shrink:0
}

.feature {
  margin:0 clamp(20px,7vw,110px) 125px;
  position:relative;
  min-height:75vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:#e2e0d7;
  color:#111
}

.feature img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(.55)
}

.feature:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#000b,transparent 85%)
}

.feature-content {
  position:relative;
  z-index:2;
  padding:clamp(30px,7vw,100px);
  color:#fff
}

.feature-content h2 {
  font-size:clamp(65px,12vw,180px);
  line-height:.84;
  letter-spacing:-.09em;
  margin:22px 0
}

.feature-content p {
  max-width:370px;
  line-height:1.6
}

.end {
  padding:90px 20px 120px;
  text-align:center;
  border-top:1px solid #333
}

.end h2 {
  font-size:clamp(48px,9vw,145px);
  line-height:.9;
  letter-spacing:-.085em;
  margin:22px auto 32px
}

.end p {
  color:#aaa;
  line-height:1.7
}

.end .action {
  margin-top:20px
}

.footer {
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  border-top:1px solid #333;
  padding:25px clamp(20px,7vw,110px);
  font-size:11px;
  letter-spacing:.1em;
  color:#aaa
}

.footer a:hover {
  color:var(--lime)
}

.reveal {
  opacity:0;
  transform:translateY(55px);
  transition:opacity .85s,transform .85s
}

.reveal.visible {
  opacity:1;
  transform:translateY(0)
}

.lightbox {
  position:fixed;
  inset:0;
  background:#090909f5;
  z-index:100;
  display:none;
  align-items:center;
  justify-content:center;
  padding:65px 20px 50px
}

.lightbox.open {
  display:flex
}

.lightbox img {
  max-height:83vh;
  max-width:92vw;
  object-fit:contain;
  box-shadow:0 0 80px #000
}

.close {
  position:absolute;
  top:18px;
  right:22px;
  color:white;
  background:none;
  border:1px solid #777;
  border-radius:50%;
  width:45px;
  height:45px;
  cursor:pointer;
  font-size:25px
}

.lightbox-caption {
  position:absolute;
  bottom:14px;
  left:20px;
  right:20px;
  text-align:center;
  font-size:11px;
  letter-spacing:.15em
}

.lightbox-nav {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:1px solid #888;
  color:#fff;
  background:#111b;
  font-size:24px;
  width:45px;
  height:55px;
  cursor:pointer
}

.lightbox-prev {
  left:10px
}

.lightbox-next {
  right:10px
}

@keyframes float {
  to {
    transform:rotate(3deg) translateY(-18px) scale(1.035)
  }

}

@keyframes marquee {
  to {
    transform:translateX(-50%)
  }

}

@media(max-width:760px) {
  .topbar {
    padding:22px
  }

  .topnav {
    gap:15px
  }


  .hero {
    align-items:end;
    min-height:850px;
    max-height:1000px;
    padding:125px 22px 90px
  }

  .hero-art {
    top:7%;
    right:-24%;
    width:105%;
    height:70%;
    transform:rotate(4deg)
  }

  .hero:after {
    background:linear-gradient(0deg,#0a0a0b 15%,#0a0a0be6 34%,#0a0a0b1c 80%)
  }

  .hero-copy {
    width:100%
  }

  h1 {
    font-size:clamp(72px,18vw,135px);
    margin:24px 0
  }

  .hero-desc {
    max-width:320px
  }

  .intro {
    grid-template-columns:1fr;
    gap:28px
  }

  .artgrid {
    grid-template-columns:1fr
  }

  .artcard {
    min-height:360px;
    aspect-ratio:1
  }

  .feature {
    min-height:610px
  }

  .feature-content h2 {
    font-size:clamp(60px,16vw,110px)
  }

  .section-head {
    align-items:end
  }

  .section-head .index {
    display:none
  }

  .footer {
    line-height:1.6
  }

}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation-duration:.01ms!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important
  }

  .reveal {
    opacity:1;
    transform:none
  }

}

/* ARTIST STATEMENT CONTENT */

.statement-content {
    max-width: 750px;
    text-align: left;
}

.statement-content .statement-heading {
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0 0 24px;
}

/* ABOUT PAGE — ARTIST BIOGRAPHY */

.editorial .biography-content {
    max-width: 800px;
    width: 100%;
}

.editorial .biography-content p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.75;
    color: #aaa;
    margin: 0 0 24px;
}

.editorial .biography-emphasis {
    margin: 36px 0;
}

.editorial .biography-emphasis strong,
.editorial .biography-closing strong {
    color: #f0eee8;
    font-weight: 600;
}

/* ------------------------------------------------------------
   MULTI-PAGE WEBSITE ADDITIONS — clear section for future edits
   ------------------------------------------------------------ */
.topbar { position: relative; background: #0a0a0b; }
.hero .topbar { position: absolute; }
.topnav { gap: clamp(9px, 1.45vw, 23px); }
.topnav a { font-size: 10px; white-space: nowrap; }
.menu-toggle { display: none; background: transparent; border: 1px solid #ffffff55; color: white; padding: 10px 14px; cursor: pointer; }
.inner-hero { position: relative; min-height: min(75vh, 760px); padding: clamp(80px, 11vw, 150px) clamp(20px, 7vw, 110px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.inner-hero:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0a0a0b 12%, #0a0a0bdb 40%, #0a0a0b44 100%); z-index: -1; }
.inner-hero-art { position: absolute; right: 0; top: 0; height: 100%; width: 56%; object-fit: cover; z-index: -2; animation: float 8s ease-in-out infinite alternate; }
.inner-hero-copy { position: relative; max-width: 1000px; }
.inner-hero h1 { font-size: clamp(70px, 11vw, 170px); margin: 28px 0 26px; }
.inner-hero p { color: #ddd; font-size: 13px; letter-spacing: .18em; }
.gallery-intro {
    padding: 85px clamp(20px, 7vw, 110px) 55px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 35px;
}
.gallery-intro p {
	max-width: 100%;
	color: #aaa;
	line-height: 1.75; 
}
.editorial { max-width: 1250px; padding: 110px clamp(20px, 7vw, 110px) 170px; }
.editorial h2 { font-size: clamp(60px, 9vw, 145px); letter-spacing: -.085em; line-height: .9; margin: 35px 0 55px; }
.editorial h2 em { color: var(--lime); font-style: normal; }
.editorial p { max-width: 710px; font-size: clamp(18px, 2vw, 24px); line-height: 1.65; color: #e0ddd7; }
.editorial .muted-note { font-size: 15px; color: #aaa; margin: 35px 0; }
.next-gallery { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 50px clamp(20px, 7vw, 110px) 120px; }
.next-gallery span { font-size: 11px; letter-spacing: .2em; color: #aaa; }
.store-preview { padding: 0 clamp(20px, 7vw, 110px) 130px; }
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.store-grid img { width: 100%; aspect-ratio: .85; object-fit: cover; }
.store-grid h3 { font-size: 25px; letter-spacing: -.06em; margin: 15px 0 5px; }
.store-grid p { color: #aaa; font-size: 13px; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1050px) {
  .topbar { flex-wrap: wrap; }
  .menu-toggle { display: block; }
  .topnav { display: none; flex-basis: 100%; padding-top: 20px; flex-direction: column; align-items: flex-start; gap: 18px; }
  .topnav.nav-open { display: flex; }
}
@media (max-width: 700px) {
  .inner-hero { min-height: 570px; }
  .inner-hero-art { width: 100%; opacity: .62; }
  .inner-hero:after { background: linear-gradient(90deg, #0a0a0be8, #0a0a0b66); }
  .gallery-intro { display: block; }
  .store-grid { grid-template-columns: 1fr; }
  .next-gallery { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Jagged Tears: the complete archive is deliberately denser than the
   two-column curated gallery. Other series retain their existing grids. */
.collection--archive .artgrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.collection--archive .artcard {
  min-height: 0;
  aspect-ratio: .85;
}

.collection--archive .artcard .overlay {
  padding: 48px 14px 14px;
  gap: 9px;
}

.collection--archive .overlay strong {
  font-size: clamp(15px, 1.5vw, 22px);
  line-height: 1.12;
}

.collection--archive .overlay small {
  margin-bottom: 6px;
}

.collection--archive .circle {
  width: 29px;
  height: 29px;
  font-size: 16px;
}

@media (max-width: 1100px) {
  .collection--archive .artgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .collection--archive .artgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .collection--archive .artcard {
    min-height: 0;
    aspect-ratio: .8;
  }
}

@media (max-width: 480px) {
  .collection--archive .artcard .overlay {
    padding: 30px 9px 9px;
  }

  .collection--archive .overlay strong {
    font-size: 13px;
  }

  .collection--archive .circle {
    display: none;
  }
}

/* Homepage: subtle optical spacing adjustments for two headline pairs. */
.hero h1 .kern-without-i { margin-right: .035em; }
.hero h1 .kern-limits-l { margin-right: .035em; }

/* Homepage: collection links beneath the featured artwork pairs. */
.collection-cta { display: flex; justify-content: center; padding: 38px 20px 0; }

/* Social links — shared footer and a restrained homepage invitation. */
.footer {
  flex-direction: column;
  align-items: stretch;
  gap: 26px;
  padding-top: 38px;
  padding-bottom: 32px;
}
.footer-social,
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 34px;
}
.footer-social {
  padding-bottom: 28px;
  border-bottom: 1px solid #ffffff26;
}
.footer-social-label {
  font-weight: 700;
  color: var(--lime);
  letter-spacing: .22em;
  white-space: nowrap;
}
.footer-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px clamp(18px, 2.8vw, 38px);
}
.footer-social-links a {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: var(--paper);
  font-weight: 700;
  letter-spacing: .12em;
  border-bottom: 1px solid transparent;
  padding-bottom: 5px;
  transition: color .2s ease, border-color .2s ease;
}
.footer-social-links a:hover,
.footer-social-links a:focus-visible {
  color: var(--lime);
  border-color: var(--lime);
}
.footer-social-links a span {
  font-size: 15px;
  color: var(--lime);
}
.footer-meta {
  color: #aaa;
}
.social-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .8fr);
  gap: clamp(35px, 7vw, 100px);
  align-items: end;
  padding: clamp(85px, 11vw, 165px) clamp(20px, 7vw, 110px);
  background: #161618;
  border-top: 1px solid #ffffff1f;
}
.social-feature-title h2 {
  font-size: clamp(60px, 8.7vw, 145px);
  line-height: .86;
  letter-spacing: -.09em;
  margin: 32px 0 0;
}
.social-feature-title h2 em {
  color: var(--lime);
  font-style: normal;
}
.social-feature-content p {
  max-width: 500px;
  font-size: clamp(17px, 1.75vw, 22px);
  line-height: 1.65;
  color: #d0cec8;
}
.social-feature-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 13px;
  margin-top: 33px;
  max-width: 390px;
}
.social-feature-actions .action {
  justify-content: space-between;
  min-width: 0;
}
@media (max-width: 850px) {
  .social-feature {
    grid-template-columns: minmax(0, 1fr);
  }
  .social-feature-title h2 {
    font-size: clamp(55px, 12vw, 105px);
  }
}
@media (max-width: 560px) {
  .footer-social {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-social-links {
    gap: 18px 23px;
  }
  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .social-feature {
    gap: 30px;
  }
}

/* THE STORE — Shopify-powered prints and original artworks. */
.store-intro { padding-bottom: clamp(75px, 9vw, 135px); }
.store-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }
.store-jump .action { justify-content: space-between; min-width: 205px; }
.action--outline { background: transparent; color: var(--lime); outline: 1px solid var(--lime); outline-offset: -1px; }
.action--outline:hover { background: var(--lime); color: var(--ink); }
.store-catalog { padding: clamp(82px, 10vw, 155px) clamp(20px, 7vw, 110px); scroll-margin-top: 24px; }
.store-catalog--prints { background: #121214; border-top: 1px solid #ffffff1b; }
.store-catalog--originals { background: #0a0a0b; border-top: 1px solid #ffffff1b; }
.store-catalog-heading { max-width: 1300px; margin: 0 auto 80px; }
.store-catalog-heading h2 { font-size: clamp(57px, 8.3vw, 130px); line-height: .91; letter-spacing: -.085em; margin: 32px 0 35px; font-weight: 700; }
.store-catalog-heading h2 em { color: var(--lime); font-style: normal; }
.store-catalog-heading p { font-size: clamp(16px, 1.7vw, 21px); line-height: 1.7; color: #b9b8b4; max-width: 700px; }
.store-years, .shopify-products--originals { max-width: 1300px; margin: 0 auto; }
.store-year { margin-top: 88px; }
.store-year:first-child { margin-top: 0; }
.store-year-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 25px; padding-bottom: 19px; border-bottom: 1px solid #ffffff55; }
.store-year-heading h3 { font-size: clamp(48px, 5.6vw, 86px); letter-spacing: -.09em; line-height: 1; margin: 0; }
.store-year-heading span { color: var(--lime); font-size: 10px; letter-spacing: .2em; font-weight: 700; white-space: nowrap; }
.shopify-product { min-width: 0; border-bottom: 1px solid #ffffff21; padding: 40px 0 55px; }
.shopify-products > .shopify-product:last-child { border-bottom: 0; }
.shopify-slot { width: 100%; min-height: 320px; }
.shopify-product--original .shopify-slot { min-height: 410px; }
.shopify-slot .shopify-buy-frame { max-width: 100% !important; }
.shopify-loading { display: inline-block; padding: 56px 0; color: #858580; font-size: 11px; font-weight: 700; letter-spacing: .22em; }
.shopify-slot-error { padding: 30px 0; color: #d5d2cc; font-size: 14px; line-height: 1.7; }
.shopify-slot-error a { color: var(--lime); text-decoration: underline; text-underline-offset: 4px; }
.store-checkout-note { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 70px clamp(20px, 7vw, 110px) 115px; background: var(--lime); color: #111; }
.store-checkout-note span { font-size: 11px; letter-spacing: .2em; font-weight: 700; }
.store-checkout-note p { font-size: clamp(18px, 2vw, 25px); max-width: 670px; line-height: 1.5; margin: 0; font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
.store-checkout-note a { font-size: 12px; letter-spacing: .09em; font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid #111; margin-top: 12px; }
.store-checkout-note .shopify-error { color: #732626; font-size: 15px; }
@media (max-width: 760px) {
  .store-intro { padding-top: 90px; }
  .store-jump { flex-direction: column; align-items: stretch; }
  .store-jump .action { width: 100%; min-width: 0; }
  .store-catalog-heading { margin-bottom: 45px; }
  .store-catalog-heading h2 { overflow-wrap: break-word; font-size: clamp(49px, 12.7vw, 76px); }
  .store-year { margin-top: 64px; }
  .store-year-heading h3 { font-size: 59px; }
  .shopify-product { padding: 25px 0 35px; }
  .shopify-slot, .shopify-product--original .shopify-slot { min-height: 380px; }
  .store-checkout-note { padding-top: 55px; padding-bottom: 80px; }
}
