/* ADD UP workshop — charcoal atelier catalog (original CSS) */
@font-face {
  font-family: "Oranienbaum";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Oranienbaum-Regular.woff2") format("woff2"),
       url("fonts/Oranienbaum-Regular.woff") format("woff");
}
@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/JosefinSans-Light.woff2") format("woff2"),
       url("fonts/JosefinSans-Light.woff") format("woff");
}
@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/JosefinSans-Regular.woff2") format("woff2"),
       url("fonts/JosefinSans-Regular.woff") format("woff");
}

:root {
  --page-bg: #595959;
  --text: #ffffff;
  --heading-soft: #a5a5a5;
  --nav: #aaaaaa;
  --nav-active: #ffffff;
  --rule: #959595;
  --rule-dark: #535353;
  --rule-deep: #3c3c3c;
  --card: #2b2b2b;
  --sidebar: #474747;
  --sidebar-head: #191919;
  --accent: #ffffaa;
  --accent-hover: #ffff00;
  --muted: #cccccc;
  --muted-2: #bbbbbb;
  --muted-3: #777777;
  --shadow: 3px 3px 7px #000;
  --shadow-hover: 4px 4px 10px #000;
  --main: 990px;
  --corpo: 770px;
  --spalla: 220px;
  --font-display: "Oranienbaum", "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  --font-body: "Josefin Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 20px;
  color: var(--text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 1000;
  background: var(--sidebar-head); color: var(--accent); padding: 8px 12px;
}
.skip-link:focus { top: 8px; }

.page {
  width: var(--main);
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 40px;
}

/* —— Header: left box + floating center mark + right CONTACT box —— */
.site-header {
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  gap: 28px;
  align-items: center;
  padding: 22px 0 16px;
}
.header-box {
  background: var(--sidebar);
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 12px;
  box-shadow: var(--shadow);
}
.header-box a { color: inherit; }
.header-box a:hover { color: var(--accent); }
.header-left .xhs-title {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--heading-soft);
  margin-bottom: 8px;
}
.header-left .xhs-name {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.35;
}
.header-left .xhs-hint {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 1px;
}
.header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  min-height: 118px;
}
.logo-mark {
  font-family: var(--font-display);
  color: var(--text);
  text-decoration: none;
  line-height: 1.1;
  text-align: center;
}
.logo-mark:hover { color: var(--text); }
.logo-mark .brand {
  display: block;
  font-size: 36px;
  letter-spacing: 14px;
  word-spacing: 8px;
  text-transform: uppercase;
  font-weight: 400;
  text-indent: 14px;
}
.logo-mark .workshop {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: var(--heading-soft);
  text-indent: 10px;
}
.header-right .contact-title {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}
.header-right .contact-title a { color: #fff; }
.header-right .contact-title a:hover { color: var(--accent); }
.header-right .contact-lines {
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.header-right a { color: var(--muted); }
.header-right a:hover { color: var(--accent); }

/* —— Hero —— */
.hero {
  position: relative;
  background: #111;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-slides { position: relative; }
.hero-slide {
  display: none;
  position: relative;
  background: #111;
}
.hero-slide.is-active { display: block; }
.hero-slide img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
}
.hero-caption {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 6px;
  line-height: 0.95;
  z-index: 2;
  pointer-events: none;
  text-shadow: 0 0 18px #000, 3px 3px 8px #000, 0 2px 2px #000;
  max-width: 48%;
}
.hero-caption span {
  display: block;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 400;
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px 0 6px;
  background: transparent;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #777;
  border: 1px solid #999;
}
.hero-dots button.is-active,
.hero-dots button:hover { background: #fff; }

/* —— Primary nav —— */
.primary-nav-wrap {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 14px 0 0;
  padding: 10px 4px;
  position: relative;
}
.nav-toggle {
  display: none;
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--nav);
  letter-spacing: 2px;
  padding: 6px;
}
.primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.primary-nav > li { position: relative; }
.primary-nav > li > a,
.primary-nav > li > button.nav-parent {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--nav);
  margin: 0 9px;
  letter-spacing: 1px;
  line-height: 1.4;
  padding: 2px 0;
}
.primary-nav > li > a:hover,
.primary-nav > li > a.is-active,
.primary-nav > li > button.nav-parent:hover,
.primary-nav > li > button.nav-parent.is-active {
  color: var(--nav-active);
  text-shadow: 2px 2px 2px #000;
}
.nav-drop {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  min-width: 140px;
  background: var(--sidebar);
  box-shadow: var(--shadow);
  z-index: 50;
  padding: 8px 0;
}
.primary-nav > li:hover > .nav-drop,
.primary-nav > li:focus-within > .nav-drop { display: block; }
.nav-drop a {
  display: block;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--nav);
  white-space: nowrap;
  text-align: center;
}
.nav-drop a:hover { color: #fff; background: var(--sidebar-head); }

.sub-nav {
  border-bottom: 1px solid var(--rule-dark);
  padding: 8px 8px 10px;
  text-align: center;
}
.sub-nav a {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--nav);
  margin: 0 8px;
}
.sub-nav a:hover,
.sub-nav a.is-active { color: #fff; }

/* —— Filter / order pills —— */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 4px 6px;
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.filter-group .fg-label {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--heading-soft);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-right: 4px;
}
.pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--nav);
  background: var(--sidebar);
  border: 1px solid var(--rule-dark);
  border-radius: 999px;
  padding: 4px 14px;
  box-shadow: 1px 1px 3px #000;
}
.pill:hover { color: #fff; border-color: var(--rule); }
.pill.is-active {
  color: #fff;
  background: var(--sidebar-head);
  border-color: #666;
  text-shadow: 1px 1px 2px #000;
}

/* —— Layout —— */
.content-row {
  display: flex;
  gap: 0;
  margin-top: 22px;
  align-items: flex-start;
}
.corpo {
  width: var(--corpo);
  max-width: 100%;
  padding-right: 18px;
}
.spalla {
  width: var(--spalla);
  flex-shrink: 0;
}
.corpo-full { width: 100%; padding: 0; }
.cat-layout {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  align-items: flex-start;
}
.cat-wall {
  width: 750px;
  max-width: 100%;
  flex: 1;
}
.cat-aside {
  width: 220px;
  flex-shrink: 0;
}
.dual-row {
  display: flex;
  gap: 18px;
  margin-top: 28px;
  align-items: flex-start;
}
.dual-main {
  width: 750px;
  max-width: 100%;
  display: flex;
  gap: 18px;
}
.dual-main > section { flex: 1; min-width: 0; }

/* —— Editorial —— */
.editorial { margin-bottom: 28px; }
.editorial h1,
.editorial h2,
.page-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}
.editorial .kicker,
.section-kicker {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--heading-soft);
  text-align: center;
  margin-bottom: 4px;
}
.editorial .subtitle {
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  color: var(--heading-soft);
  text-align: center;
  margin-bottom: 14px;
}
.editorial p,
.prose p {
  text-align: justify;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 20px;
}
.boxed-img {
  margin: 16px 0 8px;
  box-shadow: var(--shadow);
  background: #111;
}
.boxed-img img { width: 100%; }
.boxed-img:hover { box-shadow: var(--shadow-hover); }
.float-right {
  float: right;
  width: 260px;
  max-width: 42%;
  margin: 0 0 14px 18px;
  box-shadow: var(--shadow);
  background: #111;
}
.float-right img { width: 100%; }
.clearfix::after { content: ""; display: table; clear: both; }

