:root {
  --char: #20252a;
  --copper: #ffab79;
  --muted: #575c5d;
  --paper: #f7f6f0;
}
header {
  position: relative;
  z-index: 5;
  background: var(--paper);
}
.nav {
  min-height: 4.25rem;
}
.nav .wide-nav {
  display: none;
}
.nav .nav-quote {
  padding: 0.35rem 0.9rem;
  min-height: 42px;
  border: 1px solid #aaa99f;
  border-radius: 0.2rem;
}
.mobile-menu {
  position: relative;
}
.mobile-menu summary {
  min-height: 44px;
  min-width: 36px;
  justify-content: center;
}
.mobile-menu > div {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 12rem;
  padding: 0.5rem;
  background: var(--paper);
  box-shadow: 0 8px 22px #16181824;
  border: 1px solid var(--line);
}
.mobile-menu a {
  display: flex;
  padding-inline: 0.6rem;
}
.section,
.quote-page,
.desk {
  padding-block: clamp(2.8rem, 6.5vw, 6.75rem);
}
figure,
fieldset {
  margin: 0;
}
h1 {
  font-size: clamp(3.65rem, 8vw, 7.25rem);
}
h2 {
  font-size: clamp(2.45rem, 4.5vw, 4.45rem);
}
h3 {
  font-size: clamp(1.18rem, 2.1vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 570;
}
.showcase {
  background: var(--char);
  color: var(--paper);
  overflow: hidden;
}
.hero-shell {
  display: grid;
  align-items: center;
}
.hero-intro {
  padding: clamp(2.3rem, 6vw, 6.8rem) 0 1rem;
}
.hero-intro h1 {
  font-size: clamp(3.75rem, 11.9vw, 8.75rem);
  line-height: 0.94;
}
.hero-intro em {
  color: var(--copper);
}
.hero-intro p {
  max-width: 37ch;
  color: #dfdfd8;
  margin: 1.3rem 0 1.45rem;
  line-height: 1.52;
}
.hero-intro .bright {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.hero-intro .bright:hover {
  background: var(--copper);
  border-color: var(--copper);
}
.text-link {
  margin-left: 1rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.92rem;
}
.model-stage {
  position: relative;
  min-width: 0;
  padding-bottom: 1.25rem;
}
.stage-photo {
  position: relative;
  aspect-ratio: 1.53;
  overflow: hidden;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 8%,
    #000 86%,
    transparent
  );
}
.stage-photo img,
.stage-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage-photo video {
  position: absolute;
  inset: 0;
}
.model-stage figcaption,
.inspection figcaption {
  border-top: 1px solid #717572;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.8rem;
}
.model-stage strong,
.small-type {
  display: block;
}
.small-type,
.tile-cap,
.inspection figcaption span,
.crumb,
.steps,
.status,
.spec {
  font-size: 0.84rem;
}
.small-type {
  color: #cdd1d0;
  margin-bottom: 0.1rem;
}
.model-stage figcaption strong {
  font-size: 1.08rem;
  font-weight: 540;
}
.model-stage button,
.view-select a,
.filters button,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: transparent;
  color: inherit;
  border: 1px solid #a19e95;
  border-radius: 0.2rem;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  font-weight: 550;
  font-size: 0.9rem;
  text-decoration: none;
}
.model-stage button:hover {
  color: var(--copper);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.55rem;
}
.section-head p,
.page-head > p,
.case-intro p,
.about-cover p,
.quote-layout aside p {
  color: var(--muted);
  margin-top: 0.8rem;
  max-width: 58ch;
}
.section-head > a,
.crumb {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.tile-grid {
  display: grid;
  gap: 2rem 1.4rem;
}
.project-tile {
  text-decoration: none;
  min-width: 0;
}
.tile-art,
.part-image {
  aspect-ratio: 1.57;
  overflow: hidden;
  background: #d7d9d4;
  border-radius: 2px;
}
.tile-art img,
.part-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.project-tile:hover img,
.part-image:hover img {
  transform: scale(1.035);
}
.tile-cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--dim);
  margin-top: 0.72rem;
}
.tile-cap span:last-child {
  text-align: right;
}
.project-tile h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0.3rem 0 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  gap: 1rem;
}
.project-tile h3 .arrow {
  width: 1.25rem;
  height: 1.25rem;
}
.home-routes {
  display: grid;
  padding-bottom: clamp(3rem, 7vw, 6rem);
  gap: 1rem;
}
.home-routes a {
  position: relative;
  padding: 1.55rem;
  padding-right: 3.25rem;
  border: 1px solid var(--line);
  text-decoration: none;
}
.home-routes a:hover {
  background: #ecece4;
}
.home-routes strong,
.home-routes span {
  display: block;
}
.home-routes strong {
  font-weight: 570;
  line-height: 1.2;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}
