* {
  margin: 0;
  padding: 0;
}

body.no-transitions * {
  transition: none !important;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: #101010;
  font-family: "Trebuchet MS", sans-serif;
  /* Other possibilities: "Inter" */
  font-size: 15px;
  color: #686868;
  overflow-y: auto;
  overflow-x: hidden;
}

/* SimpleLightbox overrides */
.slbImageWrap::after { background-color: #000; box-shadow: none; }
.slbImage            { background: #000; }
html.slbActive       { overflow: hidden; touch-action: none; }
.slbCaption          { font-size: 1em !important; bottom: 1.5em !important; }

/* Page transition */
.wrapper {
  animation: fadein 0.5s;
}

body.fadeout .wrapper {
  animation: fadeout 0.3s forwards;
}

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

.grain {
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  background-image: url("../images/grain.png");
  background-size: 128px 128px;
  background-repeat: repeat;
  mix-blend-mode: overlay;
  opacity: 0.08;
}

.wrap {
  position: relative;
  height: 100vh;
  height: 100dvh;
}

/* ── Artistic Practice layout ── */

#content.artistic-page,
#content.professional-page {
  display: block;
  background: #0a0a0a;
  min-height: 100vh;
  padding: 0;
}

.artistic-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

/* ── Artistic list view ───────────────────────────────── */
.intro-text {
  padding: calc(var(--topbar-height) + 2rem) 1.5rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 0;
}

.section-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-bottom: 1.25rem;
}

.intro-text p {
  font-size: 15px;
  color: #808080;
  line-height: 1.9;
}

.art-list-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem 3rem;
  margin: 0 -3rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  background: transparent;
  transition: background 0.4s;
}

.art-list-row:hover {
  background: rgba(255,255,255,0.03);
}


.art-list-row:hover .art-list-title { color: rgba(255,255,255,0.95); }
.art-list-row:hover .art-list-date   { color: #707070; }
.art-list-row:hover .art-list-summary { color: #808080; }

.art-list-text {
  flex: 1;
  min-width: 0;
}

.art-list-date {
  font-size: 11px;
  color: #505050;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.art-list-title {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
  margin-bottom: 1.25rem;
  transition: color 0.2s;
}

.art-list-summary {
  font-size: 13px;
  color: #606060;
  line-height: 1.8;
  text-align: justify;
  transition: color 0.2s;
}

.art-list-cover {
  flex-shrink: 0;
  width: 35%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.art-list-cover-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #111;
  transition: filter 0.2s, transform 1.5s ease;
}

.art-list-row:hover .art-list-cover-inner {
  filter: brightness(1.08);
  transform: scale(1.04);
}

/* ── Artistic detail view ─────────────────────────────── */

.art-detail-topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--topbar-height) + 1rem) 3rem 1rem;
}

.art-back,
.art-detail-prevnext a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.art-back:hover,
.art-detail-prevnext a:hover { color: rgba(255,255,255,0.7); }

.art-detail-prevnext { display: flex; gap: 1.5rem; }

.art-prevnext-disabled {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.1);
  cursor: default;
}

/* Hero */
.art-detail-hero {
  position: relative;
  width: 100%;
  height: 55vh;
  min-height: 380px;
  overflow: hidden;
}

.art-detail-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #111;
  filter: saturate(0.85);
}

.art-detail-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 80% at center, transparent 40%, rgba(0,0,0,0.75) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0) 70%);
}

.art-detail-hero-title {
  font-size: 40px;
  color: rgba(255,255,255,0.9);
  font-weight: 300;
  line-height: 1.2;
  max-width: 70%;
  padding: 0 3rem;
  transform: translateY(-50%);
  position: relative;
  z-index: 1;
  white-space: normal;
}

/* Detail inner */
.art-detail-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 3rem;
}

.art-detail-info {
  position: relative;
  display: grid;
  grid-template-columns: 33% 1fr;
  gap: 0;
  padding-bottom: 3rem;
  margin-bottom: 2.5rem;
}

.art-detail-info::before {
  content: '';
  position: absolute;
  left: 33%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.07);
}