/* —— Sidebar —— */
.side-card {
  background: var(--sidebar);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.side-card .side-head {
  background: var(--sidebar-head);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 6px;
  border-bottom: 1px solid var(--rule-dark);
}
.side-card .side-body { padding: 10px; }
.side-card .side-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.side-card p {
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.5px;
  text-align: justify;
  color: #fff;
  font-weight: 300;
}
.side-card a.more {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--accent);
}
.side-card a.more:hover { color: var(--accent-hover); }

.cat-aside-copy h2 {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}
.cat-aside-copy .sub {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  color: var(--heading-soft);
  margin-bottom: 12px;
}
.cat-aside-copy p {
  text-align: justify;
  font-size: 13px;
  line-height: 18px;
  color: #fff;
  margin-bottom: 10px;
}

/* —— Gallery cards —— */
.gallery-head {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--heading-soft);
  text-align: center;
  margin: 8px 0 6px;
}
.gallery-lead {
  text-align: justify;
  color: #fff;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 20px;
}
.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.art-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.art-card {
  background: var(--card);
  box-shadow: var(--shadow);
  display: block;
  color: inherit;
  transition: box-shadow 0.15s ease;
}
.art-card:hover {
  box-shadow: var(--shadow-hover);
  color: inherit;
}
.art-card.is-hidden { display: none; }
.art-card .frame {
  background: #111;
  padding: 8px;
}
.art-card .frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.art-card .meta {
  padding: 10px 8px 12px;
  text-align: center;
}
.art-card .meta h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.3;
}
.art-card .meta .sub {
  font-style: italic;
  font-size: 13px;
  color: var(--muted-3);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.ph-frame {
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #1a1a1a, #333);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: var(--heading-soft);
  margin: 8px;
}
.ph-mark {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 4px;
  color: #666;
  margin-bottom: 8px;
}
.ph-label {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--heading-soft);
}
.ph-hint {
  margin-top: 8px;
  font-size: 12px;
  line-height: 16px;
  color: #888;
  letter-spacing: 0.5px;
}

/* video stubs */
.video-list .video-card {
  background: var(--sidebar);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  display: block;
  color: inherit;
}
.video-list .video-card:hover { color: inherit; box-shadow: var(--shadow-hover); }
.video-thumb {
  position: relative;
  background: #111;
}
.video-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  opacity: 0.85;
}
.video-thumb .play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(0,0,0,0.35);
}
.video-thumb .play::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 10px;
  border-style: solid;
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent #fff;
}
.video-meta {
  padding: 8px 10px 10px;
}
.video-meta h3 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}
.video-meta p {
  font-size: 12px;
  color: var(--muted-3);
  font-style: italic;
  margin-top: 4px;
}