.home-routes span {
  color: var(--dim);
  margin-top: 0.4rem;
}
.home-routes .arrow {
  position: absolute;
  right: 1.2rem;
  top: 1.55rem;
}
.filters,
.view-select,
.buttons,
.form-actions {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
}
.filters {
  margin: 1.55rem 0;
}
.filters button[aria-pressed="true"],
.view-select a[aria-current="true"] {
  background: var(--char);
  color: white;
  border-color: var(--char);
}
.page-head > p {
  font-size: 1.1rem;
}
.part-list {
  margin-top: 2.5rem;
}
.part {
  display: grid;
  align-items: center;
  gap: 1.15rem 3rem;
  border-top: 1px solid var(--line);
  padding-block: 1.8rem;
}
.part-image {
  display: block;
}
.part h2,
.case-body h2,
.desk h2,
.film h2 {
  font-size: clamp(1.8rem, 3.5vw, 3.3rem);
}
.part p {
  max-width: 52ch;
  margin: 0.8rem 0 1.1rem;
  color: var(--dim);
}
.buttons {
  gap: 1.3rem;
}
.closing {
  background: #e6b28d;
  padding-block: clamp(2.5rem, 5vw, 5rem);
}
.closing > div {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.closing h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}
.about-cover,
.approach,
.case-intro-grid,
.case-body,
.quote-layout,
.inbox-layout {
  display: grid;
  gap: 1.5rem;
}
.about-cover > img {
  width: 100%;
  height: auto;
}
.about-cover .lead {
  font-size: 1.35rem;
  color: var(--ink);
}
.about-cover .button {
  margin-top: 1.5rem;
}
.approach {
  border-top: 1px solid var(--line);
}
.approach article,
.case-body article {
  border-top: 1px solid var(--line);
  padding-block: 1.35rem;
}
.approach h3,
.case-body h3 {
  margin: 0 0 0.55rem;
}
.approach p,
.case-body p {
  color: var(--muted);
  max-width: 62ch;
}
.case-intro {
  padding-block: 1.2rem 2rem;
}
.case-intro .crumb {
  text-decoration: underline;
  color: var(--muted);
}
.case-intro-grid {
  margin-top: 0.7rem;
  align-items: end;
}
.case-intro h1 {
  max-width: 17ch;
  font-size: clamp(3.1rem, 6.5vw, 6.5rem);
}
.case-intro p {
  margin: 0 0 1rem;
}
.inspection-photo {
  background: #d7d9d4;
  overflow: hidden;
  border-radius: 2px;
}
.inspection-photo img {
  display: block;
  width: 100%;
  height: clamp(14rem, 43vw, 34rem);
  object-fit: contain;
  background: #252a2d;
}
.inspection figcaption {
  border: 0;
  color: var(--muted);
  padding-block: 0.55rem;
  flex-wrap: wrap;
}
.view-select {
  margin-top: 0.4rem;
}
.case-body dl,
.desk dl {
  border-top: 1px solid var(--line);
  margin-top: 1.4rem;
}
.case-body dt,
.desk dt {
  margin-top: 0.8rem;
  color: var(--dim);
  font-size: 0.9rem;
}
.case-body dd,
.desk dd {
  font-weight: 550;
  margin: 0.15rem 0 0.65rem;
  overflow-wrap: anywhere;
}
.film {
  padding-bottom: 3rem;
}
.film video {
  width: 100%;
  max-height: 65vh;
  background: #222;
  margin-top: 1rem;
}
.quote-page > .crumb {
  margin-bottom: 1.1rem;
}
.quote-layout aside h1 {
  font-size: clamp(3.25rem, 6.3vw, 6.5rem);
  max-width: 13ch;
}
.quote-layout aside a {
  display: inline-block;
  margin-top: 0.75rem;
}
.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.1rem, 3vw, 2.55rem);
  min-width: 0;
}
form#quote {
  display: block;
}
fieldset {
  border: 0;
  min-inline-size: 0;
  padding: 0;
}
.steps {
  display: flex;
  gap: 0.7rem;
  padding: 0;
  list-style: none;
  margin: 0 0 1.6rem;
  counter-reset: stage;
}
.steps li {
  flex: 1;
  color: #606662;
  border-top: 2px solid #d6dbd4;
  padding-top: 0.5rem;
  font-weight: 550;
  counter-increment: stage;
}
.steps li::before {
  content: counter(stage) ". ";
}
.steps li[aria-current="step"] {
  color: #8e381b;
  border-color: #b34b22;
}
legend {
  font-size: 1.6rem;
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 0.45rem;
}
#quote label,
#login label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
}
#quote input,
#quote textarea,
#quote select,
#login input {
  background: #fafaf7;
  border: 1px solid #999c96;
  border-radius: 3px;
  min-height: 45px;
  color: var(--ink);
  width: 100%;
  font: inherit;
  padding: 0.62rem;
}
#quote input[type="date"] {
  min-width: 0;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0.8rem;
}
.drop {
  padding: 1rem;
  border: 1px dashed #8a908b;
  background: #f6f7f2;
}
.drop p,
.fine,
.drop details {
  font-size: 0.88rem;
  margin: 0.5rem 0;
  color: var(--dim);
}
.drop summary {
  display: list-item;
  min-height: 34px;
}
#files {
  padding: 0;
  margin: 0.5rem 0;
  list-style: none;
}
#files li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
#files button {
  background: none;
  border: 0;
  min-height: 44px;
  text-decoration: underline;
}
#form-status {
  margin: 0.7rem 0;
  color: #7e371b;
}
.form-actions {
  justify-content: flex-end;
  margin-top: 1.1rem;
  gap: 0.7rem;
}
.review {
  padding: 1rem;
  background: #f2f3ee;
  overflow-wrap: anywhere;
}
.review p + p {
  margin-top: 0.28rem;
}
.fine {
  margin-top: 1rem;
}
#receipt h2 {
  font-size: 2.4rem;
}
#receipt p {
  margin: 1rem 0;
}
.foot {
  border-top: 1px solid var(--line);
}
.desk h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
}
#login {
  max-width: 24rem;
  margin-block: 1.5rem;
}
#desk-status {
  margin-block: 1rem;
}
#desk .row {
  display: block;
  width: 100%;
  padding: 1rem;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.inbox-layout {
  margin-top: 1.2rem;
}
#record .secondary {
  margin: 0.3rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (min-width: 38rem) {
  .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .part {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  }
  .home-routes {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 50rem) {
  .mobile-menu {
    display: none;
  }
  .nav .wide-nav {
    display: flex;
    gap: clamp(1.4rem, 2.8vw, 3rem);
  }
  .nav .nav-quote {
    padding-inline: 1.15rem;
  }
  .hero-shell {
    grid-template-columns: 0.88fr 1.12fr;
    gap: 1rem;
  }
  .hero-intro {
    padding-block: clamp(3.7rem, 6.9vw, 8rem);
  }
  .hero-intro h1 {
    font-size: clamp(4.45rem, 7.1vw, 8rem);
  }
  .model-stage {
    padding-block: 1.5rem;
  }
  .tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .about-cover,
  .case-intro-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(3rem, 7vw, 7rem);
  }
  .approach,
  .case-body,
  .quote-layout {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(3rem, 8vw, 8rem);
  }
  .case-intro {
    padding-block: 2rem 3rem;
  }
  .inbox-layout {
    grid-template-columns: 0.7fr 1.3fr;
  }
  .part {
    padding-block: 2.6rem;
  }
  .part-image {
    max-height: 22rem;
  }
  .quote-layout aside {
    align-self: start;
    position: sticky;
    top: 1rem;
  }
  .inspection figcaption {
    padding-block: 1rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-intro,
  .case-intro-grid,
  .page-head > h1 {
    animation: arrive 0.6s cubic-bezier(0.18, 0.85, 0.3, 1) both;
  }
  .stage-photo img {
    animation: reveal 0.9s cubic-bezier(0.16, 0.8, 0.32, 1) both;
  }
  @keyframes arrive {
    from {
      transform: translateY(12px);
      opacity: 0.6;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes reveal {
    from {
      clip-path: inset(0 8% 0 0);
      opacity: 0.4;
    }
    to {
      clip-path: inset(0);
      opacity: 1;
    }
  }
}
.hero-intro h1 {
  font-size: clamp(3.55rem, 9.5vw, 7rem);
}
.assembly-photo {
  aspect-ratio: 1.42;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}
.stage-photo img {
  object-fit: contain;
}
.model-stage figcaption > a,
.model-stage figcaption div > a {
  text-decoration: none;
}
.model-stage figcaption a:hover strong {
  text-decoration: underline;
}
.assembly-tools {
  display: grid;
  grid-template-columns: minmax(3.6rem, 7rem) auto;
  align-items: center;
  gap: 0.1rem 0.6rem;
}
.assembly-tools label {
  font-size: 0.76rem;
  font-weight: 450;
  color: #d9dcda;
}
.assembly-tools input {
  grid-column: 1;
  min-height: 24px;
  margin: 0;
  padding: 0;
  accent-color: var(--copper);
  border: 0;
  background: transparent;
  cursor: pointer;
}
.assembly-tools button {
  grid-column: 2;
  grid-row: 1/3;
  min-width: 4.5rem;
  border-color: #929a9f;
}
@media (min-width: 50rem) {
  .hero-intro h1 {
    font-size: clamp(3.9rem, 5.95vw, 7rem);
  }
}
