/* SIXSS Art — static rebuild of the Wix site */
@font-face {
  font-family: "Good Times";
  src: url("/assets/fonts/good-times.woff2") format("woff2"), url("/assets/fonts/good-times.woff") format("woff");
  font-display: swap;
}

:root {
  --bg: #080808;
  --fg: #fff;
  --muted: #9c9c9c;
  --accent: #f98a76;
  --serif: "Cinzel", Georgia, serif;
  --sans: "Figtree", "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
  --header-h: 102px;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 72px;
  background: var(--bg);
}
.logo {
  font: 26px/1 "Good Times", var(--serif);
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  margin-top: -20px;
}
.site-nav ul { display: flex; gap: 0; margin: -20px 0 0; padding: 0; list-style: none; }
.site-nav a {
  display: block; padding: 6px 15px;
  font-size: 16px; text-decoration: none; color: var(--fg);
  transition: color .2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--muted); }
.nav-toggle { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); text-align: center; padding: 20px 16px 22px; font-size: 14px; }
.site-footer p { margin: 0; }

/* ---------- Chat button ---------- */
.chat-btn {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 32px 0 30px;
  border-radius: 28px;
  background: var(--accent); color: #222;
  font: 18px/1 var(--serif); font-variant: small-caps;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
  transition: transform .2s, box-shadow .2s;
}
.chat-btn svg { width: 26px; height: 26px; }
.chat-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.45); }

/* ---------- Shared ---------- */
.page-title {
  margin: 0; text-align: center;
  font: 400 40px/1.3 var(--serif); letter-spacing: .1em;
}
.btn-ghost {
  display: inline-block; padding: 14px 34px;
  border: 1px solid rgba(255,255,255,.8);
  font: 600 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase;
  text-decoration: none; color: var(--fg);
  transition: background .2s, color .2s;
}
.btn-ghost:hover { background: var(--fg); color: #000; }
.bg-section {
  position: relative; isolation: isolate;
  min-height: calc(100vh - var(--header-h) - 62px);
  padding: 120px var(--gutter) 80px;
  background: var(--bg);
}
.bg-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bg) center / cover no-repeat;
  background-image: var(--img);
}
.bg-section::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.35); }

/* ---------- Home ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: calc(100vh - var(--header-h) - 62px);
  display: grid; place-items: center; text-align: center;
  padding: 60px 16px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bg) center 22% / cover no-repeat;
  background-image: var(--img);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.18); }
.hero-kicker { margin: 0 0 10px; font: 20px/1.4 var(--serif); font-family: Georgia, "Times New Roman", serif; }
.hero-title {
  margin: 0 0 48px;
  font: 400 clamp(52px, 8vw, 100px)/1.3 var(--serif);
  letter-spacing: .2em;
  max-width: 8.5em;
  margin-inline: auto;
}

/* ---------- Portfolio tiles ---------- */
.collection-tiles {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px;
  padding: 40px var(--gutter) 60px;
}
.tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; text-decoration: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); transition: background .3s; }
.tile span {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center;
  font: 400 26px var(--serif); letter-spacing: .02em;
}
.tile:hover img { transform: scale(1.04); }
.tile:hover::after { background: rgba(0,0,0,.45); }

/* ---------- Slideshow ---------- */
.slideshow-page { padding: 60px var(--gutter) 40px; }
.slideshow {
  position: relative; outline: none;
  display: grid; grid-template-columns: 60px 1fr 60px; align-items: center;
  margin-top: 40px;
}
.ss-figure { margin: 0; text-align: center; }
.ss-zoom { padding: 0; border: 0; background: none; cursor: zoom-in; display: inline-block; }
.ss-img { height: min(494px, 62vh); width: auto; max-width: 100%; object-fit: contain; margin: 0 auto; transition: opacity .25s; }
.ss-img.loading { opacity: 0; }
.ss-figure figcaption { margin-top: 24px; display: grid; gap: 2px; }
.ss-title { font: 600 22px/1.3 var(--sans); }
.ss-caption { font-size: 15px; }
.ss-arrow {
  justify-self: center; width: 40px; height: 60px; padding: 8px;
  border: 0; background: none; color: var(--fg); cursor: pointer; opacity: .85;
}
.ss-arrow:hover { opacity: 1; }
.ss-arrow svg { width: 100%; height: 100%; }
.ss-count { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 13px; margin: 14px 0 0; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; }
.lightbox::backdrop { background: rgba(0,0,0,.92); }
.lightbox img { max-width: 96vw; max-height: 94vh; object-fit: contain; }
.lb-close {
  position: fixed; top: 12px; right: 20px;
  border: 0; background: none; color: #fff; font-size: 44px; line-height: 1; cursor: pointer;
}

