*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: oklch(13% 0.006 250);
}

:root {
  --browser-chrome-bottom: 0px;
}

@media (max-width: 860px) {
  :root {
    --browser-chrome-bottom: 56px;
  }
}

.work-pin {
  position: relative;
  height: 100vh;
  height: 100svh;
}

.work-stage {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: oklch(13% 0.006 250);
}

.work-preload {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.work-cat {
  position: absolute;
  top: clamp(28px, 6vh, 64px);
  left: clamp(24px, 5vw, 64px);
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
}

.work-cat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: oklch(84% 0.23 128);
  display: block;
}

.work-cat-text {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: oklch(68% 0.012 90);
}

.work-wm {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.work-wm div {
  font-family: "Instrument Serif", Georgia, serif;
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.work-st {
  position: absolute;
  left: 50%;
  top: 60%;
  width: min(640px, 86vw);
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 0);
  pointer-events: none;
}

.work-st-text {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 32px);
  color: oklch(88% 0.006 90);
  line-height: 1.3;
}

.work-scrim {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: oklch(13% 0.006 250 / 0);
  pointer-events: none;
}

.phone-box {
  position: absolute;
}

.phone-box-third {
  left: 26%;
  top: 63%;
  width: clamp(180px, 18vw, 230px);
  z-index: 1;
}

.phone-box-second {
  left: 74%;
  top: 40%;
  width: clamp(190px, 19vw, 250px);
  z-index: 2;
}

.phone-box-main {
  left: 50%;
  top: 53%;
  width: clamp(230px, 24vw, 320px);
  z-index: 3;
}

.phone-motion {
  width: 100%;
  opacity: 0;
  transform: translate(-50%, -50%);
}

@media (max-width: 860px) {
  .phone-box-third {
    left: 32%;
    top: 70%;
    width: clamp(150px, 42vw, 190px);
  }

  .phone-box-second {
    left: 68%;
    top: 34%;
    width: clamp(150px, 42vw, 190px);
  }

  .phone-box-main {
    left: 50%;
    top: 56%;
    width: clamp(220px, 68vw, 300px);
  }
}

.phone-shell {
  position: relative;
  overflow: hidden;
  padding: 8px;
  border-radius: 32px;
  background: oklch(20% 0.006 250);
  box-shadow:
    0 40px 80px -20px oklch(0% 0 0 / 0.6),
    0 0 0 1px oklch(28% 0.006 250);
}

.phone-shell-lg {
  padding: 9px;
  border-radius: 36px;
  box-shadow:
    0 50px 100px -20px oklch(0% 0 0 / 0.65),
    0 0 0 1px oklch(28% 0.006 250);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
  isolation: isolate;
  clip-path: inset(0 round 24px);
}

.phone-shell-lg .phone-screen {
  border-radius: 28px;
  clip-path: inset(0 round 28px);
}

.phone-screen img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: top;
}

.work-index {
  position: absolute;
  top: clamp(28px, 6vh, 64px);
  right: clamp(24px, 5vw, 64px);
  z-index: 12;
  display: flex;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.work-index a {
  color: oklch(42% 0.01 90);
  text-decoration: none;
}

.work-index a.is-on,
.work-index a:hover {
  color: oklch(84% 0.23 128);
}

.work-quote {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(72px, 12vh, 110px) clamp(24px, 8vw, 140px);
  max-width: none;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}

.work-quote-text {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(28px, 5vw, 62px);
  line-height: 1.18;
  max-width: 980px;
}

.work-quote-meta {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.work-quote-meta span:first-child {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: oklch(62% 0.012 90);
}

.work-quote-meta span:last-child {
  font-size: 14px;
  color: oklch(52% 0.01 90);
}

.work-details {
  position: absolute;
  inset: 0;
  z-index: 10;
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: clamp(72px, 12vh, 110px) clamp(24px, 8vw, 140px);
  opacity: 0;
  transform: translateY(22px);
  pointer-events: none;
}

.work-details-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 22px;
  letter-spacing: 0.01em;
}

.work-details-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: oklch(50% 0.01 90);
  text-transform: uppercase;
}

.work-details-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: oklch(66% 0.012 90);
  text-transform: uppercase;
}

.work-details-copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: oklch(70% 0.01 90);
  max-width: 520px;
}

