:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --paper: #f5f4f1;
  --red: #d81f0f;
  --red-deep: #a3170a;
  --grey: #6e6e6a;
  --line: #dcdad3;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html { 
  scroll-behavior: smooth; 
}

body {
  background: var(--paper);
  color: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.hero {
  background: var(--black);
  color: var(--white);
  padding: 120px 0 90px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(3.2rem, 11vw, 8.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: .92;
  text-transform: uppercase;
}

.hero .role {
  margin-top: 26px;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: #cfcfcc;
  font-weight: 400;
}

.hero .role .sep { 
  color: var(--red); 
  padding: 0 .35em; 
}

.hero .intro {
  margin-top: 44px;
  max-width: 560px;
  font-size: 1.05rem;
  color: #dcdcd9;
}

.hero .intro strong {
  color: var(--white);
  font-weight: 600;
}

/* Main Content Grid */
.row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 40px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.row-label {
  position: sticky;
  top: 32px;
  align-self: start;
}

.row-label .idx {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--grey);
  margin-bottom: 8px;
}

.row-label h2 {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  border-left: 2px solid var(--red);
  padding-left: 12px;
}

.row-content { 
  max-width: 640px; 
}

.row-content p { 
  margin-bottom: 18px; 
  font-size: 1.02rem; 
}

.row-content p:last-child { 
  margin-bottom: 0; 
}

.row-content .lede {
  font-size: 1.18rem;
  font-weight: 500;
}

.accent { 
  color: var(--red-deep); 
  font-weight: 700; 
}

table.stack {
  width: 100%;
  border-collapse: collapse;
  max-width: 640px;
}

table.stack th {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 0 0 12px;
  border-bottom: 1px solid var(--black);
  font-weight: 600;
}

table.stack td {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: .98rem;
}

table.stack td:first-child {
  width: 34%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .04em;
  padding-right: 16px;
}

table.stack td:last-child {
  font-family: var(--mono);
  font-size: .88rem;
  color: #333;
}

ul.work-list { 
  list-style: none; 
}

ul.work-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

ul.work-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--red);
}

ul.work-list li:last-child { 
  margin-bottom: 0; 
}

.marketplaces-wrapper {
  margin-top: 24px;
}

.btn {
  background-color: transparent;
  color: var(--black);
  border: 1px solid var(--black);
  padding: 10px 20px;
  font-family: var(--mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover, .btn:focus-visible {
  background-color: var(--black);
  color: var(--white);
}

.hidden-list {
  display: none;
  list-style: none;
  margin-top: 16px;
  padding-left: 0;
}

.hidden-list.show {
  display: block;
}

.hidden-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 0.95rem;
}

.hidden-list li:last-child {
  border-bottom: none;
}
/* -------------------------------------- */

footer.contact {
  background: var(--black);
  color: var(--white);
  padding: 100px 0 60px;
}

footer.contact .label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

footer.contact h3 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 56px;
  max-width: 760px;
  line-height: 1.05;
}

.contact-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #2a2a2a;
}

.contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  border-bottom: 1px solid #2a2a2a;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  font-weight: 600;
  transition: color .15s ease, padding-left .15s ease, background-color 0.2s ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: var(--white);
  padding-left: 12px;
  background-color: rgba(255, 255, 255, 0.03);
}

.link-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon {
  width: 28px;
  height: 28px;
  color: var(--grey);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease;
}

.contact-links a:hover .social-icon,
.contact-links a:focus-visible .social-icon {
  color: var(--white);
  transform: scale(1.15) rotate(-3deg);
}

.contact-links a span.arrow {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--grey);
}

.bottom-line {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid #2a2a2a;
  font-family: var(--mono);
  font-size: .78rem;
  color: #6f6f6b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.bottom-line .availability {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-label {
  margin-bottom: 0 !important;
}

/* Smaller Desktops */
@media (max-width: 992px) {
  .hero { padding: 100px 0 70px; }
  .row { gap: 24px; padding: 56px 0; }
}

/* Mobile & Small Tablet */
@media (max-width: 760px) {
  .hero { padding: 80px 0 60px; }
  .container { padding: 0 24px; }
  .row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 48px 0;
  }
  .row-label { 
    position: static; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
  }
  .row-label .idx { margin-bottom: 0; }
  
  table.stack td:first-child { width: 40%; }
  
  footer.contact { padding: 70px 0 40px; }
  .contact-links a { padding: 18px 0; }
  .social-icon { width: 24px; height: 24px; gap: 12px;}
}

/* Small Mobile  */
@media (max-width: 480px) {
  .hero { padding: 60px 0 40px; }
  .container { padding: 0 16px; }
  
  table.stack thead { display: none; }
  table.stack td { 
    display: block; 
    padding: 8px 0; 
    border-bottom: none;
  }
  table.stack td:first-child { 
    width: 100%; 
    padding-top: 16px;
    color: var(--red-deep);
  }
  table.stack td:last-child { 
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }
  
  .bottom-line {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .social-icon { transition: none; }
  .contact-links a:hover .social-icon { transform: none; }
}