:root {
  --ink: #171717;
  --muted: #65635f;
  --paper: #f8f5ef;
  --white: #fffdf9;
  --orange: #ee5d24;
  --blue: #e7f1f3;
  --line: #d9d4ca;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
.is-hidden {
  display: none !important;
}
.bot-field {
  position: absolute;
  left: -9999px;
}
.site-header {
  height: 86px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.96);
  position: relative;
  z-index: 20;
}
.wordmark img {
  display: block;
  width: 250px;
  height: auto;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 15px;
}
.site-header nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.nav-action {
  background: var(--orange);
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
}
.hero {
  min-height: 710px;
  padding: 60px 4vw 40px;
  display: grid;
  grid-template-columns: 35% 65%;
  overflow: hidden;
}
.hero-copy {
  z-index: 5;
  align-self: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 600;
  color: var(--orange);
  margin: 0 0 24px;
}
.hero h1 {
  font-size: clamp(68px, 7.2vw, 126px);
  line-height: 0.84;
  letter-spacing: -0.075em;
  font-weight: 500;
  margin: 0 0 36px;
}
.hero h1 span {
  color: var(--orange);
}
.hero-lead {
  font-size: 20px;
  line-height: 1.55;
  max-width: 490px;
  color: #353535;
  margin: 0 0 34px;
}
.primary-button {
  border: 0;
  background: var(--orange);
  color: white;
  border-radius: 4px;
  padding: 17px 25px;
  display: inline-flex;
  gap: 35px;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}
