/* URBANLAB — layout, type, components and responsive behavior. */
:root {
  --lime: #b1c625;
  --ink: #141513;
  --muted: #b9bbb1;
  --line: #45473f;
  --rail: 62px;
}
* {
  box-sizing: border-box;
  scrollbar-width: auto;
  scrollbar-color: var(--lime) #242620;
}
@supports selector(::-webkit-scrollbar) {
  * {
    scrollbar-color: auto;
  }
}
::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}
::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
  background: #242620;
}
::-webkit-scrollbar-thumb {
  background: var(--lime);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
::-webkit-scrollbar-thumb:hover {
  background: #d1e34c;
}
::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
body {
  margin: 0;
  background: var(--ink);
  color: #eceee5;
  font-family: "Century Gothic", Futura, Arial, sans-serif;
  font-size: 14px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
button:hover {
  color: var(--lime);
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -3px;
}
.sr-only,
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
header {
  height: 88px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 38px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.brand {
  font-size: 29px;
  letter-spacing: -2px;
  padding: 0;
}
.brand span,
.lime {
  color: var(--lime);
}
.brand sup {
  font-size: 8px;
  vertical-align: top;
  letter-spacing: 0;
}
.header-note {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
}
.tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.tools button {
  font-size: 11px;
}
#fullscreen {
  font-size: 25px;
}
time {
  font-size: 10px;
  color: #9b9e91;
  font-variant-numeric: tabular-nums;
}
#accordion {
  --panel-rail: var(--rail);
  display: grid;
  height: calc(100svh - 158px);
  min-height: 500px;
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr) repeat(4, var(--panel-rail));
}
.panel {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid #4b4e43;
  background: #242620;
}
.tab {
  position: relative;
  min-width: 0;
  width: var(--rail);
  overflow: hidden;
  flex: 0 0 var(--rail);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  color: #949887;
  transition:
    background 0.5s,
    color 0.5s;
}
.tab:hover,
.active > .tab {
  background: var(--lime);
  color: #171a0c;
}
.tabname {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.index {
  font-size: 14px;
}
.plus {
  font-size: 22px;
  font-weight: 200;
}
.tab-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: baseline;
  flex: none;
  width: max-content;
  writing-mode: horizontal-tb;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1;
  white-space: nowrap;
  margin: 0;
}
.tab-logo .logo-urban {
  color: #000;
}
.panel:not(.active) .tab-logo .logo-urban,
.panel:not(.active) .tab-logo sup {
  color: #fff;
}
.panel:not(.active) .tab-logo .logo-lab {
  color: var(--lime);
}
.tab-logo .logo-lab,
.tab-logo sup {
  color: #fff;
}
.tab-logo sup {
  font-size: 8px;
  letter-spacing: 0;
  align-self: flex-start;
  margin: 0 0 0 3px;
}
.panel-reveal {
  display: flex;
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}
.panelbody {
  display: flex;
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  overflow: auto;
}
.homebody {
  position: relative;
  isolation: isolate;
  padding: 40px 4vw;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink);
}
.home-background-layer {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  z-index: -2;
  pointer-events: none;
  transition: opacity 0.65s ease;
}
.home-background-layer.visible {
  opacity: 1;
}
.homebody::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    rgba(0, 0, 0, 0.94),
    rgba(0, 0, 0, 0.8) 58%,
    rgba(0, 0, 0, 0.9)
  );
  transition: opacity 0.65s ease;
}
.homebody.no-background::before {
  opacity: 0;
}
.home-top {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #d0d3c8;
  gap: 20px;
}
.hero {
  padding: 35px 0;
  position: relative;
}
.hero-title {
  font:
    300 clamp(44px, 6.5vw, 108px)/0.94 "Century Gothic",
    Futura,
    Arial,
    sans-serif;
  letter-spacing: -0.065em;
  margin: 20px 0 30px;
}
.hero-title::first-line,
.section-title::first-line {
  color: var(--lime);
}
.stripes {
  height: 10px;
  width: 120px;
  background: repeating-linear-gradient(
    45deg,
    transparent 0 4px,
    var(--lime) 4px 5px
  );
}
.hero-bottom {
  display: flex;
  align-items: end;
  gap: 30px;
  justify-content: space-between;
}
.hero-bottom > span {
  max-width: 290px;
  color: #d0d3c8;
  font-size: 12px;
  line-height: 1.6;
}
.arrowlink {
  font-size: 10px;
  letter-spacing: 1px;
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--lime);
  white-space: nowrap;
}
.quote {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  color: #d0d3c8;
  font-size: 12px;
  line-height: 1.5;
}
.quote small {
  font-size: 8px;
  letter-spacing: 2px;
}
.sectionhead {
  container-type: inline-size;
  padding: 48px 32px;
  background: #3d4037;
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: auto;
}
.sectionhead > small,
.portfolio-top small {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 1.8px;
  color: var(--lime);
}
.sectionhead > small::before,
.portfolio-top small::before {
  content: ":::";
  display: inline-block;
  margin-right: 9px;
  color: var(--lime);
  font-weight: 600;
  letter-spacing: 1px;
}
.section-title {
  font-family: inherit;
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.065em;
  color: #eceee5;
  font-size: clamp(26px, 16cqw, 64px);
  margin: 35px 0 24px;
}
.sectionhead p {
  font-size: 12px;
  line-height: 1.8;
  color: #c3c6b9;
  max-width: 250px;
}
.bigindex {
  font-size: clamp(72px, 9vw, 136px);
  color: var(--lime);
  margin-top: auto;
  padding-top: 40px;
  font-weight: 300;
  letter-spacing: -6px;
}
.service-list {
  flex: 1;
  padding: 30px 35px;
  background: #686c60;
  overflow: auto;
  counter-reset: service;
}
.service {
  padding: 16px 0;
  border-bottom: 1px solid #85897c;
  display: flex;
  align-items: baseline;
  gap: 20px;
  line-height: 1.5;
  animation: rise 0.5s both;
}
.service::before {
  counter-increment: service;
  content: counter(service, decimal-leading-zero);
  font-size: 9px;
  color: #c0c9a2;
}
.portfolio-body {
  display: block;
  padding: 35px 3vw;
  background: #30332b;
}
.portfolio-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.portfolio-top .section-title {
  margin: 16px 0 0;
  font-size: clamp(36px, 5vw, 80px);
}
.filters {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.filters button {
  font-size: 10px;
  padding: 12px 0;
  border-bottom: 1px solid transparent;
}
.filters button.selected {
  color: var(--lime);
  border-color: var(--lime);
}
sup {
  font-size: 8px;
  margin-left: 3px;
}
.galleryhint {
  font-size: 10px;
  color: #a2a793;
  margin: 24px 0;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gallery[data-category="web"],
.gallery[data-category="print"] {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 500px));
  justify-content: center;
  gap: 26px 20px;
}
.project {
  text-align: left;
  padding: 0;
  animation: rise 0.5s both;
}
.imgwrap {
  height: 150px;
  overflow: hidden;
  position: relative;
  background: #191c15;
  display: block;
}
.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.5s;
  filter: saturate(0.65);
}
.project:hover img {
  filter: saturate(1);
}
.project[data-kind="web"] .imgwrap,
.project[data-kind="print"] .imgwrap {
  width: 100%;
  height: auto;
  aspect-ratio: 500/349;
  max-width: 500px;
}
.project[data-kind="web"] img,
.project[data-kind="print"] img {
  object-fit: contain;
  filter: none;
}
.project[data-kind="web"]:hover .imgwrap,
.project[data-kind="print"]:hover .imgwrap {
  outline: 1px solid var(--lime);
  outline-offset: 3px;
}
.projectlabel {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  font-size: 9px;
  letter-spacing: 1px;
}
.imgwrap::after {
  content: "↗";
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 23px;
  background: #1a1d15aa;
  padding: 0 6px;
  color: var(--lime);
}
.clientbody,
.contactbody {
  padding: 40px 3vw;
  flex: 1;
  overflow: auto;
  background: #686c60;
}
.client-access {
  display: grid;
  gap: 28px;
  width: 100%;
  max-width: 420px;
  margin: 20px auto;
}
.client-access .send {
  margin-top: 8px;
  cursor: not-allowed;
}
.client-access p {
  margin: 0;
  font-size: calc(10px + 1pt);
  line-height: 1.6;
  color: #e0e2d7;
}
.email {
  font-size: clamp(15px, 2vw, 26px);
  display: block;
  border-bottom: 1px solid #a7ac99;
  padding-bottom: 22px;
  color: #f2f4e7;
}
form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 20px;
  margin-top: 35px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: calc(10px + 1pt);
}
.wide,
.form-status {
  grid-column: 1/-1;
}
input,
textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #989f87;
  border-radius: 0;
  color: white;
  font: inherit;
  font-size: calc(10px + 1pt);
  padding: 9px 0;
  outline-color: var(--lime);
}
.form-status {
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
  color: #e0e3d4;
}
.form-status[data-state="error"] {
  color: #ffe0d8;
}
.form-status[data-state="success"] {
  font-family: inherit;
  font-weight: 300;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.065em;
  color: var(--lime);
  padding-top: 10px;
}
.send {
  background: var(--lime);
  color: #171a0c;
  padding: 15px;
  font-size: 10px;
  grid-column: 1/-1;
}
.send:hover {
  background: #d1e34c;
  color: #000;
}
.send:disabled {
  opacity: 0.65;
  cursor: wait;
}
footer {
  background: var(--ink);
  height: 70px;
  min-height: 70px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1px;
  color: #939889;
  gap: 20px;
}
footer > div {
  display: flex;
  align-items: center;
  gap: 24px;
}
footer button {
  font-size: 8px;
  padding: 8px 0;
}
.background-control {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}
.background-control > #background {
  padding: 5px 0;
  white-space: nowrap;
}
.background-dots {
  display: flex;
  align-items: center;
  height: 24px;
}
.background-dot {
  display: grid;
  place-items: center;
  width: 20px;
  height: 24px;
  padding: 0;
}
.background-dot::before {
  content: "";
  width: 5px;
  height: 5px;
  background: #767a70;
  border-radius: 50%;
  transition:
    background-color 0.2s,
    transform 0.2s;
}
.background-dot.selected::before {
  background: var(--lime);
  transform: scale(1.25);
}
.background-dot:hover::before {
  background: #bfc4b4;
}
.background-dot.selected:hover::before {
  background: var(--lime);
}
.status {
  display: flex;
  align-items: center;
  gap: 5px;
}
.status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}
dialog {
  border: 1px solid #606650;
  background: #20241c;
  color: #e9eddf;
  padding: 25px;
  width: min(1100px, 94vw);
  max-height: 94svh;
}
dialog::backdrop {
  background: #090c08e8;
  backdrop-filter: blur(8px);
}
.viewer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #4e5641;
  padding-bottom: 15px;
  font-size: 11px;
  letter-spacing: 2px;
}
.viewer-top button {
  font-size: 22px;
  padding: 6px 13px;
}
.viewer-top h2 {
  font-size: 18px;
  font-weight: 400;
}
#projectMedia {
  height: 70svh;
  display: grid;
  place-items: center;
  padding-top: 20px;
}
#projectMedia > img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
#projectMedia ruffle-player {
  width: 100%;
  height: 100%;
}
#mediaNote {
  font-size: 10px;
  line-height: 1.6;
  color: #b4bca6;
}
#friends {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  margin-top: 30px;
}
#friends a {
  padding: 16px 0;
  border-bottom: 1px solid #4e5641;
}
#friends a:hover {
  color: var(--lime);
}
#linksDialog > p {
  font-size: 12px;
  line-height: 1.8;
  color: #b4bca6;
}
.intro {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: intro 1.7s forwards;
}
.intro > span {
  font-size: 48px;
  letter-spacing: -4px;
}
.loadline {
  width: 180px;
  height: 2px;
  margin: 20px;
  background: var(--lime);
  transform-origin: left;
  animation: load 1.1s;
}
.intro small {
  font-size: 9px;
  color: #939889;
}
@keyframes intro {
  0%,
  65% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes load {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1600px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .imgwrap {
    height: 190px;
  }
}
@media (max-width: 1100px) {
  :root {
    --rail: 46px;
  }
  .header-note {
    display: none;
  }
  .sectionhead {
    padding: 35px 22px;
    flex-basis: 32%;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portfolio-top {
    display: block;
  }
  .filters {
    margin-top: 15px;
  }
  .service-list {
    padding: 20px;
  }
  .hero-bottom {
    display: block;
  }
  .hero-bottom .arrowlink {
    margin-top: 16px;
  }
}
@media (min-width: 701px) and (max-width: 1100px) {
  [data-panel="contact"] .sectionhead {
    flex-basis: 36%;
  }
}
@media (max-width: 700px) {
  header {
    height: 70px;
    padding: 0 18px;
  }
  .brand {
    font-size: 25px;
  }
  .tools {
    gap: 15px;
  }
  time {
    display: none;
  }
  #accordion {
    display: block;
    height: auto;
    min-height: calc(100svh - 150px);
  }
  .panel {
    display: block;
    border-right: 0;
    border-bottom: 1px solid #4b4e43;
  }
  .tab {
    width: 100%;
    height: 54px;
    flex-direction: row;
    padding: 0 20px;
    gap: 20px;
  }
  .tabname {
    writing-mode: initial;
    transform: none;
    font-size: 13px;
    letter-spacing: 1px;
    margin-right: auto;
  }
  .tab-logo {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    font-size: 24px;
    letter-spacing: -1.6px;
  }
  .tab-logo sup {
    font-size: 7px;
  }
  .plus {
    font-size: 20px;
  }
  .panel-reveal {
    display: block;
    height: 0;
    min-height: 0;
    overflow: hidden;
  }
  .active > .panel-reveal {
    height: auto;
  }
  .panelbody {
    height: auto;
  }
  .panelbody:not(.homebody) {
    flex-direction: column;
  }
  .homebody {
    min-height: calc(100svh - 340px);
    padding: 26px 22px;
  }
  .home-top {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .home-top > span:last-child {
    display: none;
  }
  .hero {
    padding: 18px 0;
  }
  .hero-title {
    font-size: clamp(50px, 13vw, 85px);
    margin: 20px 0;
  }
  .hero-bottom > span {
    font-size: 11px;
  }
  .hero-bottom .arrowlink {
    margin: 8px 0 0;
  }
  .quote {
    font-size: 10px;
    padding-top: 15px;
    margin-top: 10px;
  }
  .quote small {
    font-size: 7px;
  }
  .sectionhead {
    padding: 25px;
    min-height: 220px;
    display: block;
  }
  .section-title {
    font-size: clamp(28px, 11cqw, 46px);
    margin: 20px 0 10px;
  }
  .sectionhead p {
    max-width: calc(100% - 95px);
    font-size: 11px;
  }
  .bigindex {
    position: absolute;
    right: 24px;
    bottom: 20px;
    font-size: 72px;
    padding: 0;
  }
  .service-list {
    padding: 12px 24px;
  }
  .service {
    font-size: 12px;
    padding: 16px 0;
  }
  .portfolio-body {
    padding: 24px;
  }
  .portfolio-top .section-title {
    font-size: clamp(36px, 9vw, 58px);
  }
  .filters {
    gap: 24px;
  }
  .gallery {
    gap: 13px;
  }
  .imgwrap {
    height: 130px;
  }
  .gallery[data-category="web"],
  .gallery[data-category="print"] {
    grid-template-columns: minmax(0, 500px);
    gap: 24px;
  }
  .clientbody,
  .contactbody {
    padding: 25px;
  }
  footer {
    height: auto;
    min-height: 80px;
    padding: 12px 18px;
    font-size: 7px;
    gap: 8px;
    flex-wrap: wrap;
  }
  footer > div {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
  }
  .footer-extra {
    display: none;
  }
  footer button {
    font-size: 7px;
  }
  .background-control {
    gap: 8px;
  }
  .background-dot {
    width: 14px;
  }
  #friends {
    grid-template-columns: 1fr;
  }
  dialog {
    padding: 16px;
  }
  #projectMedia {
    height: 60svh;
  }
  form {
    gap: 20px 15px;
  }
  .viewer-top {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .viewer-top button {
    padding: 6px 10px;
  }
}
textarea {
  resize: none;
}

/* The content and navigation remain available when JavaScript is disabled. */
.no-js .intro {
  display: none;
}
.no-js #accordion {
  display: block;
  height: auto;
}
.no-js .panel {
  display: block;
}
.no-js .tab {
  writing-mode: initial;
  flex-direction: row;
  height: 54px;
  padding: 12px 20px;
}
.no-js .tabname {
  writing-mode: initial;
  transform: none;
}
.no-js .panel-reveal {
  height: auto;
  display: block;
}
.no-js .panelbody {
  height: auto;
  min-height: 400px;
}
.no-js .home-background-layer {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .intro {
    display: none;
  }
  .service,
  .project {
    animation: none;
  }
  .home-background-layer,
  .homebody::before,
  .background-dot::before {
    transition: none;
  }
}
.tools a {
  font-size: 11px;
}