.art-detail-sidebar {
  grid-column: 1;
  padding-top: 0.2rem;
  padding-right: 3rem;
}

.art-meta-row { margin-bottom: 1.75rem; }

.art-meta-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 0.4rem;
}

.art-meta-value,
.art-detail-tasks {
  display: block;
  font-size: 14px;
  color: #808080;
  line-height: 1.5;
}

.art-detail-tasks {
  padding-right: 3rem;
}

.art-detail-tasks ul { list-style: none; padding-left: 0; margin: 0; }
.art-detail-tasks li { margin: 0.2em 0; list-style-position: inside; }
.art-detail-tasks li::marker { content: "•\2002\2002"; }

.art-detail-text {
  grid-column: 2;
  font-size: 15px;
  color: #C0C0C0;
  line-height: 1.9;
  text-align: justify;
  padding-left: 3rem;
}

/* Gallery strip */
/* ── Gallery navigation strip ── */
.gallery-nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 1.5rem;
}

.gallery-nav-btn {
  flex-shrink: 0;
  width: 32px;
  align-self: stretch;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  padding: 0;
}

.gallery-nav-btn:hover {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.06);
}

.gallery-btn-prev {
  border-right: 1px solid rgba(255,255,255,0.12);
}

.gallery-btn-next {
  border-left: 1px solid rgba(255,255,255,0.12);
}

.gallery-nav-btn.gallery-visible {
  display: flex;
}

.art-detail-gallery {
  flex: 1;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  justify-content: space-between;
}

.art-detail-gallery::-webkit-scrollbar { display: none; }

.pro-detail-page-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0.1rem 1.5rem 3rem;
}


.modal-loading {
  width: 24px; height: 24px;
  border: 2px solid rgba(255,255,255,0.15);
  border-top-color: rgba(255,255,255,0.6);
  border-radius: 50%;
  animation: modalSpin 0.7s linear infinite;
  margin: 2rem auto;
}
@keyframes modalSpin { to { transform: rotate(360deg); } }

.gallery-thumb-clip {
  display: block;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.gallery-thumb-clip::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.075);
  pointer-events: none;
  transition: box-shadow 0.2s;
  z-index: 1;
}

.gallery-thumb-clip.active::after {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45);
}

.gallery-thumb-video {
  position: relative;
  flex-shrink: 0;
}

.gallery-thumb-video::before {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  padding-left: 3px;
  box-sizing: border-box;
  background: rgba(0,0,0,0.55);
  border-radius: 50%;
  color: rgba(255,255,255,0.85);
  font-size: 11px;
}

.gallery-thumb {
  width: 160px;
  height: 90px;
  background-size: cover;
  background-position: center;
  background-color: #111;
  cursor: pointer;
  position: relative;
  transition: filter 0.2s, transform 0.5s ease;
}

.gallery-thumb:hover {
  filter: brightness(1.2);
  transform: scale(1.04);
}


/* ── About page ── */

.about-page {
  background: #0a0a0a;
  min-height: 100vh;
  padding: calc(var(--topbar-height) + 2rem) 1.5rem 0;
}

/* Biography */
.about-body {
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.about-biography-col {
  width: 100%;
}

.about-bio-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin-top: 0.6rem;
  margin-bottom: 1.75rem;
}

.about-bio {
  font-size: 15px;
  color: #686868;
  line-height: 1.9;
  text-align: justify;
}

.about-bio p {
  margin: 0 0 1.5em;
}
.about-bio p:last-child {
  margin-bottom: 0;
}

.about-bio i {
  color: #888;
}

/* ── News section ── */
.news-section {
  position: relative;
  z-index: 10;
  padding: 2rem 0;
  background: #0a0a0a;
}

