@import "https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600&display=swap";

* { margin: 0; padding: 0; box-sizing: border-box; }

body{
  font-family:'Raleway',sans-serif;
  color:#83d79b;
  background:#E4E4E4;
  transition:.3s ease-out;
  font-size:20px;
  padding: 20px;
  overflow-x: hidden;
}

.site-footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 13px;
  color: #9a9a9a;
}
.site-footer a {
  color: #83d79b;
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }

/* ——— Page header ——— */
.page-head{
  max-width: 800px;
  margin: 110px auto 0;
  text-align: center;
}
.page-title{
  font-size: 28px;
  font-weight: 400;
  color: #83d79b;
}
.page-sub{
  font-size: 14px;
  font-weight: 300;
  color: #9a9a9a;
  margin-top: 8px;
}

.wrapper { margin: 30px auto 80px; max-width: 1200px; }

/* ——— Artist info block ——— */
.artist-info{
  max-width: 600px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  color: #6b6b6b;
  line-height: 1.6;
}
.artist-info a{ color: #83d79b; }

/* ——— Tab bar ——— */
.tab-bar{
  padding: 20px 0;
  margin: 20px 0 0;
  border-bottom: solid 1px #d0d0d0;
  text-align: center;
  font-size: 16px;
}
.tab-btn{
  font-family: 'Raleway', sans-serif;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 10px;
  margin-bottom: 10px;
  color: #83d79b;
  padding: 4px 15px;
  display: inline-block;
  border-radius: 3px;
  font-size: 16px;
  transition: background .2s ease, color .2s ease;
}
.tab-btn:hover { background: #d7f0dd; }
.tab-btn.current { background: #83d79b; color: #fff; }

.tab-panel { display: none; }
.tab-panel.current { display: block; }

/* ——— CV list ——— */
.cv-list{
  max-width: 800px;
  margin: 0 auto;
  padding: 10px 20px;
  list-style: none;
}
.cv-list li{
  padding: 12px 0;
  border-bottom: solid 1px #e0e0e0;
  font-size: 15px;
  font-weight: 300;
  color: #4a4a4a;
  line-height: 1.5;
  text-align: left;
}

/* ——— Artist statement ——— */
.statement{
  max-width: 700px;
  margin: 0 auto;
  padding: 10px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 300;
  color: #4a4a4a;
  line-height: 1.7;
}
.statement p{ margin-bottom: 18px; }
.statement blockquote{
  font-style: italic;
  color: #6b6b6b;
  border-left: 3px solid #83d79b;
  padding-left: 16px;
  margin: 20px 0;
}
.statement .contact{
  margin-top: 24px;
  font-size: 14px;
  color: #9a9a9a;
}
.statement .contact a{ color: #83d79b; }

/* ——— Masonry grid: column layout, no cropping ——— */
.fineart-grid{
  column-count: 3;
  column-gap: 14px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
}
@media (max-width: 900px) {
  .fineart-grid { column-count: 2; }
}
@media (max-width: 560px) {
  .fineart-grid { column-count: 1; }
}

.fineart-item{
  display: block;
  position: relative;
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

.fineart-item img{
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s;
}
.fineart-item:hover img { transform: scale(1.04); }

/* ——— Caption overlay ——— */
.tile-caption{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  background: linear-gradient(to top, rgba(10,20,15,.82) 0%, rgba(10,20,15,0) 55%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.fineart-item:hover .tile-caption,
.fineart-item:focus-within .tile-caption { opacity: 1; }

.tile-title{
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.tile-cat{
  color: #83d79b;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .02em;
  margin-top: 3px;
}

.video-badge{
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10,20,15,.75);
  color: #fff;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 3px;
  pointer-events: none;
}

/* ——— Teaching tab ——— */
.teaching-section{
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 20px;
}
.teaching-section h2{
  font-size: 14px;
  font-weight: 600;
  color: #83d79b;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: left;
}
.teaching-list{
  list-style: none;
}
.teaching-list li{
  padding: 12px 0;
  border-bottom: solid 1px #e0e0e0;
  font-size: 15px;
  font-weight: 300;
  color: #4a4a4a;
  line-height: 1.6;
  text-align: left;
}
.teaching-list li strong{ color: #232323; font-weight: 600; }
.teaching-section .statement{
  max-width: none;
  margin: 0;
  padding: 0;
}
.teaching-photos{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ——— Hamburger menu (unchanged from your site) ——— */
#menuToggle{
  display: block;
  position: fixed;
  top: 65px;
  left: 50px;
  z-index: 1200;
  user-select: none;
}
#menuToggle a{
  text-decoration: none;
  color: #6ed492;
  transition: color 0.3s ease;
}
#menuToggle a:hover{ color: #ffffff; }
#menuToggle input{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  -webkit-touch-callout: none;
}
#menuToggle span{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #6ed492;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}
#menuToggle span:first-child{ transform-origin: 0% 0%; }
#menuToggle span:nth-last-child(2){ transform-origin: 0% 100%; }
#menuToggle input:checked ~ span{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #6ed492;
}
#menuToggle input:checked ~ span:nth-last-child(3){
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
#menuToggle input:checked ~ span:nth-last-child(2){
  transform: rotate(-45deg) translate(0, -1px);
}

#menu{
  position: absolute;
  width: 200px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  left: -40px;
  background: #11111869;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), visibility 0s linear 0.5s;
}
#menu li{ padding: 10px 0; font-size: 22px; }
#menuToggle input:checked ~ ul{
  transform: none;
  visibility: visible;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), visibility 0s;
}
#menuToggle:has(input:focus-visible) {
  outline: 3px solid #83d79b;
  outline-offset: 6px;
  border-radius: 4px;
}

.fancybox-skin { max-width: 90vw; }
img.fancybox-image { width: 100%; }

#menuToggle input:not(:checked) ~ #menu { pointer-events: none; }

nav#navMobile {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
}

.fancybox-slide--html .fancybox-content iframe {
  width: min(90vw, 500px);
  height: min(80vh, 890px);
  border: none;
}

/* Fancybox caption styling to match brand */
.fancybox-caption{
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
}

/* Discoverability: visible "Menu" label next to the hamburger icon.
   Uses a ::after pseudo-element (not a real DOM sibling) so it can't
   shift the :nth-last-child/:first-child bar-animation selectors above. */
#menuToggle::after {
  content: "Menu";
  position: absolute;
  left: 46px;
  top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ed492;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease, color 0.3s ease;
}
#menuToggle:hover::after { color: #ffffff; }
#menuToggle:has(input:checked)::after { opacity: 0; }
#menuToggle input { width: 108px; }