.primary-button:hover {
  filter: brightness(0.95);
}
.project-stage {
  position: relative;
  min-height: 600px;
  margin-left: 10px;
}
.paper {
  position: absolute;
  background: #e9dfcf;
  box-shadow: 0 15px 40px rgba(50, 35, 20, 0.08);
}
.paper-one {
  width: 82%;
  height: 77%;
  top: 5%;
  left: 12%;
  transform: rotate(3deg);
}
.paper-two {
  width: 45%;
  height: 76%;
  top: 12%;
  right: -3%;
  background: #c65432;
  transform: rotate(-2deg);
}
.device,
.phone-device {
  position: absolute;
  margin: 0;
  background: #101010;
  border: 9px solid #161616;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(30, 25, 20, 0.2);
  overflow: hidden;
}
.device img,
.phone-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.mcs-device {
  width: 69%;
  height: 55%;
  top: 0;
  right: 5%;
}
.lp-device {
  width: 49%;
  height: 42%;
  bottom: 5%;
  left: 2%;
}
.lle-device {
  width: 45%;
  height: 38%;
  bottom: 8%;
  right: 1%;
}
.phone-device {
  width: 13%;
  height: 47%;
  bottom: 1%;
  right: -2%;
  border-width: 7px;
  border-radius: 27px;
  z-index: 4;
}
.service-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 140px repeat(4, 1fr);
  min-height: 105px;
  padding: 0 4vw;
}
.progress {
  display: flex;
  align-items: center;
  gap: 5px;
  border-right: 1px solid var(--line);
  font-size: 14px;
}
.progress b {
  color: var(--orange);
  font-size: 23px;
}
.progress span {
  color: #999;
}
.service-bar button {
  background: none;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  text-align: left;
  cursor: pointer;
}
.service-bar button > span {
  color: var(--orange);
  font-size: 11px;
}
.service-bar button > b {
  font-size: 18px;
}
.service-bar button:hover {
  background: var(--paper);
}
.chapter {
  padding: 110px 7vw;
  display: grid;
  grid-template-columns: 16% 1fr;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 20px;
  animation: enter 0.65s ease both;
}
.chapter-number {
  font-size: 34px;
  color: var(--orange);
}
.chapter-number span {
  font-size: 14px;
  color: #aaa;
  margin-left: 5px;
}
.chapter-main {
  max-width: 1120px;
}
.chapter h2 {
  font-size: clamp(48px, 6vw, 94px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
  max-width: 900px;
  margin: 0 0 30px;
}
.chapter-intro {
  font-size: 21px;
  line-height: 1.6;
  max-width: 720px;
  color: #474747;
  margin: 0 0 55px;
}
.choice-list {
  border-top: 1px solid var(--line);
  max-width: 900px;
}
.choice-list > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  border-bottom: 1px solid var(--line);
  padding: 17px 5px;
}
.choice-list span {
  color: var(--orange);
  font-size: 12px;
}
.choice-list p {
  font-size: 22px;
  margin: 0;
}
.text-button {
  margin-top: 45px;
  background: var(--blue);
  border: 0;
  padding: 20px 24px;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  gap: 70px;
}
.text-button:hover {
  background: #dcebed;
}
.work-section {
  background: var(--paper);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 42px 28px;
}
.work-card {
  display: block;
}
.work-card:last-child {
  grid-column: 1/3;
}
.work-image {
  position: relative;
  aspect-ratio: 1.7;
  background: white;
  overflow: hidden;
  border: 1px solid var(--line);
}
.work-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transition: transform 0.5s;
}
.work-card:hover .work-image img {
  transform: scale(1.015);
}
.work-card > p {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 15px 0 7px;
}
.work-card h3 {
  font-size: 25px;
  margin: 0;
  font-weight: 500;
}
.work-card h3 span {
  color: var(--orange);
}
.project-section {
  background: var(--blue);
}
.project-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 20px;
  max-width: 900px;
}
.project-form label {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project-form input,
.project-form select,
.project-form textarea {
  border: 0;
  border-bottom: 1px solid #8b999c;
  background: rgba(255, 255, 255, 0.45);
  padding: 14px;
  border-radius: 0;
  outline: none;
}
.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus {
  border-color: var(--orange);
  background: white;
}
.project-form .full {
  grid-column: 1/3;
}
.project-form .primary-button {
  justify-self: start;
}
.meet-note {
  font-size: 13px;
  margin-top: 24px;
  color: #5e686a;
}
.experience {
  padding: 70px 8vw;
  text-align: center;
}
.experience > p {
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: var(--muted);
}
.experience > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 65px;
  flex-wrap: wrap;
}
.experience img {
  width: auto;
  height: 50px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.68;
}
.site-footer {
  background: #171717;
  color: white;
  padding: 70px 7vw;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.6fr;
  gap: 50px;
}
.site-footer p {
  color: #aaa;
  line-height: 1.6;
}
.site-footer a:hover {
  color: var(--orange);
}
.ybe-footer-logo {
  display: block;
  width: 94px;
  height: 94px;
  object-fit: contain;
}
.group-links > p {
  margin-top: 0;
}
.group-links a {
  display: inline-flex;
  margin: 5px 18px 5px 0;
  background: white;
  padding: 8px 12px;
  width: 150px;
  height: 82px;
  align-items: center;
  justify-content: center;
}
.group-links img {
  max-width: 100%;
  max-height: 66px;
  object-fit: contain;
}
.footer-small {
  font-size: 13px;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 42% 58%;
    min-height: 650px;
  }
  .hero h1 {
    font-size: 78px;
  }
  .project-stage {
    transform: scale(0.9);
    transform-origin: center right;
  }
  .service-bar {
    grid-template-columns: 100px repeat(2, 1fr);
  }
  .service-bar button:nth-child(n + 4) {
    display: none;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 72px;
  }
  .wordmark img {
    width: 190px;
  }
  .site-header nav a:not(.nav-action) {
    display: none;
  }
  .nav-action {
    padding: 10px 15px;
  }
  .hero {
    display: block;
    padding: 50px 25px 25px;
  }
  .hero h1 {
    font-size: 68px;
  }
  .hero-lead {
    font-size: 17px;
  }
  .project-stage {
    height: 460px;
    min-height: 0;
    margin: 40px -15px 0;
    transform: none;
  }
  .mcs-device {
    width: 86%;
    height: 46%;
    right: 0;
  }
  .lp-device {
    width: 66%;
    height: 38%;
    left: 0;
  }
  .lle-device {
    width: 58%;
    height: 33%;
    right: 0;
  }
  .phone-device {
    width: 22%;
    height: 43%;
    right: 0;
  }
  .service-bar {
    grid-template-columns: 75px 1fr;
    padding: 0 20px;
  }
  .service-bar button:not(:nth-child(2)) {
    display: none;
  }
  .chapter {
    grid-template-columns: 1fr;
    padding: 80px 25px;
  }
  .chapter-number {
    margin-bottom: 45px;
  }
  .chapter h2 {
    font-size: 52px;
  }
  .chapter-intro {
    font-size: 18px;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .work-card:last-child {
    grid-column: auto;
  }
  .project-form {
    grid-template-columns: 1fr;
  }
  .project-form .full {
    grid-column: auto;
  }
  .site-footer {
    grid-template-columns: 1fr;
  }
}

