/*!
Theme Name: kjsglight
Author: No Category Nctgr
Description: Minimal foundation for a lighting and scenography portfolio.
Version: 1.0.0
Text Domain: kjsglight
*/
:root {
  --color-bg: #ff6500;
  --color-text: #000000;
  --color-focus: #0000ee;
  --space-xs: 4px;
  --space-sm: 8px;
  --space: 16px;
  --space-lg: 48px;
  --space-xl: 60px;
  --page-gutter: var(--space);
  --content-width: 100vw;
}

/* ==========================================================================
   Reset Stylesheet with Accessibility Considerations
   ========================================================================== */
/* Box sizing and margin reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

/* Body defaults */
body {
  line-height: 1.1;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.01em;
  word-break: auto-phrase;
  overflow-wrap: break-word;
}

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

/* Lists */
ol, ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Quotes */
blockquote, q {
  quotes: none;
}

blockquote::before, blockquote::after,
q::before, q::after {
  content: "";
  content: none;
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Media elements */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Form elements */
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Preserve focus styles for accessibility */
button:focus, input:focus, select:focus, textarea:focus {
  outline-offset: 2px;
}

/* Remove animations/transitions for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.hidden {
  display: none !important;
  opacity: 0;
}

@font-face {
  font-family: "NotoSansCJKkr";
  font-weight: 100;
  font-display: swap;
  src: url(fonts/NotoSansCJKkr-Thin.woff) format("woff");
}
@font-face {
  font-family: "NotoSansCJKkr";
  font-weight: 200;
  font-display: swap;
  src: url(fonts/NotoSansCJKkr-Light.woff) format("woff");
}
@font-face {
  font-family: "NotoSansCJKkr";
  font-weight: 300;
  font-display: swap;
  src: url(fonts/NotoSansCJKkr-DemiLight.woff) format("woff");
}
@font-face {
  font-family: "NotoSansCJKkr";
  font-weight: 400;
  font-display: swap;
  src: url(fonts/NotoSansCJKkr-Regular.woff) format("woff");
}
@font-face {
  font-family: "NotoSansCJKkr";
  font-weight: 500;
  font-display: swap;
  src: url(fonts/NotoSansCJKkr-Medium.woff) format("woff");
}
@font-face {
  font-family: "NotoSansCJKkr";
  font-weight: 700;
  font-display: swap;
  src: url(fonts/NotoSansCJKkr-Bold.woff) format("woff");
}
@font-face {
  font-family: "NotoSansCJKkr";
  font-weight: 800;
  font-display: swap;
  src: url(fonts/NotoSansCJKkr-Black.woff) format("woff");
}
@font-face {
  font-family: "ABCDiatype";
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ABCDiatype-Regular.woff2) format("woff2");
}
@font-face {
  font-family: "ABCDiatype";
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ABCDiatype-Medium.woff2) format("woff2");
}
@font-face {
  font-family: "ABCDiatype";
  font-weight: 700;
  font-display: swap;
  src: url(fonts/ABCDiatype-Bold.woff2) format("woff2");
}
@font-face {
  font-family: "ABCDiatype";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url(fonts/ABCDiatype-RegularItalic.woff2) format("woff2");
}
@font-face {
  font-family: "ABCDiatype";
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  src: url(fonts/ABCDiatype-MediumItalic.woff2) format("woff2");
}
@font-face {
  font-family: "ABCDiatype";
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  src: url(fonts/ABCDiatype-BoldItalic.woff2) format("woff2");
}
.italic {
  font-style: italic;
}

.bold {
  font-weight: 700;
}

.focus {
  color: var(--color-focus);
}

.underline {
  text-decoration: underline;
}

body {
  font-family: "ABCDiatype", Arial, -apple-system, system-ui, "NotoSansCJKkr", sans-serif;
  font-weight: 400;
}

p {
  font-size: 14px;
}

.screen-reader-text, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: 1000;
  padding: var(--space-sm);
  background: var(--color-bg);
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

/*!
Theme Name: kjsglight
Author: No Category Nctgr
Description: Minimal foundation for a lighting and scenography portfolio.
Version: 1.0.0
Text Domain: kjsglight
*/
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 36px;
  padding-bottom: calc(36px + env(safe-area-inset-bottom));
  background: var(--color-bg);
  color: var(--color-text);
}

