*, *::before, *::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light dark;
}

body {
  background: #f7f7f7;
  color: #fff;	
  font-size: clamp(0.95rem, 1.095rem + -0.227vw, 1.05rem);
  letter-spacing: 0;
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 300;
}

.heading p,
.credits .artwork p,
.credits .artwork p span,
.studio p,
.faq p,
.faq ul,
.faq li,
.contact p {
  font-weight: 400;
  line-height: 125%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased !important;
  -moz-font-smoothing: antialiased !important;
  text-rendering: optimizelegibility !important;
  letter-spacing: -0.02em;
}

::-moz-selection {
  color: #fff;
  background: #EDA40E;
}

::selection {
  color: #fff;
  background: #EDA40E;
}

header,
.studio,
.faq,
.contact,
footer {
  width: 100%;
  margin: 0;
  padding: 0 1rem; /* Mobile Padding */
}
@media screen and (max-width: 999px) {.hide-mobile{display:none;}}
@media screen and (min-width: 768px) {
  header,
  .studio,
  .faq,
  .contact,
  footer {
    width: 48em;
    margin: 0 auto;
    padding: 0 1.5rem; /* Desktop Padding */
  }
}

footer {margin-top:40px;}
footer .language{border-top:4px solid #ddd;}

h2 {
  font-size: 1.1rem;
  font-optical-sizing: auto;
  font-weight: 600;
}

h3 {
  font-size: 1rem;
}

header {
  padding-top: 50px;
  padding-bottom: 0;
  background-color: #f7f7f7;
  color: #181818;
}
.hero {
  display: flex;             /* Establishes the flex container */
  justify-content: space-between; /* Pushes .logo to the left and .intro to the right */
  align-items: center;       /* Perfectly aligns them vertically in the middle */
  width: 100%;
}
.heading p {
  margin-top: 40px;
}
.heading .hero {
  background: linear-gradient(#f7f7f7, #f7f7f7) padding-box,linear-gradient(to right, #f7f7f7, #ddd) border-box;
  border: 1px solid transparent;
  border-radius:15px 150px 150px 15px;
}
.heading .hero h1 {
  margin: 0;
  padding:0 0;
}

.heading .hero h1 svg {height:80px;padding-top:8px;}

.heading .hero h1 svg path {
  fill: #181818
}
.heading .hero .logo{margin:0 5px 0 0;padding:0;}
.heading .hero .logo svg{
  height: 90px;
  margin-top:3px;
  padding:0 0 1px 2px;
}

.heading .logo svg path {
  stroke: #383838;
  fill: #383838;
}

.heading .logo svg circle {
  stroke: #383838;
}
a {
  color: #EDA40E;
  transition: all .2s linear;
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  color: #E6C16A;
}

.heading span {
  color: #EDA40E;
  transition: all .2s linear;
  text-decoration: none;
  font-weight: 600;	
  white-space: nowrap;
}

/* Main Container */
.credits {
  margin: 0;
  padding:20px 0 0 0;
  background-color:#f0f0f0;
}
@media screen and (min-width: 768px) {
  .credits {padding:20px;}
}  
.credits .innercredits {
  background-image: linear-gradient(to right, #383838, #363636, #353535, #333333, #323232);
  border-top: 4px solid #EDA40E;
}

/* Section Title */
.credits h3 {
  margin: 0;
  padding: 3px 0 5px 6px;
  font-optical-sizing: auto;
  font-size: 1.1rem;
  white-space:nowrap;
  font-weight: 600;
}

/* The 50/50 Split */
.split-container {
  display: flex;
  flex-wrap: wrap; /* Allows stacking on mobile */
  width: 100%;
}
@media (min-width: 768px) {
  .split-col {
    width: calc(50% - 10px); /* Desktop default */
    box-sizing: border-box;
    padding:10px;
    margin:0 10px 0 0;
    background-color: #202020;
    border:1px solid #282828;
  }
  .split-col:last-child {padding-left:10px;margin:0 0 0 10px;}
}
.split-col img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}
.split-col img.pos-right {
  /* Aligns to the Right edge, vertically Centered */
  object-position: right center; 
  
  /* Or use percentages: 80% horizontal, 50% vertical */
  /* object-position: 80% 50%; */
}
.split-col img.pos-left {
  /* Aligns to the Right edge, vertically Centered */
  object-position: left center; 
  
  /* Or use percentages: 80% horizontal, 50% vertical */
  /* object-position: 80% 50%; */
}
/* Full Width Sections */
.full-section {
  padding: 0;
  margin: 0 auto;
}

/* Mobile: Stack columns */
@media (max-width: 768px) {
  .split-col {
    width: 100%;
    padding:0;
    margin:0 0 40px 0;
    border:none;
  }
}

/* Header container to align title and buttons */
.credits-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:1px 5px 0 0;
}
@media (max-width: 600px) {
  .credits-header {padding:1px 15px 0 0;}
}

.sort-controls {
  display: flex;
  gap: 1rem;
}

.sort-btn {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  color:#999;
  white-space: nowrap;
}

.sort-btn:hover {
  color: #666;
}

/* The Active State */
.sort-btn.active {
    color: #EDA40E;          /* Uses your blue brand color */         /* Makes it slightly thicker */
    opacity: 1;                  /* Ensures it's fully visible */
}
.scroll {
  position:absolute;
  margin-top:-60px;
  margin-left:20px;
  opacity: 0.9;
  transition: opacity 0.5s ease;
  animation: bounce 1s infinite;  
  background-color:#EDA40E;
  border-radius:50%;
  padding:5px;
}
.scroll svg{padding-top:4px;height:20px;}
.scroll svg path{fill:#181818;}

.scroll.is-hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* THE SCROLL GRID */
.credits .artwork {
  /* Use Grid instead of Flex */
  display: grid;
  
  /* 1. Define 3 rows that fit their content height */
  grid-template-rows: repeat(2, min-content);
  
  /* 2. Force items to fill vertically (Col 1: Row 1,2,3) then move to Col 2 */
  grid-auto-flow: column;
  
  /* 3. Define the width of the columns (matches your image size) */
  grid-auto-columns: 150px;
  
  /* 4. Gap replaces margins (First Value: Row Gap, Second: Col Gap) */
  gap: 30px 25px;

  /* Scroll Behavior */
  overflow-x: auto;
  overflow-y: hidden;
  
  /* Container Styling */
  width: 100%;
  height: auto; /* Allow height to grow to fit 3 rows */
  margin: 0;
  padding: 30px 20px; /* Add side padding so items don't touch edge */
  background-color: #242424;
  box-shadow: 0px 10px 10px -10px rgba(0, 0, 0, 0.15) inset, 0px -10px 10px -10px rgba(0, 0, 0, 0.25) inset;
  color: #fff;
  
  /* Smooth Scrolling on mobile */
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* The Grid Item (The Anchor Tag) */
/* Note: We style the 'a' now, because your HTML removed the 'div' wrapper */
.credits .artwork a {
  width: 150px; /* Fixed width matching the grid column */
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

/* The Image */
.credits .artwork img {
  width: 150px;
  height: 150px;
  object-fit: contain; /* or 'cover' if you want to crop to fill square */
  margin-bottom: 8px; /* Space between img and text */
  outline: 1px solid #181818;
  outline-offset: -1px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  transition: all .1s linear;
  display: block;
  border-radius:2px;
}

/* Hover Effect */
.credits .artwork a:hover img {
  outline: 2px solid rgba(237, 164, 14, 0.8);
}

/* Typography inside the card */
.credits .artwork h3 {
  font-weight: 300;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}

.credits .artwork h4 {
  font-weight: 600;
  margin: 0;
  padding: 2px 0 0 0;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}

.credits .artwork p {
  font-size: 0.7rem;
  font-weight: 400;
  margin: 0;
  padding: 2px 0 0 0;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.credits .artwork p span {
  display: block;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.5rem;
  margin: 4px 0 0 0;
}
.studio {
  background-color: #f7f7f7;
  color: #181818;
  /* Only change top/bottom, leave sides alone */
  padding-top: 20px;
  padding-bottom: 20px;
}

.studio h2 {
  padding-top: 10px;
}

.faq {
  background-color:#f7f7f7;
  color: #181818;
  margin-top:20px;
}
@media screen and (min-width: 768px) {
  .faq{border:1px solid #e2e2e2;}
}
@media screen and (max-width: 768px) {
  .faq{border-top:1px solid #e2e2e2;border-bottom:1px solid #e2e2e2;}
}
.faq h2 {
  padding-top: 20px;
}

.faq h3 {
  border-bottom: 2px solid #EDA40E
}

.contact {
  background-color: #f7f7f7;
}

.contact h2 {
  padding-top: 40px;
  color: #181818
}

.contact form {
  margin: 0;
  padding: 0 0 20px 0;
}

.contact input {
  width: 100%;
  height: 35px;
  margin: 4px 0 10px 0;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0 0 0 10px;
  color:#181818;
  font-size: clamp(0.95rem, 1.095rem + -0.227vw, 1.05rem);
  letter-spacing: 0;
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 300;
  border:1px solid #ddd;
}
.contact textarea {
  width: 100%;
  min-height: 200px;
  margin: 3px 0 8px 0;
  background: transparent;
  border: 0;
  outline: 0;
  resize: none;
  padding: 10px 0 0 10px;
  color:#181818;
  border:1px solid #ddd;
  font-size: clamp(0.95rem, 1.095rem + -0.227vw, 1.05rem);
  letter-spacing: 0;
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 300;
}

@supports (-webkit-touch-callout: none) {
  .contact input,
  .contact textarea {
    font-size: 16px;
  }
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: #aaa;
  font-size: 0.8rem;
  font-weight: 200;
}

.contact button {
  background-color: #EDA40E;
  -webkit-appearance: none;
  border: 0;
  outline: 0;
  cursor: pointer;
  transition: .2s;
  color: #fff;
  width: 100%;
  letter-spacing: -0.011em;
  word-spacing: -0.011em;
  font-size: 0.85rem;
  padding: 5px 0;
  border-radius: 2px;
}

.contact button:hover {
  box-shadow: 0 0 1px #EDA40E;
}

.contact .thankyou {
  display: none;
}

.contact .thankyou p {
  color: #fff;
  background-color: #EDA40E;
  border-radius: 2px;
  text-align: center;
  letter-spacing: -0.011em;
  word-spacing: -0.011em;
  font-size: 0.85rem;
  padding: 5px 0;
  margin: 20px 0;
  width: 100%;
}

.contact .thankyou p svg,
.form-submit svg {
  height: 24px;
  width: 24px;
  line-height: 20px;
  vertical-align: -33%;
  padding-right: 9px;
}

.contact .thankyou svg path,
.form-submit svg path {
  fill: #fff
}

.contact #thankyou:target {
  display: block;
}

.contact p {
  color: #181818
}

p.social {
  padding-bottom: 20px;
}

p.social svg {
  height: 18px;
  width: 18px;
  margin-right: 9px;
}

.facebook svg path, .instagram svg path, .threads svg path  {
  transition: fill 0.3s ease;
}

.facebook:hover svg path {
  fill: #1877F2;
}

.instagram svg:hover path {
  fill: #E1306C;
}

.threads:hover svg path {
  fill: #333; 
}

.language p {
  margin: 0 0 0 0;
  font-weight: 600;
  background-color: #f2f2f2;
  border-radius: 2px;
  padding: 6px 10px;
  transition: all .2s linear;
  text-align: left;
}

.language p:hover {
  background-color: #f0f0f0
}

.language a {
  color: #999;
  display: block;
  width: 100%;
  font-weight: 500;
  font-size: 0.65rem;
  text-transform: uppercase
}

.language svg {
  height: 16px;
  width: 16px;
  padding-right: 5px;
  vertical-align: -35%;
}

.language svg path {
  fill: #999
}

p.copyright,
p.knoll {
  font-size: 0.70rem;
  padding: 0;
  margin: 0
}

p.copyright {
  margin-top: 10px;
  color: #999;
  padding-left: 5px;
  text-align: right;
}
p.copyright::first-letter{font-size:0.5rem;}

p.knoll {
  text-transform: uppercase;
  font-size: 0.5rem;
  font-weight: 600;
  padding: 10px 0 40px 0;
  text-align: right;
}

.tab {
  position: relative;
}

.tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.tab__content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s ease;
}

.tab input:checked ~ .tab__content {
  max-height: 40rem;
}

.accordion {
  color: #181818;
  padding-bottom: 25px;
}

.tab__label {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  padding: 0 0 0.3rem 0;
  border-bottom: 2px solid #EDA40E;
  color: #181818;
  margin-top:2.5rem;
}

.tab__label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transform: rotate(90deg);
  transition: all 0.35s;
}

.tab input:checked + .tab__label::after {
  transform: rotate(270deg);
  margin-right: 6px;
}

.tab__content {
  background-color: transparent;
}
.tab__content li {
  margin: 0;
  padding: 0;
}
.tab__content p {
  margin: 0;
  padding: 0;
}
.tab__content p:first-of-type {
  padding: 1rem 0;
}
.tab__content p:last-of-type {
  padding: 0 0 0 0;
}
.tab__content p:not(:first-of-type):not(:last-of-type) {
  padding-bottom: 1rem;
}

@media (prefers-color-scheme: dark) {
  body,
  .studio,
  header {
    background-color: #161616;
    color: #f0f0f0
  }

  .credits,
  .contact input,
  .contact textarea {
    border-color: #282828;
    color: #f0f0f0
  }
  
  .credits {background-color: #191919;}

  footer .language {border-top:4px solid #282828}

  .language p {
    border: 1px solid #181818;
    background-color: #202020;
  }

  .language p:hover {
    background-color: #101010;
    border: 1px solid #101010;
  }

  .language a {
    color: #f0f0f0
  }

  .language svg path {
    fill: #f0f0f0
  }

  .heading .hero {background: linear-gradient(#161616, #161616) padding-box,linear-gradient(to right, #161616, #383838) border-box;border: 1px solid transparent;}
  .heading .hero h1 svg path {fill:#f2f2f2;}
  .heading .hero .logo svg{filter:invert(100%) saturate(0%)brightness(150%) contrast(100%);}

  .contact {
    background-color: #161616;
    color: #f0f0f0;
  }

  .faq {
    background-color: #161616;
    border-color:#282828;
    color: #f0f0f0
  }

  h1,
  .credits h2,
  .contact h2,
  .credits h3,
  .contact p {
    color: #f0f0f0
  }

  p.social svg path{
    fill:#f0f0f0;
  }
  .tab__label, .tab__content p, .tab__content ul, .tab__content li{color:#f0f0f0}
}