/* Lobster Pot project page */
.case-hero {
  min-height: 690px;
  padding: 70px 4vw 55px;
  display: grid;
  grid-template-columns: 42% 58%;
  overflow: hidden;
}
.case-intro {
  padding: 55px 0 0 1.5vw;
  z-index: 3;
}
.case-intro h1 {
  font-size: clamp(70px, 7vw, 120px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.07em;
  color: #0e3156;
  margin: 0 0 38px;
}

/* Brand marks replace the case-study name headings */
.case-brand-logo {
  display: block;
  width: auto;
  max-width: min(100%, 560px);
  height: auto;
  max-height: 190px;
  object-fit: contain;
  object-position: left center;
  margin: 8px 0 38px;
}

/* Larger case-study hero logos */

.case-brand-logo-mcs {
  width: 390px;
  max-width: 100%;
  max-height: none;
}

.case-brand-logo-lle {
  width: 320px;
  max-width: 100%;
  max-height: none;
}

.case-brand-logo-lp {
  width: 300px;
  max-width: 100%;
  max-height: none;
}.case-lead {
  font-size: 33px;
  line-height: 1.25;
  color: #153a60;
  max-width: 600px;
}
.case-services {
  font-size: 14px;
  color: #495563;
  margin-top: 35px;
}
.case-collage {
  position: relative;
  min-height: 560px;
}
.lp-logo {
  position: absolute;
  z-index: 4;
  left: 1%;
  top: 0;
  width: 175px;
  height: 175px;
  object-fit: contain;
  background: white;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(15, 40, 60, 0.12);
}
.case-desktop {
  position: absolute;
  width: 88%;
  height: 72%;
  right: -5%;
  top: 20px;
  border: 8px solid #17314d;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(15, 40, 60, 0.18);
}
.case-desktop img,
.case-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.case-phone {
  position: absolute;
  width: 21%;
  height: 60%;
  bottom: -15px;
  border: 7px solid #172331;
  border-radius: 27px;
  overflow: hidden;
  box-shadow: 0 22px 35px rgba(15, 40, 60, 0.22);
  z-index: 5;
  background: white;
}
.phone-one {
  left: 16%;
  transform: rotate(-4deg);
}
.phone-two {
  left: 37%;
  bottom: -35px;
  transform: rotate(3deg);
}
.case-quote {
  background: var(--blue);
  padding: 60px 8vw;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
}
.case-quote blockquote {
  font-family: "Newsreader", serif;
  color: #14385d;
  font-size: 36px;
  line-height: 1.22;
  margin: 0;
  max-width: 790px;
}
.case-quote blockquote footer {
  padding-top: 20px;
  color: #3e596f;
  font:
    14px "DM Sans",
    sans-serif;
}
.delivery-list {
  border-left: 1px solid #adbec3;
  padding-left: 45px;
}
.delivery-list > div {
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: center;
  border-bottom: 1px solid #c2d1d5;
}

/* The three project points respond with a small, friendly bounce */
.delivery-list > div {
  transform: translateY(0);
  transform-origin: center;
  cursor: default;
}

.delivery-list > div:hover {
  animation: pointBounce 0.6s ease;
}

@keyframes pointBounce {
  0%, 100% { transform: translateY(0); }
  35% { transform: translateY(-10px); }
  60% { transform: translateY(3px); }
  80% { transform: translateY(-3px); }
}

.case-site-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 25px;
  padding-bottom: 5px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  transition: color 0.2s ease, gap 0.2s ease;
}

.case-site-link:hover {
  color: var(--orange);
  gap: 14px;
}

.case-site-link span {
  color: var(--orange);
}

