/* ============================================================
   style.css
   ============================================================ */

:root{
  --text-color: #343130;
  --bg-color: #f2f2f2;
  --blue: #2f8fd0;
  --gray-btn: #a8a8a8;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-h: 96px;
}

*{ box-sizing: border-box; }

html,body{
  margin:0;
  padding:0;
  background:var(--bg-color);
  color:var(--text-color);
  font-family:var(--font);
  -webkit-font-smoothing:antialiased;
}

img{ -webkit-user-drag:none; user-select:none; }

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

button{ font-family:var(--font); border:none; background:none; cursor:pointer; }

/* ---------------- HEADER ---------------- */
header.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--bg-color);
  border-top:8px solid #2b2b2b;
  border-bottom:4px solid #2b2b2b;
}

.header-inner{
  display:flex;
  align-items:stretch;
  max-width:1400px;
  margin:0 auto;
}

.brand-left{
  display:flex;
  align-items:center;
  gap:16px;
  padding:12px 22px;
  flex-shrink:0;
}

.brand-left .arrow{
  width:44px;
  height:44px;
  flex-shrink:0;
}

.brand-left h1{
  font-family:var(--font);
  font-weight:700;
  font-size:clamp(24px, 3.6vw, 40px);
  margin:0;
  white-space:nowrap;
}

.header-divider{
  width:2px;
  align-self:stretch;
  margin:10px 0;
  background:#2b2b2b;
  opacity:.35;
  flex-shrink:0;
}

.nav-wrap{
  flex:1;
  display:flex;
  align-items:center;
  padding:0 22px;
  overflow-x:auto;
  min-width:0;
}

.nav-grid{
  display:grid;
  column-gap:16px;
  row-gap:8px;
  align-items:center;
  justify-items:center;
}

.nav-dot{
  width:26px;
  height:26px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:12px;
  font-weight:700;
  background:#2b2b2b;
  flex-shrink:0;
  transition:transform .15s ease, background .15s ease;
}

.nav-item{ cursor:pointer; }
.nav-item.static{ cursor:default; }

.nav-item:hover .nav-dot{
  background:var(--blue);
  color:#fff;
}

.nav-dot[data-active="true"]{
  background: var(--dot-color, #2b2b2b);
  color:#fff;
}

.exit-btn{
  flex-shrink:0;
  width:88px;
  min-width:72px;
  aspect-ratio:1 / 1;
  height:auto;
  align-self:center;
  margin:8px 14px;
  background:var(--gray-btn);
  color:#fff;
  font-weight:700;
  font-size:clamp(14px,1.6vw,18px);
  text-transform:uppercase;
  letter-spacing:.5px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .15s ease;
  border-radius:4px;
}
.exit-btn:hover{ background:var(--blue); }

/* Mobile nav toggle */
.nav-toggle{
  display:none;
  width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  font-size:22px;
  color:var(--text-color);
  flex-shrink:0;
}

/* ---------------- PAGE LAYOUT ---------------- */
main{
  max-width:1400px;
  margin:0 auto;
  padding:24px 20px 60px 20px;
}

.page-grid{
  display:flex;
  gap:40px;
  align-items:flex-start;
}

.text-col{
  width:260px;
  flex-shrink:0;
  padding-top:8px;
}

.text-col h2{
  font-size:20px;
  font-weight:700;
  margin:0 0 14px 0;
}

.text-col p{
  font-size:14px;
  font-weight:400;
  line-height:1.2;
  margin:0 0 4px 0;
}

.image-col{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  min-width:0;
}

.photo-frame{
  width:100%;
  display:flex;
  justify-content:center;
  cursor:zoom-in;
  min-height:120px;
}

.photo-frame img{
  max-height:700px;
  max-width:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
  box-shadow:0 2px 10px rgba(0,0,0,.15);
  opacity:0;
  animation:fadein .5s ease forwards;
  transition:opacity .45s ease;
}

@keyframes fadein{ from{opacity:0;} to{opacity:1;} }

.photo-loading{
  color:#999;
  font-size:13px;
  padding:40px 0;
}

.video-embed{
  margin-top:28px;
  width:100%;
  max-width:700px;
}

.video-embed .ratio{
  position:relative;
  width:100%;
  padding-top:56.25%;
}

.video-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

.yt-facade{
  cursor:pointer;
  background-size:cover;
  background-position:center;
  border-radius:2px;
  overflow:hidden;
}
.yt-play{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.15);
  transition:background .15s ease;
}
.yt-facade:hover .yt-play{ background:rgba(0,0,0,.3); }
.yt-play svg{ width:68px; height:48px; filter:drop-shadow(0 1px 3px rgba(0,0,0,.4)); }

/* ---------------- INDEX / HOME ---------------- */
.home-grid{
  display:flex;
  justify-content:flex-end;
}
.home-grid .photo-frame{ max-width:900px; }

/* ---------------- SLIDESHOW ---------------- */
.slideshow{
  position:fixed;
  inset:0;
  background:#000;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
}
.slideshow[hidden]{ display:none; }

.slideshow img{
  max-width:96vw;
  max-height:92vh;
  object-fit:contain;
}

.slideshow .close-btn{
  position:absolute;
  top:16px;
  right:20px;
  color:#fff;
  font-size:34px;
  line-height:1;
  z-index:5;
  background:rgba(0,0,0,.35);
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.slideshow .nav-arrow{
  position:absolute;
  top:70px;
  bottom:70px;
  width:20%;
  display:flex;
  align-items:center;
  color:rgba(255,255,255,.6);
  font-size:40px;
  z-index:2;
}
.slideshow .nav-arrow.prev{ left:0; justify-content:flex-start; padding-left:12px; }
.slideshow .nav-arrow.next{ right:0; justify-content:flex-end; padding-right:12px; }
.slideshow .nav-arrow:hover{ color:#fff; }

.slideshow .counter{
  position:absolute;
  bottom:18px;
  left:0; right:0;
  text-align:center;
  color:#ccc;
  font-size:13px;
  z-index:2;
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 760px){
  :root{ --header-h:64px; }

  .brand-left{ padding:8px 10px; gap:8px; }
  .brand-left .arrow{ width:30px; height:30px; }
  .brand-left h1{ font-size:19px; }

  .header-divider{ display:none; }

  .exit-btn{ width:60px; min-width:60px; font-size:13px; margin:8px; }

  .nav-toggle{ display:flex; }

  .nav-wrap{
    position:fixed;
    top:var(--header-h);
    left:0; right:0;
    background:var(--bg-color);
    border-bottom:4px solid #2b2b2b;
    padding:0 12px;
    max-height:0;
    overflow:hidden;
    transition:max-height .25s ease;
    z-index:99;
  }
  .nav-wrap.open{ max-height:70vh; overflow-y:auto; padding:14px 12px; }

  .nav-grid{
    grid-template-columns:none !important;
    grid-template-rows:none !important;
    display:flex;
    flex-wrap:wrap;
    gap:10px 14px;
  }
  .nav-item{ grid-column:auto !important; grid-row:auto !important; }

  main{ padding:16px 14px 40px 14px; }

  .page-grid{ flex-direction:column; gap:18px; }
  .text-col{ width:100%; order:2; }
  .image-col{ order:1; width:100%; }
  .photo-frame img{ max-height:60vh; }
}