.news-section h2 {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.news-grid {
  column-count: 1;
  width: fit-content;
  margin: 0;
}

.news-item {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.25rem 0;
  break-inside: avoid;
}

.news-item .date {
  flex-shrink: 0;
  color: #505050;
  font-size: 11px;
  font-style: normal;
  font-weight: normal;
  letter-spacing: 0.06em;
}

.news-item .job {
  color: #707070;
  font-size: 15px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.5;
}

.news-grid {
  position: relative;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.news-grid::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(transparent, #0a0a0a);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.news-grid.expanded::after {
  opacity: 0;
}

.news-more-btn {
  display: block;
  margin: 1.5rem auto 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.25);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.5rem 1rem;
}

.news-more-btn:hover {
  color: rgba(255,255,255,0.5);
}

.news-more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 0.6em;
  border: 1px solid currentColor;
  font-size: 11px;
  line-height: 1;
  vertical-align: middle;
}

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



/* End of Page transition */

input {
  color: #A0A0A0;
  background: transparent;
  border: 1px solid #404040;
  font-size: 14px;
  font-weight: bold;
}

input[type=button] {
  padding-left: 24px;
  padding-right: 24px;
  color: #A0A0A0;
  background: transparent;
  border: 1px solid #404040;
}


.centered {
  margin: auto;  /* centered */
}


.post {
  box-sizing: border-box;
  padding: 1.5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #111;
}

.post {
  aspect-ratio: 1;
}

.card-cover {
  position: relative;
  width: 100%;
  container-type: inline-size;
  flex: 1;
  overflow: hidden;
  background: #111;
}

.card-cover-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #111;
  transition: transform 0.5s ease, filter 0.2s;
}

.card-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      0deg,
      rgba(0,0,0,0.85) 0%,
            rgba(0,0,0,0.55) 30%,
            rgba(0,0,0,0.15) 60%,
            rgba(0,0,0,0.00) 100%
    );
}

.card-overlay,
.card-header {
  padding: 4rem 1vw 0.8vw;
}

.card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.85));
}

.card-header {
  position: relative;
  width: 100%;
  flex: 1;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #111;
  overflow: hidden;
}

.card-header.has-icon::before {
  content: '';
  position: absolute;
  inset: -30%;
  background-image: var(--icon);
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.35);
  z-index: 0;
}

.card-header > * {
  position: relative;
  z-index: 1;
}

.card-overlay-title {
  font-size: clamp(12px, 5cqw, 18px);
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.card-year {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.33);
  margin-bottom: 0.3rem;
}

.post a {
  font-size: 13px;
  font-weight: normal;
  color: #666;
}

h1 { /* Website title */
  font-size: 24px;
  font-weight: bold;
  color: #CCCCCC;
  margin-top: 10px;
  white-space:nowrap;
}

h2 { /* Page title */
  font-size: 17px;
  font-weight: bold;
  color: #AAAAAA;
  margin-bottom: 8px;
}


a {
  font-size: 15px;
  font-weight: bold;
  color: #AAAAAA;
  text-decoration: none;
  -webkit-text-decoration-color: currentcolor;
  text-decoration-color: currentcolor;
  -webkit-text-decoration-line: none;
  text-decoration-line: none;
  -webkit-text-decoration-style: solid;
  text-decoration-style: solid;
}

a.menu, a.submenu {
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding: 0 0.75rem;
}

a.menu:hover, a.submenu:hover {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

a.selected {
  color: rgba(255,255,255,0.85);
}

#content {
  background: #0a0a0a;
  min-height: 100vh;
}

.pro-inner {
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto;
  grid-auto-rows: auto;
  grid-auto-flow: dense;
  align-items: start;
  gap: 0;
}

.pro-categories {
  grid-column: 1 / -1;
  padding: 1.25rem 0;
  margin-bottom: 0rem;
}


#content .title {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  font-weight: 400;
  margin-bottom: 0.5rem;
}



/* Other */
div.footer {
   text-align: center;
   font-size: 12px;
   margin-top: 12px;
   margin-bottom: 12px;
}

img.portrait {
  border:#202020 1px solid;
  padding:0px;
  margin-left:8px;
  margin-right:8px;
  margin-top:8px;
  margin-bottom:8px;
}

/* Basically Portfolio related */
.post .entry
{
  color: #707070;
  font-size: 13px;
  line-height: 1.6;
}

