
/* Sayita Hex Renderer v1
   Inspired by original Wix visual language:
   black banner, white title, black nav strip, sparse white page, hexagonal galleries.
*/

:root{
  --black:#000;
  --white:#fff;
  --paper:#fff;
  --ink:#111;
  --muted:#6b6b6b;
  --line:#d7d7d7;
  --max:1180px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:Arial, Helvetica, sans-serif;
  font-size:18px;
  line-height:1.65;
}

a{color:inherit}
img{max-width:100%;height:auto}

.site-frame{
  max-width:1180px;
  margin:0 auto;
  background:#fff;
}

.hero-banner{
  background:#000;
  color:#fff;
  min-height:280px;
  display:grid;
  grid-template-columns:42% 58%;
  overflow:hidden;
  border-bottom:1px solid #fff;
}

.hero-left{
  position:relative;
  background:#111;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.hero-left::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.1), rgba(0,0,0,.45)),
    var(--hero-image, none);
  background-size:cover;
  background-position:center;
  filter:saturate(1.1) contrast(1.05);
}

.hero-logo{
  position:relative;
  z-index:1;
  max-width:72%;
  max-height:210px;
  display:block;
  object-fit:contain;
}

.hero-logo.is-hidden{
  display:none;
}

.hero-title-panel{
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  padding:0 34px 24px 30px;
  position:relative;
}

.hero-title-panel::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:2px;
  background:#fff;
  opacity:.85;
}

.hero-title{
  font-family:Impact, "Arial Black", Arial, sans-serif;
  font-size:clamp(3.4rem, 7vw, 6.2rem);
  line-height:.9;
  letter-spacing:-.045em;
  color:#fff;
  text-align:right;
  white-space:nowrap;
  text-transform:none;
}

.top-nav{
  background:#000;
  color:#d6d6d6;
  border-bottom:3px solid #222;
}

.top-nav-inner{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
  align-items:center;
}

.top-nav a{
  display:block;
  text-align:center;
  text-decoration:none;
  padding:16px 8px 14px;
  font-style:italic;
  font-weight:700;
  letter-spacing:.04em;
  border-bottom:3px solid #bbb;
  margin:0 18px;
}

.top-nav a:hover{
  color:#fff;
  border-bottom-color:#fff;
}

.content{
  max-width:920px;
  margin:0 auto;
  padding:42px 24px 72px;
}

.content-wide{
  max-width:1160px;
}

.center-line{
  text-align:center;
  font-family:Georgia, "Times New Roman", serif;
  font-size:1.45rem;
  margin:0 0 26px;
}

.section-block{
  margin:40px auto 60px;
}

.section-title{
  font-size:2.2rem;
  text-align:center;
  font-weight:800;
  margin:0 0 1.1rem;
}

.section-body{
  font-size:1.04rem;
}

.section-body img{
  display:block;
  margin:24px auto;
}

.bio-content{
  max-width:720px;
  margin:0 auto;
  font-family:Georgia, "Times New Roman", serif;
  font-size:1.08rem;
}

.bio-content h1,
.bio-content h2,
.bio-content h3{
  font-family:Arial, Helvetica, sans-serif;
  text-align:center;
}

.footer{
  max-width:1180px;
  margin:0 auto;
  border-top:2px solid #333;
  padding:10px 4px;
  font-size:.85rem;
  color:#333;
}

/* Hex grid */
.hex-section{
  max-width:1160px;
  margin:0 auto;
  padding:34px 8px 64px;
}

.hex-grid{
  --hex-w: 160px;
  --hex-gap: 10px;
  display:flex;
  flex-wrap:wrap;
  gap:var(--hex-gap);
  justify-content:center;
  align-items:flex-start;
  padding:10px 0 28px;
}

.hex-card{
  width:var(--hex-w);
  height:calc(var(--hex-w) * .866);
  clip-path:polygon(25% 0%,75% 0%,100% 50%,75% 100%,25% 100%,0% 50%);
  background:#eee;
  position:relative;
  overflow:hidden;
  display:block;
  text-decoration:none;
  color:#fff;
  margin-bottom:calc(var(--hex-w) * -.06);
  transition:transform .18s ease, filter .18s ease;
}

.hex-card:nth-child(even){
  transform:translateY(calc(var(--hex-w) * .27));
}

.hex-card:hover{
  filter:brightness(1.05) saturate(1.08);
  z-index:2;
}