.container {
  width: 100%;
  max-width: 100vw;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  padding-block: 8px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: transparent;
}

body.admin-bar .site-header {
  top: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 600px) {
  body.admin-bar #wpadminbar {
    position: fixed;
  }
}
.header-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  max-width: 100vw;
}

.header-menu-control {
  flex: 0 0 16px;
  display: flex;
  align-items: center;
  height: 20px;
}

.header-identity {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  height: 20px;
  font-size: 14px;
  line-height: 20px;
}

.site-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header .menu-toggle, .site-header .language-toggle {
  padding: 0;
  border: 0;
  border-radius: 0;
  height: 20px;
  background: transparent;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
}

.language-toggle {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 20px;
}

.site-menu {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 32px 64px;
  width: min(100vw, 100%);
  min-height: 180px;
  background: var(--color-bg);
  font-size: 14px;
  line-height: 20px;
}

.menu-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-project-types {
  flex: 1;
  min-width: 160px;
}

[hidden] {
  display: none !important;
}

.site-main {
  flex: 1;
}

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  background: transparent;
}

.footer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 20px;
}

.footer-controls p {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 20px;
}

.info-link {
  flex: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #000;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space);
}

.space-between {
  display: flex;
  justify-content: space-between;
  gap: var(--space);
}

.current-menu-item > a, .current-menu-ancestor > a {
  text-decoration: underline;
}

@media (max-width: 800px) {
  :root {
    --page-gutter: var(--space-sm);
  }
}
.entry-content {
  line-height: 1.5;
}

.entry-content > * + * {
  margin-block-start: var(--space);
}

.entry-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content ul, .entry-content ol {
  padding-inline-start: 1.5em;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content strong {
  font-weight: 700;
}

.entry-content em {
  font-style: italic;
}

.entry-content blockquote {
  padding-inline-start: var(--space);
  border-inline-start: 1px solid currentColor;
}

.entry-content pre {
  overflow-x: auto;
}

.entry-content code, .entry-content pre {
  font-family: monospace;
}

button, input[type=submit] {
  padding: 5px 6px;
  border: 1px solid currentColor;
  border-radius: 2px;
  cursor: pointer;
  line-height: normal;
}

input:not([type=submit]):not([type=checkbox]):not([type=radio]), textarea, select {
  max-width: 100%;
  padding: var(--space-xs);
  border: 1px solid currentColor;
}

iframe {
  max-width: 100%;
}

.video-wrapper {
  aspect-ratio: 16/9;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
}

.portfolio, .portfolio-grid, .portfolio-row, .info-page {
  max-width: 100vw;
}

.preview-notice, .filter-summary {
  margin-bottom: 24px;
  line-height: 1.5;
}

.filter-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-summary a {
  text-decoration: underline;
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 48px 16px;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 48px) / 4);
  min-width: 0;
}

.portfolio-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: var(--thumbnail-ratio, 1);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
}

.portfolio-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-placeholder-label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 12px;
}

.portfolio-card-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
  line-height: 1.35;
}

.project-card-meta {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.project-card-place {
  min-width: 0;
}

.project-card-year {
  flex-shrink: 0;
}

.portfolio-card:hover .project-card-title, .portfolio-card:focus-visible .project-card-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.portfolio-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  width: 100%;
}

.portfolio-row .portfolio-card {
  flex: 0 0 calc((100% - var(--row-gap-total)) * var(--thumbnail-width));
}

.portfolio-pagination {
  margin-top: 48px;
}

.portfolio-pagination .page-numbers {
  display: inline-block;
  padding: 8px;
}

.portfolio-pagination .current {
  text-decoration: underline;
}

.portfolio-empty {
  padding-block: 48px;
}

.project-filter-links {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 32px 200px;
}

.menu-filter-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 120px;
  min-width: 0;
}

