:root {
  --mcr-ink: #4e4e4e;
  --mcr-accent: #d16f4e;
  --mcr-paper: #f8f8ff;
}

body {
  color: var(--mcr-ink);
  font-family: HelveticaNeue-Light, "Helvetica Neue Light", Helvetica, Impact, "Arial Black", Arial, Verdana, sans-serif;
}

.mcr-site-header {
  width: 930px;
  height: 200px;
  margin: auto;
  padding-top: 6px;
  text-align: center;
  background: url('/Media/images/header.png') no-repeat;
}

.mcr-site-header img {
  width: 628px;
  height: 190px;
}

.mcr-main-navigation {
  width: 930px;
  height: 75px;
  margin: auto;
  line-height: 75px;
  background: url('/Media/images/Sutitle.png') no-repeat;
}

.mcr-main-navigation nav,
.mcr-main-navigation ul {
  height: 100%;
}

.mcr-main-navigation ul {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.mcr-main-navigation li {
  display: block;
}

.mcr-main-navigation a,
.mcr-brand-navigation a {
  color: var(--mcr-ink);
  text-decoration: none;
}

.mcr-main-navigation #actif a,
.mcr-brand-navigation #actif a,
.mcr-main-navigation a:hover,
.mcr-brand-navigation a:hover {
  color: var(--mcr-accent);
  text-decoration: underline;
}

#marque.mcr-brand-navigation {
  width: 930px;
  height: 40px;
  min-height: 0;
  margin: auto;
  padding: 0;
  line-height: 25px;
  text-align: center;
  background: url('/Media/images/marque.png') no-repeat;
}

#marque.mcr-brand-navigation nav {
  height: 25px;
}

#marque.mcr-brand-navigation nav > ul {
  display: block;
  width: 100%;
  height: 25px;
  min-height: 0;
  margin: 0;
  padding: 0;
  line-height: 25px;
  text-align: center;
  list-style: none;
}

#marque.mcr-brand-navigation li {
  display: inline;
  margin: 0;
  padding: 0;
}

#marque.mcr-brand-navigation li + li {
  margin-left: 0.25em;
}

#marque.mcr-brand-navigation a {
  display: inline-block;
}

.mcr-content {
  width: 930px;
  margin: auto;
  padding: 0;
  color: var(--mcr-ink);
  font-size: small;
  background: url('/Media/images/content.png') repeat-y;
}

.mcr-content a:link,
.mcr-content a:visited {
  color: var(--mcr-ink);
  text-decoration: none;
}

.mcr-content a:hover,
.mcr-content a:active {
  color: var(--mcr-accent);
  text-decoration: underline;
}

.mcr-project-card,
.mcr-project-page article {
  margin: 0;
  padding: 0;
}

.mcr-project-card h3,
.mcr-project-heading h3 {
  font-size: 1.17em;
}

.mcr-project-card h3 a {
  display: inline-block;
}

.mcr-project-heading h3 {
  color: var(--mcr-accent);
}

.mcr-card-layout,
.mcr-project-row {
  display: grid;
  grid-template-columns: 600px 315px;
  column-gap: 15px;
  align-items: start;
}

.mcr-card-image,
.mcr-project-media,
.mcr-zoomable {
  display: block;
  width: 600px;
  max-width: 100%;
  margin: 0;
}

.mcr-card-image,
.mcr-zoomable,
.mcr-comparison-stage {
  box-shadow: 1px 2px 4px var(--mcr-ink);
}

.mcr-card-image img,
.mcr-project-media > .mcr-zoomable img {
  display: block;
  width: 600px;
  max-width: 100%;
  height: 334px;
  object-fit: cover;
}

.mcr-card-copy,
.mcr-project-description,
.mcr-inline-specs {
  font-size: inherit;
  line-height: normal;
}

.mcr-card-copy p {
  margin: 0;
}

.mcr-read-more {
  margin: 1em 0;
}

.mcr-inter {
  width: 930px;
  height: 40px;
  margin: 1em auto;
  line-height: 0;
}

.mcr-inter img {
  display: block;
  width: 930px;
  height: 40px;
  box-shadow: none;
}

.mcr-project-heading p {
  margin-bottom: 1em;
}

.mcr-project-description p {
  margin: 0 0 1em;
}

.mcr-tumblr-link {
  margin-top: 1em;
}