/* Shared case study layouts for MCS and Last Light Edit */
.case-hero.case-hero-simple {
  min-height: 680px;
}

.case-single-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 7vw 4vw;
  background: var(--paper);
}

.case-single-visual img {
  display: block;
  width: min(100%, 920px);
  height: auto;
  border: 10px solid #191919;
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(15, 28, 40, 0.18);
}

.case-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-project-grid article {
  min-height: 300px;
  padding: 55px 45px;
  background: var(--white);
}

.case-project-grid span {
  color: var(--orange);
  font-size: 13px;
}

.case-project-grid h3 {
  margin: 22px 0 14px;
  font-family: "Newsreader", serif;
  font-size: 34px;
  font-weight: 500;
}

.case-project-grid p {
  max-width: 390px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 850px) {
  .case-hero.case-hero-simple {
    min-height: 0;
  }

  .case-project-grid {
    grid-template-columns: 1fr;
  }

  .case-project-grid article {
    min-height: 0;
    padding: 40px 25px;
  }
}
.delivery-list span {
  font-size: 11px;
  color: var(--orange);
}
.delivery-list p {
  font-family: "Newsreader", serif;
  font-size: 24px;
  color: #14385d;
}
.case-story {
  padding: 120px 8vw;
  display: grid;
  grid-template-columns: 13% 38% 1fr;
  gap: 55px;
  align-items: center;
}
.case-story h2,
.case-showcase h2,
.app-story h2,
.case-next h2 {
  font-size: 58px;
  line-height: 1.03;
  letter-spacing: -0.05em;
  font-weight: 500;
  margin: 0 0 28px;
}
.case-story p,
.case-showcase p,
.app-story p,
.case-next p {
  font-size: 18px;
  line-height: 1.7;
  color: #525252;
}
.story-image {
  position: relative;
  box-shadow: 0 20px 50px rgba(30, 30, 30, 0.12);
}
.story-image img,
.wide-screen img {
  display: block;
  width: 100%;
  height: auto;
}
.case-showcase {
  background: #f2eee6;
  padding: 110px 8vw;
}
.case-showcase > div:first-child {
  max-width: 680px;
}
.wide-screen {
  margin-top: 55px;
  border: 1px solid var(--line);
  box-shadow: 0 25px 60px rgba(30, 30, 30, 0.13);
}
.app-story {
  padding: 120px 7vw;
  background: #123353;
  color: white;
}
.app-story > div:first-child {
  max-width: 720px;
}
.app-story p {
  color: #d4e0e8;
}
.app-story .eyebrow {
  color: #ef7a50;
}
.app-phones {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 65px;
  align-items: end;
}
.app-phones > div {
  aspect-ratio: 0.48;
  border: 7px solid #101923;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.25);
}
.app-phones > div:nth-child(2),
.app-phones > div:nth-child(4) {
  transform: translateY(28px);
}
.app-phones img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.full-quote {
  padding: 120px max(8vw, 40px);
  background: var(--blue);
  font-family: "Newsreader", serif;
  color: #14385d;
}
.full-quote > p {
  font-size: 36px;
  line-height: 1.3;
  max-width: 1080px;
  margin: 0 auto 32px;
}
.brand-name span {
  color: var(--orange);
}
.full-quote footer {
  max-width: 1080px;
  margin: auto;
  color: #647d88;
  font:
    14px "DM Sans",
    sans-serif;
}
.case-next {
  text-align: center;
  padding: 120px 20px;
}
.case-next > p {
  max-width: 620px;
  margin: 0 auto 35px;
}
.case-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #171717;
  color: white;
  padding: 70px 7vw;
}
.thanks-page {
  min-height: 100vh;
  padding: 12vw 8vw;
  background: var(--blue);
}
.thanks-page h1 {
  font-size: clamp(76px, 11vw, 160px);
  letter-spacing: -0.07em;
  line-height: 0.9;
  font-weight: 500;
  margin: 0 0 35px;
}
.thanks-page > p:not(.eyebrow) {
  font-size: 22px;
  max-width: 650px;
  line-height: 1.6;
  margin-bottom: 40px;
}
@media (max-width: 850px) {
  .case-hero {
    display: block;
    padding: 55px 25px;
  }
  .case-intro {
    padding: 0;
  }
  .case-intro h1 {
    font-size: 68px;
  }
  .case-brand-logo {
    max-width: min(100%, 440px);
    max-height: 155px;
    margin-bottom: 30px;
  }
  .case-brand-logo-lp {
    width: 180px;
    max-height: 180px;
  }
  .case-lead {
    font-size: 26px;
  }
  .case-collage {
    height: 500px;
    min-height: 0;
    margin-top: 45px;
  }
  .lp-logo {
    width: 120px;
    height: 120px;
  }
  .case-quote {
    grid-template-columns: 1fr;
    padding: 60px 25px;
  }
  .case-quote blockquote {
    font-size: 29px;
  }
  .case-story {
    grid-template-columns: 1fr;
    padding: 80px 25px;
  }
  .case-story h2,
  .case-showcase h2,
  .app-story h2,
  .case-next h2 {
    font-size: 47px;
  }
  .case-showcase,
  .app-story {
    padding: 80px 25px;
  }
  .app-phones {
    grid-template-columns: repeat(3, 1fr);
  }
  .app-phones > div:nth-child(n + 4) {
    display: none;
  }
  .full-quote {
    padding: 80px 25px;
  }
  .full-quote > p {
    font-size: 28px;
  }
  .case-footer {
    align-items: flex-start;
  }
}
.site-footer,
.case-footer {
  background: #2b2b2b;
}