/* ---------- Collection ---------- */
.collection { padding: 40px var(--gutter) 60px; }
.back-link { font-size: 15px; text-decoration: none; }
.back-link:hover { color: var(--muted); }
.collection-title { margin: 72px 0 24px; text-align: center; font: 400 60px/1.3 var(--serif); }
.collection-intro { margin: 0 auto 56px; max-width: 700px; text-align: center; font-size: 20px; line-height: 1.4; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.grid-item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; text-decoration: none; }
.grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.grid-label {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 4px;
  background: rgba(0,0,0,.5); opacity: 0; transition: opacity .3s;
  font: 400 24px var(--serif);
}
.grid-label small { font: 16px var(--sans); }
.grid-item:hover .grid-label, .grid-item:focus-visible .grid-label { opacity: 1; }
.grid-item:hover img { transform: scale(1.03); }

/* ---------- Project ---------- */
.project { padding: 60px var(--gutter) 40px; }
.project-head { display: flex; justify-content: space-between; gap: 24px; }
.project h1 { margin: 0 0 20px; font: 400 60px/1.3 var(--serif); }
.project dl { margin: 0; }
.project dt { font: 400 24px/1.4 var(--serif); margin-top: 12px; }
.project dd { margin: 6px 0 0; font-size: 20px; }
.project-zh { margin: 12px 0 0; font-size: 20px; white-space: nowrap; }
.project-img { width: 100%; height: auto; margin-top: 56px; }
.project-nav {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin: 72px 0 20px;
}
.project-nav a { font: 400 24px var(--serif); text-decoration: none; }
.project-nav a:nth-child(2) { font: 15px var(--sans); color: var(--muted); }
.project-nav a:hover { color: var(--muted); }

/* ---------- About ---------- */
.page-about .bg-section::after { background: rgba(0,0,0,.4); }
.about-grid {
  display: grid; grid-template-columns: 520px 413px; gap: 32px; align-items: center;
  justify-content: center; margin: 42px auto 0; max-width: 1100px;
}
.about-grid img { width: 100%; height: auto; max-height: 584px; object-fit: cover; }
.about-text p { margin: 0 0 1.4em; line-height: 1.4; }

/* ---------- Contact ---------- */
.page-contact .bg-section::after { background: rgba(0,0,0,.5); }
.contact-title { letter-spacing: .12em; }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 460px); gap: 0 200px;
  justify-content: center; align-items: start; margin-top: 130px;
}
.contact-info p { margin: 0 0 1.5em; line-height: 1.8; }
.contact-info a { text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.social { display: flex; gap: 16px; }
.social a { width: 28px; height: 28px; display: block; }
.social svg { width: 100%; height: 100%; }
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 38px;
  padding: 44px 38px 32px;
  border: 1px solid rgba(255,255,255,.9);
}
.contact-form label { display: grid; gap: 6px; text-align: center; font-size: 11px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 8px 2px;
  border: 0; border-bottom: 1px solid #fff; border-radius: 0;
  background: transparent; color: #fff; font: 15px var(--sans);
  outline: none; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--accent); }
.contact-form .hp { position: absolute; left: -9999px; }
.btn-solid {
  height: 50px; border: 0; cursor: pointer;
  background: #fff; color: #000;
  font: 400 15px var(--serif); letter-spacing: .05em; text-transform: uppercase;
  transition: background .2s;
}
.btn-solid:hover { background: #ddd; }
.btn-solid:disabled { opacity: .6; cursor: progress; }
.form-status:empty { display: none; }
.form-status { margin: 0; min-height: 1.4em; text-align: center; font-size: 14px; }
.form-status.ok { color: #9fe3b0; }
.form-status.err { color: #ffb4a6; }

.notfound { padding: 120px 16px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-header { padding: 0 32px; }
  .contact-grid { gap: 48px 60px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; --gutter: 16px; }
  .site-header { padding: 0 16px; }
  .logo, .site-nav ul { margin-top: 0; }
  .logo { font-size: 20px; }
  .nav-toggle {
    display: grid; gap: 6px; padding: 10px; border: 0; background: none; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0; background: var(--bg);
    display: none; padding: 24px 16px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 8px; }
  .site-nav a { font-size: 22px; padding: 10px; }
  .collection-tiles, .grid { grid-template-columns: 1fr; gap: 16px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .slideshow { grid-template-columns: 36px 1fr 36px; }
  .ss-arrow { width: 28px; padding: 4px; }
  .collection-title, .project h1 { font-size: 40px; }
  .collection-title { margin-top: 32px; }
  .collection-intro { font-size: 17px; }
  .project-head { flex-direction: column; }
  .project-nav a { font-size: 17px; }
  .bg-section { padding-top: 56px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .contact-form { padding: 28px 20px; gap: 22px 20px; }
  .chat-btn { width: 54px; height: 54px; padding: 0; justify-content: center; right: 14px; bottom: 14px; }
  .chat-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ss-img { height: auto; max-height: 62vh; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: .12em; }
  .project-nav { flex-wrap: wrap; }
  .project-nav a:nth-child(2) { order: 3; width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