.work-next {
  position: absolute;
  left: 50%;
  bottom: calc(
    var(--browser-chrome-bottom, 0px) + env(safe-area-inset-bottom, 0px) + 20px
  );
  transform: translateX(-50%);
  z-index: 12;
  margin-top: 0;
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  appearance: none;
  background: none;
  border: 0;
  color: oklch(84% 0.23 128);
  cursor: pointer;
  font-family: inherit;
  opacity: 0;
  pointer-events: none;
}

.work-next:hover {
  color: oklch(92% 0.2 128);
}

::selection {
  background: oklch(84% 0.23 128);
  color: oklch(13% 0.006 250);
}

a {
  color: oklch(84% 0.23 128);
}

a:hover {
  color: oklch(92% 0.2 128);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(24px, 4vw, 56px);
  padding-bottom: calc(
    var(--browser-chrome-bottom, 0px) + env(safe-area-inset-bottom, 0px) + 20px
  );
}

.hero-phones {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-phones::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    oklch(13% 0.006 250 / 0.15) 0%,
    oklch(13% 0.006 250 / 0.2) 42%,
    oklch(13% 0.006 250 / 0.92) 72%,
    oklch(13% 0.006 250) 100%
  );
}

.hero-phone {
  position: absolute;
  width: clamp(110px, 13vw, 168px);
}

.hero-phone-c {
  left: 50%;
  top: 34%;
  z-index: 3;
  transform: translate(-50%, -50%);
  width: clamp(128px, 15vw, 196px);
}

.hero-phone-l {
  left: 32%;
  top: 42%;
  z-index: 2;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.hero-phone-r {
  left: 68%;
  top: 28%;
  z-index: 2;
  transform: translate(-50%, -50%) rotate(7deg);
}

.hero-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.hero-brand {
  display: block;
  line-height: 0;
  color: inherit;
}

.hero-brand:hover {
  color: inherit;
}

.hero-brand img {
  display: block;
  height: 34px;
  width: auto;
}

@media (min-width: 860px) {
  .hero-brand img {
    height: 40px;
  }
}

.hero-contact-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 10px;
  margin: -10px;
  color: oklch(84% 0.23 128);
  cursor: pointer;
  line-height: 0;
}

.hero-contact-btn:hover,
.hero-contact-btn:focus-visible {
  color: oklch(92% 0.2 128);
  outline: none;
}

.hero-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-copy {
  max-width: 1100px;
}

.hero-copy h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 6.4vw, 88px);
  line-height: 1.02;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.hero-copy p {
  max-width: 560px;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.5;
  color: oklch(65% 0.012 90);
  margin: 0;
}

.hero-projects {
  align-self: center;
  color: oklch(84% 0.23 128);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 8px;
}

.contact {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: oklch(13% 0.006 250);
  color: oklch(97% 0.004 95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 6vw, 64px);
}

.contact[hidden] {
  display: none;
}

.contact-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top, 0px));
  right: clamp(12px, 4vw, 40px);
  appearance: none;
  background: none;
  border: 0;
  padding: 12px;
  color: oklch(84% 0.23 128);
  cursor: pointer;
  line-height: 0;
}

.contact-close:hover,
.contact-close:focus-visible {
  color: oklch(92% 0.2 128);
  outline: none;
}

.contact-inner {
  text-align: center;
}

.contact-logo {
  display: block;
  height: 56px;
  width: auto;
  margin: 0 auto 36px;
}

.talk {
  padding: 160px clamp(24px, 6vw, 64px) 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}

.talk-logo {
  display: block;
  height: 64px;
  width: auto;
  margin-bottom: 12px;
}

.talk-intro {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.4;
  max-width: 640px;
  margin: 0;
}

.talk-copy {
  font-size: 16px;
  line-height: 1.6;
  color: oklch(65% 0.012 90);
  max-width: 520px;
  margin: 0;
}

.talk-cta {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.talk-lead {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
}

.talk-foot {
  margin-top: 70px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: oklch(40% 0.008 90);
}

.contact-kicker {
  margin: 0 0 28px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(62% 0.012 90);
}

.contact-lead {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.2;
  margin: 0 0 36px;
}

.contact-mail {
  font-size: clamp(18px, 2.4vw, 28px);
  letter-spacing: 0.02em;
  text-decoration: none;
}

@media (max-width: 860px) {
  .hero-phone {
    width: clamp(86px, 26vw, 120px);
  }

  .hero-phone-c {
    top: 30%;
    width: clamp(100px, 30vw, 138px);
  }

  .hero-phone-l {
    left: 26%;
    top: 38%;
  }

  .hero-phone-r {
    left: 74%;
    top: 26%;
  }
}