.group-links a {
  background: transparent;
  padding: 0;
  width: 150px;
  height: 82px;
}
.site-footer,
.case-footer {
  background: #303030 !important;
}

.group-links a {
  background: none !important;
  padding: 0 !important;
  border: 0 !important;
}
/* Header logo correction */

.site-header .wordmark {
  display: flex;
  align-items: center;
  height: 100%;
}

.site-header .wordmark img {
  width: auto !important;
  height: 68px !important;
  max-width: 260px !important;
  object-fit: contain !important;
}

/* Footer corrections */

.site-footer,
.case-footer {
  background: #303030 !important;
}

.group-links a {
  display: inline-flex !important;
  width: auto !important;
  height: auto !important;
  margin: 5px 28px 5px 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.group-links img {
  display: block !important;
  width: auto !important;
  height: 72px !important;
  max-width: 150px !important;
  max-height: 72px !important;
  object-fit: contain !important;
  background: transparent !important;
}
/* Complete ybe header identity */

.site-header .wordmark {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -1.2px;
}

.orange-colon,
.brand-values b {
  color: var(--orange);
}

.brand-values {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #666;
}

.brand-values b {
  margin: 0 5px;
}

.site-header .brand-symbol {
  width: auto !important;
  height: 62px !important;
  max-width: 75px !important;
  object-fit: contain !important;
}

/* Mobile header */

@media (max-width: 760px) {
  .site-header .wordmark {
    gap: 12px;
  }

  .brand-title {
    font-size: 21px;
  }

  .brand-values {
    margin-top: 6px;
    font-size: 8px;
  }

  .brand-values b {
    margin: 0 3px;
  }

  .site-header .brand-symbol {
    height: 50px !important;
    max-width: 58px !important;
  }
}

/* More distinctive project devices */

.device,
.phone-device {
  overflow: visible;
}

.device img,
.phone-device img {
  display: block;
  border-radius: 4px;
}

/* MCS desktop monitor */

.mcs-device {
  border: 10px solid #202020;
  border-bottom-width: 17px;
  border-radius: 13px;
  box-shadow:
    0 28px 55px rgba(0, 0, 0, 0.18),
    0 8px 16px rgba(0, 0, 0, 0.1);
}

.mcs-device::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -74px;
  width: 38px;
  height: 62px;
  background: linear-gradient(90deg, #686868, #d8d8d8 45%, #858585);
  transform: translateX(-50%);
  z-index: -1;
}

.mcs-device::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -82px;
  width: 180px;
  height: 13px;
  border-radius: 50%;
  background: linear-gradient(90deg, #777, #e4e4e4 50%, #777);
  transform: translateX(-50%);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.16);
}