.post .entry .date
{
  color: #505050;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.post .entry .job
{
  color: #b0b0b0;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
}

.post .entry .link
{
  color: #555;
  font-weight: normal;
  font-size: 12px;
}

.post .entry .link a
{
  color: #555;
  font-weight: normal;
}

.post .entry .role
{
  color: #909090;
  font-weight: normal;
}

.post .entry .explanations
{
  color: #808080;
  font-weight: normal;
}

/* Members involved */
.post .entry .members
{
  color: #505050;
  font-size: 12px;
}

.post .entry .members a
{
  color: #505050;
  font-size: 12px;
  font-weight: normal;
}

.post .entry .skills
{
  color: #567;
}

.post .entry .imageSet
{
  border: #EEE 1px solid;
  padding: 4px;
  text-align: center;
  margin-bottom: 4px;
}

.post .entry .educationTab
{
  padding: 0 0 0 68px;
  color: #444;
}

.post .entry ul
{
  margin: 0;
  padding: 0 0 0 24px;
  line-height: normal;
}

.post .entry ul.sub
{
  padding: 0 0 0 40px;
  list-style-image: url(images/check.gif);
}

.post .entry li
{
  padding-left: 0px;
}

div.project-item {
  width: 100%;
  padding: 0;
  margin: 0;
  border-spacing: 0;
}

div.project-item:after {
  content: "";
  display: table;
  clear: both;
}


div.entry {
  display: none;
}

.post {
  cursor: pointer;
}

.post:hover .card-cover-inner {
  transform: scale(1.04);
  filter: brightness(1.08);
}

/* ── Modal ── */
.project-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.92);
  overflow-y: auto;
}

.project-modal.open {
  display: block;
}

.project-modal-inner {
  position: relative;
  max-width: 860px;
  margin: 60px auto 80px;
}

.modal-close {
  position: fixed;
  top: 1.25rem;
  right: 1.75rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 22px;
  cursor: pointer;
  z-index: 501;
  line-height: 1;
  padding: 0.25rem 0.5rem;
}

.modal-close:hover {
  color: rgba(255,255,255,0.9);
}

.modal-cover {
  width: 100%;
  height: 420px;
  background-color: #111;
  background-size: cover;
  background-position: center;
}

.modal-header {
  padding: 1.5rem 0rem 0;
}