/* —— Detail —— */
.detail-layout {
  display: flex;
  gap: 24px;
  margin-top: 22px;
  align-items: flex-start;
}
.detail-media {
  flex: 1.1;
  background: #111;
  box-shadow: var(--shadow);
  padding: 8px;
}
.detail-media img { width: 100%; box-shadow: var(--shadow); }
.detail-media img + img { margin-top: 14px; }
.detail-copy { flex: 0.9; padding-top: 4px; }
.crumb {
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.crumb a { color: var(--accent); }
.detail-copy h1 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.25;
}
.detail-copy .tag {
  font-style: italic;
  color: var(--muted-3);
  margin-bottom: 14px;
  font-size: 14px;
}
.detail-copy p { text-align: justify; margin-bottom: 12px; }

/* —— Process / contact —— */
.steps { margin-top: 8px; }
.step {
  border-top: 1px solid var(--rule-dark);
  padding: 14px 0;
}
.step:last-child { border-bottom: 1px solid var(--rule-dark); }
.step h3 {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
}
.step p { text-align: justify; color: #fff; }

.contact-panel {
  background: var(--sidebar);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  max-width: 560px;
  margin: 22px auto 0;
  text-align: center;
}
.contact-panel h1,
.contact-panel h2 {
  font-family: var(--font-display);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-list {
  margin: 18px 0;
  text-align: left;
  display: inline-block;
}
.contact-list li {
  display: flex;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule-dark);
  min-width: 280px;
}
.contact-list .label {
  width: 72px;
  color: var(--heading-soft);
  font-family: var(--font-display);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
}
.contact-list .value { color: #fff; }
.note {
  font-size: 13px;
  color: var(--muted-2);
  line-height: 18px;
  margin-top: 12px;
  text-align: justify;
}

.biz-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.biz-list li {
  border: 1px solid var(--rule-dark);
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--heading-soft);
}

.hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 28px 0;
}
.hr-dark { border-top-color: var(--rule-dark); }

.about-section {
  margin-top: 28px;
  padding-top: 8px;
  border-top: 1px solid var(--rule-dark);
  scroll-margin-top: 12px;
}

/* lightbox */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lb-overlay.is-open { display: flex; }
.lb-overlay img {
  max-width: min(920px, 92vw);
  max-height: 88vh;
  box-shadow: var(--shadow-hover);
  background: #111;
}
.lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 28px;
  color: #fff;
}

/* —— Footer —— */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
  padding: 28px 8px 20px;
  text-align: center;
}
.footer-line {
  font-size: 13px;
  color: var(--muted-2);
  line-height: 22px;
  letter-spacing: 0.5px;
}
.footer-line a { color: var(--accent); }
.footer-line a:hover { color: var(--accent-hover); }
.footer-copy {
  margin-top: 14px;
  font-size: 12px;
  color: #888;
  letter-spacing: 0.5px;
}

.mt-18 { margin-top: 18px; }
.mt-28 { margin-top: 28px; }
.center { text-align: center; }
.showcase-strip {
  background: var(--card);
  padding: 14px 16px;
  margin: 18px 0;
  text-align: center;
  box-shadow: var(--shadow);
}
.showcase-strip h2 {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--heading-soft);
}

@media (max-width: 820px) {
  .page { width: 100%; padding: 0 12px 32px; }
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .header-box, .header-center { min-height: auto; }
  .logo-mark .brand { font-size: 28px; letter-spacing: 8px; text-indent: 8px; }
  .hero-slide img { height: 260px; }
  .hero-caption { left: 16px; max-width: 70%; }
  .hero-caption span { font-size: 32px; letter-spacing: 3px; }
  .nav-toggle { display: block; }
  .primary-nav {
    display: none;
    flex-direction: column;
    padding: 8px 0;
  }
  .primary-nav.open { display: flex; }
  .primary-nav > li > a,
  .primary-nav > li > button.nav-parent {
    margin: 4px 0;
    display: block;
    width: 100%;
    text-align: center;
  }
  .nav-drop {
    position: static;
    transform: none;
    display: none;
    box-shadow: none;
    background: transparent;
  }
  .primary-nav > li.open > .nav-drop,
  .primary-nav > li:focus-within > .nav-drop { display: block; }
  .content-row, .cat-layout, .dual-row, .dual-main, .detail-layout { flex-direction: column; }
  .corpo, .cat-wall, .dual-main, .cat-aside, .spalla { width: 100%; padding-right: 0; }
  .spalla, .cat-aside { margin-top: 20px; }
  .art-grid { grid-template-columns: repeat(2, 1fr); }
  .float-right { float: none; width: 100%; max-width: 100%; margin: 0 0 14px; }
}
@media (max-width: 480px) {
  .art-grid { grid-template-columns: 1fr; }
  .contact-list li { min-width: 0; width: 100%; }
}