/* Lobster Pot laptop */

.lp-device {
  border: 8px solid #222;
  border-bottom-width: 13px;
  border-radius: 11px 11px 7px 7px;
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.18);
}

.lp-device::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #555;
  transform: translateX(-50%);
}

.lp-device::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -24px;
  width: 108%;
  height: 14px;
  border-radius: 2px 2px 12px 12px;
  background: linear-gradient(180deg, #dadada, #747474);
  transform: translateX(-50%);
  box-shadow: 0 7px 12px rgba(0, 0, 0, 0.15);
}

/* Last Light Edit tablet display */

.lle-device {
  border: 9px solid #1c1c1c;
  border-radius: 18px;
  box-shadow:
    0 24px 45px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.lle-device::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #555;
  transform: translateX(-50%);
}

.lle-device::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 58px;
  width: 3px;
  height: 38px;
  border-radius: 0 3px 3px 0;
  background: #555;
}

/* Lobster Pot phone */

.phone-device {
  border: 8px solid #181818;
  border-radius: 34px;
  box-shadow:
    0 28px 45px rgba(0, 0, 0, 0.24),
    0 8px 14px rgba(0, 0, 0, 0.12);
}

.phone-device img {
  border-radius: 25px;
}

.phone-device::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 42%;
  height: 13px;
  border-radius: 10px;
  background: #181818;
  transform: translateX(-50%);
  z-index: 4;
}

.phone-device::after {
  content: "";
  position: absolute;
  right: -11px;
  top: 80px;
  width: 3px;
  height: 48px;
  border-radius: 0 3px 3px 0;
  background: #444;
}
/* Finished device showcase */

.project-stage.device-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  margin-left: 10px;
}

.device-showcase img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Mobile */

@media (max-width: 760px) {
  .project-stage.device-showcase {
    min-height: 0;
    height: auto;
    margin: 45px -20px 0;
  }

  .device-showcase img {
    width: 100%;
    max-width: 100%;
  }
}

/* Final hero showcase sizing */

.project-stage.device-showcase {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  overflow: visible !important;
}

.project-stage.device-showcase img {
  display: block !important;
  width: 88% !important;
  max-width: 88% !important;
  height: auto !important;
  object-fit: contain !important;
  transform: translateX(1%) !important;
}

@media (max-width: 760px) {
  .project-stage.device-showcase img {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
  }
}

/* Reduce Lobster Pot rooms screenshot */

.wide-screen {
  width: 100%;
  max-width: 950px;
  margin: 55px auto 0;
}

.wide-screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* Lobster Pot paired website screens */

.case-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 34px;
  width: 100%;
  max-width: 1350px;
  margin: 55px auto 0;
}

.case-image-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 20px 45px rgba(30, 30, 30, 0.1);
}

.case-image-panel img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .case-image-pair {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 35px;
  }
}

/* Experience logo hover effect */

.experience > div {
  overflow: visible;
}

.experience img {
  position: relative;
  z-index: 1;
  filter: grayscale(1);
  opacity: 0.68;
  transform: scale(1);
  transition:
    transform 0.3s ease,
    filter 0.3s ease,
    opacity 0.3s ease;
  cursor: pointer;
}

.experience img:hover {
  z-index: 5;
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.3);
}
/* Process points bounce on hover */

.process-list > * {
  transition: transform 0.2s ease;
  cursor: default;
}

.process-list > *:hover {
  animation: point-bounce 0.55s ease;
}

@keyframes point-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  35% {
    transform: translateY(-10px);
  }

  65% {
    transform: translateY(-4px);
  }
}
/* Chapter 3 points: bounce on hover */

/* Chapter 2 and 3 points: bounce on hover */

#chapter2 .choice-list > div,
#chapter3 .choice-list > div,
.service-detail .choice-list > div {
  position: relative;
  cursor: default;
  will-change: transform;
}

#chapter2 .choice-list > div:hover,
#chapter3 .choice-list > div:hover,
.service-detail .choice-list > div:hover {
  animation: ybe-bounce 0.55s ease;
}

@keyframes ybe-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  35% {
    transform: translateY(-10px);
  }

  65% {
    transform: translateY(-4px);
  }
}