.hex-card:nth-child(even):hover{
  transform:translateY(calc(var(--hex-w) * .27)) scale(1.035);
}

.hex-card:nth-child(odd):hover{
  transform:scale(1.035);
}

.hex-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.hex-fallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#777;
  font-size:.8rem;
  background:#f2f2f2;
}

.hex-label{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:22px 10px 12px;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.07em;
  text-transform:uppercase;
  text-align:center;
  background:linear-gradient(transparent, rgba(0,0,0,.72));
  color:#fff;
  opacity:0;
  transition:opacity .18s ease;
}

.hex-card:hover .hex-label{
  opacity:1;
}

.hex-grid-large{
  --hex-w: 145px;
}

.gallery-page-title{
  text-align:center;
  font-family:Georgia, "Times New Roman", serif;
  font-size:1.45rem;
  font-weight:400;
  margin:0 0 22px;
}

.gallery-detail{
  max-width:1160px;
  margin:0 auto;
  padding:42px 8px 68px;
}

.artwork-grid{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:center;
}

.artwork-card{
  width:180px;
  min-height:156px;
  background:#fff;
  text-align:center;
}

.artwork-card .hex-card{
  margin:0 auto 10px;
  width:180px;
  height:calc(180px * .866);
}

.artwork-caption{
  font-size:.85rem;
  color:#333;
}

.muted{
  color:#777;
  text-align:center;
}

@media(max-width:900px){
  .hero-banner{
    grid-template-columns:1fr;
  }
  .hero-left{
    min-height:180px;
  }
  .hero-title-panel{
    min-height:150px;
    justify-content:center;
    padding:22px;
  }
  .hero-title-panel::before{
    display:none;
  }
  .hero-title{
    text-align:center;
    white-space:normal;
  }
  .top-nav-inner{
    grid-template-columns:repeat(2,1fr);
  }
  .hex-grid{
    --hex-w: 135px;
  }
}

@media(max-width:520px){
  .top-nav-inner{
    grid-template-columns:1fr;
  }
  .top-nav a{
    margin:0 40px;
  }
  .hex-grid{
    --hex-w: 118px;
  }
  .content{
    padding-left:16px;
    padding-right:16px;
  }
}


/* v1.1 readability adjustments */
.bio-content{
  font-size:1.22rem;
  line-height:1.85;
}

.bio-content img{
  transform:scale(1.18);
  transform-origin:center;
  margin:32px auto;
}

.center-line{
  font-size:1.9rem;
}

.section-title{
  font-size:3rem;
}


/* v1.2 modern menu refinement */
.top-nav{
  background:#000;
  color:#fff;
  border-bottom:none;
}

.top-nav-inner{
  max-width:1180px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(1rem, 3vw, 3.4rem);
  padding:0.95rem 1.2rem;
  flex-wrap:wrap;
}

.top-nav a{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0.35rem 0.2rem;
  border-bottom:none;
  text-decoration:none;
  color:#f4f4f4;
  font-family:"Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size:0.88rem;
  font-style:normal;
  font-weight:700;
  letter-spacing:0.11em;
  text-transform:uppercase;
  transition:color .22s ease, transform .22s ease, letter-spacing .22s ease;
}

.top-nav a::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-0.35rem;
  width:0;
  height:2px;
  background:#fff;
  transform:translateX(-50%);
  transition:width .22s ease;
}

.top-nav a:hover{
  color:#ffffff;
  transform:translateY(-2px);
  letter-spacing:0.14em;
  border-bottom:none;
}

.top-nav a:hover::after{
  width:100%;
}

@media(max-width:900px){
  .top-nav-inner{
    gap:1rem 1.6rem;
  }
}

@media(max-width:520px){
  .top-nav-inner{
    flex-direction:column;
    gap:0.45rem;
  }
  .top-nav a{
    padding:0.45rem 0;
  }
}


/* v1.3 remove social heading */
.bio-content h1:first-child,
.bio-content h2:first-child,
.bio-content h3:first-child{
  display:none;
}


/* v1.4 smoother compact body typography */
.section-body,
.bio-content,
.artwork-caption,
.gallery-page-title,
.center-line{
  font-family:
    "Segoe UI",
    "Trebuchet MS",
    Verdana,
    Arial,
    sans-serif;
  font-weight:400;
  letter-spacing:0.01em;
  text-rendering:optimizeLegibility;
}