.modal-date {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.modal-title {
  font-size: 20px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.project-modal .project-title,
.pro-detail-page-inner .project-title {
  display: block;
  float: none;
  width: auto;
  padding: 0 0rem 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 0;
}

.project-modal .project-title span,
.pro-detail-page-inner .project-title span {
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.project-modal .project-title br,
.pro-detail-page-inner .project-title br {
  display: none;
}

.project-modal .project-title .role,
.pro-detail-page-inner .project-title .role {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}

.project-modal .project-title .members,
.pro-detail-page-inner .project-title .members {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.4rem;
}

.project-modal .project-title .members a,
.pro-detail-page-inner .project-title .members a {
  font-size: 12px;
}

.project-modal .project-title .link,
.pro-detail-page-inner .project-title .link {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.project-modal .project-tasks,
.pro-detail-page-inner .project-tasks {
  padding: 0.75rem 0rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.3);
}

.project-modal .project-tasks ul,
.pro-detail-page-inner .project-tasks ul {
  padding-left: 1.1em;
  margin: 0;
  list-style: none;
}

.project-modal .project-tasks li,
.pro-detail-page-inner .project-tasks li {
  margin: 0.2em 0;
  list-style-position: inside;
}

.project-modal .project-tasks li::marker,
.pro-detail-page-inner .project-tasks li::marker {
  content: "•\2002\2002";
}

.project-modal .project-text,
.pro-detail-page-inner .project-text {
  color: rgba(255,255,255,0.65);
  padding: 0.75rem 0rem 0;
  margin-bottom: 2rem;
  text-align: justify;
}

.project-modal .project-text li,
.pro-detail-page-inner .project-text li {
  list-style-position: inside;
  margin: 0.15em 0;
}

.project-modal .project-text li::marker,
.pro-detail-page-inner .project-text li::marker {
  content: "•\2002\2002";
}

.project-modal .project-text ul,
.pro-detail-page-inner .project-text ul {
  padding-left: 1.1em;
  margin: 0.4em 0;
}


.project-modal .gallery-nav-wrap,
.pro-detail-page-inner .gallery-nav-wrap {
  padding: 0.75rem 2rem 2rem;
}

.project-modal .project-samples,
.pro-detail-page-inner .project-samples {
  flex: 1;
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  justify-content: space-between;
  padding: 0;
  margin: 0;
}

.project-modal .project-samples::-webkit-scrollbar,
.pro-detail-page-inner .project-samples::-webkit-scrollbar { display: none; }



div.project-title {
  float: left;
  width: 600px;
  text-align:left;
}

div.project-text {
  margin-bottom: 0.75rem;
}

div.project-samples {
  margin-top: 0.75rem;
}

div.project-samples:after {
  content: "";
  display: table;
  clear: both;
}

div.sample, div.sample_video {
  float: left;
  width: 25%;
  margin-bottom: 12px;
  text-align: center;
}

div.subtitle {
  margin-top:4px;
  color: #AAA;
  font-size: 13px;
  font-style: italic;
  font-weight: bold;
  text-align: center;
}

img.sample {
  border: 1px solid #444;
  background: #111;
  /*display: block;*/
  max-width:160px;
  max-height:80px;
  width: auto;
  height: auto;
  text-align: center;
}

img.sample_video {
  border: 1px solid #444;
  background: #111;
  /*display: block;*/
  max-width:160px;
  max-height:80px;
  width: auto;
  height: auto;
  text-align: center;
}

/*img.sample_video_overlay {
  border: 1px solid #444;
  left: -25px;
  width: auto;
  height: 80px;
} */

/* End of Portfolio related */

/* ── Contact page ── */

.contact-page {
  background: #0a0a0a;
  min-height: 100vh;
}

.contact-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 80px 3rem 4rem;
}

.contact-layout {
  display: flex;
  gap: 0;
  align-items: flex-start;
  padding-top: 2rem;
}

.contact-col {
  flex: 1;
  min-width: 0;
}

.contact-col-social {
  flex: 0 0 220px;
}

.contact-col-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.contact-or {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 3.5rem;
  align-self: stretch;
}

.contact-or::before,
.contact-or::after {
  content: '';
  flex: 1;
  width: 1px;
  background: rgba(255,255,255,0.05);
}

.contact-or span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.15);
  padding: 1.25rem 0;
}

.contact-form {
  flex: 1;
  min-width: 0;
}

.contact-field {
  margin-bottom: 1.25rem;
}

.contact-field-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 0.6rem;
}

.contact-required {
  color: #883333;
}

.contact-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #A0A0A0;
  font-size: 14px;
  font-family: inherit;
  padding: 0.5rem 0;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.contact-input:focus {
  border-bottom-color: rgba(255,255,255,0.3);
}

.contact-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #A0A0A0;
  font-size: 14px;
  font-family: inherit;
  padding: 0.5rem 0;
  box-sizing: border-box;
  outline: none;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s;
}

.contact-textarea:focus {
  border-bottom-color: rgba(255,255,255,0.3);
}

.contact-submit-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-submit {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: inherit;
  padding: 0.75rem 2rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.contact-submit:hover {
  border-color: rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.85);
}

.contact-hint {
  font-size: 11px;
  color: #404040;
  letter-spacing: 0.04em;
}

.contact-social {
  width: 100%;
}