.mcr-project-row {
  margin-bottom: 1em;
}

.mcr-inline-specs dl {
  margin: 0;
}

.mcr-inline-specs-mobile {
  display: none;
}

.mcr-inline-specs dl > div {
  display: block;
  margin: 0 0 2px;
  padding: 0;
}

.mcr-inline-specs dt,
.mcr-inline-specs dd {
  display: inline;
  margin: 0;
}

.mcr-inline-specs dt {
  font-weight: 700;
}

.mcr-inline-specs dt::after {
  content: ': ';
}

.mcr-zoomable {
  cursor: zoom-in;
}

.mcr-comparison,
.mcr-comparison-stage {
  width: 600px;
  max-width: 100%;
  height: 334px;
}

.mcr-comparison-stage {
  position: relative;
  overflow: hidden;
}

.mcr-comparison-stage > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mcr-comparison-after {
  clip-path: inset(0 0 0 var(--position));
}

.mcr-comparison-handle {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: var(--position);
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--mcr-accent);
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.mcr-comparison-handle::after {
  content: '↔';
  color: var(--mcr-paper);
  font-size: 22px;
  line-height: 1;
}

.mcr-comparison input[type='range'] {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
}

.mcr-site-footer {
  width: 930px;
  min-height: 50px;
  margin: auto;
  line-height: 50px;
  text-align: center;
  background: url('/Media/images/Footer.png') no-repeat;
}

.mcr-site-footer p {
  margin: 0;
  font-size: x-small;
}

.mcr-site-footer img {
  width: 120px;
  height: 14px;
  vertical-align: middle;
  transform: translateY(-2px);
}

.mcr-social-footer {
  width: 930px;
  min-height: 45px;
  margin: auto;
  padding: 0 0 25px;
  text-align: center;
  background: url('/Media/images/subfooter.png') no-repeat;
}

.mcr-social-footer a {
  display: inline-block;
}

@media (max-width: 960px) {
  .mcr-card-layout,
  .mcr-project-row {
    grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
  }

  .mcr-inter {
    width: 100%;
  }
}

@media (max-width: 800px) {
  #marque.mcr-brand-navigation {
    height: 40px;
    min-height: 40px;
  }

  #marque.mcr-brand-navigation nav,
  #marque.mcr-brand-navigation nav > ul {
    height: 25px;
    min-height: 25px;
    padding: 0;
    line-height: 25px;
  }

  .mcr-card-layout,
  .mcr-project-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
  }

  .mcr-card-image,
  .mcr-project-media,
  .mcr-zoomable {
    width: 100%;
    min-width: 0;
  }

  .mcr-card-copy,
  .mcr-project-description,
  .mcr-inline-specs {
    width: 100%;
    min-width: 0;
    max-width: 600px;
  }

  .mcr-card-image img,
  .mcr-project-media > .mcr-zoomable img {
    height: auto;
    aspect-ratio: 600 / 334;
  }

  .mcr-comparison,
  .mcr-comparison-stage {
    width: 100%;
    height: auto;
    aspect-ratio: 600 / 334;
  }
}

@media (max-width: 800px) and (orientation: portrait) {
  .mcr-inline-specs-mobile {
    display: block;
    margin-top: 1em;
  }

  .mcr-inline-specs-desktop {
    display: none;
  }
}

/* Contact: the historical desktop division is exactly 465 px / 465 px. */
.mcr-contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  padding: 15px 0 0;
}

.mcr-contact-layout > article,
.mcr-contact-form {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.mcr-contact-layout h3 {
  margin-top: 1em;
  color: var(--mcr-accent);
  font-size: 1.17em;
}

.mcr-contact-form-field {
  margin: 0 0 18px;
}

.mcr-contact-form label {
  display: block;
  margin: 0 0 6px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

.mcr-contact-required {
  color: var(--mcr-accent);
}

.mcr-contact-form input,
.mcr-contact-form textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--mcr-ink);
  border-radius: 0;
  color: var(--mcr-ink);
  background: #fff;
  font: inherit;
}

.mcr-contact-form input {
  height: 32px;
  padding: 4px 7px;
}

.mcr-contact-form textarea {
  min-height: 142px;
  padding: 7px;
  resize: vertical;
}