.section-body{
  font-size:1.02rem;
  line-height:1.82;
}

.bio-content{
  font-size:1.08rem;
  line-height:1.9;
  max-width:760px;
}

.artwork-caption{
  font-size:0.84rem;
  line-height:1.55;
}

.center-line{
  font-size:1.55rem;
  font-weight:500;
}


/* v1.5 unified banner */
.hero-banner{
  display:block !important;
  background:#000;
  min-height:auto !important;
  overflow:hidden;
}

.hero-banner-image{
  width:100%;
  display:block;
  height:auto;
}

.hero-left,
.hero-title-panel,
.hero-title-panel::before,
.hero-title,
.hero-logo{
  display:none !important;
}


/* v1.6 gallery image overlay */
.hex-lightbox{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.86);
  padding:28px;
}

.hex-lightbox.is-open{
  display:flex;
}

.hex-lightbox-inner{
  position:relative;
  max-width:calc(100vw - 56px);
  max-height:calc(100vh - 56px);
  display:flex;
  align-items:center;
  justify-content:center;
}

.hex-lightbox-img{
  width:800px;
  max-width:calc(100vw - 90px);
  max-height:calc(100vh - 90px);
  height:auto;
  object-fit:contain;
  display:block;
  background:#fff;
  box-shadow:0 18px 60px rgba(0,0,0,.45);
}

.hex-lightbox-close{
  position:absolute;
  top:-18px;
  right:-18px;
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.65);
  background:#000;
  color:#fff;
  font-size:26px;
  line-height:38px;
  text-align:center;
  cursor:pointer;
  font-family:Arial, Helvetica, sans-serif;
}

.hex-lightbox-close:hover{
  background:#fff;
  color:#000;
}

@media(max-width:900px){
  .hex-lightbox-img{
    width:800px;
    max-width:calc(100vw - 44px);
    max-height:calc(100vh - 80px);
  }
  .hex-lightbox-close{
    top:-16px;
    right:-10px;
  }
}


/* v1.7 gallery overlay metadata */
.hex-lightbox-inner{
  flex-direction:column;
  gap:0;
}

.hex-lightbox-info{
  width:800px;
  max-width:calc(100vw - 90px);
  background:rgba(0,0,0,.84);
  color:#fff;
  padding:14px 18px 16px;
  box-shadow:0 18px 60px rgba(0,0,0,.45);
}

.hex-lightbox-title{
  font-weight:700;
  font-size:1rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:6px;
}

.hex-lightbox-comment{
  font-size:.92rem;
  line-height:1.55;
  color:#ddd;
}

.hex-lightbox-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

.hex-lightbox-links a{
  color:#fff;
  border:1px solid rgba(255,255,255,.55);
  border-radius:999px;
  padding:5px 12px;
  font-size:.78rem;
  text-decoration:none;
}

.hex-lightbox-links a:hover{
  background:#fff;
  color:#000;
}

@media(max-width:900px){
  .hex-lightbox-info{
    width:800px;
    max-width:calc(100vw - 44px);
  }
}


/* v1.8 gallery viewer sequence controls */
.hex-lightbox{
  background:rgba(0,0,0,.88);
}

.hex-lightbox-inner{
  width:min(920px, calc(100vw - 120px));
}

.hex-lightbox-img{
  width:800px;
  max-width:100%;
  max-height:calc(100vh - 210px);
}

.hex-lightbox-info{
  position:relative;
  width:800px;
  max-width:100%;
  text-align:center;
  background:transparent;
  box-shadow:none;
  color:#fff;
  padding:14px 0 0;
}

.hex-lightbox-title{
  font-size:1rem;
  text-transform:none;
  letter-spacing:0;
  margin-bottom:8px;
}

.hex-lightbox-comment{
  font-size:.85rem;
  font-weight:700;
  color:#e8e8e8;
}

.hex-lightbox-links{
  justify-content:center;
}

.hex-lightbox-counter{
  color:#ccc;
  font-size:.78rem;
  letter-spacing:.08em;
  margin-top:8px;
}

.hex-lightbox-arrow{
  position:fixed;
  top:50%;
  transform:translateY(-50%);
  width:58px;
  height:84px;
  border:0;
  background:transparent;
  color:#fff;
  font-size:58px;
  line-height:1;
  cursor:pointer;
  opacity:.86;
  z-index:10001;
  font-family:Georgia, "Times New Roman", serif;
}