.no-js .tab {
  width: 100%;
  min-height: 54px;
}
.no-js .tab-logo {
  position: static;
  left: auto;
  top: auto;
  transform: none;
}
.sr-only:focus-within {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: auto;
  height: auto;
  margin: 0;
  padding: 16px;
  background: var(--ink);
  clip: auto;
  white-space: normal;
}
/* Desktop rail titles share a common baseline just above the toggle symbols. */
@media (min-width: 701px) {
  html:not(.no-js) .tabname {
    position: absolute;
    left: 50%;
    top: auto;
    bottom: 64px;
    transform: translateX(-50%) rotate(180deg);
    margin: 0;
  }
  html:not(.no-js) .tab-logo {
    left: calc(50% + 14.5px);
    top: auto;
    bottom: 64px;
    transform-origin: left bottom;
    transform: rotate(-90deg);
  }
  html:not(.no-js) .tab > .plus {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    line-height: 1;
  }
}

@media (min-width: 701px) {
  .tabname:not(.tab-logo) {
    letter-spacing: 0.5px;
  }
}

.project[data-kind="multimedia"] .imgwrap {
  background: transparent;
}
.project[data-kind="multimedia"] img {
  object-fit: contain;
  padding: 25px;
  filter: none;
}

.project[data-kind="print"] .imgwrap {
  aspect-ratio: 3 / 2;
}