.mcr-contact-submit {
  display: block;
  width: 110px !important;
  height: 42px !important;
  margin: 0 auto;
  border: 0 !important;
  color: #fff !important;
  background: var(--mcr-ink) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

.mcr-contact-submit:hover,
.mcr-contact-submit:focus-visible {
  background: var(--mcr-accent) !important;
}

.mcr-contact-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.mcr-contact-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  text-align: center;
}

.mcr-contact-status.is-error {
  color: var(--mcr-accent);
}

.mcr-contact-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Error pages keep the original 315 / 600 composition with valid markup. */
.mcr-error-layout {
  display: grid;
  grid-template-columns: 315px 600px;
  column-gap: 15px;
  align-items: stretch;
  width: 930px;
}

.mcr-error-copy {
  display: flex;
  height: 800px;
  flex-direction: column;
  justify-content: center;
  padding-left: 6px;
}

.mcr-error-copy h1 {
  margin: 0;
  font-family: HelveticaNeue-UltraLight, "Helvetica Neue UltraLight", HelveticaNeue-Light, "Helvetica Neue Light", Helvetica, Arial, sans-serif;
  font-size: 150px;
  font-weight: 300;
  line-height: 0.9;
}

.mcr-error-copy p {
  margin: 24px 0 0;
  font-size: 24px;
}

.mcr-error-layout > img {
  display: block;
  width: 600px;
  height: 800px;
  object-fit: cover;
  box-shadow: 1px 2px 4px var(--mcr-ink);
}

/* Dependency-free project image viewer. */
body.mcr-lightbox-open {
  overflow: hidden;
}

.mcr-lightbox[hidden] {
  display: none;
}

.mcr-lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  padding: 20px 80px;
  place-items: center;
  background: rgba(0, 0, 0, 0.88);
}

.mcr-lightbox-stage {
  width: min(600px, calc(100vw - 180px));
  height: min(334px, calc(100vh - 40px));
  overflow: auto;
  background: #111;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.mcr-lightbox-stage > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  cursor: default;
}

.mcr-lightbox-stage > img.is-zoomable {
  cursor: zoom-in;
}

.mcr-lightbox-stage.is-zoomed {
  width: calc(100vw - 180px);
  height: calc(100vh - 40px);
}

.mcr-lightbox-stage.is-zoomed > img {
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: initial;
  cursor: zoom-out;
}

.mcr-lightbox-arrow,
.mcr-lightbox-close {
  position: fixed;
  z-index: 1;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-weight: 300;
  line-height: 1;
}

.mcr-lightbox-arrow {
  top: 50%;
  width: 48px;
  height: 72px;
  padding: 0;
  transform: translateY(-50%);
  font-size: 64px;
}

.mcr-lightbox-prev {
  left: max(14px, calc(50% - 374px));
}

.mcr-lightbox-next {
  right: max(14px, calc(50% - 374px));
}

.mcr-lightbox.is-zoomed .mcr-lightbox-prev {
  left: 14px;
}

.mcr-lightbox.is-zoomed .mcr-lightbox-next {
  right: 14px;
}

.mcr-lightbox-close {
  top: 14px;
  right: 18px;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 42px;
}

.mcr-lightbox-arrow:hover,
.mcr-lightbox-arrow:focus-visible,
.mcr-lightbox-close:hover,
.mcr-lightbox-close:focus-visible {
  color: var(--mcr-accent);
  outline: none;
}

@media (max-width: 800px) {
  .mcr-contact-layout {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 30px;
  }

  .mcr-error-layout {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .mcr-error-copy {
    width: 100%;
    height: auto;
    min-height: 230px;
    padding: 20px 0;
    text-align: center;
  }

  .mcr-error-copy h1 {
    font-size: clamp(84px, 30vw, 150px);
  }

  .mcr-error-layout > img {
    width: min(600px, 100%);
    height: auto;
    margin: 0;
  }

  .mcr-lightbox {
    padding: 12px 52px;
  }

  .mcr-lightbox-stage {
    width: calc(100vw - 104px);
    height: auto;
    max-height: calc(100vh - 24px);
    aspect-ratio: 600 / 334;
  }

  .mcr-lightbox-stage.is-zoomed {
    width: calc(100vw - 104px);
    height: calc(100vh - 24px);
  }

  .mcr-lightbox-prev {
    left: 2px;
  }

  .mcr-lightbox-next {
    right: 2px;
  }
}