.hex-lightbox-arrow:hover{
  opacity:1;
}

.hex-lightbox-prev{
  left:28px;
}

.hex-lightbox-next{
  right:28px;
}

.hex-lightbox-arrow.is-disabled{
  opacity:.18;
  pointer-events:none;
}

@media(max-width:900px){
  .hex-lightbox-inner{
    width:calc(100vw - 44px);
  }
  .hex-lightbox-arrow{
    width:38px;
    font-size:40px;
  }
  .hex-lightbox-prev{
    left:6px;
  }
  .hex-lightbox-next{
    right:6px;
  }
  .hex-lightbox-img{
    max-height:calc(100vh - 230px);
  }
}


/* v1.9 ABOUT biography professional layout */
.about-bio-layout{
  max-width:920px;
  margin:0 auto;
  font-family:"Segoe UI","Trebuchet MS",Verdana,Arial,sans-serif;
  font-size:1.05rem;
  line-height:1.88;
  color:#111;
  text-align:justify;
  text-justify:inter-word;
}

.about-bio-layout::after{
  content:"";
  display:block;
  clear:both;
}

.about-bio-layout img:first-of-type{
  float:left;
  width:min(300px, 38vw);
  max-width:300px;
  height:auto;
  margin:0 34px 20px 0;
  filter:grayscale(100%);
  border:1px solid rgba(0,0,0,.12);
  box-shadow:0 12px 28px rgba(0,0,0,.10);
}

.about-bio-layout p{
  margin:0 0 1.28rem;
}

.about-bio-layout strong,
.about-bio-layout b{
  font-weight:800;
}

.about-bio-layout h1,
.about-bio-layout h2,
.about-bio-layout h3{
  text-align:left;
  font-family:"Segoe UI","Trebuchet MS",Verdana,Arial,sans-serif;
  letter-spacing:.01em;
}

@media(max-width:760px){
  .about-bio-layout{
    text-align:left;
    font-size:1rem;
  }
  .about-bio-layout img:first-of-type{
    float:none;
    display:block;
    width:min(100%, 360px);
    max-width:360px;
    margin:0 auto 26px;
  }
}


/* v2.0 ABOUT image-first biography flow */
.about-content{
  max-width:980px;
}

.about-bio-layout{
  max-width:900px;
  margin:0 auto;
  font-family:"Segoe UI","Trebuchet MS",Verdana,Arial,sans-serif;
  font-size:1.05rem;
  line-height:1.82;
  color:#111;
  text-align:left;
}

.about-bio-layout::after{
  content:"";
  display:block;
  clear:both;
}

.about-bio-layout img:first-of-type{
  float:left !important;
  display:block;
  width:300px !important;
  max-width:300px !important;
  height:auto !important;
  margin:0 28px 18px 0 !important;
  filter:grayscale(100%);
  border:0;
  box-shadow:none;
}

.about-bio-layout p{
  margin-top:0;
  margin-bottom:1.2rem;
}

.about-bio-layout h1,
.about-bio-layout h2,
.about-bio-layout h3{
  text-align:left;
  margin-top:0;
}

@media(max-width:760px){
  .about-bio-layout img:first-of-type{
    float:none !important;
    width:min(100%, 360px) !important;
    max-width:360px !important;
    margin:0 auto 24px !important;
  }
}


/* v2.1 banner social icon overlay */
.hero-banner{
  position:relative;
}

.banner-social-icons{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  display:flex;
  flex-direction:row;
  gap:10px;
  align-items:center;
  justify-content:center;
  z-index:5;
  padding:6px 10px;
  background:rgba(0,0,0,.35);
  border-radius:999px;
  backdrop-filter:blur(3px);
}

.banner-social-icon{
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.92);
  border-radius:8px;
  overflow:hidden;
  transition:transform .18s ease, background .18s ease;
}

.banner-social-icon:hover{
  transform:translateY(-2px) scale(1.08);
  background:#fff;
}

.banner-social-icon img{
  width:28px;
  height:28px;
  object-fit:contain;
  display:block;
}

@media(max-width:680px){
  .banner-social-icons{
    bottom:10px;
    gap:7px;
  }
  .banner-social-icon{
    width:32px;
    height:32px;
  }
  .banner-social-icon img{
    width:25px;
    height:25px;
  }
}