.filter-group-title {
  font-size: 14px;
  line-height: 20px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.filter-link {
  display: inline-block;
  line-height: 20px;
  background: rgba(255, 255, 255, 0.75);
}

.filter-link.is-active, .filter-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-menu {
  background: transparent;
  padding-bottom: 32px;
  gap: 32px 200px;
}

@media (max-width: 1280px) {
  .site-menu, .project-filter-links {
    column-gap: 64px;
  }
}
@media (max-width: 800px) {
  .portfolio-card {
    flex-basis: calc((100% - 32px) / 3);
  }
  .site-menu {
    gap: 24px;
  }
  .project-filter-links {
    gap: 24px;
  }
}
@media (max-width: 480px) {
  .portfolio-grid {
    row-gap: 32px;
  }
  .portfolio-card {
    flex-basis: calc((100% - 16px) / 2);
  }
  .site-menu {
    flex-direction: column;
  }
  .menu-filter-group {
    flex-basis: calc(50% - 12px);
    gap: 12px;
  }
}
.project-detail {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.project-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.project-back {
  font-size: 14px;
}

.project-heading .preview-notice {
  margin-bottom: 0;
}

.project-heading h1 {
  font-size: clamp(28px, 5vw, 64px);
  line-height: 1.1;
}

.project-overview {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}

.project-facts {
  font-size: 14px;
  line-height: 1.5;
}

.project-facts > div {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) 2fr;
  gap: 16px;
  margin-bottom: 8px;
}

.project-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-intro p {
  max-width: 64ch;
  line-height: 1.7;
}

.project-intro h2, .project-section-heading {
  font-size: 14px;
}

.project-section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
  align-items: start;
}

.project-gallery-photos figure:first-child {
  grid-column: 1/-1;
}

.project-gallery img {
  width: 100%;
  height: auto;
}

.project-photo-placeholder {
  display: flex;
  align-items: flex-end;
  padding: 8px;
  aspect-ratio: 3/2;
  background: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.project-gallery-photos figure:first-child .project-photo-placeholder {
  aspect-ratio: 16/9;
}

.project-gallery figcaption {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 8px;
}

.related-projects {
  margin-top: 60px;
  padding-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.related-grid .portfolio-thumbnail {
  aspect-ratio: 3/2;
}

@media (max-width: 800px) {
  .project-overview {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 480px) {
  .project-detail {
    gap: 32px;
  }
  .project-gallery, .related-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
body {
  isolation: isolate;
}

.stage-light {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-main {
  position: relative;
  z-index: 1;
}

.site-menu {
  position: relative;
  z-index: 2;
}

.stage-light-graphic {
  position: absolute;
  left: 0;
  top: 0;
  width: max(100vmax, 900px);
  height: max(100vmax, 900px);
  max-width: none;
  fill: #ffd5bc;
  transform: translate(calc(var(--light-x, 50vw) - 50%), calc(var(--light-y, 40vh) - 50%)) rotate(var(--light-angle, 0deg));
}

.stage-light[data-light-preset=off] {
  display: none;
}

.light-presets {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.light-presets .light-preset {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  font-size: 14px;
  line-height: 20px;
}

.light-preset[aria-pressed=true] {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.graphic-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #000;
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
  z-index: 100000;
  display: none;
  transform: translate(-50%, -50%);
}

.graphic-cursor.is-active {
  background: #000;
}

@media (hover: hover) and (pointer: fine) {
  html.has-graphic-cursor, html.has-graphic-cursor * {
    cursor: none !important;
  }
  html.has-graphic-cursor .graphic-cursor {
    display: block;
  }
}
@media (max-width: 480px) {
  .stage-light-graphic {
    width: 150vmax;
    height: 150vmax;
  }
}
::selection {
  background-color: #000;
  color: #fff;
  text-shadow: none;
}

@media (forced-colors: active) {
  .stage-light, .graphic-cursor {
    display: none !important;
  }
  html.has-graphic-cursor, html.has-graphic-cursor * {
    cursor: auto !important;
  }
  ::selection {
    background-color: Highlight;
    color: HighlightText;
  }
}