.contact-status {
  font-size: 13px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  border-left: 2px solid;
}
.contact-status-ok  { color: #6a9f6a; border-color: #6a9f6a; }
.contact-status-err { color: #9f6a6a; border-color: #9f6a6a; }

.contact-social div.sns {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
  margin: 0;
  padding: 0;
}

.contact-social a.sns {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0;
  padding-left: 0;
  padding-top: 0.45rem;
  font-size: 15px;
  font-weight: normal;
  color: rgba(255,255,255,0.6);
  border: none;
  background: none;
}

.contact-social a.sns:hover {
  color: rgba(255,255,255,0.7);
  background: none;
  border: none;
}

.contact-social a.sns div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: static;
  top: auto;
}

.contact-social a.sns br {
  display: none;
}

.contact-social svg.sns_icon_svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* End of Contact page */

span.bio {
  font-weight:bold;
}

/* *** Responsive *** */

@media only screen and (max-width: 1000px) {
  .pro-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media only screen and (max-width: 600px) {

  div.wrapper {
    width: 100%;
  }

  /* ── Professional page: grid ── */
  .pro-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 0.75rem 3rem;
  }

  .pro-categories .title {
    font-size: 10px;
    letter-spacing: 0.18em;
    margin-bottom: 0;
    white-space: normal;
    line-height: 2.2;
  }

  /* ── Intro text: condensed on mobile ── */
  .intro-text {
    padding: calc(var(--topbar-height) + 1rem) 1.5rem 1.25rem;
  }

  .intro-text p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 100%;
  }

  /* ── Artistic detail: stacked on mobile ── */
  .art-detail-hero-title {
    font-size: 28px;
    max-width: 100%;
    padding: 0 1rem;
  }

  .art-detail-info {
    grid-template-columns: 1fr;
  }

  .art-detail-info::before {
    display: none;
  }

  .art-detail-sidebar {
    grid-column: 1;
    grid-row: auto;
    padding-right: 0;
    margin-bottom: 1.5rem;
  }

  .art-detail-tasks,
  .art-detail-text {
    grid-column: 1;
    padding-left: 0;
  }

  /* ── Project modal: full-viewport on mobile ── */
  .project-modal-inner {
    margin: 0;
    max-width: 100%;
    border-radius: 0;
  }

  .modal-cover {
    height: 220px;
  }

  .modal-close {
    top: 0.75rem;
    right: 1rem;
  }

  .project-modal .gallery-nav-wrap,
  .pro-detail-page-inner .gallery-nav-wrap {
    padding: 0.5rem 1rem 1.5rem;
  }

  /* ── Artistic list: image on top, text below ── */
  .art-list-row {
    flex-direction: column-reverse;
    gap: 1rem;
    padding: 1.5rem 0;
    margin: 0;
  }

  .art-list-cover {
    width: 100%;
  }

  /* ── News ── */
  .news-section {
    padding: 3rem 0;
  }

  .news-grid {
    column-count: 1;
  }

  .news-item {
    padding: 0.25rem 0;
  }

  /* ── Contact ── */
  .contact-inner {
    padding: calc(var(--topbar-height) + 1.5rem) 1.5rem 3rem;
  }

  .contact-layout {
    flex-direction: column;
    border-top: none;
    padding-top: 0;
  }

  .contact-col {
    width: 100%;
  }

  .contact-or {
    flex-direction: row;
    padding: 1.25rem 0;
    align-self: auto;
    width: 100%;
  }

  .contact-or::before,
  .contact-or::after {
    height: 1px;
    width: auto;
  }

  .contact-or span {
    padding: 0 1.25rem;
  }

  .contact-field {
    margin-bottom: 0.85rem;
  }

  .contact-col-social {
    flex: none;
    width: 100%;
  }

  .contact-social div.sns {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* ── Legacy ── */
  img.portrait      { width: 30vw; height: auto; }
  .mainName         { font-size: 24px; }
  .mainPosition     { font-size: 4vw; }
  a.sns             { padding-left: 3vw; padding-right: 3vw; font-size: 3vw; }
  img.sns_icon      { width: 10vw; height: auto; }
  a.prd             { padding-left: 3vw; padding-right: 3vw; font-size: 3vw; }
  img.prd_icon      { width: 10vw; height: auto; }
  div.project-icon  { width: 70px; }
  img.project-icon  { width: 60px; height: 60px; }
  div.project-title { width: 70vw; }
  div.sample, div.sample_video { float: left; width: 50%; }

}


